[Bug c++/83875] [feature request] target_clones compatible SIMD capability/length check
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 17 09:52:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83875
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So we are essentially talking about a builtin like __builtin_cpu_{is,supports},
that instead of runtime check would query the target flags of the containing
function (if any) or the compilation unit default (if outside of function).
I think that is doable, but too late for GCC8.
More information about the Gcc-bugs
mailing list