x86: VPEXTRQ/VPINSRQ are unavailable outside of 64-bit mode
authorJan Beulich <jbeulich@suse.com>
Thu, 16 Jan 2020 09:05:35 +0000 (10:05 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 16 Jan 2020 09:05:35 +0000 (10:05 +0100)
commit4814632e69636177b71b8d091009a0ec614916ec
treee369b389478d5cb47c129e74dabcc69bbe9c100a
parentc96d7e04622b3e073c22bcd532333223d0f26dbb
x86: VPEXTRQ/VPINSRQ are unavailable outside of 64-bit mode

The AVX512DQ patterns lacking a Cpu64 attribute made the memory operand
forms accepted even outside of 64-bit mode, and this even without any
{evex} pseudo-prefix (otherwise one could argue that this is an attempt
to follow one possible, albeit somewhat odd, interpretation of the SDM
wording to this effect).

For consistency between the various involved templates drop the
* (now) unnecessary IgnoreSize attributes
* unnecessary (due to VexW1) Size64 attributes from VEX encoded forms
* redundant (with Reg64) Qword operand attributes
uniformly.
gas/ChangeLog
gas/testsuite/gas/i386/avx512dq-inval.l [new file with mode: 0644]
gas/testsuite/gas/i386/avx512dq-inval.s [new file with mode: 0644]
gas/testsuite/gas/i386/i386.exp
opcodes/ChangeLog
opcodes/i386-opc.tbl
opcodes/i386-tbl.h