diff options
| author | Vasileios Kalintiris <Vasileios.Kalintiris@imgtec.com> | 2015-07-20 12:28:56 +0000 |
|---|---|---|
| committer | Vasileios Kalintiris <Vasileios.Kalintiris@imgtec.com> | 2015-07-20 12:28:56 +0000 |
| commit | 974d4092594a1acceb9aba51525cfd622f31f78d (patch) | |
| tree | 2057a93c9992d029e48c1814c8976004b234e286 /llvm/lib/Target/Mips/MipsInstrFormats.td | |
| parent | 91e5860fad7e567a915303ba9f5234b629f455d8 (diff) | |
| download | bcm5719-llvm-974d4092594a1acceb9aba51525cfd622f31f78d.tar.gz bcm5719-llvm-974d4092594a1acceb9aba51525cfd622f31f78d.zip | |
[mips] Added support for the ERETNC instruction.
Summary: This required adding the instruction predicate HasMips32r5.
Patch by Scott Egerton.
Reviewers: dsanders, vkalintiris
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D11136
llvm-svn: 242666
Diffstat (limited to 'llvm/lib/Target/Mips/MipsInstrFormats.td')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsInstrFormats.td | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/Mips/MipsInstrFormats.td b/llvm/lib/Target/Mips/MipsInstrFormats.td index 5f4fcc35461..73886689b3e 100644 --- a/llvm/lib/Target/Mips/MipsInstrFormats.td +++ b/llvm/lib/Target/Mips/MipsInstrFormats.td @@ -644,16 +644,16 @@ class BRK_FM<bits<6> funct> : StdArch // Exception return format <Cop0|1|0|funct> //===----------------------------------------------------------------------===// -class ER_FM<bits<6> funct> : StdArch +class ER_FM<bits<6> funct, bit LLBit> : StdArch { bits<32> Inst; let Inst{31-26} = 0x10; let Inst{25} = 1; - let Inst{24-6} = 0; + let Inst{24-7} = 0; + let Inst{6} = LLBit; let Inst{5-0} = funct; } - //===----------------------------------------------------------------------===// // Enable/disable interrupt instruction format <Cop0|MFMC0|rt|12|0|sc|0|0> //===----------------------------------------------------------------------===// |

