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