diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2023-12-27 11:12:23 +0000 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2024-01-02 10:54:10 +0000 |
commit | 046cea56fd1e8bc52681baef3f68164482b3fe90 (patch) | |
tree | 5aae5e0e021248e0c68fe85a340d129d612d1033 | |
parent | 76f069fef7dc12166fa65a664f03f82e7d2d9a78 (diff) | |
download | gcc-046cea56fd1e8bc52681baef3f68164482b3fe90.zip gcc-046cea56fd1e8bc52681baef3f68164482b3fe90.tar.gz gcc-046cea56fd1e8bc52681baef3f68164482b3fe90.tar.bz2 |
aarch64: fortran: Adjust vect-8.f90 for libmvec
With new glibc one more loop can be vectorized via simd exp in libmvec.
Found by the Linaro TCWG CI.
gcc/testsuite/ChangeLog:
* gfortran.dg/vect/vect-8.f90: Accept more vectorized loops.
-rw-r--r-- | gcc/testsuite/gfortran.dg/vect/vect-8.f90 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gfortran.dg/vect/vect-8.f90 b/gcc/testsuite/gfortran.dg/vect/vect-8.f90 index ca72ddc..938dfc2 100644 --- a/gcc/testsuite/gfortran.dg/vect/vect-8.f90 +++ b/gcc/testsuite/gfortran.dg/vect/vect-8.f90 @@ -704,7 +704,7 @@ CALL track('KERNEL ') RETURN END SUBROUTINE kernel -! { dg-final { scan-tree-dump-times "vectorized 25 loops" 1 "vect" { target aarch64_sve } } } -! { dg-final { scan-tree-dump-times "vectorized 24 loops" 1 "vect" { target { aarch64*-*-* && { ! aarch64_sve } } } } } +! { dg-final { scan-tree-dump-times "vectorized 2\[56\] loops" 1 "vect" { target aarch64_sve } } } +! { dg-final { scan-tree-dump-times "vectorized 2\[45\] loops" 1 "vect" { target { aarch64*-*-* && { ! aarch64_sve } } } } } ! { dg-final { scan-tree-dump-times "vectorized 2\[234\] loops" 1 "vect" { target { vect_intdouble_cvt && { ! aarch64*-*-* } } } } } ! { dg-final { scan-tree-dump-times "vectorized 17 loops" 1 "vect" { target { { ! vect_intdouble_cvt } && { ! aarch64*-*-* } } } } } |