Add test case for PR10851.
authorCraig Topper <craig.topper@gmail.com>
Wed, 14 Sep 2011 04:36:54 +0000 (04:36 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 14 Sep 2011 04:36:54 +0000 (04:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139689 91177308-0d34-0410-b5e6-96231b3b80d8

test/MC/Disassembler/X86/invalid-VEX-vvvv.txt [new file with mode: 0644]

diff --git a/test/MC/Disassembler/X86/invalid-VEX-vvvv.txt b/test/MC/Disassembler/X86/invalid-VEX-vvvv.txt
new file mode 100644 (file)
index 0000000..9feb54c
--- /dev/null
@@ -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