target/loongarch: Implement vadd/vsub
commit57b4f1ac18871f2f3323bf6fc88e9ae2a1a5d4ec
authorSong Gao <gaosong@loongson.cn>
Thu, 4 May 2023 12:27:30 +0000 (4 20:27 +0800)
committerSong Gao <gaosong@loongson.cn>
Sat, 6 May 2023 03:19:45 +0000 (6 11:19 +0800)
treecfcc68f3e3eba632164e63aeeb30f9fee6dc9a2e
parenta3f3db5cda7bf6edf0fc0c94c3aa450eb79a2185
target/loongarch: Implement vadd/vsub

This patch includes:
- VADD.{B/H/W/D/Q};
- VSUB.{B/H/W/D/Q}.

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