From: Jakub Jelinek Date: Tue, 27 Aug 2019 10:45:55 +0000 (+0200) Subject: re PR libgomp/91530 (Several libgomp.*/scan-* tests FAIL without avx_runtime) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ad7981cb4f0a5fe017b0da2af36cfccbd84bfd3;p=gcc.git re PR libgomp/91530 (Several libgomp.*/scan-* tests FAIL without avx_runtime) PR libgomp/91530 * testsuite/libgomp.c/scan-11.c: Add -msse2 option for sse2_runtime targets. * testsuite/libgomp.c/scan-12.c: Likewise. * testsuite/libgomp.c/scan-13.c: Likewise. * testsuite/libgomp.c/scan-14.c: Likewise. * testsuite/libgomp.c/scan-15.c: Likewise. * testsuite/libgomp.c/scan-16.c: Likewise. * testsuite/libgomp.c/scan-17.c: Likewise. * testsuite/libgomp.c/scan-18.c: Likewise. * testsuite/libgomp.c/scan-19.c: Likewise. * testsuite/libgomp.c/scan-20.c: Likewise. * testsuite/libgomp.c++/scan-9.C: Likewise. * testsuite/libgomp.c++/scan-10.C: Likewise. * testsuite/libgomp.c++/scan-11.C: Likewise. * testsuite/libgomp.c++/scan-12.C: Likewise. * testsuite/libgomp.c++/scan-14.C: Likewise. * testsuite/libgomp.c++/scan-15.C: Likewise. * testsuite/libgomp.c++/scan-13.C: Likewise. Use sse2_runtime instead of i?86-*-* x86_64-*-* as target for scan-tree-dump-times. * testsuite/libgomp.c++/scan-16.C: Likewise. From-SVN: r274947 --- diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 1332e423056..e4fa3ceb2b8 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,27 @@ +2019-08-27 Jakub Jelinek + + PR libgomp/91530 + * testsuite/libgomp.c/scan-11.c: Add -msse2 option for sse2_runtime + targets. + * testsuite/libgomp.c/scan-12.c: Likewise. + * testsuite/libgomp.c/scan-13.c: Likewise. + * testsuite/libgomp.c/scan-14.c: Likewise. + * testsuite/libgomp.c/scan-15.c: Likewise. + * testsuite/libgomp.c/scan-16.c: Likewise. + * testsuite/libgomp.c/scan-17.c: Likewise. + * testsuite/libgomp.c/scan-18.c: Likewise. + * testsuite/libgomp.c/scan-19.c: Likewise. + * testsuite/libgomp.c/scan-20.c: Likewise. + * testsuite/libgomp.c++/scan-9.C: Likewise. + * testsuite/libgomp.c++/scan-10.C: Likewise. + * testsuite/libgomp.c++/scan-11.C: Likewise. + * testsuite/libgomp.c++/scan-12.C: Likewise. + * testsuite/libgomp.c++/scan-14.C: Likewise. + * testsuite/libgomp.c++/scan-15.C: Likewise. + * testsuite/libgomp.c++/scan-13.C: Likewise. Use sse2_runtime + instead of i?86-*-* x86_64-*-* as target for scan-tree-dump-times. + * testsuite/libgomp.c++/scan-16.C: Likewise. + 2019-08-17 Thomas Koenig PR fortran/91473 diff --git a/libgomp/testsuite/libgomp.c++/scan-10.C b/libgomp/testsuite/libgomp.c++/scan-10.C index c72ba6ee5d9..04b8796a24e 100644 --- a/libgomp/testsuite/libgomp.c++/scan-10.C +++ b/libgomp/testsuite/libgomp.c++/scan-10.C @@ -1,5 +1,6 @@ // { dg-require-effective-target size32plus } // { dg-additional-options "-O2 -fopenmp -fdump-tree-vect-details" } +// { dg-additional-options "-msse2" { target sse2_runtime } } // { dg-additional-options "-mavx" { target avx_runtime } } // { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" { target sse2_runtime } } } diff --git a/libgomp/testsuite/libgomp.c++/scan-11.C b/libgomp/testsuite/libgomp.c++/scan-11.C index d618f125617..9e83effd077 100644 --- a/libgomp/testsuite/libgomp.c++/scan-11.C +++ b/libgomp/testsuite/libgomp.c++/scan-11.C @@ -1,5 +1,6 @@ // { dg-require-effective-target size32plus } // { dg-additional-options "-O2 -fopenmp -fdump-tree-vect-details" } +// { dg-additional-options "-msse2" { target sse2_runtime } } // { dg-additional-options "-mavx" { target avx_runtime } } // { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" { target sse2_runtime } } } diff --git a/libgomp/testsuite/libgomp.c++/scan-12.C b/libgomp/testsuite/libgomp.c++/scan-12.C index 6f9bfc3723f..ee911578520 100644 --- a/libgomp/testsuite/libgomp.c++/scan-12.C +++ b/libgomp/testsuite/libgomp.c++/scan-12.C @@ -1,5 +1,6 @@ // { dg-require-effective-target size32plus } // { dg-additional-options "-O2 -fopenmp -fdump-tree-vect-details" } +// { dg-additional-options "-msse2" { target sse2_runtime } } // { dg-additional-options "-mavx" { target avx_runtime } } // { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" { target sse2_runtime } } } diff --git a/libgomp/testsuite/libgomp.c++/scan-13.C b/libgomp/testsuite/libgomp.c++/scan-13.C index 9d0062556d3..613045768e7 100644 --- a/libgomp/testsuite/libgomp.c++/scan-13.C +++ b/libgomp/testsuite/libgomp.c++/scan-13.C @@ -1,7 +1,8 @@ // { dg-require-effective-target size32plus } // { dg-additional-options "-O2 -fopenmp -fdump-tree-vect-details" } +// { dg-additional-options "-msse2" { target sse2_runtime } } // { dg-additional-options "-mavx" { target avx_runtime } } -// { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" { target i?86-*-* x86_64-*-* } } } +// { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" { target sse2_runtime } } } extern "C" void abort (); diff --git a/libgomp/testsuite/libgomp.c++/scan-14.C b/libgomp/testsuite/libgomp.c++/scan-14.C index 197ec6e8b19..8ee4354c7fc 100644 --- a/libgomp/testsuite/libgomp.c++/scan-14.C +++ b/libgomp/testsuite/libgomp.c++/scan-14.C @@ -1,5 +1,6 @@ // { dg-require-effective-target size32plus } // { dg-additional-options "-O2 -fopenmp -fdump-tree-vect-details" } +// { dg-additional-options "-msse2" { target sse2_runtime } } // { dg-additional-options "-mavx" { target avx_runtime } } // { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" { target sse2_runtime } } } diff --git a/libgomp/testsuite/libgomp.c++/scan-15.C b/libgomp/testsuite/libgomp.c++/scan-15.C index b6a8787aa44..69550af9d62 100644 --- a/libgomp/testsuite/libgomp.c++/scan-15.C +++ b/libgomp/testsuite/libgomp.c++/scan-15.C @@ -1,5 +1,6 @@ // { dg-require-effective-target size32plus } // { dg-additional-options "-O2 -fopenmp -fdump-tree-vect-details" } +// { dg-additional-options "-msse2" { target sse2_runtime } } // { dg-additional-options "-mavx" { target avx_runtime } } // { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" { target sse2_runtime } } } diff --git a/libgomp/testsuite/libgomp.c++/scan-16.C b/libgomp/testsuite/libgomp.c++/scan-16.C index 108660bfbe9..3fb6135c343 100644 --- a/libgomp/testsuite/libgomp.c++/scan-16.C +++ b/libgomp/testsuite/libgomp.c++/scan-16.C @@ -1,7 +1,8 @@ // { dg-require-effective-target size32plus } // { dg-additional-options "-O2 -fopenmp -fdump-tree-vect-details" } +// { dg-additional-options "-msse2" { target sse2_runtime } } // { dg-additional-options "-mavx" { target avx_runtime } } -// { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" { target i?86-*-* x86_64-*-* } } } +// { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" { target sse2_runtime } } } extern "C" void abort (); diff --git a/libgomp/testsuite/libgomp.c++/scan-9.C b/libgomp/testsuite/libgomp.c++/scan-9.C index 340004e3b41..cd08f76895b 100644 --- a/libgomp/testsuite/libgomp.c++/scan-9.C +++ b/libgomp/testsuite/libgomp.c++/scan-9.C @@ -1,5 +1,6 @@ // { dg-require-effective-target size32plus } // { dg-additional-options "-O2 -fopenmp -fdump-tree-vect-details" } +// { dg-additional-options "-msse2" { target sse2_runtime } } // { dg-additional-options "-mavx" { target avx_runtime } } // { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" { target sse2_runtime } } } diff --git a/libgomp/testsuite/libgomp.c/scan-11.c b/libgomp/testsuite/libgomp.c/scan-11.c index 7443a504440..3bc2d3a1d7c 100644 --- a/libgomp/testsuite/libgomp.c/scan-11.c +++ b/libgomp/testsuite/libgomp.c/scan-11.c @@ -1,5 +1,6 @@ /* { dg-require-effective-target size32plus } */ /* { dg-additional-options "-O2 -fopenmp -fdump-tree-vect-details" } */ +/* { dg-additional-options "-msse2" { target sse2_runtime } } */ /* { dg-additional-options "-mavx" { target avx_runtime } } */ /* { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" { target sse2_runtime } } } */ diff --git a/libgomp/testsuite/libgomp.c/scan-12.c b/libgomp/testsuite/libgomp.c/scan-12.c index 6e320468742..f769d17e8ca 100644 --- a/libgomp/testsuite/libgomp.c/scan-12.c +++ b/libgomp/testsuite/libgomp.c/scan-12.c @@ -1,5 +1,6 @@ /* { dg-require-effective-target size32plus } */ /* { dg-additional-options "-O2 -fopenmp -fdump-tree-vect-details" } */ +/* { dg-additional-options "-msse2" { target sse2_runtime } } */ /* { dg-additional-options "-mavx" { target avx_runtime } } */ /* { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" { target sse2_runtime } } } */ diff --git a/libgomp/testsuite/libgomp.c/scan-13.c b/libgomp/testsuite/libgomp.c/scan-13.c index 3c8ce2da04d..9cf1623d262 100644 --- a/libgomp/testsuite/libgomp.c/scan-13.c +++ b/libgomp/testsuite/libgomp.c/scan-13.c @@ -1,5 +1,6 @@ /* { dg-require-effective-target size32plus } */ /* { dg-additional-options "-O2 -fopenmp -fdump-tree-vect-details" } */ +/* { dg-additional-options "-msse2" { target sse2_runtime } } */ /* { dg-additional-options "-mavx" { target avx_runtime } } */ /* { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" { target sse2_runtime } } } */ diff --git a/libgomp/testsuite/libgomp.c/scan-14.c b/libgomp/testsuite/libgomp.c/scan-14.c index 53bd11e5157..3a20a75b2e9 100644 --- a/libgomp/testsuite/libgomp.c/scan-14.c +++ b/libgomp/testsuite/libgomp.c/scan-14.c @@ -1,5 +1,6 @@ /* { dg-require-effective-target size32plus } */ /* { dg-additional-options "-O2 -fopenmp -fdump-tree-vect-details" } */ +/* { dg-additional-options "-msse2" { target sse2_runtime } } */ /* { dg-additional-options "-mavx" { target avx_runtime } } */ /* { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" { target sse2_runtime } } } */ diff --git a/libgomp/testsuite/libgomp.c/scan-15.c b/libgomp/testsuite/libgomp.c/scan-15.c index 4a02519129b..c0c6dfd3b99 100644 --- a/libgomp/testsuite/libgomp.c/scan-15.c +++ b/libgomp/testsuite/libgomp.c/scan-15.c @@ -1,5 +1,6 @@ /* { dg-require-effective-target size32plus } */ /* { dg-additional-options "-O2 -fopenmp -fdump-tree-vect-details" } */ +/* { dg-additional-options "-msse2" { target sse2_runtime } } */ /* { dg-additional-options "-mavx" { target avx_runtime } } */ /* { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" { target sse2_runtime } } } */ diff --git a/libgomp/testsuite/libgomp.c/scan-16.c b/libgomp/testsuite/libgomp.c/scan-16.c index 53705d0f430..8b816781dd8 100644 --- a/libgomp/testsuite/libgomp.c/scan-16.c +++ b/libgomp/testsuite/libgomp.c/scan-16.c @@ -1,5 +1,6 @@ /* { dg-require-effective-target size32plus } */ /* { dg-additional-options "-O2 -fopenmp -fdump-tree-vect-details" } */ +/* { dg-additional-options "-msse2" { target sse2_runtime } } */ /* { dg-additional-options "-mavx" { target avx_runtime } } */ /* { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" { target sse2_runtime } } } */ diff --git a/libgomp/testsuite/libgomp.c/scan-17.c b/libgomp/testsuite/libgomp.c/scan-17.c index 22b2e62ee98..57e4390462a 100644 --- a/libgomp/testsuite/libgomp.c/scan-17.c +++ b/libgomp/testsuite/libgomp.c/scan-17.c @@ -1,5 +1,6 @@ /* { dg-require-effective-target size32plus } */ /* { dg-additional-options "-O2 -fopenmp -fdump-tree-vect-details" } */ +/* { dg-additional-options "-msse2" { target sse2_runtime } } */ /* { dg-additional-options "-mavx" { target avx_runtime } } */ /* { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" { target sse2_runtime } } } */ diff --git a/libgomp/testsuite/libgomp.c/scan-18.c b/libgomp/testsuite/libgomp.c/scan-18.c index ea13687bb06..ae467fc7bdb 100644 --- a/libgomp/testsuite/libgomp.c/scan-18.c +++ b/libgomp/testsuite/libgomp.c/scan-18.c @@ -1,5 +1,6 @@ /* { dg-require-effective-target size32plus } */ /* { dg-additional-options "-O2 -fopenmp -fdump-tree-vect-details" } */ +/* { dg-additional-options "-msse2" { target sse2_runtime } } */ /* { dg-additional-options "-mavx" { target avx_runtime } } */ /* { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" { target sse2_runtime } } } */ diff --git a/libgomp/testsuite/libgomp.c/scan-19.c b/libgomp/testsuite/libgomp.c/scan-19.c index 19d31d9709f..b4205012902 100644 --- a/libgomp/testsuite/libgomp.c/scan-19.c +++ b/libgomp/testsuite/libgomp.c/scan-19.c @@ -1,5 +1,6 @@ /* { dg-require-effective-target size32plus } */ /* { dg-additional-options "-O2 -fopenmp -fdump-tree-vect-details" } */ +/* { dg-additional-options "-msse2" { target sse2_runtime } } */ /* { dg-additional-options "-mavx" { target avx_runtime } } */ /* { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" { target sse2_runtime } } } */ diff --git a/libgomp/testsuite/libgomp.c/scan-20.c b/libgomp/testsuite/libgomp.c/scan-20.c index 18401644be8..3ef88d78d9d 100644 --- a/libgomp/testsuite/libgomp.c/scan-20.c +++ b/libgomp/testsuite/libgomp.c/scan-20.c @@ -1,5 +1,6 @@ /* { dg-require-effective-target size32plus } */ /* { dg-additional-options "-O2 -fopenmp -fdump-tree-vect-details" } */ +/* { dg-additional-options "-msse2" { target sse2_runtime } } */ /* { dg-additional-options "-mavx" { target avx_runtime } } */ /* { dg-final { scan-tree-dump-times "vectorized \[2-6] loops" 2 "vect" { target sse2_runtime } } } */