]> Cypherpunks repositories - gostls13.git/commit
runtime: pass windows float syscall args via XMM
authorDavid Crawshaw <crawshaw@golang.org>
Wed, 26 Oct 2016 17:29:39 +0000 (13:29 -0400)
committerDavid Crawshaw <crawshaw@golang.org>
Fri, 28 Oct 2016 13:13:08 +0000 (13:13 +0000)
commit9c02c75639b893cea6dbce1092d07e886ec5f44e
treeca7eec14ca5471d8b245ecde83e2836f5e0064e0
parentdd500193d3e96e6bc9700fd43fc68b55e662d7c1
runtime: pass windows float syscall args via XMM

Based on the calling convention documented in:

https://msdn.microsoft.com/en-us/library/zthk2dkh.aspx

and long-used in golang.org/x/mobile/gl via some fixup asm:

https://go.googlesource.com/mobile/+/master/gl/work_windows_amd64.s

Fixes #6510

Change-Id: I97e81baaa2872bcd732b1308915eb66f1ba2168f
Reviewed-on: https://go-review.googlesource.com/32173
Run-TryBot: David Crawshaw <crawshaw@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Reviewed-by: Minux Ma <minux@golang.org>
src/runtime/sys_windows_amd64.s
src/runtime/syscall_windows_test.go