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
>>> /* 32 bit hosts need 2 * MAX_OPC_PARAM_IARGS registers. */
>>> - TCG_REG_R6,
>>> TCG_REG_R7,
>>
>> I think now TCG_REG_R8 belongs here...
>>
>>> #if TCG_TARGET_NB_REGS >= 16
>>> TCG_REG_R8,
>>
>> ^ not here.
>
> Why? Unless TCG_TARGET_NB_REGS >= 16, TCG_REG_R8 doesn't exist.
Oh I see, my bad :)