[Libre-soc-bugs] [Bug 1173] provide an option to switch ISACaller to use a different Mem class that uses mmap.mmap instead of a dict

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Oct 24 18:39:53 BST 2023


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

--- Comment #9 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=src/openpower/decoder/isa/test_caller_alu.py;hb=HEAD

  16 class TestALU(TestRunnerBase):
  17     def __init__(self, test):
  18         assert test == 'test'
  19         super().__init__(ALUTestCase().test_data)
  20 
  21     def test(self):
  22         # dummy function to make unittest try to test this class
  23         pass


  16 class TestALU(TestRunnerBase):
  17     def __init__(self, test):
  18         assert test == 'test'
  19         super().__init__(ALUTestCase(use_mmap=True).test_data)
  20 
  21     def test(self):
  22         # dummy function to make unittest try to test this class
  23         pass

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


More information about the libre-soc-bugs mailing list