public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/aoliva/heads/testme)] disable ldist to restore vectorizing-candidate loop
@ 2021-03-09 21:47 Alexandre Oliva
  0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 2021-03-09 21:47 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:bf4fe399039f411ac177091f1e97b52e3dedebd8

commit bf4fe399039f411ac177091f1e97b52e3dedebd8
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Tue Mar 9 18:42:59 2021 -0300

    disable ldist to restore vectorizing-candidate loop
    
    The loop we're supposed to try to vectorize in
    gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c is turned into a memset
    before the vectorizer runs.
    
    Various other tests in this set have already run into this, and the
    solution has been to disable this loop distribution transformation,
    enabled at -O2, so that the vectorizer gets a chance to transform the
    loop and, in this testcase, fail to do so.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c: Disable
            ldist.

Diff:
---
 gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c
index 72b4930d9bb..0d48dfea7bc 100644
--- a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c
+++ b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-additional-options "-fno-tree-loop-distribute-patterns" } */
 
 #include <stdarg.h>
 #include "../../tree-vect.h"


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

* [gcc(refs/users/aoliva/heads/testme)] disable ldist to restore vectorizing-candidate loop
@ 2021-03-09 21:25 Alexandre Oliva
  0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 2021-03-09 21:25 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:61fa7ab29d446351545118e7860fb55f980dfe4c

commit 61fa7ab29d446351545118e7860fb55f980dfe4c
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Mon Mar 8 23:22:49 2021 -0300

    disable ldist to restore vectorizing-candidate loop
    
    The loop we're supposed to try to vectorize in
    gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c is turned into a memset
    before the vectorizer runs.
    
    Various other tests in this set have already run into this, and the
    solution has been to disable this loop distribution transformation,
    enabled at -O2, so that the vectorizer gets a chance to transform the
    loop and, in this testcase, fail to do so.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c: Disable
            ldist.

Diff:
---
 gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c
index 72b4930d9bb..0d48dfea7bc 100644
--- a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c
+++ b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-additional-options "-fno-tree-loop-distribute-patterns" } */
 
 #include <stdarg.h>
 #include "../../tree-vect.h"


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

* [gcc(refs/users/aoliva/heads/testme)] disable ldist to restore vectorizing-candidate loop
@ 2021-03-09  2:26 Alexandre Oliva
  0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 2021-03-09  2:26 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:3f96c66c880ac42bf71b0379ee81b41ebcb6c0de

commit 3f96c66c880ac42bf71b0379ee81b41ebcb6c0de
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Mon Mar 8 23:22:49 2021 -0300

    disable ldist to restore vectorizing-candidate loop
    
    The loop we're supposed to try to vectorize in
    gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c is turned into a memset
    before the vectorizer runs.
    
    Various other tests in this set have already run into this, and the
    solution has been to disable this loop distribution transformation,
    enabled at -O2, so that the vectorizer gets a chance to transform the
    loop and, in this testcase, fail to do so.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c: Disable
            ldist.

Diff:
---
 gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c
index 72b4930d9bb..0d48dfea7bc 100644
--- a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c
+++ b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-additional-options "-fno-tree-loop-distribute-patterns" } */
 
 #include <stdarg.h>
 #include "../../tree-vect.h"


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

end of thread, other threads:[~2021-03-09 21:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-09 21:47 [gcc(refs/users/aoliva/heads/testme)] disable ldist to restore vectorizing-candidate loop Alexandre Oliva
  -- strict thread matches above, loose matches on Subject: below --
2021-03-09 21:25 Alexandre Oliva
2021-03-09  2:26 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).