[Libre-soc-bugs] [Bug 657] New: unit tests needed for BCD instructions

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Jul 14 12:55:47 BST 2021


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

            Bug ID: 657
           Summary: unit tests needed for BCD instructions
           Product: Libre-SOC's first SoC
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: CONFIRMED
          Severity: enhancement
          Priority: ---
         Component: Source Code
          Assignee: lkcl at lkcl.net
          Reporter: lkcl at lkcl.net
                CC: libre-soc-bugs at lists.libre-soc.org
   NLnet milestone: ---

3 new instruction unit tests are needed, for BCD:

* addg6s
* cdtbcd
* cbcdtd

these are on p109 book I section 3.3.9 v3.0C
https://ftp.libre-soc.org/PowerISA_public.v3.0C.pdf


TODO checklist *in this order* due to dependencies (edit as needed):

* add cdtbcd unit test          - TODO
* add cbcdtd unit test          - TODO
* add addg6s unit test          - TODO

best to be added to decoder/isa/test_caller_bcd.py (new file) to save
iteration time (test_caller.py takes some time to complete).

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


More information about the libre-soc-bugs mailing list