From: Luke Kenneth Casson Leighton Date: Sun, 4 Sep 2022 10:14:49 +0000 (+0100) Subject: assert prints out XO X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=33616a3479b56ad1f62a9d0fc21ee4f50516f3b7;p=openpower-isa.git assert prints out XO --- diff --git a/src/openpower/decoder/power_table.py b/src/openpower/decoder/power_table.py index 9eb4016e..32f30866 100644 --- a/src/openpower/decoder/power_table.py +++ b/src/openpower/decoder/power_table.py @@ -81,9 +81,10 @@ def do_table(fname, insns, section, divpoint): if ((op.value & op.mask) == (XO & op.mask)): print (" match", bin(XO), insn.name) assert table_entries[upper][lower] is None, \ - "entry %d %d should be empty " \ + "entry %d %d (XO %s) should be empty " \ "contains %s conflicting %s" % \ - (lower, upper, str(table_entries[upper][lower]), + (lower, upper, bin(XO), + str(table_entries[upper][lower]), insn.name) table_entries[upper][lower] = insn.name maxnamelen = max(maxnamelen, len(insn.name))