RFR: 8348561: Add aarch64 intrinsics for ML-DSA [v5]

Mark Powers mpowers at openjdk.org
Mon Feb 10 21:01:18 UTC 2025


On Thu, 6 Feb 2025 18:47:54 GMT, Ferenc Rakoczi <duke at openjdk.org> wrote:

>> By using the aarch64 vector registers the speed of the computation of the ML-DSA algorithms (key generation, document signing, signature verification) can be approximately doubled.
>
> Ferenc Rakoczi has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Adding comments + some code reorganization

Some measurements:


With Intrinsics
---------------
keygen    ML-DSA-44   38.8  us/op
keygen    ML-DSA-65   82.5  us/op
keygen    ML-DSA-87  112.6  us/op
siggen    ML-DSA-44  119.1  us/op
siggen    ML-DSA-65  186.5  us/op
siggen    ML-DSA-87  306.1  us/op
sigver    ML-DSA-44   46.4  us/op
sigver    ML-DSA-65   72.8  us/op
sigver    ML-DSA-87  123.4  us/op



No Intrinsics
-------------
keygen    ML-DSA-44   63.1  us/op
keygen    ML-DSA-65  118.7  us/op
keygen    ML-DSA-87  167.2  us/op
siggen    ML-DSA-44  466.8  us/op
siggen    ML-DSA-65  546.3  us/op
siggen    ML-DSA-87  560.3  us/op
sigver    ML-DSA-44   71.6  us/op
sigver    ML-DSA-65  117.9  us/op
sigver    ML-DSA-87  180.4  us/op

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

PR Comment: https://git.openjdk.org/jdk/pull/23300#issuecomment-2649220775


More information about the hotspot-dev mailing list