On Fri, Jan 12, 2018 at 09:20:50PM +0100, Jakub Jelinek wrote:
> On Fri, Dec 29, 2017 at 12:35:03AM -0500, Michael Meissner wrote:
> > +/* { dg-final { scan-assembler-times {\mxsabsqp\M} 1 } } */
> > +/* { dg-final { scan-assembler-not {\mxsnabsqp\M} 1 } } */
> > +/* { dg-final { scan-assembler-not {\mxscpsgnqp\M} } } */
> > +/* { dg-final { scan-assembler-not {\mlxvx\M} } } */
> > +/* { dg-final { scan-assembler-not {\mlxv\M} } } */
> > +/* { dg-final { scan-assembler-not {\mbl\M} } } */
>
> This testcase fails with a syntax error, scan-assembler-not with
> 2 operands would need to have target or xfail as the second operand, not 1.
> Removing the 1 doesn't work, because xsnabsqp instruction is actually
> emitted. Given that the comments on the functions explicitly mention
> that it expects one XSABSQP and one XSNABSQP instruction, I've changed
> it to scan-assembler-times instead, tested on powerpc64le-linux and
> committed as obvious to trunk.
Thanks!
Segher