[Libre-soc-bugs] [Bug 1094] insndb instruction database visitor-walker is needed

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri Jun 2 17:31:23 BST 2023


https://bugs.libre-soc.org/show_bug.cgi?id=1094

--- Comment #7 from Dmitry Selyutin <ghostmansd at gmail.com> ---
I've almost completed a hierarchy reorganization for insndb. Now it's really
insndb:
$ ls src/openpower/insndb/
__init__.py  __pycache__  asm.py  dis.py  types.py

pysvp64.py -> asm.py
pysvp64dis.py -> dis.py
power_insn.py -> types.py

This is done in order to keep structure clean and obvious. The setuup.py script
is updated as well. Visitors will reside here too. Next, I'll implement some
script which simply dumps the instruction database based on visitors: it came
to my mind that this is much simpler to do for starters instead of binutils.

Since this change might affect other uses outside of openpower-isa, so this
will be pushed to branch and tested with CI (thanks again, Jacob, I cannot even
stress how grateful I am).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list