This will be used to detect POWER8/POWER9 support in x/sys/cpu
Updates golang/go#30732
Change-Id: I10ad6e440920c34c378bf6783417bc09421ff500
Reviewed-on: https://go-review.googlesource.com/c/sys/+/166465
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Clément Chigot <clement.chigot@atos.net>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
https://build.golang.org/log/09cf10dbd292a267aae1234be2b2d5c332622d82
We can detect
cpu.IsPower8
andcpu.IsPower9
using thegetsystemcfg
syscall as in packageruntime
./cc @Helflym
The text was updated successfully, but these errors were encountered: