From e553a54088869ea1f88ad0c2b4f131143405ba97 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