x86/Intel: fix fallout from earlier template folding
authorJan Beulich <jbeulich@novell.com>
Thu, 22 Mar 2018 07:31:43 +0000 (08:31 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 22 Mar 2018 07:31:43 +0000 (08:31 +0100)
commitd6793fa1acf384a93c83db6eb916e3b9eedd9ef4
tree8c6ac3bc26803c338b3ae5a9edce2ff5f025f7e6
parentf776822506b417ce25170c67c33cc05870b37adf
x86/Intel: fix fallout from earlier template folding

While many templates allowing multiple suitably matching XMM/YMM/ZMM
operand sizes can be folded, a few need to be split in order to not
wrongly accept "xmmword ptr" operands when only XMM registers are
permitted (and memory operands are more narrow). Add a test case
validating this.
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/xmmword.l [new file with mode: 0644]
gas/testsuite/gas/i386/xmmword.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/i386-opc.tbl
opcodes/i386-tbl.h