diff options
author | Fangming.Fang <fangming.fang@arm.com> | 2017-11-08 02:17:51 +0000 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2017-11-14 19:07:15 +0000 |
commit | 66bfbd9ad7a93ea85175bf1db663ca5f440666e3 (patch) | |
tree | 7ada947a495b21f1520f1534a287ef9dcc398b0e /src/runtime/os_darwin_arm64.go | |
parent | b3ee6f0c2e8be8701ec15f3fb91397e086f106ae (diff) | |
download | go-66bfbd9ad7a93ea85175bf1db663ca5f440666e3.tar.gz go-66bfbd9ad7a93ea85175bf1db663ca5f440666e3.zip |
internal/cpu: detect cpu features in internal/cpu package
change hash/crc32 package to use cpu package instead of using
runtime internal variables to check crc32 instruction
Change-Id: I8f88d2351bde8ed4e256f9adf822a08b9a00f532
Reviewed-on: https://go-review.googlesource.com/76490
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/os_darwin_arm64.go')
-rw-r--r-- | src/runtime/os_darwin_arm64.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/runtime/os_darwin_arm64.go b/src/runtime/os_darwin_arm64.go index 01285afa19..8de132d8e2 100644 --- a/src/runtime/os_darwin_arm64.go +++ b/src/runtime/os_darwin_arm64.go @@ -4,8 +4,6 @@ package runtime -var supportCRC32 = false - //go:nosplit func cputicks() int64 { // Currently cputicks() is used in blocking profiler and to seed runtime·fastrand(). |