aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Disassembler
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-03-24 23:21:14 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-03-24 23:21:14 +0000
commit1090d7711b145da53089f63336b173941d48d6f2 (patch)
tree0c50d9af1d55eb30d59fee47629e7f407c350c51 /test/MC/Disassembler
parent439e0c79f54a10cd0950e0d2eefb7ecc5c9647de (diff)
downloadexternal_llvm-1090d7711b145da53089f63336b173941d48d6f2.zip
external_llvm-1090d7711b145da53089f63336b173941d48d6f2.tar.gz
external_llvm-1090d7711b145da53089f63336b173941d48d6f2.tar.bz2
The ARM disassembler was confused with the 16-bit tSTMIA instruction.
According to A8.6.189 STM/STMIA/STMEA (Encoding T1), there's only tSTMIA_UPD available. Ignore tSTMIA for the decoder emitter and add a test case for that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128246 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Disassembler')
-rw-r--r--test/MC/Disassembler/ARM/thumb-tests.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/MC/Disassembler/ARM/thumb-tests.txt b/test/MC/Disassembler/ARM/thumb-tests.txt
index 6a01064..895769c 100644
--- a/test/MC/Disassembler/ARM/thumb-tests.txt
+++ b/test/MC/Disassembler/ARM/thumb-tests.txt
@@ -139,3 +139,6 @@
# CHECK: stmdb.w sp, {r0, r2, r3, r8, r11, lr}
0x0d 0xe9 0x0d 0x49
+
+# CHECK: stmia r5!, {r0, r1, r2, r3, r4}
+0x1f 0xc5