From 6a9795a4579bbc58826b32a623670935768cd8b8 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Wed, 14 Sep 2011 04:36:54 +0000 Subject: [PATCH] Add test case for PR10851. 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 | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/MC/Disassembler/X86/invalid-VEX-vvvv.txt diff --git a/test/MC/Disassembler/X86/invalid-VEX-vvvv.txt b/test/MC/Disassembler/X86/invalid-VEX-vvvv.txt new file mode 100644 index 00000000000..9feb54c517e --- /dev/null +++ b/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