[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 12:25:05 GMT 2024


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

--- Comment #114 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Dmitry Selyutin from comment #112)
>  both the type and ok field can be just
> encoded into flags of oppc_value.

that's true, but not why i proposed a union, i proposed a union because we
later need to add more types (rational number for bfp_* code, several different
structs for XER, SVSTATE, FPSCR, and BFP numbers).

I proposed ok and type being bitfields because that makes the code clearer
while producing the same assembly.

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


More information about the libre-soc-bugs mailing list