aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-04-15 23:12:47 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-04-15 23:12:47 +0000
commit884b7e540566b617a0a273494c663a85cdf46028 (patch)
treebfa068c0197143aa4d335483acc3dc06219586d2 /lib/Target
parente2639c05d2b3db5466adb455e9c97d9561367ea2 (diff)
downloadexternal_llvm-884b7e540566b617a0a273494c663a85cdf46028.zip
external_llvm-884b7e540566b617a0a273494c663a85cdf46028.tar.gz
external_llvm-884b7e540566b617a0a273494c663a85cdf46028.tar.bz2
Fixed a bug in ARM disassembly where LDRSBT should have am3offset operand, not
am2offset. Modified the instruction table entry and added a new test case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101415 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/ARM/ARMInstrInfo.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td
index 4c03af8..f74d196 100644
--- a/lib/Target/ARM/ARMInstrInfo.td
+++ b/lib/Target/ARM/ARMInstrInfo.td
@@ -1232,7 +1232,7 @@ def LDRBT : AI2ldbpo<(outs GPR:$dst, GPR:$base_wb),
}
def LDRSBT : AI3ldsbpo<(outs GPR:$dst, GPR:$base_wb),
- (ins GPR:$base,am2offset:$offset), LdMiscFrm, IIC_iLoadru,
+ (ins GPR:$base,am3offset:$offset), LdMiscFrm, IIC_iLoadru,
"ldrsbt", "\t$dst, [$base], $offset", "$base = $base_wb", []> {
let Inst{21} = 1; // overwrite
}