re PR target/53511 (SH Target: Add support for fma patterns)

PR target/53511
	* gcc.target/sh/pr51340-1.c: Delete obsolete test case.
	* gcc.target/sh/pr51340-2.c: Likewise.
	* gcc.target/sh/pr51340-3.c: Likewise.

From-SVN: r188471
This commit is contained in:
Oleg Endo 2012-06-12 18:25:40 +00:00
parent 126294f40c
commit 0ff6761375
4 changed files with 7 additions and 37 deletions

View File

@ -1,3 +1,10 @@
2012-06-12 Oleg Endo <olegendo@gcc.gnu.org>
PR target/53511
* gcc.target/sh/pr51340-1.c: Delete obsolete test case.
* gcc.target/sh/pr51340-2.c: Likewise.
* gcc.target/sh/pr51340-3.c: Likewise.
2012-06-12 Michael Matz <matz@suse.de>
* gcc.dg/torture/alias-1.c: New test.

View File

@ -1,13 +0,0 @@
/* Check that the fmac insn is generated when -funsafe-math-optimizations
is specified. */
/* { dg-do compile { target "sh*-*-*" } } */
/* { dg-options "-O1 -funsafe-math-optimizations" } */
/* { dg-skip-if "" { "sh*-*-*" } { "-m1" "-m2" "-m4al" "*nofpu" "-m4-340*" "-m4-400*" "-m4-500*" "-m5*" } { "" } } */
/* { dg-final { scan-assembler "fmac" } } */
float
test_func (float a, float b, float c, float d, float e, float f)
{
return a * b + c * d + e * f;
}

View File

@ -1,12 +0,0 @@
/* Check that the fmac insn is not generated when -mno-fused-madd is specified. */
/* { dg-do compile { target "sh*-*-*" } } */
/* { dg-options "-O1 -funsafe-math-optimizations -mno-fused-madd" } */
/* { dg-skip-if "" { "sh*-*-*" } { "-m1" "-m2" "-m4al" "*nofpu" "-m4-340*" "-m4-400*" "-m4-500*" "-m5*" } { "" } } */
/* { dg-final { scan-assembler-not "fmac" } } */
float
test_func (float a, float b, float c, float d, float e, float f)
{
return a * b + c * d + e * f;
}

View File

@ -1,12 +0,0 @@
/* Check that the fmac insn is generated when -mfused-madd is specified. */
/* { dg-do compile { target "sh*-*-*" } } */
/* { dg-options "-O1 -mfused-madd" } */
/* { dg-skip-if "" { "sh*-*-*" } { "-m1" "-m2" "-m4al" "*nofpu" "-m4-340*" "-m4-400*" "-m4-500*" "-m5*" } { "" } } */
/* { dg-final { scan-assembler "fmac" } } */
float
test_func (float a, float b, float c, float d, float e, float f)
{
return a * b + c * d + e * f;
}