From 284716d4bdb263b8421a2235273736a8e51cf114 Mon Sep 17 00:00:00 2001 From: Chih-Min Chao Date: Thu, 9 Apr 2020 20:36:00 -0700 Subject: zfh: implement all instructions Signed-off-by: Chih-Min Chao --- riscv/insns/fcvt_h_lu.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 riscv/insns/fcvt_h_lu.h (limited to 'riscv/insns/fcvt_h_lu.h') diff --git a/riscv/insns/fcvt_h_lu.h b/riscv/insns/fcvt_h_lu.h new file mode 100644 index 0000000..a872c48 --- /dev/null +++ b/riscv/insns/fcvt_h_lu.h @@ -0,0 +1,6 @@ +require_extension(EXT_ZFH); +require_rv64; +require_fp; +softfloat_roundingMode = RM; +WRITE_FRD(ui64_to_f16(RS1)); +set_fp_exceptions; -- cgit v1.1