Re: [PATCH 26/33] target/mips: Convert MSA ELM instruction format to decodetree

2021-10-27 Thread Philippe Mathieu-Daudé
On 10/24/21 22:52, Richard Henderson wrote: > On 10/23/21 2:47 PM, Philippe Mathieu-Daudé wrote: >> +static bool trans_msa_elm_df(DisasContext *ctx, arg_msa_elm *a, >> + void (*gen_msa_elm_df)(TCGv_ptr, TCGv_i32, >> +    TC

Re: [PATCH 26/33] target/mips: Convert MSA ELM instruction format to decodetree

2021-10-24 Thread Richard Henderson
On 10/23/21 2:47 PM, Philippe Mathieu-Daudé wrote: +static bool trans_msa_elm_df(DisasContext *ctx, arg_msa_elm *a, + void (*gen_msa_elm_df)(TCGv_ptr, TCGv_i32, +TCGv_i32, TCGv_i32, +

[PATCH 26/33] target/mips: Convert MSA ELM instruction format to decodetree

2021-10-23 Thread Philippe Mathieu-Daudé
Convert instructions with an immediate element index and data format df/n to decodetree. Since the 'data format' and 'n' fields are constant values, use tcg_constant_i32() instead of a TCG temporaries. Signed-off-by: Philippe Mathieu-Daudé --- target/mips/tcg/msa.decode | 6 + target/