Re: [PATCH 13/33] target/mips: Convert MSA SHF opcode to decodetree

2021-10-23 Thread Richard Henderson
On 10/23/21 2:47 PM, Philippe Mathieu-Daudé wrote: +twd = tcg_const_i32(a->wd); +tws = tcg_const_i32(a->ws); +timm = tcg_const_i32(a->sa); tcg_constant_i32. Otherwise, Reviewed-by: Richard Henderson r~

[PATCH 13/33] target/mips: Convert MSA SHF opcode to decodetree

2021-10-23 Thread Philippe Mathieu-Daudé
Convert the SHF opcode (Immediate Set Shuffle Elements) 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 | 3 +++ target/mips/tcg/msa_translate.c | 47 +