]> Cypherpunks repositories - gostls13.git/commit
crypto/cipher: xorBytes performance ppc64le/ppc64
authorLynn Boger <laboger@linux.vnet.ibm.com>
Tue, 16 Feb 2016 22:05:56 +0000 (16:05 -0600)
committerMinux Ma <minux@golang.org>
Sat, 5 Mar 2016 01:51:33 +0000 (01:51 +0000)
commit8b51ee831518584ebe063ac972b3b2ab28637853
tree5a5f23220372117f786f882a15248c37b8dc0f48
parenteb6ee75add2c9eaffd52fe572230a3fa08080f50
crypto/cipher: xorBytes performance ppc64le/ppc64

Update supportsUnaligned in xor.go to be true for
GOARCH values ppc64le and ppc64.  This allows the
xor of long buffers to be done on double words
(8 bytes) instead of a single byte at a time, which
significantly improves performance.

Fixes #14350

Change-Id: Iccc6b9d3df2e604a55f4c1e4890bdd3bb0d77ab0
Reviewed-on: https://go-review.googlesource.com/19519
Reviewed-by: Minux Ma <minux@golang.org>
src/crypto/cipher/xor.go