Re: [commit, spu] Improve address generation for large stack frames

2011-08-19 Thread Ulrich Weigand
Richard Henderson wrote: > On 08/16/2011 11:35 AM, Ulrich Weigand wrote: > > + /* Reload the displacement. */ > > + push_reload (XEXP (ad, 1), NULL_RTX, &XEXP (ad, 1), NULL, > > + BASE_REG_CLASS, GET_MODE (ad), VOIDmode, 0, 0, > > + opnum, (enum reload_type) t

Re: [commit, spu] Improve address generation for large stack frames

2011-08-18 Thread Richard Henderson
On 08/16/2011 11:35 AM, Ulrich Weigand wrote: > + /* Reload the displacement. */ > + push_reload (XEXP (ad, 1), NULL_RTX, &XEXP (ad, 1), NULL, > +BASE_REG_CLASS, GET_MODE (ad), VOIDmode, 0, 0, > +opnum, (enum reload_type) type); Are you sure you want to

[commit, spu] Improve address generation for large stack frames

2011-08-16 Thread Ulrich Weigand
Hello, since switching the frame growth direction on SPU to downward, the displacements on stack addresses using an eliminable base registers (e.g. frame_pointer_rtx) grow into the opposite direction from the displacements that will be used in the final addresses which use the real stack pointer r