[Libre-soc-bugs] [Bug 432] mulld pseudocode overflow calculation incorrect

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Jul 15 16:37:25 BST 2020


--- Comment #13 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Jacob Lifshay from comment #10)

> qemu is known to not match POWER9, so some tests should fail.

arg yes.

> I added the
> Python  bindings to power-instruction-simulator specifically so we could
> write unit tests against its instruction models, since they are likely to
> catch cases where POWER9 and qemu disagree. So, to use it:
> import power_instruction_analyzer as pia

>     inputs = pia.InstructionInputs(ra=ra, rb=rb, rc=0)
>     # all functions assumes SO flag starts as 0
>     outputs = pia.mulldo_(inputs) # the mulldo. instruction

ooo niice

ok so that makes pia a build/test dependency.

hm ok so a build script for pia is needed, in dev-setup-env at the minimum. 
plus updating the wiki and INSTALL.txt

will raise a new bugreport on this

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

More information about the libre-soc-bugs mailing list