summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* gc: handle use of builtin function outside function callRuss Cox2010-05-202-2/+16
| | | | | | | | tweaks & tests of last bug fix too. R=ken2 CC=golang-dev http://codereview.appspot.com/1207044
* clean up bug 275Ken Thompson2010-05-201-0/+0
| | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/1224044
* fix bug 275Ken Thompson2010-05-201-4/+0
| | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/1198046
* bug275: cannot apply real() to a complex array elementRobert Griesemer2010-05-192-0/+24
| | | | | | R=r, ken2 CC=golang-dev http://codereview.appspot.com/1260041
* runtime: allow large map valuesRuss Cox2010-05-191-0/+34
| | | | | | | | Fixes issue 772. R=ken2 CC=golang-dev http://codereview.appspot.com/1206043
* fix build - arm testsRuss Cox2010-05-182-12/+1
| | | | | | TBR=kaib CC=golang-dev http://codereview.appspot.com/1256042
* bug274: test case for issue 777Robert Griesemer2010-05-132-0/+32
| | | | | | R=r, iant CC=golang-dev http://codereview.appspot.com/1195042
* big: completed set of Int division routines & cleanupsRobert Griesemer2010-05-031-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
* gc: bug264Russ Cox2010-05-032-16/+0
| | | | | | | | Fixes issue 692. R=ken2 CC=golang-dev http://codereview.appspot.com/1092041
* test/bench: import new fasta C reference, update Go, optimizationsRuss Cox2010-05-032-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
* test: test of static initialization (fails)Russ Cox2010-05-032-0/+103
| | | | | | R=ken2 CC=golang-dev http://codereview.appspot.com/1090041
* gc: bug267Russ Cox2010-05-032-4/+0
| | | | | | R=ken2 CC=golang-dev http://codereview.appspot.com/1067042
* test: fix run-arm to count bugs correctlyRuss Cox2010-05-031-2/+2
| | | | | | TBR=kaib CC=golang-dev http://codereview.appspot.com/1080041
* gc: be pickier about slice, chan, array, and map sizesRuss Cox2010-05-011-0/+95
| | | | | | | | Fixes issue 589. R=ken2 CC=golang-dev http://codereview.appspot.com/1032044
* big: use fast shift routinesRobert Griesemer2010-04-301-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
* 8g: bug272Russ Cox2010-04-301-0/+25
| | | | | | | | Fixes issue 589. R=ken2 CC=golang-dev http://codereview.appspot.com/1043042
* gc: bug271Russ Cox2010-04-301-0/+20
| | | | | | | | Fixes issue 662. R=ken2 CC=golang-dev http://codereview.appspot.com/978043
* gc: bug270Russ Cox2010-04-301-0/+21
| | | | | | | | Fixes issue 746. R=ken2 CC=golang-dev http://codereview.appspot.com/1040042
* gc: never include ( ) on singleton func return typeRuss Cox2010-04-291-0/+18
| | | | | | | | Fixes issue 749. R=ken2 CC=golang-dev http://codereview.appspot.com/963043
* gc: bug268Russ Cox2010-04-291-0/+53
| | | | | | | | Fixes issue 745. R=ken2 CC=golang-dev http://codereview.appspot.com/1008045
* pidigits: ~10% performance win by using adds instead of shiftsRobert Griesemer2010-04-271-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
* 6g bug: no need for parens around array index expressionRobert Griesemer2010-04-272-0/+26
| | | | | | | | where index is a composite literal R=rsc CC=golang-dev http://codereview.appspot.com/961044
* Added fannkuch-parallel.goKyle Consalus2010-04-263-0/+257
| | | | | | | | R=r, rsc CC=golang-dev http://codereview.appspot.com/978042 Committer: Russ Cox <rsc@golang.org>
* gc: more specific error for statements at top levelRuss Cox2010-04-261-0/+20
| | | | | | R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/1006041
* runtime: closures, defer bug fix for Native ClientRuss Cox2010-04-2219-441/+17
| | | | | | | | Enable package tests for Native Client build. R=r CC=golang-dev http://codereview.appspot.com/957042
* test/bench: reenable chameneosredux for gccgo.Rob Pike2010-04-211-6/+1
| | | | | | | | run reverse-complement only once. (garbage is no longer an issue) R=rsc CC=golang-dev http://codereview.appspot.com/968041
* big: Add Lsh and Value; convert pidigits to use bigEvan Shaw2010-04-201-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>
* gc benchmark: Update package listEvan Shaw2010-04-191-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>
* gc: cmplx typecheck bug fixRuss Cox2010-04-191-0/+31
| | | | | | | | Fixes issue 729. R=ken2 CC=golang-dev http://codereview.appspot.com/875048
* the android runner scriptKai Backman2010-04-162-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
* synchronize ARM runner environment variable with run-armKai Backman2010-04-151-1/+1
| | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/912041
* support for printing floats:Kai Backman2010-04-151-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
* test: minor updates to avoid bitrotChristopher Wedgwood2010-04-122-6/+6
| | | | | | | | R=rsc, r CC=golang-dev http://codereview.appspot.com/854046 Committer: Russ Cox <rsc@golang.org>
* gc: zero unnamed return values on entry if func has deferRuss Cox2010-04-121-0/+26
| | | | | | R=ken2 CC=golang-dev http://codereview.appspot.com/891050
* gc: make sure main.main has correct typeRuss Cox2010-04-111-1/+1
| | | | | | R=ken2 CC=golang-dev http://codereview.appspot.com/883049
* runtime: turn divide by zero, nil dereference into panicsRuss Cox2010-04-081-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
* arm: fix build, attempt #2Russ Cox2010-04-061-2/+2
| | | | | | TBR=kaib CC=golang-dev http://codereview.appspot.com/897041
* arm: fix build, attempt #1Russ Cox2010-04-063-74/+133
| | | | | | TBR=kaib CC=golang-dev http://codereview.appspot.com/883046
* runtime: two proc bug fixesRuss Cox2010-04-061-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
* test/bench: add k-nucleotide-parallelKyle Consalus2010-04-053-0/+184
| | | | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/881042 Committer: Russ Cox <rsc@golang.org>
* runtime: various arm fixesRuss Cox2010-04-054-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
* runtime: turn run time errors checks into panicsRuss Cox2010-04-013-25/+107
| | | | | | | | R=ken2, r CC=golang-dev http://codereview.appspot.com/871042 Committer: Russ Cox <rsc@golang.org>
* runtime: correct memory leak in selectRuss Cox2010-04-011-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
* runtime: make type assertion a runtime.Error, the first of manyRuss Cox2010-03-311-8/+4
| | | | | | R=r CC=golang-dev http://codereview.appspot.com/805043
* test for panic and recoverRuss Cox2010-03-312-0/+387
| | | | | | R=r, adg CC=golang-dev http://codereview.appspot.com/869041
* gc: implement panic and recoverRuss Cox2010-03-311-0/+1
| | | | | | R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/831042
* simplify various code using new map index ruleRuss Cox2010-03-301-11/+2
| | | | | | R=r CC=golang-dev http://codereview.appspot.com/833044
* single argument panicRuss Cox2010-03-3033-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
* gc: bug265Russ Cox2010-03-292-3/+0
| | | | | | | | Fixes issue 700. R=ken2 CC=golang-dev http://codereview.appspot.com/839041
* bug265: test case for issue 700Robert Griesemer2010-03-292-0/+25
| | | | | | | | ( http://code.google.com/p/go/issues/detail?id=700 ) R=r CC=golang-dev http://codereview.appspot.com/827042