x86: replace adhoc ambiguous operand checking for CRC32
authorJan Beulich <jbeulich@suse.com>
Tue, 21 Jan 2020 07:30:05 +0000 (08:30 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 21 Jan 2020 07:30:05 +0000 (08:30 +0100)
commit1a0351246a5cfd4a425e0a32b6a1a94f3ce21f3f
tree6f8c3cea4b7b05131f8845364be3eb1c9ca51e74
parentc006a730e9a35489cc8d081f422a7ea1b62ada56
x86: replace adhoc ambiguous operand checking for CRC32

There's no need (anymore?) to heavily special case this - just make
generic logic consider only its first operand, and deal with the case
of an 'l' suffix not being allowed in a pattern.
13 files changed:
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/inval-crc32.l
gas/testsuite/gas/i386/noreg16.d
gas/testsuite/gas/i386/noreg16.l
gas/testsuite/gas/i386/noreg16.s
gas/testsuite/gas/i386/noreg32.d
gas/testsuite/gas/i386/noreg32.l
gas/testsuite/gas/i386/noreg32.s
gas/testsuite/gas/i386/noreg64.d
gas/testsuite/gas/i386/noreg64.l
gas/testsuite/gas/i386/noreg64.s
gas/testsuite/gas/i386/x86-64-inval-crc32.l