summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRémy Oudompheng <oudomphe@phare.normalesup.org>2013-01-02 22:55:23 +0100
committerRémy Oudompheng <oudomphe@phare.normalesup.org>2013-01-02 22:55:23 +0100
commit9afb34b42e5d7568dab3a12f137aa80314b2c6f8 (patch)
tree192e6d329d72f3ec834249fdd1dc4bcb3c272146 /include
parent64a0017d6e69f3a6ba11ad5ad35c66dc489e5cbf (diff)
downloadgo-git-9afb34b42e5d7568dab3a12f137aa80314b2c6f8.tar.gz
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
Diffstat (limited to 'include')
-rw-r--r--include/libc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libc.h b/include/libc.h
index ac83ea685f..42c653cf5e 100644
--- a/include/libc.h
+++ b/include/libc.h
@@ -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