remove yet more f"" specifiers
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 5 Sep 2022 11:20:26 +0000 (12:20 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 5 Sep 2022 11:20:26 +0000 (12:20 +0100)
src/openpower/decoder/isa/caller.py

index 7bb7bf4e13431385ddc4807bbf934ce943f283f0..242ff5bbadd616c8b3930c006d856ece65478815 100644 (file)
@@ -1536,17 +1536,13 @@ class ISACaller(ISACallerHelper, ISAFPHelpers):
         if name in ['CA', 'CA32']:
             if carry_en:
                 log("writing %s to XER" % name, output)
-                log(f"write XER field {name}: "
-                    f"0x{output.value % (1 << 64):X}",
-                    kind=LogKind.InstrInOuts)
+                log("write XER %s 0x%x" % (name, output.value))
                 self.spr['XER'][XER_bits[name]] = output.value
             else:
                 log("NOT writing %s to XER" % name, output)
         elif name in info.special_regs:
             log('writing special %s' % name, output, special_sprs)
-            log(f"write reg {name}: "
-                f"0x{output.value % (1 << 64):X}",
-                kind=LogKind.InstrInOuts)
+            log("write reg %s 0x%x" % (name, output.value))
             if name in special_sprs:
                 self.spr[name] = output
             else: