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

Issue 6817080: code review 6817080: cmd/5g, cmd/6g: pass the full torture test. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 5 months ago by remyoudompheng
Modified:
12 years, 4 months ago
Reviewers:
CC:
golang-dev, dave_cheney.net, rsc
Visibility:
Public.

Description

cmd/5g, cmd/6g: pass the full torture test. The patch adds more cases to agenr to allocate registers later, and makes 6g generate addresses for sgen in something else than SI and DI. It avoids a complex save/restore sequence that amounts to allocate a register before descending in subtrees. Fixes issue 4207.

Patch Set 1 #

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

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

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

Total comments: 2

Patch Set 5 : diff -r 919e2645d301 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -34 lines) Patch
M src/cmd/5g/cgen.c View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M src/cmd/5g/gsubr.c View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/6g/cgen.c View 1 2 3 4 4 chunks +26 lines, -18 lines 0 comments Download
M test/torture.go View 1 2 2 chunks +15 lines, -16 lines 0 comments Download

Messages

Total messages: 7
remyoudompheng
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 5 months ago (2012-11-03 09:05:37 UTC) #1
dave_cheney.net
Nice. Thank you. http://codereview.appspot.com/6817080/diff/7001/src/cmd/5g/gsubr.c File src/cmd/5g/gsubr.c (right): http://codereview.appspot.com/6817080/diff/7001/src/cmd/5g/gsubr.c#newcode364 src/cmd/5g/gsubr.c:364: print("registers allocated at\n"); // print
12 years, 5 months ago (2012-11-03 11:54:07 UTC) #2
remyoudompheng
http://codereview.appspot.com/6817080/diff/7001/src/cmd/5g/gsubr.c File src/cmd/5g/gsubr.c (right): http://codereview.appspot.com/6817080/diff/7001/src/cmd/5g/gsubr.c#newcode364 src/cmd/5g/gsubr.c:364: print("registers allocated at\n"); The print is added to match ...
12 years, 5 months ago (2012-11-03 12:04:56 UTC) #3
dave_cheney.net
LGTM.
12 years, 5 months ago (2012-11-04 11:34:08 UTC) #4
dave_cheney.net
On 2012/11/04 11:34:08, dfc wrote: > LGTM. gentle ping.
12 years, 4 months ago (2012-11-09 07:13:41 UTC) #5
rsc
LGTM
12 years, 4 months ago (2012-11-12 20:37:10 UTC) #6
remyoudompheng
12 years, 4 months ago (2012-11-12 22:56:19 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=616bfbaf397e ***

cmd/5g, cmd/6g: pass the full torture test.

The patch adds more cases to agenr to allocate registers later,
and makes 6g generate addresses for sgen in something else than
SI and DI. It avoids a complex save/restore sequence that
amounts to allocate a register before descending in subtrees.

Fixes issue 4207.

R=golang-dev, dave, rsc
CC=golang-dev
http://codereview.appspot.com/6817080
Sign in to reply to this message.

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