[Libre-soc-bugs] [Bug 979] Implement C-based Power ISA decoder compiler

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri Sep 8 10:11:38 BST 2023


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

--- Comment #52 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Dmitry Selyutin from comment #51)
> Done, the library is now named libopid:
> https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;
> h=905dd24c769e74247935514f5ab8d462724ef798

awesome.

> I think the current state is sufficient to mark this task as completed. 

ah sorry, i'm not seeing any unit tests. that's a hell of a lot of
money for such a short amount of code, and i am therefore uncomfortable
signing it off. i do appreciate the Visitor system is that powerful,
but it in turn means we can achieve more with less (our key strategy)

could you do say... mmm...
3-4 instructions that demonstrate how to use it? with real simple
"exit(-1)" if fail and exit(0) if true on verifying that the operands
decode correctly?

the other alternative is to also auto-generate a *python c-module*
interface on top, and we can then accelerate *ISACaller* by importing
it, replace PowerDecoder entirely (hooray).

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


More information about the libre-soc-bugs mailing list