[Libre-soc-bugs] [Bug 436] isa simulator appears to calculate wrong result for test_divwuo_regression_1

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri Jul 24 13:24:47 BST 2020


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

--- Comment #3 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
this is related to that helper function that you wrote (which is great btw).
it turns out that it's a signed (only) floor_div function, and that
calling "standard" (python3) floordiv is appropriate in unsigned cases
(such as divwuo)

i had messed up the parser and called the wrong function since changing
the pseudo-code to actually *explicitly* call DIVS:

http://lists.mailinglist.openpowerfoundation.org/pipermail/openpower-hdl-cores/2020-July/000078.html

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


More information about the libre-soc-bugs mailing list