x86-64: limit breakage from gcc movdir64b et al workaround
authorJan Beulich <jbeulich@suse.com>
Thu, 25 Mar 2021 07:17:45 +0000 (08:17 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 25 Mar 2021 07:17:45 +0000 (08:17 +0100)
commit829f3fe1f0230798c776b9c7039fa7be778a7b43
tree91d3fe382cb4e126101d0278079a96a987bd4810
parent5a4037661bccd156d65093f1f0cf2cd43f31e9d9
x86-64: limit breakage from gcc movdir64b et al workaround

This is only a partial fix for PR/gas 27419, in that it limits the bad
behavior of accepting mismatched operands to just x32 mode. The full fix
would be to revert commits 27f134698ac5 and b3a3496f83a1, and to address
the issue in gcc instead.
16 files changed:
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/ilp32/enqcmd.d [new file with mode: 0644]
gas/testsuite/gas/i386/ilp32/enqcmd.s [new file with mode: 0644]
gas/testsuite/gas/i386/ilp32/movdir.d [new file with mode: 0644]
gas/testsuite/gas/i386/ilp32/movdir.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-enqcmd-intel.d
gas/testsuite/gas/i386/x86-64-enqcmd-inval.l
gas/testsuite/gas/i386/x86-64-enqcmd-inval.s
gas/testsuite/gas/i386/x86-64-enqcmd.d
gas/testsuite/gas/i386/x86-64-enqcmd.s
gas/testsuite/gas/i386/x86-64-movdir-intel.d
gas/testsuite/gas/i386/x86-64-movdir.d
gas/testsuite/gas/i386/x86-64-movdir.s
gas/testsuite/gas/i386/x86-64-movdir64b-reg.l
gas/testsuite/gas/i386/x86-64-movdir64b-reg.s