diff options
Diffstat (limited to 'doc/install-source.html')
-rw-r--r-- | doc/install-source.html | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/doc/install-source.html b/doc/install-source.html index 86a4644c0c..c6dc3aed43 100644 --- a/doc/install-source.html +++ b/doc/install-source.html @@ -666,16 +666,13 @@ For example, you should not set <code>$GOHOSTARCH</code> to <code>arm</code> on an x86 system. </p> -<li><code>$GO386</code> (for <code>386</code> only, default is auto-detected -if built on either <code>386</code> or <code>amd64</code>, <code>387</code> otherwise) +<li><code>$GO386</code> (for <code>386</code> only, defaults to <code>sse2</code>) <p> -This controls the code generated by gc to use either the 387 floating-point unit -(set to <code>387</code>) or SSE2 instructions (set to <code>sse2</code>) for -floating point computations. +This variable controls how gc implements floating point computations. </p> <ul> - <li><code>GO386=387</code>: use x87 for floating point operations; should support all x86 chips (Pentium MMX or later).</li> - <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> + <li><code>GO386=softfloat</code>: use software floating point operations; should support all x86 chips (Pentium MMX or later).</li> + <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> </ul> </li> |