diff options
| author | Zoran Jovanovic <zoran.jovanovic@imgtec.com> | 2014-10-10 13:45:34 +0000 |
|---|---|---|
| committer | Zoran Jovanovic <zoran.jovanovic@imgtec.com> | 2014-10-10 13:45:34 +0000 |
| commit | b26f889afaa82f17d6bf25c213c77aafdf7d3de0 (patch) | |
| tree | 2359f013d754fe1b05f7bcd9c9c099f1fc75ae62 /llvm/lib/Target/Mips/MicroMipsInstrFormats.td | |
| parent | b39a174f111420df7711f9fb9ace5f250122d1a2 (diff) | |
| download | bcm5719-llvm-b26f889afaa82f17d6bf25c213c77aafdf7d3de0.tar.gz bcm5719-llvm-b26f889afaa82f17d6bf25c213c77aafdf7d3de0.zip | |
[mips][microMIPS] Implement ADDIUS5 instruction
Differential Revision: http://reviews.llvm.org/D5049
llvm-svn: 219495
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 57f3dd540ef..9d403460cd8 100644 --- a/llvm/lib/Target/Mips/MicroMipsInstrFormats.td +++ b/llvm/lib/Target/Mips/MicroMipsInstrFormats.td @@ -41,6 +41,18 @@ class MicroMipsInst16<dag outs, dag ins, string asmstr, list<dag> pattern, // MicroMIPS 16-bit Instruction Formats //===----------------------------------------------------------------------===// +class ADDIUS5_FM_MM16 { + bits<5> rd; + bits<4> imm; + + bits<16> Inst; + + let Inst{15-10} = 0x13; + let Inst{9-5} = rd; + let Inst{4-1} = imm; + let Inst{0} = 0; +} + class MOVE_FM_MM16<bits<6> funct> { bits<5> rs; bits<5> rd; |

