diff options
author | Johnny Chen <johnny.chen@apple.com> | 2010-04-21 01:01:19 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2010-04-21 01:01:19 +0000 |
commit | 52d2b0ed00d71c8ba0ff1a0b35cad4ffebc81dd5 (patch) | |
tree | 4484239135c3e256fd5025a34a49e57bca69773d /test/MC/Disassembler | |
parent | 08e322db8a544d100f7518cfbd39ef8c13067698 (diff) | |
download | llvm-52d2b0ed00d71c8ba0ff1a0b35cad4ffebc81dd5.tar.gz llvm-52d2b0ed00d71c8ba0ff1a0b35cad4ffebc81dd5.tar.bz2 llvm-52d2b0ed00d71c8ba0ff1a0b35cad4ffebc81dd5.tar.xz |
Thumb instructions which have reglist operands at the end and predicate operands
before reglist were not properly handled with respect to IT Block. Fix that by
creating a new method ARMBasicMCBuilder::DoPredicateOperands() used by those
instructions for disassembly. Add a test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101974 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Disassembler')
-rw-r--r-- | test/MC/Disassembler/thumb-tests.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/MC/Disassembler/thumb-tests.txt b/test/MC/Disassembler/thumb-tests.txt index bfce44e8b1..14e9129527 100644 --- a/test/MC/Disassembler/thumb-tests.txt +++ b/test/MC/Disassembler/thumb-tests.txt @@ -85,6 +85,9 @@ # CHECK: lsleq r1, r0, #28 0x01 0x07 -# CHECK: rsbne r1, r2, #0 -0x51 0x42 +# CHECK: stmiane r0!, {r1, r2, r3} +0x0e 0xc0 + # IT block end +# CHECK: rsbs r1, r2, #0 +0x51 0x42 |