Commit ec0641f6 by Roger Sayle Committed by Roger Sayle

i386.c (override_options): Disable x87 fancy math intrinsics if -mfpmath=…

i386.c (override_options): Disable x87 fancy math intrinsics if -mfpmath= doesn't include 387 (default on...


	* config/i386/i386.c (override_options): Disable x87 fancy math
	intrinsics if -mfpmath= doesn't include 387 (default on x86_64).

From-SVN: r91267
parent 2102b2fe
2004-11-24 Roger Sayle <roger@eyesopen.com>
* config/i386/i386.c (override_options): Disable x87 fancy math
intrinsics if -mfpmath= doesn't include 387 (default on x86_64).
2004-11-24 Roger Sayle <roger@eyesopen.com>
* configure.ac: Tweak test for HAVE_DECL_LDGETNAME to avoid a
system header conflict on AIX 5.2.
* configure: Regenerate.
......
......@@ -1545,6 +1545,10 @@ override_options (void)
error ("bad value (%s) for -mfpmath= switch", ix86_fpmath_string);
}
/* If fpmath doesn't include 387, disable use of x87 intrinsics. */
if (! (ix86_fpmath & FPMATH_387))
target_flags |= MASK_NO_FANCY_MATH_387;
/* It makes no sense to ask for just SSE builtins, so MMX is also turned
on by -msse. */
if (TARGET_SSE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment