]> Cypherpunks repositories - gostls13.git/commit
crypto/md5: add assembly implementation on ppc64le
authorLynn Boger <laboger@linux.vnet.ibm.com>
Wed, 20 Apr 2016 13:15:07 +0000 (08:15 -0500)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 20 Apr 2016 21:38:01 +0000 (21:38 +0000)
commit0fec75f5ca6a75962fb5037f59a1743659ac3bf3
tree4740e503c8d9a83258092506cd31a04b28e3825a
parentaea224386ea7c10c07490bb6cdef12a51fa9a9cf
crypto/md5: add assembly implementation on ppc64le

This change improves the performance of the block
function used within crypto/md5 on ppc64le.  The following
improvement was seen:

BenchmarkHash8Bytes              8.39         26.04        3.10x
BenchmarkHash1K                  99.41        407.84       4.10x
BenchmarkHash8K                  108.87       460.00       4.23x
BenchmarkHash8BytesUnaligned     8.39         25.80        3.08x
BenchmarkHash1KUnaligned         89.94        407.81       4.53x
BenchmarkHash8KUnaligned         96.57        459.22       4.76x

Fixes #15385

Change-Id: I8af5af089cc3e3740c33c662003d104de5fe1d1b
Reviewed-on: https://go-review.googlesource.com/22294
Run-TryBot: Michael Munday <munday@ca.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/crypto/md5/md5block_decl.go
src/crypto/md5/md5block_generic.go
src/crypto/md5/md5block_ppc64le.s [new file with mode: 0644]