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

Zicsr, Zifenci Makefiles assume RV32I v2.0, not forward compatible with v2.1 #6

Open
jenniferhellar opened this issue Aug 9, 2023 · 0 comments

Comments

@jenniferhellar
Copy link

The ISA spec v2.1 split the csr and fence instructions into separate extensions. Recent toolchain versions assume rv32i is v2.1 compliant (does not include the csr and fence), so as-is the Zicsr and Zifenci makefiles generate errors on the '-march=rv32i' option passed.

Recommend updating Makefiles to '-march=rv32i2p0'

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