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

Issue 5174045: code review 5174045: 5g, 6g, 8g: registerize variables again (Closed)

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

Description

5g, 6g, 8g: registerize variables again My previous CL: changeset: 9645:ce2e5f44b310 user: Russ Cox <rsc@golang.org> date: Tue Sep 06 10:24:21 2011 -0400 summary: gc: unify stack frame layout introduced a bug wherein no variables were being registerized, making Go programs 2-3x slower than they had been before. This CL fixes that bug (along with some others it was hiding) and adds a test that optimization makes at least one test case faster.

Patch Set 1 #

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

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

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -23 lines) Patch
M src/cmd/5g/gobj.c View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M src/cmd/5g/gsubr.c View 1 2 4 chunks +5 lines, -2 lines 1 comment Download
M src/cmd/5g/reg.c View 1 2 3 chunks +7 lines, -5 lines 0 comments Download
M src/cmd/6g/gobj.c View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M src/cmd/6g/gsubr.c View 1 2 4 chunks +5 lines, -2 lines 0 comments Download
M src/cmd/6g/reg.c View 1 2 3 chunks +8 lines, -5 lines 0 comments Download
M src/cmd/8g/gobj.c View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M src/cmd/8g/gsubr.c View 1 2 5 chunks +6 lines, -2 lines 0 comments Download
M src/cmd/8g/reg.c View 1 2 3 chunks +7 lines, -5 lines 0 comments Download
M src/cmd/gc/bits.c View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/cmd/gc/gen.c View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/gc/obj.c View 1 1 chunk +1 line, -0 lines 0 comments Download
A test/fixedbugs/bug369.go View 1 2 1 chunk +57 lines, -0 lines 0 comments Download
A test/fixedbugs/bug369.dir/pkg.go View 1 2 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 4
rsc
Hello ken2 (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 9 months ago (2011-10-03 21:46:34 UTC) #1
rsc
*** Submitted as http://code.google.com/p/go/source/detail?r=5321113cd59b *** 5g, 6g, 8g: registerize variables again My previous CL: changeset: ...
13 years, 9 months ago (2011-10-03 21:46:40 UTC) #2
bradfitz
http://codereview.appspot.com/5174045/diff/3001/src/cmd/5g/gsubr.c File src/cmd/5g/gsubr.c (right): http://codereview.appspot.com/5174045/diff/3001/src/cmd/5g/gsubr.c#newcode1281 src/cmd/5g/gsubr.c:1281: //if(a->node >= (Node*)&n) temporary debug code?
13 years, 9 months ago (2011-10-03 21:56:41 UTC) #3
rsc
13 years, 9 months ago (2011-10-03 21:58:12 UTC) #4
On Mon, Oct 3, 2011 at 17:56,  <bradfitz@golang.org> wrote:
> temporary debug code?

temporary debug code worth keeping.
i'd leave it enabled if i could be sure
that the test was accurate on all systems.

russ
Sign in to reply to this message.

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