aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/fnmsub_d.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/fnmsub_d.h')
-rw-r--r--riscv/insns/fnmsub_d.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/insns/fnmsub_d.h b/riscv/insns/fnmsub_d.h
index c29a0b9..9352c3f 100644
--- a/riscv/insns/fnmsub_d.h
+++ b/riscv/insns/fnmsub_d.h
@@ -1,5 +1,5 @@
-require_extension('D');
+require_either_extension('D', EXT_ZDINX);
require_fp;
softfloat_roundingMode = RM;
-WRITE_FRD(f64_mulAdd(f64(f64(FRS1).v ^ F64_SIGN), f64(FRS2), f64(FRS3)));
+WRITE_FRD_D(f64_mulAdd(f64(FRS1_D.v ^ F64_SIGN), FRS2_D, FRS3_D));
set_fp_exceptions;