Re: [PATCH 11/33] target/mips: Convert MSA I5 instruction format to decodetree

2021-10-23 Thread Richard Henderson
On 10/23/21 2:47 PM, Philippe Mathieu-Daudé wrote: +static bool trans_msa_i5(DisasContext *ctx, arg_msa_ldst *a, + void (*gen_msa_i5)(TCGv_ptr, TCGv_i32, TCGv_i32, +TCGv_i32, TCGv_i32)) { +TCGv_i32 tdf = tcg_constant_i32(a-

[PATCH 11/33] target/mips: Convert MSA I5 instruction format to decodetree

2021-10-23 Thread Philippe Mathieu-Daudé
Convert instructions with a 5-bit immediate value to decodetree. Since the 'data format' field is a constant value, use tcg_constant_i32() instead of a TCG temporary. Signed-off-by: Philippe Mathieu-Daudé --- target/mips/tcg/msa.decode | 15 + target/mips/tcg/msa_translate.c | 99 +