golang/src/internal/cpu
Cherry Mui 41aab30bd2 all: add push linknames to allow legacy pull linknames
CL 585358 adds restrictions to disallow pull-only linknames
(currently off by default). Currently, there are quite some pull-
only linknames in user code in the wild. In order not to break
those, we add push linknames to allow them to be pulled. This CL
includes linknames found in a large code corpus (thanks Matthew
Dempsky and Michael Pratt for the analysis!), that are not
currently linknamed.

Updates #67401.

Change-Id: I32f5fc0c7a6abbd7a11359a025cfa2bf458fe767
Reviewed-on: https://go-review.googlesource.com/c/go/+/586137
Reviewed-by: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-05-17 16:48:00 +00:00
..
badlinkname_linux_arm64.go all: add push linknames to allow legacy pull linknames 2024-05-17 16:48:00 +00:00
cpu.go cmd/link: disallow pull-only linknames 2024-05-15 19:57:43 +00:00
cpu.s runtime: move ppc64/aix cpu feature detection to internal/cpu 2020-10-29 13:49:26 +00:00
cpu_arm.go runtime: on arm32, detect whether we have sync instructions 2023-10-31 20:38:55 +00:00
cpu_arm64.go internal/cpu: add a detection for Neoverse(N2, V2) cores 2023-04-25 14:08:20 +00:00
cpu_arm64.s runtime: improve memmove performance on arm64 2020-11-02 15:23:43 +00:00
cpu_arm64_android.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
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 all: fix typos 2024-01-30 20:09:45 +00:00
cpu_arm64_linux.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
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 internal/cpu: make architectures without initialization work explicit 2020-10-20 12:10:43 +00:00
cpu_mips64x.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
cpu_mipsle.go internal/cpu: make architectures without initialization work explicit 2020-10-20 12:10:43 +00:00
cpu_no_name.go internal/cpu: report CPU if known on PPC64 2022-05-10 20:05:43 +00:00
cpu_ppc64x.go internal/cpu: report CPU if known on PPC64 2022-05-10 20:05:43 +00:00
cpu_ppc64x_aix.go internal/cpu: report CPU if known on PPC64 2022-05-10 20:05:43 +00:00
cpu_ppc64x_linux.go internal/cpu: report CPU if known on PPC64 2022-05-10 20:05:43 +00:00
cpu_ppc64x_other.go internal/cpu: add default osinit for ppc64/ppc64le 2023-03-18 06:24:06 +00:00
cpu_riscv64.go internal/cpu: fix wrong cache line size of riscv64 2023-09-12 01:18:38 +00:00
cpu_s390x.go runtime: move s390x HWCap CPU feature detection to internal/cpu 2020-10-22 17:11:03 +00:00
cpu_s390x.s cmd/asm: fix the KMCTR instruction encoding and argument passing 2023-11-22 03:55:32 +00:00
cpu_s390x_test.go all: update to use os.ReadFile, os.WriteFile, os.CreateTemp, os.MkdirTemp 2020-12-09 19:12:23 +00:00
cpu_test.go all: use ^TestName$ regular pattern for invoking a single test 2023-09-05 23:35:29 +00:00
cpu_wasm.go internal/cpu: make architectures without initialization work explicit 2020-10-20 12:10:43 +00:00
cpu_x86.go internal/cpu: detect support of AVX512 2023-11-15 18:30:03 +00:00
cpu_x86.s internal/cpu: disallow disabling options that are required for microarch 2022-03-14 21:23:36 +00:00
cpu_x86_test.go internal/cpu: detect support of AVX512 2023-11-15 18:30:03 +00:00
export_test.go runtime: don't use linkname to refer to internal/cpu 2018-08-21 14:36:09 +00:00
export_x86_test.go internal/cpu: don't run SSE3 disable test if GOAMD64>1 2022-03-15 17:04:57 +00:00