Skip to content

Conversation

austinderek
Copy link

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


🔄 This is a mirror of upstream PR golang#75577

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
@austinderek austinderek force-pushed the master branch 28 times, most recently from 37c78b5 to 371c1d2 Compare September 24, 2025 19:01
@austinderek austinderek force-pushed the master branch 30 times, most recently from 2a71af1 to 5bf50a0 Compare October 4, 2025 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants