* [PATCH][AARCH64][03]Add ACLE 2.0 predefined macros: Define __ARM_SIZEOF_MINIMAL_ENUM macro
@ 2014-10-15 13:44 Renlin Li
2014-10-15 14:58 ` Richard Earnshaw
0 siblings, 1 reply; 2+ messages in thread
From: Renlin Li @ 2014-10-15 13:44 UTC (permalink / raw)
To: gcc-patches; +Cc: Marcus Shawcroft, Ramana Radhakrishnan
[-- Attachment #1: Type: text/plain, Size: 404 bytes --]
Hi all,
This patch is part of a series of patches that implement ACLE 2.0
predefined macros support for AArch64.
aarch64-none-elf target has been tested on the model, no regression.
Is it Okay to commit?
Kind regards!
Renlin Li
gcc/ChangeLog:
2014-10-15 Renlin Li <Renlin.Li@arm.com>
* config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define
__ARM_SIZEOF_MINIMAL_ENUM.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0004-add-__ARM_SIZEOF_MINIMAL_ENUM.patch --]
[-- Type: text/x-patch; name=0004-add-__ARM_SIZEOF_MINIMAL_ENUM.patch, Size: 1062 bytes --]
From 245195ce760cee97dd8e91e0178963b696000eed Mon Sep 17 00:00:00 2001
From: Renlin Li <renlin.li@arm.com>
Date: Tue, 14 Oct 2014 16:24:10 +0100
Subject: [PATCH 4/8] add __ARM_SIZEOF_MINIMAL_ENUM
Change-Id: I0407fd6ce7f0f0107f02c81fef6c89100dd3afff
---
gcc/config/aarch64/aarch64.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
index b00e7f4..9f39f68 100644
--- a/gcc/config/aarch64/aarch64.h
+++ b/gcc/config/aarch64/aarch64.h
@@ -35,6 +35,9 @@
builtin_define ("__ARM_PCS_AAPCS64"); \
builtin_define_with_int_value \
("__ARM_SIZEOF_WCHAR_T", WCHAR_TYPE_SIZE / 8); \
+ builtin_define_with_int_value \
+ ("__ARM_SIZEOF_MINIMAL_ENUM", \
+ flag_short_enums? 1 : 4); \
if (TARGET_BIG_END) \
{ \
builtin_define ("__AARCH64EB__"); \
--
1.7.9.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH][AARCH64][03]Add ACLE 2.0 predefined macros: Define __ARM_SIZEOF_MINIMAL_ENUM macro
2014-10-15 13:44 [PATCH][AARCH64][03]Add ACLE 2.0 predefined macros: Define __ARM_SIZEOF_MINIMAL_ENUM macro Renlin Li
@ 2014-10-15 14:58 ` Richard Earnshaw
0 siblings, 0 replies; 2+ messages in thread
From: Richard Earnshaw @ 2014-10-15 14:58 UTC (permalink / raw)
To: Renlin Li, gcc-patches; +Cc: Marcus Shawcroft, Ramana Radhakrishnan
On 15/10/14 14:44, Renlin Li wrote:
> Hi all,
>
> This patch is part of a series of patches that implement ACLE 2.0
> predefined macros support for AArch64.
>
> aarch64-none-elf target has been tested on the model, no regression.
>
> Is it Okay to commit?
>
> Kind regards!
> Renlin Li
>
> gcc/ChangeLog:
>
> 2014-10-15 Renlin Li <Renlin.Li@arm.com>
>
> * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define
> __ARM_SIZEOF_MINIMAL_ENUM.
>
OK.
R.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-15 14:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-15 13:44 [PATCH][AARCH64][03]Add ACLE 2.0 predefined macros: Define __ARM_SIZEOF_MINIMAL_ENUM macro Renlin Li
2014-10-15 14:58 ` Richard Earnshaw
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).