c++: normalizing ttp constraints [PR115656]
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / p9-vec-length-epil-5.c
blobe148771ed08ea974dbf44eb12eaa5244afe0a393
1 /* { dg-do compile } */
2 /* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */
4 /* { dg-additional-options "--param=vect-partial-vector-usage=1" } */
6 /* { dg-additional-options "-mno-strict-align" { target opt_mstrict_align } } */
8 /* { dg-require-effective-target lp64 } */
9 /* { dg-require-effective-target powerpc_vsx } */
11 /* Test for that only vectorize the epilogue with vector access with length,
12 the main body still use normal vector load/store. */
14 #include "p9-vec-length-5.h"
16 /* { dg-final { scan-assembler-times {\mlxvx?\M} 49 } } */
17 /* { dg-final { scan-assembler-times {\mstxvx?\M} 21 } } */
18 /* { dg-final { scan-assembler-times {\mlxvl\M} 21 } } */
19 /* { dg-final { scan-assembler-times {\mstxvl\M} 21 } } */