This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/15470] Incorrect floating-point generation on Pentium 4 with -mno-fp-ret-in-387
- From: "coyote at coyotegulch dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 May 2004 20:00:42 -0000
- Subject: [Bug target/15470] Incorrect floating-point generation on Pentium 4 with -mno-fp-ret-in-387
- References: <20040515213221.15470.coyote@coyotegulch.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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