From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 805 invoked by alias); 8 Nov 2017 22:28:58 -0000 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 Received: (qmail 341 invoked by uid 89); 8 Nov 2017 22:28:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1495, H*M:249b X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 08 Nov 2017 22:28:56 +0000 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 93EA3C0587CE; Wed, 8 Nov 2017 22:28:55 +0000 (UTC) Received: from localhost.localdomain (ovpn-112-12.rdu2.redhat.com [10.10.112.12]) by smtp.corp.redhat.com (Postfix) with ESMTP id B62A05D9C6; Wed, 8 Nov 2017 22:28:54 +0000 (UTC) Subject: Re: [6/10] Add a vect_element_align_preferred target selector To: gcc-patches@gcc.gnu.org, richard.sandiford@linaro.org References: <87inerqqyz.fsf@linaro.org> <87r2tfpc5o.fsf@linaro.org> From: Jeff Law Message-ID: <709921bb-f54f-249b-ceb9-f4effab15c01@redhat.com> Date: Wed, 08 Nov 2017 22:31:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <87r2tfpc5o.fsf@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-11/txt/msg00682.txt.bz2 On 11/03/2017 10:20 AM, Richard Sandiford wrote: > This patch adds a target selector for targets whose > preferred_vector_alignment is the alignment of one element. We'll never > peel in that case, and the step of a loop that operates on normal (as > opposed to packed) elements will always divide the preferred alignment. > > > 2017-11-03 Richard Sandiford > Alan Hayward > David Sherwood > > gcc/ > * doc/sourcebuild.texi (vect_element_align_preferred): Document. > > gcc/testsuite/ > * lib/target-supports.exp > (check_effective_target_vect_element_align_preferred): New proc. > (check_effective_target_vect_peeling_profitable): Test it. > * gcc.dg/vect/no-section-anchors-vect-31.c: Don't expect peeling > if vect_element_align_preferred. > * gcc.dg/vect/no-section-anchors-vect-64.c: Likewise. > * gcc.dg/vect/pr65310.c: Likewise. > * gcc.dg/vect/vect-26.c: Likewise. > * gcc.dg/vect/vect-54.c: Likewise. > * gcc.dg/vect/vect-56.c: Likewise. > * gcc.dg/vect/vect-58.c: Likewise. > * gcc.dg/vect/vect-60.c: Likewise. > * gcc.dg/vect/vect-89-big-array.c: Likewise. > * gcc.dg/vect/vect-89.c: Likewise. > * gcc.dg/vect/vect-92.c: Likewise. > * gcc.dg/vect/vect-peel-1.c: Likewise. > * gcc.dg/vect/vect-outer-3a-big-array.c: Expect the step to > divide the alignment if vect_element_align_preferred. > * gcc.dg/vect/vect-outer-3a.c: Likewise. OK. jeff