mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/dist, cmd/8g: implement GO386=387/sse to choose FPU flavour.
A new environment variable GO386 is introduced to choose between code generation targeting 387 or SSE2. No auto-detection is performed and the setting defaults to 387 to preserve previous behaviour. The patch is a reorganization of CL6549052 by rsc. Fixes #3912. R=minux.ma, rsc CC=golang-dev https://golang.org/cl/6962043
This commit is contained in:
parent
64a0017d6e
commit
9afb34b42e
12 changed files with 1005 additions and 263 deletions
|
|
@ -290,6 +290,7 @@ extern char* getgoarch(void);
|
|||
extern char* getgoroot(void);
|
||||
extern char* getgoversion(void);
|
||||
extern char* getgoarm(void);
|
||||
extern char* getgo386(void);
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue