From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 101504 invoked by alias); 28 Apr 2015 15:51:18 -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 97118 invoked by uid 89); 28 Apr 2015 15:51:17 -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,SPF_PASS autolearn=ham version=3.3.2 X-HELO: eu-smtp-delivery-143.mimecast.com Received: from eu-smtp-delivery-143.mimecast.com (HELO eu-smtp-delivery-143.mimecast.com) (146.101.78.143) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 28 Apr 2015 15:51:13 +0000 Received: from cam-owa2.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.140]) by uk-mta-1.uk.mimecast.lan; Tue, 28 Apr 2015 16:51:09 +0100 Received: from [10.2.207.14] ([10.1.2.79]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 28 Apr 2015 16:51:08 +0100 Message-ID: <553FAC6C.4060705@arm.com> Date: Tue, 28 Apr 2015 16:01:00 -0000 From: Renlin Li User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" CC: Marcus Shawcroft , Ramana Radhakrishnan Subject: [PING][PATCH][AARCH64]Add ACLE 2.0 predefined macros: __ARM_ALIGN_MAX_PWR and __ARM_ALIGN_MAX_STACK_PWR References: <54900732.4010604@arm.com> In-Reply-To: <54900732.4010604@arm.com> X-MC-Unique: UdlndoUBRTCInIRg8Dx2Og-1 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg01757.txt.bz2 Ping~ Regards, Renlin Li On 16/12/14 10:19, Renlin Li wrote: > Hi all, > > This is a simple patch to add another two ACLE 2.0 predefined macros > into aarch64 backend. > They are __ARM_ALIGN_MAX_PWR and __ARM_ALIGN_MAX_STACK_PWR. Currently, > those two values are hard-wired to 16. > > The following clauses from ACLE 2.0 documentation indicate the meaning > of those two macros: > > The macro __ARM_ALIGN_MAX_STACK_PWR indicates (as the exponent of a > power of 2) the maximum available stack alignment. > The macro __ARM_ALIGN_MAX_PWR indicates (as the exponent of a power of > 2) the maximum available alignment of static data. > > aarch64-none-elf target is tested on on the model. No new regression. > > Is it Okay for trunk? > > Regards, > Renlin Li > > gcc/ChangeLog > > 2014-12-16 Renlin Li > > * config/aarch64/aarch64.h(TARGET_CPU_CPP_BUILTINS): Define > __ARM_ALIGN_MAX_PWR > and __ARM_ALIGN_MAX_STACK_PWR.