- 11 Jun, 2013 7 commits
-
-
Russ Cox authored
There's no reason to use a different name on each architecture, and doing so makes it impossible for portable code to refer to the original Go runtime entry point. Rename it _rt0_go everywhere. This is a global search and replace only. R=golang-dev, bradfitz, minux.ma CC=golang-dev https://golang.org/cl/10196043
-
Rémy Oudompheng authored
Fixes #5244. R=golang-dev, rsc, iant, r, daniel.morsing CC=golang-dev https://golang.org/cl/8601044
-
Daniel Morsing authored
Fixes #5431. R=dvyukov, remyoudompheng, rsc CC=gobot, golang-dev https://golang.org/cl/9910043
-
Rob Pike authored
This feature is not yet ready for real use. The CL marks a bite-sized piece that is ready for review. TODOs that remain: provide control over output produce output without setting -v make work on reflect, sync and time packages (fail now due to link errors caused by inlining) better documentation Almost all packages work now, though, if clumsily; try: go test -v -cover=count encoding/binary R=rsc CC=gobot, golang-dev, remyoudompheng https://golang.org/cl/10050045
-
Keith Randall authored
R=cshapiro, dvyukov, khr, rsc CC=golang-dev https://golang.org/cl/10005044
-
Russ Cox authored
Requires adding new linker instruction RET f(SB) meaning return but then immediately call f. This is what you'd use to implement a tail call after fiddling with the arguments, but the compiler only uses it in genwrapper. This CL eliminates the copy-and-paste genembedtramp functions from 5g/8g/6g and makes the code run on ARM for the first time. It removes a small special case for function generation, which should help Carl a bit, but at the same time it does not bother to implement general tail call optimization, which we do not want anyway. Fixes #5627. R=ken2 CC=golang-dev https://golang.org/cl/10057044
-
Alex Brainman authored
Fixes #5615. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/9651047
-
- 10 Jun, 2013 17 commits
-
-
Gerasimos Dimitriadis authored
The first identifier in an Object Identifer must be between 0 and 2 inclusive. The range of values that the second one can take depends on the value of the first one. The two first identifiers are not necessarily encoded in a single octet, but in a varint. R=golang-dev, agl CC=golang-dev https://golang.org/cl/10140046
-
Shenghou Ma authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/10159043
-
Russ Cox authored
The new code matches the code in cc/lex.c and the #define GETC. This was causing problems scanning runtime·foo if the leading · byte was returned by the buffer fill. R=ken2 CC=golang-dev https://golang.org/cl/10167043
-
Shenghou Ma authored
Fixes #5111. Update #4718 This CL makes BL (Rx) to use BLX Rx instead of: MOV LR, PC MOV PC, Rx R=cshapiro, rsc CC=dave, gobot, golang-dev https://golang.org/cl/9669045
-
Dmitriy Vyukov authored
Update #5641. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/10144043
-
Dmitriy Vyukov authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/10137043
-
Shenghou Ma authored
Fixes #4078. R=golang-dev, bradfitz, rsc, iant CC=golang-dev https://golang.org/cl/7100050
-
Shenghou Ma authored
R=golang-dev, bradfitz, gri, iant, rsc CC=golang-dev https://golang.org/cl/7235044
-
Shenghou Ma authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/10150043
-
Shenghou Ma authored
R=golang-dev, iant, bradfitz, dave CC=golang-dev https://golang.org/cl/7430044
-
Dmitriy Vyukov authored
Fixes #5567. R=golang-dev, dave, iant CC=golang-dev https://golang.org/cl/10085043
-
Dmitriy Vyukov authored
Do not synchronize Add(1) with Wait(). Imitate read on first Add(1) and write on Wait(), it allows to catch common misuses of WaitGroup: - Add() called in the additional goroutine itself - incorrect reuse of WaitGroup with multiple waiters R=golang-dev, iant CC=golang-dev https://golang.org/cl/10093044
-
Shenghou Ma authored
R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/10085050
-
Alex Brainman authored
Fixes #5619. R=golang-dev, r, peter.armitage, go.peter.90 CC=golang-dev https://golang.org/cl/9952044
-
Dmitriy Vyukov authored
Also reduce FixAlloc allocation granulatiry from 128k to 16k, small programs do not need that much memory for MCache's and MSpan's. R=golang-dev, khr CC=golang-dev https://golang.org/cl/10140044
-
Dmitriy Vyukov authored
Reduces heap size. R=golang-dev, khr CC=golang-dev https://golang.org/cl/10140043
-
Dmitriy Vyukov authored
Especially important for Windows because it reserves VM only in multiple of 64k. R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/10082048
-
- 09 Jun, 2013 8 commits
-
-
Dmitriy Vyukov authored
Reduces heap size. R=golang-dev, remyoudompheng, bradfitz CC=golang-dev https://golang.org/cl/10139043
-
Dmitriy Vyukov authored
Especially important for Windows because it reserves VM only in multiple of 64k. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/10138043
-
Dmitriy Vyukov authored
Removes code duplication. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/9874055
-
Shenghou Ma authored
R=golang-dev, dave, adg, remyoudompheng, r CC=golang-dev https://golang.org/cl/6845083
-
Shenghou Ma authored
Fixes #5603. R=iant, dave CC=gobot, golang-dev https://golang.org/cl/9895043
-
Shenghou Ma authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/10107044
-
Shenghou Ma authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/10099045
-
Shenghou Ma authored
R=golang-dev, bradfitz, khr, r CC=golang-dev https://golang.org/cl/7461046
-
- 07 Jun, 2013 3 commits
-
-
Roger Peppe authored
R=rsc, minux.ma, r CC=golang-dev https://golang.org/cl/10110043
-
Ian Lance Taylor authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/10036047
-
Andrew Gerrand authored
Fixes #5075. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/10084044
-
- 06 Jun, 2013 5 commits
-
-
Dmitriy Vyukov authored
Remove alignment logic as well, it's not respected by chanbuf() anyway. R=golang-dev, dave, minux.ma, r, iant, rsc CC=golang-dev https://golang.org/cl/9678046
-
Dmitriy Vyukov authored
Count only number of frees, everything else is derivable and does not need to be counted on every malloc. benchmark old ns/op new ns/op delta BenchmarkMalloc8 68 66 -3.07% BenchmarkMalloc16 75 70 -6.48% BenchmarkMallocTypeInfo8 102 97 -4.80% BenchmarkMallocTypeInfo16 108 105 -2.78% R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/9776043
-
Alex Brainman authored
Use http://unicode.org/cldr/data/common/supplemental/windowsZones.xml to generate the map. Fixes #4838. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/9997043
-
Robert Obryk authored
WriteFile should not successfully return if the file's Close call failed. Fixes #5644. R=golang-dev, kr, r CC=golang-dev https://golang.org/cl/10067043
-
Patrick Higgins authored
Fixes #4996 R=golang-dev, r, bradfitz CC=golang-dev https://golang.org/cl/7547043
-