From: Luke Kenneth Casson Leighton Date: Sun, 3 Dec 2023 18:02:43 +0000 (+0000) Subject: project standard is to use c standard string specifiers NOT format X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f4914d86b0f24568884817573f09b5e5d32675c2;p=openpower-isa.git project standard is to use c standard string specifiers NOT format NOT php-style "f" --- diff --git a/src/openpower/decoder/power_pseudo.py b/src/openpower/decoder/power_pseudo.py index 0bcaa634..f0504a29 100644 --- a/src/openpower/decoder/power_pseudo.py +++ b/src/openpower/decoder/power_pseudo.py @@ -365,7 +365,7 @@ def test(): def process(): for ins in instr: - log("0x{:X}".format(ins & 0xffffffff)) + log("0x%x" % (ins & 0xffffffff)) # ask the decoder to decode this binary data (endian'd) yield decode.bigendian.eq(0) # little / big?