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

     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.
     4  
     5  //go:build ppc64 || ppc64le
     6  // +build ppc64 ppc64le
     7  
     8  package cpu
     9  
    10  const cacheLineSize = 128
    11  
    12  func initOptions() {
    13  	options = []option{
    14  		{Name: "darn", Feature: &PPC64.HasDARN},
    15  		{Name: "scv", Feature: &PPC64.HasSCV},
    16  	}
    17  }