github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/internal/cpu/cpu_ppc64x_linux.go (about) 1 // Copyright 2020 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 6 7 package cpu 8 9 // ppc64 doesn't have a 'cpuid' equivalent, so we rely on HWCAP/HWCAP2. 10 // These are initialized by archauxv and should not be changed after they are 11 // initialized. 12 var HWCap uint 13 var HWCap2 uint