target/loongarch: Implement vavg/vavgr
commit39e9b0a741e7d0e5de791c679443466482a96903
authorSong Gao <gaosong@loongson.cn>
Thu, 4 May 2023 12:27:36 +0000 (4 20:27 +0800)
committerSong Gao <gaosong@loongson.cn>
Sat, 6 May 2023 03:19:45 +0000 (6 11:19 +0800)
treed15c71184ecaabbba5431b0f26aa69ef2e1fb349
parent2d5f950c054b7d19bcf88438f9d9ef2b5d6708b3
target/loongarch: Implement vavg/vavgr

This patch includes:
- VAVG.{B/H/W/D}[U];
- VAVGR.{B/H/W/D}[U].

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