This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/48139] __builtin_lrintf() becomes a library call, not an cvtss2si instruction


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]