]> Cypherpunks repositories - gostls13.git/commit
crypto/sha512: Add AVX2 version for AMD64
authorIlya Tocar <ilya.tocar@intel.com>
Wed, 8 Feb 2017 21:31:54 +0000 (15:31 -0600)
committerRuss Cox <rsc@golang.org>
Fri, 10 Feb 2017 16:26:32 +0000 (16:26 +0000)
commit6ac8ccf4b3b7ffe946b99e5031b88edc611e32ec
tree664b4681d1dad1d0c5fac4ee947372fe75de9e52
parent630e93ed2d8a13226903451a0e85e62efd78cdcd
crypto/sha512: Add AVX2 version for AMD64

name          old time/op    new time/op     delta
Hash8Bytes-6     913ns ± 0%      667ns ± 0%  -26.91%  (p=0.000 n=10+10)
Hash1K-6        6.58µs ± 0%     4.23µs ± 0%  -35.69%  (p=0.000 n=10+9)
Hash8K-6        45.9µs ± 0%     28.1µs ± 0%  -38.93%  (p=0.000 n=10+10)

name          old speed      new speed       delta
Hash8Bytes-6  8.76MB/s ± 0%  11.99MB/s ± 0%  +36.87%  (p=0.000 n=10+8)
Hash1K-6       156MB/s ± 0%    242MB/s ± 0%  +55.49%  (p=0.000 n=10+9)
Hash8K-6       178MB/s ± 0%    292MB/s ± 0%  +63.74%  (p=0.000 n=10+10)

Change-Id: Ic9211d68b02935b2195995f264ec57d6bc36f713
Reviewed-on: https://go-review.googlesource.com/36630
Run-TryBot: Ilya Tocar <ilya.tocar@intel.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/crypto/sha512/sha512block_amd64.go [new file with mode: 0644]
src/crypto/sha512/sha512block_amd64.s
src/crypto/sha512/sha512block_decl.go