summaryrefslogtreecommitdiff
path: root/test/MC
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-04-12 18:48:00 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-04-12 18:48:00 +0000
commitf9ce2cba42f76ad82bbb17436902f66a9e5f6367 (patch)
treeb929bc698aabda678f2b14fb2157b6051cb1704c /test/MC
parente1b43c3b4000ee7201fcac8d1c8e75bb9fb547e3 (diff)
downloadllvm-f9ce2cba42f76ad82bbb17436902f66a9e5f6367.tar.gz
llvm-f9ce2cba42f76ad82bbb17436902f66a9e5f6367.tar.bz2
llvm-f9ce2cba42f76ad82bbb17436902f66a9e5f6367.tar.xz
The Thumb2 Ld, St, and Preload instructions with the i12 forms should have its Inst{23}
be specified as '1' (add = TRUE). Also add a utility function for Thumb2. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129377 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/Disassembler/ARM/thumb-tests.txt14
1 files changed, 13 insertions, 1 deletions
diff --git a/test/MC/Disassembler/ARM/thumb-tests.txt b/test/MC/Disassembler/ARM/thumb-tests.txt
index 4342615604..609cd6bade 100644
--- a/test/MC/Disassembler/ARM/thumb-tests.txt
+++ b/test/MC/Disassembler/ARM/thumb-tests.txt
@@ -171,7 +171,16 @@
0x5d 0xf8 0x34 0x40
# CHECK: ldr.w r5, [r6, #30]
-0x56 0xf8 0x1e 0x56
+0xd6 0xf8 0x1e 0x50
+
+# CHECK: ldrh.w r5, [r6, #30]
+0xb6 0xf8 0x1e 0x50
+
+# CHECK: ldrt r5, [r6, #30]
+0x56 0xf8 0x1e 0x5e
+
+# CHECK: ldr r5, [r6, #-30]
+0x56 0xf8 0x1e 0x5c
# CHECK: sel r7, r3, r5
0xa3 0xfa 0x85 0xf7
@@ -197,6 +206,9 @@
# CHECK: pld [pc, #-16]
0x1f 0xf8 0x10 0xf0
+# CHECK: pld [r5, #30]
+0x95 0xf8 0x1e 0xf0
+
# CHECK: stc2 p12, cr15, [r9], {137}
0x89 0xfc 0x89 0xfc