Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								1e7893b6ce
								
							
								
							
						 | 
						
							
							
								
								compiler: FFI is now slightly more efficient when unboxing parameters, only changes data stack height once
							
							
							
							
							
						 | 
						
							2009-10-20 04:31:48 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								2d5cdd19ec
								
							
								
							
						 | 
						
							
							
								
								compiler: on PPC, ANDI, ORI and XORI instructions take an unsigned 16-bit immediate, unlike ADDI, SUBI and MULLI which take a signed 16-bit immediate. The code generator was not aware of this, and so for example '[ >fixnum -16 bitand ]' would generate incorrect code. Split up small-enough? hook into immediate-arithmetic? and immediate-bitwise? and update value numbering to be aware of this. Fixes classes.struct bitfields test failure
							
							
							
							
							
						 | 
						
							2009-10-19 04:58:29 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								a7fcaf027c
								
							
								
							
						 | 
						
							
							
								
								use FRSP to convert double to single on PPC
							
							
							
							
							
						 | 
						
							2009-10-17 00:13:50 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								8aa4640094
								
							
								
							
						 | 
						
							
							
								
								cpu.ppc.bootstrap: fix callback-stub relocation
							
							
							
							
							
						 | 
						
							2009-10-16 12:06:40 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								107c96f642
								
							
								
							
						 | 
						
							
							
								
								vm: code heap compaction at runtime using compact-gc primitive
							
							
							
							
							
						 | 
						
							2009-10-16 11:39:35 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								70c69fbd67
								
							
								
							
						 | 
						
							
							
								
								cpu.ppc: fix %write-barrier
							
							
							
							
							
						 | 
						
							2009-10-15 05:13:47 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								13ca35ba79
								
							
								
							
						 | 
						
							
							
								
								cpu.ppc: fix typo
							
							
							
							
							
						 | 
						
							2009-10-15 05:01:20 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								a506754739
								
							
								
							
						 | 
						
							
							
								
								cpu.ppc: updates for write barrier and allocation changes (untested)
							
							
							
							
							
						 | 
						
							2009-10-15 04:54:16 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								2efc7d1b9e
								
							
								
							
						 | 
						
							
							
								
								cpu.ppc.bootstrap: update for JIT relocation changes
							
							
							
							
							
						 | 
						
							2009-10-15 04:47:54 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								9357ee378e
								
							
								
							
						 | 
						
							
							
								
								cpu.architecture: move dummy -reps words here, from cpu.ppc
							
							
							
							
							
						 | 
						
							2009-10-08 03:48:03 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								529c444e32
								
							
								
							
						 | 
						
							
							
								
								add insns for vector pack, unpack, integer>float, and float>integer
							
							
							
							
							
						 | 
						
							2009-10-05 22:34:14 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								b4e36608da
								
							
								
							
						 | 
						
							
							
								
								compiler.cfg: remove _gc instruction, it doesn't need to exist, and change GC checks to ensure that the right amount of space is available instead of blindly checking for 1Kb
							
							
							
							
							
						 | 
						
							2009-10-05 05:27:49 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								0c9c3d4859
								
							
								
							
						 | 
						
							
							
								
								add %merge-vector-head and %merge-vector-tail instructions to back vmerge
							
							
							
							
							
						 | 
						
							2009-10-03 21:48:53 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								04bb03bb61
								
							
								
							
						 | 
						
							
							
								
								add intrinsics for v<=, v<, v=, v>, v>=, vunordered?
							
							
							
							
							
						 | 
						
							2009-10-03 11:29:34 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								38f413a8a6
								
							
								
							
						 | 
						
							
							
								
								add intrinsic for vnot/vbitnot
							
							
							
							
							
						 | 
						
							2009-10-02 20:04:28 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								df9b0f695f
								
							
								
							
						 | 
						
							
							
								
								cpu.ppc: remove useless comment
							
							
							
							
							
						 | 
						
							2009-10-02 03:31:53 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								2c136d6536
								
							
								
							
						 | 
						
							
							
								
								Merge branch 'reentrantvm' of git://github.com/phildawes/factor
							
							
							
							
							
						 | 
						
							2009-10-02 03:28:21 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								53b265f682
								
							
								
							
						 | 
						
							
							
								
								Merge branch 'master' of git://factorcode.org/git/factor
							
							
							
							
							
							
							
							Conflicts:
	basis/compiler/codegen/codegen.factor 
							
						 | 
						
							2009-10-01 23:14:16 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								d14f150b58
								
							
								
							
						 | 
						
							
							
								
								%test-vector instruction for vany?, vall?, vnone?
							
							
							
							
							
						 | 
						
							2009-10-01 15:35:38 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								987ced4070
								
							
								
							
						 | 
						
							
							
								
								%compare-vector instruction (only does v= for now)
							
							
							
							
							
						 | 
						
							2009-10-01 14:31:37 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								a93f8f66f9
								
							
								
							
						 | 
						
							
							
								
								Revert "add a %blend-vector intrinsic for v?"
							
							
							
							
							
							
							
							This reverts commit 21e4b28b67. 
							
						 | 
						
							2009-09-30 23:40:37 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								67cc45235d
								
							
								
							
						 | 
						
							
							
								
								Merge branch 'master' of git://factorcode.org/git/factor
							
							
							
							
							
						 | 
						
							2009-09-30 23:04:04 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								7db7b63552
								
							
								
							
						 | 
						
							
							
								
								add a %blend-vector intrinsic for v?
							
							
							
							
							
						 | 
						
							2009-09-30 23:03:59 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								a7dd4ad5cc
								
							
								
							
						 | 
						
							
							
								
								cpu.ppc: update for alien intrinsic changes
							
							
							
							
							
						 | 
						
							2009-09-30 18:22:59 -05:00 | 
						
					
				
					
						
							
							
								 
								Phil Dawes
							
						 | 
						
							
							
							
							
								
							
								bc70311e69
								
							
								
							
						 | 
						
							
							
								
								ppc asm to pass vm pointer: alien + compiled code
							
							
							
							
							
						 | 
						
							2009-09-30 21:23:53 +01:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								f395d83379
								
							
								
							
						 | 
						
							
							
								
								math.vectors.simd: add fast intrinsic for 'nth', replace broadcast primitive with shuffles
							
							
							
							
							
						 | 
						
							2009-09-29 04:48:11 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								e1a9b25562
								
							
								
							
						 | 
						
							
							
								
								cpu.ppc: update for %unary/binary-float-function change
							
							
							
							
							
						 | 
						
							2009-09-28 16:40:52 -05:00 | 
						
					
				
					
						
							
							
								 
								Phil Dawes
							
						 | 
						
							
							
							
							
								
							
								6fa0a93498
								
							
								
							
						 | 
						
							
							
								
								ppc asm to pass vm pointer: initial bootstrap
							
							
							
							
							
						 | 
						
							2009-09-28 07:48:37 +01:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								59fbe85c9b
								
							
								
							
						 | 
						
							
							
								
								compiler.cfg: nuke ##bignum>integer and ##integer>bignum since they were unused
							
							
							
							
							
						 | 
						
							2009-09-27 20:36:05 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								f757b454cc
								
							
								
							
						 | 
						
							
							
								
								Merge branch 'master' into more_aggressive_coalescing
							
							
							
							
							
						 | 
						
							2009-09-27 19:29:50 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								705b4ab5c3
								
							
								
							
						 | 
						
							
							
								
								compiler.cfg.linear-scan: fix partial sync point logic in case where dst == src, and clean up spilling code
							
							
							
							
							
						 | 
						
							2009-09-27 19:28:20 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								1e841e5086
								
							
								
							
						 | 
						
							
							
								
								compiler.cfg.ssa.destruction: more aggressive coalescing work in progress
							
							
							
							
							
						 | 
						
							2009-09-27 17:17:26 -05:00 | 
						
					
				
					
						
							
							
								 
								sheeple
							
						 | 
						
							
							
							
							
								
							
								3476f2e28c
								
							
								
							
						 | 
						
							
							
								
								Fixing PPC backend for ##slot change
							
							
							
							
							
						 | 
						
							2009-09-26 13:21:42 -05:00 | 
						
					
				
					
						
							
							
								 
								sheeple
							
						 | 
						
							
							
							
							
								
							
								01a4047126
								
							
								
							
						 | 
						
							
							
								
								Merge branch 'slots' of git://factorcode.org/git/factor into slots
							
							
							
							
							
							
							
							Conflicts:
	basis/cpu/x86/x86.factor 
							
						 | 
						
							2009-09-26 03:12:42 -05:00 | 
						
					
				
					
						
							
							
								 
								Daniel Ehrenberg
							
						 | 
						
							
							
							
							
								
							
								30bca97b61
								
							
								
							
						 | 
						
							
							
								
								An attempt at porting the slot change to PPC
							
							
							
							
							
						 | 
						
							2009-09-26 02:58:18 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								8610fa5e48
								
							
								
							
						 | 
						
							
							
								
								cpu: cleanups
							
							
							
							
							
						 | 
						
							2009-09-25 21:47:05 -05:00 | 
						
					
				
					
						
							
							
								 
								Phil Dawes
							
						 | 
						
							
							
							
							
								
							
								d457df1fbf
								
							
								
							
						 | 
						
							
							
								
								moved %(un)nest-stacks out to cpu specific files to eliminate %vm-invoke from compiler.codegen
							
							
							
							
							
						 | 
						
							2009-09-25 19:32:08 +01:00 | 
						
					
				
					
						
							
							
								 
								Phil Dawes
							
						 | 
						
							
							
							
							
								
							
								28420c587a
								
							
								
							
						 | 
						
							
							
								
								isolated %vm-invoke-blah-arg crap to 64.factor
							
							
							
							
							
						 | 
						
							2009-09-25 19:02:41 +01:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								0686a7a65c
								
							
								
							
						 | 
						
							
							
								
								cpu.ppc: add representation hooks for shifts
							
							
							
							
							
						 | 
						
							2009-09-24 13:00:12 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								abe3b869cf
								
							
								
							
						 | 
						
							
							
								
								cpu.ppc: fix compile errors
							
							
							
							
							
						 | 
						
							2009-09-24 03:55:01 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								e4d566b1c2
								
							
								
							
						 | 
						
							
							
								
								cpu.ppc: make it load
							
							
							
							
							
						 | 
						
							2009-09-24 00:13:27 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								3d0c9c4337
								
							
								
							
						 | 
						
							
							
								
								cpu.ppc: fix typos
							
							
							
							
							
						 | 
						
							2009-09-23 23:38:17 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								4ec566b15d
								
							
								
							
						 | 
						
							
							
								
								cpu.x86/ppc: unify register-to-register moves using %copy so that better coalescing can eliminate more moves later
							
							
							
							
							
						 | 
						
							2009-09-23 22:49:54 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								3104aa3962
								
							
								
							
						 | 
						
							
							
								
								cpu.ppc: add dummy vector ops
							
							
							
							
							
						 | 
						
							2009-09-23 20:31:12 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								b0f87fd6a0
								
							
								
							
						 | 
						
							
							
								
								cpu.ppc: fix load errors
							
							
							
							
							
						 | 
						
							2009-09-22 05:24:34 -05:00 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								f8a91438cd
								
							
								
							
						 | 
						
							
							
								
								Merge Phil Dawes' VM work
							
							
							
							
							
						 | 
						
							2009-09-20 03:48:08 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								076ab42dc3
								
							
								
							
						 | 
						
							
							
								
								move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab
							
							
							
							
							
						 | 
						
							2009-09-17 22:36:05 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								aa1edad078
								
							
								
							
						 | 
						
							
							
								
								disambiguate math:float in cpu.ppc
							
							
							
							
							
						 | 
						
							2009-09-17 19:10:40 -05:00 | 
						
					
				
					
						
							
							
								 
								Phil Dawes
							
						 | 
						
							
							
							
							
								
							
								0bc7c0c1d0
								
							
								
							
						 | 
						
							
							
								
								separated vm-1st-arg and vm-3rd-arg asm invoke words (needed for ppc & x86.64)
							
							
							
							
							
						 | 
						
							2009-09-16 08:20:09 +01:00 | 
						
					
				
					
						
							
							
								 
								Phil Dawes
							
						 | 
						
							
							
							
							
								
							
								ff8f2b10ec
								
							
								
							
						 | 
						
							
							
								
								fixed up getenv compiler intrinsic to use vm struct userenv
							
							
							
							
							
						 | 
						
							2009-09-16 08:16:32 +01:00 |