diff options
author | Andrew Waterman <waterman@eecs.berkeley.edu> | 2012-03-19 23:40:38 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@eecs.berkeley.edu> | 2012-03-19 23:40:38 -0700 |
commit | b282d6e8c016680e101f50e6b88ea3e505484912 (patch) | |
tree | 8f523d83a2f89aeac058b8826dc753f1a7956257 /riscv/insns/fsub_d.h | |
parent | ccd5c7b1b19600519f45f95a669f61180116b609 (diff) | |
download | spike-b282d6e8c016680e101f50e6b88ea3e505484912.zip spike-b282d6e8c016680e101f50e6b88ea3e505484912.tar.gz spike-b282d6e8c016680e101f50e6b88ea3e505484912.tar.bz2 |
make NaN behavior consistent with hardfloat
Diffstat (limited to 'riscv/insns/fsub_d.h')
-rw-r--r-- | riscv/insns/fsub_d.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/fsub_d.h b/riscv/insns/fsub_d.h index e25eebb..fcabe0e 100644 --- a/riscv/insns/fsub_d.h +++ b/riscv/insns/fsub_d.h @@ -1,4 +1,4 @@ require_fp; softfloat_roundingMode = RM; -FRD = f64_sub(FRS1, FRS2); +FRD = f64_mulAdd(FRS1, 0x3ff0000000000000ULL, FRS2 ^ (uint64_t)INT64_MIN); set_fp_exceptions; |