| 1 |
! Disabling epilogues until we find a better way to deal with scans. |
| 2 |
! { dg-additional-options "--param vect-epilogues-nomask=0" } |
| 3 |
! { dg-do compile } |
| 4 |
! { dg-require-effective-target vect_float } |
| 5 |
! { dg-additional-options "--param vect-max-peeling-for-alignment=0" } |
| 6 |
|
| 7 |
! Peeling to align the store to Y will also align the load from Y. |
| 8 |
! The load from X may still be misaligned. |
| 9 |
|
| 10 |
SUBROUTINE SAXPY(X, Y, A) |
| 11 |
DIMENSION X(64), Y(64) |
| 12 |
Y = Y + A * X |
| 13 |
END |
| 14 |
|
| 15 |
! { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } |