1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/MC/Disassembler/X86/invalid-EVEX-R2.txt
Craig Topper e5d23d6614 [X86][Disassembler] Make it an error to set EVEX.R' to 0 when modrm.reg encodes a GPR.
This is different than the behavior of EVEX.X extending modrm.rm to 5 bits.

llvm-svn: 333728
2018-06-01 06:11:29 +00:00

5 lines
213 B
Plaintext

# RUN: llvm-mc --disassemble %s -triple=x86_64-apple-darwin9 2>&1 | grep "invalid instruction encoding"
# This instruction would decode as vcvtsd2usi if the EVEX.R' field weren't 0.
0x62 0xe1 0xff 0x08 0x79 0xc0