aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-04-20 17:28:50 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-04-20 17:28:50 +0000
commite4276e4a363743280203dabaf35555b4bfb0d287 (patch)
treea878c75293b0a1ca60bb177be8c73c28fb2ec88e /test/MC
parentd133dfff23ca39e3ea76cb38ff0675a61b9d7ac0 (diff)
downloadexternal_llvm-e4276e4a363743280203dabaf35555b4bfb0d287.zip
external_llvm-e4276e4a363743280203dabaf35555b4bfb0d287.tar.gz
external_llvm-e4276e4a363743280203dabaf35555b4bfb0d287.tar.bz2
For t2LDRT, t2LDRBT, t2LDRHT, t2LDRSBT, and t2LDRSHT, if Rn(Inst{19-16})=='1111',
transform the Opcode to the corresponding t2LDR*pci counterpart. Ref: A8.6.86 LDRT, A8.6.65 LDRBT, A8.6.77 LDRHT, A8.6.81 LDRSBT, A8.6.85 LDRSHT git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101915 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/Disassembler/thumb-tests.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/MC/Disassembler/thumb-tests.txt b/test/MC/Disassembler/thumb-tests.txt
index 6470b15..da166d3 100644
--- a/test/MC/Disassembler/thumb-tests.txt
+++ b/test/MC/Disassembler/thumb-tests.txt
@@ -27,6 +27,9 @@
# CHECK: ldmia r0!, {r1}
0x02 0xc8
+# CHECK: ldrb.w r8, #-24
+0x1f 0xf8 0x18 0x80
+
# CHECK: ldrd r0, r1, [r7, #64]!
0xf7 0xe9 0x10 0x01