Debian Codegraph @

gcc/testsuite/gcc.target/s390/vector/partial/s390-vec-length-epil-2.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=1 --param=min-vect-loop-bound=0" } */
5
6 /* Test that we only vectorize the epilogue with vector load/store with length,
7 the main body still uses normal vector load/store. */
8
9 #include "s390-vec-length-2.h"
10
11 /* { dg-final { scan-assembler-times {\mvll\M} 20 } } */
12 /* { dg-final { scan-assembler-times {\mvstl\M} 10 } } */
13