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

Strengthen fallback algorithm #5

Closed
tkaitchuck opened this issue Mar 4, 2019 · 1 comment
Closed

Strengthen fallback algorithm #5

tkaitchuck opened this issue Mar 4, 2019 · 1 comment

Comments

@tkaitchuck
Copy link
Owner

The fallback algorithm was weakened for speed. It could be better if there were a hardware reverse bits instruction such as exists on ARM processors.
Figure out how to take advantage of this. This could be done by either introducing more special case hardware instructions, or falling back onto generic autovectorization with something better than a rotate randomize bits.

@tkaitchuck
Copy link
Owner Author

Done. It is now based on splitmix64. There is potential for acceleration on other architectures but it is now as strong as a generic is likely to get.

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