diff options
author | Reed Kotler <rkotler@mips.com> | 2013-08-07 04:00:26 +0000 |
---|---|---|
committer | Reed Kotler <rkotler@mips.com> | 2013-08-07 04:00:26 +0000 |
commit | 51c9043f3bc215bb3026486e5e1ef5989a8d8d8b (patch) | |
tree | 9e0343687f36f8fdd107c77400982e09858e01f7 /lib/Target/Mips/Mips16InstrFormats.td | |
parent | 9286ee62920806fc695fc3be23b51b73cb707cb5 (diff) | |
download | llvm-51c9043f3bc215bb3026486e5e1ef5989a8d8d8b.tar.gz llvm-51c9043f3bc215bb3026486e5e1ef5989a8d8d8b.tar.bz2 llvm-51c9043f3bc215bb3026486e5e1ef5989a8d8d8b.tar.xz |
Create a pattern for the "trap" instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187863 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/Mips16InstrFormats.td')
-rw-r--r-- | lib/Target/Mips/Mips16InstrFormats.td | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/Target/Mips/Mips16InstrFormats.td b/lib/Target/Mips/Mips16InstrFormats.td index 1e49934980..da3a1f114a 100644 --- a/lib/Target/Mips/Mips16InstrFormats.td +++ b/lib/Target/Mips/Mips16InstrFormats.td @@ -148,6 +148,20 @@ class FRR16<bits<5> _funct, dag outs, dag ins, string asmstr, let Inst{4-0} = funct; } +class FRRBreak16<dag outs, dag ins, string asmstr, + list<dag> pattern, InstrItinClass itin>: + MipsInst16<outs, ins, asmstr, pattern, itin> +{ + bits<6> Code; + bits<5> funct; + + let Opcode = 0b11101; + let funct = 0b00101; + + let Inst{10-5} = Code; + let Inst{4-0} = funct; +} + // // For conversion functions. // |