This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] x86: fix swapped operand handling for BNDMOV
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Jan Beulich <JBeulich at suse dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Wed, 21 Mar 2018 08:57:41 -0700
- Subject: Re: [PATCH] x86: fix swapped operand handling for BNDMOV
- References: <5AB226F502000078001B456B@prv-mh.provo.novell.com>
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.