This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [AARCH64] [PATCH 1/3] AArch64 Port


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]