From patchwork Fri Nov 13 18:41:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 544424 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 D6364141435 for ; Sat, 14 Nov 2015 05:41:23 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=uWuv84Ko; 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 :mime-version:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; q=dns; s=default; b=i8bGu7Idbnf9Q9r015 yY/fJL8z6qzVpbmFPjCQ+I8VQBBBtQKykIHFvi/1Pp6dr/4USigBgykUsuhdhx3d tSYmVRGLbmOB3WzG3TQc4ngrvcCR0Wbl0de+knWRT5YSq7xUB20s5P4TQHpRM7sL rgolZJbGmVYtrOhAJledTw340= 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 :mime-version:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; s=default; bh=5YgpRnPxo8cDpaWA1kVRH47J u+A=; b=uWuv84KoLa+PWRZkTLE/uFQ52sAyFFUGPrD9wX0IEhKnQdiMDYZ1IQE7 inDUbGMcVKq2cPb9eiHesEFz6KQjEr8c6M/21Awu3ZQ/xbIJt3jrTEKuGpw8+cBg gGw0nB3knvYYR49faVUM+n7/DLT6261E5lk5wWJoPmD160IuLuo= Received: (qmail 108345 invoked by alias); 13 Nov 2015 18:41:07 -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 108271 invoked by uid 89); 13 Nov 2015 18:41:06 -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_00, FREEMAIL_FROM, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-oi0-f42.google.com Received: from mail-oi0-f42.google.com (HELO mail-oi0-f42.google.com) (209.85.218.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 13 Nov 2015 18:41:05 +0000 Received: by oies6 with SMTP id s6so54966658oie.1 for ; Fri, 13 Nov 2015 10:41:03 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.202.53.195 with SMTP id c186mr12825227oia.43.1447440063662; Fri, 13 Nov 2015 10:41:03 -0800 (PST) Received: by 10.60.138.6 with HTTP; Fri, 13 Nov 2015 10:41:03 -0800 (PST) In-Reply-To: References: Date: Fri, 13 Nov 2015 19:41:03 +0100 Message-ID: Subject: Re: [PATCH] Fix PR68306 From: Uros Bizjak To: "gcc-patches@gcc.gnu.org" Cc: Richard Biener On Fri, Nov 13, 2015 at 2:15 PM, Uros Bizjak wrote: >> 2015-11-13 Richard Biener >> >> PR tree-optimization/68306 >> * tree-vect-data-refs.c (verify_data_ref_alignment): Move >> loop related checks ... >> (vect_verify_datarefs_alignment): ... here. >> (vect_slp_analyze_and_verify_node_alignment): Compute and >> verify alignment of the single DR that it matters. >> * tree-vect-stmts.c (vectorizable_store): Add an assert. >> (vectorizable_load): Add a comment. >> * tree-vect-slp.c (vect_analyze_slp_cost_1): Fix DR used >> for determining load cost. >> >> * gcc.dg/pr68306.c: Adjust. >> * gcc.dg/pr68306-2.c: New testcase. >> * gcc.dg/pr68306-3.c: Likewise. > > + /* { dg-additional-options "-mno-sse -mno-mmx" { target x86_64-*-* } } */ > > You should use { target i?86-*-* x86_64-*-* } here and in a couple of > other places. Added by attached patch. 2015-11-13 Uros Bizjak * gcc.dg/pr68306.c (dg-additional-options): Add i?86-*-* target. * gcc.dg/pr68306-2.c (dg-additional-options): Ditto. * gcc.dg/pr68306-3.c (dg-additional-options): Ditto. Tested on x86_64-linux-gnu {,-m32} and committed to mainline SVN. Uros. Index: ChangeLog =================================================================== --- ChangeLog (revision 230338) +++ ChangeLog (working copy) @@ -1,3 +1,9 @@ +2015-11-13 Uros Bizjak + + * gcc.dg/pr68306.c (dg-additional-options): Add i?86-*-* target. + * gcc.dg/pr68306-2.c (dg-additional-options): Ditto. + * gcc.dg/pr68306-3.c (dg-additional-options): Ditto. + 2015-11-13 David Malcolm * gcc.dg/diagnostic-token-ranges.c: New file. Index: gcc.dg/pr68306-2.c =================================================================== --- gcc.dg/pr68306-2.c (revision 230338) +++ gcc.dg/pr68306-2.c (working copy) @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O3" } */ -/* { dg-additional-options "-mno-sse -mno-mmx" { target x86_64-*-* } } */ +/* { dg-additional-options "-mno-sse -mno-mmx" { target i?86-*-* x86_64-*-* } } */ struct { int tz_minuteswest; Index: gcc.dg/pr68306-3.c =================================================================== --- gcc.dg/pr68306-3.c (revision 230338) +++ gcc.dg/pr68306-3.c (working copy) @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O3" } */ -/* { dg-additional-options "-mno-sse -mno-mmx" { target x86_64-*-* } } */ +/* { dg-additional-options "-mno-sse -mno-mmx" { target i?86-*-* x86_64-*-* } } */ /* { dg-additional-options "-mno-altivec -mno-vsx" { target powerpc*-*-* } } */ extern void fn2(); Index: gcc.dg/pr68306.c =================================================================== --- gcc.dg/pr68306.c (revision 230338) +++ gcc.dg/pr68306.c (working copy) @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O3" } */ -/* { dg-additional-options "-mno-sse -mno-mmx" { target x86_64-*-* } } */ +/* { dg-additional-options "-mno-sse -mno-mmx" { target i?86-*-* x86_64-*-* } } */ enum powerpc_pmc_type { PPC_PMC_IBM }; struct {