[Libre-soc-bugs] [Bug 980] Implement C-based Power ISA pseudocode compiler

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Nov 26 19:27:06 GMT 2023


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

--- Comment #8 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Luke Kenneth Casson Leighton from comment #7)

> yes. i recommend a compatible drop-in replacement for PowerDecoder.
> (power_decoder.py) which is easier because the existing unit tests
> can be used (like, all of them: TestIssuer as well as ISACaller).

oh hang on sorry, pseudocode compiler not power decoder.


(In reply to Dmitry Selyutin from comment #6)

> 3. Nothing to be touched yet in the existing codegen, we'll just add C
> generation mode into the current generator, due to time constraints.

yes. cffi interface as well, to allow unit tests comparing against
existing python-based simulator, ultimately i want it to *replace* the
python-based compiler.

skip functions such as EXTS and others (Power ISA Section 1.3) for now.

> Yes
> there's a room for improvement, some things might be done differently. But
> for now -- no changes unless lack of them stops us. We'll be under a huge
> risk otherwise.

v. true

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


More information about the libre-soc-bugs mailing list