x86/Intel: don't accept malformed EXTRQ / INSERTQ
authorJan Beulich <jbeulich@suse.com>
Wed, 9 Nov 2022 10:09:34 +0000 (11:09 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 9 Nov 2022 10:09:34 +0000 (11:09 +0100)
commit47c0279b2ca36fd79ad4ce8601103623a92161ae
tree23fd98ed159147896f3b81bc6ce368ffcee67fe0
parent2d4989e98ee5e63b76ce3e35b0e02baaee2f50cb
x86/Intel: don't accept malformed EXTRQ / INSERTQ

Operand swapping was mistakenly suppressed when the first two operands
were immediate ones, not taking into account overall operand count. This
way EXTRQ / INSERTQ would have been accepted also with kind-of-AT&T
operand order.

For the testcase being extended, in order to not move around "GAS
LISTING" expectations, suppress pagination.
gas/config/tc-i386.c
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/inval.l
gas/testsuite/gas/i386/inval.s