[PATCH v2] x86/MPX: fix address size handling
H.J. Lu
hjl.tools@gmail.com
Thu Jun 30 13:44:00 GMT 2016
On Thu, Jun 30, 2016 at 6:41 AM, Jan Beulich <JBeulich@suse.com> wrote:
> While address overrides are ignored in 64-bit mode (and hence shouldn't
> really result in an error, but upon v1 converting this to a warning I
> was told otherwise), trying to use 16-bit addressing is documented to
> result in #UD, and hence the assembler should reject the attempt. (The
> added test case at once also checks that bndc{l,n,u} won't accept
> 16-bit register operands.)
>
> gas/
> 2016-06-30 Jan Beulich <jbeulich@suse.com>
>
> * tc-i386.c (md_assemble): Alter address size checking for MPX
> instructions.
>
> gas/testsuite/
> 2016-06-30 Jan Beulich <jbeulich@suse.com>
>
> * gas/i386/mpx-inval-2.s: New.
> * gas/i386/mpx-inval-2.l: New.
> * gas/i386/i386.exp: Run new test.
>
It is OK.
Thanks.
--
H.J.
More information about the Binutils
mailing list