This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/48139] __builtin_lrintf() becomes a library call, not an cvtss2si instruction
- From: "jyasskin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 17 Mar 2011 01:09:57 +0000
- Subject: [Bug target/48139] __builtin_lrintf() becomes a library call, not an cvtss2si instruction
- Auto-submitted: auto-generated
- References: <bug-48139-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48139
--- Comment #8 from Jeffrey Yasskin <jyasskin at gcc dot gnu.org> 2011-03-17 01:09:38 UTC ---
Ah, I didn't check Posix, specifically
http://pubs.opengroup.org/onlinepubs/9699919799/functions/lrint.html. I now
agree that gcc can't optimize this without -fno-math-errno.