[Libre-soc-bugs] [Bug 323] create POWER9 MUL pipeline

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri Jul 10 22:32:26 BST 2020


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

--- Comment #6 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
hmm to match the exact behaviour of IBM's POWER9 core it is necessary to modify
the pseudocode of divhwu and divhw to return the 32 bits of the product mapped
*twice*.

this is exactly what microwatt does.

the second modification needed is going to be in creating a variable named
overflow in the pseudocode and returning it.

the microwatt test is quite neat: hi bits are both all non zero and not all 1s.

this can be easily expressed in the pseudocode.

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


More information about the libre-soc-bugs mailing list