2011-10-12 H.J. Lu <hongjiu.lu@intel.com>
* gcc.target/i386/fma_run_double_1.c: Add -mfpmath=sse.
* gcc.target/i386/fma_run_double_2.c: Likewise.
* gcc.target/i386/fma_run_double_3.c: Likewise.
* gcc.target/i386/fma_run_double_4.c: Likewise.
* gcc.target/i386/fma_run_double_5.c: Likewise.
* gcc.target/i386/fma_run_double_6.c: Likewise.
* gcc.target/i386/fma_run_float_1.c: Likewise.
* gcc.target/i386/fma_run_float_2.c: Likewise.
* gcc.target/i386/fma_run_float_3.c: Likewise.
* gcc.target/i386/fma_run_float_4.c: Likewise.
* gcc.target/i386/fma_run_float_5.c: Likewise.
* gcc.target/i386/fma_run_float_6.c: Likewise.
* gcc.target/i386/l_fma_double_1.c: Add -mtune=generic and
remove the extra dg-options.
* gcc.target/i386/l_fma_double_2.c: Likewise.
* gcc.target/i386/l_fma_double_3.c: Likewise.
* gcc.target/i386/l_fma_double_4.c: Likewise.
* gcc.target/i386/l_fma_double_5.c: Likewise.
* gcc.target/i386/l_fma_double_6.c: Likewise.
* gcc.target/i386/l_fma_float_1.c: Likewise.
* gcc.target/i386/l_fma_float_2.c: Likewise.
* gcc.target/i386/l_fma_float_3.c: Likewise.
* gcc.target/i386/l_fma_float_4.c: Likewise.
* gcc.target/i386/l_fma_float_5.c: Likewise.
* gcc.target/i386/l_fma_float_6.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179861
138bc75d-0d04-0410-961f-
82ee72b054a4
+2011-10-12 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gcc.target/i386/fma_run_double_1.c: Add -mfpmath=sse.
+ * gcc.target/i386/fma_run_double_2.c: Likewise.
+ * gcc.target/i386/fma_run_double_3.c: Likewise.
+ * gcc.target/i386/fma_run_double_4.c: Likewise.
+ * gcc.target/i386/fma_run_double_5.c: Likewise.
+ * gcc.target/i386/fma_run_double_6.c: Likewise.
+ * gcc.target/i386/fma_run_float_1.c: Likewise.
+ * gcc.target/i386/fma_run_float_2.c: Likewise.
+ * gcc.target/i386/fma_run_float_3.c: Likewise.
+ * gcc.target/i386/fma_run_float_4.c: Likewise.
+ * gcc.target/i386/fma_run_float_5.c: Likewise.
+ * gcc.target/i386/fma_run_float_6.c: Likewise.
+
+ * gcc.target/i386/l_fma_double_1.c: Add -mtune=generic and
+ remove the extra dg-options.
+ * gcc.target/i386/l_fma_double_2.c: Likewise.
+ * gcc.target/i386/l_fma_double_3.c: Likewise.
+ * gcc.target/i386/l_fma_double_4.c: Likewise.
+ * gcc.target/i386/l_fma_double_5.c: Likewise.
+ * gcc.target/i386/l_fma_double_6.c: Likewise.
+ * gcc.target/i386/l_fma_float_1.c: Likewise.
+ * gcc.target/i386/l_fma_float_2.c: Likewise.
+ * gcc.target/i386/l_fma_float_3.c: Likewise.
+ * gcc.target/i386/l_fma_float_4.c: Likewise.
+ * gcc.target/i386/l_fma_float_5.c: Likewise.
+ * gcc.target/i386/l_fma_float_6.c: Likewise.
+
2011-10-12 Paul Koning <pkoning@gcc.gnu.org>
PR tree-optimization/50189
/* { dg-do run } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
/* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
/* { dg-do run } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
/* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
/* { dg-do run } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
/* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
/* { dg-do run } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
/* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
/* { dg-do run } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
/* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
/* { dg-do run } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
/* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
/* { dg-do run } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
/* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
/* { dg-do run } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
/* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
/* { dg-do run } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
/* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
/* { dg-do run } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
/* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
/* { dg-do run } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
/* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
/* { dg-do run } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
/* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
/* { dg-do compile } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
-
-
#define TYPE double
#include "l_fma_1.h"
/* { dg-do compile } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
-
-
#define TYPE double
#include "l_fma_2.h"
/* { dg-do compile } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
-
-
#define TYPE double
#include "l_fma_3.h"
/* { dg-do compile } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
-
-
#define TYPE double
#include "l_fma_4.h"
/* { dg-do compile } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
-
-
#define TYPE double
#include "l_fma_5.h"
/* { dg-do compile } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
-
-
#define TYPE double
#include "l_fma_6.h"
/* { dg-do compile } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
-
-
#define TYPE float
#include "l_fma_1.h"
/* { dg-do compile } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
-
-
#define TYPE float
#include "l_fma_2.h"
/* { dg-do compile } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
-
-
#define TYPE float
#include "l_fma_3.h"
/* { dg-do compile } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
-
-
#define TYPE float
#include "l_fma_4.h"
/* { dg-do compile } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
-
-
#define TYPE float
#include "l_fma_5.h"
/* { dg-do compile } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
-
-
#define TYPE float
#include "l_fma_6.h"