commit | bc2ef10f1b658ea907736406814a6187b49ea3ec | [log] [tgz] |
---|---|---|
author | Alex Vaghin <ddos@google.com> | Mon Jun 04 16:47:02 2018 +0200 |
committer | Alex Vaghin <ddos@google.com> | Wed Jun 06 16:53:29 2018 +0000 |
tree | e0512beac6af0268cb2e263110e7c5826d652bc4 | |
parent | 538ab54ba952cc4c7c705fa213fbf7993c97c175 [diff] |
cpu: add gccgo implementation It uses __get_cpuid_count, provided by cpuid.h. The xgetbv is implemented after its counterpart in cpu_x86.s. Change-Id: I97624d7da67ab4ec3c9a53b0bfc4dfcdf7d12c87 Reviewed-on: https://go-review.googlesource.com/116155 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This repository holds supplemental Go packages for low-level interactions with the operating system.
The easiest way to install is to run go get -u golang.org/x/sys
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/sys
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the sys repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/sys:” in the subject line, so it is easy to find.