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=1c8bef59720a57892a4e65def6887fd7cfad7e79;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?