1
0
mirror of https://github.com/golang/go synced 2024-11-07 20:06:21 -07:00
go/src/internal/cpu
Russ Cox 4f1b0a44cb all: update to use os.ReadFile, os.WriteFile, os.CreateTemp, os.MkdirTemp
As part of #42026, these helpers from io/ioutil were moved to os.
(ioutil.TempFile and TempDir became os.CreateTemp and MkdirTemp.)

Update the Go tree to use the preferred names.

As usual, code compiled with the Go 1.4 bootstrap toolchain
and code vendored from other sources is excluded.

ReadDir changes are in a separate CL, because they are not a
simple search and replace.

For #42026.

Change-Id: If318df0216d57e95ea0c4093b89f65e5b0ababb3
Reviewed-on: https://go-review.googlesource.com/c/go/+/266365
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2020-12-09 19:12:23 +00:00
..
cpu_386.go
cpu_amd64.go
cpu_arm64_android.go internal/cpu: add darwin/arm64 CPU feature detection support 2020-12-07 07:59:54 +00:00
cpu_arm64_darwin.go internal/cpu: add darwin/arm64 CPU feature detection support 2020-12-07 07:59:54 +00:00
cpu_arm64_freebsd.go internal/cpu: add darwin/arm64 CPU feature detection support 2020-12-07 07:59:54 +00:00
cpu_arm64_hwcap.go internal/cpu: add darwin/arm64 CPU feature detection support 2020-12-07 07:59:54 +00:00
cpu_arm64_linux.go internal/cpu: add darwin/arm64 CPU feature detection support 2020-12-07 07:59:54 +00:00
cpu_arm64_other.go internal/cpu: add darwin/arm64 CPU feature detection support 2020-12-07 07:59:54 +00:00
cpu_arm64.go internal/cpu: add darwin/arm64 CPU feature detection support 2020-12-07 07:59:54 +00:00
cpu_arm64.s runtime: improve memmove performance on arm64 2020-11-02 15:23:43 +00:00
cpu_arm.go
cpu_mips64x.go
cpu_mips.go internal/cpu: make architectures without initialization work explicit 2020-10-20 12:10:43 +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 testing: print cpu type as label for benchmarks 2020-10-20 21:30:18 +00:00
cpu_ppc64x_aix.go runtime: move ppc64/aix cpu feature detection to internal/cpu 2020-10-29 13:49:26 +00:00
cpu_ppc64x_linux.go runtime: move ppc64/aix cpu feature detection to internal/cpu 2020-10-29 13:49:26 +00:00
cpu_ppc64x.go runtime: move ppc64/aix cpu feature detection to internal/cpu 2020-10-29 13:49:26 +00:00
cpu_riscv64.go internal/cpu: make architectures without initialization work explicit 2020-10-20 12:10:43 +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_s390x.go runtime: move s390x HWCap CPU feature detection to internal/cpu 2020-10-22 17:11:03 +00:00
cpu_s390x.s
cpu_test.go internal/cpu: add darwin/arm64 CPU feature detection support 2020-12-07 07:59:54 +00:00
cpu_wasm.go internal/cpu: make architectures without initialization work explicit 2020-10-20 12:10:43 +00:00
cpu_x86_test.go
cpu_x86.go internal/cpu: disable FMA when OSXSAVE is not enabled on x86 2020-12-03 16:31:53 +00:00
cpu_x86.s
cpu.go internal/cpu: fix and cleanup ARM64 cpu feature fields and options 2020-11-05 10:46:08 +00:00
cpu.s runtime: move ppc64/aix cpu feature detection to internal/cpu 2020-10-29 13:49:26 +00:00
export_test.go