From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11136 invoked by alias); 22 Jun 2008 09:00:13 -0000 Received: (qmail 11125 invoked by uid 22791); 22 Jun 2008 09:00:11 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate2.de.ibm.com (HELO mtagate2.de.ibm.com) (195.212.29.151) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 22 Jun 2008 08:59:43 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate2.de.ibm.com (8.13.8/8.13.8) with ESMTP id m5M8xeEJ184532 for ; Sun, 22 Jun 2008 08:59:40 GMT Received: from d12av04.megacenter.de.ibm.com (d12av04.megacenter.de.ibm.com [9.149.165.229]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v9.0) with ESMTP id m5M8xe5F4362444 for ; Sun, 22 Jun 2008 10:59:40 +0200 Received: from d12av04.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av04.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m5M8xdvc014693 for ; Sun, 22 Jun 2008 10:59:39 +0200 Received: from d12mc102.megacenter.de.ibm.com (d12mc102.megacenter.de.ibm.com [9.149.167.114]) by d12av04.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m5M8xdEY014690 for ; Sun, 22 Jun 2008 10:59:39 +0200 Subject: [patch, testsuite] Fixed generic vectorization testcase for Cell SPU To: gcc-patches@gcc.gnu.org X-Mailer: Lotus Notes Release 7.0 HF144 February 01, 2006 Message-ID: From: Ira Rosen Date: Sun, 22 Jun 2008 09:13:00 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII 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/msg01379.txt.bz2 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? 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" } } */