diff options
| author | Paul E. Murphy <murp@ibm.com> | 2022-03-24 11:44:42 -0500 |
|---|---|---|
| committer | Paul Murphy <murp@ibm.com> | 2022-05-06 17:56:48 +0000 |
| commit | f495b36ccdfe93629cb83f8be79dca662ef68a64 (patch) | |
| tree | 04b48da4694cf5b519fa407b79d4db7745c6120e /src/debug/pe | |
| parent | 9c9090eb1da540c7d757df0c60423319a28759d3 (diff) | |
| download | go-f495b36ccdfe93629cb83f8be79dca662ef68a64.tar.xz | |
crypto/aes: rewrite ppc64le block crypting
This unrolls the counter loop and simplifies the load/storing
of text/ciphertext and keys by using unaligned VSX memory
operations.
Performance delta on POWER9:
name old time/op new time/op delta
Encrypt 19.9ns ± 0% 14.9ns ± 0% -24.95%
Decrypt 19.8ns ± 0% 14.6ns ± 0% -26.12%
Change-Id: Iba98d5c1d88c6bead45bc04c97ae64bcb6fc9f21
Reviewed-on: https://go-review.googlesource.com/c/go/+/404354
Run-TryBot: Paul Murphy <murp@ibm.com>
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Filippo Valsorda <valsorda@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/debug/pe')
0 files changed, 0 insertions, 0 deletions
