[Sparc] Add support to decode unimp instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202581 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Venkatraman Govindaraju 2014-03-01 09:28:18 +00:00
parent e56ffb951f
commit 9314308db1
2 changed files with 4 additions and 2 deletions

View File

@ -321,8 +321,8 @@ let isBarrier = 1, isTerminator = 1, rd = 0b1000, rs1 = 0, simm13 = 5 in
def TA5 : F3_2<0b10, 0b111010, (outs), (ins), "ta 5", [(trap)]>;
let rd = 0 in
def UNIMP : F2_1<0b000, (outs), (ins i32imm:$val),
"unimp $val", []>;
def UNIMP : F2_1<0b000, (outs), (ins i32imm:$imm22),
"unimp $imm22", []>;
// SELECT_CC_* - Used to implement the SELECT_CC DAG operation. Expanded after
// instruction selection into a branch sequence. This has to handle all

View File

@ -186,3 +186,5 @@
# CHECK: wr %g1, -2, %y
0x81 0x80 0x7f 0xfe
# CHECK: unimp 12
0x00 0x00 0x00 0x0c