From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15739 invoked by alias); 24 Jul 2007 18:18:57 -0000 Received: (qmail 15728 invoked by uid 22791); 24 Jul 2007 18:18:56 -0000 X-Spam-Check-By: sourceware.org Received: from rwcrmhc11.comcast.net (HELO rwcrmhc11.comcast.net) (204.127.192.81) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 24 Jul 2007 18:18:52 +0000 Received: from lucon.org ([24.6.230.138]) by comcast.net (rwcrmhc11) with ESMTP id <20070724181850m110053qmie>; Tue, 24 Jul 2007 18:18:50 +0000 Received: by lucon.org (Postfix, from userid 500) id 664CDF824D; Tue, 24 Jul 2007 11:18:50 -0700 (PDT) Date: Tue, 24 Jul 2007 18:20:00 -0000 From: "H.J. Lu" To: Dorit Nuzman , janis187@us.ibm.com Cc: gcc-patches@gcc.gnu.org, harsha.jagasia@amd.com Subject: Re: PATCH: Update gcc.dg/vect/costmodel/x86_64/costmodel-vect-reduc-1char.c Message-ID: <20070724181850.GA6358@lucon.org> References: <20070721233632.GA17360@lucon.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.14 (2007-02-12) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-07/txt/msg01748.txt.bz2 On Tue, Jul 24, 2007 at 11:17:41AM +0300, Dorit Nuzman wrote: > > This patch: > > > > http://gcc.gnu.org/ml/gcc-patches/2007-07/msg00496.html > > > > causes > > > > gcc.dg/vect/costmodel/x86_64/costmodel-vect-reduc-1char.c to fail > > since gcc now can vectorize 3 loops intead of 1. How should we > > update gcc.dg/vect/costmodel/x86_64/costmodel-vect-reduc-1char.c? > > > > I guess we can just apply the same change I applied to > gcc.dg/vect/costmodel/i386/costmodel-vect-reduc-1char.c (from the link > above): > This updated patch works for me. OK to install? H.J. ---- 2007-07-24 H.J. Lu * gcc.dg/vect/costmodel/x86_64/costmodel-vect-reduc-1char.c: Updated. --- gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-vect-reduc-1char.c.x86 2007-06-08 13:49:10.000000000 -0700 +++ gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-vect-reduc-1char.c 2007-07-21 16:29:53.000000000 -0700 @@ -46,6 +46,6 @@ int main (void) return 0; } -/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_int_max } } } */ -/* { dg-final { scan-tree-dump-times "vectorization not profitable" 2 "vect" { xfail vect_no_int_max } } } */ +/* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { xfail vect_no_int_max } } } */ +/* { dg-final { scan-tree-dump-times "vectorization not profitable" 0 "vect" { xfail vect_no_int_max } } } */ /* { dg-final { cleanup-tree-dump "vect" } } */