This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] x86: SYSENTER/SYSEXIT are unavailable in 64-bit mode on AMD


On Sun, Nov 24, 2019 at 11:30 PM Jan Beulich <jbeulich@suse.com> wrote:
>
> The disassembler change is such that in default mode we'd disassemble
> the insns (for there not ebing any conflicts), but when AMD64 mode was
> explicitly requested, we'd show them as "(bad)".
>
> gas/
> 2019-11-XX  Jan Beulich  <jbeulich@suse.com>
>
>         * testsuite/gas/i386/x86-64-sysenter-amd.s,
>         testsuite/gas/i386/x86-64-sysenter-amd.d,
>         testsuite/gas/i386/x86-64-sysenter-amd.l,
>         testsuite/gas/i386/x86-64-sysenter-intel.d,
>         testsuite/gas/i386/x86-64-sysenter-mixed.d: New.
>         * testsuite/gas/i386/i386.exp: Run new tests.
>
> opcodes/
> 2019-11-XX  Jan Beulich  <jbeulich@suse.com>
>
>         * i386-dis.c (SEP_Fixup): New.
>         (SEP): Define.
>         (dis386_twobyte): Use it for sysenter/sysexit.
>         (enum x86_64_isa): Change amd64 enumerator to value 1.
>         (OP_J): Compare isa64 against intel64 instead of amd64.
>         * i386-opc.tbl (sysenter, sysexit): Split into AMD64 and Intel64
>         forms.
>         * i386-tbl.h: Re-generate.

OK.

Thanks.


-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]