From 0d3a9fe776071d474267ed56e54834c041e24118 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 16 Oct 2015 21:07:54 +0000 Subject: [PATCH] Disable X86_TUNE_ALWAYS_FANCY_MATH_387 for Lakemont 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. From-SVN: r228925 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/x86-tune.def | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1df9e40bebd..05e6e7d0e22 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-10-16 H.J. Lu + + * i386/x86-tune.def (X86_TUNE_ALWAYS_FANCY_MATH_387): Disable + for Lakemont. + 2015-10-16 Andrew MacLeod * config/tilepro/gen-mul-tables.cc: Adjust include files. diff --git a/gcc/config/i386/x86-tune.def b/gcc/config/i386/x86-tune.def index 05f97376d01..b2d39219124 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 -- 2.30.2