This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix PR testsuite/28950 revised


On Mon, Sep 11, 2006 at 10:44:36AM +0200, Andreas Schwab wrote:
> howarth@bromo.msbb.uc.edu (Jack Howarth) writes:
> 
> > Nix my previous message. This change to the regex did
> > not work. Does anyone know of an alternative form
> > that degagnu will accept other than {,r}.
> 
> What's wrong with `r?'?

That works for powerpc64-linux and certainly should work for darwin.
The change would be:

-/* { 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"  } } */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]