diff options
author | Amaury de la Vieuville <amaury.dlv@gmail.com> | 2013-06-08 13:29:11 +0000 |
---|---|---|
committer | Amaury de la Vieuville <amaury.dlv@gmail.com> | 2013-06-08 13:29:11 +0000 |
commit | c64835b0c57913b11abd648b76913390e62af8d6 (patch) | |
tree | 913dfc5ade008856494fae24ea60a9e060658582 /test | |
parent | 2dce4f27ef3725f1d1bd31cc07251b2925997262 (diff) | |
download | external_llvm-c64835b0c57913b11abd648b76913390e62af8d6.zip external_llvm-c64835b0c57913b11abd648b76913390e62af8d6.tar.gz external_llvm-c64835b0c57913b11abd648b76913390e62af8d6.tar.bz2 |
ARM: fix VCVT decoding
UNPRED was reported instead of UNDEF
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183608 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/Disassembler/ARM/invalid-VCVT-arm.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/MC/Disassembler/ARM/invalid-VCVT-arm.txt b/test/MC/Disassembler/ARM/invalid-VCVT-arm.txt new file mode 100644 index 0000000..113507c --- /dev/null +++ b/test/MC/Disassembler/ARM/invalid-VCVT-arm.txt @@ -0,0 +1,8 @@ +# A8.8.307: VCVT (between floating-point and fixed-point, AdvSIMD) +# imm6=0b0xxxxx -> UNDEFINED + +# RUN: echo "0x1e 0xcf 0x92 0xf3" | llvm-mc -disassemble -triple armv7 2>&1 | FileCheck %s + +# RUN: echo "0x3e 0xcf 0x92 0xf3" | llvm-mc -disassemble -triple armv7 2>&1 | FileCheck %s + +# CHECK: invalid instruction encoding |