Skip to content
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

riscv64: Allow loading 0 with c.li #7359

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

afonso360
Copy link
Contributor

@afonso360 afonso360 commented Oct 25, 2023

👋 Hey,

I noticed that with the compressed extension enabled we currently can't load 0 using a compressed sequence. I had mistakenly encoded c.li as not supporting a 0 immediate, but it does allow it. So lets relax that restriction.

@afonso360 afonso360 added the cranelift:area:riscv64 Issues related to the RISC-V 64 backend. label Oct 25, 2023
@afonso360 afonso360 requested a review from a team as a code owner October 25, 2023 10:12
@afonso360 afonso360 requested review from fitzgen and removed request for a team October 25, 2023 10:12
@github-actions github-actions bot added the cranelift Issues related to the Cranelift code generator label Oct 25, 2023
@alexcrichton alexcrichton added this pull request to the merge queue Oct 25, 2023
Merged via the queue into bytecodealliance:main with commit 309580b Oct 25, 2023
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cranelift:area:riscv64 Issues related to the RISC-V 64 backend. cranelift Issues related to the Cranelift code generator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants