[PATCH v2] x86/MPX: bndmk, bndldx, and bndstx don't allow RIP-relative addressing

H.J. Lu hjl.tools@gmail.com
Thu Jun 30 15:08:00 GMT 2016


On Thu, Jun 30, 2016 at 7:52 AM, Jan Beulich <JBeulich@suse.com> wrote:
> Additionally warn about scaling factors other than 1 for the latter
> two, as those get ignored by the hardware.
>
> gas/
> 2016-06-30  Jan Beulich  <jbeulich@suse.com>
>
>         * tc-i386.c (i386_index_check): Add special checks for bndmk,
>         bndldx, and bndstx.
>
> gas/testsuite/
> 2016-06-30  Jan Beulich  <jbeulich@suse.com>
>
>         * gas/i386/mpx-inval-2.s: Add %rip and %eip relative as well as
>         scaling by other than 1 tests.
>         * gas/i386/mpx-inval-2.l: Adjust accordingly.
>

OK.

Thanks.

-- 
H.J.



More information about the Binutils mailing list