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

2018-05-31 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85950 Uroš Bizjak changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2018-05-31 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85950 --- Comment #8 from uros at gcc dot gnu.org --- Author: uros Date: Thu May 31 22:09:39 2018 New Revision: 261043 URL: https://gcc.gnu.org/viewcvs?rev=261043=gcc=rev Log: PR target/85950 * config/i386/i386.md (l2): Enable

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

2018-05-29 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85950 --- Comment #7 from uros at gcc dot gnu.org --- Author: uros Date: Tue May 29 18:35:34 2018 New Revision: 260903 URL: https://gcc.gnu.org/viewcvs?rev=260903=gcc=rev Log: PR target/85950 * config/i386/i386.md (l2): Enable

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

2018-05-29 Thread linux at carewolf dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85950 --- Comment #6 from Allan Jensen --- Btw, I have tested and the patch works for my cases.

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

2018-05-29 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85950 --- Comment #5 from Uroš Bizjak --- (In reply to Allan Jensen from comment #4) > Btw, I found this while trying to figure out why std::round() wasn't also > optimized to a single roundss instruction, is that just a missing > optimization or is

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

2018-05-29 Thread linux at carewolf dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85950 --- Comment #4 from Allan Jensen --- Btw, I found this while trying to figure out why std::round() wasn't also optimized to a single roundss instruction, is that just a missing optimization or is there a quirk about that that makes them not fit?

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

2018-05-28 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85950 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|