diff options
Diffstat (limited to 'llvm/lib/Target/Mips/Mips32r6InstrFormats.td')
-rw-r--r-- | llvm/lib/Target/Mips/Mips32r6InstrFormats.td | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/Mips32r6InstrFormats.td b/llvm/lib/Target/Mips/Mips32r6InstrFormats.td index 516caa34fbf..f34da308701 100644 --- a/llvm/lib/Target/Mips/Mips32r6InstrFormats.td +++ b/llvm/lib/Target/Mips/Mips32r6InstrFormats.td @@ -576,3 +576,18 @@ class COP2LDST_FM<OPCODE5 Operation> : MipsR6Inst { let Inst{15-11} = base; let Inst{10-0} = offset; } + +class SPECIAL3_2R_SZ_CRC<bits<2> sz, bits<3> direction> : MipsR6Inst { + bits<5> rs; + bits<5> rt; + + let Inst{31-26} = OPGROUP_SPECIAL3.Value; + let Inst{25-21} = rs; + let Inst{20-16} = rt; + let Inst{15-11} = 0b00000; + let Inst{10-8} = direction; + let Inst{7-6} = sz; + let Inst{5-0} = 0b001111; + + string DecoderMethod = "DecodeCRC"; +} |