On 9/14/21 6:00 AM, Song Gao wrote:
This patch implement floationg 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<[email protected]>
Signed-off-by: XiaoJuan Yang<[email protected]>
---
  target/loongarch/fpu_helper.c            |   6 ++
  target/loongarch/helper.h                |   2 +
  target/loongarch/insn_trans/trans_fmov.c | 153 +++++++++++++++++++++++++++++++
  target/loongarch/insns.decode            |  41 +++++++++
  target/loongarch/translate.c             |   1 +
  5 files changed, 203 insertions(+)
  create mode 100644 target/loongarch/insn_trans/trans_fmov.c

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to