public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] testsuite: Add s390 to gcc.dg/vect/slp-21.c
@ 2021-05-04 14:57 Robin Dapp
  2021-05-05  7:15 ` Richard Biener
  0 siblings, 1 reply; 2+ messages in thread
From: Robin Dapp @ 2021-05-04 14:57 UTC (permalink / raw)
  To: GCC Patches

[-- Attachment #1: Type: text/plain, Size: 195 bytes --]

Hi,

on s390 we vectorize 4 statements using SLP.  Add s390*-*-* to the
appropriate dg-finals.

Is that OK?

Regards
  Robin

gcc/testsuite/ChangeLog:

         * gcc.dg/vect/slp-21.c: Add s390.

[-- Attachment #2: 0001-testsuite-Add-s390-to-gcc.dg-vect-slp-21.c.patch --]
[-- Type: text/x-patch, Size: 1511 bytes --]

From 5f31f411ee36be8c8f3000cfc07b2609796142b7 Mon Sep 17 00:00:00 2001
From: Robin Dapp <rdapp@linux.ibm.com>
Date: Tue, 27 Apr 2021 17:11:54 +0200
Subject: [PATCH] testsuite: Add s390 to gcc.dg/vect/slp-21.c

On s390 we vectorize 4 statements using SLP.  Add s390*-*-* to the
appropriate dg-finals.

gcc/testsuite/ChangeLog:

	* gcc.dg/vect/slp-21.c: Add s390.
---
 gcc/testsuite/gcc.dg/vect/slp-21.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/vect/slp-21.c b/gcc/testsuite/gcc.dg/vect/slp-21.c
index 85393975b45..77152d7252a 100644
--- a/gcc/testsuite/gcc.dg/vect/slp-21.c
+++ b/gcc/testsuite/gcc.dg/vect/slp-21.c
@@ -210,7 +210,7 @@ int main (void)
 
    Not all vect_perm targets support that, and it's a bit too specific to have
    its own effective-target selector, so we just test targets directly.  */
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 4 "vect" { target powerpc64*-*-* } } } */
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "vect" { target { vect_strided4 && { ! powerpc64*-*-* } } } } } */
+/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 4 "vect" { target powerpc64*-*-* s390*-*-* } } } */
+/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "vect" { target { vect_strided4 && { ! powerpc64*-*-* s390*-*-* } } } } } */
 /* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 0 "vect"  { target { ! { vect_strided4 } } } } } */
   
-- 
2.23.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] testsuite: Add s390 to gcc.dg/vect/slp-21.c
  2021-05-04 14:57 [PATCH] testsuite: Add s390 to gcc.dg/vect/slp-21.c Robin Dapp
@ 2021-05-05  7:15 ` Richard Biener
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Biener @ 2021-05-05  7:15 UTC (permalink / raw)
  To: Robin Dapp; +Cc: GCC Patches

On Tue, May 4, 2021 at 7:43 PM Robin Dapp via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
> Hi,
>
> on s390 we vectorize 4 statements using SLP.  Add s390*-*-* to the
> appropriate dg-finals.
>
> Is that OK?

sure

> Regards
>   Robin
>
> gcc/testsuite/ChangeLog:
>
>          * gcc.dg/vect/slp-21.c: Add s390.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-05  7:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04 14:57 [PATCH] testsuite: Add s390 to gcc.dg/vect/slp-21.c Robin Dapp
2021-05-05  7:15 ` Richard Biener

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).