diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-04-12 21:17:51 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-04-12 21:17:51 +0000 |
commit | 32cefad4b39e28674805c4704bc8c4c3ca70134a (patch) | |
tree | 07673917be9e229c0a48f9ad375f246a283000fe /test/MC | |
parent | c558bf397257f5ef902bdb45a28e622ee2b5b4f2 (diff) | |
download | llvm-32cefad4b39e28674805c4704bc8c4c3ca70134a.tar.gz llvm-32cefad4b39e28674805c4704bc8c4c3ca70134a.tar.bz2 llvm-32cefad4b39e28674805c4704bc8c4c3ca70134a.tar.xz |
Add bad register checks for Thumb2 Ld/St instructions.
rdar://problem/9269047
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129387 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/Disassembler/ARM/invalid-t2STR_POST-thumb.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/Disassembler/ARM/invalid-t2STR_POST-thumb.txt b/test/MC/Disassembler/ARM/invalid-t2STR_POST-thumb.txt new file mode 100644 index 0000000000..129a2704d5 --- /dev/null +++ b/test/MC/Disassembler/ARM/invalid-t2STR_POST-thumb.txt @@ -0,0 +1,10 @@ +# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 |& grep {invalid instruction encoding} + +# Opcode=2137 Name=t2STR_POST Format=ARM_FORMAT_THUMBFRM(25) +# 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +# ------------------------------------------------------------------------------------------------- +# | 1: 1: 1: 1| 1: 0: 0: 0| 0: 1: 0: 0| 1: 1: 1: 1| 1: 1: 1: 0| 1: 0: 1: 1| 1: 1: 1: 1| 1: 1: 1: 1| +# ------------------------------------------------------------------------------------------------- +# +# if Rn == '1111' then UNDEFINED +0x4f 0xf8 0xff 0xeb |