Re: [RFC PATCH 14/43] target/loongarch: Implement vmax/vmin

2022-12-24 Thread Richard Henderson
On 12/24/22 00:16, Song Gao wrote: +INSN_LSX(vmax_b, vvv) +INSN_LSX(vmax_h, vvv) +INSN_LSX(vmax_w, vvv) +INSN_LSX(vmax_d, vvv) +INSN_LSX(vmin_b, vvv) +INSN_LSX(vmin_h, vvv) +INSN_LSX(vmin_w, vvv) +INSN_LSX(vmin_d, vvv

[RFC PATCH 14/43] target/loongarch: Implement vmax/vmin

2022-12-24 Thread Song Gao
This patch includes: - VMAX[I].{B/H/W/D}[U]; - VMIN[I].{B/H/W/D}[U]. Signed-off-by: Song Gao --- target/loongarch/disas.c| 33 +++ target/loongarch/helper.h | 34 +++ target/loongarch/insn_trans/trans_lsx.c.inc | 33 +++ target/loongarch/insns.decode