[Bug tree-optimization/83353] Missed optimization in math expression: sin(asin(a)) == a

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83353 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last

[Bug tree-optimization/83353] Missed optimization in math expression: sin(asin(a)) == a

2018-11-02 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83353 --- Comment #5 from joseph at codesourcery dot com --- asin(sin(a)) is not safe (or at least not simple) because of arguments outside [-pi/2, pi/2]. sin(asin(a)) is more appropriate with -ffast-math because arguments outside [-1,1] are

[Bug tree-optimization/83353] Missed optimization in math expression: sin(asin(a)) == a

2018-11-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83353 --- Comment #4 from Richard Biener --- So asin(sin(a)) would be a no-brainer but sin(asin(a)) needs to handle a being outside of [-1,1].

[Bug tree-optimization/83353] Missed optimization in math expression: sin(asin(a)) == a

2018-11-01 Thread zamazan4ik at tut dot by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83353 --- Comment #3 from Alexander Zaitsev --- FMPOV compiler should optimize as much as possible. If it's too time consuming, I prefer some additional compiler option like -f-do-some-math-time-consuming-optimization. And yes - developers canot

[Bug tree-optimization/83353] Missed optimization in math expression: sin(asin(a)) == a

2017-12-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83353 Richard Biener changed: What|Removed |Added Keywords||missed-optimization

[Bug tree-optimization/83353] Missed optimization in math expression: sin(asin(a)) == a

2017-12-10 Thread zamazan4ik at tut dot by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83353 --- Comment #1 from Alexander Zaitsev --- The same issue about cos(acos(x)).