leeetle bit excessive on the log of SPRs...
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 24 Jun 2023 10:03:19 +0000 (11:03 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 24 Jun 2023 10:03:41 +0000 (11:03 +0100)
src/openpower/decoder/isa/caller.py

index 3f3e62e19812307e7fc3fa4422e37577fae83ef6..363fe8b20a7bb66f70e4136dd0850579e58f14fa 100644 (file)
@@ -256,8 +256,8 @@ class SPR(dict):
             self[key] = v
 
     def __getitem__(self, key):
-        log("get spr", key)
-        log("dict", self.items())
+        #log("get spr", key)
+        #log("dict", self.items())
         # if key in special_sprs get the special spr, otherwise return key
         if isinstance(key, SelectableInt):
             key = key.value
@@ -277,7 +277,7 @@ class SPR(dict):
                 info = spr_byname[key]
             self[key] = SelectableInt(0, info.length)
             res = dict.__getitem__(self, key)
-        log("spr returning", key, res)
+        #log("spr returning", key, res)
         return res
 
     def __setitem__(self, key, value):