[PATCH] x86: fix swapped operand handling for BNDMOV
H.J. Lu
hjl.tools@gmail.com
Wed Mar 21 15:57:00 GMT 2018
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.
More information about the Binutils
mailing list