<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<pre style="white-space: pre-wrap; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">This change allows use of the AVX512_VBMI/VMBI2 instruction set to further optimize decompression/parsing of polynomial coefficients for ML-KEM. The speedup gained in the ML-KEM benchmarks for key generation is between 0.2 to 0.5%, encapsulation is 0.3 to 1.5%, and decapsulation is 0 to 0.9%.
Thank you to @sviswa7 and @ferakocz for their help in working through the early stages of this code with me.
-------------
Commit messages:
- Merge with mainline
- Swap parameter operation with source
- Remove wrong mask from evpsrlvw
- Reverse ordering for vpermb and vpsrlvw instructions
- Switch from vpshldvw to vpsrlvw
- Fix whitespaces
- 8360934: Add AVX-512 intrinsics for ML-KEM - enhancement on AVX512_VBMI and AVX512_VBMI2
Changes: <a href="https://git.openjdk.org/jdk/pull/28815/files" class="moz-txt-link-freetext">https://git.openjdk.org/jdk/pull/28815/files</a>
Webrev: <a href="https://webrevs.openjdk.org/?repo=jdk&pr=28815&range=00">https://webrevs.openjdk.org/?repo=jdk&pr=28815&range=00</a>
Issue: <a href="https://bugs.openjdk.org/browse/JDK-8360934" class="moz-txt-link-freetext">https://bugs.openjdk.org/browse/JDK-8360934</a>
Stats: 88 lines in 1 file changed: 87 ins; 0 del; 1 mod
Patch: <a href="https://git.openjdk.org/jdk/pull/28815.diff" class="moz-txt-link-freetext">https://git.openjdk.org/jdk/pull/28815.diff</a>
Fetch: git fetch <a href="https://git.openjdk.org/jdk.git" class="moz-txt-link-freetext">https://git.openjdk.org/jdk.git</a> pull/28815/head:pull/28815
PR: <a href="https://git.openjdk.org/jdk/pull/28815" class="moz-txt-link-freetext">https://git.openjdk.org/jdk/pull/28815</a></pre>
<p><br>
</p>
</body>
</html>