summaryrefslogtreecommitdiff
path: root/src/cmd/5c/cgen.c
AgeCommit message (Collapse)AuthorFilesLines
2015-01-15Imported Upstream version 1.4upstream/1.4Tianon Gravi1-13/+25
2013-12-03Imported Upstream version 1.2upstream/1.2Michael Stapelberg1-1/+3
2013-03-04Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304Michael Stapelberg1-2/+2
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+1199
2011-09-13Imported Upstream version 60Ondřej Surý1-1199/+0
2009-10-12changed 5c 64 bit word ordering to little endian so it matchesKai Backman1-2/+2
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-07-07move 6c/pgen.c, 6c/pswt.c into ccRuss Cox1-48/+61
and make 5c, 8c use them. centralizes reachability analysis and switch generation. now 8c doesn't have spurious warnings in pkg/runtime. R=ken OCL=31266 CL=31266
2009-03-25This is really two changes in one but given interdependenciesKai Backman1-7/+7
and expected review latency I needed to combine the CLs. 1. Made the 5* toolpath build using the go build system. Hooked the subdirectories to clean.bash but added a separate make5.bash for now. Minor massage to make the code more similar to the current structure of 6c/6a/6l. 2. Change all references from long to int32 in line with similar change for the other toolchains. The end result is that 5c, 5a and 5l can now be compiled and the executables start up properly. Haven't thrown any input at them yet. R=rsc APPROVED=rsc DELTA=1052 (392 added, 328 deleted, 332 changed) OCL=26757 CL=26761
2009-03-135a 5c 5l from inferno distributionKai Backman1-0/+1186
R=rsc APPROVED=rsc DELTA=19042 (19042 added, 0 deleted, 0 changed) OCL=26268 CL=26270