On Thu, Oct 22, 2020 at 05:33:46PM +1030, Alan Modra wrote:
>       * gcc.dg/pr56727-2.c,
>       * gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a-pr63175.c,
>       * gcc.target/powerpc/fold-vec-load-builtin_vec_xl-char.c,
>       * gcc.target/powerpc/fold-vec-load-builtin_vec_xl-double.c,
>       * gcc.target/powerpc/fold-vec-load-builtin_vec_xl-float.c,
>       * gcc.target/powerpc/fold-vec-load-builtin_vec_xl-int.c,
>       * gcc.target/powerpc/fold-vec-load-builtin_vec_xl-longlong.c,
>       * gcc.target/powerpc/fold-vec-load-builtin_vec_xl-short.c,
>       * gcc.target/powerpc/fold-vec-load-vec_vsx_ld-char.c,
>       * gcc.target/powerpc/fold-vec-load-vec_vsx_ld-double.c,
>       * gcc.target/powerpc/fold-vec-load-vec_vsx_ld-float.c,
>       * gcc.target/powerpc/fold-vec-load-vec_vsx_ld-int.c,
>       * gcc.target/powerpc/fold-vec-load-vec_vsx_ld-longlong.c,
>       * gcc.target/powerpc/fold-vec-load-vec_vsx_ld-short.c,
>       * gcc.target/powerpc/fold-vec-load-vec_xl-char.c,
>       * gcc.target/powerpc/fold-vec-load-vec_xl-double.c,
>       * gcc.target/powerpc/fold-vec-load-vec_xl-float.c,
>       * gcc.target/powerpc/fold-vec-load-vec_xl-int.c,
>       * gcc.target/powerpc/fold-vec-load-vec_xl-longlong.c,
>       * gcc.target/powerpc/fold-vec-load-vec_xl-short.c,
>       * gcc.target/powerpc/fold-vec-splat-floatdouble.c,
>       * gcc.target/powerpc/fold-vec-splat-longlong.c,
>       * gcc.target/powerpc/fold-vec-st-double.c,
>       * gcc.target/powerpc/fold-vec-st-longlong.c,
>       * gcc.target/powerpc/fold-vec-st-pixel.c,
>       * gcc.target/powerpc/fold-vec-store-builtin_vec_xst-char.c,
>       * gcc.target/powerpc/fold-vec-store-builtin_vec_xst-double.c,
>       * gcc.target/powerpc/fold-vec-store-builtin_vec_xst-float.c,
>       * gcc.target/powerpc/fold-vec-store-builtin_vec_xst-int.c,
>       * gcc.target/powerpc/fold-vec-store-builtin_vec_xst-short.c,
>       * gcc.target/powerpc/fold-vec-store-vec_vsx_st-char.c,
>       * gcc.target/powerpc/fold-vec-store-vec_vsx_st-double.c,
>       * gcc.target/powerpc/fold-vec-store-vec_vsx_st-float.c,
>       * gcc.target/powerpc/fold-vec-store-vec_vsx_st-int.c,
>       * gcc.target/powerpc/fold-vec-store-vec_vsx_st-longlong.c,
>       * gcc.target/powerpc/fold-vec-store-vec_vsx_st-short.c,
>       * gcc.target/powerpc/fold-vec-store-vec_xst-char.c,
>       * gcc.target/powerpc/fold-vec-store-vec_xst-double.c,
>       * gcc.target/powerpc/fold-vec-store-vec_xst-float.c,
>       * gcc.target/powerpc/fold-vec-store-vec_xst-int.c,
>       * gcc.target/powerpc/fold-vec-store-vec_xst-longlong.c,
>       * gcc.target/powerpc/fold-vec-store-vec_xst-short.c,
>       * gcc.target/powerpc/lvsl-lvsr.c,
>       * gcc.target/powerpc/ppc-eq0-1.c,
>       * gcc.target/powerpc/ppc-ne0-1.c,
>       * gcc.target/powerpc/pr86731-fwrapv-longlong.c: Match power10 insns.
>       * gcc.target/powerpc/lvsl-lvsr.c: Avoid file name match.
> 
> Regstrapped powerpc64le-linux power10 and power8.  OK?

Some of these are wrong, sorry.  I need to go over and check them
thoroughly.  Please consider the patch withdrawn.

> diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-st-pixel.c 
> b/gcc/testsuite/gcc.target/powerpc/fold-vec-st-pixel.c
> index 5b95cc73d8d..0a3aaec6d8d 100644
> --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-st-pixel.c
> +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-st-pixel.c
> @@ -19,4 +19,4 @@ testst_cst1 (vector pixel vp1, int i1, vector pixel * vpp)
>       return vec_st(vp1, 12, vpp);
>  }
>  
> -/* { dg-final { scan-assembler-times {\mstvx\M}  2 } } */
> +/* { dg-final { scan-assembler-times {\mstvx\M|\mpstxv\M}  2 } } */

For example, this one.  We don't get two stvx insns here on power10,
as we should, but we do need altivec style addressing (ie. & -16).  So
pstxv should not be a pass.

-- 
Alan Modra
Australia Development Lab, IBM

Reply via email to