1 // Copyright 2019 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 mips64 mips64le
9 // This is initialized by archauxv and should not be changed after it is
13 // HWCAP bits. These are exposed by the Linux kernel 5.4.
16 hwcap_MIPS_MSA = 1 << 1
21 {Name: "msa", Feature: &MIPS64X.HasMSA},
25 MIPS64X.HasMSA = isSet(HWCap, hwcap_MIPS_MSA)
28 func isSet(hwc uint, value uint) bool {