Re: [PATCH v4 06/36] tcg: Introduce tcg_target_call_oarg_reg

2023-01-25 Thread Richard Henderson
On 1/25/23 11:09, Alex Bennée wrote: -static const int tcg_target_call_oarg_regs[2] = { -TCG_REG_R0, TCG_REG_R1 -}; + +static TCGReg tcg_target_call_oarg_reg(TCGCallReturnKind kind, int slot) +{ +tcg_debug_assert(kind == TCG_CALL_RET_NORMAL); +tcg_debug_assert(slot >= 0 && slot <=

Re: [PATCH v4 06/36] tcg: Introduce tcg_target_call_oarg_reg

2023-01-25 Thread Alex Bennée
Richard Henderson writes: > Replace the flat array tcg_target_call_oarg_regs[] with > a function call including the TCGCallReturnKind. > > Reviewed-by: Daniel Henrique Barboza > Signed-off-by: Richard Henderson > --- > tcg/tcg.c| 9 ++--- >

[PATCH v4 06/36] tcg: Introduce tcg_target_call_oarg_reg

2023-01-07 Thread Richard Henderson
Replace the flat array tcg_target_call_oarg_regs[] with a function call including the TCGCallReturnKind. Reviewed-by: Daniel Henrique Barboza Signed-off-by: Richard Henderson --- tcg/tcg.c| 9 ++--- tcg/aarch64/tcg-target.c.inc | 10 +++---