> This PR delivers ChaCha20 intrinsics that accelerate the core block function > that generates key stream from the key, counter and nonce. Intrinsics have > been written for the following platforms and instruction sets: > > - x86_64: AVX, AVX2 and AVX512 > - aarch64: platforms that support the advanced SIMD instructions > > Note: Microbenchmark results moved to a comment in the PR so we don't have to > see it in every email. > > Special thanks to the folks who have made many helpful comments while this PR > was in draft form.
Jamil Nimeh has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 50 commits: - Merge with main - Add AVX assertion guard - Pull out common macro code into function parameter pack - replace hi/lo word shuffles and left-right shift/or operations for vpshufd on byte-aligned rotations - Change intrinsic helper method name conform to convention - consolidate chacha macroAssembler routines into chacha stubGenerator file - More indentation fixes on aarch64 - rename chapoly->chacha for macro file - rename chacha macro file to be consistent with x86_64 naming - Fix indentation issues - ... and 40 more: https://git.openjdk.org/jdk/compare/392ac705...bb3f4264 ------------- Changes: https://git.openjdk.org/jdk/pull/7702/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=7702&range=04 Stats: 1593 lines in 28 files changed: 1555 ins; 4 del; 34 mod Patch: https://git.openjdk.org/jdk/pull/7702.diff Fetch: git fetch https://git.openjdk.org/jdk pull/7702/head:pull/7702 PR: https://git.openjdk.org/jdk/pull/7702