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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Dec 1 16:33:06 GMT 2021


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

--- Comment #33 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to dmitry.selyutin from comment #31)
> Pushed few more commits, now it looks like the whole code generation is
> format-based. I don't quite like the part where we convert CSV entry into
> (op, insn, row) stuff, this should likely be in some function or whatever,
> but maybe later.

yes.  it's quick and dirty, Gets The Job Done.

> Anyway, I think the code is ready to output what we need
> for binutils.

brilliant.

(In reply to dmitry.selyutin from comment #32)
> For the record, I completely dislike that we (ab)use print for logging. I'd
> rather prefer using print to output the file. But I guess that's one of
> really "way too late" remarks. :-)

feel free to convert to the openpower.util.log function:

https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=src/openpower/util.py;h=9be902dbd8721f32667cc054cc789514976f089d;hb=4328f255d67d40ce7caef6b42799bcab2ec5a733#l64

if there was any UI-related code (if console was important) it would
matter greatly.  it doesn't... therefore it's a matter of aesthetics...
therefore if time permits feel free to convert to the log function.

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


More information about the libre-soc-bugs mailing list