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: Laurent Rougé <laurent dot rouge at menta dot fr>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 14 Apr 2011 20:31:53 +0200
- Subject: Re: Reintroduce -mflat option on SPARC
- References: <4D64F83B.5060704@menta.fr> <201104121938.44734.ebotcazou@adacore.com>
>> 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 epilogue doesn't work: DELAY_SLOTS_FOR_EPILOGUE isn't
> defined anymore so defining ELIGIBLE_FOR_EPILOGUE_DELAY is useless.
>
> I'm going to fix these minor issues, as well as try to refactor the code a bit.
Please, it will be interesting to see corrections.
> One question: I presume there is no point in supporting -mflat in 64-bit mode
> for the time being?
Right, -mflat option should only be for 32-bit SPARC target.
Regards,
Laurent.