From ccc34b0f9fc772985251622cc6189947ff831af2 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 3 Oct 2023 15:37:37 +0100 Subject: [PATCH] add error message showing which instructions have been barfed --- src/openpower/decoder/pseudo/pagereader.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/openpower/decoder/pseudo/pagereader.py b/src/openpower/decoder/pseudo/pagereader.py index be70f32e..73173cfc 100644 --- a/src/openpower/decoder/pseudo/pagereader.py +++ b/src/openpower/decoder/pseudo/pagereader.py @@ -339,7 +339,8 @@ class ISA: # "Special Registers Altered" expected l = lines.pop(0).rstrip() - assert l.startswith("Special"), ("special not found %s" % l) + assert l.startswith("Special"), \ + ("special not found %s (%s)" % (l, d['desc'])) # whitespace expected l = lines.pop(0).strip() -- 2.30.2