]> Cypherpunks repositories - gostls13.git/commit
internal/cpu: add darwin/arm64 CPU feature detection support
authorMartin Möhrmann <moehrmann@google.com>
Sat, 21 Nov 2020 16:44:04 +0000 (17:44 +0100)
committerMartin Möhrmann <moehrmann@google.com>
Mon, 7 Dec 2020 07:59:54 +0000 (07:59 +0000)
commitc15593197453b8bf90fc3a9080ba2afeaf7934ea
treed0c9e386625721d141867690e427dfd8c84d5c62
parente10c94af26b95f4af71c4a040b3d3f01499d01de
internal/cpu: add darwin/arm64 CPU feature detection support

Fixes #42747

Change-Id: I6b1679348c77161f075f0678818bb003fc0e8c86
Reviewed-on: https://go-review.googlesource.com/c/go/+/271989
Trust: Martin Möhrmann <moehrmann@google.com>
Run-TryBot: Martin Möhrmann <martisch@uos.de>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
14 files changed:
src/internal/cpu/cpu_android.go [deleted file]
src/internal/cpu/cpu_arm64.go
src/internal/cpu/cpu_arm64_android.go [moved from src/internal/cpu/cpu_linux.go with 75% similarity]
src/internal/cpu/cpu_arm64_darwin.go [new file with mode: 0644]
src/internal/cpu/cpu_arm64_freebsd.go [new file with mode: 0644]
src/internal/cpu/cpu_arm64_hwcap.go [new file with mode: 0644]
src/internal/cpu/cpu_arm64_linux.go [moved from src/internal/cpu/cpu_other.go with 73% similarity]
src/internal/cpu/cpu_arm64_other.go [new file with mode: 0644]
src/internal/cpu/cpu_freebsd.go [deleted file]
src/internal/cpu/cpu_test.go
src/runtime/os_darwin.go
src/runtime/sys_darwin.go
src/runtime/sys_darwin_amd64.s
src/runtime/sys_darwin_arm64.s