aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/fcvt_l_d.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/fcvt_l_d.h')
-rw-r--r--riscv/insns/fcvt_l_d.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/insns/fcvt_l_d.h b/riscv/insns/fcvt_l_d.h
index c09e6c4..f2374d2 100644
--- a/riscv/insns/fcvt_l_d.h
+++ b/riscv/insns/fcvt_l_d.h
@@ -1,6 +1,6 @@
-require_extension('D');
+require_either_extension('D', EXT_ZDINX);
require_rv64;
require_fp;
softfloat_roundingMode = RM;
-WRITE_RD(f64_to_i64(f64(FRS1), RM, true));
+WRITE_RD(f64_to_i64(FRS1_D, RM, true));
set_fp_exceptions;