Disable X86_TUNE_ALWAYS_FANCY_MATH_387 for Lakemont
authorH.J. Lu <hongjiu.lu@intel.com>
Fri, 16 Oct 2015 21:07:54 +0000 (21:07 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Fri, 16 Oct 2015 21:07:54 +0000 (14:07 -0700)
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
gcc/config/i386/x86-tune.def

index 1df9e40..05e6e7d 100644 (file)
@@ -1,3 +1,8 @@
+2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386/x86-tune.def (X86_TUNE_ALWAYS_FANCY_MATH_387): Disable
+       for Lakemont.
+
 2015-10-16  Andrew MacLeod  <amacleod@redhat.com>
 
        * config/tilepro/gen-mul-tables.cc: Adjust include files.
index 05f9737..b2d3921 100644 (file)
@@ -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