Re: [PATCH 27/33] target/mips: Convert MSA COPY_U opcode to decodetree

2021-10-27 Thread Philippe Mathieu-Daudé
On 10/24/21 23:01, Richard Henderson wrote: > On 10/23/21 2:47 PM, Philippe Mathieu-Daudé wrote: >> +#define TRANS_DF_W64(NAME, trans_func, gen_func) \ >> +    TRANS_CHECK(NAME, check_msa_access(ctx), trans_func, \ >> +    DF_HALF, DF_WORD, \ >> +    gen_func##_b

Re: [PATCH 27/33] target/mips: Convert MSA COPY_U opcode to decodetree

2021-10-24 Thread Richard Henderson
On 10/23/21 2:47 PM, Philippe Mathieu-Daudé wrote: +#define TRANS_DF_W64(NAME, trans_func, gen_func) \ +TRANS_CHECK(NAME, check_msa_access(ctx), trans_func, \ +DF_HALF, DF_WORD, \ +gen_func##_b, gen_func##_h, gen_func##_w, NULL) Again with the tab

[PATCH 27/33] target/mips: Convert MSA COPY_U opcode to decodetree

2021-10-23 Thread Philippe Mathieu-Daudé
Convert the COPY_U opcode (Element Copy to GPR Unsigned) to decodetree. Since the 'n' 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 | 1 + target/mips/tcg/msa_translate.c | 90