[Libre-soc-bugs] [Bug 979] Implement C-based Power ISA decoder compiler
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Fri Sep 8 16:41:51 BST 2023
https://bugs.libre-soc.org/show_bug.cgi?id=979
--- Comment #54 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Dmitry Selyutin from comment #53)
> No, if we do it, we'll do it correctly. I'll come back with something which
> can be used to check (almost) arbitrary instructions.
if you're happy to do that and it's easy within the budget _great_.
but remember what i said (and you do it below) always always assert/state
what *you* value the code at. NLnet's guide is EUR 3,000 per *month* so
anything over that, we have to have a *really* good reason.
> I have an idea on how
> to do it so that this will be a cross-check. Otherwise there's no point in
> illustrating the API with 3-4 instructions, since for now API is dead simple
> and completely self-explanatory.
to you, it is, because you wrote it. remember: other users who are unfamiliar
*need* documentation and/or examples.
> Tests, on the other hand, are much a better idea.
they'll illustrate the usage in the same way as examples. i'm happy with that.
> > the other alternative is to also auto-generate a *python c-module*
> > interface on top, and we can then accelerate *ISACaller* by importing
> > it, replace PowerDecoder entirely (hooray).
>
> Using your own wording, I'd say that's a hell of a little of money for such
> a big work, and I am therefore uncomfortable starting it in scope of this
> task. :-)
i don't have a problem with that at all.
> Luke, I have to stop at this paragraph, even though I'm not comfortable
> doing it. Judging the payment based on the code size is a totally wrong
> metric,
i remember the "$1 for tapping with a hammer, $9999 for knowing where to tap"
anecdote, and you've given NLnet (and the EU Auditor) enough here to appreciate
the value of what you've done.
> I'll return with something to be used for testing purposes, because this is
> The Right Thing To Do
perfect. no rush, but don't push it outside of what you value your
contribution and effort, either.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list