[Libre-soc-isa] [Bug 817] Big Integer Math (sv.adde, sv.subfe, sv.madded, 128 by 64-bit -> 64-bit div/rem, maybe more...)

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Thu Sep 29 19:02:10 BST 2022


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

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

> reading through the code, there are 2 issues:
> * imho the tests should be like test_caller_svp64_fptrans.py and
> fptrans_cases.py where all the cases are in fptrans_cases.py and are just
> run by test_caller_svp64_fptrans.py
>     this allows soc.git to easily use those test cases

i know.  cut/paste.

> * why are you using addeo?! adde is sufficient and more efficient.

didn't work.  checking p75 3.3.9 book I

    addic, addic., subfic, addc, subfc, adde, subfe, addme,
    subfme, addze, and subfze always set CA

checked caller.py looks good... tried sv.adde... works perfectly.  good catch.

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


More information about the Libre-SOC-ISA mailing list