]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
x86: Compile builtin-copysign-8b.c with -mtune=generic
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 27 Oct 2025 10:11:25 +0000 (18:11 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 27 Oct 2025 10:14:55 +0000 (18:14 +0800)
Compile builtin-copysign-8b.c with -mtune=generic so that it passes with

$ make check-gcc RUNTESTFLAGS="i386.exp=builtin-copysign-8b.c --target_board='unix{-m64\ -march=cascadelake}'"

PR target/122323
* gcc.target/i386/builtin-copysign-8b.c: Add -mtune=generic.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
gcc/testsuite/gcc.target/i386/builtin-copysign-8b.c

index 8f0cb27a2464dd3fc33e5ac1fa73534018c2da53..dc9e46121de001778c774a64a0d2caa67a6d38e4 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mno-avx512f -mavx" } */
+/* { dg-options "-O2 -mno-avx512f -mavx -mtune=generic" } */
 /* Keep labels and directives ('.cfi_startproc', '.cfi_endproc').  */
 /* { dg-final { check-function-bodies "**" "" "" { target { ! ia32 } } {^\t?\.} } } */