projects
/
riscv-isa-sim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use WRITE_RD/WRITE_FRD macros to write registers
[riscv-isa-sim.git]
/
riscv
/
insns
/
fmadd_d.h
diff --git
a/riscv/insns/fmadd_d.h
b/riscv/insns/fmadd_d.h
index f67853eef3ebdab480a54d453c19f0a8e4df422e..8640e7f46e17fa4b2447c45803c42f49d87560e7 100644
(file)
--- a/
riscv/insns/fmadd_d.h
+++ b/
riscv/insns/fmadd_d.h
@@
-1,4
+1,4
@@
require_fp;
softfloat_roundingMode = RM;
-
FRD = f64_mulAdd(FRS1, FRS2, FRS3
);
+
WRITE_FRD(f64_mulAdd(FRS1, FRS2, FRS3)
);
set_fp_exceptions;