qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH-for-6.2 v2 3/5] target/mips: Convert Vr54xx MACC* opcodes to


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH-for-6.2 v2 3/5] target/mips: Convert Vr54xx MACC* opcodes to decodetree
Date: Sat, 7 Aug 2021 10:20:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

On 8/6/21 11:42 PM, Richard Henderson wrote:
> On 8/6/21 11:05 AM, Philippe Mathieu-Daudé wrote:
>> +/*
>> + * Helpers for implementing sets of trans_* functions.
>> + * Defer the implementation of NAME to FUNC, with optional extra
>> arguments.
>> + */
>> +#define TRANS(NAME, FUNC, ...) \
>> +    static bool trans_##NAME(DisasContext *ctx, arg_##NAME *a) \
>> +    { return FUNC(ctx, a, __VA_ARGS__); }
>> +
> 
> I was thinking this could go in translate.h, for use with the other
> files at some point.

Of course... Thanks!



reply via email to

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