On Tue, Sep 26, 2017 at 10:50:14AM -0400, Michael Meissner wrote: > * gcc.target/powerpc/pr71977-1.c: Update test to know that we > don't generate a 32-bit shift after doing XSCVDPSPN. > * gcc.target/powerpc/direct-move-float1.c: Likewise. > * gcc.target/powerpc/direct-move-float3.c: New test.
> --- gcc/testsuite/gcc.target/powerpc/pr71977-1.c (revision 253176) > +++ gcc/testsuite/gcc.target/powerpc/pr71977-1.c (working copy) > @@ -23,9 +23,9 @@ mask_and_float_var (float f, uint32_t ma > return u.value; > } > > -/* { dg-final { scan-assembler "\[ \t\]xxland " } } */ > -/* { dg-final { scan-assembler-not "\[ \t\]and " } } */ > -/* { dg-final { scan-assembler-not "\[ \t\]mfvsrd " } } */ > -/* { dg-final { scan-assembler-not "\[ \t\]stxv" } } */ > -/* { dg-final { scan-assembler-not "\[ \t\]lxv" } } */ > -/* { dg-final { scan-assembler-not "\[ \t\]srdi " } } */ > +/* { dg-final { scan-assembler {\mxxland\M} } } */ > +/* { dg-final { scan-assembler-not {\mand\M} } } */ > +/* { dg-final { scan-assembler-not {\mmfvsrd\M} } } */ > +/* { dg-final { scan-assembler-not {\mstxv\M} } } */ > +/* { dg-final { scan-assembler-not {\mlxv\M} } } */ > +/* { dg-final { scan-assembler-not {\msrdi\M} } } */ Careful, you still want to disallow lxvx and stxvx -- so just remove the \M from those patterns, I'd say (if that works :-) ) Okay for trunk with that fixed. Thanks, Segher