projects
/
riscv-isa-sim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Support setting ISA/subsets with --isa flag
[riscv-isa-sim.git]
/
riscv
/
insns
/
fmax_d.h
diff --git
a/riscv/insns/fmax_d.h
b/riscv/insns/fmax_d.h
index a26aeabb4c6537d9fcf3990df9febcff9aec29be..eb156de9f0a67e00e5e8ddbe2f08e0773417a013 100644
(file)
--- a/
riscv/insns/fmax_d.h
+++ b/
riscv/insns/fmax_d.h
@@
-1,3
+1,4
@@
+require_extension('D');
require_fp;
WRITE_FRD(isNaNF64UI(FRS2) || f64_le_quiet(FRS2,FRS1) /* && FRS1 not NaN */
? FRS1 : FRS2);