Correct operand naming of t2USAT16 to allow proper decoding.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138300 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson 2011-08-22 23:27:47 +00:00
parent 86b5d2b02d
commit 22d35086fe
2 changed files with 5 additions and 2 deletions

View File

@ -1902,9 +1902,9 @@ def t2USAT: T2SatI<
let Inst{15} = 0;
}
def t2USAT16: T2SatI<(outs rGPR:$dst), (ins i32imm:$sat_imm, rGPR:$Rn),
def t2USAT16: T2SatI<(outs rGPR:$Rd), (ins i32imm:$sat_imm, rGPR:$Rn),
NoItinerary,
"usat16", "\t$dst, $sat_imm, $Rn",
"usat16", "\t$Rd, $sat_imm, $Rn",
[/* For disassembly only; pattern left blank */]>,
Requires<[IsThumb2, HasThumb2DSP]> {
let Inst{31-27} = 0b11110;

View File

@ -280,3 +280,6 @@
# CHECK: ldrsh r6, [sp], #81
0x3d 0xf9 0x51 0x6b
# CHECK: usat16 r4, #10, r1
0xa1 0xf3 0x2a 0x4