aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2023-05-24 03:07:44 -0300
committerAlexandre Oliva <oliva@gnu.org>2023-05-24 03:07:44 -0300
commitb4c2f8c61aeb98d6c1c04c4f22b4c131cbd22245 (patch)
tree15a49ddd76109abdf67554e82e4be6cbe780db1c
parent7c1457c78c465ae0f96a18af602ddd812bfb39cd (diff)
downloadgcc-b4c2f8c61aeb98d6c1c04c4f22b4c131cbd22245.zip
gcc-b4c2f8c61aeb98d6c1c04c4f22b4c131cbd22245.tar.gz
gcc-b4c2f8c61aeb98d6c1c04c4f22b4c131cbd22245.tar.bz2
[testsuite] [i386] enable sse2 for signbit-2.c
The expected results for signbit-2 only arise on x86 with avx512f disabled and sse2 enabled. The patch already disables avx512f explicitly, but it fails to enable sse2. for gcc/testsuite/ChangeLog * gcc.dg/signbit-2.c: Add -msse2 on x86.
-rw-r--r--gcc/testsuite/gcc.dg/signbit-2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/signbit-2.c b/gcc/testsuite/gcc.dg/signbit-2.c
index d7b406e..62bb404 100644
--- a/gcc/testsuite/gcc.dg/signbit-2.c
+++ b/gcc/testsuite/gcc.dg/signbit-2.c
@@ -2,7 +2,7 @@
/* { dg-options "-O3 -fdump-tree-optimized" } */
/* This test does not work when the truth type does not match vector type. */
-/* { dg-additional-options "-mno-avx512f" { target { i?86-*-* x86_64-*-* } } } */
+/* { dg-additional-options "-msse2 -mno-avx512f" { target { i?86-*-* x86_64-*-* } } } */
/* { dg-additional-options "-march=armv8-a" { target aarch64_sve } } */
/* { dg-additional-options "-maltivec" { target powerpc_altivec_ok } } */
/* { dg-skip-if "no fallback for MVE" { arm_mve } } */