aboutsummaryrefslogtreecommitdiff
path: root/doc/diagnostics.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/diagnostics.html')
-rw-r--r--doc/diagnostics.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/diagnostics.html b/doc/diagnostics.html
index 0a7847744..478611c15 100644
--- a/doc/diagnostics.html
+++ b/doc/diagnostics.html
@@ -456,3 +456,15 @@ each collection, summarizing the amount of memory collected
and the length of the pause.</li>
<li>GODEBUG=schedtrace=X prints scheduling events every X milliseconds.</li>
</ul>
+
+<p>The GODEBUG environmental variable can be used to disable use of
+instruction set extensions in the standard library and runtime.</p>
+
+<ul>
+<li>GODEBUG=cpu.all=off disables the use of all optional
+instruction set extensions.</li>
+<li>GODEBUG=cpu.<em>extension</em>=off disables use of instructions from the
+specified instruction set extension.<br>
+<em>extension</em> is the lower case name for the instruction set extension
+such as <em>sse41</em> or <em>avx</em>.</li>
+</ul>