|
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.
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
|
Total messages: 4
|