mirror of
https://review.haiku-os.org/buildtools
synced 2025-02-07 14:34:51 +01:00
92b3138b83
Updated dependencies: * GMP 6.2.1 * ISL 0.24 * MPL 1.2.1 * MPFR 4.1.0 The dependencies were pulled in by running the ./contrib/download_prerequisites script and then manually removing the symbolic links and archives, and renaming the directories (i.e mv isl-0.24 to isl)
22 lines
504 B
Go
22 lines
504 B
Go
// Copyright 2016 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
//go:build linux && (ppc64 || ppc64le)
|
|
|
|
package runtime
|
|
|
|
import "internal/cpu"
|
|
|
|
func archauxv(tag, val uintptr) {
|
|
switch tag {
|
|
case _AT_HWCAP:
|
|
// ppc64x doesn't have a 'cpuid' instruction
|
|
// equivalent and relies on HWCAP/HWCAP2 bits for
|
|
// hardware capabilities.
|
|
cpu.HWCap = uint(val)
|
|
case _AT_HWCAP2:
|
|
cpu.HWCap2 = uint(val)
|
|
}
|
|
}
|