On 9/2/21 2:40 PM, Song Gao wrote:
This patch implement 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<gaos...@loongson.cn>
Signed-off-by: XiaoJuan Yang<yangxiaoj...@loongson.cn>
---
  target/loongarch/fpu_helper.c            | 393 +++++++++++++++++++++++++++++++
  target/loongarch/helper.h                |  29 +++
  target/loongarch/insn_trans/trans_fcnv.c |  36 +++
  target/loongarch/insns.decode            |  32 +++
  target/loongarch/translate.c             |   1 +
  5 files changed, 491 insertions(+)
  create mode 100644 target/loongarch/insn_trans/trans_fcnv.c

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to