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_lu_h.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 riscv/insns/fcvt_lu_h.h (limited to 'riscv/insns/fcvt_lu_h.h') diff --git a/riscv/insns/fcvt_lu_h.h b/riscv/insns/fcvt_lu_h.h new file mode 100644 index 0000000..f1454c3 --- /dev/null +++ b/riscv/insns/fcvt_lu_h.h @@ -0,0 +1,6 @@ +require_extension(EXT_ZFH); +require_rv64; +require_fp; +softfloat_roundingMode = RM; +WRITE_RD(f16_to_ui64(f16(FRS1), RM, true)); +set_fp_exceptions; -- cgit v1.1