]> Cypherpunks repositories - gostls13.git/commit
internal/cpu, runtime: add CPU feature detection support for AIX
authorClément Chigot <clement.chigot@atos.net>
Thu, 25 Oct 2018 09:23:53 +0000 (11:23 +0200)
committerMartin Möhrmann <moehrmann@google.com>
Wed, 31 Oct 2018 16:11:20 +0000 (16:11 +0000)
commitcb07f492db5eae374901f94d8e55d8aeda1fca58
tree8592160a90cc64b9799324746ca7c107c76940c1
parent53856c4765b1a0ce5494174a92516853aab87d49
internal/cpu, runtime: add CPU feature detection support for AIX

AIX doesn't have HWCAP/HWCAP2 variables like Linux. Therefore, it relies on
getsystemcfg syscall which can provide some information about the CPU.

Change-Id: Ic0dc927e80890d4bf8f0bdfb43fad1e2b890d7a0
Reviewed-on: https://go-review.googlesource.com/c/144959
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Martin Möhrmann <moehrmann@google.com>
src/internal/cpu/cpu_ppc64x.go
src/runtime/os2_aix.go
src/runtime/os_aix.go