mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-11-22 16:34:58 +00:00
Before 8936006 ("fpu/softfloat: re-factor minmax", 2018-02-21),
we used to return +Zero for maxnummag(-Zero,+Zero); after that
commit, we return -Zero.
Fix it by making {min,max}nummag consistent with {min,max}num,
deferring to the latter when the absolute value of the operands
is the same.
With this fix we now pass fp-test.
Backports commit 6245327a367292b354489c54e965646823023919 from qemu
|
||
|---|---|---|
| .. | ||
| softfloat-macros.h | ||
| softfloat-specialize.h | ||
| softfloat.c | ||