target/loongarch: Implement vmadd/vmsub/vmaddw{ev/od}
commitd3aec65bc14594331c062d98f38448186b0ae693
authorSong Gao <gaosong@loongson.cn>
Thu, 4 May 2023 12:27:41 +0000 (4 20:27 +0800)
committerSong Gao <gaosong@loongson.cn>
Sat, 6 May 2023 03:19:46 +0000 (6 11:19 +0800)
tree74f19c6e85fa570fb396114f8ca5bed8676e3342
parentcd1c49ada087aaceeacea6bf69f14451ff791a8b
target/loongarch: Implement vmadd/vmsub/vmaddw{ev/od}

This patch includes:
- VMADD.{B/H/W/D};
- VMSUB.{B/H/W/D};
- VMADDW{EV/OD}.{H.B/W.H/D.W/Q.D}[U];
- VMADDW{EV/OD}.{H.BU.B/W.HU.H/D.WU.W/Q.DU.D}.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-16-gaosong@loongson.cn>
target/loongarch/disas.c
target/loongarch/helper.h
target/loongarch/insn_trans/trans_lsx.c.inc
target/loongarch/insns.decode
target/loongarch/lsx_helper.c