mirror of https://github.com/golang/go.git
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> |
||
|---|---|---|
| .. | ||
| example_test.go | ||
| fallback_test.go | ||
| sha256.go | ||
| sha256_test.go | ||
| sha256block.go | ||
| sha256block_386.s | ||
| sha256block_amd64.go | ||
| sha256block_amd64.s | ||
| sha256block_arm64.go | ||
| sha256block_arm64.s | ||
| sha256block_decl.go | ||
| sha256block_generic.go | ||
| sha256block_ppc64le.s | ||
| sha256block_s390x.go | ||
| sha256block_s390x.s | ||