Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1013)

Issue 4681049: code review 4681049: runtime: stdcall_raw stack 16byte align for Win64 (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 10 months ago by vcc
Modified:
13 years, 10 months ago
Reviewers:
CC:
brainman, rsc, golang-dev
Visibility:
Public.

Description

runtime: stdcall_raw stack 16byte align for Win64

Patch Set 1 #

Patch Set 2 : diff -r b9b5715e716f https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r b9b5715e716f https://go.googlecode.com/hg/ #

Total comments: 2

Patch Set 4 : diff -r 65a05eaafe67 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 6fe6dae00ad1 http://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M src/pkg/runtime/windows/amd64/sys.s View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15
vcc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 10 months ago (2011-07-11 14:33:43 UTC) #1
vcc
I think windows 386 should also need this change, m->g0 not set g_sched+gobuf_sp, only set ...
13 years, 10 months ago (2011-07-11 14:39:33 UTC) #2
brainman
http://codereview.appspot.com/4681049/diff/5001/src/pkg/runtime/windows/amd64/sys.s File src/pkg/runtime/windows/amd64/sys.s (right): http://codereview.appspot.com/4681049/diff/5001/src/pkg/runtime/windows/amd64/sys.s#newcode22 src/pkg/runtime/windows/amd64/sys.s:22: MOVQ g_stackbase(SI), SP On the other hand, while comparing ...
13 years, 10 months ago (2011-07-12 04:44:15 UTC) #3
vcc
2011/7/12 <alex.brainman@gmail.com>: > > http://codereview.appspot.com/4681049/diff/5001/src/pkg/runtime/windows/amd64/sys.s > File src/pkg/runtime/windows/amd64/sys.s (right): > > http://codereview.appspot.com/4681049/diff/5001/src/pkg/runtime/windows/amd64/sys.s#newcode22 > src/pkg/runtime/windows/amd64/sys.s:22: MOVQ ...
13 years, 10 months ago (2011-07-12 05:23:44 UTC) #4
brainman
On 2011/07/12 05:23:44, vcc wrote: > > after debug it, I found these syscall not ...
13 years, 10 months ago (2011-07-12 05:27:49 UTC) #5
vcc
2011/7/12 <alex.brainman@gmail.com>: > On 2011/07/12 05:23:44, vcc wrote: > >> after debug it, I found ...
13 years, 10 months ago (2011-07-12 05:53:00 UTC) #6
brainman
On 2011/07/12 05:53:00, vcc wrote: > > rsp is 0x6f6b8, I don't know why is ...
13 years, 10 months ago (2011-07-12 06:25:40 UTC) #7
vcc
PTAL finally, I found the problem is stack align. change issue to: runtime: make gosave ...
13 years, 10 months ago (2011-07-12 14:55:03 UTC) #8
rsc
> finally, I found the problem is stack align. This can't possibly be correct. It ...
13 years, 10 months ago (2011-07-12 15:47:15 UTC) #9
brainman
On 2011/07/12 14:55:03, vcc wrote: > > finally, I found the problem is stack align. ...
13 years, 10 months ago (2011-07-13 00:22:53 UTC) #10
vcc
2011/7/12 Russ Cox <rsc@golang.org>: >> finally, I found the problem is stack align. > > ...
13 years, 10 months ago (2011-07-13 06:32:45 UTC) #11
vcc
PTAL
13 years, 10 months ago (2011-07-13 13:51:47 UTC) #12
rsc
> in _rt_amd64: > > ... > > // start this M > CALL runtime·mstart(SB) ...
13 years, 10 months ago (2011-07-13 18:04:23 UTC) #13
rsc
LGTM
13 years, 10 months ago (2011-07-13 18:44:35 UTC) #14
rsc
13 years, 10 months ago (2011-07-13 18:44:47 UTC) #15
*** Submitted as http://code.google.com/p/go/source/detail?r=1206c9c3b3ba ***

runtime: stdcall_raw stack 16byte align for Win64

R=alex.brainman, rsc
CC=golang-dev
http://codereview.appspot.com/4681049

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b