target/loongarch: Implement vhaddw/vhsubw
commitc037fbc97d166195313f778e5a32cd82efbd4c59
authorSong Gao <gaosong@loongson.cn>
Thu, 4 May 2023 12:27:34 +0000 (4 20:27 +0800)
committerSong Gao <gaosong@loongson.cn>
Sat, 6 May 2023 03:19:45 +0000 (6 11:19 +0800)
treeb577fbf8a4c658c3dcb6b120b0b1e420681daa72
parenta94cb91107160170ea3dfe09421e7e198dd2bcbe
target/loongarch: Implement vhaddw/vhsubw

This patch includes:
- VHADDW.{H.B/W.H/D.W/Q.D/HU.BU/WU.HU/DU.WU/QU.DU};
- VHSUBW.{H.B/W.H/D.W/Q.D/HU.BU/WU.HU/DU.WU/QU.DU}.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230504122810.4094787-9-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