[Qemu-devel] Re: [PATCH] tcp/mips: Change TCG_AREG0 (fp - s0)

2010-04-09 Thread Aurelien Jarno
On Fri, Apr 09, 2010 at 05:28:40PM +0200, Stefan Weil wrote: Register fp (frame pointer) is a bad choice for compilations without optimisation, because the compiler makes heavy use of this register (so the resulting code crashes). Register s0 had been used for TCG_AREG1 in earlier releases,

[Qemu-devel] Re: [PATCH] tcp/mips: Change TCG_AREG0 (fp - s0)

2010-04-08 Thread Aurelien Jarno
On Thu, Apr 08, 2010 at 03:38:52PM +0200, Stefan Weil wrote: Register fp is a bad choice for compilations without optimisation, because the compiler makes heavy use of this register (so the resulting code crashes). I don't fully understand why the compiler makes use of this register in code