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.
6 // +build mips64 mips64le
10 // HWCAP bits. These are exposed by the Linux kernel 5.4.
13 hwcap_MIPS_MSA = 1 << 1
18 MIPS64X.HasMSA = isSet(hwCap, hwcap_MIPS_MSA)
21 func isSet(hwc uint, value uint) bool {