summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2010-05-20gc: handle use of builtin function outside function callRuss Cox2-2/+16
tweaks & tests of last bug fix too. R=ken2 CC=golang-dev http://codereview.appspot.com/1207044
2010-05-20clean up bug 275Ken Thompson1-0/+0
R=rsc CC=golang-dev http://codereview.appspot.com/1224044
2010-05-20fix bug 275Ken Thompson1-4/+0
R=rsc CC=golang-dev http://codereview.appspot.com/1198046
2010-05-19bug275: cannot apply real() to a complex array elementRobert Griesemer2-0/+24
R=r, ken2 CC=golang-dev http://codereview.appspot.com/1260041
2010-05-19runtime: allow large map valuesRuss Cox1-0/+34
Fixes issue 772. R=ken2 CC=golang-dev http://codereview.appspot.com/1206043
2010-05-18fix build - arm testsRuss Cox2-12/+1
TBR=kaib CC=golang-dev http://codereview.appspot.com/1256042
2010-05-13bug274: test case for issue 777Robert Griesemer2-0/+32
R=r, iant CC=golang-dev http://codereview.appspot.com/1195042
2010-05-03big: completed set of Int division routines & cleanupsRobert Griesemer1-2/+2
- renamed Len -> BitLen, simplified implementation - renamed old Div, Mod, DivMod -> Que, Rem, QuoRem - implemented Div, Mod, DivMod (Euclidian definition, more useful in a mathematical context) - fixed a bug in Exp (-0 was possible) - added extra tests to check normalized results everywhere - uniformly set Int.neg flag at the end of computations - minor cosmetic cleanups - ran all tests R=rsc CC=golang-dev http://codereview.appspot.com/1091041
2010-05-03gc: bug264Russ Cox2-16/+0
Fixes issue 692. R=ken2 CC=golang-dev http://codereview.appspot.com/1092041
2010-05-03test/bench: import new fasta C reference, update Go, optimizationsRuss Cox2-222/+297
OLD fasta -n 25000000 gcc -O2 fasta.c 7.59u 0.06s 7.74r gc fasta 9.54u 0.15s 9.84r gc_B fasta 9.48u 0.10s 9.62r NEW fasta -n 25000000 gcc -O2 fasta.c 2.59u 0.02s 2.66r gc fasta 3.00u 0.03s 3.09r gc_B fasta 2.72u 0.03s 2.81r R=r CC=golang-dev http://codereview.appspot.com/1054041
2010-05-03test: test of static initialization (fails)Russ Cox2-0/+103
R=ken2 CC=golang-dev http://codereview.appspot.com/1090041
2010-05-03gc: bug267Russ Cox2-4/+0
R=ken2 CC=golang-dev http://codereview.appspot.com/1067042
2010-05-03test: fix run-arm to count bugs correctlyRuss Cox1-2/+2
TBR=kaib CC=golang-dev http://codereview.appspot.com/1080041
2010-05-01gc: be pickier about slice, chan, array, and map sizesRuss Cox1-0/+95
Fixes issue 589. R=ken2 CC=golang-dev http://codereview.appspot.com/1032044
2010-04-30big: use fast shift routinesRobert Griesemer1-2/+2
- fixed a couple of bugs in the process (shift right was incorrect for negative numbers) - added more tests and made some tests more robust - changed pidigits back to using shifts to multiply by 2 instead of add This improves pidigit -s -n 10000 by approx. 5%: user 0m6.496s (old) user 0m6.156s (new) R=rsc CC=golang-dev http://codereview.appspot.com/963044
2010-04-308g: bug272Russ Cox1-0/+25
Fixes issue 589. R=ken2 CC=golang-dev http://codereview.appspot.com/1043042
2010-04-30gc: bug271Russ Cox1-0/+20
Fixes issue 662. R=ken2 CC=golang-dev http://codereview.appspot.com/978043
2010-04-30gc: bug270Russ Cox1-0/+21
Fixes issue 746. R=ken2 CC=golang-dev http://codereview.appspot.com/1040042
2010-04-29gc: never include ( ) on singleton func return typeRuss Cox1-0/+18
Fixes issue 749. R=ken2 CC=golang-dev http://codereview.appspot.com/963043
2010-04-29gc: bug268Russ Cox1-0/+53
Fixes issue 745. R=ken2 CC=golang-dev http://codereview.appspot.com/1008045
2010-04-27pidigits: ~10% performance win by using adds instead of shiftsRobert Griesemer1-2/+2
user time for pidigits -s -n=10000: 6.466s w/ adds 7.138s w/ shifts R=rsc CC=golang-dev http://codereview.appspot.com/1021041
2010-04-276g bug: no need for parens around array index expressionRobert Griesemer2-0/+26
where index is a composite literal R=rsc CC=golang-dev http://codereview.appspot.com/961044
2010-04-26Added fannkuch-parallel.goKyle Consalus3-0/+257
R=r, rsc CC=golang-dev http://codereview.appspot.com/978042 Committer: Russ Cox <rsc@golang.org>
2010-04-26gc: more specific error for statements at top levelRuss Cox1-0/+20
R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/1006041
2010-04-22runtime: closures, defer bug fix for Native ClientRuss Cox19-441/+17
Enable package tests for Native Client build. R=r CC=golang-dev http://codereview.appspot.com/957042
2010-04-21test/bench: reenable chameneosredux for gccgo.Rob Pike1-6/+1
run reverse-complement only once. (garbage is no longer an issue) R=rsc CC=golang-dev http://codereview.appspot.com/968041
2010-04-20big: Add Lsh and Value; convert pidigits to use bigEvan Shaw1-22/+28
This yields a pretty significant performance boost to pidigits and there are still some improvements to be made. Here are my numbers: amd64 w/ bignum: pidigits 10000 gcc -O2 pidigits.c -lgmp 2.10u 0.00s 2.10r gc pidigits 22.92u 0.02s 22.97r gc_B pidigits 22.62u 0.00s 22.65r amd64 w/ big: pidigits 10000 gcc -O2 pidigits.c -lgmp 2.09u 0.02s 2.11r gc pidigits 12.68u 0.04s 12.72r gc_B pidigits 12.71u 0.03s 12.75r 386 w/ bignum: pidigits 10000 gcc -O2 pidigits.c -lgmp 2.09u 0.00s 2.09r gc pidigits 44.30u 0.01s 44.35r gc_B pidigits 44.29u 0.03s 44.35r 386 w/ big: pidigits 10000 gcc -O2 pidigits.c -lgmp 2.10u 0.00s 2.10r gc pidigits 22.70u 0.06s 22.79r gc_B pidigits 22.80u 0.09s 22.91r R=rsc, gri CC=golang-dev http://codereview.appspot.com/881050 Committer: Russ Cox <rsc@golang.org>
2010-04-19gc benchmark: Update package listEvan Shaw1-3/+8
Some old packages on the list were preventing this benchmark from working. R=golang-dev, r CC=golang-dev http://codereview.appspot.com/820045 Committer: Rob Pike <r@golang.org>
2010-04-19gc: cmplx typecheck bug fixRuss Cox1-0/+31
Fixes issue 729. R=ken2 CC=golang-dev http://codereview.appspot.com/875048
2010-04-16 the android runner scriptKai Backman2-6/+15
this is a version synthesized from rsc's, dean's and my versions. changes and updates: - embeds the retval script and pushes a new version to the device if needed - passes arguments correctly to the program on the device - export GOARCH, GOTRACEBACK and GOGC from the local environment to the device. - added times.out support to run-arm enabled a few tests that are now passing and moved the GOGC=off workaround to run-arm. R=dpx CC=golang-dev, rsc http://codereview.appspot.com/880046
2010-04-15synchronize ARM runner environment variable with run-armKai Backman1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/912041
2010-04-15support for printing floats:Kai Backman1-9/+9
fmt.Printf("float32 %f\n", float32(1234.56789)) fmt.Printf("float64 %f\n", float64(1234.56789)) -> float32 1234.567871 float64 1234.567890 this is a snapshot. extended instruction support, corner cases and fixes coming in subseuent cls. R=rsc CC=dpx, golang-dev http://codereview.appspot.com/876045
2010-04-12test: minor updates to avoid bitrotChristopher Wedgwood2-6/+6
R=rsc, r CC=golang-dev http://codereview.appspot.com/854046 Committer: Russ Cox <rsc@golang.org>
2010-04-12gc: zero unnamed return values on entry if func has deferRuss Cox1-0/+26
R=ken2 CC=golang-dev http://codereview.appspot.com/891050
2010-04-11gc: make sure main.main has correct typeRuss Cox1-1/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/883049
2010-04-08runtime: turn divide by zero, nil dereference into panicsRuss Cox1-0/+78
tested on linux/amd64, linux/386, linux/arm, darwin/amd64, darwin/386. freebsd untested; will finish in a separate CL. for now all the panics are errorStrings. richer structures can be added as necessary once the mechanism is shaked out. R=r CC=golang-dev http://codereview.appspot.com/906041
2010-04-06arm: fix build, attempt #2Russ Cox1-2/+2
TBR=kaib CC=golang-dev http://codereview.appspot.com/897041
2010-04-06arm: fix build, attempt #1Russ Cox3-74/+133
TBR=kaib CC=golang-dev http://codereview.appspot.com/883046
2010-04-06runtime: two proc bug fixesRuss Cox1-0/+5
1. Fix bug in GOMAXPROCS when trying to cut number of procs Race could happen on any system but was manifesting only on Xen hosted Linux. 2. Fix recover on ARM, where FP != caller SP. R=r CC=golang-dev http://codereview.appspot.com/880043
2010-04-05test/bench: add k-nucleotide-parallelKyle Consalus3-0/+184
R=rsc CC=golang-dev http://codereview.appspot.com/881042 Committer: Russ Cox <rsc@golang.org>
2010-04-05runtime: various arm fixesRuss Cox4-141/+219
* correct symbol table size * do not reorder functions in output * traceback * signal handling * use same code for go + defer * handle leaf functions in symbol table R=kaib, dpx CC=golang-dev http://codereview.appspot.com/884041
2010-04-01runtime: turn run time errors checks into panicsRuss Cox3-25/+107
R=ken2, r CC=golang-dev http://codereview.appspot.com/871042 Committer: Russ Cox <rsc@golang.org>
2010-04-01runtime: correct memory leak in selectRuss Cox1-0/+48
* adds pass 3 to dequeue from channels eagerly various other cleanup/churn: * use switch on cas->send in each pass to factor out common code. * longer goto labels, commented at target * be more agressive about can't happen: throw instead of print + cope. * use "select" instead of "selectgo" in errors * use printf for debug prints when possible R=ken2, ken3 CC=golang-dev, r http://codereview.appspot.com/875041
2010-03-31runtime: make type assertion a runtime.Error, the first of manyRuss Cox1-8/+4
R=r CC=golang-dev http://codereview.appspot.com/805043
2010-03-31test for panic and recoverRuss Cox2-0/+387
R=r, adg CC=golang-dev http://codereview.appspot.com/869041
2010-03-31gc: implement panic and recoverRuss Cox1-0/+1
R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/831042
2010-03-30simplify various code using new map index ruleRuss Cox1-11/+2
R=r CC=golang-dev http://codereview.appspot.com/833044
2010-03-30single argument panicRuss Cox33-734/+859
note that sortmain.go has been run through hg gofmt; only the formatting of the day initializers changed. i'm happy to revert that formatting if you'd prefer. stop on error in doc/progs/run R=r CC=golang-dev http://codereview.appspot.com/850041
2010-03-29gc: bug265Russ Cox2-3/+0
Fixes issue 700. R=ken2 CC=golang-dev http://codereview.appspot.com/839041
2010-03-29bug265: test case for issue 700Robert Griesemer2-0/+25
( http://code.google.com/p/go/issues/detail?id=700 ) R=r CC=golang-dev http://codereview.appspot.com/827042