As with sha256 add support for accelerated sha512 support to libmd on
arm64. This depends on clang 13+ to build as this is the first release
with the needed intrinsics. Gcc should also support them, however from
a currently unknown release.
Details
Details
- Reviewers
cperciva cem - Group Reviewers
arm64 - Commits
- rG4741f854ce12: Add accelerated arm64 sha512 to libmd
rG71bf1c4cc5b2: Add accelerated arm64 sha512 to libmd
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Lgtm. I didn’t attempt to verify the asm implementation.
lib/libmd/Makefile | ||
---|---|---|
140 | Is sha3 the right extension for sha2-512? The sha3 feature bit seems unrelated to sha2 and I am unable to find documentation for the march flag. |
lib/libmd/Makefile | ||
---|---|---|
140 | Yes, I checked on both clang and llvm. The compiler developers seem to have grouped sha512 and sha3 together because they were both added in armv8.2. |