[libre-riscv-dev] [Bug 261] power_enums.py to read SPRs from sprs.csv

bugzilla-daemon at libre-riscv.org bugzilla-daemon at libre-riscv.org
Wed Mar 18 15:46:25 GMT 2020


--- Comment #5 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Michael Nolan from comment #4)

> Oh no!

:) ehh it was fiiine

> I'm thinking I could either make the enum value a namedstruct/SPR object
> that contains the length/privelages, or make a separate dict of
> structs/objects for that information. Thoughts on which way to go?

hmmm... separate doesn't make a lot of sense, people might think they're
somehow not related.

> Side note, why would they make them duplicate anyhow? That seems somewhat
> nutty.

sigh i know, welcome to an "organically-grown" ISA.  they should have put a
prefix "H" or "S" in front of them, with "U" for "userspace".

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

More information about the libre-riscv-dev mailing list