From patchwork Mon Oct 17 08:41:05 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ira Rosen X-Patchwork-Id: 4702 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id AFE0823E51 for ; Mon, 17 Oct 2011 08:41:12 +0000 (UTC) Received: from mail-wy0-f180.google.com (mail-wy0-f180.google.com [74.125.82.180]) by fiordland.canonical.com (Postfix) with ESMTP id A0185A1847B for ; Mon, 17 Oct 2011 08:41:12 +0000 (UTC) Received: by wyg24 with SMTP id 24so302644wyg.11 for ; Mon, 17 Oct 2011 01:41:12 -0700 (PDT) Received: by 10.223.17.11 with SMTP id q11mr23291347faa.13.1318840872322; Mon, 17 Oct 2011 01:41:12 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.1.71 with SMTP id 7cs1142lak; Mon, 17 Oct 2011 01:41:12 -0700 (PDT) Received: by 10.224.208.199 with SMTP id gd7mr14885928qab.82.1318840867443; Mon, 17 Oct 2011 01:41:07 -0700 (PDT) Received: from mail-qw0-f50.google.com (mail-qw0-f50.google.com [209.85.216.50]) by mx.google.com with ESMTPS id hi7si14853996qab.11.2011.10.17.01.41.05 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 17 Oct 2011 01:41:07 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.216.50 is neither permitted nor denied by best guess record for domain of ira.rosen@linaro.org) client-ip=209.85.216.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.216.50 is neither permitted nor denied by best guess record for domain of ira.rosen@linaro.org) smtp.mail=ira.rosen@linaro.org Received: by qadz32 with SMTP id z32so2005037qad.37 for ; Mon, 17 Oct 2011 01:41:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.95.3 with SMTP id b3mr1035266qcn.199.1318840865674; Mon, 17 Oct 2011 01:41:05 -0700 (PDT) Received: by 10.229.247.205 with HTTP; Mon, 17 Oct 2011 01:41:05 -0700 (PDT) Date: Mon, 17 Oct 2011 10:41:05 +0200 Message-ID: Subject: [patch] Update gcc.dg/vect/vect-21.c From: Ira Rosen To: gcc-patches@gcc.gnu.org Cc: Patch Tracking Hi, With Jakub's patch for bool types the 3 loops in gcc.dg/vect/vect-21.c are now vectorizable on targets that support vector conditions. Tested on powerpc64-suse-linux. Committed. Ira testsuite/ChangeLog: * gcc.dg/vect/vect-21.c: Expect the loops to get vectorized on targets that support vector condition. access" 0 "vect" } } */ /* { dg-final { cleanup-tree-dump "vect" } } */ Index: testsuite/gcc.dg/vect/vect-21.c =================================================================== --- testsuite/gcc.dg/vect/vect-21.c (revision 180075) +++ testsuite/gcc.dg/vect/vect-21.c (working copy) @@ -123,7 +123,7 @@ int main (void) return main1 (); } -/* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { xfail *-*-* } } } */ +/* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { target vect_condition } } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned