Skip to content

[GR-65454] Port poly1305 stubs#13520

Open
graalvmbot wants to merge 1 commit into
masterfrom
yz/GR-65454
Open

[GR-65454] Port poly1305 stubs#13520
graalvmbot wants to merge 1 commit into
masterfrom
yz/GR-65454

Conversation

@graalvmbot
Copy link
Copy Markdown
Collaborator

Key Changes:

  • Added AArch64Poly1305ProcessBlocksOp and AMD64Poly1305ProcessBlocksOp with optimized assembly implementations for Poly1305 processMultipleBlocks (AVX512_IFMA/VL/BW/F fallback to AVX2+IFMA on AMD64; scalar on AArch64).
  • Added Poly1305ProcessBlocksNode intrinsic replacing foreign calls, with support checks for architectures.
  • Updated HotSpotPoly1305Test.java (new) and HotSpotCryptoSubstitutionTest.java with Poly1305 tests (KAT vectors, offsets, zero/large inputs, graph lowering).
  • Extended AMD64Assembler with new VEX/EVEX ops (vpmadd52luq, vpmadd52huq, evpmadd52luq, etc.).
  • Added emitPoly1305ProcessBlocks in AArch64LIRGenerator/AMD64LIRGenerator and LIRGeneratorTool.
  • Added Poly1305 GraphBuilder plugin in StandardGraphBuilderPlugins.
  • Updated Stubs.java/SVMIntrinsicStubs/StubForeignCallsFeature for Poly1305 stubs.

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants