head	1.11;
access;
symbols
	codegen2-regalloc:1.11.0.4
	codegen2:1.11.0.2
	codegen2-no-regalloc:1.10
	opt-regalloc3-merge2:1.9.14.1
	opt-sideffect-merge1:1.9
	opt-regalloc3-merge1:1.9
	opt-regalloc3:1.9.0.14
	opt-regalloc3-base:1.9
	opt-sideffect:1.9.0.12
	opt-sideffect-base:1.9
	new-regalloc-thursday:1.9.10.1
	codegen2-thursday:1.9
	new-regalloc:1.9.0.10
	new-regalloc-base:1.9
	opt-deadcode:1.9.0.8
	opt-deadcode-base:1.9
	opt-const:1.9.0.6
	opt-const-base:1.9
	opt-copyprop:1.9.0.4
	opt-copyprop-base:1.9
	reg_alloc_branch:1.9.0.2
	reg_alloc_base:1.9
	opt-cse:1.8.0.4
	codegen1_branch:1.8.0.2
	codegen1_base:1.8
	syntax_split_merge2:1.5
	syntax_split:1.5.0.2
	syntax_split_base:1.5;
locks; strict;
comment	@# @;


1.11
date	96.12.09.20.49.43;	author daveg;	state Exp;
branches;
next	1.10;

1.10
date	96.12.09.06.46.44;	author daveg;	state Exp;
branches;
next	1.9;

1.9
date	96.11.21.00.41.59;	author daveg;	state Exp;
branches
	1.9.2.1
	1.9.10.1
	1.9.14.1;
next	1.8;

1.8
date	96.11.07.09.45.11;	author daveg;	state Exp;
branches
	1.8.4.1;
next	1.7;

1.7
date	96.11.06.09.26.13;	author daveg;	state Exp;
branches;
next	1.6;

1.6
date	96.11.03.19.28.16;	author daveg;	state Exp;
branches;
next	1.5;

1.5
date	96.11.02.03.39.05;	author jered;	state Exp;
branches;
next	1.4;

1.4
date	96.11.01.21.39.54;	author jered;	state Exp;
branches;
next	1.3;

1.3
date	96.10.31.10.16.43;	author daveg;	state Exp;
branches;
next	1.2;

1.2
date	96.10.31.05.33.00;	author daveg;	state Exp;
branches;
next	1.1;

1.1
date	96.10.30.19.33.47;	author daveg;	state Exp;
branches;
next	;

1.8.4.1
date	96.11.27.02.16.25;	author nathanw;	state Exp;
branches;
next	;

1.9.2.1
date	96.11.21.21.31.53;	author daveg;	state Exp;
branches;
next	;

1.9.10.1
date	96.12.05.02.53.17;	author hartmans;	state Exp;
branches;
next	;

1.9.14.1
date	96.12.09.10.15.40;	author hartmans;	state Exp;
branches;
next	;


desc
@@


1.11
log
@the mass commit when I think regalloc finally works
@
text
@Mon Dec  9 01:45:41 1996  David D Golombek  <daveg@@mit.edu>

	* mipsgen.clu: fixed stupid bug where referring to arg slots
	in the midst of assigning to them.

Thu Nov 21 16:27:15 1996  David D Golombek  <daveg@@planet-zorp.MIT.EDU>

	* mipsgen.clu: generate blocks instead of goto's if block hasn't
	already been generated.
	* codegen.clu: pass needed params to mipsgen functions for
	above optimization.
	* mipslib.clu: fix typos

Wed Nov 20 19:40:52 1996  David D Golombek  <daveg@@planet-zorp.MIT.EDU>

	* mipsgen.clu: fixed stupid bug in using stack slots

Thu Nov  7 04:37:46 1996  David D Golombek  <daveg@@iced.MIT.EDU>

	* codegen.clu: added mipslib to rep to track use of stack_slots.
	* mipsgen.clu: changed all registers to type register, created
	get_lvalue and implemented much of it.
	* mipslib.clu: added tracking of stack_slots, added regunparse 
	for type register
	* codegen.equ: added defs for register type

Wed Nov  6 04:22:16 1996  David D Golombek  <daveg@@planet-zorp.MIT.EDU>

	* codegen.clu: moved all mips code into mipsgen and mipslib
	* mipsgen.clu: wrote gen_assign, worked on gen_call, general
	cleanup elsewhere
	* mipslib.clu: cleaned up lots of the code from support.s so 
	it looks decent and will parse.  added gen_data_header, 
	gen_text_header, gen_global_variable, gen_procedure_header, and
	gen_block_header

Sun Nov  3 14:25:48 1996  David D Golombek  <daveg@@iced.MIT.EDU>

	* Makefile: added mipslib.clu
	* codegen.clu: shortened some calls using clu desugaring
	* mipslib.clu: modified so it would actually compile
	* mipsgen.clu: minor bug fixes

Fri Nov  1 22:38:21 1996  Jered J Floyd  <jered@@vorlon.mit.edu>

	* mipsgen.clu (mipsgen): Mangled stdlib labels.
	  readint is a syscall, not a stdlib function.

Fri Nov  1 16:31:16 1996  Jered J Floyd  <jered@@mit.edu>

	* codegen.clu (codegen): Fixed a typo.
	(codegen): Prepend stlib to the output.

	* mipsgen.clu (mipsgen): Fixed a typo.

	* mipslib.clu: Created from support.s (also here) using emacs.
	  Do the labels need to be mangled?

Thu Oct 31 05:15:02 1996  David D Golombek  <daveg@@iced.MIT.EDU>

	* mipsgen.clu: roughed out the MIPS code for many functions
	* codegen.clu: removed unneeded return code, label's for all
	 blocks

Thu Oct 31 00:30:38 1996  David D Golombek  <daveg@@planet-zorp.MIT.EDU>

	* mipsgen.clu: skeletons for all il calls
	* Makefile: added codegen lib
	* codegen.clu: added code to branch on statements

Wed Oct 30 14:26:38 1996  David D Golombek  <daveg@@planet-zorp.MIT.EDU>

	* Makefile: initial draft
	* codegen.clu: add a simple create method
	* codegen.equ: add codegen_state, as passed into create

@


1.10
log
@don't use arg slots while in the midst of assigning to them
@
text
@d6 8
@


1.9
log
@fixed stupid bug in stack slot usage
@
text
@d1 5
@


1.9.14.1
log
@Finish merge from new-regalloc
to opt-regalloc3
@
text
@a0 8
Thu Nov 21 16:27:15 1996  David D Golombek  <daveg@@planet-zorp.MIT.EDU>

	* mipsgen.clu: generate blocks instead of goto's if block hasn't
	already been generated.
	* codegen.clu: pass needed params to mipsgen functions for
	above optimization.
	* mipslib.clu: fix typos

@


1.9.10.1
log
@New branch: new-regalloc
includes deadcode and regalloc
@
text
@a0 8
Thu Nov 21 16:27:15 1996  David D Golombek  <daveg@@planet-zorp.MIT.EDU>

	* mipsgen.clu: generate blocks instead of goto's if block hasn't
	already been generated.
	* codegen.clu: pass needed params to mipsgen functions for
	above optimization.
	* mipslib.clu: fix typos

@


1.9.2.1
log
@generate block instead of gotos if block hasn't already been generated
@
text
@a0 8
Thu Nov 21 16:27:15 1996  David D Golombek  <daveg@@planet-zorp.MIT.EDU>

	* mipsgen.clu: generate blocks instead of goto's if block hasn't
	already been generated.
	* codegen.clu: pass needed params to mipsgen functions for
	above optimization.
	* mipslib.clu: fix typos

@


1.8
log
@created register type (int), tracked number of stack_slots used and
initialized illocs appropriately, continued work on get_rvalue
@
text
@d1 4
@


1.8.4.1
log
@Pull up fixes from trunk.
@
text
@a0 4
Wed Nov 20 19:40:52 1996  David D Golombek  <daveg@@planet-zorp.MIT.EDU>

	* mipsgen.clu: fixed stupid bug in using stack slots

@


1.7
log
@worked on gen_call, gen_assign, procedure_headers, lots of code cleanup, removing mips code from codegen itself
@
text
@d1 9
@


1.6
log
@bug fixes all over the place
@
text
@d1 10
@


1.5
log
@Mangled stdlib labels used in mipsgen.clu.
Fixed readint.
@
text
@d1 7
@


1.4
log
@Added the stdlib functions (readchar,writechar,alloc,zalloc)
@
text
@d1 5
@


1.3
log
@further roughing out of code
@
text
@d1 10
@


1.2
log
@continued skeleton development
@
text
@d1 6
@


1.1
log
@initial checkins
@
text
@d1 6
@
