diff mbox

[committed] Disable X86_TUNE_ALWAYS_FANCY_MATH_387 for Lakemont

Message ID 20151016210839.GA9397@intel.com
State New
Headers show

Commit Message

H.J. Lu Oct. 16, 2015, 9:08 p.m. UTC
Since Lakemont processor doesn't have 387, we should disable
X86_TUNE_ALWAYS_FANCY_MATH_387 for Lakemont.

	* i386/x86-tune.def (X86_TUNE_ALWAYS_FANCY_MATH_387): Disable
	for Lakemont.
---
 gcc/config/i386/x86-tune.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/gcc/config/i386/x86-tune.def b/gcc/config/i386/x86-tune.def
index 05f9737..b2d3921 100644
--- a/gcc/config/i386/x86-tune.def
+++ b/gcc/config/i386/x86-tune.def
@@ -435,7 +435,7 @@  DEF_TUNE (X86_TUNE_DOUBLE_WITH_ADD, "double_with_add", ~m_386)
    such as fsqrt, fprem, fsin, fcos, fsincos etc.
    Should be enabled for all targets that always has coprocesor.  */
 DEF_TUNE (X86_TUNE_ALWAYS_FANCY_MATH_387, "always_fancy_math_387",
-          ~(m_386 | m_486))
+          ~(m_386 | m_486 | m_LAKEMONT))
 
 /* X86_TUNE_UNROLL_STRLEN: Produce (quite lame) unrolled sequence for
    inline strlen.  This affects only -minline-all-stringops mode. By