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

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
glibc does this because its __expm1l implementation happens to be fast?  That
is,
the question would be whether this falls under "canonicalization" and thus
appropriate for a match.pd pattern?

Of course if x87 has exmp1 then optab expansion of those functions would be
appropriate as well.  Though again this can be achieved via generic code
querying for such support via direct_optab_supported_p.

Does glibc have vectorized expm1 so that via this expansion we coudl vectorize
a loop containing sinh() calls?

Reply via email to