From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44658 invoked by alias); 8 Nov 2017 22:32:51 -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 40000 invoked by uid 89); 8 Nov 2017 22:32:42 -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=H*M:7993 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:32:41 +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 168C082114; Wed, 8 Nov 2017 22:32:40 +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 440275D9C6; Wed, 8 Nov 2017 22:32:39 +0000 (UTC) Subject: Re: [9/10] Add a vect_align_stack_vars target selector To: gcc-patches@gcc.gnu.org, richard.sandiford@linaro.org References: <87inerqqyz.fsf@linaro.org> <87efpfpc1i.fsf@linaro.org> From: Jeff Law Message-ID: <8842b9fe-7993-f24b-ef17-a787c797ee02@redhat.com> Date: Wed, 08 Nov 2017 22:40: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: <87efpfpc1i.fsf@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-11/txt/msg00685.txt.bz2 On 11/03/2017 10:22 AM, Richard Sandiford wrote: > This patch adds a target selector to say whether it's possible to > align a local variable to the target's preferred vector alignment. > This can be false for large vectors if the alignment is only > a preference and not a hard requirement (and thus if there is no > need to support a stack realignment mechanism). > > > 2017-11-03 Richard Sandiford > Alan Hayward > David Sherwood > > gcc/ > * doc/sourcebuild.texi (vect_align_stack_vars): Document. > > gcc/testsuite/ > * lib/target-supports.exp > (check_effective_target_vect_align_stack_vars): New proc. > * gcc.dg/vect/vect-23.c: Only expect the array to be aligned if > vect_align_stack_vars. > * gcc.dg/vect/vect-24.c: Likewise. > * gcc.dg/vect/vect-25.c: Likewise. > * gcc.dg/vect/vect-26.c: Likewise. > * gcc.dg/vect/vect-32-big-array.c: Likewise. > * gcc.dg/vect/vect-32.c: Likewise. > * gcc.dg/vect/vect-40.c: Likewise. > * gcc.dg/vect/vect-42.c: Likewise. > * gcc.dg/vect/vect-46.c: Likewise. > * gcc.dg/vect/vect-48.c: Likewise. > * gcc.dg/vect/vect-52.c: Likewise. > * gcc.dg/vect/vect-54.c: Likewise. > * gcc.dg/vect/vect-62.c: Likewise. > * gcc.dg/vect/vect-67.c: Likewise. > * gcc.dg/vect/vect-75-big-array.c: Likewise. > * gcc.dg/vect/vect-75.c: Likewise. > * gcc.dg/vect/vect-77-alignchecks.c: Likewise. > * gcc.dg/vect/vect-78-alignchecks.c: Likewise. > * gcc.dg/vect/vect-89-big-array.c: Likewise. > * gcc.dg/vect/vect-89.c: Likewise. > * gcc.dg/vect/vect-96.c: Likewise. > * gcc.dg/vect/vect-multitypes-3.c: Likewise. > * gcc.dg/vect/vect-multitypes-6.c: Likewise. OK. jeff