- 12 Nov, 2012 2 commits
-
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6814120
-
Shenghou Ma authored
R=golang-dev, r, mikioh.mikioh CC=golang-dev https://golang.org/cl/6816080
-
- 10 Nov, 2012 3 commits
-
-
Dave Cheney authored
xtramodes' C_PBIT optimisation transforms: MOVW 0(R3),R1 ADD $4,R3,R3 into: MOVW.P 4(R3),R1 and the AADD optimisation tranforms: ADD R0,R1 MOVBU 0(R1),R0 into: MOVBU R0<<0(R1),R0 5g does not appear to generate sequences that can be transformed by xtramodes' AMOVW. R=remyoudompheng, rsc CC=golang-dev https://golang.org/cl/6817085
-
Ian Lance Taylor authored
Otherwise a poorly timed GC can collect the memory before it is returned to the Go program. R=golang-dev, dave, dvyukov, minux.ma CC=golang-dev https://golang.org/cl/6819119
-
Mikio Hara authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6821100
-
- 09 Nov, 2012 6 commits
-
-
Rémy Oudompheng authored
On ARM, char is unsigned, and the code generation for multiplication gets totally broken. Fixes #4354. R=golang-dev, dave, minux.ma, rsc CC=golang-dev https://golang.org/cl/6826079
-
Dmitriy Vyukov authored
Currently it works incorrectly if user specifies own build tags and with race detection (e.g. runtime/race is not selected, because it contains only test files with +build race). R=golang-dev, r CC=golang-dev https://golang.org/cl/6814107
-
Ian Lance Taylor authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6810102
-
Shenghou Ma authored
Performance improvement aside, time.Now() now gets real nanosecond resolution on supported systems. Benchmark done on Core i7-2600 @ 3.40GHz with kernel 3.5.2-gentoo. original vDSO gettimeofday: BenchmarkNow 100000000 27.4 ns/op new vDSO gettimeofday fallback: BenchmarkNow 100000000 27.6 ns/op new vDSO clock_gettime: BenchmarkNow 100000000 24.4 ns/op R=golang-dev, bradfitz, iant, iant CC=golang-dev https://golang.org/cl/6814103
-
Mikio Hara authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6819117
-
Mikio Hara authored
It also passes on FreeBSD. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6812103
-
- 08 Nov, 2012 15 commits
-
-
Ian Lance Taylor authored
Fixes the test to work correctly on other platforms with 64-bit ints, like Alpha. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6822099
-
David Symonds authored
Fixes #4358. R=golang-dev, r CC=golang-dev https://golang.org/cl/6840043
-
Russ Cox authored
When exporting a body containing x, ok := v.(Type) the definition for Type was not being included, so when the body was actually used, it would cause an "unknown type" compiler error. Fixes #4370. R=ken2 CC=golang-dev https://golang.org/cl/6827064
-
Mikio Hara authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6813101
-
Ian Lance Taylor authored
R=golang-dev, remyoudompheng, iant, rsc CC=golang-dev https://golang.org/cl/6833043
-
Joel Sing authored
Re-enable the crash tests on NetBSD now that the issue has been identified and fixed. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6813100
-
Dmitriy Vyukov authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/6819107
-
Brad Fitzpatrick authored
Integrates with the pollserver now. Uses the old implementation on windows and plan9. Fixes #2631 R=paul, iant, adg, bendaglish, rsc CC=golang-dev https://golang.org/cl/6815049
-
Brad Fitzpatrick authored
This is blocking me submitting the net fd timeout CL, since goapi chokes on my constant. The much more extensive fix to goapi's type checker in pending review in https://golang.org/cl/6742050 But I'd rather get this quick fix in first. R=golang-dev, mikioh.mikioh CC=golang-dev https://golang.org/cl/6818104
-
Shenghou Ma authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/6818106
-
Carl Mastrangelo authored
R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/6820115
-
Anthony Martin authored
Intel Core 2 Duo (2.16 GHz) running 3.6.5-1-ARCH benchmark old ns/op new ns/op delta BenchmarkNow 1856 1034 -44.29% R=rsc CC=golang-dev https://golang.org/cl/6826072
-
Alex Brainman authored
R=golang-dev, r CC=dvyukov, golang-dev https://golang.org/cl/6810099
-
Ian Lance Taylor authored
Fixes GOARCH=386 build. R=golang-dev, r CC=golang-dev https://golang.org/cl/6810098
-
Nigel Tao authored
R=r, dsymonds CC=golang-dev https://golang.org/cl/6826070
-
- 07 Nov, 2012 14 commits
-
-
Nigel Tao authored
Fixes #4337. R=r, minux.ma CC=golang-dev https://golang.org/cl/6814098
-
Rémy Oudompheng authored
Fixes #4359. R=golang-dev, daniel.morsing, rsc CC=golang-dev https://golang.org/cl/6834043
-
David Symonds authored
Update #4358 Still to do: support binary numeric format in Reader. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6818101
-
Rémy Oudompheng authored
Fixes #4094. Fixes #4353. R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/6810090
-
Rémy Oudompheng authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6821069
-
Ian Lance Taylor authored
Running this test via "bash run" uncovered three different bugs (4344, 4348, 4353). We need to run it by default. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6832043
-
Russ Cox authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/6811092
-
Russ Cox authored
The code assumed that the only choices were EscNone, EscScope, and EscHeap, so that it makes sense to set EscScope only if the current setting is EscNone. Now that we have the many variants of EscReturn, this logic is false, and it was causing important EscScopes to be ignored in favor of EscReturn. Fixes #4360. R=ken2 CC=golang-dev, lvd https://golang.org/cl/6816103
-
Dmitriy Vyukov authored
This is copy of https://golang.org/cl/6810080 but sent from another account (dvyukov@gmail.com is not in CONTRIBUTORS). R=rsc CC=golang-dev https://golang.org/cl/6827060
-
Ian Lance Taylor authored
The old code worked with gc, I assume because the linker unified identical strings, but it failed with gccgo. R=rsc CC=gobot, golang-dev https://golang.org/cl/6826063
-
Roger Peppe authored
The current implement can fail when the block size is not a multiple of 8 bytes. This CL makes it work, and also checks that the data is in fact a multiple of the block size. R=agl, agl CC=golang-dev https://golang.org/cl/6827058
-
Russ Cox authored
Avoids problems with local declarations shadowing other names. We write a more explicit form than the incoming program, so there may be additional type annotations. For example: int := "hello" j := 2 would normally turn into var int string = "hello" var j int = 2 but the int variable shadows the int type in the second line. This CL marks all local variables with a per-function sequence number, so that this would instead be: var int·1 string = "hello" var j·2 int = 2 Fixes #4326. R=ken2 CC=golang-dev https://golang.org/cl/6816100
-
Russ Cox authored
R=ken CC=golang-dev https://golang.org/cl/6815073
-
Mikio Hara authored
The protocol number of ICMP for IPv6 is 58, not 1. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6810093
-