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, rs6000] Fix implementation of vec_packsu (vector unsigned long long, vector unsigned long long) built-in function


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


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