bluespec / Toooba

RISC-V Core; superscalar, out-of-order, multi-core capable; based on RISCY-OOO from MIT
Other
161 stars 36 forks source link

Fix FMIN/FMAX ISA test failures #5

Closed jrtc27 closed 4 years ago

jrtc27 commented 4 years ago

FMIN(sNaN, x), where x is not NaN, should behave like FMIN(qNaN, x) and yield x rather than the canonical NaN. The only difference is that the invalid operation flag should still be set despite not yielding NaN. The same applies to FMAX.