aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/fmadd_d.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/fmadd_d.h')
-rw-r--r--riscv/insns/fmadd_d.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/insns/fmadd_d.h b/riscv/insns/fmadd_d.h
index ab22beb..07a8b25 100644
--- a/riscv/insns/fmadd_d.h
+++ b/riscv/insns/fmadd_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(FRS1), f64(FRS2), f64(FRS3)));
+WRITE_FRD_D(f64_mulAdd(FRS1_D, FRS2_D, FRS3_D));
set_fp_exceptions;