-
Notifications
You must be signed in to change notification settings - Fork 34
Is there a short name for Zc* extension #198
Comments
It's a good question. @aswaterman @kasanovic is there a plan for a shorter name for the whole set? |
No. The plan is to use profile names to shorten these strings, e.g., RVA23 will imply C and Zcb, and a future embedded profile might imply a broader set of these extensions. For now, you'll need to accept the longer names, or use shell scripting techniques to reduce your typing. |
But it will cause normal user hard to use the |
Something like Please be patient and wait for profiles to solve this problem. |
Maybe gcc compiler could help to handle the incompatible when using |
No, GCC should not start defining its own RISC-V extension names. Profiles will solve this problem. Please patiently wait for them to arrive. |
Profiles can help to solve part of the long isa name issue, if rv cpu not following profile requirement would have to use the long isa name in march option. So I thought for each extension, if it can define a full feature set isa name, it would be good for user to remember and use it. |
I see your point and understand where the desire for a short name is coming from, but I don't think it's a big problem in most cases. |
but for IP vendors, it need to provide configurable RISC-V IP, so the march string will need to be easily handled by user, user can easily turn on or off selected extension. |
"please wait for the profile" is the conclusion |
Hi @tariqkurd-repo
When I want to declare I want to use all the features of Zc* extension, currently I need to specify
zca_zcb_zcmb_zcmp_zcmt
, this name is too long to remember and use, can you declare a simple short name which stands for require all the Zc* features, I think IP vendors would implement a full featured Zc extension, and want to let user easily use it in toolchain with shorter name.Thanks
Huaqi
The text was updated successfully, but these errors were encountered: