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/29337] -mfpmath=387 doesn't use fistp for double-to-integer conversion



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-10-05 04:45 -------
(In reply to comment #0)
> This makes a difference if/when the extra precision of 387 makes difference to
> the conversion - which -mfpmath=387 is supposed to prevent.
that is only done when doing lots of math so then you round at the end before
using cvttsd2si which is ok and the correct thing.  The cases where rounding is
"wrong" are really undefined anyways.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29337


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