Debian Codegraph @

gcc/testsuite/gcc.target/s390/vector/partial/s390-vec-length-full-3.c

raw
1 /* { dg-do compile { target { lp64 && s390_vx } } } */
2 /* { dg-options "-march=native -O2 -ftree-vectorize -fno-vect-cost-model -fno-unroll-loops -fno-trapping-math" } */
3
4 /* { dg-additional-options "--param=vect-partial-vector-usage=2 --param=min-vect-loop-bound=0" } */
5
6 /* Test that the loop body uses vector load/store with length,
7 there should not be any epilogues. */
8
9 #include "s390-vec-length-3.h"
10
11 /* 64bit types get completely unrolled, so only check the others. */
12 /* { dg-final { scan-assembler-times {\mvll\M} 14 } } */
13 /* { dg-final { scan-assembler-times {\mvstl\M} 7 } } */