-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Profiles Compilers #16
Comments
Mar 27 status from @cmuellner:
|
@pz9115, do you have a projected date by which this might be done and all PRs accepted? Would you also provide links to the PRs here once they are submitted? Thanks! |
I prepared this doc to record profile implement details in toolchain. https://docs.google.com/document/d/1TZXRIgVfQHWQ6xrZflHXUCSav6xNmliojrW2bEsvPno/edit |
@pz9115, thanks for the document link. What is your projected date for all PRs accepted? |
Should I open a new PR for this proposal, I'm not sure. |
@cmuellner, can you answer @pz9115's question? I do not feel qualified to advise here. Thanks! |
@pz9115, per our discussion last week and lacking an answer from @cmuellner, I believe you should proceed with your PRs as you see best. Christoph has clearly confirmed that you are in the lead here and documented what needs to be done. Thanks for driving! |
Sorry, I did not see the original notification back then. |
Ok, I just open this new PR: |
@pz9115, how long do you think it will take to have all PRs written and accepted to the riscv repos? Then, how long do you think it will take to get these changes upstreamed to the main communities? I'm trying to pick a target date for when this item might be "done" (all PRs accepted upstream). So, any thoughts on what would be a target date would be appreciated too. |
I think it may take one month for the PR merged, and may take another month for upstream works, hopefully it will faster than I thought. |
Great. How about we set a date for "Completion target" as July 31, 2023? |
Ok, for me, it seems need a long term. |
I've updated the Completion Target date. THANKS!!! |
In today's SIG Toolchain call, the following reminder has been brought up: toolchain support for profiles does not only need a proper extension of the |
Okay, it's sounds reasonable. We should implement those unratified extensions in profiles, but just keep their names. Currently toolchain will do nothing with them, until they go ratified. I had sent a patch to do this, and I think it needs some tweaking now: https://gcc.gnu.org/pipermail/gcc-patches/2022-November/604868.html |
@pz9115, when you get a feel for how much work exists in these additional extensions, please provide some thoughts on when you expect to submit the final PR for this work. |
The first step of documenting the format of RISC-V Profiles using in the compiler has been basically completed, and it will be officially merged into the riscv-toolchain-conventions document around the end of the month. |
Thanks, @pz9115. Can you kindly provide links to your PRs as comments? Then, I'll copy into the description so we have a nice summary when done. |
Of course, thank you Jeff. |
Resent patches to upstream, status change to in review, expect to generate many new discussions: https://gcc.gnu.org/pipermail/gcc-patches/2023-November/637490.html |
No new recovery has been received yet, waiting for comments, maybe will discussing next SIG-Toolchain meeting in next Monday. |
Reviewed by Jeff Law and resend the patch, re-reviewing https://gcc.gnu.org/pipermail/gcc-patches/2023-December/640324.html |
@pz9115, can you provide an update here too? |
Palmer suggested to wait Profiles spec get more progress: https://gcc.gnu.org/pipermail/gcc-patches/2023-December/641025.html I will resend dummy extensions support in gcc part first as Christoph's suggestion: https://gcc.gnu.org/pipermail/gcc-patches/2023-December/640332.html |
Since there is still a lot of discussions in Profiles TG, we want to wait gcc-15(release in May) to reimplement the total Profiles feature. |
GCC 14 was released, now preparing patches to upstream. |
@pz9115, when do you expect to rebase and resend the GCC patches? |
Yes, will resent it within this week. Include a RVA23 & RVB23 RFC patch |
Thanks, @pz9115. Please post a link here with the RFC for RVA23 and RVB23. We need that to Freeze for the new profile. |
The RVI20/RVA20 support patch was resent a few hours ago: https://gcc.gnu.org/pipermail/gcc-patches/2024-July/658082.html |
Update RVA/B23 patch in https://gcc.gnu.org/pipermail/gcc-patches/2024-July/658502.html @jjscheel |
Update Binutils support in https://sourceware.org/pipermail/binutils/2024-August/136129.html |
@pz9115, thanks for working on this! Your patches unblocked the Zimop/Zcmop situation, and this extension is now finally supported in Binutils:
So, we have patches for almost everything on the lists (I think I have not seen an RFC patch for RVA23/RVB23, but that's not a big deal). The overall strategy is now:
|
The Zimop/Zcmop had merged into both gcc and binutils upstream—— https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=3ba06284d2cada7a4798f7849da113661aff07dd And update the gcc Profiles patch support—— |
Received comment form Palmer and Nelson, preparing a new version patch. https://gcc.gnu.org/pipermail/gcc-patches/2024-August/660947.html |
We discussed profile support in GCC in the RISC-V BoF session at the GNU Cauldron 2024 in Prague three days ago, and we (Jeff Law, Kito, Palmer, and Jiawei were among the attendees) reached the consensus that we will add GCC support for ratified profiles. There are concerns that CPU/SoC vendors will claim profile compliance when, in fact, they are not (independent of whether this happens intentionally or not). It could be as little as a tiny bug that makes a CPU/SoC incompatible with a profile it is marketing for. This could (or likely will) lead to bug reports where users blame SW implementations as being erroneous because they won't run on their device (which claims to be profile compatible). However, there is little we can do on the SW side besides closing such tickets as invalid and hoping that volunteers (in the best case, the CPU/SoC vendors themselves) engage with the upstream community to solve the problem. We all agreed that we would like stricter compliance tests for vendors to increase the confidence level of the claims to be compatible with RVI extensions or profiles. |
RVA23/RVB23 going to v0.7. Ratification-ready candidate status, waiting for forzen |
RVA23 and RVB23 are frozen and almost Ratified. The TSC and BoD are voting: |
Rebased and resent again to gcc upstream, reviewing |
@pz9115 per your question about RVA23/RVB23 ratification, the RISC-V Technical Specifications wiki page reflects the proper profile documents and links to the PDFs. Both are ratified. Please let me know if anyone has more questions about this. |
Technical Group
Profiles TG
ratification-pkg
Profiles
Technical Liaison
Christoph Muellner
Task Category
Compilers/Toolchain
Task Sub Category
Ratification Target
1Q2023
Statement of Work (SOW)
SOW: link
SOW Signoffs: (delete those not needed)
Waiver
Pull Request Details
RISC-V PRs
...
Upstream PRs
The text was updated successfully, but these errors were encountered: