public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Richard Biener <rguenth@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-7430] testsuite/104728 - constrain gcc.dg/vect/pr81196-2.c
Date: Tue,  1 Mar 2022 14:24:45 +0000 (GMT)	[thread overview]
Message-ID: <20220301142445.14C023858407@sourceware.org> (raw)

https://gcc.gnu.org/g:75ce477306a205635b8dd0f37801c05396fd443e

commit r12-7430-g75ce477306a205635b8dd0f37801c05396fd443e
Author: Richard Biener <rguenther@suse.de>
Date:   Tue Mar 1 15:20:59 2022 +0100

    testsuite/104728 - constrain gcc.dg/vect/pr81196-2.c
    
    We need to be able to reverse a vector for negative strides.
    
    2022-03-01  Richard Biener  <rguenther@suse.de>
    
            PR testsuite/104728
            * gcc.dg/vect/pr81196-2.c: Require vect_perm.

Diff:
---
 gcc/testsuite/gcc.dg/vect/pr81196-2.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/testsuite/gcc.dg/vect/pr81196-2.c b/gcc/testsuite/gcc.dg/vect/pr81196-2.c
index 8d5ce6bad53..b5861c17b3d 100644
--- a/gcc/testsuite/gcc.dg/vect/pr81196-2.c
+++ b/gcc/testsuite/gcc.dg/vect/pr81196-2.c
@@ -1,5 +1,7 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target vect_int } */
+/* For negative stride we need to reverse the aligned load.  */
+/* { dg-require-effective-target vect_perm } */
 
 void b (int *p)
 {


                 reply	other threads:[~2022-03-01 14:24 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=20220301142445.14C023858407@sourceware.org \
    --to=rguenth@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).