From: Luke Kenneth Casson Leighton Date: Sun, 3 Dec 2023 18:08:36 +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=44282d16c5ea9c3b3a82348c4053c5712f544209;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/isa/test_caller_ldst_exceptions.py b/src/openpower/decoder/isa/test_caller_ldst_exceptions.py index fa375226..0c5e68f4 100644 --- a/src/openpower/decoder/isa/test_caller_ldst_exceptions.py +++ b/src/openpower/decoder/isa/test_caller_ldst_exceptions.py @@ -55,7 +55,7 @@ def run_tst(generator, initial_regs, initial_sprs=None, svstate=0, mmu=False, yield Settle() ins, code = instructions[index] - print(" 0x{:X}".format(ins & 0xffffffff)) + print(" 0x%x" % (ins & 0xffffffff)) opname = code.split(' ')[0] print(code, opname)