From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31209 invoked by alias); 22 Jun 2008 09:13:18 -0000 Received: (qmail 31200 invoked by uid 22791); 22 Jun 2008 09:13:18 -0000 X-Spam-Check-By: sourceware.org Received: from an-out-0708.google.com (HELO an-out-0708.google.com) (209.85.132.250) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 22 Jun 2008 09:12:58 +0000 Received: by an-out-0708.google.com with SMTP id c28so474716ana.104 for ; Sun, 22 Jun 2008 02:12:56 -0700 (PDT) Received: by 10.100.172.17 with SMTP id u17mr10195608ane.28.1214125976507; Sun, 22 Jun 2008 02:12:56 -0700 (PDT) Received: from ?10.91.209.82? ( [32.157.88.14]) by mx.google.com with ESMTPS id s27sm5591499qbs.12.2008.06.22.02.12.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 22 Jun 2008 02:12:55 -0700 (PDT) References: Message-Id: From: Andrew Pinski To: Ira Rosen In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes X-Mailer: iPhone Mail (4A102) Mime-Version: 1.0 (iPhone Mail 4A102) Subject: Re: [patch, testsuite] Fixed generic vectorization testcase for Cell SPU Content-Transfer-Encoding: 7bit Date: Sun, 22 Jun 2008 09:48:00 -0000 Cc: "gcc-patches@gcc.gnu.org" 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: 2008-06/txt/msg01380.txt.bz2 Sent from my iPhone On Jun 22, 2008, at 1:57, Ira Rosen wrote: > > Hi, > > gcc.dg/tree-ssa/gen-vect-11c.c, as well as other gen-vect-* testcases, > needs to be ran without SIMD extension, which is impossible on SPU. > Therefore, the loop in this testcase gets vectorized (using regular > vectorization) and the test fails. This patch adds xfail for SPU to > the > testcase. > > Tested on Cell SPU. O.K. for 4.3.2 and mainline? How about just skiping these tests on spu instead? Since really this is not a really a xfail since the test is testing the wrong thing on spu. Thanks, Andrew Pinski > > > Thanks, > Ira > > ChangeLog: > > * gcc.dg/tree-ssa/gen-vect-11c.c: Vectorizable on Cell SPU. > > Index: testsuite/gcc.dg/tree-ssa/gen-vect-11c.c > =================================================================== > --- testsuite/gcc.dg/tree-ssa/gen-vect-11c.c (revision 136939) > +++ testsuite/gcc.dg/tree-ssa/gen-vect-11c.c (working copy) > @@ -36,5 +36,5 @@ int main () > } > > > -/* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 > "vect" } } */ > +/* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 > "vect" { xfail > spu-*-* } } } */ > /* { dg-final { cleanup-tree-dump "vect" } } */ >