x86: further re-work insn/suffix recognition to also cover MOVSX
authorJan Beulich <jbeulich@suse.com>
Mon, 12 Dec 2022 13:01:02 +0000 (14:01 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 12 Dec 2022 13:01:02 +0000 (14:01 +0100)
commita28fedbc3f582ce7c8bad2eb017b1dc072bb1da7
treea43cd6d934a4396e597ee88d3db98fb190ae34b9
parent77a19f0e19391dd243f8090a613324c8836e1f8a
x86: further re-work insn/suffix recognition to also cover MOVSX

PR gas/29524

Having templates with a suffix explicitly present has always been
quirky. After prior adjustment all that's left to also eliminate the
anomaly from move-with-sign-extend is to consolidate the insn templates
and to make may_need_pass2() cope (plus extend testsuite coverage).
gas/config/tc-i386.c
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/movs.s [new file with mode: 0644]
gas/testsuite/gas/i386/movs32.d [new file with mode: 0644]
gas/testsuite/gas/i386/movs64.d [new file with mode: 0644]
gas/testsuite/gas/i386/movx16.l
gas/testsuite/gas/i386/movx32.l
gas/testsuite/gas/i386/movx64.l
gas/testsuite/gas/i386/movx64.s
opcodes/i386-opc.tbl
opcodes/i386-tbl.h