go/src/hash/crc32
Martin Möhrmann cd0e79d9f1 all: use internal/cpu feature variables directly
Avoid using package specific variables when there is a one to one
correspondance to cpu feature support exported by internal/cpu.

This makes it clearer which cpu feature is referenced.
Another advantage is that internal/cpu variables are padded to avoid
false sharing and memory and cache usage is shared by multiple packages.

Change-Id: If18fb448a95207cfa6a3376f3b2ddc4b230dd138
Reviewed-on: https://go-review.googlesource.com/126596
Run-TryBot: Martin Möhrmann <moehrmann@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-08-20 14:47:07 +00:00
..
crc32.go all: update comment URLs from HTTP to HTTPS, where possible 2018-06-01 21:52:00 +00:00
crc32_amd64.go internal/cpu: new package to detect cpu features 2017-05-10 17:02:21 +00:00
crc32_amd64.s all: update comment URLs from HTTP to HTTPS, where possible 2018-06-01 21:52:00 +00:00
crc32_amd64p32.go internal/cpu: new package to detect cpu features 2017-05-10 17:02:21 +00:00
crc32_amd64p32.s internal/cpu: new package to detect cpu features 2017-05-10 17:02:21 +00:00
crc32_arm64.go all: use internal/cpu feature variables directly 2018-08-20 14:47:07 +00:00
crc32_arm64.s internal/cpu: detect cpu features in internal/cpu package 2017-11-14 19:07:15 +00:00
crc32_generic.go
crc32_otherarch.go hash/crc32: optimize arm64 crc32 implementation 2017-04-13 12:44:10 +00:00
crc32_ppc64le.go Revert "go/printer: forbid empty line before first comment in block" 2017-12-01 01:12:26 +00:00
crc32_ppc64le.s all: fix minor misspellings 2017-04-03 23:19:07 +00:00
crc32_s390x.go
crc32_s390x.s all: fix minor misspellings 2017-04-03 23:19:07 +00:00
crc32_table_ppc64le.s
crc32_test.go crypto, hash: implement BinaryMarshaler, BinaryUnmarshaler in hash implementations 2017-11-01 21:04:12 +00:00
example_test.go
gen_const_ppc64le.go