Re: [Qemu-devel] [PATCH] Clean up definition of MAX_OPC_PARAM

2010-05-01 Thread Blue Swirl
Thanks, applied. On 4/28/10, Stuart Brady wrote: > MAX_OPC_PARAM is intended to refer to the maximum number of entries used > in gen_opparam_buf[] for any single helper call. It is currently defined > as 10, but for 32-bit archs, the correct value (with a maximum for four > helper arguments)

[Qemu-devel] [PATCH] Clean up definition of MAX_OPC_PARAM

2010-04-27 Thread Stuart Brady
MAX_OPC_PARAM is intended to refer to the maximum number of entries used in gen_opparam_buf[] for any single helper call. It is currently defined as 10, but for 32-bit archs, the correct value (with a maximum for four helper arguments) is 14, and for 64-bit archs, only 9 entries are needed. tcg_g