public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Alexandre Oliva <aoliva@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r14-10029] [testsuite] [i386] add -msse2 to tests that require it
Date: Thu, 18 Apr 2024 11:15:53 +0000 (GMT)	[thread overview]
Message-ID: <20240418111553.77D903849AE8@sourceware.org> (raw)

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 {

                 reply	other threads:[~2024-04-18 11:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240418111553.77D903849AE8@sourceware.org \
    --to=aoliva@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).