x86: adjust disassembly of insns operating on selector values
authorJan Beulich <jbeulich@suse.com>
Fri, 21 Jul 2023 06:57:24 +0000 (08:57 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 21 Jul 2023 06:57:24 +0000 (08:57 +0200)
commit178e197078e105ba4fc1b40a0bb6d7384098128e
tree396bdbd85ef02e8a680bade165d65ffd3e0cc25c
parentc54748b2fae98907b3f86fd2a3b6b46249759ceb
x86: adjust disassembly of insns operating on selector values

Bring disassembly back in line with what the assembler accepts, thus
also making it self-consistent (with, in particular selector load/store
insns). While there further add D to all affected insns except ARPL
(where S is used, matching LAR/LSL), to also behave correctly in suffix-
always mode.

While there also hook up the Intel variant of the LKGS test.
13 files changed:
gas/testsuite/gas/i386/i386-intel.d
gas/testsuite/gas/i386/i386.d
gas/testsuite/gas/i386/intel-intel.d
gas/testsuite/gas/i386/intel.d
gas/testsuite/gas/i386/opcode-intel.d
gas/testsuite/gas/i386/opcode-suffix.d
gas/testsuite/gas/i386/opcode.d
gas/testsuite/gas/i386/x86-64-lkgs-intel.d
gas/testsuite/gas/i386/x86-64-lkgs.d
gas/testsuite/gas/i386/x86-64.exp
gas/testsuite/gas/i386/x86_64-intel.d
gas/testsuite/gas/i386/x86_64.d
opcodes/i386-dis.c