aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/compiler.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2020-01-23 11:29:28 -0500
committerJack Lloyd <[email protected]>2020-01-23 11:29:28 -0500
commit901d89a3ffa113b06fa0e600d622d5d088a2fa9d (patch)
treef5e5183fbe2f2bf0b4945b1498ff0094ae2e5d41 /src/lib/utils/compiler.h
parent206c18114e7e7336a6f41251979b979bb74223e7 (diff)
Add support for POWER VPSUM instruction for GCM
On POWER8, improves GMAC performance by 5-14x and AES-128/GCM performance by 3-7x, depending on the buffer size used. We are not using the instruction optimally here, because VPSUM can compute 2 distinct carryless multiplies and then add the products together. Instead we emulate clmul/pmull behavior using masks and shifts.
Diffstat (limited to 'src/lib/utils/compiler.h')
0 files changed, 0 insertions, 0 deletions