x86: avoid attaching suffix to register-only CRC32
authorJan Beulich <jbeulich@suse.com>
Tue, 14 Jul 2020 08:25:43 +0000 (10:25 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 14 Jul 2020 08:25:43 +0000 (10:25 +0200)
commit2875b28aa871395dc17182f0bacfe40a68b1ad05
tree04b4b40fe7eef3f39af852088239560621923702
parente184e6110e2836bb0ec712e380dbcac402fe4056
x86: avoid attaching suffix to register-only CRC32

Just like other insns with GPR operands, CRC32 with only register
operands should not get a suffix added unless in suffix-always mode.
Do away with CRC32_Fixup() altogether, using other more generic logic
instead.
35 files changed:
gas/ChangeLog
gas/testsuite/gas/i386/arch-10-bdver1.d
gas/testsuite/gas/i386/arch-10-bdver2.d
gas/testsuite/gas/i386/arch-10-bdver3.d
gas/testsuite/gas/i386/arch-10-bdver4.d
gas/testsuite/gas/i386/arch-10-btver1.d
gas/testsuite/gas/i386/arch-10-btver2.d
gas/testsuite/gas/i386/arch-10-lzcnt.d
gas/testsuite/gas/i386/arch-10-prefetchw.d
gas/testsuite/gas/i386/arch-10.d
gas/testsuite/gas/i386/arch-2.d
gas/testsuite/gas/i386/arch-3.d
gas/testsuite/gas/i386/arch-5.d
gas/testsuite/gas/i386/arch-6.d
gas/testsuite/gas/i386/crc32-suffix.d [new file with mode: 0644]
gas/testsuite/gas/i386/crc32.d
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/sse-noavx.d
gas/testsuite/gas/i386/sse4_2.d
gas/testsuite/gas/i386/x86-64-arch-2-bdver1.d
gas/testsuite/gas/i386/x86-64-arch-2-bdver2.d
gas/testsuite/gas/i386/x86-64-arch-2-bdver3.d
gas/testsuite/gas/i386/x86-64-arch-2-bdver4.d
gas/testsuite/gas/i386/x86-64-arch-2-btver1.d
gas/testsuite/gas/i386/x86-64-arch-2-btver2.d
gas/testsuite/gas/i386/x86-64-arch-2-lzcnt.d
gas/testsuite/gas/i386/x86-64-arch-2-prefetchw.d
gas/testsuite/gas/i386/x86-64-arch-2.d
gas/testsuite/gas/i386/x86-64-crc32-suffix.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-crc32.d
gas/testsuite/gas/i386/x86-64-pseudos.d
gas/testsuite/gas/i386/x86-64-sse-noavx.d
gas/testsuite/gas/i386/x86-64-sse4_2.d
opcodes/ChangeLog
opcodes/i386-dis.c