]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 years agofixed bug where vm_char being treated as 1byte type
Phil Dawes [Fri, 4 Sep 2009 18:52:05 +0000 (19:52 +0100)]
fixed bug where vm_char being treated as 1byte type

14 years agoAdded data constructor to initialize bools in factorvmdata struct
Phil Dawes [Fri, 4 Sep 2009 18:25:22 +0000 (19:25 +0100)]
Added data constructor to initialize bools in factorvmdata struct

14 years agoAdded vm ptr to math overflow functions
Phil Dawes [Fri, 4 Sep 2009 18:24:30 +0000 (19:24 +0100)]
Added vm ptr to math overflow functions

14 years agomoved signal handlers into vm object
Phil Dawes [Fri, 4 Sep 2009 18:23:20 +0000 (19:23 +0100)]
moved signal handlers into vm object

14 years agoremoved debugging
Phil Dawes [Fri, 4 Sep 2009 18:21:00 +0000 (19:21 +0100)]
removed debugging

14 years agoSplit data out into separate vm-data struct
Phil Dawes [Thu, 3 Sep 2009 19:32:39 +0000 (20:32 +0100)]
Split data out into separate vm-data struct

14 years agoDev checkpoint
Phil Dawes [Thu, 3 Sep 2009 18:41:19 +0000 (19:41 +0100)]
Dev checkpoint

14 years agoSwitched on singleton flag
Phil Dawes [Tue, 1 Sep 2009 19:47:18 +0000 (20:47 +0100)]
Switched on singleton flag

14 years agoremoved vm ptr from mach_signal and some other places
Phil Dawes [Tue, 1 Sep 2009 18:40:03 +0000 (19:40 +0100)]
removed vm ptr from mach_signal and some other places

14 years agoremoved vm ptr from os-macosx.mm
Phil Dawes [Tue, 1 Sep 2009 18:17:34 +0000 (19:17 +0100)]
removed vm ptr from os-macosx.mm

14 years agoadded FACTOR_MULTITHREADED_TLS option
Phil Dawes [Tue, 1 Sep 2009 18:08:27 +0000 (19:08 +0100)]
added FACTOR_MULTITHREADED_TLS option

14 years agothread_id is a pthread_t on unix
Phil Dawes [Fri, 28 Aug 2009 20:46:47 +0000 (21:46 +0100)]
thread_id is a pthread_t on unix

14 years agoadded threadsafe defines. Dunno if they do much
Phil Dawes [Fri, 28 Aug 2009 19:23:01 +0000 (20:23 +0100)]
added threadsafe defines. Dunno if they do much

14 years agofixed stupid signal handler bug
Phil Dawes [Fri, 28 Aug 2009 19:17:21 +0000 (20:17 +0100)]
fixed stupid signal handler bug

14 years agofixed up some alien boxing (x86 32 & 64)
Phil Dawes [Wed, 2 Sep 2009 09:45:03 +0000 (10:45 +0100)]
fixed up some alien boxing (x86 32 & 64)

14 years agoadded vm-ptr primitive
Phil Dawes [Wed, 2 Sep 2009 09:43:21 +0000 (10:43 +0100)]
added vm-ptr primitive

14 years agofixed vm ptr passing to to_value_struct
Phil Dawes [Thu, 27 Aug 2009 18:58:40 +0000 (19:58 +0100)]
fixed vm ptr passing to to_value_struct

14 years agofixed vm ptr passing to box_small_struct
Phil Dawes [Thu, 27 Aug 2009 18:55:25 +0000 (19:55 +0100)]
fixed vm ptr passing to box_small_struct

14 years agofixed vm ptr passing to box_value_struct
Phil Dawes [Thu, 27 Aug 2009 18:49:57 +0000 (19:49 +0100)]
fixed vm ptr passing to box_value_struct

14 years agoquick test vocab for mt stuff
Phil Dawes [Tue, 25 Aug 2009 17:29:28 +0000 (18:29 +0100)]
quick test vocab for mt stuff

14 years agocleaned up code a bit, added multithreaded mode flags
Phil Dawes [Tue, 25 Aug 2009 17:17:14 +0000 (18:17 +0100)]
cleaned up code a bit, added multithreaded mode flags

14 years agoremoved vm singleton usage from unix stuff
Phil Dawes [Tue, 25 Aug 2009 17:08:45 +0000 (18:08 +0100)]
removed vm singleton usage from unix stuff

14 years agomoved the thread stuff around a bit
Phil Dawes [Tue, 25 Aug 2009 07:55:18 +0000 (08:55 +0100)]
moved the thread stuff around a bit

14 years agoremoved vm ptrs from unix code (still in signal handlers tho)
Phil Dawes [Tue, 25 Aug 2009 07:35:22 +0000 (08:35 +0100)]
removed vm ptrs from unix code (still in signal handlers tho)

14 years agomoved utility functions and fatal_error out of vm struct since doesn't need state
Phil Dawes [Tue, 25 Aug 2009 07:20:58 +0000 (08:20 +0100)]
moved utility functions and fatal_error out of vm struct since doesn't need state

14 years agoadded vm passing to some alien/boxing functions and added some vm asserts
Phil Dawes [Tue, 25 Aug 2009 06:55:51 +0000 (07:55 +0100)]
added vm passing to some alien/boxing functions and added some vm asserts

14 years agovm ptr passed to lazy_jit_compile on x86.64
Phil Dawes [Tue, 25 Aug 2009 06:30:16 +0000 (07:30 +0100)]
vm ptr passed to lazy_jit_compile on x86.64

14 years agooverflow functions now retrieving their vm ptr from above ds stack
Phil Dawes [Tue, 25 Aug 2009 06:15:30 +0000 (07:15 +0100)]
overflow functions now retrieving their vm ptr from above ds stack

14 years agoPrimitives now pass vm ptr on 64bit x86
Phil Dawes [Tue, 25 Aug 2009 05:59:26 +0000 (06:59 +0100)]
Primitives now pass vm ptr on 64bit x86

14 years agoseparated vm-1st-arg and vm-3rd-arg asm invoke words (needed for ppc & x86.64)
Phil Dawes [Tue, 25 Aug 2009 05:41:37 +0000 (06:41 +0100)]
separated vm-1st-arg and vm-3rd-arg asm invoke words (needed for ppc & x86.64)

14 years agofixed up linux64 bootstrap (single threaded)
Phil Dawes [Tue, 25 Aug 2009 05:35:54 +0000 (06:35 +0100)]
fixed up linux64 bootstrap (single threaded)

14 years agowin32 main starts factorvm in new thread
Phil Dawes [Mon, 24 Aug 2009 20:10:18 +0000 (21:10 +0100)]
win32 main starts factorvm in new thread

14 years agoStart windows factor in a spawned thread (for testing)
Phil Dawes [Mon, 24 Aug 2009 19:59:05 +0000 (20:59 +0100)]
Start windows factor in a spawned thread (for testing)

14 years agoadded lookup_vm and removed last usage of vm from windows code
Phil Dawes [Mon, 24 Aug 2009 19:46:34 +0000 (20:46 +0100)]
added lookup_vm and removed last usage of vm from windows code

14 years agoadded factorvm ptrs to the rest of alien functions.
Phil Dawes [Mon, 24 Aug 2009 19:26:10 +0000 (20:26 +0100)]
added factorvm ptrs to the rest of alien functions.

(Left commented debug lines to remind me that these haven't been tested yet, and some are osx specific)

14 years agoprint_native_string doesn't need singleton ptr
Phil Dawes [Mon, 24 Aug 2009 19:10:56 +0000 (20:10 +0100)]
print_native_string doesn't need singleton ptr

14 years agocleaning up stray vm singleton usage
Phil Dawes [Mon, 24 Aug 2009 18:15:39 +0000 (19:15 +0100)]
cleaning up stray vm singleton usage

14 years agoremoved most global functions from factor.cpp
Phil Dawes [Mon, 24 Aug 2009 17:34:30 +0000 (18:34 +0100)]
removed most global functions from factor.cpp

14 years agoremoved some error vm-> functions
Phil Dawes [Sun, 23 Aug 2009 20:39:17 +0000 (21:39 +0100)]
removed some error vm-> functions

14 years agoremoved some vm-> forwarding functions
Phil Dawes [Sun, 23 Aug 2009 20:19:35 +0000 (21:19 +0100)]
removed some vm-> forwarding functions

14 years agoremoved some vm-> pointers
Phil Dawes [Sun, 23 Aug 2009 20:04:19 +0000 (21:04 +0100)]
removed some vm-> pointers

14 years agovm pointer passed to nest_stacks and unnest_stacks (win32)
Phil Dawes [Sun, 23 Aug 2009 19:04:05 +0000 (20:04 +0100)]
vm pointer passed to nest_stacks and unnest_stacks (win32)

14 years agoDev checkpoint
Phil Dawes [Sun, 23 Aug 2009 18:40:59 +0000 (19:40 +0100)]
Dev checkpoint

14 years agopassing ptr in boolean boxing and save_callstack_bottom
Phil Dawes [Sun, 23 Aug 2009 13:45:09 +0000 (14:45 +0100)]
passing ptr in boolean boxing and save_callstack_bottom

14 years agoAdded basic win32 start-thread support
Phil Dawes [Sun, 23 Aug 2009 13:36:24 +0000 (14:36 +0100)]
Added basic win32 start-thread support

14 years agovm passed in box_alien and alien_offset (win32)
Phil Dawes [Sat, 22 Aug 2009 20:35:47 +0000 (21:35 +0100)]
vm passed in box_alien and alien_offset (win32)

14 years agoremoved all vm-> singleton accesses from inlineimpls
Phil Dawes [Sat, 22 Aug 2009 10:15:58 +0000 (11:15 +0100)]
removed all vm-> singleton accesses from inlineimpls

14 years agoconverted box_* float functions to use vm (x86 win32)
Phil Dawes [Sat, 22 Aug 2009 10:04:34 +0000 (11:04 +0100)]
converted box_* float functions to use vm (x86 win32)

14 years agoconverted box_* integer functions to use vm (x86 windows)
Phil Dawes [Wed, 2 Sep 2009 07:06:00 +0000 (08:06 +0100)]
converted box_* integer functions to use vm (x86 windows)

14 years agoconverted box_* integer functions to use vm (x86 windows)
Phil Dawes [Sat, 22 Aug 2009 09:50:52 +0000 (10:50 +0100)]
converted box_* integer functions to use vm (x86 windows)

14 years agoadded vm ptr to x86.32 boxing asm
Phil Dawes [Sat, 22 Aug 2009 09:21:32 +0000 (10:21 +0100)]
added vm ptr to x86.32 boxing asm

14 years agoadded code to pass vm ptr to some unboxers
Phil Dawes [Fri, 21 Aug 2009 20:24:53 +0000 (21:24 +0100)]
added code to pass vm ptr to some unboxers

14 years agomoved gc_locals accessors into vm
Phil Dawes [Fri, 21 Aug 2009 20:02:13 +0000 (21:02 +0100)]
moved gc_locals accessors into vm

14 years agoturned errno() methods back into functions since they should already be thread safe
Phil Dawes [Fri, 21 Aug 2009 19:44:06 +0000 (20:44 +0100)]
turned errno() methods back into functions since they should already be thread safe

14 years agofixed up getenv compiler intrinsic to use vm struct userenv
Phil Dawes [Fri, 21 Aug 2009 19:13:49 +0000 (20:13 +0100)]
fixed up getenv compiler intrinsic to use vm struct userenv

14 years agoadded padding to align userenv to an 8byte boundary
Phil Dawes [Fri, 21 Aug 2009 18:54:47 +0000 (19:54 +0100)]
added padding to align userenv to an 8byte boundary

14 years agomoved userenv into vm in C code (DOESNT BOOTSTRAP YET!!!)
Phil Dawes [Fri, 21 Aug 2009 18:27:40 +0000 (19:27 +0100)]
moved userenv into vm in C code (DOESNT BOOTSTRAP YET!!!)

14 years agogot debug compiles working again
Phil Dawes [Fri, 21 Aug 2009 17:33:04 +0000 (18:33 +0100)]
got debug compiles working again

14 years agomoved stack_traces_p into the vm
Phil Dawes [Fri, 21 Aug 2009 07:21:44 +0000 (08:21 +0100)]
moved stack_traces_p into the vm

14 years agomoved cards_offset and decks_offset into vm struct (for x86)
Phil Dawes [Thu, 20 Aug 2009 19:45:06 +0000 (20:45 +0100)]
moved cards_offset and decks_offset into vm struct (for x86)

14 years agomoved allot_markers_offset variable into vm struct
Phil Dawes [Thu, 20 Aug 2009 19:35:54 +0000 (20:35 +0100)]
moved allot_markers_offset variable into vm struct

14 years agonursery global variable moved into vm
Phil Dawes [Thu, 20 Aug 2009 19:20:35 +0000 (20:20 +0100)]
nursery global variable moved into vm

14 years agorenamed to vm-field-offset. Slava's better at naming than me
Phil Dawes [Thu, 20 Aug 2009 18:58:39 +0000 (19:58 +0100)]
renamed to vm-field-offset. Slava's better at naming than me

14 years agoppc asm to get stack_chain using vm ptr
sheeple [Sun, 30 Aug 2009 19:55:46 +0000 (14:55 -0500)]
ppc asm to get stack_chain using vm ptr

14 years agoAdded a vm C-STRUCT, using it for struct offsets in x86 asm
Phil Dawes [Thu, 20 Aug 2009 18:39:40 +0000 (19:39 +0100)]
Added a vm C-STRUCT, using it for struct offsets in x86 asm

14 years agomoved stack_chain into vm struct
Phil Dawes [Thu, 20 Aug 2009 18:20:48 +0000 (19:20 +0100)]
moved stack_chain into vm struct

14 years agoremoved save_stacks global function
Phil Dawes [Thu, 20 Aug 2009 17:57:04 +0000 (18:57 +0100)]
removed save_stacks global function

14 years agothrow_impl now forwards the vm ptr
Phil Dawes [Wed, 19 Aug 2009 18:40:09 +0000 (19:40 +0100)]
throw_impl now forwards the vm ptr

14 years agopassing vm ptr to lazy_jit_compile mostly working
Phil Dawes [Wed, 19 Aug 2009 18:02:12 +0000 (19:02 +0100)]
passing vm ptr to lazy_jit_compile mostly working

14 years agoAdded %vm-invoke to pass vm ptr to vm functions (x86.32 only, otherwise uses singleto...
Phil Dawes [Tue, 18 Aug 2009 20:03:22 +0000 (21:03 +0100)]
Added %vm-invoke to pass vm ptr to vm functions (x86.32 only, otherwise uses singleton vm)

14 years agovm ptr passed to primitives on X86.32 (other cpus still use singleton vm ptr)
Phil Dawes [Tue, 18 Aug 2009 19:49:22 +0000 (20:49 +0100)]
vm ptr passed to primitives on X86.32 (other cpus still use singleton vm ptr)

14 years agoadded VM relocation type
Phil Dawes [Tue, 18 Aug 2009 19:40:26 +0000 (20:40 +0100)]
added VM relocation type

14 years agomoved os-windows-nt functions into the vm
Phil Dawes [Tue, 18 Aug 2009 19:22:11 +0000 (20:22 +0100)]
moved os-windows-nt functions into the vm

14 years agoDev checkpoint
Phil Dawes [Tue, 18 Aug 2009 19:03:11 +0000 (20:03 +0100)]
Dev checkpoint

14 years agomoved some os-windows functions into the vm
Phil Dawes [Tue, 18 Aug 2009 18:52:11 +0000 (19:52 +0100)]
moved some os-windows functions into the vm

14 years agomoved align_page into vm
Phil Dawes [Tue, 18 Aug 2009 18:35:12 +0000 (19:35 +0100)]
moved align_page into vm

14 years agoDev checkpoint
Phil Dawes [Tue, 18 Aug 2009 18:02:04 +0000 (19:02 +0100)]
Dev checkpoint

14 years agogot os-macosx.mm to compile
Phil Dawes [Wed, 26 Aug 2009 15:05:50 +0000 (16:05 +0100)]
got os-macosx.mm to compile

14 years agoFixed typo from upstream
Phil Dawes [Mon, 17 Aug 2009 20:37:19 +0000 (21:37 +0100)]
Fixed typo from upstream

14 years agoremoved some global functions from errors.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:19 +0000 (21:37 +0100)]
removed some global functions from errors.cpp

14 years agoremoved some global functions from utilities.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:19 +0000 (21:37 +0100)]
removed some global functions from utilities.cpp

14 years agoremoved some global functions from inline_cache.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:19 +0000 (21:37 +0100)]
removed some global functions from inline_cache.cpp

14 years agoremoved some global functions from dispatch.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:19 +0000 (21:37 +0100)]
removed some global functions from dispatch.cpp

14 years agoremoved some global functions from quotations.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:19 +0000 (21:37 +0100)]
removed some global functions from quotations.cpp

14 years agoremoved some global functions from alien.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:18 +0000 (21:37 +0100)]
removed some global functions from alien.cpp

14 years agoremoved some global functions from callstack.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:18 +0000 (21:37 +0100)]
removed some global functions from callstack.cpp

14 years agoremoved some global functions from image.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:18 +0000 (21:37 +0100)]
removed some global functions from image.cpp

14 years agoremoved some global functions from io.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:18 +0000 (21:37 +0100)]
removed some global functions from io.cpp

14 years agoremoved some global functions from math.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:18 +0000 (21:37 +0100)]
removed some global functions from math.cpp

14 years agoremoved global functions from words.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:18 +0000 (21:37 +0100)]
removed global functions from words.cpp

14 years agoremoved global functions from byte_arrays.cpp and tuples.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:17 +0000 (21:37 +0100)]
removed global functions from byte_arrays.cpp and tuples.cpp

14 years agoremoved global functions from strings.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:17 +0000 (21:37 +0100)]
removed global functions from strings.cpp

14 years agoremoved global functions from arrays.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:17 +0000 (21:37 +0100)]
removed global functions from arrays.cpp

14 years agoremoved global functions from debug.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:17 +0000 (21:37 +0100)]
removed global functions from debug.cpp

14 years agoremoved global functions from code_block.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:17 +0000 (21:37 +0100)]
removed global functions from code_block.cpp

14 years agoremoved global functions from bignum.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:17 +0000 (21:37 +0100)]
removed global functions from bignum.cpp

14 years agoremoved global functions from profiler
Phil Dawes [Mon, 17 Aug 2009 20:37:16 +0000 (21:37 +0100)]
removed global functions from profiler

14 years agoremoved some global functions from code_heap
Phil Dawes [Mon, 17 Aug 2009 20:37:16 +0000 (21:37 +0100)]
removed some global functions from code_heap

14 years agoremoved global functions from code_gc
Phil Dawes [Mon, 17 Aug 2009 20:37:16 +0000 (21:37 +0100)]
removed global functions from code_gc

14 years agoremoved global functions from data_gc
Phil Dawes [Mon, 17 Aug 2009 20:37:16 +0000 (21:37 +0100)]
removed global functions from data_gc