1
0
mirror of https://github.com/golang/go synced 2024-11-18 17:44:47 -07:00
go/src/hash
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
..
adler32 hash/adler32: Unroll loop for extra performance. 2016-04-15 10:17:17 +00:00
crc32 internal/cpu: new package to detect cpu features 2017-05-10 17:02:21 +00:00
crc64 hash/crc64: Use slicing by 8. 2016-05-18 14:38:04 +00:00
fnv hash/fnv: add 128-bit FNV hash support 2017-04-13 01:28:48 +00:00
hash.go
test_cases.txt
test_gen.awk