FreeBSD 13.0+ will require a kernel with the COMPAT_FREEBSD12 option set (this is the default).
</p>
+<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>,
+ <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>.
+</p>
+<p>
+ The <code>GOAMD64</code> environment variable defaults to <code>v1</code>.
+</p>
+
<h3 id="ppc64">PPC64</h3>
<p><!-- CL 353969 -->
third-party tools that need to collect package source code.)
</p>
-<p><!-- CL 349595 -->
- TODO: <a href="https://golang.org/cl/349595">https://golang.org/cl/349595</a>: cmd/go: add GOAMD64 environment variable
-</p>
-
<h3 id="gofmt"><code>gofmt</code></h3>
<p><!-- https://golang.org/issue/43566 -->