target/loongarch: Add floating point conversion instruction translation
commit7c1f88703d216cc6b2e30689fbc295423ca13d40
authorSong Gao <gaosong@loongson.cn>
Mon, 6 Jun 2022 12:43:02 +0000 (6 20:43 +0800)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 6 Jun 2022 18:09:03 +0000 (6 18:09 +0000)
tree80d03d98ba0a90d677e91d1366e64efb2cc15434
parent9b7410763aedcd99b7f2302c564c8778179ef347
target/loongarch: Add floating point conversion instruction translation

This includes:
- FCVT.S.D, FCVT.D.S
- FFINT.{S/D}.{W/L}, FTINT.{W/L}.{S/D}
- FTINT{RM/RP/RZ/RNE}.{W/L}.{S/D}
- FRINT.{S/D}

Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220606124333.2060567-13-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/loongarch/fpu_helper.c
target/loongarch/helper.h
target/loongarch/insn_trans/trans_fcnv.c.inc [new file with mode: 0644]
target/loongarch/insns.decode
target/loongarch/translate.c