[Libre-soc-bugs] [Bug 946] insndb: investigate and possibly fix instructions missing in CSVs

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Oct 8 14:32:32 BST 2022


--- Comment #12 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
rats, messed up and corrected


sc and scv have been moved to extra.csv and consequently
have to be prioritised as a first-order search in Database.__getitem__()

        # specific hunt for all "extra.csv" matches. TODO: separate db of
        if isinstance(key, Instruction):
            ki = int(key)
            for k, records in self.__opcodes.items():
                for record in records:
                    if str(record.section.path).endswith("extra.csv"):
                        if record.match(key=ki):
                           return record


it works...

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

More information about the libre-soc-bugs mailing list