]> Cypherpunks repositories - gostls13.git/commit
internal/cpu: fix cpu cacheLineSize for loong64
authorGuoqi Chen <chenguoqi@loongson.cn>
Thu, 26 May 2022 11:38:02 +0000 (19:38 +0800)
committerGopher Robot <gobot@golang.org>
Thu, 26 May 2022 20:17:08 +0000 (20:17 +0000)
commitec9258029e40f7952051f5762b036b9d7f4f91f9
tree0327aef7ed608267fee213344fc09e07364562d2
parentf8c26a59a49e23074b20b91ed3c75958ddc81559
internal/cpu: fix cpu cacheLineSize for loong64

We choose 64 because the L1 Dcache of Loongson 3A5000 CPU is
4-way 256-line 64-byte-per-line.

Change-Id: Ifb9a9f993dd6f75b5adb4ff6e4d93e945b1b2a98
Reviewed-on: https://go-review.googlesource.com/c/go/+/408854
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Alex Rakoczy <alex@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/internal/cpu/cpu_loong64.go