File: cpu_riscv64.go

package info (click to toggle)
icingadb 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 45,716 kB
  • sloc: ansic: 169,210; asm: 7,097; sql: 4,098; sh: 1,415; cpp: 1,132; makefile: 418; xml: 160
file content (20 lines) | stat: -rw-r--r-- 538 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build riscv64

package cpu

const cacheLineSize = 64

func initOptions() {
	options = []option{
		{Name: "fastmisaligned", Feature: &RISCV64.HasFastMisaligned},
		{Name: "c", Feature: &RISCV64.HasC},
		{Name: "v", Feature: &RISCV64.HasV},
		{Name: "zba", Feature: &RISCV64.HasZba},
		{Name: "zbb", Feature: &RISCV64.HasZbb},
		{Name: "zbs", Feature: &RISCV64.HasZbs},
	}
}