[Bug target/61563] better 387 code for float x == (int)x

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Jun 21 08:45:00 GMT 2014


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

--- Comment #3 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jay Foad from comment #0)

> I think the x == (int)x pattern is fairly common, and it would be nice if
> GCC generated better 387 code for it.

Please note that -msse3 will generate fistt insn that doesn't need control word
changes.


More information about the Gcc-bugs mailing list