[PATCH, i386] Add option to control rounding bits of SAE-only instructions.

H.J. Lu hjl.tools@gmail.com
Mon Sep 15 16:06:00 GMT 2014


On Mon, Sep 15, 2014 at 6:33 AM, Ilya Tocar <tocarip.intel@gmail.com> wrote:
> Hi,
>
> For SAE-only evex instructions rounding/LL bits can have any value.
> Currently we encode them with 00 bits. Attached patch add -mevexrndig
> option, which controls this behavior.
> Ok for trunk?

A couple comments:

1. Please use -mevexrcig.
2. Please remove force_rounding_bits and just do

else if (evexrcig)
  i.vex.bytes[3] |= 0x10 | (evexrcig << 5);

and make sure there is one space between "0x10 |" and  "(evexrcig << 5);".
3. Sync against trunk since I renamed OPTION_omit_lock_prefix
to OPTION_OMIT_LOCK_PREFIX.

-- 
H.J.



More information about the Binutils mailing list