http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59601

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to H.J. Lu from comment #0)

> 1. No change.  __attribute__ ((target("arch=corei7"))) won't
> match Westmere and function won't be optimized for Westmere.
> 2. Make PROCESSOR_NEHALEM to match "corei7" for function
> versioning. But __attribute__ ((target("arch=nehalem"))) function
> may be used on Westmere.  I think it is OK since function
> versioning doesn't support extra ISAs on Westmere.

I don't see the problem here. If corei7 is requested, then we want to cover all
corei7 subtypes, including Nehalem. So, choice 1 - no change.

mv.C failure migh be a testcase problem. However, the testcase works for me on
ivybridge, which is also corei7 arch with popcnt.

Reply via email to