summaryrefslogtreecommitdiff
path: root/test/MC/Disassembler
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
commit1cfa094562457aa0c36818b93b481e4ff454ec92 (patch)
treebfa068c0197143aa4d335483acc3dc06219586d2 /test/MC/Disassembler
parent7c52f2ee06c8b22287d658fc30d00525f8d4db42 (diff)
downloadllvm-1cfa094562457aa0c36818b93b481e4ff454ec92.tar.gz
llvm-1cfa094562457aa0c36818b93b481e4ff454ec92.tar.bz2
llvm-1cfa094562457aa0c36818b93b481e4ff454ec92.tar.xz
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 'test/MC/Disassembler')
-rw-r--r--test/MC/Disassembler/arm-tests.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/MC/Disassembler/arm-tests.txt b/test/MC/Disassembler/arm-tests.txt
index 7d10107bad..47374da194 100644
--- a/test/MC/Disassembler/arm-tests.txt
+++ b/test/MC/Disassembler/arm-tests.txt
@@ -18,6 +18,9 @@
# CHECK: ldr r0, [r2], #15
0x0f 0x00 0x92 0xe4
+# CHECK: ldrsbtvs lr, [r2], -r9
+0xd9 0xe9 0x32 0x60
+
# CHECK: lsls r0, r2, #31
0x82 0x0f 0xb0 0xe1