This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix PR testsuite/28950
- From: howarth at bromo dot msbb dot uc dot edu (Jack Howarth)
- To: amodra at bigpond dot net dot au, howarth at bromo dot msbb dot uc dot edu
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 13 Sep 2006 00:10:13 -0400 (EDT)
- Subject: Re: [patch] Fix PR testsuite/28950
Alan,
The patch already was approved and went in with the following
form...
Index: gcc/testsuite/gcc.target/powerpc/ppc-and-1.c
===================================================================
--- gcc/testsuite/gcc.target/powerpc/ppc-and-1.c (revision 116801)
+++ gcc/testsuite/gcc.target/powerpc/ppc-and-1.c (working copy)
@@ -1,8 +1,8 @@
/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
/* { dg-options "-O2" } */
-/* { dg-final { scan-assembler "rlwinm \[0-9\]+,\[0-9\]+,0,0,30" } } */
-/* { dg-final { scan-assembler "rlwinm \[0-9\]+,\[0-9\]+,0,29,30" } } */
+/* { dg-final { scan-assembler "rlwinm r?\[0-9\]+,r?\[0-9\]+,0,0,30" } } */
+/* { dg-final { scan-assembler "rlwinm r?\[0-9\]+,r?\[0-9\]+,0,29,30" } } */
/* { dg-final { scan-assembler-not "rldicr" } } */
/* Origin:Pete Steinmetz <steinmtz@us.ibm.com> */
It been applied to both gcc trunk and 4.1 branches. The runs Janis did on
4.2.0 and 4.1.2 indicate that it is fine on non-Darwin ppc64.
http://gcc.gnu.org/ml/gcc-testresults/2006-09/msg00597.html
http://gcc.gnu.org/ml/gcc-testresults/2006-09/msg00607.html
FYI,
Jack