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

Enable ratified bitmanip extensions for Rust demos #120

Merged
merged 2 commits into from
Aug 23, 2024

Conversation

jwnrt
Copy link
Contributor

@jwnrt jwnrt commented Aug 22, 2024

I don't think bitmanip is important for the demos, just thought it was interesting that you can enable them.

Happy if this doesn't get merged, but someone can use this as a reference if they need it elsewhere.

We're using the (long-term) unstable `build-std` feature which requires
the nightly compiler.
@nbdd0121
Copy link
Contributor

Target json is unstable, I would prefer if we use -Ctarget-feature=+zba,+zbb,+zbc,+zbs with the current target.

@jwnrt
Copy link
Contributor Author

jwnrt commented Aug 22, 2024

Thanks, that is a lot simpler. FYI I think it relies on build-std though so we still can't move off of unstable/nightly

Ibex supports a few more bitmanip extensions but they're not supported
in upstream LLVM / Rust.
@nbdd0121
Copy link
Contributor

I think it should still work without build-std, you just lose some performance for non-inlined part of libcore

@jwnrt
Copy link
Contributor Author

jwnrt commented Aug 23, 2024

FYI I submitted this to Tock as well :)

@jwnrt jwnrt merged commit a1201cf into lowRISC:main Aug 23, 2024
2 checks passed
@jwnrt jwnrt deleted the rust-bitmanip branch August 23, 2024 10:13
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.

3 participants