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.
- Go 1.18 introduces the new GOAMD64 environment variable which selects
- a version of the AMD64 architecture. Allowed values are v1,
+ Go 1.18 introduces the new GOAMD64 environment variable, which selects
+ a mininum target version of the AMD64 architecture. Allowed values are v1,
v2, v3, or v4. Each higher level requires,
- and takes advantage of, additional processor features. A detailed description of the
- versions is here.
+ and takes advantage of, additional processor features. A detailed
+ description can be found
+ here.
The GOAMD64 environment variable defaults to v1.
diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go
index d90321414a..3bb9d146b2 100644
--- a/src/cmd/go/alldocs.go
+++ b/src/cmd/go/alldocs.go
@@ -2131,7 +2131,7 @@
// GOAMD64
// For GOARCH=amd64, the microarchitecture level for which to compile.
// Valid values are v1 (default), v2, v3, v4.
-// See https://en.wikipedia.org/wiki/X86-64#Microarchitecture_levels.
+// See https://golang.org/wiki/MinimumRequirements#amd64
// GOMIPS
// For GOARCH=mips{,le}, whether to use floating point instructions.
// Valid values are hardfloat (default), softfloat.
diff --git a/src/cmd/go/internal/help/helpdoc.go b/src/cmd/go/internal/help/helpdoc.go
index 035235fe1b..7dc066cfba 100644
--- a/src/cmd/go/internal/help/helpdoc.go
+++ b/src/cmd/go/internal/help/helpdoc.go
@@ -595,7 +595,7 @@ Architecture-specific environment variables:
GOAMD64
For GOARCH=amd64, the microarchitecture level for which to compile.
Valid values are v1 (default), v2, v3, v4.
- See https://en.wikipedia.org/wiki/X86-64#Microarchitecture_levels.
+ See https://golang.org/wiki/MinimumRequirements#amd64
GOMIPS
For GOARCH=mips{,le}, whether to use floating point instructions.
Valid values are hardfloat (default), softfloat.