Re: [PATCH 3/3] target/mips: implement Octeon-specific arithmetic instructions

2022-06-07 Thread Richard Henderson
On 6/7/22 01:59, Pavel Dovgalyuk wrote: +static bool trans_EXTS(DisasContext *ctx, arg_EXTS *a) +{ +TCGv t0, t1; +int p; +TCGLabel *l1; + +if (a->rt == 0) { +/* nop */ +return true; +} + +p = a->p; +if (a->shift) { +p += 32; +} + +t0 =

[PATCH 3/3] target/mips: implement Octeon-specific arithmetic instructions

2022-06-07 Thread Pavel Dovgalyuk
This patch implements several Octeon-specific instructions: - BADDU - DMUL - EXTS/EXTS32 - CINS/CINS32 - POP/DPOP - SEQ/SEQI - SNE/SNEI Signed-off-by: Pavel Dovgalyuk --- target/mips/helper.h|1 target/mips/tcg/meson.build |1 target/mips/tcg/octeon.decode