summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-08-12 01:40:54 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-08-12 01:40:54 +0000
commit270159fcc21e06c67aa571d10d2b22d41d9a751a (patch)
treeacf18ffcd831c4b7d7b6bfde3000d4d7d29cb1b5 /test
parent09062b1672d33c40c38de3ff3163e0d53ebe165d (diff)
downloadllvm-270159fcc21e06c67aa571d10d2b22d41d9a751a.tar.gz
llvm-270159fcc21e06c67aa571d10d2b22d41d9a751a.tar.bz2
llvm-270159fcc21e06c67aa571d10d2b22d41d9a751a.tar.xz
The autogened decoder was confusing the ARM STRBT for ARM USAT, because the .td
entry for ARM STRBT is actually a super-instruction for A8.6.199 STRBT A1 & A2. Recover by looking for ARM:USAT encoding pattern before delegating to the auto- gened decoder. Added a "usat" test case to arm-tests.txt. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110894 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/Disassembler/arm-tests.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/MC/Disassembler/arm-tests.txt b/test/MC/Disassembler/arm-tests.txt
index bd31d86cdc..bb5875d2f3 100644
--- a/test/MC/Disassembler/arm-tests.txt
+++ b/test/MC/Disassembler/arm-tests.txt
@@ -97,3 +97,5 @@
# CHECK: ubfx r0, r0, #16, #1
0x50 0x08 0xe0 0xe7
+# CHECK: usat r8, #0, r10, asr #32
+0x5a 0x80 0xe0 0xe6