8000 feat: assembly implementation for blake3 by Alizter · Pull Request #11914 · ocaml/dune · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: assembly implementation for blake3 #11914

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Alizter
Copy link
Collaborator
@Alizter Alizter commented Jun 15, 2025

In this PR we switch the blake3 implementation to use handwritten assembly. This offers a slight speedup in most cases.

@Alizter Alizter force-pushed the blake3-asm branch 4 times, most recently from 8c2b531 to 2e4f280 Compare June 16, 2025 15:41
Alizter and others added 3 commits June 28, 2025 21:17
Signed-off-by: Ali Caglayan <alizter@gmail.com>
Co-authored-by: Ali Caglayan <alizter@gmail.com>
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
Previously, our copy function would attempt to insert both headers and
directives whilst trying to copy. For assembly source files on Windows
this would confuse the assembler.

We fix this issue by separating the different kinds of copying functions
and using the specific ones in each case. For assembly files we
shouldn't be using any source modifying operations since platforms such
as Windows are sensative to such changes.

Signed-off-by: Ali Caglayan <alizter@gmail.com>
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
0