projects
/
riscv-isa-sim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upgrade to latest SoftFloat
[riscv-isa-sim.git]
/
riscv
/
insns
/
fcvt_w_d.h
diff --git
a/riscv/insns/fcvt_w_d.h
b/riscv/insns/fcvt_w_d.h
index bac8a9b344aaa53be28aa365dd741045be7f7076..28eb2456d9843d109902a4b4e3e5896b4a394782 100644
(file)
--- a/
riscv/insns/fcvt_w_d.h
+++ b/
riscv/insns/fcvt_w_d.h
@@
-1,5
+1,5
@@
require_extension('D');
require_fp;
softfloat_roundingMode = RM;
-WRITE_RD(sext32(f64_to_i32(
FRS1
, RM, true)));
+WRITE_RD(sext32(f64_to_i32(
f64(FRS1)
, RM, true)));
set_fp_exceptions;