Debian Codegraph @

gcc/testsuite/gcc.target/powerpc/p9-vec-length-full-8.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */
3
4 /* { dg-additional-options "--param=vect-partial-vector-usage=2" } */
5
6 /* { dg-additional-options "-mno-strict-align" { target opt_mstrict_align } } */
7
8 /* { dg-require-effective-target lp64 } */
9 /* { dg-require-effective-target powerpc_vsx } */
10
11 /* Test for fully with length, the loop body uses vector access with length,
12 there should not be any epilogues. Note for [u]int64_t and double we
13 can avoid peeling for gaps and do not require with-len. */
14
15 #include "p9-vec-length-8.h"
16
17 /* { dg-final { scan-assembler-times {\mlxvl\M} 21 } } */
18 /* { dg-final { scan-assembler-times {\mstxvl\M} 7 } } */