]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: Fix up gcc.target/i386/sse4_1-stv-1.c test [PR113452]
authorJakub Jelinek <jakub@redhat.com>
Thu, 18 Jan 2024 07:46:15 +0000 (08:46 +0100)
committerJakub Jelinek <jakub@redhat.com>
Thu, 18 Jan 2024 07:46:15 +0000 (08:46 +0100)
commitb032f4b7da56a225a0a14d40da2d47a6fcbab3f3
tree4653b0ab7c12ae8c46275cd022fcd28c0e1f0318
parent1203fc2e6a40c65896763554f62cacfb4bd6a836
testsuite: Fix up gcc.target/i386/sse4_1-stv-1.c test [PR113452]

From what I can see, this test has been written for a backend fix and
assumes the loop isn't vectorized (at least, it wasn't when the test was
added, it contains an early exit), but that is no longer true and because
of the vectorization it now contains an instruction which the test scans
for not being present.

I think we should just disable vectorization here.

2024-01-18  Jakub Jelinek  <jakub@redhat.com>

PR testsuite/113452
* gcc.target/i386/sse4_1-stv-1.c: Add -fno-tree-vectorize to
dg-options.
gcc/testsuite/gcc.target/i386/sse4_1-stv-1.c