User directed Function Multiversioning (MV) via Function Overloading

Andi Kleen andi@firstfloor.org
Wed Mar 7 15:40:00 GMT 2012


Richard Guenther <richard.guenther@gmail.com> writes:
>
> I don't like specifying 'arch' at all.  Instead you _always_ want architecture
> feature tests, not architecture tests.  Because, does amdfam10 also cover
> bdver1?  [it can't! bdver1 does no longer have 3dnow! but that's entirely
> surprising for a user]

There's still a case for checking for specific models: some micro
architectures prefer specific code paths over others, without
necessarily using special features.

-Andi
-- 
ak@linux.intel.com -- Speaking for myself only



More information about the Gcc mailing list