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=19b08459df338c500c47bb4d0d668d5840b29a8b;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