public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/aoliva/heads/testme)] [testsuite] enable -maltivec like vect_int for signbit-2.c
@ 2023-03-25 14:53 Alexandre Oliva
0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 2023-03-25 14:53 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:b83b07d2dca281cbc79ef45df352ca809eeaf08a
commit b83b07d2dca281cbc79ef45df352ca809eeaf08a
Author: Alexandre Oliva <oliva@adacore.com>
Date: Fri Mar 24 02:57:07 2023 -0300
[testsuite] enable -maltivec like vect_int for signbit-2.c
Explicitly enable altivec if it's supported. vect_int tests for
powerpc_altivec_ok, but without the explicit option, if altivec is not
enabled by default, we end up expecting vectorization that doesn't
occur.
for gcc/testsuite/ChangeLog
* gcc.dg/signbit-2.c: Add -maltivec if supported.
Diff:
---
gcc/testsuite/gcc.dg/signbit-2.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/testsuite/gcc.dg/signbit-2.c b/gcc/testsuite/gcc.dg/signbit-2.c
index 16242258207..d7b406effc6 100644
--- a/gcc/testsuite/gcc.dg/signbit-2.c
+++ b/gcc/testsuite/gcc.dg/signbit-2.c
@@ -4,6 +4,7 @@
/* This test does not work when the truth type does not match vector type. */
/* { dg-additional-options "-mno-avx512f" { target { i?86-*-* x86_64-*-* } } } */
/* { dg-additional-options "-march=armv8-a" { target aarch64_sve } } */
+/* { dg-additional-options "-maltivec" { target powerpc_altivec_ok } } */
/* { dg-skip-if "no fallback for MVE" { arm_mve } } */
#include <stdint.h>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gcc(refs/users/aoliva/heads/testme)] [testsuite] enable -maltivec like vect_int for signbit-2.c
@ 2023-03-30 14:07 Alexandre Oliva
0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 2023-03-30 14:07 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:289fd201f2291288671bd5c9b0324f8f3c87a318
commit 289fd201f2291288671bd5c9b0324f8f3c87a318
Author: Alexandre Oliva <oliva@adacore.com>
Date: Thu Mar 30 05:07:19 2023 -0300
[testsuite] enable -maltivec like vect_int for signbit-2.c
Explicitly enable altivec if it's supported. vect_int tests for
powerpc_altivec_ok, but without the explicit option, if altivec is not
enabled by default, we end up expecting vectorization that doesn't
occur.
for gcc/testsuite/ChangeLog
* gcc.dg/signbit-2.c: Add -maltivec if supported.
Diff:
---
gcc/testsuite/gcc.dg/signbit-2.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/testsuite/gcc.dg/signbit-2.c b/gcc/testsuite/gcc.dg/signbit-2.c
index 16242258207..d7b406effc6 100644
--- a/gcc/testsuite/gcc.dg/signbit-2.c
+++ b/gcc/testsuite/gcc.dg/signbit-2.c
@@ -4,6 +4,7 @@
/* This test does not work when the truth type does not match vector type. */
/* { dg-additional-options "-mno-avx512f" { target { i?86-*-* x86_64-*-* } } } */
/* { dg-additional-options "-march=armv8-a" { target aarch64_sve } } */
+/* { dg-additional-options "-maltivec" { target powerpc_altivec_ok } } */
/* { dg-skip-if "no fallback for MVE" { arm_mve } } */
#include <stdint.h>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gcc(refs/users/aoliva/heads/testme)] [testsuite] enable -maltivec like vect_int for signbit-2.c
@ 2023-03-24 6:25 Alexandre Oliva
0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 2023-03-24 6:25 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:d4b12637b345465c2d8a8b663b0d23ab793cc365
commit d4b12637b345465c2d8a8b663b0d23ab793cc365
Author: Alexandre Oliva <oliva@adacore.com>
Date: Fri Mar 24 02:57:07 2023 -0300
[testsuite] enable -maltivec like vect_int for signbit-2.c
Explicitly enable altivec if it's supported. vect_int tests for
powerpc_altivec_ok, but without the explicit option, if altivec is not
enabled by default, we end up expecting vectorization that doesn't
occur.
for gcc/testsuite/ChangeLog
* gcc.dg/signbit-2.c: Add -maltivec if supported.
Diff:
---
gcc/testsuite/gcc.dg/signbit-2.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/testsuite/gcc.dg/signbit-2.c b/gcc/testsuite/gcc.dg/signbit-2.c
index 16242258207..d7b406effc6 100644
--- a/gcc/testsuite/gcc.dg/signbit-2.c
+++ b/gcc/testsuite/gcc.dg/signbit-2.c
@@ -4,6 +4,7 @@
/* This test does not work when the truth type does not match vector type. */
/* { dg-additional-options "-mno-avx512f" { target { i?86-*-* x86_64-*-* } } } */
/* { dg-additional-options "-march=armv8-a" { target aarch64_sve } } */
+/* { dg-additional-options "-maltivec" { target powerpc_altivec_ok } } */
/* { dg-skip-if "no fallback for MVE" { arm_mve } } */
#include <stdint.h>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-03-30 14:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-25 14:53 [gcc(refs/users/aoliva/heads/testme)] [testsuite] enable -maltivec like vect_int for signbit-2.c Alexandre Oliva
-- strict thread matches above, loose matches on Subject: below --
2023-03-30 14:07 Alexandre Oliva
2023-03-24 6:25 Alexandre Oliva
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).