diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-04-11 21:14:35 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-04-11 21:14:35 +0000 |
commit | f79d5365dee26bd7b3214841d92025d264e5658f (patch) | |
tree | b20d35b7130a0116b7af2b814dccb5f909c80dc6 /llvm/test | |
parent | ef42bea70446a1fa654d6c28962c207fe36d1414 (diff) | |
download | bcm5719-llvm-f79d5365dee26bd7b3214841d92025d264e5658f.tar.gz bcm5719-llvm-f79d5365dee26bd7b3214841d92025d264e5658f.zip |
Fix the bug where the immediate shift amount for Thumb logical shift instructions are incorrectly disassembled.
rdar://problem/9266265
llvm-svn: 129298
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/MC/Disassembler/ARM/thumb-tests.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/MC/Disassembler/ARM/thumb-tests.txt b/llvm/test/MC/Disassembler/ARM/thumb-tests.txt index fe260a17b6b..03a1451d1da 100644 --- a/llvm/test/MC/Disassembler/ARM/thumb-tests.txt +++ b/llvm/test/MC/Disassembler/ARM/thumb-tests.txt @@ -208,3 +208,9 @@ # CHECK: isb 0xbf 0xf3 0x6f 0x8f + +# CHECK: asrs r1, r0, #32 +0x1 0x10 + +# CHECK: lsr.w r10, r0, #32 +0x4f 0xea 0x10 0x0a |