]> Cypherpunks repositories - gostls13.git/commit
internal/cpu: deduplicate arm64 ISAR parsing code
authorJoel Sing <joel@sing.id.au>
Tue, 9 Aug 2022 08:09:46 +0000 (18:09 +1000)
committerJoel Sing <joel@sing.id.au>
Mon, 26 Sep 2022 16:42:53 +0000 (16:42 +0000)
commit1163acf3eaedf870d069058b540bfef5c470f520
treeb3772edd05c902996d0e0c62c8187c37c057c345
parent95a5e20d8f7a6f7863eb3281e3a198a577e773fe
internal/cpu: deduplicate arm64 ISAR parsing code

Deduplicate code for parsing system registers - this matches what is done
in golang.org/x/sys/cpu.

Change-Id: If3524eb2e361179c68678f8214230d7068fe4c60
Reviewed-on: https://go-review.googlesource.com/c/go/+/422217
Reviewed-by: Meng Zhuo <mzh@golangcn.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/internal/cpu/cpu_arm64.go
src/internal/cpu/cpu_arm64_freebsd.go
src/internal/cpu/cpu_arm64_openbsd.go