On Wed, 24 Jun 2026 02:52:13 GMT, Volodymyr Paprotski <[email protected]> 
wrote:

> With `quadKeccak`, it is possible to have 3 extra `keccak`s calls that are 
> really noops.. teach `SHA3Parallel.squeeze()` how many operations it really 
> should be doing.
> 
> While it is possible to match precisely the number of keccak calls required.. 
> the previous implementation always called doubleKeccak, so collapsing the odd 
> numbers to the closest even.
> 
> PS:  `make install-hsdis test 
> TEST="micro:org.openjdk.bench.javax.crypto.full.SignatureBench.MLDSA" 
> MICRO="JAVA_OPTIONS=-XX:+UnlockDiagnosticVMOptions 
> -XX:-UseSHA3Intrinsics;FORK=1;ITER=3;TIME=10;WARMUP_ITER=7;WARMUP_TIME=10;OPTIONS=-prof
>  perfasm -p algorithm=ML-DSA-65"`
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 58f118dd
Author:    Volodymyr Paprotski <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/58f118dd1c541a69b5c839609d026865a3365101
Stats:     26 lines in 3 files changed: 19 ins; 0 del; 7 mod

8386911: Crypto benchmark regressions after JDK-8384353

Reviewed-by: weijun, semery

-------------

PR: https://git.openjdk.org/jdk/pull/31648

Reply via email to