sv_binutils: fix fields traversal
authorDmitry Selyutin <ghostmansd@gmail.com>
Wed, 21 Sep 2022 15:06:32 +0000 (18:06 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Sat, 24 Sep 2022 09:07:36 +0000 (12:07 +0300)
src/openpower/sv/sv_binutils.py

index 77fe09a2004292ceebdccb8a08fc008c2ef30bed..f555bea63c95a9bfdf4edb4d4e706ed56b60eae9 100644 (file)
@@ -320,7 +320,7 @@ class Instruction(Struct, c_tag="svp64_insn"):
 
         yield from super().c_decl()
         yield ""
-        for (path, field) in _SVP64Instruction.traverse(path="svp64_insn"):
+        for (path, field) in _SVP64Instruction.traverse(path=""):
             yield from getter(path, field)
             yield from setter(path, field)