This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: PR target/46142: FMA test failures
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 31 Oct 2010 12:09:15 -0700
- Subject: PATCH: PR target/46142: FMA test failures
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
Hi,
I checked in this preapproved patch to add -mtune=generic to
gcc.target/i386/fma3-builtin-2.c and gcc.target/i386/fma4-builtin-2.c.
H.J.
---
Index: gcc.target/i386/fma4-builtin-2.c
===================================================================
--- gcc.target/i386/fma4-builtin-2.c (revision 166112)
+++ gcc.target/i386/fma4-builtin-2.c (working copy)
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O3 -mfma4" } */
+/* { dg-options "-O3 -mfma4 -mtune=generic" } */
#ifndef SIZE
#define SIZE 1024
Index: gcc.target/i386/fma3-builtin-2.c
===================================================================
--- gcc.target/i386/fma3-builtin-2.c (revision 166112)
+++ gcc.target/i386/fma3-builtin-2.c (working copy)
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O3 -mfma -mno-fma4" } */
+/* { dg-options "-O3 -mfma -mno-fma4 -mtune=generic" } */
#ifndef SIZE
#define SIZE 1024
Index: ChangeLog
===================================================================
--- ChangeLog (revision 166112)
+++ ChangeLog (working copy)
@@ -1,3 +1,9 @@
+2010-10-31 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR target/46142
+ * gcc.target/i386/fma3-builtin-2.c: Add -mtune=generic.
+ * gcc.target/i386/fma4-builtin-2.c: Likewise.
+
2010-10-31 Richard Sandiford <rdsandiford@googlemail.com>
* gcc.dg/stack-usage-1.c (SIZE): Increase to 248 for some MIPS targets.