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

Improve code generation for RISC-V #954

Open
eponier opened this issue Nov 5, 2024 · 1 comment
Open

Improve code generation for RISC-V #954

eponier opened this issue Nov 5, 2024 · 1 comment

Comments

@eponier
Copy link
Contributor

eponier commented Nov 5, 2024

Btw, there is something to be checked about RISC-V, related to the linearization_params. The code was copied from arm, and it should work. But if I'm not mistaken, there are two constraints on ARM that make the code more complex:

  1. there are some operations that we cannot do directly on RSP
  2. instructions do not accept large immediate.

For RISC-V, 2. is true, but 1. is not. Does this mean we should adapt a bit the code?

Originally posted by @eponier in #939 (comment)

@eponier
Copy link
Contributor Author

eponier commented Nov 5, 2024

I discussed with @bgregoir, the code of set_up_sp_register should indeed be changed into sth looking more like x86.

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

No branches or pull requests

1 participant