From patchwork Mon Oct 17 19:03:41 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ira Rosen X-Patchwork-Id: 4715 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 7F54323EF7 for ; Mon, 17 Oct 2011 19:03:45 +0000 (UTC) Received: from mail-gx0-f180.google.com (mail-gx0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id 38B65A18503 for ; Mon, 17 Oct 2011 19:03:45 +0000 (UTC) Received: by ggnv2 with SMTP id v2so2539824ggn.11 for ; Mon, 17 Oct 2011 12:03:44 -0700 (PDT) Received: by 10.223.60.73 with SMTP id o9mr26295337fah.18.1318878224349; Mon, 17 Oct 2011 12:03:44 -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 7cs19481lak; Mon, 17 Oct 2011 12:03:43 -0700 (PDT) Received: by 10.220.108.1 with SMTP id d1mr1547382vcp.264.1318878222538; Mon, 17 Oct 2011 12:03:42 -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 r14si2595383vcq.29.2011.10.17.12.03.42 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 17 Oct 2011 12:03:42 -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 z32so2622603qad.37 for ; Mon, 17 Oct 2011 12:03:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.34.136 with SMTP id l8mr2250673qcd.237.1318878221729; Mon, 17 Oct 2011 12:03:41 -0700 (PDT) Received: by 10.229.247.205 with HTTP; Mon, 17 Oct 2011 12:03:41 -0700 (PDT) Date: Mon, 17 Oct 2011 21:03:41 +0200 Message-ID: Subject: [patch] Fix gcc.dg/vect/vect-114.c (PR 50746) From: Ira Rosen To: gcc-patches@gcc.gnu.org Cc: Patch Tracking Hi, vect-114.c doesn't have misaligned accesses, so there is no need in vect_hw_misalign. Tested on powerpc64-suse-linux. Committed. Ira testsuite/ChangeLog: PR tree-optimization/50746 * gcc.dg/vect/vect-114.c: Remove vect_hw_misalign. +/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target vect_perm } } } */ /* { dg-final { cleanup-tree-dump "vect" } } */ Index: testsuite/gcc.dg/vect/vect-114.c =================================================================== --- testsuite/gcc.dg/vect/vect-114.c (revision 180104) +++ testsuite/gcc.dg/vect/vect-114.c (working copy) @@ -34,7 +34,7 @@ int main (void) return main1 (); } -/* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" { target { ! { vect_perm && vect_hw_misalign } } } } } */ -/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { vect_perm && vect_hw_misalign } } } } */ +/* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" { target { ! { vect_perm } } } } } */