From: Luke Kenneth Casson Leighton Date: Tue, 3 Oct 2023 14:37:37 +0000 (+0100) Subject: add error message showing which instructions have been barfed X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f60a76730e30e95391258a9a3714b9f9ba7722bd;p=openpower-isa.git add error message showing which instructions have been barfed --- 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()