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

linux at carewolf dot com gcc-bugzilla@gcc.gnu.org
Tue May 29 09:22:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85950

--- Comment #4 from Allan Jensen <linux at carewolf dot com> ---
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?

I noticed the definition of the ROUND enum in i386.md is even missing the entry
to for normal rounding (0 AFAIK)


More information about the Gcc-bugs mailing list