]> Cypherpunks repositories - gostls13.git/commit
runtime: implement cputicks with the stable counter on loong64
authorGuoqi Chen <chenguoqi@loongson.cn>
Fri, 5 Aug 2022 05:32:08 +0000 (13:32 +0800)
committerWayne Zuo <wdvxdr@golangcn.org>
Fri, 10 Mar 2023 12:47:42 +0000 (12:47 +0000)
commitf92a69f9079bc6aba242b90f185b5f40ee424fa2
tree4b362e80b5917608a10306476616d478c3fc1c20
parentf5c7416511de979433a500735c1617cf03dc46c2
runtime: implement cputicks with the stable counter on loong64

The stable counter is described in Section 2.2.10.4, LoongArch Reference Manual Volume 1.

Ref: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html

Change-Id: I160b695a8c0e38ef49b21fb8b41460fd23d9538c
Reviewed-on: https://go-review.googlesource.com/c/go/+/421656
Reviewed-by: Meidan Li <limeidan@loongson.cn>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Wayne Zuo <wdvxdr@golangcn.org>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Wayne Zuo <wdvxdr@golangcn.org>
Reviewed-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/runtime/asm_loong64.s
src/runtime/cputicks.go
src/runtime/os_linux_loong64.go