aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/fcvt_s_lu.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/fcvt_s_lu.h')
-rw-r--r--riscv/insns/fcvt_s_lu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/insns/fcvt_s_lu.h b/riscv/insns/fcvt_s_lu.h
index 70c676e..e4e84cf 100644
--- a/riscv/insns/fcvt_s_lu.h
+++ b/riscv/insns/fcvt_s_lu.h
@@ -1,6 +1,6 @@
-require_extension('F');
+require_either_extension('F', EXT_ZFINX);
require_rv64;
require_fp;
softfloat_roundingMode = RM;
-WRITE_FRD(ui64_to_f32(RS1));
+WRITE_FRD_F(ui64_to_f32(RS1));
set_fp_exceptions;