Patchwork [test-suite,powerpc] fix PR 44418, do not run power{5,6,7} recip tests for powerpc-apple-darwin

login
register
mail settings
Submitter IainS
Date July 17, 2010, 11:16 a.m.
Message ID <98FC4927-B5EF-4C2E-A49A-AD61FEE62DCF@sandoe-acoustics.co.uk>
Download mbox | patch
Permalink /patch/59135/
State New
Headers show

Comments

IainS - July 17, 2010, 11:16 a.m.
there are (so far) no power 5, 6 or 7 apple-darwin systems.

OK for trunk?
Iain

testsuite:

	PR testsuite/44418
	* gcc.target/powerpc/recip-1.c: Do not run for powerpc*-apple-darwin*
	* gcc.target/powerpc/recip-2.c: Ditto.
	* gcc.target/powerpc/recip-3.c: Ditto.

----

  /* { dg-final { scan-assembler-times "xsmsub.dp" 1 } } */
IainS - July 17, 2010, 2:53 p.m.
On 17 Jul 2010, at 12:16, IainS wrote:
> 	PR testsuite/44418
> 	* gcc.target/powerpc/recip-1.c: Do not run for powerpc*-apple-darwin*
> 	* gcc.target/powerpc/recip-2.c: Ditto.
> 	* gcc.target/powerpc/recip-3.c: Ditto.

OKed by David Edelsohn on irc applied as r162277
Iain

Patch

Index: gcc/testsuite/gcc.target/powerpc/recip-1.c
===================================================================
--- gcc/testsuite/gcc.target/powerpc/recip-1.c	(revision 162276)
+++ gcc/testsuite/gcc.target/powerpc/recip-1.c	(working copy)
@@ -1,4 +1,4 @@ 
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile { target { { powerpc*-*-* } && { ! powerpc*-apple- 
darwin* } } } } */
  /* { dg-options "-O2 -mrecip -ffast-math -mcpu=power6" } */
  /* { dg-final { scan-assembler-times "frsqrte" 2 } } */
  /* { dg-final { scan-assembler-times "fmsub" 2 } } */
Index: gcc/testsuite/gcc.target/powerpc/recip-2.c
===================================================================
--- gcc/testsuite/gcc.target/powerpc/recip-2.c	(revision 162276)
+++ gcc/testsuite/gcc.target/powerpc/recip-2.c	(working copy)
@@ -1,4 +1,4 @@ 
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile { target { { powerpc*-*-* } && { ! powerpc*-apple- 
darwin* } } } } */
  /* { dg-options "-O2 -mrecip -ffast-math -mcpu=power5" } */
  /* { dg-final { scan-assembler-times "frsqrtes" 1 } } */
  /* { dg-final { scan-assembler-times "fmsubs" 1 } } */
Index: gcc/testsuite/gcc.target/powerpc/recip-3.c
===================================================================
--- gcc/testsuite/gcc.target/powerpc/recip-3.c	(revision 162276)
+++ gcc/testsuite/gcc.target/powerpc/recip-3.c	(working copy)
@@ -1,4 +1,4 @@ 
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile { target { { powerpc*-*-* } && { ! powerpc*-apple- 
darwin* } } } } */
  /* { dg-options "-O2 -mrecip -ffast-math -mcpu=power7" } */
  /* { dg-final { scan-assembler-times "xsrsqrtedp" 1 } } */