| 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-1.h" |
| 10 |
|
| 11 |
/* { dg-final { scan-assembler-times {\mvll\M} 14 } } */ |
| 12 |
/* { dg-final { scan-assembler-times {\mvstl\M} 7 } } */ |
| 13 |
|