From: Luke Kenneth Casson Leighton Date: Mon, 5 Sep 2022 11:14:28 +0000 (+0100) Subject: removing use of format. please do not use format X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=733ca367288ddd926b35851090c51a8cac34a6a4;p=openpower-isa.git removing use of format. please do not use format --- diff --git a/src/openpower/decoder/isa/caller.py b/src/openpower/decoder/isa/caller.py index 7eb265e4..7bb7bf4e 100644 --- a/src/openpower/decoder/isa/caller.py +++ b/src/openpower/decoder/isa/caller.py @@ -1479,12 +1479,10 @@ class ISACaller(ISACallerHelper, ISAFPHelpers): log('reading reg %s %s' % (name, str(regnum)), is_vec) if name in fregs: reg_val = SelectableInt(self.fpr(regnum)) - log(f"read reg f{regnum}: 0x{reg_val.value:X}", - kind=LogKind.InstrInOuts) + log("read reg %d: 0x%x" % (regnum, reg_val.value)) elif name is not None: reg_val = SelectableInt(self.gpr(regnum)) - log(f"read reg r{regnum}: 0x{reg_val.value:X}", - kind=LogKind.InstrInOuts) + log("read reg %d: 0x%x" % (regnum, reg_val.value)) else: log('zero input reg %s %s' % (name, str(regnum)), is_vec) reg_val = 0