summaryrefslogtreecommitdiff
path: root/src/cmd/6g/reg.c
AgeCommit message (Collapse)AuthorFilesLines
2014-06-19Imported Upstream version 1.3upstream/1.3Michael Stapelberg1-67/+186
2013-12-03Imported Upstream version 1.2upstream/1.2Michael Stapelberg1-813/+144
2013-05-14Imported Upstream version 1.1upstream/1.1Michael Stapelberg1-6/+5
2013-03-04Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304Michael Stapelberg1-30/+70
2012-06-14Imported Upstream version 1.0.2upstream/1.0.2Ondřej Surý1-2/+2
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý1-30/+160
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+1690
2011-09-13Imported Upstream version 60Ondřej Surý1-1690/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý1-0/+1
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-20/+140
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-2/+0
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-2/+0
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-10/+10
2010-05-20fix issue 798Ken Thompson1-0/+2
cannot allocate an audomatic temp while real registers are allocated. there is a chance that the automatic will be allocated to one of the allocated registers. the fix is to not registerize such variables. R=rsc CC=golang-dev http://codereview.appspot.com/1202042
2010-04-01runtime: turn run time errors checks into panicsRuss Cox1-3/+3
R=ken2, r CC=golang-dev http://codereview.appspot.com/871042 Committer: Russ Cox <rsc@golang.org>
2010-01-22eliminate the package global name space assumption in object filesRuss Cox1-4/+4
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-12more on the optimizerKen Thompson1-13/+24
trying to get alizses to optimize R=rsc http://codereview.appspot.com/176061
2009-12-11bug in 6g optimizerKen Thompson1-57/+52
8g still needs fixing R=rsc http://codereview.appspot.com/176057
2009-12-046g/8g optimizer fix: throw functions now in runtimeRuss Cox1-4/+4
R=ken2 http://codereview.appspot.com/166070
2009-11-068g optimizerKen Thompson1-1/+1
R=rsc http://go/go-review/1025011
2009-10-20bug162, over and overRuss Cox1-1/+1
R=ken OCL=35919 CL=35919
2009-10-19bug190.Russ Cox1-1/+0
also eliminate float80 dregs R=ken OCL=35894 CL=35896
2009-09-02fix initialization of noreturnRob Pike1-3/+3
R=ken DELTA=3 (0 added, 0 deleted, 3 changed) OCL=34283 CL=34283
2009-08-30removed debug printKen Thompson1-1/+1
R=r OCL=34087 CL=34087
2009-08-29sped up optimization by not optimizingKen Thompson1-37/+55
very large functions. R=r OCL=34080 CL=34080
2009-08-28sliceslice inlineKen Thompson1-0/+1
R=rsc OCL=34041 CL=34041
2009-08-20symbol bugs.Russ Cox1-0/+2
do not emit unreachable data symbols. R=austin DELTA=103 (71 added, 4 deleted, 28 changed) OCL=33325 CL=33622
2009-08-09increase from 3 to 11 floating registersKen Thompson1-4/+4
R=rsc OCL=32947 CL=32947
2009-08-091. integer division by a constant done.Ken Thompson1-0/+8
2. moved functions from 6g to gc for portability to other families. 3. added rotate-carry instructions to peek and reg. R=rsc OCL=32946 CL=32946
2009-05-23improvement in registerizationKen Thompson1-14/+56
R=r OCL=29317 CL=29317
2009-05-231. check for dups in complex literalsKen Thompson1-9/+15
structtype{a:1, a:2} maptypetype{"xx":1, "xx":2} arraytypetype{5:1, 5:2} 2. bug in registerization concerning alias of a struct and one of its elements 3. code optimization of struct.field (which exposed bug in 2) R=r OCL=29315 CL=29315
2009-03-10bug with interaction of variablesKen Thompson1-1/+3
declared in cases and heap allocation R=r OCL=26064 CL=26064
2009-01-13in 6g -r (the rsc flag),Russ Cox1-0/+18
rewrite heap pointer moves as xchg. R=ken OCL=22665 CL=22665
2009-01-09silence gcc warnings.Russ Cox1-0/+1
not sure if the warning in reg.c was a real bug. R=ken OCL=22408 CL=22410
2008-12-14more code optimizationKen Thompson1-0/+1
R=r OCL=21159 CL=21159
2008-11-241. retract general field namesKen Thompson1-2/+2
2. array bounds bug 3. ... optimization bug R=r OCL=19927 CL=19927
2008-11-22reg and peepKen Thompson1-57/+124
R=r OCL=19871 CL=19871
2008-11-19silence gcc warnings: missing prototypes and unused variablesRuss Cox1-3/+3
R=ken OCL=19583 CL=19583
2008-11-18first cut at optimizingKen Thompson1-0/+1400
R=r OCL=19564 CL=19564