aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/fcvt_l_h.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/fcvt_l_h.h')
-rw-r--r--riscv/insns/fcvt_l_h.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/insns/fcvt_l_h.h b/riscv/insns/fcvt_l_h.h
index 5a1fea8..3b63027 100644
--- a/riscv/insns/fcvt_l_h.h
+++ b/riscv/insns/fcvt_l_h.h
@@ -1,6 +1,6 @@
-require_extension(EXT_ZFH);
+require_either_extension(EXT_ZFH, EXT_ZHINX);
require_rv64;
require_fp;
softfloat_roundingMode = RM;
-WRITE_RD(f16_to_i64(f16(FRS1), RM, true));
+WRITE_RD(f16_to_i64(FRS1_H, RM, true));
set_fp_exceptions;