Patchwork PATCH: PR target/46142: FMA test failures

login
register
mail settings
Submitter H.J. Lu
Date Oct. 31, 2010, 7:09 p.m.
Message ID <20101031190915.GA22448@intel.com>
Download mbox | patch
Permalink /patch/69733/
State New
Headers show

Comments

H.J. Lu - Oct. 31, 2010, 7:09 p.m.
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.
---

Patch

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.