Andrew Waterman
7eb73c325e
fix signedness of zero fmul results
We were using the FMA unit to compute rs1 * rs2 + 0.0 for fmul, which incorrectly computes +0.0 when rs1 * rs2 == -0.0. Now we add -0.0 if rs1*rs2 is negative.
Description
Languages
Scala
93.1%
C++
2.1%
Python
2%
Makefile
1.2%
Verilog
0.8%
Other
0.7%