runtime: stdcall_raw stack 16byte align for Win64

R=alex.brainman, rsc
CC=golang-dev
https://golang.org/cl/4681049
This commit is contained in:
Wei Guangjing 2011-07-13 11:44:44 -07:00 committed by Russ Cox
parent 86a659cad0
commit a6e60916c1

View file

@ -20,6 +20,7 @@ TEXT runtime·stdcall_raw(SB),7,$8
CMPQ g(DI), SI
JEQ 3(PC)
MOVQ (g_sched+gobuf_sp)(SI), SP
ANDQ $~15, SP
MOVQ SI, g(DI)
SUBQ $0x60, SP