From: Uros Bizjak <ubizjak@gmail.com>
To: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Subject: [committed] testsuite: Add -msse2 to fix ia32 tests.
Date: Wed, 19 Feb 2020 19:42:00 -0000 [thread overview]
Message-ID: <CAFULd4ZeDtikR8UVtegVH-q=vw9-ZgHrCWd3YX13yO_kPkNbSw@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 256 bytes --]
testsuite: Add -msse2 to fix ia32 tests.
Tested on x86_64-linux-gnu {,-m32}.
2020-02-19 Uroš Bizjak <ubizjak@gmail.com>
* gcc.dg/gimplefe-41.c: Add -msse2 additional options for x86 targets.
* gcc.dg/ipa/ipa-sra-19.c: Ditto.
Uros.
[-- Attachment #2: t.diff.txt --]
[-- Type: text/plain, Size: 959 bytes --]
diff --git a/gcc/testsuite/gcc.dg/gimplefe-41.c b/gcc/testsuite/gcc.dg/gimplefe-41.c
index c3e2f0ecef8..e52a3a559a9 100644
--- a/gcc/testsuite/gcc.dg/gimplefe-41.c
+++ b/gcc/testsuite/gcc.dg/gimplefe-41.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target { vect_double && vect_long_long } } } */
/* { dg-options "-fgimple -Wno-psabi -w" } */
+/* { dg-additional-options "-msse2" { target x86_64-*-* i?86-*-* } } */
typedef double __v2df __attribute__ ((__vector_size__ (16)));
typedef unsigned long long __v2di __attribute__ ((__vector_size__ (16)));
diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c b/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c
index 6186d891a29..681a303523a 100644
--- a/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c
+++ b/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O2" } */
+/* { dg-additional-options "-msse2" { target ia32 } } */
typedef int __attribute__((__vector_size__(16))) vectype;
reply other threads:[~2020-02-19 19:42 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='CAFULd4ZeDtikR8UVtegVH-q=vw9-ZgHrCWd3YX13yO_kPkNbSw@mail.gmail.com' \
--to=ubizjak@gmail.com \
--cc=gcc-patches@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).