[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!
- [PATCH-for-6.2 v2 0/5] target/mips: Convert NEC Vr54xx to decodetree, Philippe Mathieu-Daudé, 2021/08/06
- [PATCH-for-6.2 v2 1/5] target/mips: Extract NEC Vr54xx helpers to vr54xx_helper.c, Philippe Mathieu-Daudé, 2021/08/06
- [PATCH-for-6.2 v2 2/5] target/mips: Introduce decodetree structure for NEC Vr54xx extension, Philippe Mathieu-Daudé, 2021/08/06
- [PATCH-for-6.2 v2 3/5] target/mips: Convert Vr54xx MACC* opcodes to decodetree, Philippe Mathieu-Daudé, 2021/08/06
- [PATCH-for-6.2 v2 4/5] target/mips: Convert Vr54xx MUL* opcodes to decodetree, Philippe Mathieu-Daudé, 2021/08/06
- [PATCH-for-6.2 v2 5/5] target/mips: Convert Vr54xx MSA* opcodes to decodetree, Philippe Mathieu-Daudé, 2021/08/06