summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAmaury de la Vieuville <amaury.dlv@gmail.com>2013-06-08 13:29:11 +0000
committerAmaury de la Vieuville <amaury.dlv@gmail.com>2013-06-08 13:29:11 +0000
commitc64835b0c57913b11abd648b76913390e62af8d6 (patch)
tree913dfc5ade008856494fae24ea60a9e060658582 /test
parent2dce4f27ef3725f1d1bd31cc07251b2925997262 (diff)
downloadllvm-c64835b0c57913b11abd648b76913390e62af8d6.tar.gz
llvm-c64835b0c57913b11abd648b76913390e62af8d6.tar.bz2
llvm-c64835b0c57913b11abd648b76913390e62af8d6.tar.xz
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.txt8
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 0000000000..113507c4ec
--- /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