named address spaces (update)
E. Weddington
ericw@evcohs.com
Wed Jun 29 15:37:00 GMT 2005
Martin Koegler wrote:
>I continued to work on the support for named address spaces in GCC. I
>managed to move much of the managing code for the namespace attribute
>into the create funtions of tree nodes, so in most cases, only the
>language frontends need to assign and check the named address spaces.
>
>I moved to creation of the namespace list to the gen-modes program
>(all examples are taken out of my m68hc05 GCC port
>http://www.auto.tuwien.ac.at/~mkoegler/index.php/gcc ). A named
>address space is allocated with NAMESPACE(name) in the mode definition
>file of the port, eg:
>
>NAMESPACE(EEPROM);
>NAMESPACE(LORAM);
>
>(I know, that the NAMESPACE is not the correct naming, but named
>address space is a bit too long. Any suggestions?)
>
>
Because it's a space of addresses (as opposed to a space of names), how
about this?:
ADDRESSSPACE (EEPROM);
ADDRESSSPACE (LORAM);
Eric
More information about the Gcc
mailing list