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

This includes:
- FMOV.{S/D}
- FSEL
- MOVGR2FR.{W/D}, MOVGR2FRH.W
- MOVFR2GR.{S/D}, MOVFRH2GR.S
- MOVGR2FCSR, MOVFCSR2GR
- MOVFR2CF, MOVCF2FR
- MOVGR2CF, MOVCF2GR

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-14-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_fmov.c.inc [new file with mode: 0644]
target/loongarch/insns.decode
target/loongarch/translate.c