projects
/
openpower-isa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cc4eb1
)
oppc: skip bogus sync instruction
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Tue, 16 Jan 2024 19:09:45 +0000
(22:09 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Tue, 16 Jan 2024 19:10:08 +0000
(22:10 +0300)
src/openpower/oppc/__main__.py
patch
|
blob
|
history
diff --git
a/src/openpower/oppc/__main__.py
b/src/openpower/oppc/__main__.py
index ecf6aa0b67c593181dc030205811a6769722507a..e3a12f9633a1cb491e0b26b076681721865399f7 100644
(file)
--- 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):