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/disable bit manipulation instruction sets based on the architecture instead of with a feature flag #6

Closed
gnzlbg opened this issue Jun 19, 2016 · 2 comments

Comments

@gnzlbg
Copy link
Owner

gnzlbg commented Jun 19, 2016

Right now the feature flag bmi2 must be explicitly passed to the library to enable the BMI2.0 instruction set. It would be better to enable this depending on the architecture.

Blocked on rust-lang/rust#30462 .

@gnzlbg
Copy link
Owner Author

gnzlbg commented Jun 21, 2016

Blocked on rust-lang/rust#34397 which would allow using -C target-feature=... or letting llc detect it based on the target architecture.

@gnzlbg
Copy link
Owner Author

gnzlbg commented Feb 2, 2017

This is handled by bitintr build.rs.

@gnzlbg gnzlbg closed this as completed Feb 2, 2017
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