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

Issue 75240043: code review 75240043: cmd/6g: fix stack zeroing preamble on amd64p32. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 1 month ago by remyoudompheng
Modified:
10 years, 1 month ago
Reviewers:
dave, rsc
CC:
rsc, dave_cheney.net, golang-codereviews
Visibility:
Public.

Description

cmd/6g: fix stack zeroing preamble on amd64p32. It was using a REP STOSQ but putting in CX the number of 32-bit words to clear.

Patch Set 1 #

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M src/cmd/6g/ggen.c View 1 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 5
remyoudompheng
Hello rsc@golang.org, dave@cheney.net (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
10 years, 1 month ago (2014-03-13 06:12:44 UTC) #1
dave_cheney.net
LGTM. This matches the original CL https://codereview.appspot.com/15540045/diff/190001/src/cmd/6g/ggen.c This also makes me worry that maybe the ...
10 years, 1 month ago (2014-03-13 06:44:30 UTC) #2
remyoudompheng
*** Submitted as https://code.google.com/p/go/source/detail?r=20637becf8cc *** cmd/6g: fix stack zeroing preamble on amd64p32. It was using ...
10 years, 1 month ago (2014-03-13 07:13:19 UTC) #3
rsc
LGTM The rest of the CL was applied correctly. The zeroing code was missed because ...
10 years, 1 month ago (2014-03-13 13:36:03 UTC) #4
dave_cheney.net
10 years, 1 month ago (2014-03-13 13:53:32 UTC) #5
Thanks for confirming Russ, I spent some time going through he commits looking
for other places I may have missed. 

The one outstanding area is reflect, I have a small change to propose which
picks up a few bits that didn't make it into the original merge -- mainly
because nacl wasn't working and I didn't want to mess with the other platforms.


I would appreciate your help reviewing those as this is some deep magic. 

Cheers

Dave

> On 14 Mar 2014, at 0:36, Russ Cox <rsc@golang.org> wrote:
> 
> LGTM
> 
> The rest of the CL was applied correctly. The zeroing code was missed because
it had been removed. Now it's back.
> 
Sign in to reply to this message.

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