target/loongarch: Implement vaddi/vsubi
authorSong Gao <gaosong@loongson.cn>
Thu, 4 May 2023 12:27:31 +0000 (20:27 +0800)
committerSong Gao <gaosong@loongson.cn>
Sat, 6 May 2023 03:19:45 +0000 (11:19 +0800)
commitd8be64c1c501f4e504d00a79ed472d66acd6ce81
treeae53ed1b4bbaa509c3af620665be9f429ac5e6a2
parent57b4f1ac18871f2f3323bf6fc88e9ae2a1a5d4ec
target/loongarch: Implement vaddi/vsubi

This patch includes:
- VADDI.{B/H/W/D}U;
- VSUBI.{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-6-gaosong@loongson.cn>
target/loongarch/disas.c
target/loongarch/insn_trans/trans_lsx.c.inc
target/loongarch/insns.decode