John Benediktsson
							
						 
						
							 
							
							
							
								
							
								d0ad18a64e 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg.ssa.construction.tdmsc: fix previous broken commits.  
							
							 
							
							
							
						 
						
							2013-03-23 18:44:49 -07:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								15f9ba2763 
								
							
								 
							
						 
						
							
							
								
								Revert "compiler.cfg.ssa.construction.tdmsc: more use of ?adjoin."  
							
							 
							
							... 
							
							
							
							This reverts commit 6bf55a6d89 . 
							
						 
						
							2013-03-23 18:39:15 -07:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								3f1a426210 
								
							
								 
							
						 
						
							
							
								
								Revert "compiler.cfg.ssa.construction.tdmsc: pass visited set on stack."  
							
							 
							
							... 
							
							
							
							This reverts commit ec2834300b . 
							
						 
						
							2013-03-23 18:25:53 -07:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								7744498ad2 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg.ssa.construction.tdmsc: pass visited set on stack.  
							
							 
							
							
							
						 
						
							2013-03-23 18:13:17 -07:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								56a7cf4df2 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg.ssa.construction.tdmsc: more use of ?adjoin.  
							
							 
							
							
							
						 
						
							2013-03-23 17:57:41 -07:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								93fb7805b0 
								
							
								 
							
						 
						
							
							
								
								compiler: more use of ?adjoin.  
							
							 
							
							
							
						 
						
							2013-03-23 17:47:07 -07:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								c7c951f207 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg.ssa.construction: more use of hash-sets.  
							
							 
							
							
							
						 
						
							2013-03-10 10:03:11 -07:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								88626d38ca 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg.ssa.construction: more use of hash-sets.  
							
							 
							
							
							
						 
						
							2013-03-08 12:24:06 -08:00  
						
					 
				
					
						
							
							
								 
								Alex Vondrak
							
						 
						
							 
							
							
							
								
							
								e90ce0865c 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg.ssa.destruction.leaders: break off leader-map to resolve circular dependencies (oops)  
							
							 
							
							
							
						 
						
							2012-12-31 11:20:57 -08:00  
						
					 
				
					
						
							
							
								 
								Alex Vondrak
							
						 
						
							 
							
							
							
								
							
								fc91dcf530 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg.ssa.destruction: alien-call-insns are too hairy to coalesce (issue  #22 )  
							
							 
							
							
							
						 
						
							2012-12-31 11:04:57 -08:00  
						
					 
				
					
						
							
							
								 
								Alex Vondrak
							
						 
						
							 
							
							
							
								
							
								ff1c2c293b 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg.ssa.interference.live-ranges: fix kill-indices for ##parallel-copy (issue  #22 )  
							
							 
							
							
							
						 
						
							2012-12-31 11:04:38 -08:00  
						
					 
				
					
						
							
							
								 
								Alex Vondrak
							
						 
						
							 
							
							
							
								
							
								ae0b77a0c4 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg.ssa.cssa: split the definitions of ##phis so live-ranges don't interfere (issue  #22 )  
							
							 
							
							... 
							
							
							
							See the explanation after the proof of Lemma 1 in "Revisiting Out-of-SSA
Translation for Correctness, Code Quality, and Efficiency" (Boissinot et
al.) for why this is necessary. 
							
						 
						
							2012-12-31 11:04:26 -08:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								a0dd953e33 
								
							
								 
							
						 
						
							
							
								
								starting point - Fix bootstrap; I broke it in merging. Disable environment variables because the compiler isn't loaded yet and can't call C ffi functions, and tools.test loads this vocab.  
							
							 
							
							... 
							
							
							
							Disable intrinsics in cpu.x86.64 for now, since they invoke the compiler
Fix ##branch renaming to ##branch,
To work on this branch:
./factor -include=math -i=boot.image
./factor -run=listener
USE: compiler USE: tools.test save
enable-optimizer
Error message is now:
T{ vregs-shouldn't-interfere f 409 424 } 
							
						 
						
							2012-12-31 11:03:45 -08:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								07227f22f9 
								
							
								 
							
						 
						
							
							
								
								WIP  
							
							 
							
							
							
						 
						
							2012-12-31 11:03:33 -08:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								910748819d 
								
							
								 
							
						 
						
							
							
								
								Now that #foo and ##foo are symbols we can remove a bunch of \  
							
							 
							
							
							
						 
						
							2011-11-12 22:04:26 -08:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								6cca0ea468 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg: Rename <##foo> to ##foo, in the low-level IR  
							
							 
							
							
							
						 
						
							2011-11-11 19:48:38 -08:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								eb2a0c611b 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg: Change low-level IR constructors from ##foo to <##foo>  
							
							 
							
							
							
						 
						
							2011-11-06 23:02:46 -08:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								4baf14972f 
								
							
								 
							
						 
						
							
							
								
								sequences: adding ?last for symmetry.  
							
							 
							
							
							
						 
						
							2011-10-13 13:04:24 -07:00  
						
					 
				
					
						
							
							
								 
								Joe Groff
							
						 
						
							 
							
							
							
								
							
								2bd6de9a02 
								
							
								 
							
						 
						
							
							
								
								slots: pre-create the "at", "nth", and "global" slots to make deterministic the currently nondeterministic ambiguity between accessors:change-* and assocs:change-at, sequences:change-nth, and namespaces:change-global  
							
							 
							
							
							
						 
						
							2011-09-19 10:03:43 -07:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								6f7e4e32d0 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg.ssa.construction: update unit tests for nths change  
							
							 
							
							
							
						 
						
							2011-02-25 21:05:38 -08:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								ec2f42fd40 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg.liveness: merge in compiler.cfg.liveness.ssa and simplify the code, since we don't compute live sets before SSA construction anymore  
							
							 
							
							
							
						 
						
							2010-09-25 14:36:58 -07:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								8bc2ea7a5c 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg.ssa.construction: use the baller method for pruned SSA  
							
							 
							
							
							
						 
						
							2010-09-20 21:36:22 -07:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								355d89e8e8 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg: now that kill-blocks cannot contain instructions that define vregs we can skip them all  
							
							 
							
							
							
						 
						
							2010-07-27 12:40:31 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								e27adb2830 
								
							
								 
							
						 
						
							
							
								
								compiler: re-architect low-level optimizer to allow more than one output value per instruction  
							
							 
							
							
							
						 
						
							2010-07-13 07:40:14 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								5d6816d364 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg.ssa: fixing test failures  
							
							 
							
							
							
						 
						
							2010-06-15 17:18:51 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								41d929a201 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg.ssa.interference: implement linear-time interference test  
							
							 
							
							
							
						 
						
							2010-05-17 05:50:13 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								6b7260a4a7 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg.ssa.interference.live-ranges: compute correct live ranges for ##phi instructions  
							
							 
							
							
							
						 
						
							2010-05-17 05:50:13 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								5ecd2b61c7 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg: more silly optimizations  
							
							 
							
							
							
						 
						
							2010-05-14 18:37:09 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								291543c300 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg.ssa.live-ranges: clean up  
							
							 
							
							
							
						 
						
							2010-05-14 18:37:08 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								e90712b1ed 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg: cleanup  
							
							 
							
							
							
						 
						
							2010-05-03 17:34:26 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								65f86bfce7 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg.ssa.detruction: coalesce different representations in more cases  
							
							 
							
							
							
						 
						
							2010-05-03 17:34:22 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								43f269e4eb 
								
							
								 
							
						 
						
							
							
								
								Register allocation now uses SSA properties to coalesce values with different representations  
							
							 
							
							
							
						 
						
							2010-05-03 17:34:20 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								9b34a4a054 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg: remove unused 'reps' slot from compiler.cfg, and re-organize things in preparation for SSA register allocation  
							
							 
							
							
							
						 
						
							2010-05-03 17:34:18 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								95ff5ffe51 
								
							
								 
							
						 
						
							
							
								
								New GC checks work in progress  
							
							 
							
							
							
						 
						
							2010-05-03 17:34:16 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								458fd007be 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg.representations: simplify a little  
							
							 
							
							
							
						 
						
							2010-05-03 17:34:11 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								9cea3f2c93 
								
							
								 
							
						 
						
							
							
								
								compiler.cfg.ssa.liveness: remove unused pass  
							
							 
							
							
							
						 
						
							2010-05-03 17:34:08 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								82fb1879af 
								
							
								 
							
						 
						
							
							
								
								Debugging untagged fixnums  
							
							 
							
							
							
						 
						
							2010-05-03 17:34:02 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								5d3a7a7362 
								
							
								 
							
						 
						
							
							
								
								Untagged fixnums work in progress  
							
							 
							
							
							
						 
						
							2010-05-03 17:34:02 -04:00  
						
					 
				
					
						
							
							
								 
								Daniel Ehrenberg
							
						 
						
							 
							
							
							
								
							
								248730d39f 
								
							
								 
							
						 
						
							
							
								
								Cleaning up compiler.cfg.ssa.construction  
							
							 
							
							
							
						 
						
							2010-03-17 20:12:10 -04:00  
						
					 
				
					
						
							
							
								 
								Daniel Ehrenberg
							
						 
						
							 
							
							
							
								
							
								512fe14e4e 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'bags' of git://github.com/littledan/Factor  
							
							 
							
							... 
							
							
							
							Conflicts:
	basis/compiler/cfg/ssa/construction/tdmsc/tdmsc.factor
	basis/furnace/auth/auth.factor
	basis/stack-checker/backend/backend.factor 
							
						 
						
							2010-03-16 13:28:00 -04:00  
						
					 
				
					
						
							
							
								 
								Joe Groff
							
						 
						
							 
							
							
							
								
							
								191ac353fd 
								
							
								 
							
						 
						
							
							
								
								generalize stack effects so we can bootstrap with the stricter stack effect checking  
							
							 
							
							
							
						 
						
							2010-03-08 23:38:10 -08:00  
						
					 
				
					
						
							
							
								 
								Daniel Ehrenberg
							
						 
						
							 
							
							
							
								
							
								7cd3360cdd 
								
							
								 
							
						 
						
							
							
								
								Fixing ambiguity between sets and namespaces in many unit tests and furnace.auth  
							
							 
							
							
							
						 
						
							2010-02-26 17:17:40 -05:00  
						
					 
				
					
						
							
							
								 
								Daniel Ehrenberg
							
						 
						
							 
							
							
							
								
							
								7074979745 
								
							
								 
							
						 
						
							
							
								
								Moving new-sets to sets  
							
							 
							
							
							
						 
						
							2010-02-26 16:01:01 -05:00  
						
					 
				
					
						
							
							
								 
								Daniel Ehrenberg
							
						 
						
							 
							
							
							
								
							
								a72e2cc96c 
								
							
								 
							
						 
						
							
							
								
								Finishing converting compiler.cfg.ssa.construction.tdmsc to new-sets  
							
							 
							
							
							
						 
						
							2010-02-26 13:53:20 -05:00  
						
					 
				
					
						
							
							
								 
								Daniel Ehrenberg
							
						 
						
							 
							
							
							
								
							
								30cc248bb3 
								
							
								 
							
						 
						
							
							
								
								Bit sets use new new set protocol, and compiler.cfg.ssa.construction.tdmsc is updated for it  
							
							 
							
							
							
						 
						
							2010-02-16 15:14:32 -06:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								afdb7f6329 
								
							
								 
							
						 
						
							
							
								
								remove a stray character  
							
							 
							
							
							
						 
						
							2010-01-22 15:07:01 -06:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								8c1d202b4c 
								
							
								 
							
						 
						
							
							
								
								Rename accumulator to collector, pusher to selector  
							
							 
							
							
							
						 
						
							2010-01-22 15:00:53 -06:00  
						
					 
				
					
						
							
							
								 
								Joe Groff
							
						 
						
							 
							
							
							
								
							
								3fbe722561 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of  http://factorcode.org/git/factor  
							
							 
							
							... 
							
							
							
							Conflicts:
	basis/locals/locals.factor
	basis/peg/peg.factor
	extra/infix/infix.factor 
							
						 
						
							2009-10-28 16:17:24 -05:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								299b5b0f6c 
								
							
								 
							
						 
						
							
							
								
								filter-here -> filter!  
							
							 
							
							
							
						 
						
							2009-10-28 00:44:05 -05:00  
						
					 
				
					
						
							
							
								 
								Joe Groff
							
						 
						
							 
							
							
							
								
							
								935c0797c3 
								
							
								 
							
						 
						
							
							
								
								update existing code for [let change  
							
							 
							
							
							
						 
						
							2009-10-27 22:05:37 -05:00