Skip to content

Commit

Permalink
add loong64 support (#106)
Browse files Browse the repository at this point in the history
* fix loong64 support

* fix cacheLineSize to CacheLineSize

Co-authored-by: Xi Zhang <zhangxi@loongson.cn>
  • Loading branch information
cheungxi and cheungxi committed Oct 17, 2022
1 parent 54f1f4e commit 862fe37
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions cpu/cpu_loong64.go
@@ -0,0 +1,13 @@
// Copyright 2022 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 loong64
// +build loong64

package cpu

const CacheLineSize = 64

func initOptions() {
}

0 comments on commit 862fe37

Please sign in to comment.