https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85236

--- Comment #5 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to bking from comment #4)
> I understand that is a part of SVML, but doesn't that mean using the Intel
> Compiler?  Which means not using GCC.  Is there not a plan to add it?  Or is
> that the intent of glibc?

As Richard said, yes, the current situation is that this would fit much better
in glibc's libmvec. It already provides vector versions of sin, cos, exp, log,
pow and sincos (under different names than SVML), it should be extended to more
functions. Another possibility would be to link to Intel's SVML when it is
present. Although gcc already has a way to use SVML for autovectorization, it
isn't clear in this particular case whether it is something the compiler should
provide, the library vendor (Intel), or the user.

Reply via email to