From 8ad5d2f349c350bd2df02761d736eaf24456d68a Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Tue, 16 Jan 2024 22:09:45 +0300 Subject: [PATCH] oppc: skip bogus sync instruction --- src/openpower/oppc/__main__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/openpower/oppc/__main__.py b/src/openpower/oppc/__main__.py index ecf6aa0b..e3a12f96 100644 --- a/src/openpower/oppc/__main__.py +++ b/src/openpower/oppc/__main__.py @@ -17,6 +17,8 @@ lexer = pc_lexer.IndentLexer(debug=False) parser = pc_parser.Parser(lexer=lexer) db = Database(find_wiki_dir()) for insn in db: + if insn.name == "sync": + continue try: tree = parser.parse(code="\n".join(insn.pcode)) for (level, line) in pc_code.code(insn=insn, root=tree): -- 2.30.2