x86-64: make SYSEXIT handling similar to SYSRET's
authorJan Beulich <jbeulich@suse.com>
Tue, 9 Mar 2021 07:53:38 +0000 (08:53 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 9 Mar 2021 07:53:38 +0000 (08:53 +0100)
commite93a3b27b23ca2850c01dfc8fdf1aa237d819193
tree617254ec1cf8b82d447859f9ad41f263e9c6b5c8
parent87fa7d568ddd804fb73bb78e33ae1c22d9fe343c
x86-64: make SYSEXIT handling similar to SYSRET's

Despite SYSEXIT being an Intel-only insn in long mode, its behavior
there is similar to SYSRET's: Depending on REX.W execution continues in
either 64-bit or compatibility mode. Hence distinguishing by suffix is
as necessary here as it is there.
16 files changed:
gas/ChangeLog
gas/testsuite/gas/i386/noreg-intel64.l
gas/testsuite/gas/i386/noreg64-data16.d
gas/testsuite/gas/i386/noreg64-data16.e
gas/testsuite/gas/i386/noreg64-rex64.d
gas/testsuite/gas/i386/noreg64.d
gas/testsuite/gas/i386/noreg64.l
gas/testsuite/gas/i386/noreg64.s
gas/testsuite/gas/i386/x86-64-sysenter-amd.d
gas/testsuite/gas/i386/x86-64-sysenter-amd.l
gas/testsuite/gas/i386/x86-64-sysenter-amd.s
gas/testsuite/gas/i386/x86-64-sysenter-intel.d
opcodes/ChangeLog
opcodes/i386-dis.c
opcodes/i386-opc.tbl
opcodes/i386-tbl.h