aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2011-09-14 04:36:54 +0000
committerCraig Topper <craig.topper@gmail.com>2011-09-14 04:36:54 +0000
commit503eef7641d7cd3ce8d13bfe4dba25fbf1ce8450 (patch)
tree0067c67ee0653d293ce956e94d2988bd5a48e020
parent483c269a3319ba54f10b65ffa26cfb4c377b659c (diff)
downloadllvm-503eef7641d7cd3ce8d13bfe4dba25fbf1ce8450.zip
llvm-503eef7641d7cd3ce8d13bfe4dba25fbf1ce8450.tar.gz
llvm-503eef7641d7cd3ce8d13bfe4dba25fbf1ce8450.tar.bz2
Add test case for PR10851.
llvm-svn: 139689
-rw-r--r--llvm/test/MC/Disassembler/X86/invalid-VEX-vvvv.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/MC/Disassembler/X86/invalid-VEX-vvvv.txt b/llvm/test/MC/Disassembler/X86/invalid-VEX-vvvv.txt
new file mode 100644
index 0000000..9feb54c
--- /dev/null
+++ b/llvm/test/MC/Disassembler/X86/invalid-VEX-vvvv.txt
@@ -0,0 +1,4 @@
+# RUN: llvm-mc --disassemble %s -triple=x86_64-apple-darwin9 |& grep {invalid instruction encoding}
+
+# This instruction would decode as movmskps if the vvvv field in the VEX prefix was all 1s.
+0xc5 0xf0 0x50 0xc0