This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Reintroduce -mflat option on SPARC
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Laurent Rougé <laurent dot rouge at menta dot fr>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 18 May 2011 12:31:21 +0200
- Subject: Re: Reintroduce -mflat option on SPARC
- References: <4D64F83B.5060704@menta.fr> <4DA73D99.5000800@menta.fr> <201105171251.20272.ebotcazou@adacore.com>
> Another question: why does the model hijack %i7 to use it as frame pointer,
> instead of just using %fp? AFAICS both are kept as fixed registers by the
> code so the model seems to be wasting 1 register (2 without frame pointer).
Related question: why saving the Local and In registers in the frame instead of
at their standard location, right above the stack pointer? It would seem to
me that the layout of the frame can be identical to the standard one.
--
Eric Botcazou