x86-64: Intel64 adjustments for insns dealing with far pointers
authorJan Beulich <jbeulich@suse.com>
Wed, 12 Feb 2020 15:19:03 +0000 (16:19 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 12 Feb 2020 15:19:03 +0000 (16:19 +0100)
commit5990e377e5a339bce715fabfc3e45b24b459a7af
treed14b42a87167ad6209f6dee222588556eeb8da7b
parentf20e3e823d56e54ffe56792ea6a2fe947c2dec0d
x86-64: Intel64 adjustments for insns dealing with far pointers

AMD and Intel differ in their handling of far indirect branches as well
as LFS/LGS/LSS: AMD CPUs ignore REX.W while Intel ones honors it. (Note
how the latter three were hybrids so far, while far branches were fully
AMD-like.)
15 files changed:
gas/ChangeLog
gas/config/tc-i386-intel.c
gas/config/tc-i386.c
gas/doc/c-i386.texi
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/x86-64-branch-3.d
gas/testsuite/gas/i386/x86-64-branch-3.s
gas/testsuite/gas/i386/x86-64-branch-5.l [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-branch-5.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-intel64.d
gas/testsuite/gas/i386/x86-64-intel64.s
opcodes/ChangeLog
opcodes/i386-dis.c
opcodes/i386-opc.tbl
opcodes/i386-tbl.h