qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v6 10/21] target/loongarch: Add floating point arithmetic ins


From: Richard Henderson
Subject: Re: [PATCH v6 10/21] target/loongarch: Add floating point arithmetic instruction translation
Date: Mon, 20 Sep 2021 11:56:38 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 9/17/21 1:12 AM, Song Gao wrote:
This patch implement floating point arithmetic instruction translation.

This includes:
- F{ADD/SUB/MUL/DIV}.{S/D}
- F{MADD/MSUB/NMADD/NMSUB}.{S/D}
- F{MAX/MIN}.{S/D}
- F{MAXA/MINA}.{S/D}
- F{ABS/NEG}.{S/D}
- F{SQRT/RECIP/RSQRT}.{S/D}
- F{SCALEB/LOGB/COPYSIGN}.{S/D}
- FCLASS.{S/D}

Signed-off-by: Song Gao<gaosong@loongson.cn>
Signed-off-by: XiaoJuan Yang<yangxiaojuan@loongson.cn>
---
  target/loongarch/cpu.c                     |   1 +
  target/loongarch/fpu_helper.c              | 406 +++++++++++++++++++++++++++++
  target/loongarch/helper.h                  |  37 +++
  target/loongarch/insn_trans/trans_farith.c | 108 ++++++++
  target/loongarch/insns.decode              |  56 ++++
  target/loongarch/internals.h               |   2 +
  target/loongarch/translate.c               |  11 +
  7 files changed, 621 insertions(+)
  create mode 100644 target/loongarch/fpu_helper.c
  create mode 100644 target/loongarch/insn_trans/trans_farith.c

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

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]