From patchwork Mon Jun 15 19:54:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Schmidt X-Patchwork-Id: 484520 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 5F3C71401AD for ; Tue, 16 Jun 2015 05:55:01 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=EA9GsXs0; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:subject:from:to:cc:date:content-type:mime-version :content-transfer-encoding; q=dns; s=default; b=BM9wLtSNOnzkTE0q 7LYs4hs79wsYGvvkUXh8FrWUP6fPuwT781ENMsyW0HxmL617xQWDBGxmy5gl65Yt dwvafpokhEqm40xDYBxRRxxkQDxtNAUjlIw6Gf336uouFOxhf+hba9NtfLU+9su3 cFVuTWXjLLIPkCrwRr1nt2EBwMI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:subject:from:to:cc:date:content-type:mime-version :content-transfer-encoding; s=default; bh=E3T0zVEhJPdfyT/5GKdkge UBplk=; b=EA9GsXs03kZbnyhE3QmY+sc7gBYOeeLIWUISRH7PPG9clzKQBs4tPH tQbX0R/jyrthhMrVbXIQaT78QDrOuBanTldfFzNgAAKaBu2/bYhVXZuOH5cuulIn T+pU1B9rvhHxj2QF4eGw1WjxqRkYYaKVBliLwLuf7e2FNLx7g6cvs= Received: (qmail 114209 invoked by alias); 15 Jun 2015 19:54:54 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 114200 invoked by uid 89); 15 Jun 2015 19:54:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_05, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: e19.ny.us.ibm.com Received: from e19.ny.us.ibm.com (HELO e19.ny.us.ibm.com) (129.33.205.209) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Mon, 15 Jun 2015 19:54:53 +0000 Received: from /spool/local by e19.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 15 Jun 2015 15:54:50 -0400 Received: from d01dlp01.pok.ibm.com (9.56.250.166) by e19.ny.us.ibm.com (146.89.104.206) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 15 Jun 2015 15:54:48 -0400 X-MailFrom: wschmidt@linux.vnet.ibm.com X-RcptTo: gcc-patches@gcc.gnu.org Received: from b01cxnp23033.gho.pok.ibm.com (b01cxnp23033.gho.pok.ibm.com [9.57.198.28]) by d01dlp01.pok.ibm.com (Postfix) with ESMTP id 5E5FF38C8059 for ; Mon, 15 Jun 2015 15:54:48 -0400 (EDT) Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by b01cxnp23033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t5FJsmbl49676342 for ; Mon, 15 Jun 2015 19:54:48 GMT Received: from d01av02.pok.ibm.com (localhost [127.0.0.1]) by d01av02.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t5FJsiSV021964 for ; Mon, 15 Jun 2015 15:54:47 -0400 Received: from [9.48.99.98] (sig-9-48-99-98.ibm.com [9.48.99.98]) by d01av02.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t5FJshMr021653; Mon, 15 Jun 2015 15:54:43 -0400 Message-ID: <1434398082.2747.15.camel@gnopaine> Subject: [4.8, testsuite] Correct backported fix to gcc.dg/vect/vect-33.c From: Bill Schmidt To: gcc-patches@gcc.gnu.org Cc: mikestump@comcast.net Date: Mon, 15 Jun 2015 14:54:42 -0500 Mime-Version: 1.0 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15061519-0057-0000-0000-00000074D8FA X-IsSubscribed: yes Hi, When I backported support for unaligned vector load/store operations on POWER8 to GCC 4.8, I fumbled the change for gcc.dg/vect/vect-33.c. One of the original tests was: /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ which I modified to /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" { target { ! vect_hw_misalign } } } } */ This caused the test to be skipped for architectures other than PowerPC, which was a mistake. The correct test should have been: /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" { target { { ! powerpc*-*-* } || { ! vect_hw_misalign } } } } } */ which leaves things alone for other architectures. Ok for 4.8? Thanks, Bill 2015-06-15 Bill Schmidt * gcc.dg/vect/vect-33.c: Don't exclude "Vectorizing an unaligned access" test for non-PowerPC arches. Index: gcc/testsuite/gcc.dg/vect/vect-33.c =================================================================== --- gcc/testsuite/gcc.dg/vect/vect-33.c (revision 224490) +++ gcc/testsuite/gcc.dg/vect/vect-33.c (working copy) @@ -38,7 +38,7 @@ int main (void) /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ -/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" { target { ! vect_hw_misalign } } } } */ +/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" { target { { ! powerpc*-*-* } || { ! vect_hw_misalign } } } } } */ /* { dg-final { scan-tree-dump "Alignment of access forced using peeling" "vect" { target vector_alignment_reachable } } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using versioning" 1 "vect" { target { {! vector_alignment_reachable} && {! vect_hw_misalign} } } } } */ /* { dg-final { cleanup-tree-dump "vect" } } */