Re: [PATCH 15/33] target/mips: Convert MSA load/store instruction format to decodetree

2021-10-24 Thread Philippe Mathieu-Daudé
On 10/24/21 06:53, Richard Henderson wrote: > On 10/23/21 2:47 PM, Philippe Mathieu-Daudé wrote: >> +#define TRANS_DF_E(NAME, trans_func, gen_func) \ >> +    TRANS_CHECK(NAME, check_msa_access(ctx), trans_func, \ >> +    gen_func##_b, gen_func##_h, gen_func##_w, >> gen_func##_d)

Re: [PATCH 15/33] target/mips: Convert MSA load/store instruction format to decodetree

2021-10-23 Thread Richard Henderson
On 10/23/21 2:47 PM, Philippe Mathieu-Daudé wrote: +#define TRANS_DF_E(NAME, trans_func, gen_func) \ +TRANS_CHECK(NAME, check_msa_access(ctx), trans_func, \ +gen_func##_b, gen_func##_h, gen_func##_w, gen_func##_d) I think this would be better as a table. #define TRA

[PATCH 15/33] target/mips: Convert MSA load/store instruction format to decodetree

2021-10-23 Thread Philippe Mathieu-Daudé
Convert load/store instructions to decodetree. Signed-off-by: Philippe Mathieu-Daudé --- target/mips/tcg/msa.decode | 4 ++ target/mips/tcg/msa_translate.c | 99 + 2 files changed, 44 insertions(+), 59 deletions(-) diff --git a/target/mips/tcg/msa.decode b/