Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • N nettle
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 16
    • Merge requests 16
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • Nettle
  • nettle
  • Merge requests
  • !39

[PowerPC] Optimize Poly1305 based on radix 2^44 with fat build support

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Maamoun TK requested to merge mamonet/nettle:ppc-poly into master Jan 18, 2022
  • Overview 0
  • Commits 3
  • Changes 13

This patch optimizes Poly1305 for powerpc64 architecture by utilizing POWER9-specific instruction vmsumudm for full 64-bit multiplication applied on 4-blocks at parallel based on radix 2^44

The patch also adds new option --enable-power9 for configuration to compile Power ISA v3.0 code.

testsuite passes all tests of this patch.

Benchmark of poly1305 update using nettle-benchmark on Power9

C This patch
472.63 Mbyte/s 2140.15 Mbyte/s
Edited Feb 23, 2022 by Maamoun TK
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: ppc-poly