Richard Henderson writes:
> On 10/26/21 9:27 AM, Alex Bennée wrote:
>> I find this a bit magical. I couldn't find anything about TCGArg except
>> it's type:
>>typedef tcg_target_ulong TCGArg;
>
> For an argument that contains a temp,
>
> static inline TCGArg temp_arg(TCGTemp *ts)
> {
>
On 10/26/21 9:27 AM, Alex Bennée wrote:
I find this a bit magical. I couldn't find anything about TCGArg except
it's type:
typedef tcg_target_ulong TCGArg;
For an argument that contains a temp,
static inline TCGArg temp_arg(TCGTemp *ts)
{
return (uintptr_t)ts;
}
static inline TCGTemp
Richard Henderson writes:
> Most of these are handled by creating a fold_const2_commutative
> to handle all of the binary operators. The rest were already
> handled on a case-by-case basis in the switch, and have their
> own fold function in which to place the call.
>
> We now have only one ma
Most of these are handled by creating a fold_const2_commutative
to handle all of the binary operators. The rest were already
handled on a case-by-case basis in the switch, and have their
own fold function in which to place the call.
We now have only one major switch on TCGOpcode.
Signed-off-by: