[Bug target/15470] Incorrect floating-point generation on Pentium 4 with -mno-fp-ret-in-387

coyote at coyotegulch dot com gcc-bugzilla@gcc.gnu.org
Mon May 17 04:49:00 GMT 2004


------- Additional Comments From coyote at coyotegulch dot com  2004-05-16 20:00 -------
(In reply to comment #4)
> This is invalid as you are changing the ABI and since cos is not compiled with
-mno-fp-ret-in-387, it is 
> returned in the fp register.

I'm willing to accept you analysis, but one question does come to mind: Why does
the program work properly with -mno-fp-ret-in-387 on x86_64?

-- 


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



More information about the Gcc-bugs mailing list