]> Cypherpunks repositories - gostls13.git/commit
internal/cpu: align capability definitions for x86 with other architectures
authorMartin Möhrmann <moehrmann@google.com>
Sun, 4 Feb 2018 19:39:39 +0000 (20:39 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 10 Apr 2018 16:23:44 +0000 (16:23 +0000)
commit7289607b1bee260912311b4eb407d9764d9a3687
tree2582650f829acfd3b309277e1f7645c3a34bb2dc
parent954f651ccc2f779a8e570a669a0a89bba53c2789
internal/cpu: align capability definitions for x86 with other architectures

Use constant masks and align the definition of isSet with
arm64 and ppc64x.

Change-Id: I0c6eae30da5e3ce797cde0dab4a39855d4d245d9
Reviewed-on: https://go-review.googlesource.com/94759
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/internal/cpu/cpu_x86.go