diff options
Diffstat (limited to 'llvm/lib/Target/Mips/MicroMipsInstrFormats.td')
| -rw-r--r-- | llvm/lib/Target/Mips/MicroMipsInstrFormats.td | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/MicroMipsInstrFormats.td b/llvm/lib/Target/Mips/MicroMipsInstrFormats.td index 8b7fb8159e9..86470306297 100644 --- a/llvm/lib/Target/Mips/MicroMipsInstrFormats.td +++ b/llvm/lib/Target/Mips/MicroMipsInstrFormats.td @@ -290,3 +290,15 @@ class TEQ_FM_MM<bits<6> funct> : MMArch { let Inst{11-6} = funct; let Inst{5-0} = 0x3c; } + +class TEQI_FM_MM<bits<5> funct> : MMArch { + bits<5> rs; + bits<16> imm16; + + bits<32> Inst; + + let Inst{31-26} = 0x10; + let Inst{25-21} = funct; + let Inst{20-16} = rs; + let Inst{15-0} = imm16; +} |

