diff options
author | Zoran Jovanovic <zoran.jovanovic@imgtec.com> | 2014-05-15 15:04:37 +0000 |
---|---|---|
committer | Zoran Jovanovic <zoran.jovanovic@imgtec.com> | 2014-05-15 15:04:37 +0000 |
commit | 75999124df3ae89f46e5a0c551dee31faa3210d0 (patch) | |
tree | 6c53c96921207993c3456ae00ec3e6a349a08731 /lib/Target/Mips/Mips32r6InstrFormats.td | |
parent | c8d4dfc48b641caefadaae9d3e1e8d8cd3e14b55 (diff) |
[mips][mips64r6] Add RINT.fmt instructions
Differential Revision: http://reviews.llvm.org/D3711
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208892 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/Mips32r6InstrFormats.td')
-rw-r--r-- | lib/Target/Mips/Mips32r6InstrFormats.td | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/Target/Mips/Mips32r6InstrFormats.td b/lib/Target/Mips/Mips32r6InstrFormats.td index 505f0f9b5bf..b07b407984a 100644 --- a/lib/Target/Mips/Mips32r6InstrFormats.td +++ b/lib/Target/Mips/Mips32r6InstrFormats.td @@ -81,6 +81,20 @@ class DAUI_FM : AUI_FM { let Inst{31-26} = OPGROUP_DAUI.Value; } +class COP1_2R_FM<bits<6> funct, FIELD_FMT Format> : MipsR6Inst { + bits<5> fs; + bits<5> fd; + + bits<32> Inst; + + let Inst{31-26} = OPGROUP_COP1.Value; + let Inst{25-21} = Format.Value; + let Inst{20-16} = 0b00000; + let Inst{15-11} = fs; + let Inst{10-6} = fd; + let Inst{5-0} = funct; +} + class COP1_3R_FM<bits<6> funct, FIELD_FMT Format> : MipsR6Inst { bits<5> ft; bits<5> fs; |