]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: enable disjoint memmove inlining on amd64
authorIlya Tocar <ilya.tocar@intel.com>
Wed, 9 May 2018 20:49:22 +0000 (15:49 -0500)
committerIlya Tocar <ilya.tocar@intel.com>
Mon, 20 Aug 2018 21:10:12 +0000 (21:10 +0000)
commitc292b32f33d4c466abb769782d9cdfacdb76688b
tree35ef7b3e8d7a2c84adcc2e161693c3dd9e227647
parent3000795c83336b83608a8104fdb2a4643b43e941
cmd/compile: enable disjoint memmove inlining on amd64

Memmove can use AVX/prefetches/other optional instructions, so
only do it for small sizes, when call overhead dominates.

Change-Id: Ice5e93deb11462217f7fb5fc350b703109bb4090
Reviewed-on: https://go-review.googlesource.com/112517
Run-TryBot: Ilya Tocar <ilya.tocar@intel.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Munday <mike.munday@ibm.com>
src/cmd/compile/internal/ssa/rewrite.go
test/codegen/copy.go