1 /* { dg-do compile { target { lp64 && powerpc_p9vector_ok } } } */
2 /* Pass cunroll isn't disabled by -fno-unroll-loops, so use explicit
3 disabling option for it. */
4 /* { dg-options "-mdejagnu-cpu=power9 -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -ffast-math -fdisable-tree-cunroll" } */
5
6 /* { dg-additional-options "--param=vect-partial-vector-usage=2" } */
7
8 /* Test for fully with length, the loop body uses vector access with length,
9 there should not be any epilogues. */
10
11 #include "p9-vec-length-7.h"
12
13 /* Each type has one stxvl excepting for int8 and uint8, that have two due to
14 rtl pass bbro duplicating the block which has one stxvl. */
15 /* { dg-final { scan-assembler-times {\mstxvl\M} 12 } } */