[PATCH] x86: Accept Intel64 only instruction by default
H.J. Lu
hjl.tools@gmail.com
Mon Feb 10 16:36:00 GMT 2020
More information about the Binutils mailing list
Mon Feb 10 16:36:00 GMT 2020
- Previous message (by thread): [PATCH] x86: Accept Intel64 only instruction by default
- Next message (by thread): [PATCH] configure: Re-disable building cross-gdbserver
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Feb 10, 2020 at 1:03 AM Jan Beulich <jbeulich@suse.com> wrote: > > On 07.02.2020 21:34, H.J. Lu wrote: > > --- a/opcodes/i386-opc.h > > +++ b/opcodes/i386-opc.h > > @@ -638,10 +638,16 @@ enum > > ATTSyntax, > > /* Intel syntax. */ > > IntelSyntax, > > - /* AMD64. */ > > - AMD64, > > - /* Intel64. */ > > - Intel64, > > + /* ISA64: > > + 0: Common to AMD64 and Intel64. > > + 1: AMD64. > > + 2: Intel64. > > + 3: Only in Intel64. > > + */ > > +#define AMD64 1 > > +#define INTEL64 2 > > +#define INTEL64ONLY 3 > > + ISA64, > > I think the comment should warn that the order here cannot be > changed without other code adjustments. Done. > > --- a/opcodes/i386-opc.tbl > > +++ b/opcodes/i386-opc.tbl > > @@ -82,6 +82,10 @@ > > #define EVexLIG EVex=EVEXLIG > > #define EVexDYN EVex=EVEXDYN > > > > +#define Amd64 ISA64=AMD64 > > +#define Intel64 ISA64=INTEL64 > > +#define Intel64Only ISA64=INTEL64ONLY > > + > > // The EVEX purpose of StaticRounding appears only together with SAE. Re-use > > // the bit to mark commutative VEX encodings where swapping the source > > // operands may allow to switch from 3-byte to 2-byte VEX encoding. > > Would you mind moving the addition up, at least ahead of all the VEX-/ > EVEX-related #define-s? > Done. This is what I am checking into master. I will backport it to binutils 2.34 branch. Thanks. -- H.J. -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-x86-Accept-Intel64-only-instruction-by-default.patch Type: text/x-patch Size: 13866 bytes Desc: not available URL: <https://sourceware.org/pipermail/binutils/attachments/20200210/86eaf5e6/attachment.bin>
- Previous message (by thread): [PATCH] x86: Accept Intel64 only instruction by default
- Next message (by thread): [PATCH] configure: Re-disable building cross-gdbserver
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list