Re: [Qemu-devel] [PATCH 7/7] tcg: Allow 6 arguments to TCG helpers

2017-12-18 Thread Philippe Mathieu-Daudé
On 12/18/2017 04:20 PM, Richard Henderson wrote: > On 12/15/2017 10:06 AM, Philippe Mathieu-Daudé wrote: >>> @@ -305,14 +305,16 @@ static const int tcg_target_call_iarg_regs[] = { >>> TCG_REG_R4, >>> #endif >>> TCG_REG_R5, >>> +TCG_REG_R6, >>> #if TCG_TARGET_REG_BITS == 32 >>>

Re: [Qemu-devel] [PATCH 7/7] tcg: Allow 6 arguments to TCG helpers

2017-12-18 Thread Richard Henderson
On 12/15/2017 10:06 AM, Philippe Mathieu-Daudé wrote: >> @@ -305,14 +305,16 @@ static const int tcg_target_call_iarg_regs[] = { >> TCG_REG_R4, >> #endif >> TCG_REG_R5, >> +TCG_REG_R6, >> #if TCG_TARGET_REG_BITS == 32 >> /* 32 bit hosts need 2 * MAX_OPC_PARAM_IARGS registers. */

Re: [Qemu-devel] [PATCH 7/7] tcg: Allow 6 arguments to TCG helpers

2017-12-15 Thread Philippe Mathieu-Daudé
Hi Richard, On 12/15/2017 02:07 PM, Richard Henderson wrote: > We already handle this in the backends, and the lifetime datum > for the TCGOp is already large enough. > > Signed-off-by: Richard Henderson > --- > include/exec/helper-gen.h | 11 +++ > include/exec/helper-head.h | 2 ++

[Qemu-devel] [PATCH 7/7] tcg: Allow 6 arguments to TCG helpers

2017-12-15 Thread Richard Henderson
We already handle this in the backends, and the lifetime datum for the TCGOp is already large enough. Signed-off-by: Richard Henderson --- include/exec/helper-gen.h | 11 +++ include/exec/helper-head.h | 2 ++ include/exec/helper-proto.h | 5 + include/exec/helper-tcg.h | 7 +