qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH 7/7] tcg: Allow 6 arguments to TCG helpers
Date: Mon, 18 Dec 2017 11:20:25 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

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.

I'd say this over-configuration of TCI ought to be cleaned up,
but I'd rather remove it entirely.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]