]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Adjust gcc.target/i386/vect-strided-3.c
authorRichard Biener <rguenther@suse.de>
Fri, 14 Jun 2024 09:31:53 +0000 (11:31 +0200)
committerRichard Biener <rguenther@suse.de>
Fri, 14 Jun 2024 09:34:11 +0000 (11:34 +0200)
The following disables SSE4 instead of just AVX to avoid
pextrq being used, confusing the assembler scanning.  This
avoids the reported failure with -march=cascadelake but adds
a FAIL for -march=cascadelake -m32 (I've opened PR115487 for that).

* gcc.target/i386/vect-strided-3.c: Disable SSE4 instead of AVX.

gcc/testsuite/gcc.target/i386/vect-strided-3.c

index b462701a0b2e27520ebf1d1def798f518904ebc3..f9c54a6f71599569792ffe6f92fefb75db25900c 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -msse2 -mno-avx -fno-tree-slp-vectorize" } */
+/* { dg-options "-O2 -msse2 -mno-sse4 -fno-tree-slp-vectorize" } */
 
 void foo (int * __restrict a, int *b, int s)
 {