[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
https://bugs.libre-soc.org/show_bug.cgi?id=671
--- Comment #52 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=fc68ee12c54f7f096a2631a9254db30fe4cde4e8
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