This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 <froydnj@codesourcery.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.

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]