On 10/15/21 12:03 AM, frank.ch...@sifive.com wrote:
From: Frank Chang<frank.ch...@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.ch...@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.hender...@linaro.org>

r~

Reply via email to