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

Don't vectorize division for integer types #106288

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

tannergooding
Copy link
Member

This will improve some, but not all cases for #105204 by ensuring its not significantly slower than scalar for arbitrary inputs.

For constant divisors, it is likely to still be slower than a for loop. For example x / 2 may still be slower than x >> 1 because we can't introspect it to be a constant for the more complex call site.

Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-numerics
See info in area-owners.md if you want to be subscribed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants