[Bug rtl-optimization/85950] Unsafe-math-optimizations regresses optimization using SSE4.1 roundss

2018-05-28 Thread linux at carewolf dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85950 --- Comment #2 from Allan Jensen --- Created attachment 44196 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44196=edit Example To trigger need both a rounding conversion and a conversion to integer.

[Bug rtl-optimization/85950] Unsafe-math-optimizations regresses optimization using SSE4.1 roundss

2018-05-28 Thread linux at carewolf dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85950 --- Comment #1 from Allan Jensen --- Sorry forget the example above. I will attached the real code that triggers it. Note it does not trigger with -fno-signed-zeros, -fno-trapping-math, -fassociative-math and -freciprocal-math, so it is