go cpu_loong64 源码

  • 2022-07-15
  • 浏览 (933)

golang cpu_loong64 代码

文件路径:/src/internal/cpu/cpu_loong64.go

// 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

package cpu

// CacheLinePadSize is used to prevent false sharing of cache lines.
// We choose 64 because Loongson 3A5000 the L1 Dcache is 4-way 256-line 64-byte-per-line.
const CacheLinePadSize = 64

func doinit() {}

相关信息

go 源码目录

相关文章

go cpu 源码

go cpu_arm 源码

go cpu_arm64 源码

go cpu_arm64_android 源码

go cpu_arm64_darwin 源码

go cpu_arm64_freebsd 源码

go cpu_arm64_hwcap 源码

go cpu_arm64_linux 源码

go cpu_arm64_other 源码

go cpu_mips 源码

0  赞