summaryrefslogtreecommitdiff
path: root/src/cmd/8g/cgen.c
AgeCommit message (Collapse)AuthorFilesLines
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+1233
2011-09-13Imported Upstream version 60Ondřej Surý1-1235/+0
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-11/+29
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-2/+4
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-1/+1
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-28/+41
2010-06-288g compiler missing call to splitclean().Ken Thompson1-1/+4
fixes issue 887. R=rsc CC=golang-dev http://codereview.appspot.com/1675050
2010-05-248g: out of register bugRuss Cox1-4/+8
Fixes issue 806. R=ken2 CC=golang-dev http://codereview.appspot.com/1281042
2010-05-24gc: bug281 - bad overlap in stack copyRuss Cox1-1/+32
Fixes issue 807. R=ken2 CC=golang-dev http://codereview.appspot.com/1283041
2010-04-308g: bug272Russ Cox1-13/+37
Fixes issue 589. R=ken2 CC=golang-dev http://codereview.appspot.com/1043042
2010-04-01runtime: turn run time errors checks into panicsRuss Cox1-2/+2
R=ken2, r CC=golang-dev http://codereview.appspot.com/871042 Committer: Russ Cox <rsc@golang.org>
2010-03-10fix 386 a[i] = cmplx(r, j)Russ Cox1-6/+6
R=ken2 CC=golang-dev http://codereview.appspot.com/384043
2010-03-09identical complex implementationKen Thompson1-12/+11
for 6g and 8g. can also be used for 5g. 5g is still a stub. R=rsc CC=golang-dev http://codereview.appspot.com/362041
2010-03-056g complex type usableKen Thompson1-0/+18
8g and 5g have stubs to ignore complex R=rsc CC=golang-dev http://codereview.appspot.com/257042
2010-03-05gc: better compilation of floating point +=Russ Cox1-1/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/255042
2010-02-268g: fix out of register bug in byte(x) codeRuss Cox1-6/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/223070
2010-02-268g: make a[byte(x)] truncate xRuss Cox1-1/+8
R=ken2 CC=golang-dev http://codereview.appspot.com/223069
2010-02-178g: respect ullman numbers in float comparisonRuss Cox1-8/+14
Fixes issue 602. R=ken2 CC=golang-dev http://codereview.appspot.com/212045
2009-12-028g: discard tempalloc/tempfree experimentRuss Cox1-50/+23
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-12-026g etc: groundwork for eliminating redundant bounds checks.Russ Cox1-3/+3
drop check in range over array. drop check in [256]array indexed by byte. R=ken2 http://codereview.appspot.com/163088
2009-12-018g: Match sgen definition to declarationEvan Shaw1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/164069 Committer: Russ Cox <rsc@golang.org>
2009-11-238g: call throwindex for array out of boundsRuss Cox1-4/+2
R=ken2 http://codereview.appspot.com/160043
2009-11-20x[lo:] - gc and runtime.Russ Cox1-0/+4
* 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-15gc: fix up floating point NaN comparisonsRuss Cox1-11/+36
Fixes issue 167. R=ken2 http://codereview.appspot.com/155062
2009-11-01nil pointer checks in 8g.Russ Cox1-1/+24
fix nil pointer check in 6g. was dereferencing after the ADD; dereference before instead. R=ken@golang.org CC=iant http://go/go-review/1016022
2009-09-30fix 386 build - register allocation and shift bugRuss Cox1-9/+19
R=ken OCL=35140 CL=35142
2009-09-21ideal bools and related fixesRuss Cox1-3/+3
R=ken OCL=34859 CL=34865
2009-09-14make 5g, 8g build again by disabling init code.Russ Cox1-4/+0
R=ken OCL=34604 CL=34604
2009-08-24gc: handle iface == nil in back endRuss Cox1-0/+19
R=ken OCL=33778 CL=33781
2009-08-20len and cap on chansRuss Cox1-1/+23
R=ken OCL=33599 CL=33599
2009-07-30delete some code from walkexpr that is nowRuss Cox1-0/+7
handled by typecheck. second switch is gone move floating point minus into back end R=ken OCL=32558 CL=32558
2009-07-30typechecking checkpoint.Russ Cox1-3/+3
started to move typechecking to another file. can build entire tree still, but lots of work is duplicated. much to clean up. R=ken OCL=32536 CL=32543
2009-07-28fix error that gcc thinks is a warningRuss Cox1-1/+1
R=ken OCL=32264 CL=32386
2009-07-27avoid register computing len(x), cap(x)Russ Cox1-0/+14
for slice or string x. R=ken OCL=32249 CL=32249
2009-07-09bug168 (dsymonds) + fixRuss Cox1-9/+4
R=ken OCL=31399 CL=31399
2009-07-06fix float32 comparison. was doing l op l instead of l op r.Russ Cox1-6/+7
R=ken OCL=31190 CL=31190
2009-06-23fix a 6g crash after type errors.Russ Cox1-6/+6
do not bother warning about marks left on stack after syntax errors. leave OCONV nodes in tree to avoid type errors arising from multiple walks. R=ken OCL=30639 CL=30662
2009-06-06an 8g checkpoint.Russ Cox1-14/+21
needs cleanup, optimizer, but all.bash works. R=ken OCL=29974 CL=30000
2009-06-04more 8g progress.Russ Cox1-24/+59
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-06-02trivial cut and paste: move 64-bit simulation into cgen64.cRuss Cox1-506/+0
R=ken OCL=29812 CL=29812
2009-06-028g:Russ Cox1-130/+119
* floating point -> integer conversions. x86 defines that overflow/underflow results in 1<<15, 1<<31, 1<<63 for int16, int32, int64. when building the unsigned conversions out of the native signed ones, 8g turns overflow/underflow into zero. the spec does not say what should happen. * many tiny bug fixes. can run a large number of files from go/test now, and can fmt.Printf. * struggling with byte register allocation and float32 computation. R=ken OCL=29642 CL=29811
2009-05-2964-bit integer arithmetic.Russ Cox1-19/+332
passes ridiculous test from CL 29569. R=ken OCL=29571 CL=29573
2009-05-28better 64-bit handling in 8g.Russ Cox1-158/+161
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-6/+296
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-0/+897
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