An Introduction to GCC Compiler Intrinsics in Vector Processing (Linux Journal)
Posted Sep 24, 2012 16:39 UTC (Mon) by
khim (subscriber, #9252)
In reply to:
An Introduction to GCC Compiler Intrinsics in Vector Processing (Linux Journal) by bluebugs
Parent article:
An Introduction to GCC Compiler Intrinsics in Vector Processing (Linux Journal)
Good point. Note that recent versions of GCC and GLibC support the dispatching.
Perhaps this can be made simpler at the GCC level? Some kind of attribute which you can attach to you function to say "I need versions for Atom, Bulldozer, Core2, K8, K10, and Pentium4 - with automatic switch to pick one of them at runtime".
Intel's compiler does something like this but few guys use it in production...
(
Log in to post comments)