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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Mon Jan 15 20:28:59 GMT 2024


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

--- Comment #117 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Dmitry Selyutin from comment #112)
> I wrote my position on the ONLY string we have so far in 1250. I won't
> introduce a tagged union

indeed. jacob has been told maaany many times to stop introducing
types and unnecessary complexity (apologies talking about you in
3rd person there jacob).

> In fact, I don't see a
> need for a tagged union at all, both the type and ok field can be just
> encoded into flags of oppc_value.

yyyep. or not even flags, just an integer number in oppc_value.

the constants can also be #defined and made global/static,
which makes good readability if they are used in the compiler output
(rather than putting the explicit value itself)

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


More information about the libre-soc-bugs mailing list