summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/sys/cpu/cpu_riscv64.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/sys/cpu/cpu_riscv64.go')
-rw-r--r--vendor/golang.org/x/sys/cpu/cpu_riscv64.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/vendor/golang.org/x/sys/cpu/cpu_riscv64.go b/vendor/golang.org/x/sys/cpu/cpu_riscv64.go
deleted file mode 100644
index aca3199c9..000000000
--- a/vendor/golang.org/x/sys/cpu/cpu_riscv64.go
+++ /dev/null
@@ -1,20 +0,0 @@
-// 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},
- }
-}