[Libre-soc-bugs] [Bug 550] binutils support needed for svp64

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Nov 28 03:20:15 GMT 2021


--- Comment #29 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to dmitry.selyutin from comment #28)
> I actually prefer dataclasses to namedtuples, these tend to be more
> flexible, especially for code generation.

if this was even 300 lines i would agree with you no question.

however this is not 300 lines: it is one single for-loop
on one single dictionary, with a scant 30 lines inside
that one single for-loop.

it is under absolutely no circumstances whatsoever going
to get more complicated than that one single dictionary.
there will NEVER be anything else added, ever.

consequently attempting to add complex infrastructure normally
suited to large sophisticated code generation is in danger of creating massive
code bloat.

to give you some idea of how inappropriate code generator
technology is here: there is so little to output here that
it could well be covered entirely by a single 64 bit uint64_t
per row, comprising the ORing of a series of #defines:
not even a struct need be created (unlike in the VHDL case).

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

More information about the libre-soc-bugs mailing list