public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Uros Bizjak <uros@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-6534] testsuite: Compile g++.dg/vect/slp-pr98855.cc only for x86 targets [PR103935]
Date: Wed, 12 Jan 2022 19:39:18 +0000 (GMT)	[thread overview]
Message-ID: <20220112193918.6AF2B3858406@sourceware.org> (raw)

https://gcc.gnu.org/g:e1503b9a3d2f480d3df42823cd47c3b6c12f5564

commit r12-6534-ge1503b9a3d2f480d3df42823cd47c3b6c12f5564
Author: Uros Bizjak <ubizjak@gmail.com>
Date:   Wed Jan 12 20:38:42 2022 +0100

    testsuite: Compile g++.dg/vect/slp-pr98855.cc only for x86 targets [PR103935]
    
    The testcase is x86 specific, other targets have different costs defined.
    
    2022-01-12  Uroš Bizjak  <ubizjak@gmail.com>
    
    gcc/testsuite/ChangeLog:
    
            PR target/103935
            * g++.dg/vect/slp-pr98855.cc: Compile only for x86 targets.

Diff:
---
 gcc/testsuite/g++.dg/vect/slp-pr98855.cc | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gcc/testsuite/g++.dg/vect/slp-pr98855.cc b/gcc/testsuite/g++.dg/vect/slp-pr98855.cc
index ff59eb95aca..e0527c492d5 100644
--- a/gcc/testsuite/g++.dg/vect/slp-pr98855.cc
+++ b/gcc/testsuite/g++.dg/vect/slp-pr98855.cc
@@ -1,6 +1,5 @@
-// { dg-do compile }
-// { dg-additional-options "-fvect-cost-model=cheap" }
-// { dg-additional-options "-mavx2" { target x86_64-*-* i?86-*-* } }
+// { dg-do compile { target i?86-*-* x86_64-*-* } }
+// { dg-additional-options "-fvect-cost-model=cheap -mavx2" }
 
 #include <stdint.h>
 #include <stdlib.h>


                 reply	other threads:[~2022-01-12 19:39 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=20220112193918.6AF2B3858406@sourceware.org \
    --to=uros@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).