]> Cypherpunks repositories - gostls13.git/commit
runtime: simplify detection of preference to use AVX memmove
authorMartin Möhrmann <moehrmann@google.com>
Mon, 24 Apr 2017 14:59:33 +0000 (16:59 +0200)
committerMartin Möhrmann <moehrmann@google.com>
Tue, 25 Apr 2017 04:50:04 +0000 (04:50 +0000)
commitb64e817853531cc73dd5fd13a5038434283d3e5b
treefa4dc1b0fbbc0fa8adb6a72751eed7277a1e3f61
parent16271b8b52b059b892165d7dd32ecd4ff1070347
runtime: simplify detection of preference to use AVX memmove

Reduces cmd/go by 4464 bytes on amd64.

Removes the duplicate detection of AVX support and
presence of Intel processors.

Change-Id: I4670189951a63760fae217708f68d65e94a30dc5
Reviewed-on: https://go-review.googlesource.com/41570
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/asm_386.s
src/runtime/asm_amd64.s
src/runtime/asm_amd64p32.s
src/runtime/cpuflags_amd64.go
src/runtime/cpuidlow_amd64.s [deleted file]
src/runtime/memmove_amd64.s
src/runtime/runtime2.go