]>
gitweb.factorcode.org Git - factor.git/log
Phil Dawes [Fri, 4 Sep 2009 18:21:00 +0000 (19:21 +0100)]
removed debugging
Phil Dawes [Thu, 3 Sep 2009 19:32:39 +0000 (20:32 +0100)]
Split data out into separate vm-data struct
Phil Dawes [Thu, 3 Sep 2009 18:41:19 +0000 (19:41 +0100)]
Dev checkpoint
Phil Dawes [Tue, 1 Sep 2009 19:47:18 +0000 (20:47 +0100)]
Switched on singleton flag
Phil Dawes [Tue, 1 Sep 2009 18:40:03 +0000 (19:40 +0100)]
removed vm ptr from mach_signal and some other places
Phil Dawes [Tue, 1 Sep 2009 18:17:34 +0000 (19:17 +0100)]
removed vm ptr from os-macosx.mm
Phil Dawes [Tue, 1 Sep 2009 18:08:27 +0000 (19:08 +0100)]
added FACTOR_MULTITHREADED_TLS option
Phil Dawes [Fri, 28 Aug 2009 20:46:47 +0000 (21:46 +0100)]
thread_id is a pthread_t on unix
Phil Dawes [Fri, 28 Aug 2009 19:23:01 +0000 (20:23 +0100)]
added threadsafe defines. Dunno if they do much
Phil Dawes [Fri, 28 Aug 2009 19:17:21 +0000 (20:17 +0100)]
fixed stupid signal handler bug
Phil Dawes [Wed, 2 Sep 2009 09:45:03 +0000 (10:45 +0100)]
fixed up some alien boxing (x86 32 & 64)
Phil Dawes [Wed, 2 Sep 2009 09:43:21 +0000 (10:43 +0100)]
added vm-ptr primitive
Phil Dawes [Thu, 27 Aug 2009 18:58:40 +0000 (19:58 +0100)]
fixed vm ptr passing to to_value_struct
Phil Dawes [Thu, 27 Aug 2009 18:55:25 +0000 (19:55 +0100)]
fixed vm ptr passing to box_small_struct
Phil Dawes [Thu, 27 Aug 2009 18:49:57 +0000 (19:49 +0100)]
fixed vm ptr passing to box_value_struct
Phil Dawes [Tue, 25 Aug 2009 17:29:28 +0000 (18:29 +0100)]
quick test vocab for mt stuff
Phil Dawes [Tue, 25 Aug 2009 17:17:14 +0000 (18:17 +0100)]
cleaned up code a bit, added multithreaded mode flags
Phil Dawes [Tue, 25 Aug 2009 17:08:45 +0000 (18:08 +0100)]
removed vm singleton usage from unix stuff
Phil Dawes [Tue, 25 Aug 2009 07:55:18 +0000 (08:55 +0100)]
moved the thread stuff around a bit
Phil Dawes [Tue, 25 Aug 2009 07:35:22 +0000 (08:35 +0100)]
removed vm ptrs from unix code (still in signal handlers tho)
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
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
Phil Dawes [Tue, 25 Aug 2009 06:30:16 +0000 (07:30 +0100)]
vm ptr passed to lazy_jit_compile on x86.64
Phil Dawes [Tue, 25 Aug 2009 06:15:30 +0000 (07:15 +0100)]
overflow functions now retrieving their vm ptr from above ds stack
Phil Dawes [Tue, 25 Aug 2009 05:59:26 +0000 (06:59 +0100)]
Primitives now pass vm ptr on 64bit x86
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)
Phil Dawes [Tue, 25 Aug 2009 05:35:54 +0000 (06:35 +0100)]
fixed up linux64 bootstrap (single threaded)
Phil Dawes [Mon, 24 Aug 2009 20:10:18 +0000 (21:10 +0100)]
win32 main starts factorvm in new thread
Phil Dawes [Mon, 24 Aug 2009 19:59:05 +0000 (20:59 +0100)]
Start windows factor in a spawned thread (for testing)
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
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)
Phil Dawes [Mon, 24 Aug 2009 19:10:56 +0000 (20:10 +0100)]
print_native_string doesn't need singleton ptr
Phil Dawes [Mon, 24 Aug 2009 18:15:39 +0000 (19:15 +0100)]
cleaning up stray vm singleton usage
Phil Dawes [Mon, 24 Aug 2009 17:34:30 +0000 (18:34 +0100)]
removed most global functions from factor.cpp
Phil Dawes [Sun, 23 Aug 2009 20:39:17 +0000 (21:39 +0100)]
removed some error vm-> functions
Phil Dawes [Sun, 23 Aug 2009 20:19:35 +0000 (21:19 +0100)]
removed some vm-> forwarding functions
Phil Dawes [Sun, 23 Aug 2009 20:04:19 +0000 (21:04 +0100)]
removed some vm-> pointers
Phil Dawes [Sun, 23 Aug 2009 19:04:05 +0000 (20:04 +0100)]
vm pointer passed to nest_stacks and unnest_stacks (win32)
Phil Dawes [Sun, 23 Aug 2009 18:40:59 +0000 (19:40 +0100)]
Dev checkpoint
Phil Dawes [Sun, 23 Aug 2009 13:45:09 +0000 (14:45 +0100)]
passing ptr in boolean boxing and save_callstack_bottom
Phil Dawes [Sun, 23 Aug 2009 13:36:24 +0000 (14:36 +0100)]
Added basic win32 start-thread support
Phil Dawes [Sat, 22 Aug 2009 20:35:47 +0000 (21:35 +0100)]
vm passed in box_alien and alien_offset (win32)
Phil Dawes [Sat, 22 Aug 2009 10:15:58 +0000 (11:15 +0100)]
removed all vm-> singleton accesses from inlineimpls
Phil Dawes [Sat, 22 Aug 2009 10:04:34 +0000 (11:04 +0100)]
converted box_* float functions to use vm (x86 win32)
Phil Dawes [Wed, 2 Sep 2009 07:06:00 +0000 (08:06 +0100)]
converted 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)
Phil Dawes [Sat, 22 Aug 2009 09:21:32 +0000 (10:21 +0100)]
added vm ptr to x86.32 boxing asm
Phil Dawes [Fri, 21 Aug 2009 20:24:53 +0000 (21:24 +0100)]
added code to pass vm ptr to some unboxers
Phil Dawes [Fri, 21 Aug 2009 20:02:13 +0000 (21:02 +0100)]
moved gc_locals accessors into vm
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
Phil Dawes [Fri, 21 Aug 2009 19:13:49 +0000 (20:13 +0100)]
fixed up getenv compiler intrinsic to use vm struct userenv
Phil Dawes [Fri, 21 Aug 2009 18:54:47 +0000 (19:54 +0100)]
added padding to align userenv to an 8byte boundary
Phil Dawes [Fri, 21 Aug 2009 18:27:40 +0000 (19:27 +0100)]
moved userenv into vm in C code (DOESNT BOOTSTRAP YET!!!)
Phil Dawes [Fri, 21 Aug 2009 17:33:04 +0000 (18:33 +0100)]
got debug compiles working again
Phil Dawes [Fri, 21 Aug 2009 07:21:44 +0000 (08:21 +0100)]
moved stack_traces_p into the vm
Phil Dawes [Thu, 20 Aug 2009 19:45:06 +0000 (20:45 +0100)]
moved cards_offset and decks_offset into vm struct (for x86)
Phil Dawes [Thu, 20 Aug 2009 19:35:54 +0000 (20:35 +0100)]
moved allot_markers_offset variable into vm struct
Phil Dawes [Thu, 20 Aug 2009 19:20:35 +0000 (20:20 +0100)]
nursery global variable moved into vm
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
sheeple [Sun, 30 Aug 2009 19:55:46 +0000 (14:55 -0500)]
ppc asm to get stack_chain using vm ptr
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
Phil Dawes [Thu, 20 Aug 2009 18:20:48 +0000 (19:20 +0100)]
moved stack_chain into vm struct
Phil Dawes [Thu, 20 Aug 2009 17:57:04 +0000 (18:57 +0100)]
removed save_stacks global function
Phil Dawes [Wed, 19 Aug 2009 18:40:09 +0000 (19:40 +0100)]
throw_impl now forwards the vm ptr
Phil Dawes [Wed, 19 Aug 2009 18:02:12 +0000 (19:02 +0100)]
passing vm ptr to lazy_jit_compile mostly working
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)
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)
Phil Dawes [Tue, 18 Aug 2009 19:40:26 +0000 (20:40 +0100)]
added VM relocation type
Phil Dawes [Tue, 18 Aug 2009 19:22:11 +0000 (20:22 +0100)]
moved os-windows-nt functions into the vm
Phil Dawes [Tue, 18 Aug 2009 19:03:11 +0000 (20:03 +0100)]
Dev checkpoint
Phil Dawes [Tue, 18 Aug 2009 18:52:11 +0000 (19:52 +0100)]
moved some os-windows functions into the vm
Phil Dawes [Tue, 18 Aug 2009 18:35:12 +0000 (19:35 +0100)]
moved align_page into vm
Phil Dawes [Tue, 18 Aug 2009 18:02:04 +0000 (19:02 +0100)]
Dev checkpoint
Phil Dawes [Wed, 26 Aug 2009 15:05:50 +0000 (16:05 +0100)]
got os-macosx.mm to compile
Phil Dawes [Mon, 17 Aug 2009 20:37:19 +0000 (21:37 +0100)]
Fixed typo from upstream
Phil Dawes [Mon, 17 Aug 2009 20:37:19 +0000 (21:37 +0100)]
removed some global functions from errors.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:19 +0000 (21:37 +0100)]
removed some global functions from utilities.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:19 +0000 (21:37 +0100)]
removed 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 dispatch.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:19 +0000 (21:37 +0100)]
removed some global functions from quotations.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:18 +0000 (21:37 +0100)]
removed some global functions from alien.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:18 +0000 (21:37 +0100)]
removed some global functions from callstack.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:18 +0000 (21:37 +0100)]
removed some global functions from image.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:18 +0000 (21:37 +0100)]
removed some global functions from io.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:18 +0000 (21:37 +0100)]
removed some global functions from math.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:18 +0000 (21:37 +0100)]
removed global functions from words.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:17 +0000 (21:37 +0100)]
removed 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 strings.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:17 +0000 (21:37 +0100)]
removed global functions from arrays.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:17 +0000 (21:37 +0100)]
removed global functions from debug.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:17 +0000 (21:37 +0100)]
removed global functions from code_block.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:17 +0000 (21:37 +0100)]
removed global functions from bignum.cpp
Phil Dawes [Mon, 17 Aug 2009 20:37:16 +0000 (21:37 +0100)]
removed global functions from profiler
Phil Dawes [Mon, 17 Aug 2009 20:37:16 +0000 (21:37 +0100)]
removed some global functions from code_heap
Phil Dawes [Mon, 17 Aug 2009 20:37:16 +0000 (21:37 +0100)]
removed global functions from code_gc
Phil Dawes [Mon, 17 Aug 2009 20:37:16 +0000 (21:37 +0100)]
removed global functions from data_gc
Phil Dawes [Mon, 17 Aug 2009 20:37:16 +0000 (21:37 +0100)]
removed non-primitive global functions from data_heap
Phil Dawes [Mon, 17 Aug 2009 20:37:15 +0000 (21:37 +0100)]
Dev checkpoint
Phil Dawes [Mon, 17 Aug 2009 20:37:15 +0000 (21:37 +0100)]
vm ptr passed to untag_check
Phil Dawes [Mon, 17 Aug 2009 20:37:15 +0000 (21:37 +0100)]
moved tagged template code back into tagged.hpp header