public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/aoliva/heads/testme)] adjust iteration count for ppc costmodel 76b
@ 2024-04-28  5:22 Alexandre Oliva
  0 siblings, 0 replies; only message in thread
From: Alexandre Oliva @ 2024-04-28  5:22 UTC (permalink / raw)
  To: gcc-cvs

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

commit ec1d688d102cd30572320e7224b55127182e2432
Author: Kewen Lin <linkw@linux.ibm.com>
Date:   Sun Apr 28 01:43:51 2024 -0300

    adjust iteration count for ppc costmodel 76b
    
    The original intention of this case is to expect not profitable for
    peeling.  Tweak the loop bound to make this loop not profitable to be
    vectorized for !vect_no_align with peeling (both pwr7 and pwr6) and
    keep consistent.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.dg/vect/costmodel/ppc/costmodel-vect-76b.c (N): Tweak.

Diff:
---
 gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-76b.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-76b.c b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-76b.c
index cbbfbb24658..e48b0ab759e 100644
--- a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-76b.c
+++ b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-76b.c
@@ -6,7 +6,7 @@
 
 /* On Power7 without misalign vector support, this case is to check it's not
    profitable to perform vectorization by peeling to align the store.  */
-#define N 14
+#define N 13
 #define OFF 4
 
 /* Check handling of accesses for which the "initial condition" -

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-28  5:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-28  5:22 [gcc(refs/users/aoliva/heads/testme)] adjust iteration count for ppc costmodel 76b 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).