removing use of format. please do not use format
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 5 Sep 2022 11:14:28 +0000 (12:14 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 5 Sep 2022 11:14:28 +0000 (12:14 +0100)
src/openpower/decoder/isa/caller.py

index 7eb265e430e22eace277718ecd45076fd77441a1..7bb7bf4e13431385ddc4807bbf934ce943f283f0 100644 (file)
@@ -1479,12 +1479,10 @@ class ISACaller(ISACallerHelper, ISAFPHelpers):
             log('reading reg %s %s' % (name, str(regnum)), is_vec)
             if name in fregs:
                 reg_val = SelectableInt(self.fpr(regnum))
-                log(f"read reg f{regnum}: 0x{reg_val.value:X}",
-                    kind=LogKind.InstrInOuts)
+                log("read reg %d: 0x%x" % (regnum, reg_val.value))
             elif name is not None:
                 reg_val = SelectableInt(self.gpr(regnum))
-                log(f"read reg r{regnum}: 0x{reg_val.value:X}",
-                    kind=LogKind.InstrInOuts)
+                log("read reg %d: 0x%x" % (regnum, reg_val.value))
         else:
             log('zero input reg %s %s' % (name, str(regnum)), is_vec)
             reg_val = 0