[Libre-soc-bugs] [Bug 648] New: TestIssue failures in BranchTestCase()

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue May 18 12:29:45 BST 2021


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

            Bug ID: 648
           Summary: TestIssue failures in BranchTestCase()
           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: cestrauss at gmail.com
                CC: libre-soc-bugs at lists.libre-soc.org
   NLnet milestone: ---

The BranchTestCase() test suite in TestIssuer began failing after this commit:

commit a1698c4d20d224c32daab1e5f41dab53add1d262
Author: Luke Kenneth Casson Leighton <lkcl at lkcl.net>
Date:   Mon May 17 16:33:31 2021 +0100

    update reg sort order in ISACaller

 src/openpower/decoder/isa/caller.py | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

I did run:

$ make pyfnwriter
$ make pywriter

The commit before it runs OK.

The GeneralTestCase() also fails, on the test_loop case.

======================================================================
FAIL: run_all (soc.simple.test.test_runner.TestRunner) [test_loop]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/cstrauss/src/soc/src/soc/simple/test/test_runner.py", line 299,
in process
    yield from check_regs(self, sim, core, test, code)
  File "/home/cstrauss/src/soc/src/soc/simple/test/test_core.py", line 175, in
check_regs
    "cr reg %d not equal %s" % (i, repr(code)))
AssertionError: 0 != 4 : cr reg 5 not equal 'bc 4,10,-8'

There seems to be some issue with branches.

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


More information about the libre-soc-bugs mailing list