[Bug target/88556] Inline built-in sinh, cosh, tanh for -ffast-math

2023-07-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88556 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[Bug target/88556] Inline built-in sinh, cosh, tanh for -ffast-math

2018-12-21 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88556 --- Comment #3 from uros at gcc dot gnu.org --- Author: uros Date: Fri Dec 21 13:30:58 2018 New Revision: 267325 URL: https://gcc.gnu.org/viewcvs?rev=267325=gcc=rev Log: PR target/88556 * internal-fn.def (COSH): New.

[Bug target/88556] Inline built-in sinh, cosh, tanh for -ffast-math

2018-12-20 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88556 --- Comment #2 from joseph at codesourcery dot com --- For any vaguely recent GCC version, the now-removed code in bits/mathinline.h used __builtin_expm1l. The key features for this (and much the same applies to the hypot / asinh / acosh /

[Bug target/88556] Inline built-in sinh, cosh, tanh for -ffast-math

2018-12-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88556 --- Comment #1 from Richard Biener --- 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