Hi! On Mon, Jun 18, 2018 at 11:29:55AM -0500, Kelvin Nilsen wrote: > +/* A single vpkudus matches twice because this is compiled with -dp, > + causing diagnostic comments to appear in the resulting .s file, one > + of which matches vpkudus. */
-dp prints the name of the instruction pattern, which is altivec_vpkudus. So if you look for the full word instead, this problem isn't there I think? > +/* { dg-final { scan-assembler-times "vpkudus" 2 } } */ /* { dg-final { scan-assembler-times {\mvpkudus\M} 1 } } */ Okay with that change (and comment changes). Thanks! Segher