Message ID | 20101223123312.137AF3BE18@mailhost.lps.ens.fr |
---|---|
State | New |
Headers | show |
On Dec 23, 2010, at 4:33 AM, dominiq@lps.ens.fr (Dominique Dhumieres) wrote: > This updated patch fixes 4 failures on powerpc-apple-darwin9 because its > assembler needs the r prefix. See > http://gcc.gnu.org/ml/gcc-patches/2009-12/msg00772.html and > http://gcc.gnu.org/ml/gcc-patches/2009-12/msg00776.html . > Is the patch OK for trunk? Ok with me, though, I need a gas/aix person to ensure we don't just fix Darwin at the expense of other systems.
Mike, > Ok with me, though, I need a gas/aix person to ensure we don't just fix > Darwin at the expense of other systems. Since the regular expressions only extend the accepted patterns, I cannot see how it can break anything (it can only accept invalid ones such as %3). Thanks for the review, Dominique PS. See also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41146#c1 .
On Dec 23, 2010, at 12:37 PM, dominiq@lps.ens.fr (Dominique Dhumieres) wrote: >> Ok with me, though, I need a gas/aix person to ensure we don't just fix >> Darwin at the expense of other systems. > > Since the regular expressions only extend the accepted patterns, I cannot > see how it can break anything (it can only accept invalid ones such as %3). Ah,yes, I'd check it in then. >
Mike,
> Ah,yes, I'd check it in then.
PING!
TIA
Dominique
On Jan 15, 2011, at 2:08 PM, Dominique Dhumieres wrote: >> Ah,yes, I'd check it in then. > > PING! Oh, you want me to play the role of patch monkey.... :-) Ok... checked in.
> Oh, you want me to play the role of patch monkey.... :-) Ok... checked in.
Since I don't have commit rights, i had to find one;-)
Thanks for the commit. I'll close the pr as fixed as soon as regress
has digested it.
Dominique
--- gcc/testsuite/gcc.target/powerpc/asm-es-2.c 2010-07-27 20:17:32.000000000 +0200 +++ ../gcc-4.6-work/gcc/testsuite/gcc.target/powerpc/asm-es-2.c 2010-07-27 22:01:47.000000000 +0200 @@ -31,7 +31,7 @@ f4 (int *p) asm ("asm4 %0" : "=es" (p[100])); } -/* { dg-final { scan-assembler "asm1 3,4" } } */ -/* { dg-final { scan-assembler "asm2u 16\\(3\\)" } } */ -/* { dg-final { scan-assembler "asm3 0\\(3\\)" } } */ -/* { dg-final { scan-assembler "asm4 400\\(3\\)" } } */ +/* { dg-final { scan-assembler "asm1 %?r?3,%?r?4" } } */ +/* { dg-final { scan-assembler "asm2u 16\\(%?r?3\\)" } } */ +/* { dg-final { scan-assembler "asm3 0\\(%?r?3\\)" } } */ +/* { dg-final { scan-assembler "asm4 400\\(%?r?3\\)" } } */