]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: unbreak certain MPX insn operand forms
authorJan Beulich <jbeulich@suse.com>
Tue, 23 Mar 2021 07:44:03 +0000 (08:44 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 23 Mar 2021 07:44:03 +0000 (08:44 +0100)
commita152332d174e0a727c079fbaee933b43ac7d7696
treebe91fda2115089e7e2896d43dd0eb373313cb77b
parentf596b03f555fa4e473bd3fbeb0d7b6662883485b
x86: unbreak certain MPX insn operand forms

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/ChangeLog
gas/config/tc-i386-intel.c
gas/config/tc-i386.c
gas/testsuite/gas/i386/x86-64-mpx.d
gas/testsuite/gas/i386/x86-64-mpx.s