diff options
author | Ulrich Kunitz <uli.kunitz@gmail.com> | 2021-12-15 11:37:36 +0100 |
---|---|---|
committer | Keith Randall <khr@golang.org> | 2022-01-06 00:26:47 +0000 |
commit | b5bfaf410ad4dc329400b92a7818ffec5cd9ebb0 (patch) | |
tree | 9c9530fa5e06b358c5c871783f858304e110dbe2 /doc | |
parent | 2b39d86344608423138b648b98157470d3809ee7 (diff) | |
download | go-b5bfaf410ad4dc329400b92a7818ffec5cd9ebb0.tar.gz go-b5bfaf410ad4dc329400b92a7818ffec5cd9ebb0.zip |
doc: improve documentation for GOAMD64
The change clarifies in the release notes for go1.18 that the variable
is for compilation and references the microarchitecture description in
the Go Wiki,
https://golang.org/wiki/MinimumRequirements#amd64,
and references the same information in the output of go help
environment.
Fixes #50174
Change-Id: I6a7d5a06f48463a810c96cc9c76fe66113d5147c
Reviewed-on: https://go-review.googlesource.com/c/go/+/372194
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/go1.18.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/go1.18.html b/doc/go1.18.html index a5d7dcfcc5..0f313ee454 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -143,11 +143,12 @@ Do not send CLs removing the interior tags from such phrases. <h3 id="amd64">AMD64</h3> <p><!-- CL 349595 --> - Go 1.18 introduces the new <code>GOAMD64</code> environment variable which selects - a version of the AMD64 architecture. Allowed values are <code>v1</code>, + Go 1.18 introduces the new <code>GOAMD64</code> environment variable, which selects + a mininum target version of the AMD64 architecture. Allowed values are <code>v1</code>, <code>v2</code>, <code>v3</code>, or <code>v4</code>. Each higher level requires, - and takes advantage of, additional processor features. A detailed description of the - versions is <a href="https://en.wikipedia.org/wiki/X86-64#Microarchitecture_levels">here</a>. + and takes advantage of, additional processor features. A detailed + description can be found + <a href="https://golang.org/wiki/MinimumRequirements#amd64">here</a>. </p> <p> The <code>GOAMD64</code> environment variable defaults to <code>v1</code>. |