Re: Reintroduce -mflat option on SPARC

2011-06-10 Thread Eric Botcazou
> Yes, I have changed a few things, patch attached. The basic stuff works, > but not yet the fancy features (non-local gotos, setjmp/longjmp and > exceptions). I'm also working on the GDB side. I've now installed the attached version. It adds support for the above fancy features plus sibling ca

Re: Reintroduce -mflat option on SPARC

2011-05-26 Thread Eric Botcazou
> 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 ? Y

Re: Reintroduce -mflat option on SPARC

2011-05-26 Thread Laurent Rougé
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 ?

Re: Reintroduce -mflat option on SPARC

2011-05-18 Thread Eric Botcazou
> 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 fr

Re: Reintroduce -mflat option on SPARC

2011-05-17 Thread Eric Botcazou
> Right, -mflat option should only be for 32-bit SPARC target. OK, let's keep it that way for now. 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 regis

Re: Reintroduce -mflat option on SPARC

2011-04-14 Thread Laurent Rougé
>> This patch reintroduce the -mflat option on SPARC. The -mfalt option was >> deprecated in february 2004 with GCC 3.4.6. Now, with the support of >> LEON processor on GCC, this option has found a new interest. > Just a couple of remarks: > - the epilogue isn't fully RTL-ized, > - delay slot fi

Re: Reintroduce -mflat option on SPARC

2011-04-12 Thread Eric Botcazou
> This patch reintroduce the -mflat option on SPARC. The -mfalt option was > deprecated in february 2004 with GCC 3.4.6. Now, with the support of > LEON processor on GCC, this option has found a new interest. Just a couple of remarks: - the epilogue isn't fully RTL-ized, - delay slot filling for