From: Dmitry Selyutin Date: Thu, 22 Jun 2023 19:10:56 +0000 (+0300) Subject: insndb/db: fix SVP64 instruction check X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ba917ef13f26b7314d51f3673a5ed096f906646d;p=openpower-isa.git insndb/db: fix SVP64 instruction check --- 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