]> Cypherpunks repositories - gostls13.git/commit
crypto/md5: add s390x assembly implementation
authorMichael Munday <munday@ca.ibm.com>
Tue, 26 Apr 2016 03:31:36 +0000 (23:31 -0400)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 27 Apr 2016 22:11:41 +0000 (22:11 +0000)
commit239fb76ea01b88a2b3dff8b4da357e605435b980
tree5e2bc6b28dd5808faee0a7dad1ccdb2f5beb34ee
parentf4d38a87927f42272c7dfd10283beac8865edeab
crypto/md5: add s390x assembly implementation

Adapted from md5block_amd64.s.

name                 old speed      new speed      delta
Hash8Bytes           14.0MB/s ± 1%  39.9MB/s ± 0%  +185.52%   (p=0.000 n=9+10)
Hash1K                176MB/s ± 1%   661MB/s ± 1%  +274.44%  (p=0.000 n=10+10)
Hash8K                196MB/s ± 0%   742MB/s ± 1%  +278.35%   (p=0.000 n=10+9)
Hash8BytesUnaligned  14.2MB/s ± 2%  39.8MB/s ± 0%  +180.06%  (p=0.000 n=10+10)
Hash1KUnaligned       177MB/s ± 1%   651MB/s ± 0%  +267.38%  (p=0.000 n=10+10)
Hash8KUnaligned       197MB/s ± 1%   731MB/s ± 1%  +271.73%  (p=0.000 n=10+10)

Change-Id: I45ece98ee10f30fcd192b9c3d743ba61c248f36a
Reviewed-on: https://go-review.googlesource.com/22505
Reviewed-by: Bill O'Farrell <billotosyr@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/crypto/md5/md5block_decl.go
src/crypto/md5/md5block_generic.go
src/crypto/md5/md5block_s390x.s [new file with mode: 0644]