This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] x86/MPX: fix address size handling


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]