]> Cypherpunks repositories - gostls13.git/commit
internal/cpu: add DIT detection on arm64
authorRoland Shoemaker <roland@golang.org>
Mon, 15 Jul 2024 17:04:42 +0000 (10:04 -0700)
committerRoland Shoemaker <roland@golang.org>
Wed, 24 Jul 2024 18:45:33 +0000 (18:45 +0000)
commit0826b9017254b8b3ba2b84799f4c0de6107a043f
treeb4ec4359e9a70ce4ee18caccc4435f9cb0a437e7
parentb5c2b1ec13f324743613bb33cbe6c664974db48e
internal/cpu: add DIT detection on arm64

Add support for detecting the DIT feature on ARM64 processors. This
mirrors https://go.dev/cl/597377, but using the platform specific
semantics.

Updates #66450

Change-Id: Ia107e3e3369de7825af70823b485afe2f587358e
Reviewed-on: https://go-review.googlesource.com/c/go/+/598335
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/internal/cpu/cpu.go
src/internal/cpu/cpu_arm64.go
src/internal/cpu/cpu_arm64.s
src/internal/cpu/cpu_arm64_darwin.go
src/internal/cpu/cpu_arm64_freebsd.go
src/internal/cpu/cpu_arm64_hwcap.go
src/internal/cpu/cpu_arm64_openbsd.go