Hi!
On Wed, Feb 21, 2018 at 11:32:36AM -0600, Will Schmidt wrote:
> An update for the fold-vec-mult-int128-p9.c test to include more of
> the instructions generated for a vec_mul() with a power9 target.
>
> [testsuite]
>
> 2018-02-21 Will Schmidt
>
> * fold-vec-mult-int128-p9.c: Add maddld insn to expected output.
This is fine for trunk. Thanks!
Segher
> diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-mult-int128-p9.c
> b/gcc/testsuite/gcc.target/powerpc/fold-vec-mult-int128-p9.c
> index 6571884..5d3d4aa 100644
> --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-mult-int128-p9.c
> +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-mult-int128-p9.c
> @@ -20,7 +20,7 @@ vector unsigned __int128
> test2 (vector unsigned __int128 x, vector unsigned __int128 y)
> {
>return vec_mul (x, y);
> }
>
> -/* { dg-final { scan-assembler-times {\mmulld\M} 4 } } */
> +/* { dg-final { scan-assembler-times {\mmulld\M|\mmaddld\M} 6 } } */
> /* { dg-final { scan-assembler-times {\mmulhdu\M} 2 } } */
>