summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/arm
AgeCommit message (Collapse)AuthorFilesLines
2011-02-18Imported Upstream version 2011.02.15Ondřej Surý1-14/+85
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-11/+10
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý10-862/+970
2010-05-21runtime: correct tracebacks for nascent goroutines, even closuresRuss Cox1-1/+6
Fixes issue 780. R=r CC=golang-dev http://codereview.appspot.com/1221042
2010-05-03runtime/arm: fix buildRuss Cox1-7/+7
Import _mulv from Inferno again, change R9 to R2. Not sure what the other differences were for, but they weren't working. TBR=kaib CC=golang-dev http://codereview.appspot.com/1079041
2010-04-15support for printing floats:Kai Backman2-17/+399
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-05runtime: various arm fixesRuss Cox4-17/+101
* 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-03-31runtime: make type assertion a runtime.Error, the first of manyRuss Cox1-15/+0
R=r CC=golang-dev http://codereview.appspot.com/805043
2010-03-30runtime: fix arm build, slightly.Russ Cox1-1/+1
R=r CC=golang-dev http://codereview.appspot.com/842042
2010-03-30gc: add panic and recover (still unimplemented in runtime)Russ Cox1-0/+15
main semantic change is to enforce single argument to panic. runtime: change to 1-argument panic. use String method on argument if it has one. R=ken2, r CC=golang-dev http://codereview.appspot.com/812043
2010-03-29runtime: run deferred calls at GoexitRuss Cox1-6/+6
baby step toward panic+recover. Fixes issue 349. R=r CC=golang-dev http://codereview.appspot.com/825043
2010-03-23runtime: add CallersRuss Cox1-130/+3
cut copies of traceback from 6 to 1. R=r CC=golang-dev http://codereview.appspot.com/703041
2010-01-25in C and asm, replace pkg·name with ·nameRuss Cox4-15/+15
(eliminate assumption of package global name space, make code easier to move between packages). R=r CC=golang-dev http://codereview.appspot.com/194072
2009-12-17 first stub for softfloats, intercepts float instructions and skipsKai Backman3-1/+72
them in the stream. R=rsc http://codereview.appspot.com/174052
2009-12-10fix calling convention and make memmove restore the g and mKai Backman1-2/+10
registers. R=rsc http://codereview.appspot.com/166049
2009-11-18bugs in memmove:Rob Pike1-2/+1
- has arguments (no stack split) - MOVL does not set condition R=ken2, rsc http://codereview.appspot.com/156086
2009-11-18Remove unnecessary execute bits.William Josephson1-0/+0
R=rsc http://codereview.appspot.com/156077 Committer: Russ Cox <rsc@golang.org>
2009-11-17runtime: add ARM memmoveRuss Cox1-0/+248
R=ken2 http://codereview.appspot.com/156063
2009-11-12add support for pre arm v6 cas. set GOARM=5 to enable.Kai Backman2-0/+43
R=rsc http://codereview.appspot.com/154101
2009-11-11 add cache flushing call after generating closure.Kai Backman1-0/+4
go/test: passes 88% (306/347) R=rsc http://codereview.appspot.com/152089
2009-10-29clone and futexKai Backman1-6/+8
go/test: passes 99% (343/347) R=rsc http://go/go-review/1016004
2009-10-23fix off by 4 bug in morestack (lr again). remove storing of r0Kai Backman1-13/+2
now that all arguments are passed on the stack. go/test: passes 89% (310/345) R=rsc APPROVED=rsc DELTA=33 (13 added, 14 deleted, 6 changed) OCL=36009 CL=36022
2009-10-22fix off by 4 in newproc arg copying.Kai Backman1-2/+2
R=rsc APPROVED=rsc DELTA=4 (0 added, 0 deleted, 4 changed) OCL=36001 CL=36004
2009-10-19getcallerpc and setcallerpcKai Backman1-11/+7
go/test: passes 87% (303/345) R=rsc APPROVED=rsc DELTA=19 (5 added, 6 deleted, 8 changed) OCL=35903 CL=35906
2009-10-19first version of closures. test/closure doesn't yet pass.Kai Backman1-0/+122
go/test: passes 87% (300/343) R=rsc APPROVED=rsc DELTA=125 (125 added, 0 deleted, 0 changed) OCL=35893 CL=35900
2009-10-15rename sys functions to runtime,Russ Cox3-15/+15
because they are in package runtime. another step to enforcing package boundaries. R=r DELTA=732 (114 added, 93 deleted, 525 changed) OCL=35811 CL=35824
2009-10-15test/64bit.go passes but doesn't generate properly yet.Kai Backman1-3/+9
R=rsc APPROVED=rsc DELTA=235 (98 added, 38 deleted, 99 changed) OCL=35789 CL=35813
2009-10-14casKai Backman1-2/+17
R=rsc APPROVED=rsc DELTA=31 (1 added, 8 deleted, 22 changed) OCL=35752 CL=35757
2009-10-12changed 5c 64 bit word ordering to little endian so it matchesKai Backman1-13/+13
5g. fixes to 64 bit code gen. added (finally) function to do shifts properly. go/test: passes 83% (287/342) R=rsc APPROVED=rsc DELTA=156 (50 added, 53 deleted, 53 changed) OCL=35589 CL=35616
2009-10-10fix float <-> int64 conversionsKai Backman1-0/+13
R=rsc APPROVED=rsc DELTA=25 (25 added, 0 deleted, 0 changed) OCL=35566 CL=35574
2009-10-065l library loading, 64 bit entry pointsKai Backman1-0/+24
R=rsc APPROVED=rsc DELTA=58 (52 added, 3 deleted, 3 changed) OCL=35417 CL=35417
2009-10-05move cas out, add dummy runcgo.Kai Backman2-37/+39
R=rsc APPROVED=rsc DELTA=73 (45 added, 28 deleted, 0 changed) OCL=35363 CL=35366
2009-09-18changed 5c calling convention to use stack exclusively for inKai Backman2-4/+8
params. a number of fixes to assembly routines that assumed R0 had the first arg. one stack offset fix, arm pushes the link register on stack top. go/test: passes 65% (235/364) tests R=rsc APPROVED=rsc DELTA=20 (11 added, 0 deleted, 9 changed) OCL=34809 CL=34812
2009-09-15fixed register usage and removed some dead code.Kai Backman1-17/+5
R=rsc APPROVED=rsc DELTA=17 (0 added, 12 deleted, 5 changed) OCL=34659 CL=34665
2009-07-12Fixed minor typo in asm file.Kai Backman1-1/+1
R=rsc APPROVED=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=31487 CL=31500
2009-07-08reflection for functionsRuss Cox1-0/+35
add channel send type check (thanks austin). fix type mismatch message. R=r DELTA=241 (225 added, 5 deleted, 11 changed) OCL=31370 CL=31375
2009-06-25Add Gobuf.r0 that stores arg0 or return value ofKai Backman1-2/+2
goroutine. arm only. R=rsc APPROVED=rsc DELTA=5 (3 added, 2 deleted, 0 changed) OCL=30644 CL=30746
2009-06-23Runtime is now starting up with a dummy c program as target:Kai Backman2-81/+213
- morestack and gosave/gogo/gocall support - memclr and memset from inferno - bugfixes in _rt0_arm R=rsc APPROVED=rsc DELTA=304 (174 added, 36 deleted, 94 changed) OCL=30636 CL=30642
2009-06-16grab bag of changes aimed at getting stack splitting to work:Kai Backman1-110/+119
- morestack support for 5l and arm runtime - argsize support in 5c, 5l, ar and nm. assembly code from 5a will break in interesting ways unless NOSPLIT is specified - explicit cond execution constants - fix 5l output to use %d instead of %ld so that negative values show. - added a lot of code to arm/asm.s. runtime entry code almost working currently aborts at gogo not implemented R=rsc APPROVED=rsc DELTA=305 (125 added, 29 deleted, 151 changed) OCL=30246 CL=30347
2009-06-10Adding a batch of missing system calls.Kai Backman5-62/+1252
R=rsc APPROVED=rsc DELTA=1329 (1264 added, 1 deleted, 64 changed) OCL=30040 CL=30158
2009-06-09mv src/lib to src/pkgRob Pike3-0/+86
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102