From: Dmitry Selyutin Date: Tue, 16 Jan 2024 19:09:45 +0000 (+0300) Subject: oppc: skip bogus sync instruction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8ad5d2f349c350bd2df02761d736eaf24456d68a;p=openpower-isa.git oppc: skip bogus sync instruction --- 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):