1
0
mirror of https://github.com/golang/go synced 2024-11-18 22:24:50 -07:00
go/misc
Russ Cox cb767247ca runtime: refactor/fix asmcgocall/asmcgocall_errno
Instead of making asmcgocall call asmcgocall_errno,
make both load args into registers and call a shared
assembly function.

On amd64, this costs 1 word in the asmcgocall_errno path
but saves 3 words in the asmcgocall path, and the latter
is what happens on critical nosplit paths on Windows.

On arm, this fixes build failures: asmcgocall was writing
the arguments for asmcgocall_errno into the wrong
place on the stack. Passing them in registers avoids the
decision entirely.

On 386, this isn't really needed, since the nosplit paths
have twice as many words to work with, but do it for consistency.

Update #8635
Fixes arm build (except GOARM=5).

TBR=iant
CC=golang-codereviews
https://golang.org/cl/134390043
2014-09-04 00:01:55 -04:00
..
android androidtest.bash, misc/android: build scripts for android 2014-07-09 06:56:49 -04:00
arm
cgo runtime: refactor/fix asmcgocall/asmcgocall_errno 2014-09-04 00:01:55 -04:00
chrome/gophertool
dashboard/codereview
git
linkcheck misc/linkcheck: better redirect handling, use meaningful exit code 2013-10-25 17:31:02 +03:00
makerelease misc/makerelease: exit with nonzero status code on error 2014-08-13 14:00:10 +10:00
nacl misc/nacl: fix build 2014-08-22 18:36:01 +10:00
swig
benchcmp benchcmp: leave a forwarding script 2014-03-31 16:39:41 -04:00
editors misc: delete editor and shell support 2014-07-01 09:21:25 -07:00
pprof misc/pprof: support web profiles on windows/MinGW 2014-07-23 10:35:04 -07:00