This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/61563] better 387 code for float x == (int)x
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 21 Jun 2014 08:45:33 +0000
- Subject: [Bug target/61563] better 387 code for float x == (int)x
- Auto-submitted: auto-generated
- References: <bug-61563-4 at http dot gcc dot gnu dot org/bugzilla/>
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.