https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96476
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|target |c
Target| |x86_64-*-* i?86-*-*
Severity|normal |enhancement
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Requestor wants it not for inside GCC but for inside a library. But I, too,
think it should be general (if at all), not target specific. We could
seed it from largest integer/float vector-mode that has an add optab for
example
if the target does not override it.
Note the distinction between FP and int makes it a bit awkward if you think
about AVX vs. AVX2 for example. But then so is -mpreferred-vector-with
in that case.
FEs need to expose extra "generic" macros, so adjusting component accordingly.