[Libre-soc-bugs] [Bug 877] implementation and formal correctness proof for fp fused-mul-add pipeline excluding ieee754 exception flags

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Mon Jul 4 12:34:48 BST 2022


https://bugs.libre-soc.org/show_bug.cgi?id=877

--- Comment #2 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Jacob Lifshay from comment #1)
> fmsub and fnmadd have a bug which I'll debug tomorrow.

i think i found the bug by reading the diff:
i forgot to flip `b`'s sign when `negate_addend` is set in the `0 + x` special
case:
https://git.libre-soc.org/?p=ieee754fpu.git;a=blob;f=src/ieee754/fpfma/special_cases.py;h=826c32a8e80f2a121a585d7c83bb65e436e97d50;hb=449176c8896dd13ae80130a3a0c8fc88026a2499#l247

i'll fix it tomorrow when it's not 4:30am

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list