]> git.ipfire.org Git - thirdparty/gcc.git/commit
openmp: Fix max_vf testcases with -march=cascadelake
authorAndrew Stubbs <ams@baylibre.com>
Thu, 7 Nov 2024 11:23:41 +0000 (11:23 +0000)
committerAndrew Stubbs <ams@baylibre.com>
Thu, 7 Nov 2024 12:00:53 +0000 (12:00 +0000)
commit4e91d0587200cf801b42abd74a837e0b3ce635d5
tree84e33ea2bbfb1c6abfb4a53c758f471a074e0bd2
parent16801e4957bf2a3b7d917deb2cad3e879a9579cf
openmp: Fix max_vf testcases with -march=cascadelake

Apparently we need to explicitly disable AVX, not just enabled SSE, to
guarentee the 16-lane vectors we need for the pattern match.

libgomp/ChangeLog:

* testsuite/libgomp.c/max_vf-1.c: Add -mno-avx.

gcc/testsuite/ChangeLog:

* gcc.dg/gomp/max_vf-1.c: Add -mno-avx.
gcc/testsuite/gcc.dg/gomp/max_vf-1.c
libgomp/testsuite/libgomp.c/max_vf-1.c