[PATCH 1/8] x86: unbreak certain MPX insn operand forms
H.J. Lu
hjl.tools@gmail.com
Mon Mar 22 17:58:35 GMT 2021
On Mon, Mar 22, 2021 at 9:42 AM Jan Beulich <jbeulich@suse.com> wrote:
>
> Commit 8b65b8953af2 ("x86: Remove the prefix byte from non-VEX/EVEX
> base_opcode") dropped the mandatory prefix bytes from legacy encoded
> insn templates, but failed to also adjust affected MPX-specific checks
> in two places.
>
> For the expressions to remain halfway readable, introduce local
> variables to hold current_templates->start.
>
> gas/
> 2021-03-XX Jan Beulich <jbeulich@suse.com>
>
> * config/tc-i386.c (i386_index_check): New local variable t.
> Correct MPX insn check.
> * config/tc-i386-intel.c (i386_intel_simplify_register): Correct
> MPX insn check.
> * testsuite/gas/i386/x86-64-mpx.s: Add RIP-relative cases. Test
> index scaling by other than 1.
> * testsuite/gas/i386/x86-64-mpx.d: Adjust expectations.
>
OK. Thanks.
--
H.J.
More information about the Binutils
mailing list