Skip to content

Commit

Permalink
cpu: add basic support for GOARCH=riscv64
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
tklauser authored and bradfitz committed Nov 13, 2019
1 parent e43da5d commit 2f3576d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cpu/cpu_riscv64.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// 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.

// +build riscv64

package cpu

const cacheLineSize = 32

0 comments on commit 2f3576d

Please sign in to comment.