From: H.J. Lu Date: Sat, 25 Jul 2026 06:26:41 +0000 (+0800) Subject: gcc.target/i386/pr[27827|50038].c: Compile with -mno-sse X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=699ff0761c510d447beafa6ceb85e0aed8338f59;p=thirdparty%2Fgcc.git gcc.target/i386/pr[27827|50038].c: Compile with -mno-sse After commit fb0838bc1073aa5f22ec38e0cca2d70d625c6d71 Author: Richard Biener Date: Wed Jul 15 10:37:57 2026 +0200 Support two-lane vector BB reductions without target support we may vectorize gcc.target/i386/pr27827.c and gcc.target/i386/pr50038.c with -march=native and $ make check-gcc RUNTESTFLAGS="--target_board='unix{-m32\ -march=native,-march=native}' get FAIL: gcc.target/i386/pr27827.c scan-assembler fmul[ \t]*%st FAIL: gcc.target/i386/pr50038.c scan-assembler-times movzbl 2 Since these 2 tests don't use SEE instructions originally, compile them with -mno-sse to avoid test failures. PR tree-optimization/126028 * gcc.target/i386/pr27827.c: Compile with -mno-sse. * gcc.target/i386/pr50038.c: Likewise. Signed-off-by: H.J. Lu --- diff --git a/gcc/testsuite/gcc.target/i386/pr27827.c b/gcc/testsuite/gcc.target/i386/pr27827.c index 3b337444a40..fe678437f2c 100644 --- a/gcc/testsuite/gcc.target/i386/pr27827.c +++ b/gcc/testsuite/gcc.target/i386/pr27827.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ -/* { dg-options "-O2 -mfpmath=387" } */ +/* { dg-options "-O2 -mno-sse -mfpmath=387" } */ double a, b; double f(double c) diff --git a/gcc/testsuite/gcc.target/i386/pr50038.c b/gcc/testsuite/gcc.target/i386/pr50038.c index fb635dfcc9d..10e002c8db1 100644 --- a/gcc/testsuite/gcc.target/i386/pr50038.c +++ b/gcc/testsuite/gcc.target/i386/pr50038.c @@ -1,6 +1,6 @@ /* PR target/50038 */ /* { dg-do compile } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -mno-sse" } */ void test (int len, unsigned char *in, unsigned char *out)