mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-11-20 01:25:05 +00:00
The re-factoring of div_floats changed the order of checking meaning an operation like -inf/0 erroneously raises the divbyzero flag. IEEE-754 (2008) specifies this should only occur for operations on finite operands. We fix this by moving the check on the dividend being Inf/0 to before the divisor is zero check. Backports commit 9cb4e398c2f95c1e837fe9c570e124a55259f725 from qemu |
||
|---|---|---|
| .. | ||
| softfloat-macros.h | ||
| softfloat-specialize.h | ||
| softfloat.c | ||