RFR: 8374755: ML-KEM's 12-bit decompression can be simplified on aarch64 [v3]

duke duke at openjdk.org
Wed Jan 21 12:22:24 UTC 2026


On Mon, 19 Jan 2026 14:01:56 GMT, Ferenc Rakoczi <duke at openjdk.org> wrote:

>> The preconditions for the aarch64 and the AVX-512 intrinsic implementations of the implKyber12To16() method of com.sun.crypto.provider.ML_KEM are different and the AVX-512 one has stricter preconditions on the input, which was not recorded in the assert() before calling the function (although they were satisfied by all calling code). Now the assert() is corrected, and with these preconditions, the aarch64 implementation is simplified.
>
> Ferenc Rakoczi has updated the pull request incrementally with one additional commit since the last revision:
> 
>   improve comment

@ferakocz 
Your change (at version da86c0bbdba0ec17891621c391cb8cc142dca93f) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/29141#issuecomment-3777794081


More information about the hotspot-compiler-dev mailing list