[Patch, i386] PR 59422 - Support more targets for function multi versioning

Allan Sandfeld Jensen carewolf@gmail.com
Tue Dec 24 14:38:00 GMT 2013


On Monday 23 December 2013, H.J. Lu wrote:
> 
> If you use
> 
> {"corei7-avx", M_INTEL_COREI7_SANYBRIDGE},
> {"core-avx2", M_INTEL_COREI7_HASWELL},
> 
> will it cause any problems?  When there are both
> 
Actually I seems I don't need these definitions any more after your clean-up 
of Intel architecture names. I have attached patch with them removed (and 
named haswell enums back to corei7_haswell).

If both target("arch=corei7-avx") and target("arch=sandybridge") is present 
the dispatcher appears to choose "sandybridge". If you want a warning for 
duplicates in this case, I suggest adding it in a later patch.

`Allan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Patch.diff
Type: text/x-patch
Size: 12620 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20131224/328a7750/attachment.bin>


More information about the Gcc-patches mailing list