From: Luke Kenneth Casson Leighton Date: Mon, 5 Sep 2022 11:25:26 +0000 (+0100) Subject: please do not use format-specifiers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e128827788964f42075529f42c0109ae5b9c7be7;p=openpower-isa.git please do not use format-specifiers --- diff --git a/src/openpower/decoder/isa/caller.py b/src/openpower/decoder/isa/caller.py index 242ff5bb..919e8cf0 100644 --- a/src/openpower/decoder/isa/caller.py +++ b/src/openpower/decoder/isa/caller.py @@ -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: