diff options
Diffstat (limited to 'riscv/insns/fmax_d.h')
-rw-r--r-- | riscv/insns/fmax_d.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/riscv/insns/fmax_d.h b/riscv/insns/fmax_d.h new file mode 100644 index 0000000..cbbb343 --- /dev/null +++ b/riscv/insns/fmax_d.h @@ -0,0 +1,4 @@ +require_fp; +FRD = isNaNF64UI(FRS2) || f64_le_quiet(FRS2,FRS1) /* && FRS1 not NaN */ + ? FRS1 : FRS2; +set_fp_exceptions; |