[Libre-soc-bugs] [Bug 918] pysvp64dis: introduce single source of truth for instructions (instruction database)

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Thu Sep 1 09:53:26 BST 2022


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

--- Comment #4 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Jacob Lifshay from comment #3)
> imho all we need in terms of files it's stored in is to have the information
> properly in the .mdwn, fields.txt, and .csv files, none of the python files
> should need special cases for particular instructions.

especially the special cases for large groups of instructions, such as overflow
handling:
https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=src/openpower/decoder/power_decoder2.py;hb=49330f613dfb6d0d25677d5e5539df0670be277c#l585

smaller special cases such as svstep needing SVi subtracting 1 when assembling
are more ok imho.

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


More information about the libre-soc-bugs mailing list