[RS6000] Tests that use int128_t and -m32
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / p9-vec-length-epil-6.c
blob4eaeb3b005f1d9b6378710f97855ff7b59914592
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" } */
4 /* { dg-additional-options "--param=vect-partial-vector-usage=1" } */
6 /* Test for that only vectorize the epilogue with vector access with length,
7 the main body still use normal vector load/store. */
9 #include "p9-vec-length-6.h"
11 /* { dg-final { scan-assembler-times {\mlxvx?\M} 42 } } */
12 /* { dg-final { scan-assembler-times {\mstxvx?\M} 16 } } */
13 /* 64bit/32bit pairs don't have the epilogues. */
14 /* { dg-final { scan-assembler-times {\mlxvl\M} 10 } } */
15 /* { dg-final { scan-assembler-times {\mstxvl\M} 10 } } */