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] x86: limit ImmExt abuse


On Fri, Jun 28, 2019 at 7:49 AM Jan Beulich <JBeulich@suse.com> wrote:
>
> In quite a few cases ImmExt gets used when there's not really any
> immediate, but rather a degenerate ModR/M byte. ENCL{S,U} show how this
> case is supposed to be dealt with. Eliminate most abuses, leaving in
> place (for now) only ones where process_immext() is involved.
>
> gas/
> 2019-06-28  Jan Beulich  <jbeulich@suse.com>
>
>         * config/tc-i386.c (output_insn): Adjust recognition of xFENCE
>         insns. Move PadLock special case of prefix emission to 3-byte
>         long base opcode handling.
>         (i386_index_check): Check for CpuPadLock instead of ImmExt.
>
> opcodes/
> 2019-06-28  Jan Beulich  <jbeulich@suse.com>
>
>         * i386-opc.tbl (lfence, mfence, sfence, monitor, mwait, vmcall,
>         vmlaunch, vmresume, vmxoff, vmfunc, xgetbv, xsetbv, swapgs,
>         rdtscp, clgi, invlpga, skinit, stgi, vmload, vmmcall, vmrun,
>         vmsave, montmul, xsha1, xsha256, xstorerng, xcryptecb,
>         xcryptcbc, xcryptctr, xcryptcfb, xcryptofb, xstore, clac, stac,
>         monitorx, mwaitx): Drop ImmExt from operand-less 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]