This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[Q:] Implementation of global register variables
- From: Fermin Reig <reig at ics dot uci dot edu>
- To: gcc at gcc dot gnu dot org
- Cc: reig at ics dot uci dot edu
- Date: Thu, 14 Feb 2002 18:19:28 -0800
- Subject: [Q:] Implementation of global register variables
Hi,
A straightforward way of implementing global register variables is by
removing all registers that appear in global declarations from the
pool of registers available to the allocator. Can someone confirm if
this is how gcc does it? If not, a quick explanation will be
appreciated too.
(I've searched the list archives but could not find anything about the
implementation)
Thanks,
Fermin