Source file src/vendor/golang.org/x/sys/cpu/cpu_riscv64.go

     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.
     4  
     5  //go:build riscv64
     6  
     7  package cpu
     8  
     9  const cacheLineSize = 64
    10  
    11  func initOptions() {
    12  	options = []option{
    13  		{Name: "fastmisaligned", Feature: &RISCV64.HasFastMisaligned},
    14  		{Name: "c", Feature: &RISCV64.HasC},
    15  		{Name: "v", Feature: &RISCV64.HasV},
    16  		{Name: "zba", Feature: &RISCV64.HasZba},
    17  		{Name: "zbb", Feature: &RISCV64.HasZbb},
    18  		{Name: "zbs", Feature: &RISCV64.HasZbs},
    19  	}
    20  }
    21  

View as plain text