From 862fe372d939c53bb10cb4fd11263f3766589892 Mon Sep 17 00:00:00 2001 From: Xi Zhang Date: Tue, 18 Oct 2022 05:13:41 +0800 Subject: [PATCH] add loong64 support (#106) * fix loong64 support * fix cacheLineSize to CacheLineSize Co-authored-by: Xi Zhang --- cpu/cpu_loong64.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 cpu/cpu_loong64.go diff --git a/cpu/cpu_loong64.go b/cpu/cpu_loong64.go new file mode 100644 index 00000000..e2f160bc --- /dev/null +++ b/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() { +}