From 19b08459df338c500c47bb4d0d668d5840b29a8b 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