From dfa62c79de4f6f6ee2eb8cde340c21afc739c38d Mon Sep 17 00:00:00 2001 From: Keith Randall Date: Fri, 12 Nov 2021 15:48:01 -0800 Subject: [PATCH] doc: document GOAMD64 environment variable Update #47694 Change-Id: I9c90bd251616cd4d10434bd3b6e6c30c5c819e24 Reviewed-on: https://go-review.googlesource.com/c/go/+/363661 Trust: Keith Randall Reviewed-by: Ian Lance Taylor --- doc/go1.18.html | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/doc/go1.18.html b/doc/go1.18.html index 45f89b7be5771..e796215c78b3c 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -40,6 +40,19 @@

FreeBSD

FreeBSD 13.0+ will require a kernel with the COMPAT_FREEBSD12 option set (this is the default).

+

AMD64

+ +

+ Go 1.18 introduces the new GOAMD64 environment variable which selects + a 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. +

+

+ The GOAMD64 environment variable defaults to v1. +

+

PPC64

@@ -123,10 +136,6 @@

Go command

third-party tools that need to collect package source code.)

-

- TODO: https://golang.org/cl/349595: cmd/go: add GOAMD64 environment variable -

-

gofmt