This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Reintroduce -mflat option on SPARC
Dear Eric,
In fact, I haven't tried to make big changes in how mflat option was
implemented. From my point of view, the goal was to facilitate mflat
option reintroduction first, and then improve it after. I hope you
understand. I know there's some place to improve, maybe you have start
to do it ?
So why mflat is like that we should ask the questions to 'wilson' who
did it in 92 (see revision 1275) !
Regards,
Laurent.
Le 18/05/2011 12:31, Eric Botcazou a écrit :
>> 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.