| 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-7.h" |
| 10 |
|
| 11 |
/* Each type should have one vstl but we do not currently vectorize the |
| 12 |
float and double variants and the [u]int64_t ones which do not require |
| 13 |
partial vectors. */ |
| 14 |
/* { dg-final { scan-assembler-times {\mvstl\M} 6 } } */ |