]> Cypherpunks repositories - gostls13.git/commit
internal/cpu: fix wrong cache line size of riscv64
authorMeng Zhuo <mzh@golangcn.org>
Fri, 8 Sep 2023 09:53:34 +0000 (17:53 +0800)
committerM Zhuo <mzh@golangcn.org>
Tue, 12 Sep 2023 01:18:38 +0000 (01:18 +0000)
commit5e31f78c8a4ed1b872ddc194f0cd1ae931b37d7e
treeb2920262274358ab872441b17d5112cb1231a249
parent8221f90f1347bd96548d48b178c8bcb0607cde8f
internal/cpu: fix wrong cache line size of riscv64

All of riscv CPU using 64B for cache-line size.
i.e. U540 of Hifive Unleashed (https://www.sifive.com/boards/hifive-unleashed)

Change-Id: I0d72d88ac026f45383c3b3eb3a77233d3c2e4004
Reviewed-on: https://go-review.googlesource.com/c/go/+/526659
Run-TryBot: M Zhuo <mzh@golangcn.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/internal/cpu/cpu_riscv64.go