From d18642d75aa9b7c005c200da663d275db7dd40ee Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 28 Feb 2021 12:19:52 +0000 Subject: [PATCH] add svp64_instrs to power_svp64 --- src/soc/decoder/power_svp64.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/soc/decoder/power_svp64.py b/src/soc/decoder/power_svp64.py index 5ef9c0c4..43794ed7 100644 --- a/src/soc/decoder/power_svp64.py +++ b/src/soc/decoder/power_svp64.py @@ -63,6 +63,7 @@ def decode_extra(rm, prefix=''): class SVP64RM: def __init__(self): self.instrs = {} + self.svp64_instrs = {} pth = find_wiki_dir() for fname in os.listdir(pth): if fname.startswith("RM") or fname.startswith("LDSTRM"): @@ -140,6 +141,7 @@ class SVP64RM: entry['SV_Ptype'] = 'P1' if entry['SV_Ptype'] == '2P': entry['SV_Ptype'] = 'P2' + self.svp64_instrs[asmcode] = entry return v30b -- 2.30.2