OSDN Git Service

[X86] Add a test case showing a bad disassembling of an EVEX instruction with EVEX...
authorCraig Topper <craig.topper@intel.com>
Fri, 1 Jun 2018 05:12:43 +0000 (05:12 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 1 Jun 2018 05:12:43 +0000 (05:12 +0000)
commit3ff438cbeb524ecec6442e779267ea6d5beb3623
tree3ebadf021a04dc59a74afc1804e2022ea61c832d
parent6b95374465f63f096387ead8f62e450645b75f96
[X86] Add a test case showing a bad disassembling of an EVEX instruction with EVEX.X=0 and a GPR encoded in modrm.rm.

EVEX.X is used to extended modrm.rm when the instruction encodes a XMM/YMM/ZMM register. But we aren't properly ignoring it when it encodes a GPR and we end up printing whatever registers exist in X86 register enum after the GPRs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333724 91177308-0d34-0410-b5e6-96231b3b80d8
test/MC/Disassembler/X86/x86-64.txt