Skip to content

Commit e87ff32

Browse files
ferakoczSandhya Viswanathan
authored andcommitted
8351034: Add AVX-512 intrinsics for ML-DSA
Reviewed-by: sviswanathan, lmesnik, vpaprotski, jbhateja
1 parent e3f26b0 commit e87ff32

File tree

10 files changed

+1280
-42
lines changed

10 files changed

+1280
-42
lines changed

src/hotspot/cpu/x86/stubDeclarations_x86.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
do_arch_blob, \
8686
do_arch_entry, \
8787
do_arch_entry_init) \
88-
do_arch_blob(compiler, 20000 LP64_ONLY(+64000) WINDOWS_ONLY(+2000)) \
88+
do_arch_blob(compiler, 20000 LP64_ONLY(+89000) WINDOWS_ONLY(+2000)) \
8989
do_stub(compiler, vector_float_sign_mask) \
9090
do_arch_entry(x86, compiler, vector_float_sign_mask, \
9191
vector_float_sign_mask, vector_float_sign_mask) \

src/hotspot/cpu/x86/stubGenerator_x86_64.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4204,6 +4204,8 @@ void StubGenerator::generate_compiler_stubs() {
42044204

42054205
generate_chacha_stubs();
42064206

4207+
generate_dilithium_stubs();
4208+
42074209
generate_sha3_stubs();
42084210

42094211
// data cache line writeback

src/hotspot/cpu/x86/stubGenerator_x86_64.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,8 +489,9 @@ class StubGenerator: public StubCodeGenerator {
489489

490490
// SHA3 stubs
491491
void generate_sha3_stubs();
492-
address generate_sha3_implCompress(StubGenStubId stub_id);
493492

493+
// Dilithium stubs and helper functions
494+
void generate_dilithium_stubs();
494495
// BASE64 stubs
495496

496497
address base64_shuffle_addr();

0 commit comments

Comments
 (0)