qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v5 04/21] target/loongarch: Add fixed point arithmetic instru


From: Richard Henderson
Subject: Re: [PATCH v5 04/21] target/loongarch: Add fixed point arithmetic instruction translation
Date: Tue, 14 Sep 2021 06:30:47 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 9/14/21 6:00 AM, Song Gao wrote:
This patch implement fixed point arithemtic instruction translation.

This includes:
- ADD.{W/D}, SUB.{W/D}
- ADDI.{W/D}, ADDU16ID
- ALSL.{W[U]/D}
- LU12I.W, LU32I.D LU52I.D
- SLT[U], SLT[U]I
- PCADDI, PCADDU12I, PCADDU18I, PCALAU12I
- AND, OR, NOR, XOR, ANDN, ORN
- MUL.{W/D}, MULH.{W[U]/D[U]}
- MULW.D.W[U]
- DIV.{W[U]/D[U]}, MOD.{W[U]/D[U]}
- ANDI, ORI, XORI

Signed-off-by: Song Gao<gaosong@loongson.cn>
Signed-off-by: XiaoJuan Yang<yangxiaojuan@loongson.cn>
---
  target/loongarch/insn_trans/trans_arith.c | 322 ++++++++++++++++++++++++++++++
  target/loongarch/insns.decode             |  89 +++++++++
  target/loongarch/translate.c              |  78 ++++++++
  target/loongarch/translate.h              |  19 ++
  4 files changed, 508 insertions(+)
  create mode 100644 target/loongarch/insn_trans/trans_arith.c
  create mode 100644 target/loongarch/insns.decode

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

r~



reply via email to

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