1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-03-08 03:29:30 +00:00
Files
antonblanchard.microwatt/tests/test_fpu.bin
Paul Mackerras b8f7cbd894 FPU: Record bits shifted out of addend in fmadd-family instructions
If the addend is smaller than the product and thus needs to be shifted
right, record if any bits are lost from the right end in r.x, so that
the result gets rounded correctly.

Also add a test that checks one such case.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2025-12-15 08:45:23 +11:00

33 KiB
Executable File