You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _content/doc/install-source.html
+58-34Lines changed: 58 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,10 @@
3
3
"Path": "/doc/install/source"
4
4
}-->
5
5
6
-
<p>This topic describes how to build and run Go from source code. To install with an installer, see <ahref="/doc/install.html">Download and install</a>.</p>
6
+
<p>
7
+
This topic describes how to build and run Go from source code.
8
+
To install with an installer, see <ahref="/doc/install">Download and install</a>.
<li><code>$GO386</code> (for <code>386</code> only, default is auto-detected
669
-
if built on either <code>386</code> or <code>amd64</code>, <code>387</code> otherwise)
695
+
<li><code>$GO386</code> (for <code>386</code> only, defaults to <code>sse2</code>)
670
696
<p>
671
-
This controls the code generated by gc to use either the 387 floating-point unit
672
-
(set to <code>387</code>) or SSE2 instructions (set to <code>sse2</code>) for
673
-
floating point computations.
697
+
This variable controls how gc implements floating point computations.
674
698
</p>
675
699
<ul>
676
-
<li><code>GO386=387</code>: use x87 for floating point operations; should support all x86 chips (Pentium MMX or later).</li>
677
-
<li><code>GO386=sse2</code>: use SSE2 for floating point operations; has better performance than 387, but only available on Pentium 4/Opteron/Athlon 64 or later.</li>
700
+
<li><code>GO386=softfloat</code>: use software floating point operations; should support all x86 chips (Pentium MMX or later).</li>
701
+
<li><code>GO386=sse2</code>: use SSE2 for floating point operations; has better performance but only available on Pentium 4/Opteron/Athlon 64 or later.</li>
0 commit comments