[Libre-soc-bugs] [Bug 671] convert spec pseudocode to use XLEN width

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Aug 31 01:33:39 BST 2021


--- Comment #52 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---

again, this one, it's important not to do changes to use
an undocumented arbitrary helper function

the idea here us, this pseudocode ACTUALLY will be submitted
as ACTUAL v3.N specification with an OFFICIAL Request For Change
to the OpenPOWER ISA.

therefore all and any "helper" routines have to have a full audit,
review, full justification, documentation, explanation, and finally
submission to the ISA WG.

i.e. a total pain in the ass.

if we can simply overload EXTS64 via operator-overloading
then when the pseudocode is submitted *without* EXTSREG
the *reviewer* says, "this is meaningless please change it"
*now* we have justification.

in addition i said we are not doing width chsnges yet: width
is currently hardcoded to 64.

the *second* phase once hardcoded numbers *ONLY* have been replaced
by XLEN will be to look at functions and try XLEN=32/16/8

one incremental step at a time, one task at a time.

the larger the task the more critically important it is to ONLY
strictly do that one regular task.

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

More information about the libre-soc-bugs mailing list