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

2013-04-24 Thread Aurelien Jarno
On Tue, Apr 23, 2013 at 01:46:33PM -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 v6 01/20] tcg-arm: Fix local stack frame

2013-04-23 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