cpu_ppc64x.go 387 B

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