aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/fcvt_h_d.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/fcvt_h_d.h')
-rw-r--r--riscv/insns/fcvt_h_d.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/riscv/insns/fcvt_h_d.h b/riscv/insns/fcvt_h_d.h
index e9987b7..e06b1a5 100644
--- a/riscv/insns/fcvt_h_d.h
+++ b/riscv/insns/fcvt_h_d.h
@@ -1,6 +1,6 @@
-require_extension(EXT_ZFHMIN);
-require_extension('D');
+require_either_extension(EXT_ZFHMIN, EXT_ZHINXMIN);
+require_either_extension('D', EXT_ZDINX);
require_fp;
softfloat_roundingMode = RM;
-WRITE_FRD(f64_to_f16(f64(FRS1)));
+WRITE_FRD_H(f64_to_f16(FRS1_D));
set_fp_exceptions;