- 21 May, 2010 2 commits
-
-
Ken Thompson authored
cannot allocate an audomatic temp while real registers are allocated. there is a chance that the automatic will be allocated to one of the allocated registers. the fix is to not registerize such variables. R=rsc CC=golang-dev https://golang.org/cl/1202042
-
Michael Hoisie authored
Fixes #783. R=rsc, cw CC=golang-dev https://golang.org/cl/1207043
-
- 20 May, 2010 8 commits
-
-
Roger Peppe authored
R=rsc, r, gri CC=golang-dev https://golang.org/cl/1239043
-
Nigel Tao authored
Time to draw.Draw a 200x200 image fell from 18.4ms (and 1 malloc) to 5.6ms (and 0 mallocs). It's still relatively slow since it assumes nothing about the src or mask images, but it does remove the malloc. There are existing faster, more specialized paths for copies, fills and image glyph masks. Also added a "compare to a slow but obviously correct implementation" check to draw_test.go. R=rsc, r CC=golang-dev https://golang.org/cl/1223044
-
Christopher Wedgwood authored
R=rsc CC=adg, golang-dev, r https://golang.org/cl/1253043
-
Christopher Wedgwood authored
R=rsc CC=adg, golang-dev, r https://golang.org/cl/1257041
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/1083041
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/1217046
-
Brad Fitzpatrick authored
R=rsc, r CC=golang-dev https://golang.org/cl/1103041
-
Russ Cox authored
Needed for CL 1103041 and beyond. R=adg, bradfitzpatrick CC=bradfitz, golang-dev https://golang.org/cl/1172042
-
- 19 May, 2010 9 commits
-
-
Robert Griesemer authored
R=r, ken2 CC=golang-dev https://golang.org/cl/1260041
-
Russ Cox authored
Fixes #772. R=ken2 CC=golang-dev https://golang.org/cl/1206043
-
Robert Griesemer authored
- implemented setWord, use it where setUint64 is wrong - divLarge: use fast mulWW, divWW; implemented mulWW, divWW - better assembly code for addMulVVW R=rsc CC=golang-dev https://golang.org/cl/1258042
-
Russ Cox authored
TBR=kaib CC=golang-dev https://golang.org/cl/1256042
-
Russ Cox authored
TBR=r CC=golang-dev https://golang.org/cl/1230042
-
Michael Hoisie authored
R=rsc, r CC=golang-dev https://golang.org/cl/946045
-
Evan Shaw authored
Previously the compiler would just emit "internal compiler error" when trying to compute the remainder of floats or complex types. R=rsc CC=golang-dev https://golang.org/cl/1243041
-
Charles L. Dorian authored
Uses the SSE2 max, min instructions. Also shorter sqrt_amd64.s R=rsc CC=golang-dev https://golang.org/cl/1216042
-
Charles L. Dorian authored
IEEE 754 says: sqrt(-0) = -0 R=rsc CC=golang-dev https://golang.org/cl/1098041
-
- 18 May, 2010 2 commits
-
-
Robert Griesemer authored
Fixes #784. R=rsc CC=golang-dev https://golang.org/cl/1196043
-
Kyle Consalus authored
Cached string indexing in inner loop of Btoui64. Before: strconv_test.BenchmarkAtoi 5000000 309 ns/op strconv_test.BenchmarkAtoiNeg 5000000 325 ns/op strconv_test.BenchmarkAtoi64 5000000 465 ns/op strconv_test.BenchmarkAtoi64Neg 5000000 469 ns/op After: strconv_test.BenchmarkAtoi 10000000 182 ns/op strconv_test.BenchmarkAtoiNeg 10000000 193 ns/op strconv_test.BenchmarkAtoi64 10000000 251 ns/op strconv_test.BenchmarkAtoi64Neg 10000000 258 ns/op R=golang-dev, gri CC=golang-dev https://golang.org/cl/1227042
-
- 17 May, 2010 1 commit
-
-
Roger Peppe authored
has no access to yylex) R=ken2, ken3 CC=golang-dev https://golang.org/cl/813047
-
- 15 May, 2010 3 commits
-
-
Robert Griesemer authored
- support for binary prefix 0b (to match fmt.Format) - renamed nat.new -> nat.setUint64 for consistency - more tests R=r CC=golang-dev https://golang.org/cl/1233041
-
Christopher Wedgwood authored
R=rsc, r CC=golang-dev https://golang.org/cl/1231041
-
Charles L. Dorian authored
Also update range of Phase and Polar due to signed zero. [Phase(cmplx(-1, +0)) = pi and Phase(cmplx(-1, -0)) = -pi] R=rsc, r CC=golang-dev https://golang.org/cl/1235041
-
- 14 May, 2010 3 commits
-
-
Robert Griesemer authored
R=adg CC=golang-dev https://golang.org/cl/1228041
-
Robert Griesemer authored
Fixes #779. R=r CC=golang-dev https://golang.org/cl/1218042
-
Robert Griesemer authored
- also added links to the respective sections - reformatted section for better (source html) readability - added missing closing </li>'s in many places R=r CC=golang-dev https://golang.org/cl/1220041
-
- 13 May, 2010 3 commits
-
-
Roger Peppe authored
R=rsc, r CC=golang-dev https://golang.org/cl/1195041
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/1207041
-
Robert Griesemer authored
R=r, iant CC=golang-dev https://golang.org/cl/1195042
-
- 11 May, 2010 4 commits
-
-
Robert Griesemer authored
Fixes #775. R=rsc CC=golang-dev https://golang.org/cl/1180042
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/1186041
-
Russ Cox authored
Fixes #773. R=adg CC=golang-dev https://golang.org/cl/1120042
-
Nigel Tao authored
Timings (as for change 1122043) go from 49ms to 48ms ish. It's mostly lost in the noise, but it probably doesn't hurt. R=r CC=golang-dev https://golang.org/cl/1179041
-
- 10 May, 2010 1 commit
-
-
Nigel Tao authored
To draw.Draw a 32x32 image.Alpha 10000 times, Before: 633ms with 10000 mallocs After: 49ms with 0 mallocs These times are just blitting an image.Alpha, and do not include rasterizing a glyph's vector contours to an image.Alpha. The "generic" test case in draw_test.go tests this fast path. R=rsc CC=golang-dev https://golang.org/cl/1122043
-
- 09 May, 2010 2 commits
-
-
Rob Pike authored
methods when looking up names. Fixes #764. R=rsc CC=golang-dev https://golang.org/cl/1170041
-
Michael Hoisie authored
R=rsc CC=golang-dev https://golang.org/cl/1173041
-
- 08 May, 2010 2 commits
-
-
Robert Griesemer authored
- removed last argument (n) from all core arithmetic routines; instead, use the length of the result - simplified nat.make implementation and chose a better capacity for new values, removed a TODO in the process Changing the constant e from 1 (old) to 4 (new) improved pidigits -s -n 10000 by ~9% (on a 3.06GHz Intel Core 2 Duo): user 0m3.882s (old) user 0m3.549s (new) R=rsc CC=golang-dev https://golang.org/cl/1133043
-
Robert Griesemer authored
- pass []Word instead of *Word to core arithmetic functions - remove dead code R=rsc CC=golang-dev https://golang.org/cl/1154042
-