go/src/internal
Martin Möhrmann 69972aea74 internal/cpu: new package to detect cpu features
Implements detection of x86 cpu features that
are used in the go standard library.

Changes all standard library packages to use the new cpu package
instead of using runtime internal variables to check x86 cpu features.

Updates: #15403

Change-Id: I2999a10cb4d9ec4863ffbed72f4e021a1dbc4bb9
Reviewed-on: https://go-review.googlesource.com/41476
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-05-10 17:02:21 +00:00
..
cpu internal/cpu: new package to detect cpu features 2017-05-10 17:02:21 +00:00
nettrace net, net/http: don't trace DNS dials 2016-05-14 00:14:25 +00:00
poll internal/poll: remove allocation in windows FD.Writev 2017-05-08 01:50:49 +00:00
race testing: mark tests and benchmarks failed if a race occurs during execution 2016-11-03 18:19:49 +00:00
singleflight
syscall internal/syscall/windows: add GetModuleFileName 2016-11-07 22:18:24 +00:00
testenv cmd/link: skip TestDWARF when cgo is disabled 2017-03-30 22:32:33 +00:00
trace runtime: record swept and reclaimed bytes in sweep trace 2017-04-19 18:31:14 +00:00