c++: normalizing ttp constraints [PR115656]
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / p9-vec-length-full-8.c
blob53fa8ebc3ff54b32ed3e47b619b8eed97b75f8a9
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=2" } */
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 fully with length, the loop body uses vector access with length,
12 there should not be any epilogues. */
14 #include "p9-vec-length-8.h"
16 /* { dg-final { scan-assembler-times {\mlxvl\M} 30 } } */
17 /* { dg-final { scan-assembler-times {\mstxvl\M} 10 } } */