qemu-riscv
[Top][All Lists]
Advanced

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

Re: [PATCH v2 6/6] target/riscv: zfh: implement zfhmin extension


From: Richard Henderson
Subject: Re: [PATCH v2 6/6] target/riscv: zfh: implement zfhmin extension
Date: Fri, 15 Oct 2021 14:14:07 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 10/15/21 12:03 AM, frank.chang@sifive.com wrote:
From: Frank Chang<frank.chang@sifive.com>

Zfhmin extension is a subset of Zfh extension, consisting only of data
transfer and conversion instructions.

If enabled, only the following instructions from Zfh extension are
included:
   * flh, fsh, fmv.x.h, fmv.h.x, fcvt.s.h, fcvt.h.s
   * If D extension is present: fcvt.d.h, fcvt.h.d

Signed-off-by: Frank Chang<frank.chang@sifive.com>
---
  target/riscv/cpu.c                        |  1 +
  target/riscv/cpu.h                        |  1 +
  target/riscv/insn_trans/trans_rvzfh.c.inc | 21 +++++++++++++--------
  target/riscv/translate.c                  |  2 ++
  4 files changed, 17 insertions(+), 8 deletions(-)

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

r~



reply via email to

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