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(refs/users/aoliva/heads/testme)] Request check for hw support in ppc run tests with -maltivec/-mvsx Date: Thu, 30 Mar 2023 14:06:10 +0000 (GMT) [thread overview] Message-ID: <20230330140610.5E0CB38582BE@sourceware.org> (raw) https://gcc.gnu.org/g:ee707680fa4e0cf1533b79ae430c147d09e55e8d commit ee707680fa4e0cf1533b79ae430c147d09e55e8d Author: Olivier Hainque <hainque@adacore.com> Date: Thu Mar 30 05:06:05 2023 -0300 Request check for hw support in ppc run tests with -maltivec/-mvsx for gcc/testsuite/ChangeLog * gcc.target/powerpc/swaps-p8-20.c: Change powerpc_altivec_ok require-effective-target test into vmx_hw. * gcc.target/powerpc/vec-cmpne.c: Change powerpc_vsx_ok require-effective-target test into vsx_hw. * gcc.target/powerpc/vsx-vector-5.c: Likewise. Diff: --- gcc/testsuite/gcc.target/powerpc/swaps-p8-20.c | 2 +- gcc/testsuite/gcc.target/powerpc/vec-cmpne.c | 2 +- gcc/testsuite/gcc.target/powerpc/vsx-vector-5.c | 5 +---- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-20.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-20.c index 564e8acb1f4..755519bfe84 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-20.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-20.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-require-effective-target powerpc_altivec_ok } */ +/* { dg-require-effective-target vmx_hw } */ /* { dg-options "-O2 -mdejagnu-cpu=power8 -maltivec" } */ /* The expansion for vector character multiply introduces a vperm operation. diff --git a/gcc/testsuite/gcc.target/powerpc/vec-cmpne.c b/gcc/testsuite/gcc.target/powerpc/vec-cmpne.c index edba9dece66..489f264fb99 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-cmpne.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-cmpne.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-require-effective-target vsx_hw } */ /* { dg-options "-mvsx -O3" } */ /* Test that the vec_cmpne builtin works as expected. */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-vector-5.c b/gcc/testsuite/gcc.target/powerpc/vsx-vector-5.c index dcc88b1f3a4..37a324b6f89 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-vector-5.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-vector-5.c @@ -1,11 +1,8 @@ /* { dg-do run { target lp64 } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-require-effective-target vsx_hw } */ /* { dg-options "-mvsx -O2" } */ -/* This will run, and someday we should add the support to test whether we are - running on VSX hardware. */ - #include <altivec.h> #include <stdlib.h>
next reply other threads:[~2023-03-30 14:06 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-03-30 14:06 Alexandre Oliva [this message] -- strict thread matches above, loose matches on Subject: below -- 2024-04-28 5:21 Alexandre Oliva 2024-04-22 6:56 Alexandre Oliva 2024-04-22 5:13 Alexandre Oliva 2024-04-21 20:27 Alexandre Oliva 2023-04-06 6:33 Alexandre Oliva 2023-03-24 6:23 Alexandre Oliva 2023-03-23 3:46 Alexandre Oliva 2023-03-16 14:21 Alexandre Oliva 2023-03-15 14:04 Alexandre Oliva
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=20230330140610.5E0CB38582BE@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: linkBe 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).