[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


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

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

https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=d4daf3685be056a6b45ce5365e0a8c076d009a04
https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=5db40783a86f3df57bfd409742c1de63718c2e03

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
extras
        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


blegh!

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