- 10 Sep, 2012 11 commits
-
-
Mikio Hara authored
R=rsc, dave CC=bradfitz, gobot, golang-dev https://golang.org/cl/6497044
-
David Symonds authored
A race between a = "hello, world" and print(a) is not guaranteed to print either "hello, world" or "". Its behaviour is undefined. Fixes #4039. R=rsc CC=dvyukov, gobot, golang-dev, r https://golang.org/cl/6489075
-
Mikio Hara authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6489056
-
Robert Griesemer authored
First set of type checker files for review. The primary concern here is the typechecker API (types.go). R=rsc, adonovan, r, rogpeppe CC=golang-dev https://golang.org/cl/6490089
-
Rob Pike authored
Fixes #4040. R=rsc CC=golang-dev https://golang.org/cl/6497098
-
Adam Langley authored
Broke tests on 386. ««« original CL description 6l/8l: emit correct opcodes to F(SUB|DIV)R?D. When the destination was not F0, 6l and 8l swapped FSUBD/FSUBRD and FDIVD/FDIVRD. R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/6498092 »»» R=golang-dev CC=golang-dev https://golang.org/cl/6492100
-
Adam Langley authored
When the destination was not F0, 6l and 8l swapped FSUBD/FSUBRD and FDIVD/FDIVRD. R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/6498092
-
Brad Fitzpatrick authored
Also, clear Content-Type and Content-Length on Not Modified responses before server.go strips them and spams the logs with warnings. R=rsc CC=golang-dev https://golang.org/cl/6503090
-
Nigel Tao authored
No longer necessary after https://golang.org/cl/6497073/ removed the `if(n5.op != OXXX) { regfree(&n5); }`. R=remy, r CC=golang-dev, rsc https://golang.org/cl/6498101
-
Adam Langley authored
R=golang-dev CC=golang-dev https://golang.org/cl/6497106
-
Adam Langley authored
R=golang-dev, dave CC=golang-dev https://golang.org/cl/6496099
-
- 09 Sep, 2012 2 commits
-
-
Rémy Oudompheng authored
This makes the compilers code more similar and improves code generation a lot. The number of LEAL instructions generated for cmd/go drops by 60%. % GOARCH=386 go build -gcflags -S -a cmd/go | grep LEAL | wc -l Before: 89774 After: 47548 benchmark old ns/op new ns/op delta BenchmarkAppendFloatDecimal 540 444 -17.78% BenchmarkAppendFloat 1160 1035 -10.78% BenchmarkAppendFloatExp 1060 922 -13.02% BenchmarkAppendFloatNegExp 1053 920 -12.63% BenchmarkAppendFloatBig 1773 1558 -12.13% BenchmarkFormatInt 13065 12481 -4.47% BenchmarkAppendInt 10981 9900 -9.84% BenchmarkFormatUint 3804 3650 -4.05% BenchmarkAppendUint 3506 3303 -5.79% BenchmarkUnquoteEasy 714 683 -4.34% BenchmarkUnquoteHard 5117 2915 -43.03% Update #1914. R=nigeltao, rsc, golang-dev CC=golang-dev, remy https://golang.org/cl/6489067
-
Mikio Hara authored
It might be meaningful, and stable than others. R=golang-dev, agl CC=golang-dev https://golang.org/cl/6499091
-
- 08 Sep, 2012 3 commits
-
-
Marcel van Lohuizen authored
Refactored build + buildTrie into build + buildOrdering. Note that since the tailoring code is not checked in yet, all tailorings are identical to root. The table therefore should not and does not grow at this point. R=r CC=golang-dev https://golang.org/cl/6500087
-
Marcel van Lohuizen authored
R=r CC=golang-dev https://golang.org/cl/6499079
-
Robert Griesemer authored
R=r CC=golang-dev https://golang.org/cl/6493097
-
- 07 Sep, 2012 12 commits
-
-
Robert Griesemer authored
R=r CC=golang-dev https://golang.org/cl/6498106
-
Rob Pike authored
R=golang-dev, 0xjnml, iant, adonovan, aram CC=golang-dev https://golang.org/cl/6500092
-
Robert Griesemer authored
R=r CC=golang-dev https://golang.org/cl/6490095
-
Rob Pike authored
Fixes #4052. R=golang-dev, bradfitz, iant, rsc CC=golang-dev https://golang.org/cl/6490092
-
Albert Strasheim authored
This test was previously removed in 087c6e15702e. R=bradfitz, rsc, mikioh.mikioh CC=golang-dev https://golang.org/cl/6506061
-
Rob Pike authored
After further deliberation, let's back down to the Unicode proposal. Ignoring aBOMinations anywhere means that things like grep unsafe *.go might fail because there's a BOM in the middle: unBOMsafe. R=golang-dev, rsc, 0xjnml, gri, bradfitz CC=golang-dev https://golang.org/cl/6490091
-
Lucio De Re authored
R=r CC=dsymonds, gobot, golang-dev https://golang.org/cl/6495085
-
Rob Pike authored
Fixes #4037. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6488093
-
Rob Pike authored
It's easier just to declare a new variable. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6501103
-
Rémy Oudompheng authored
The main case where it happens is when evaluating &s[i] without bounds checking, which usually happens during range loops (i=0). This allows registerization of the corresponding variables, saving 16 bytes of stack frame for each such range loop and a LEAQ instruction. R=golang-dev, rsc, dave CC=golang-dev, remy https://golang.org/cl/6497073
-
Dave Cheney authored
Fixes #3911. Requires CL 6449127. dfc@qnap:~$ ./runtime.test runtime: this CPU has no floating point hardware, so it cannot run this GOARM=7 binary. Recompile using GOARM=5. R=rsc, minux.ma CC=golang-dev https://golang.org/cl/6442109
-
Joel Sing authored
When generating enums use the debug data section instead of the DWARF debug info, if it is available in the ELF file. This allows mkerrors.sh to work correctly on OpenBSD/386 and NetBSD/386. Fixes #2470. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/6495090
-
- 06 Sep, 2012 8 commits
-
-
Rob Pike authored
The parser depends on it but the client might not import it, so make sure it's there. Fixes #4038. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6497094
-
Rob Pike authored
Happy Birthday UTF-8. R=golang-dev, rsc, 0xjnml CC=golang-dev https://golang.org/cl/6506083
-
Joel Sing authored
Regenerate/update netbsd z-files on NetBSD 6.0 RC1. R=golang-dev, r CC=golang-dev https://golang.org/cl/6506062
-
Dave Cheney authored
Fixes #3862. There were many areas where conn.err was being accessed outside the mutex. This proposal moves the err value to an embedded struct to make it more obvious when the error value is being accessed. As there are no Benchmark tests in this package I cannot feel confident of the impact of this additional locking, although most will be uncontended. R=dvyukov, agl CC=golang-dev https://golang.org/cl/6497070
-
Andrew Gerrand authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/6493087
-
Marcel van Lohuizen authored
promised in CL 13985. R=r CC=golang-dev https://golang.org/cl/6503071
-
Nigel Tao authored
order. JPEG images generated prior to this CL are still valid JPEGs, as the quantization tables used are encoded in the wire format. Such JPEGs just don't use the recommended quantization tables. R=r, dsymonds, raph, adg CC=golang-dev, tuom.larsen https://golang.org/cl/6497083
-
Nigel Tao authored
consistent with OLROT. Delete unused OBAD, OLRC. R=rsc, dave CC=golang-dev https://golang.org/cl/6489082
-
- 05 Sep, 2012 3 commits
-
-
Russ Cox authored
The old code was a depth first graph traversal that could, under the right conditions, end up re-exploring the same subgraphs multiple times, once for each way to arrive at that subgraph at a given depth. The new code uses a breadth first search to make sure that it only visits each reachable embedded struct once. Also add fast path for the trivial case. benchmark old ns/op new ns/op delta BenchmarkFieldByName1 1321 187 -85.84% BenchmarkFieldByName2 6118 5186 -15.23% BenchmarkFieldByName3 8218553 42112 -99.49% R=gri, r CC=golang-dev https://golang.org/cl/6458090
-
Oling Cat authored
R=nigeltao CC=golang-dev https://golang.org/cl/6499075
-
Nigel Tao authored
R=dsymonds CC=golang-dev https://golang.org/cl/6503070
-
- 04 Sep, 2012 1 commit
-
-
Nigel Tao authored
R=rsc, daniel.morsing CC=golang-dev https://golang.org/cl/6495074
-