diff options
author | Eric Biggers <ebiggers@google.com> | 2024-12-13 00:28:45 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-12-21 17:46:24 +0300 |
commit | 3cd46a78eeee8f1be545492a9de6dc37cd7d69d9 (patch) | |
tree | 9fb3f07132bb8b0745f3c44654e78f4aa21348c2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 68e95f5c6418ce1d0171fa756608a84170c56165 (diff) | |
download | linux-3cd46a78eeee8f1be545492a9de6dc37cd7d69d9.tar.xz |
crypto: x86/aes-xts - additional optimizations
Reduce latency by taking advantage of the property vaesenclast(key, a) ^
b == vaesenclast(key ^ b, a), like I did in the AES-GCM code.
Also replace a vpand and vpxor with a vpternlogd.
On AMD Zen 5 this improves performance by about 3%. Intel performance
remains about the same, with a 0.1% improvement being seen on Icelake.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions