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

blake2: x86 coresimd #72

Closed
wants to merge 5 commits into from
Closed

blake2: x86 coresimd #72

wants to merge 5 commits into from

Conversation

kazcw
Copy link
Contributor

@kazcw kazcw commented Jan 25, 2019

cf. #56

Replacement for simd + simd_opt features. Builds on stable rustc 1.27+

The coresimd feature overrides all other simd flags. Build with coresimd will fail for unsupported target platforms, e.g. non-x86.

Benched on a Xeon X5650:
sse2 only: faster than simd_opt
ssse3: slightly faster than simd_opt

Benched on a Haswell:
avx2: same speed as simd_opt

NB. the standard CI settings won't test this properly since it introduces a new feature

Replacement for simd + simd_opt. Builds on stable rustc 1.27+

The coresimd feature overrides all other simd flags. Build with coresimd
will fail for unsupported target platforms, e.g. non-x86.

Benched on a Xeon X5650:
sse2 only: faster than simd_opt
ssse3: slightly faster than simd_opt

Benched on a Haswell:
avx2: same speed as simd_opt
@newpavlov
Copy link
Member

Thank you!

You can introduce a separate line for CI like was done for testing AES-NI. I will try to review both of your blake2 PRs on this weekend.

This will test the sse2 and probably ssse3 coresimd implementations. If
the buildbox happens to support avx2, it will also test the avx2
implementations.
@tarcieri
Copy link
Member

@kazcw are you interested in continuing to work on this PR, and if so, can you rebase?

@kazcw
Copy link
Contributor Author

kazcw commented Jun 10, 2020

@tarcieri As with #70, better to start from scratch at this point.

@kazcw kazcw closed this Jun 10, 2020
@kazcw kazcw deleted the coresimd branch June 10, 2020 19:42
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.

None yet

3 participants