mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Match operand naming to allow correct decoding of t2LDRSH_POST.
llvm-svn: 138298
This commit is contained in:
parent
ab26f3c65b
commit
9e750147fb
@ -1238,10 +1238,10 @@ def t2LDRSH_PRE : T2Iidxldst<1, 0b01, 1, 1, (outs GPR:$Rt, GPR:$Rn),
|
||||
AddrModeT2_i8, IndexModePre, IIC_iLoad_bh_iu,
|
||||
"ldrsh", "\t$Rt, $addr!", "$addr.base = $Rn",
|
||||
[]>;
|
||||
def t2LDRSH_POST : T2Iidxldst<1, 0b01, 1, 0, (outs GPR:$dst, GPR:$Rn),
|
||||
def t2LDRSH_POST : T2Iidxldst<1, 0b01, 1, 0, (outs GPR:$Rt, GPR:$Rn),
|
||||
(ins GPR:$base, t2am_imm8_offset:$addr),
|
||||
AddrModeT2_i8, IndexModePost, IIC_iLoad_bh_iu,
|
||||
"ldrsh", "\t$dst, [$Rn], $addr", "$base = $Rn",
|
||||
"ldrsh", "\t$Rt, [$Rn], $addr", "$base = $Rn",
|
||||
[]>;
|
||||
} // mayLoad = 1, neverHasSideEffects = 1
|
||||
|
||||
|
@ -277,3 +277,6 @@
|
||||
|
||||
# CHECK: and.w r5, r1, r10, ror #7
|
||||
0x1 0xea 0xfa 0x95
|
||||
|
||||
# CHECK: ldrsh r6, [sp], #81
|
||||
0x3d 0xf9 0x51 0x6b
|
||||
|
Loading…
Reference in New Issue
Block a user