public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/tnfchris/heads/gcc-14-early-break)] testsuite: Add more pragma novector to new tests
@ 2023-11-15 14:54 Tamar Christina
0 siblings, 0 replies; only message in thread
From: Tamar Christina @ 2023-11-15 14:54 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:b650bada3f398511fdc770464914e32c6c1c23af
commit b650bada3f398511fdc770464914e32c6c1c23af
Author: Tamar Christina <tamar.christina@arm.com>
Date: Thu Nov 2 15:15:37 2023 +0000
testsuite: Add more pragma novector to new tests
Diff:
---
gcc/testsuite/gcc.dg/vect/no-scevccp-slp-30.c | 2 +-
gcc/testsuite/gcc.dg/vect/no-scevccp-slp-31.c | 1 +
gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-69.c | 4 ++--
gcc/testsuite/gcc.target/aarch64/vect-xorsign_exec.c | 2 ++
4 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-slp-30.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-slp-30.c
index 00d0eca56ee..534bee4a166 100644
--- a/gcc/testsuite/gcc.dg/vect/no-scevccp-slp-30.c
+++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-slp-30.c
@@ -24,9 +24,9 @@ main1 ()
}
/* check results: */
-#pragma GCC novector
for (j = 0; j < N; j++)
{
+#pragma GCC novector
for (i = 0; i < N; i++)
{
if (out[i*4] != 8
diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-slp-31.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-slp-31.c
index 48b6a9b0681..22817a57ef8 100644
--- a/gcc/testsuite/gcc.dg/vect/no-scevccp-slp-31.c
+++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-slp-31.c
@@ -27,6 +27,7 @@ main1 ()
#pragma GCC novector
for (i = 0; i < N; i++)
{
+#pragma GCC novector
for (j = 0; j < N; j++)
{
if (a[i][j] != 8)
diff --git a/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-69.c b/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-69.c
index a0e53d5fef9..0861d488e13 100644
--- a/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-69.c
+++ b/gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-69.c
@@ -83,9 +83,9 @@ int main1 ()
}
/* check results: */
-#pragma GCC novector
for (i = 0; i < N; i++)
{
+#pragma GCC novector
for (j = 0; j < N; j++)
{
if (tmp1[2].e.n[1][i][j] != 8)
@@ -103,9 +103,9 @@ int main1 ()
}
/* check results: */
-#pragma GCC novector
for (i = 0; i < N - NINTS; i++)
{
+#pragma GCC novector
for (j = 0; j < N - NINTS; j++)
{
if (tmp2[2].e.n[1][i][j] != 8)
diff --git a/gcc/testsuite/gcc.target/aarch64/vect-xorsign_exec.c b/gcc/testsuite/gcc.target/aarch64/vect-xorsign_exec.c
index cfa22115831..84f33d3f6cc 100644
--- a/gcc/testsuite/gcc.target/aarch64/vect-xorsign_exec.c
+++ b/gcc/testsuite/gcc.target/aarch64/vect-xorsign_exec.c
@@ -33,6 +33,7 @@ main (void)
r[i] = a[i] * __builtin_copysignf (1.0f, b[i]);
/* check results: */
+#pragma GCC novector
for (i = 0; i < N; i++)
if (r[i] != a[i] * __builtin_copysignf (1.0f, b[i]))
abort ();
@@ -41,6 +42,7 @@ main (void)
rd[i] = ad[i] * __builtin_copysign (1.0d, bd[i]);
/* check results: */
+#pragma GCC novector
for (i = 0; i < N; i++)
if (rd[i] != ad[i] * __builtin_copysign (1.0d, bd[i]))
abort ();
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-15 14:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-15 14:54 [gcc(refs/users/tnfchris/heads/gcc-14-early-break)] testsuite: Add more pragma novector to new tests Tamar Christina
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).