Debian Codegraph @

gcc/testsuite/gcc.target/s390/vector/partial/s390-vec-length-full-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=2" } */
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-2.h"
10
11 /* { dg-final { scan-assembler-times {\mvll\M} 20 } } */
12 /* { dg-final { scan-assembler-times {\mvstl\M} 10 } } */