]> Cypherpunks repositories - gostls13.git/commit
runtime, internal/cpu: CPU capabilities detection for ppc64x
authorCarlos Eduardo Seo <cseo@linux.vnet.ibm.com>
Mon, 10 Jul 2017 18:28:27 +0000 (15:28 -0300)
committerLynn Boger <laboger@linux.vnet.ibm.com>
Mon, 14 Aug 2017 12:16:42 +0000 (12:16 +0000)
commit6661cf6dfd91dc3dd5d233e8bdb9f2d60829c68e
tree152e2e9bacdcc9f5814b449705e534c8fe9541ea
parent01385b1bb64328040cdd2ea32e3de9ce8d22386a
runtime, internal/cpu: CPU capabilities detection for ppc64x

This change replaces the current runtime capabilities check for ppc64x with the
new internal/cpu package. It also adds support for the new POWER9 ISA and
capabilities.

Updates #15403

Change-Id: I5b64a79e782f8da3603e5529600434f602986292
Reviewed-on: https://go-review.googlesource.com/53830
Reviewed-by: Martin Möhrmann <moehrmann@google.com>
src/internal/cpu/cpu.go
src/internal/cpu/cpu_ppc64.go [deleted file]
src/internal/cpu/cpu_ppc64le.go [deleted file]
src/internal/cpu/cpu_ppc64x.go [new file with mode: 0644]
src/internal/cpu/cpu_test.go
src/runtime/os_linux_ppc64x.go