From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id E4E373858D20; Sun, 28 Apr 2024 05:22:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E4E373858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1714281738; bh=H8F8QKQSB/Hj5y4/aEv1COnygSXMbJvY7E80zGfKhLg=; h=From:To:Subject:Date:From; b=P2QURUcnKob1XcXVr2+XDIcRnz8cmEay1ntl8Jl6bZpMT7wEBOA7j8IU9WT/Cvlw8 4i70UanxMrBby5MlWkkBvkefVGKM4q2TahE0gZv1IYHwZ9Qx2bpCGPGOsjx2AGm+9u /HZdPdfj8uvAps3GsfMycd196gT/d1JMIeFc9flM= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Alexandre Oliva To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/aoliva/heads/testme)] adjust iteration count for ppc costmodel 76b X-Act-Checkin: gcc X-Git-Author: Kewen Lin X-Git-Refname: refs/users/aoliva/heads/testme X-Git-Oldrev: df1330158bb0926d6af9a3d115dd63a931a3006d X-Git-Newrev: ec1d688d102cd30572320e7224b55127182e2432 Message-Id: <20240428052218.E4E373858D20@sourceware.org> Date: Sun, 28 Apr 2024 05:22:18 +0000 (GMT) List-Id: https://gcc.gnu.org/g:ec1d688d102cd30572320e7224b55127182e2432 commit ec1d688d102cd30572320e7224b55127182e2432 Author: Kewen Lin 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" -