aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/fcvt_h_s.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/fcvt_h_s.h')
-rw-r--r--riscv/insns/fcvt_h_s.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/insns/fcvt_h_s.h b/riscv/insns/fcvt_h_s.h
index ce39d81..57ba005 100644
--- a/riscv/insns/fcvt_h_s.h
+++ b/riscv/insns/fcvt_h_s.h
@@ -1,5 +1,5 @@
-require_extension(EXT_ZFHMIN);
+require_either_extension(EXT_ZFHMIN, EXT_ZHINXMIN);
require_fp;
softfloat_roundingMode = RM;
-WRITE_FRD(f32_to_f16(f32(FRS1)));
+WRITE_FRD_H(f32_to_f16(FRS1_F));
set_fp_exceptions;