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 09/13] x86: eliminate ImmExt abuse


On Wed, Oct 30, 2019 at 1:27 AM Jan Beulich <jbeulich@suse.com> wrote:
>
> Drop the remaining instances left in place by commit c3949f432f ("x86:
> limit ImmExt abuse), now that we have a way to specify specific GPRs.
>
> Take the opportunity and also introduce proper 16-bit forms of
> applicable SVME insns as well as 1-operand forms of CLZERO.
>
> gas/
> 2019-10-XX  Jan Beulich  <jbeulich@suse.com>
>
>         * config/tc-i386.c (process_immext): Remove SSE3, SVME, and
>         MWAITX special case logic.
>         (process_suffix): Replace immext field uses by instance ones.
>         * testsuite/gas/i386/arch-13.s,
>         testsuite/gas/i386/x86-64-arch-3.s: Add CLZERO with operand
>         cases.
>         * testsuite/gas/i386/svme.s: Add 16-bit operand cases.
>         * testsuite/gas/i386/x86-64-specific-reg.s: Drop FIXME comments.
>         * testsuite/gas/i386/arch-13.d,
>         testsuite/gas/i386/mwaitx-reg.l, testsuite/gas/i386/svme.d,
>         testsuite/gas/i386/x86-64-arch-3.d,
>         testsuite/gas/i386/x86-64-mwaitx-reg.l,
>         testsuite/gas/i386/x86-64-specific-reg.l: Adjust expectations.
>         * testsuite/gas/i386/arch-13-znver1.d,
>         testsuite/gas/i386/arch-13-znver2.d: Redirect expectations to
>         arch-13.d.
>         * testsuite/gas/i386/x86-64-arch-3-znver1.d,
>         testsuite/gas/i386/x86-64-arch-3-znver2.d: Redirect expectations
>         to x86-64-arch-3.d.
>
> opcodes/
> 2019-10-XX  Jan Beulich  <jbeulich@suse.com>
>
>         * i386-gen.c (operand_instances): Add RegB entry.
>         * i386-opc.h (enum operand_instance): Add RegB.
>         * i386-opc.tbl (RegC, RegD, RegB): Define.
>         (Acc, ShiftCount, InOutPortReg): Adjust definitions.
>         (monitor, mwait, invlpga, skinit, vmload, vmrun, vmsave, clzero,
>         monitorx, mwaitx): Drop ImmExt and convert encodings
>         accordingly.
>         * i386-reg.tbl (ecx, rcx): Add Instance=RegC.
>         (edx, rdx): Add Instance=RegD.
>         (ebx, rbx): Add Instance=RegB.
>         * 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]