Commit 0a6fa376 by H.J. Lu Committed by H.J. Lu

Add -mfpmath=sse/-mtune=generic to FMA tests.

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.

From-SVN: r179861
parent c482a651
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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment