From 33616a3479b56ad1f62a9d0fc21ee4f50516f3b7 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 4 Sep 2022 11:14:49 +0100 Subject: [PATCH] assert prints out XO --- src/openpower/decoder/power_table.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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)) -- 2.30.2