Re: [Qemu-devel] [PATCH v5 01/19] tcg-arm: Fix local stack frame

2013-04-21 Thread Aurelien Jarno
On Sun, Mar 31, 2013 at 03:34:47PM -0700, Richard Henderson wrote: > We were not allocating TCG_STATIC_CALL_ARGS_SIZE, so this meant that > any helper with more than 4 arguments would clobber the saved regs. > Realizing that we're supposed to have this memory pre-allocated means > we can clean up t

[Qemu-devel] [PATCH v5 01/19] tcg-arm: Fix local stack frame

2013-03-31 Thread Richard Henderson
We were not allocating TCG_STATIC_CALL_ARGS_SIZE, so this meant that any helper with more than 4 arguments would clobber the saved regs. Realizing that we're supposed to have this memory pre-allocated means we can clean up the tcg_out_arg functions, which were trying to do more stack allocation. A