Skip to content

Commit c19019e

Browse files
tklauserFiloSottile
authored andcommitted
[release-branch.go1.14-std] cpu: add basic support for GOARCH=riscv64
Updates golang/go#27532 Change-Id: I7250f272ff46f2765d498a97644fb570ae745a6c Reviewed-on: https://go-review.googlesource.com/c/sys/+/206860 Run-TryBot: Tobias Klauser <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]> (cherry picked from commit 2f3576d) Reviewed-on: https://go-review.googlesource.com/c/sys/+/217339 Run-TryBot: Filippo Valsorda <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 5219a1e commit c19019e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

cpu/cpu_riscv64.go

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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+
// +build riscv64
6+
7+
package cpu
8+
9+
const cacheLineSize = 32

0 commit comments

Comments
 (0)