src/internal/cpu/cpu_ppc64x_other.go
raw| 1 | // Copyright 2023 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | //go:build (ppc64 || ppc64le) && !aix && !linux |
| 6 | |
| 7 | package cpu |
| 8 | |
| 9 | func osinit() { |
| 10 | // Other operating systems do not support reading HWCap from auxiliary vector, |
| 11 | // reading privileged system registers or sysctl in user space to detect CPU |
| 12 | // features at runtime. |
| 13 | } |