On Fri, May 25, 2012 at 1:19 PM, Marcus Shawcroft <marcus.shawcr...@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