mh_sha1: add an mh_sha1 assembly implementation with vector extension for riscv64 #168
No reviewers
Labels
No labels
announcement
bug
duplicate
enhancement
help wanted
invalid
Next release
question
sighting
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-intel/isa-l_crypto!168
Loading…
Reference in a new issue
No description provided.
Delete branch "HeliC829/risc-v-mh-sha1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR added an mh_sha1 assembly implementation with vector extension for riscv64.
Origin C implementation:
Assembly implementation with vector extension :
This will be merged after the new release is out next month, thanks
kindly ping for merge.
Sorry @HeliC829 for keeping you waiting. @sunyuechi could you review this PR? Thanks!
@ -0,0 +1,416 @@/**********************************************************************TMP2 unused
@ -0,0 +1,416 @@/**********************************************************************vadd.vx
@ -0,0 +1,416 @@/**********************************************************************removed.
@ -0,0 +1,416 @@/**********************************************************************done.
0001-mh_sha1-process-all-16-segments-per-pass-in-the-risc.patch
The loop runs many times but vl=4 instead of something big, looks like
fixed-width SIMD usage.
You could use vl=16 and pick m1/m2/m4 based on vlen to cut the iteration
count. I tried it and got another 2-3x.
Maybe amend on top of this patch and see if anything else is worth changing,
If vl=4 is really needed, a comment would help.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.