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

Add portable simd (core::simd) implementation #83

Open
wants to merge 38 commits into
base: main
Choose a base branch
from

Conversation

Licenser
Copy link

This adds a core::simd (rusts portable simd) implementation, since that is a nightly-only feature, it is guarded behind the portable feature flag.

@hkratz
Copy link
Contributor

hkratz commented Sep 23, 2024

@Licenser Sorry for being unresponsive for the last year. Now I am finally picking up on this. I hope you don't mind me fixing it up a bit before merging.

@Licenser
Copy link
Author

Licenser commented Sep 23, 2024

Hey, no worries, I've been doing OSS for long enough to have all the understanding in the world for things taking time :)

@hkratz
Copy link
Contributor

hkratz commented Sep 29, 2024

@Licenser Using a 128-bit wide portable simd implementation is only a few percent slower on ARM64 than the implementation using native intrinsics:

CleanShot 2024-09-29 at 13 12 22@2x

@hkratz hkratz self-assigned this Sep 29, 2024
@Licenser
Copy link
Author

That's pretty neat!

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.

2 participants