From e3af692f3566db0653c1313522157b480117c9fc Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 3 Sep 2022 19:32:34 +0100 Subject: [PATCH] correct table header --- src/openpower/decoder/power_table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpower/decoder/power_table.py b/src/openpower/decoder/power_table.py index 59f32005..c87af159 100644 --- a/src/openpower/decoder/power_table.py +++ b/src/openpower/decoder/power_table.py @@ -96,7 +96,7 @@ def do_table(fname, insns, section, divpoint): line.append(maxme(maxnamelen, hdr)) line.append(" "*half) table.append("|" + "|".join(line) + "|") - line = ["-"*half] + ["-"*maxnamelen] * (1<<(bitlen-half)) + ["-"*half] + line = ["-"*half] + ["-"*maxnamelen] * (1<<(half)) + ["-"*half] table.append("|" + "|".join(line) + "|") for i in range(1<<(bitlen-half)): -- 2.30.2