Support setting ISA/subsets with --isa flag
[riscv-isa-sim.git] / riscv / insns / fnmadd_d.h
index 1e2ee27a89db1a1a8bea846415e4fa07b341bfc9..bed6172b3419e1cb449826fd94ee2b4c5815a712 100644 (file)
@@ -1,4 +1,5 @@
+require_extension('D');
 require_fp;
 softfloat_roundingMode = RM;
-FRD = f64_mulAdd(FRS1, FRS2, FRS3) ^ (uint64_t)INT64_MIN;
+WRITE_FRD(f64_mulAdd(FRS1 ^ (uint64_t)INT64_MIN, FRS2, FRS3 ^ (uint64_t)INT64_MIN));
 set_fp_exceptions;