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: fix swapped operand handling for BNDMOV


On Wed, Mar 21, 2018 at 1:33 AM, Jan Beulich <JBeulich@suse.com> wrote:
> The wrong placement of the Load attribute in the templates prevented
> this from working. The disassembler also didn't handle this consistently
> with other similar dual-encoding insns.
>
> gas/
> 2018-03-21  Jan Beulich  <jbeulich@suse.com>
>
>         * testsuite/gas/i386/opts.s: Add bndmov cases.
>         * testsuite/gas/i386/opts.d, testsuite/gas/i386/opts-intel.d,
>         testsuite/gas/i386/sse2avx-opts.d,
>         testsuite/gas/i386/sse2avx-opts-intel.d: Adjust expectations.
>
> opcodes/
> 2018-03-21  Jan Beulich  <jbeulich@suse.com>
>
>         * i386-dis.c (EbndS, bnd_swap_mode): New.
>         (prefix_table): Use EbndS.
>         (OP_E_register, OP_E_memory): Also handle bnd_swap_mode.
>         * i386-opc.tbl (bndmov): Move misplaced Load.
>         * i386-tlb.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]