This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [AARCH64] [PATCH 1/3] AArch64 Port
- From: Steven Bosscher <stevenb dot gcc at gmail dot com>
- To: Marcus Shawcroft <marcus dot shawcroft at arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 25 May 2012 15:23:47 +0200
- Subject: Re: [AARCH64] [PATCH 1/3] AArch64 Port
- References: <4FBF67BE.1090301@arm.com> <4FBF6AA5.9040407@arm.com>
On Fri, May 25, 2012 at 1:19 PM, Marcus Shawcroft
<marcus.shawcroft@arm.com> wrote:
> ? ? ? ?* config/aarch64/aarch64.md: New file.
> Index: gcc/config/aarch64/aarch64.md
> ===================================================================
> --- gcc/config/aarch64/aarch64.md (revision 0)
> +++ gcc/config/aarch64/aarch64.md (revision 0)
> @@ -0,0 +1,2935 @@
(...)
> +(define_constants
> + [
> + (UNSPEC_NOP 0)
> + (UNSPEC_TLS 1)
Can you use define_c_enum "unspec" here instead?
> +(define_constants
> + [
> + (UNSPECV_EH_RETURN 0)
> + (UNSPECV_SYNC_COMPARE_AND_SWAP 1)
And define_c_enum "unspecv" here?
With define_c_enum your constants will be printed as names in the rtl dumps.
Ciao!
Steven