From ed5943dd6453c393d184fed1b52cfcb99d7f8820 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 5 Sep 2022 12:20:26 +0100 Subject: [PATCH] remove yet more f"" specifiers --- src/openpower/decoder/isa/caller.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/openpower/decoder/isa/caller.py b/src/openpower/decoder/isa/caller.py index 7bb7bf4e..242ff5bb 100644 --- a/src/openpower/decoder/isa/caller.py +++ b/src/openpower/decoder/isa/caller.py @@ -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: -- 2.30.2