github.com/neonyo/sys@v0.0.0-20230720094341-b1ee14be3ce8/cpu/cpu_mips64x.go (about)

     1  // Copyright 2018 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 mips64 || mips64le
     6  // +build mips64 mips64le
     7  
     8  package cpu
     9  
    10  const cacheLineSize = 32
    11  
    12  func initOptions() {
    13  	options = []option{
    14  		{Name: "msa", Feature: &MIPS64X.HasMSA},
    15  	}
    16  }