]> Cypherpunks repositories - gostls13.git/commit
runtime: use internal/cpu instead of support_avx
authorTobias Klauser <tklauser@distanz.ch>
Wed, 11 Apr 2018 07:57:18 +0000 (09:57 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Wed, 11 Apr 2018 13:50:04 +0000 (13:50 +0000)
commite0ac5f540bf0d5fff39ce05d60e82d97a011e935
treef4081b9912223fe70db94a7b1415d19873c7409d
parent51533fdac6157c4abb546619bf05530821557539
runtime: use internal/cpu instead of support_avx

After CL 104636 cpu.X86.HasAVX is set early enough that it can be used
to determine useAVXmemmove. Use it and remove support_avx.

Change-Id: Ib7a627bede2bf96c92362507e742bd833cb42a74
Reviewed-on: https://go-review.googlesource.com/106235
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/asm_386.s
src/runtime/asm_amd64.s
src/runtime/asm_amd64p32.s
src/runtime/cpuflags_amd64.go
src/runtime/runtime2.go