From e128827788964f42075529f42c0109ae5b9c7be7 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 5 Sep 2022 12:25:26 +0100 Subject: [PATCH] please do not use format-specifiers --- src/openpower/decoder/isa/caller.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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: -- 2.30.2