From ba917ef13f26b7314d51f3673a5ed096f906646d Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Thu, 22 Jun 2023 22:10:56 +0300 Subject: [PATCH] insndb/db: fix SVP64 instruction check --- src/openpower/insndb/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpower/insndb/db.py b/src/openpower/insndb/db.py index b0411d25..0de00b10 100644 --- a/src/openpower/insndb/db.py +++ b/src/openpower/insndb/db.py @@ -211,7 +211,7 @@ def main(): for (command, (visitor, helper)) in commands.items(): parser = main_subparser.add_parser(command, help=helper) if issubclass(visitor, InstructionVisitor): - if command in ("extras",): + if issubclass(visitor, SVP64InstructionVisitor): arg_cls = SVP64Instruction else: arg_cls = Instruction -- 2.30.2