aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Disassembler
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-03-28 18:41:58 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-03-28 18:41:58 +0000
commitd560a809251e54d7802728b9128dfd3b46f29b81 (patch)
tree124d0025375040712d7e81af2bf32b7058d66826 /test/MC/Disassembler
parent93f79364351650b58172522ae8346153a3c67a5c (diff)
downloadexternal_llvm-d560a809251e54d7802728b9128dfd3b46f29b81.zip
external_llvm-d560a809251e54d7802728b9128dfd3b46f29b81.tar.gz
external_llvm-d560a809251e54d7802728b9128dfd3b46f29b81.tar.bz2
Fix ARM disassembly for PLD/PLDW/PLI which suffers from code rot and add some test cases.
Add comments to ThumbDisassemblerCore.h for recent change made for t2PLD disassembly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128417 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Disassembler')
-rw-r--r--test/MC/Disassembler/ARM/arm-tests.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/MC/Disassembler/ARM/arm-tests.txt b/test/MC/Disassembler/ARM/arm-tests.txt
index b940aa4..dc18824 100644
--- a/test/MC/Disassembler/ARM/arm-tests.txt
+++ b/test/MC/Disassembler/ARM/arm-tests.txt
@@ -190,3 +190,12 @@
# CHECK: umull r1, r2, r3, r4
0x93 0x14 0x82 0xe0
+
+# CHECK: pld [pc, #-0]
+0x00 0xf0 0x1f 0xf5
+
+# CHECK: pli [pc, #-0]
+0x00 0xf0 0x5f 0xf4
+
+# CHECK: pli [r3, r1, lsl #2]
+0x01 0xf1 0xd3 0xf6