go/src/internal/cpu
fanzha02 e4b03f9425 internal/cpu: add a detection for Neoverse(N2, V2) cores
The memmove implementation relies on the variable
runtime.arm64UseAlignedLoads to select fastest code
path. Considering Neoverse N2 and V2 cores prefer aligned
loads, this patch adds code to detect them for
memmove performance.

And this patch uses a new variable ARM64.IsNeoverse to
represent all Neoverse cores, removing the more specific
versions.

Change-Id: I9e06eae01a0325a0b604ac6af1e55711dd6133f7
Reviewed-on: https://go-review.googlesource.com/c/go/+/487815
Reviewed-by: Joel Sing <joel@sing.id.au>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Fannie Zhang <Fannie.Zhang@arm.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-04-25 14:08:20 +00:00
..
cpu.go internal/cpu: add a detection for Neoverse(N2, V2) cores 2023-04-25 14:08:20 +00:00
cpu.s
cpu_arm.go
cpu_arm64.go internal/cpu: add a detection for Neoverse(N2, V2) cores 2023-04-25 14:08:20 +00:00
cpu_arm64.s
cpu_arm64_android.go
cpu_arm64_darwin.go internal/cpu: add sha512 for arm64 2022-08-09 01:22:19 +00:00
cpu_arm64_freebsd.go internal/cpu: deduplicate arm64 ISAR parsing code 2022-09-26 16:42:53 +00:00
cpu_arm64_hwcap.go internal/cpu: add a detection for Neoverse(N2, V2) cores 2023-04-25 14:08:20 +00:00
cpu_arm64_linux.go
cpu_arm64_openbsd.go internal/cpu: deduplicate arm64 ISAR parsing code 2022-09-26 16:42:53 +00:00
cpu_arm64_other.go internal/cpu: implement CPU feature detection for openbsd/arm64 2022-08-08 15:07:46 +00:00
cpu_loong64.go internal/cpu: fix cpu cacheLineSize for loong64 2022-05-26 20:17:08 +00:00
cpu_mips.go
cpu_mips64x.go
cpu_mipsle.go
cpu_no_name.go
cpu_ppc64x.go
cpu_ppc64x_aix.go
cpu_ppc64x_linux.go
cpu_ppc64x_other.go internal/cpu: add default osinit for ppc64/ppc64le 2023-03-18 06:24:06 +00:00
cpu_riscv64.go
cpu_s390x.go
cpu_s390x.s
cpu_s390x_test.go
cpu_test.go cmd/go: add check for unknown godebug setting 2023-04-18 13:19:19 +00:00
cpu_wasm.go
cpu_x86.go internal/cpu: detect sha-ni instruction support for AMD64 2022-08-15 15:15:10 +00:00
cpu_x86.s
cpu_x86_test.go cmd/go: add check for unknown godebug setting 2023-04-18 13:19:19 +00:00
export_test.go
export_x86_test.go