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

index 242ff5bbadd616c8b3930c006d856ece65478815..919e8cf0a38d58dd404334bad82cc9710b3078f5 100644 (file)
@@ -1567,9 +1567,7 @@ class ISACaller(ISACallerHelper, ISAFPHelpers):
                     reg_prefix = 'f'
                 else:
                     reg_prefix = 'r'
-                log(f"write reg {reg_prefix}{regnum}: "
-                    f"0x{output.value % (1 << 64):X}",
-                    kind=LogKind.InstrInOuts)
+                log("write reg %s%d %0xx" % (reg_prefix, regnum, output.value))
             if output.bits > 64:
                 output = SelectableInt(output.value, 64)
             if name in fregs: