From 2be7788f8383c2330cd96db53273e2995d4468f8 Mon Sep 17 00:00:00 2001
From: Keith Randall $GOHOSTARCH
to
arm
on an x86 system.
$GO386
(for 386
only, default is auto-detected
-if built on either 386
or amd64
, 387
otherwise)
+$GO386
(for 386
only, defaults to sse2
)
-This controls the code generated by gc to use either the 387 floating-point unit
-(set to 387
) or SSE2 instructions (set to sse2
) for
-floating point computations.
+This variable controls how gc implements floating point computations.
GO386=387
: use x87 for floating point operations; should support all x86 chips (Pentium MMX or later).GO386=sse2
: use SSE2 for floating point operations; has better performance than 387, but only available on Pentium 4/Opteron/Athlon 64 or later.GO386=softfloat
: use software floating point operations; should support all x86 chips (Pentium MMX or later).GO386=sse2
: use SSE2 for floating point operations; has better performance but only available on Pentium 4/Opteron/Athlon 64 or later.