This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: PR target/46142: FMA test failures


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]