(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
powerpc/
p9-vec-length-full-4.c
       1  /* { dg-do compile { target { lp64 && powerpc_p9vector_ok } } } */
       2  /* { dg-options "-mdejagnu-cpu=power9 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */
       3  
       4  /* { dg-additional-options "--param=vect-partial-vector-usage=2" } */
       5  
       6  /* Test for fully with length, the loop body uses vector access with length,
       7     there should not be any epilogues.  */
       8  
       9  #include "p9-vec-length-4.h"
      10  
      11  /* It can use normal vector load for constant vector load.  */
      12  /* { dg-final { scan-assembler-not   {\mstxv\M} } } */
      13  /* { dg-final { scan-assembler-not   {\mlxvx\M} } } */
      14  /* { dg-final { scan-assembler-not   {\mstxvx\M} } } */
      15  /* { dg-final { scan-assembler-times {\mlxvl\M} 70 } } */
      16  /* { dg-final { scan-assembler-times {\mstxvl\M} 70 } } */