1 // Copyright 2016 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.
5 // +build ignore_for_gccgo
6 // +build ppc64 ppc64le
13 // ppc64x doesn't have a 'cpuid' instruction equivalent and relies on
14 // HWCAP/HWCAP2 bits for hardware capabilities.
16 //go:linkname cpu_hwcap internal/cpu.ppc64x_hwcap
17 //go:linkname cpu_hwcap2 internal/cpu.ppc64x_hwcap2
21 func archauxv(tag
, val
uintptr) {
26 cpu_hwcap2
= uint(val
)