Expose move to/from coprocessor instructions in MIPS64 mode.
authorDavid Chisnall <csdavec@swan.ac.uk>
Thu, 11 Oct 2012 10:21:34 +0000 (10:21 +0000)
committerDavid Chisnall <csdavec@swan.ac.uk>
Thu, 11 Oct 2012 10:21:34 +0000 (10:21 +0000)
commit6a00ab4b5e37ab8ba459cdd0211360cc05e810e1
tree913387393736beb082b817554e405c98079a239a
parentcf4ff586e8c2e26041befa0941a6552ad902df2f
Expose move to/from coprocessor instructions in MIPS64 mode.

Note: [D]M{T,F}CP2 is just a recommended encoding.  Vendors often provide a
custom CP2 that interprets instructions differently and may wish to add their
own instructions that use this opcode.  We should ensure that this is easy to
do.  I will probably add a 'has custom CP{0-3}' subtarget flag to make this
easy: We want to avoid the GCC situation where every MIPS vendor makes a custom
fork that breaks every other MIPS CPU and so can't be merged upstream.

llvm-svn: 165711
llvm/lib/Target/Mips/Mips64InstrInfo.td
llvm/test/MC/Mips/mips-coprocessor-encodings.s [new file with mode: 0644]