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=1" } */
5
6 /* Test for that only vectorize the epilogue with vector access with length,
7 the main body still use normal vector load/store. */
8
9 #include "p9-vec-length-8.h"
10
11 /* { dg-final { scan-assembler-times {\mlxvl\M} 16 } } */
12 /* { dg-final { scan-assembler-times {\mstxvl\M} 7 } } */