summaryrefslogtreecommitdiff
path: root/src/cmd/8g/ggen.c
AgeCommit message (Collapse)AuthorFilesLines
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-115/+25
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-4/+0
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-1/+1
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-36/+80
2010-06-308g: out of register bug fixRuss Cox1-1/+3
Fixes issue 868. R=ken2 CC=golang-dev http://codereview.appspot.com/1695049
2010-04-22runtime: closures, defer bug fix for Native ClientRuss Cox1-1/+11
Enable package tests for Native Client build. R=r CC=golang-dev http://codereview.appspot.com/957042
2010-04-01runtime: turn run time errors checks into panicsRuss Cox1-4/+4
R=ken2, r CC=golang-dev http://codereview.appspot.com/871042 Committer: Russ Cox <rsc@golang.org>
2010-03-31gc: implement panic and recoverRuss Cox1-2/+7
R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/831042
2010-03-26gc: allow taking address of out parametersRuss Cox1-3/+24
Fixes issue 186. R=ken2 CC=golang-dev http://codereview.appspot.com/793041
2010-03-085g/6g/8g: fix double function call in sliceRuss Cox1-32/+23
Fixes issue 654. R=ken2 CC=golang-dev http://codereview.appspot.com/310041
2010-03-05gc: better compilation of floating point +=Russ Cox1-10/+23
R=ken2 CC=golang-dev http://codereview.appspot.com/255042
2010-02-18gc: fix this morning's bug fixRuss Cox1-0/+2
R=ken2 CC=golang-dev http://codereview.appspot.com/216043
2010-01-22eliminate the package global name space assumption in object filesRuss Cox1-1/+1
5g/6g/8g: add import statements to export metadata, mapping package path to package name. recognize "" as the path of the package in export metadata. use "" as the path of the package in object symbol names. 5c/6c/8c, 5a/6a/8a: rewrite leading . to "". so that ·Sin means Sin in this package. 5l/6l/8l: rewrite "" in symbol names as object files are read. gotest: handle new symbol names. gopack: handle new import lines in export metadata. Collectively, these changes eliminate the assumption of a global name space in the object file formats. Higher level pieces such as reflect and the computation of type hashes still depend on the assumption; we're not done yet. R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/186263 Committer: Russ Cox <rsc@golang.org>
2009-12-036g code gen bugKen Thompson1-10/+4
R=rsc http://codereview.appspot.com/166052
2009-12-028g: discard tempalloc/tempfree experimentRuss Cox1-26/+13
in favor of tempname. allows optimizer to do more. unfortunately, optimizer seems to be broken; disable it. R=ken2 http://codereview.appspot.com/163091
2009-11-20x[lo:] - gc and runtime.Russ Cox1-0/+345
* add runtime sliceslice1 for x[lo:] * remove runtime arraytoslice, rewriting &arr into arr[0:len(arr)]. * port cgen_inline into 8g, 5g. * use native memmove in maps R=ken2 http://codereview.appspot.com/157106
2009-11-068g optimizerKen Thompson1-3/+4
R=rsc http://go/go-review/1025011
2009-10-27shift for non-64 bit integers.Kai Backman1-1/+1
R=rsc http://go/go-review/1015017
2009-09-30fix 386 build - register allocation and shift bugRuss Cox1-4/+4
R=ken OCL=35140 CL=35142
2009-09-17move static init code from 6g into gc.Russ Cox1-49/+0
hook up to 8g and 5g too. R=ken OCL=34768 CL=34768
2009-09-14make 5g, 8g build again by disabling init code.Russ Cox1-129/+1
R=ken OCL=34604 CL=34604
2009-09-08write-only variable _Russ Cox1-1/+1
R=ken OCL=34465 CL=34470
2009-08-126g: save all 64 bits of AX/DXRuss Cox1-29/+54
8g: save AX/DX around div R=ken OCL=33094 CL=33096
2009-08-078 shift bugRuss Cox1-2/+29
R=ken OCL=32882 CL=32882
2009-08-04make Syms smaller.Russ Cox1-1/+0
collapse a lot of duplication in dcl.c switch to NodeList* from Dcl* R=ken OCL=32770 CL=32770
2009-07-30fix build on amd64Russ Cox1-0/+2
R=ken OCL=32521 CL=32521
2009-07-17another step toward eliminating forward declarations.Russ Cox1-7/+7
introduce NodeList* type in compiler to replace OLIST. this clarifies where lists can and cannot occur. list append and concatenation are now cheap. the _r rules are gone from yacc. rev and unrev are gone. no more lists of lists. the representation of assignments is a bit clunkier. split into OAS (1=1) and OAS2 (2 or more on one side). delete dead chanrecv3 code. delay construction of func types. R=ken OCL=31745 CL=31762
2009-06-06an 8g checkpoint.Russ Cox1-1/+36
needs cleanup, optimizer, but all.bash works. R=ken OCL=29974 CL=30000
2009-06-04more 8g progress.Russ Cox1-33/+259
likely to go back to registers for most temporaries. most tests in lib pass. these fail: datafmt fmt go/scanner log reflect strconv template R=ken OCL=29896 CL=29898
2009-05-28better 64-bit handling in 8g.Russ Cox1-1/+1
fewer moves, fewer stupid LEALs. powser1 runs (with evaln commented out). beginnings of floating point. R=ken OCL=29540 CL=29543
2009-05-268g: 64-bit arithmetic and assorted bug fixes;Russ Cox1-4/+122
can run 64-bit sieve and powser. interfaces are limping along. next hurdle is floating point. R=ken OCL=29418 CL=29423
2009-05-26more 8g.Russ Cox1-2/+155
test/turing.go runs if you move the big array off its stack. finally remembered to g4 add cgen.c gsubr.c R=ken OCL=29408 CL=29408
2009-05-268g: hello world works againRuss Cox1-0/+334
* string format changed * files got renamed * new files that i forgot to check in last time updates are all copy and paste from 6g R=ken OCL=29385 CL=29400