call log, not print
authorJacob Lifshay <programmerjake@gmail.com>
Mon, 16 Oct 2023 23:08:44 +0000 (16:08 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Thu, 30 Nov 2023 07:55:28 +0000 (23:55 -0800)
src/openpower/decoder/isa/caller.py

index 35d4db60ccaa5fdd52e1309abc47f173004a3fd7..d3d4a6d7554ef02d0aa470ff3ab57d9cb00455fc 100644 (file)
@@ -245,7 +245,7 @@ class GPR(dict):
                 for j in range(8):
                     s.append("%08x" % res[i+j])
                 s = ' '.join(s)
-                print("reg", "%2d" % i, s)
+                log("reg", "%2d" % i, s, kind=LogType.InstrInOuts)
         return res