target/loongarch: Implement xavg/xvagr
commitee7250d09171b3140e57671e79cd22770fed5106
authorSong Gao <gaosong@loongson.cn>
Thu, 14 Sep 2023 02:26:09 +0000 (14 10:26 +0800)
committerSong Gao <gaosong@loongson.cn>
Wed, 20 Sep 2023 03:43:12 +0000 (20 11:43 +0800)
tree43bfca1a8dcbcf55ef5212dec0f93c63d96895fc
parent85995f076aa89a43ddb80fc0f35793b4b6c06659
target/loongarch: Implement xavg/xvagr

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

Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-22-gaosong@loongson.cn>
target/loongarch/disas.c
target/loongarch/insn_trans/trans_vec.c.inc
target/loongarch/insns.decode
target/loongarch/vec_helper.c