Re: [PATCH v4 6/6] Follow profile naming as-per latest RISC-V profiles spec


Greg Favor
 

On Mon, Aug 9, 2021 at 11:41 AM Atish Patra <atish.patra@...> wrote:
> Why do these have 64 at the end?

Here are more details on profile naming convention
https://github.com/riscv/riscv-profiles/blob/master/profiles.adoc

Should we defer this patch until we have something in the profile spec
?  I am afraid that we have to make changes again if the naming convention
is changed in the profile spec later.

The above adoc is very tentative and hasn't been reviewed at all.  Even Krste would acknowledge that the naming details will change.

So whatever we use in the platform specs is just a placeholder that almost for certain will need to be updated to match whatever final naming ends up in the profile specs.

To the extent that we, for now, match Krste's initial thought (as expressed in the adoc), the platform spec would actually use 'RVA22U' and 'RVA22S' since the adoc specifies that the default for RVA profiles is RV64 and a '32' suffix is needed only in the non-default RV32 case.  (This is the opposite default from what is specified for the RVM profiles.)

So I would suggest we go with these 'RVA22U' and 'RVA22S' names for now and allow for a final change later this year.  Even for public review (if Krste hasn't updated his initial naming thoughts), this naming should suffice.

Greg

Join {tech-unixplatformspec@lists.riscv.org to automatically receive all group messages.