cmd/5g, cmd/6g, cmd/8g: fix out of registers.
This patch is enough to fix compilation of
exp/types tests but only passes a stripped down
version of the appripriate torture test.
Update issue 4207.
The ARM changes are totally untested. I would like something to try all.bash with this ...
12 years, 5 months ago
(2012-10-08 21:20:09 UTC)
#2
The ARM changes are totally untested. I would like something to try all.bash
with this patch on an ARM box.
torture.go was stripped down compared to what I would like to have but since the
compiler changes can be error-prone, I prefer keeping the changes small.
On 2012/10/08 23:30:59, dfc wrote: > On 2012/10/08 21:34:30, remyoudompheng wrote: > > Hello mailto:golang-dev@googlegroups.com ...
12 years, 5 months ago
(2012-10-08 23:37:53 UTC)
#5
On 2012/10/08 23:30:59, dfc wrote:
> On 2012/10/08 21:34:30, remyoudompheng wrote:
> > Hello mailto:golang-dev@googlegroups.com (cc:
> mailto:golang-dev@googlegroups.com),
> >
> > Please take another look.
>
> Strange results on arm, ./all.bash fails in dist bootstrap
There was some obvious garbage. I've added some bits from 6590046 and narrowed
the patch a bit so that it still compiles the test. Can you try patch set 5?
Patchset #5 compiles and runs all tests without issue. Thank you very much. On Tue, ...
12 years, 5 months ago
(2012-10-09 00:26:07 UTC)
#6
Patchset #5 compiles and runs all tests without issue.
Thank you very much.
On Tue, Oct 9, 2012 at 10:37 AM, <remyoudompheng@gmail.com> wrote:
> On 2012/10/08 23:30:59, dfc wrote:
>>
>> On 2012/10/08 21:34:30, remyoudompheng wrote:
>> > Hello mailto:golang-dev@googlegroups.com (cc:
>> mailto:golang-dev@googlegroups.com),
>> >
>> > Please take another look.
>
>
>> Strange results on arm, ./all.bash fails in dist bootstrap
>
>
> There was some obvious garbage. I've added some bits from 6590046 and
> narrowed the patch a bit so that it still compiles the test. Can you try
> patch set 5?
>
> https://codereview.appspot.com/6621061/
On 2012/10/10 03:26:16, dfc wrote: > This probably explains why some of the benchmarks got ...
12 years, 5 months ago
(2012-10-10 06:15:55 UTC)
#10
On 2012/10/10 03:26:16, dfc wrote:
> This probably explains why some of the benchmarks got slower.
Probably. I suspect that the changes could affect also the number of temporaries
pinned to the stack. I would say it can improve a lot by adding the ONAME case
to igen, using igen in cgen and importing the componentgen function.
Dave (or anybody else), can you try and benchmark CL6639058: http://codereview.appspot.com/6639058 It adds optimizations on ...
12 years, 5 months ago
(2012-10-10 18:36:20 UTC)
#12
Dave (or anybody else), can you try and benchmark CL6639058:
http://codereview.appspot.com/6639058
It adds optimizations on top on this CL and I would try to know if it addresses
the slowdowns. If it does, then the ARM part of this patch is not a problem and
the optimization can be submitted in a second step.
On 2012/10/10 18:36:20, remyoudompheng wrote: > Dave (or anybody else), can you try and benchmark ...
12 years, 5 months ago
(2012-10-10 23:49:54 UTC)
#13
On 2012/10/10 18:36:20, remyoudompheng wrote:
> Dave (or anybody else), can you try and benchmark CL6639058:
> http://codereview.appspot.com/6639058
>
> It adds optimizations on top on this CL and I would try to know if it
addresses
> the slowdowns. If it does, then the ARM part of this patch is not a problem
and
> the optimization can be submitted in a second step.
Hi Remy,
A substantial improvement here
pando(~/go/test/bench/go1) % ./go1.1676e21191aa -test.bench=. > old.txt &&
./go1.cl6639058 -test.bench=. > new.txt && ~/go/misc/benchcmp {old,new}.txt
testing: warning: no tests to run
testing: warning: no tests to run
benchmark old ns/op new ns/op delta
BenchmarkBinaryTree17 51573303000 51879882000 +0.59%
BenchmarkFannkuch11 34040069000 33089233000 -2.79%
BenchmarkGobDecode 126087950 117199700 -7.05%
BenchmarkGobEncode 59175420 54542860 -7.83%
BenchmarkGzip 5396637000 5428344000 +0.59%
BenchmarkGunzip 1100036000 1060791000 -3.57%
BenchmarkJSONEncode 842144800 736047400 -12.60%
BenchmarkJSONDecode 1739960000 1698578000 -2.38%
BenchmarkMandelbrot200 45767200 45865480 +0.21%
BenchmarkParse 60036620 59382940 -1.09%
BenchmarkRevcomp 134698500 133169600 -1.14%
BenchmarkTemplate 1999207000 1849915000 -7.47%
benchmark old MB/s new MB/s speedup
BenchmarkGobDecode 6.09 6.55 1.08x
BenchmarkGobEncode 12.97 14.07 1.08x
BenchmarkGzip 3.60 3.57 0.99x
BenchmarkGunzip 17.64 18.29 1.04x
BenchmarkJSONEncode 2.30 2.64 1.15x
BenchmarkJSONDecode 1.12 1.14 1.02x
BenchmarkParse 0.96 0.98 1.02x
BenchmarkRevcomp 18.87 19.09 1.01x
BenchmarkTemplate 0.97 1.05 1.08x
https://codereview.appspot.com/6621061/diff/14002/src/cmd/6g/cgen.c File src/cmd/6g/cgen.c (right): https://codereview.appspot.com/6621061/diff/14002/src/cmd/6g/cgen.c#newcode856 src/cmd/6g/cgen.c:856: regalloc(a, types[tptr], &n1); Was the final argument supposed to ...
12 years, 5 months ago
(2012-10-12 07:07:36 UTC)
#16
Issue 6621061: code review 6621061: cmd/5g, cmd/6g, cmd/8g: fix out of registers.
(Closed)
Created 12 years, 5 months ago by remyoudompheng
Modified 12 years, 5 months ago
Reviewers:
Base URL:
Comments: 2