-
Notifications
You must be signed in to change notification settings - Fork 18.4k
cmd/compile/internal/ssa: add codegen for Zicond extension on riscv64 #75577
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
base: master
Are you sure you want to change the base?
Conversation
This patch adds code generation support for the Zicond extension. We convert branches into CondSelect operations in branchelim and rewrite them into Zicond instructions. Additionally, optimization rules have been added to optimize more conditional branch scenarios based on the riscv-isa-manual. Follow-up to CL 631595 Updates golang#75350 Change-Id: If3f6dbff2fc165addfb4e511e0ac618419d59103
This PR (HEAD: f5f9d07) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/705996. Important tips:
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/705996. |
Message from Mark Ryan: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/705996. |
2f5ba88
to
58e1e0c
Compare
This PR (HEAD: 58e1e0c) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/705996. Important tips:
|
Message from Xueqi Luo: Patch Set 2: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/705996. |
This patch adds code generation support for the Zicond extension.
We convert branches into CondSelect operations in branchelim and rewrite them into Zicond instructions. Additionally, optimization rules have been added to optimize more conditional branch scenarios based on the riscv-isa-manual.
Follow-up to CL 631595
Updates #75350