public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-10029] [testsuite] [i386] add -msse2 to tests that require it
@ 2024-04-18 11:15 Alexandre Oliva
0 siblings, 0 replies; only message in thread
From: Alexandre Oliva @ 2024-04-18 11:15 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:7eecc08ccf75679e6ae688d92e50afae935547ab
commit r14-10029-g7eecc08ccf75679e6ae688d92e50afae935547ab
Author: Alexandre Oliva <oliva@adacore.com>
Date: Thu Apr 18 08:01:43 2024 -0300
[testsuite] [i386] add -msse2 to tests that require it
Without -msse2, an i586-targeting toolchain fails bf16_short_warn.c
because neither type __m128bh nor intrinsic _mm_cvtneps_pbh get
declared.
for gcc/testsuite/ChangeLog
* gcc.target/i386/bf16_short_warn.c: Add -msse2.
Diff:
---
gcc/testsuite/gcc.target/i386/bf16_short_warn.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.target/i386/bf16_short_warn.c b/gcc/testsuite/gcc.target/i386/bf16_short_warn.c
index 3e47a815200..2e05624bc26 100644
--- a/gcc/testsuite/gcc.target/i386/bf16_short_warn.c
+++ b/gcc/testsuite/gcc.target/i386/bf16_short_warn.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -msse2" } */
#include<immintrin.h>
typedef struct {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-18 11:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-18 11:15 [gcc r14-10029] [testsuite] [i386] add -msse2 to tests that require it Alexandre Oliva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).