1
0
mirror of https://github.com/golang/go synced 2024-11-08 01:56:14 -07:00
go/src/internal/cpu
Martin Möhrmann 961eb13b67 runtime: replace sys.CacheLineSize by corresponding internal/cpu const and vars
sys here is runtime/internal/sys.

Replace uses of sys.CacheLineSize for padding by
cpu.CacheLinePad or cpu.CacheLinePadSize.
Replace other uses of sys.CacheLineSize by cpu.CacheLineSize.
Remove now unused sys.CacheLineSize.

Updates #25203

Change-Id: I1daf410fe8f6c0493471c2ceccb9ca0a5a75ed8f
Reviewed-on: https://go-review.googlesource.com/126601
Run-TryBot: Martin Möhrmann <moehrmann@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2018-08-24 18:28:25 +00:00
..
cpu_386.go internal/cpu: add experiment to disable CPU features with GODEBUGCPU 2018-05-22 18:49:31 +00:00
cpu_amd64.go internal/cpu: add experiment to disable CPU features with GODEBUGCPU 2018-05-22 18:49:31 +00:00
cpu_amd64p32.go internal/cpu: add experiment to disable CPU features with GODEBUGCPU 2018-05-22 18:49:31 +00:00
cpu_arm64_test.go internal/cpu: add experiment to disable CPU features with GODEBUGCPU 2018-05-22 18:49:31 +00:00
cpu_arm64.go internal/cpu: add a CacheLinePadSize constant 2018-08-24 17:45:28 +00:00
cpu_arm.go internal/cpu: add a CacheLinePadSize constant 2018-08-24 17:45:28 +00:00
cpu_mips64.go internal/cpu: add a CacheLinePadSize constant 2018-08-24 17:45:28 +00:00
cpu_mips64le.go internal/cpu: add a CacheLinePadSize constant 2018-08-24 17:45:28 +00:00
cpu_mips.go internal/cpu: add a CacheLinePadSize constant 2018-08-24 17:45:28 +00:00
cpu_mipsle.go internal/cpu: add a CacheLinePadSize constant 2018-08-24 17:45:28 +00:00
cpu_no_init.go runtime: move arm hardware division support detection to internal/cpu 2018-08-24 14:27:07 +00:00
cpu_ppc64x_test.go internal/cpu: fix test build on ppc64 2018-05-22 20:14:05 +00:00
cpu_ppc64x.go internal/cpu: add a CacheLinePadSize constant 2018-08-24 17:45:28 +00:00
cpu_s390x_test.go crypto, internal/cpu: fix s390x AES feature detection and update SHA implementations 2018-06-11 11:41:31 +00:00
cpu_s390x.go internal/cpu: add a CacheLinePadSize constant 2018-08-24 17:45:28 +00:00
cpu_s390x.s crypto, internal/cpu: fix s390x AES feature detection and update SHA implementations 2018-06-11 11:41:31 +00:00
cpu_test.go internal/cpu: add experiment to disable CPU features with GODEBUGCPU 2018-05-22 18:49:31 +00:00
cpu_wasm.go internal/cpu: add a CacheLinePadSize constant 2018-08-24 17:45:28 +00:00
cpu_x86_test.go internal/cpu: add experiment to disable CPU features with GODEBUGCPU 2018-05-22 18:49:31 +00:00
cpu_x86.go internal/cpu: add a CacheLinePadSize constant 2018-08-24 17:45:28 +00:00
cpu_x86.s
cpu.go runtime: replace sys.CacheLineSize by corresponding internal/cpu const and vars 2018-08-24 18:28:25 +00:00
export_test.go runtime: don't use linkname to refer to internal/cpu 2018-08-21 14:36:09 +00:00