This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH,rs6000] fix interrupt safety issue on E500 targets
On Wed, Oct 03, 2007 at 08:41:58AM -0700, Andrew Pinski wrote:
> On 10/3/07, Nathan Froyd <email@example.com> wrote:
> > Tested on powerpc-none-linux-gnuspe with no regressions. OK to commit?
> I think this is needed for all sysv based abis and not just SPE.
No, it shouldn't be needed. Plain powerpc-linux will restore regs
using either sp or fp relative memory addressing. gcc shouldn't move
the sp adjust above use of sp, which is why we currently only emit the
stack tie when frame_reg_rtx != sp_reg_rtx. The problem appears to be
specific to spe, which uses yet another register rtx to restore regs.
Australia Development Lab, IBM