PATCH: PR target/49128: -mtune=native generates unsupported instructions

Uros Bizjak ubizjak@gmail.com
Tue May 24 18:51:00 GMT 2011


On Mon, May 23, 2011 at 8:25 PM, H.J. Lu <hjl.tools@gmail.com> wrote:

>>> +      const char *sse4_2 = has_sse4_2 ? " -msse4.2" : " -msse4.2";
>>> +      const char *sse4_1 = has_sse4_1 ? " -msse4.1" : " -msse4.1";
>>
>> Missing "no-" here on both lines.
>>
>
> Here is the updated patch.  It also handles FMA.  OK for trunk and 4.6
> if there are no regressions?
>
>
> --
> H.J.
> ----
> 2011-05-23  H.J. Lu  <hongjiu.lu@intel.com>
>
>        PR target/49128
>        * config/i386/driver-i386.c (host_detect_local_cpu): Always
>        add -mno-XXX.  Handle FMA.

OK.

Thanks,
Uros.



More information about the Gcc-patches mailing list