x86: correctly handle VMOVD with EVEX.W set outside of 64-bit mode
authorJan Beulich <jbeulich@novell.com>
Tue, 6 Nov 2018 10:45:11 +0000 (11:45 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 6 Nov 2018 10:45:11 +0000 (11:45 +0100)
commit9819647a63bfca45a879650ac23fe80f51b89edb
treeb66dab102a91cab94582794f77b2ec8ae96f2a81
parent58a211d2602df0a39779c84a344b1b4d12deb2d0
x86: correctly handle VMOVD with EVEX.W set outside of 64-bit mode

For the flavors having a GPR operand EVEX.W is ignored outside of 64-bit
mode. The mnemonic should therefore not be KMOVQ, the GPR operand should
not name a non-existing 64-bit register, just like is already the case
for the AVX counterparts, and the Disp8 scaling factor should be 4
rather than 8.
gas/ChangeLog
gas/testsuite/gas/i386/evex-wig.s
gas/testsuite/gas/i386/evex-wig1-intel.d
gas/testsuite/gas/i386/evex-wig1.d
opcodes/ChangeLog
opcodes/i386-dis-evex.h
opcodes/i386-dis.c