target/loongarch: Implement LSX fpu fcvt instructions
commit399665d2af66cf1b448f19c1712d40455d558b54
authorSong Gao <gaosong@loongson.cn>
Thu, 4 May 2023 12:28:00 +0000 (4 20:28 +0800)
committerSong Gao <gaosong@loongson.cn>
Sat, 6 May 2023 03:19:48 +0000 (6 11:19 +0800)
tree75cadae2c2c64ec84a852c29f28554fd048731db
parentaca67472d2bc236a4b4b85780925cd064a9dc16f
target/loongarch: Implement LSX fpu fcvt instructions

This patch includes:
- VFCVT{L/H}.{S.H/D.S};
- VFCVT.{H.S/S.D};
- VFRINT[{RNE/RZ/RP/RM}].{S/D};
- VFTINT[{RNE/RZ/RP/RM}].{W.S/L.D};
- VFTINT[RZ].{WU.S/LU.D};
- VFTINT[{RNE/RZ/RP/RM}].W.D;
- VFTINT[{RNE/RZ/RP/RM}]{L/H}.L.S;
- VFFINT.{S.W/D.L}[U];
- VFFINT.S.L, VFFINT{L/H}.D.W.

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