[Bug middle-end/33675] Badly optimized negations on x86 with -frounding-math

2021-10-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33675 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug middle-end/33675] Badly optimized negations on x86 with -frounding-math

2007-10-08 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-10-08 08:53 --- The first store is for the truncation to float, the second store is because of the volatile. Now we could combine the first into the second, but in general we don't care too much to try optimize code which uses vola

[Bug middle-end/33675] Badly optimized negations on x86 with -frounding-math

2007-10-06 Thread bagnara at cs dot unipr dot it
--- Comment #2 from bagnara at cs dot unipr dot it 2007-10-06 13:03 --- I don't understand. Do you mean that what I consider the natural compilation of that piece of code (the shorter assembly listing) is incorrect? In other words: do you think that the shorter assembly listing does no

[Bug middle-end/33675] Badly optimized negations on x86 with -frounding-math

2007-10-06 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-10-06 11:45 --- That is becasue there is a cast to volatile float which causes an extra store. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --