diff options
author | Amaury de la Vieuville <amaury.dlv@gmail.com> | 2013-06-24 09:11:45 +0000 |
---|---|---|
committer | Amaury de la Vieuville <amaury.dlv@gmail.com> | 2013-06-24 09:11:45 +0000 |
commit | ff08da15cf3d0412ee9cc325fc5a720bcad178f2 (patch) | |
tree | 40d379834721cf390cad701d4e83d643ee1ffd72 /test | |
parent | 0c9f0c047dfba91bc7c0fb66f7e868e917d37c4c (diff) | |
download | external_llvm-ff08da15cf3d0412ee9cc325fc5a720bcad178f2.zip external_llvm-ff08da15cf3d0412ee9cc325fc5a720bcad178f2.tar.gz external_llvm-ff08da15cf3d0412ee9cc325fc5a720bcad178f2.tar.bz2 |
ARM: fix IT decoding
mask == 0 -> UNPRED
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184702 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/Disassembler/ARM/invalid-IT-thumb.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/MC/Disassembler/ARM/invalid-IT-thumb.txt b/test/MC/Disassembler/ARM/invalid-IT-thumb.txt index 1a8ff48..360d20a 100644 --- a/test/MC/Disassembler/ARM/invalid-IT-thumb.txt +++ b/test/MC/Disassembler/ARM/invalid-IT-thumb.txt @@ -1,3 +1,7 @@ -# RUN: llvm-mc --disassemble %s -triple=thumbv7-unknown-unknown 2>&1 | grep "potentially undefined instruction encoding" +# CHECK-UNPRED: potentially undefined instruction encoding +# CHECK-UNDEF: invalid instruction encoding -0xff 0xbf 0x6b 0x80 0x00 0x75 +# RUN: echo "0xff 0xbf 0x6b 0x80 0x00 0x75" | llvm-mc -disassemble -triple thumbv7 2>&1 | FileCheck %s --check-prefix=CHECK-UNPRED + +# mask = 0 +# RUN: echo "0x50 0xbf 0x00 0x00" | llvm-mc -disassemble -triple thumbv7 2>&1 | FileCheck %s --check-prefix=CHECK-UNDEF |