diff options
| author | Russ Cox <rsc@golang.org> | 2012-02-14 01:23:15 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2012-02-14 01:23:15 -0500 |
| commit | 1707a9977f2272333b86853c2ac09a3bdba9915e (patch) | |
| tree | 888a953f75324f9be76a10a3fa7ca1ee3c05956f /src/pkg/runtime/runtime.h | |
| parent | e11632ee0044474d3e767192d6f61e6ab010c48d (diff) | |
| download | go-1707a9977f2272333b86853c2ac09a3bdba9915e.tar.xz | |
runtime: on 386, fix FP control word on all threads, not just initial thread
It is possible that Linux and Windows copy the FP control word
from the parent thread when creating a new thread. Empirically,
Darwin does not. Reset the FP control world in all cases.
Enable the floating-point strconv test.
Fixes #2917 (again).
R=golang-dev, r, iant
CC=golang-dev
https://golang.org/cl/5660047
Diffstat (limited to 'src/pkg/runtime/runtime.h')
| -rw-r--r-- | src/pkg/runtime/runtime.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h index d39b4bd693..48f6b3e34b 100644 --- a/src/pkg/runtime/runtime.h +++ b/src/pkg/runtime/runtime.h @@ -525,6 +525,7 @@ int32 runtime·atoi(byte*); void runtime·newosproc(M *m, G *g, void *stk, void (*fn)(void)); void runtime·signalstack(byte*, int32); G* runtime·malg(int32); +void runtime·asminit(void); void runtime·minit(void); Func* runtime·findfunc(uintptr); int32 runtime·funcline(Func*, uintptr); |
