Phil Dawes
|
123c6ce703
|
fixed up some alien boxing (x86 32 & 64)
|
2009-09-16 08:20:50 +01:00 |
Phil Dawes
|
c623658aa2
|
added vm-ptr primitive
|
2009-09-16 08:20:50 +01:00 |
Phil Dawes
|
46dac01d50
|
fixed vm ptr passing to to_value_struct
|
2009-09-16 08:20:50 +01:00 |
Phil Dawes
|
54d8285c7e
|
fixed vm ptr passing to box_small_struct
|
2009-09-16 08:20:50 +01:00 |
Phil Dawes
|
0841b7ee90
|
fixed vm ptr passing to box_value_struct
|
2009-09-16 08:20:50 +01:00 |
Phil Dawes
|
898f5be1e0
|
quick test vocab for mt stuff
|
2009-09-16 08:20:50 +01:00 |
Phil Dawes
|
05d17492ed
|
cleaned up code a bit, added multithreaded mode flags
|
2009-09-16 08:20:50 +01:00 |
Phil Dawes
|
9b013faed4
|
removed vm singleton usage from unix stuff
|
2009-09-16 08:20:49 +01:00 |
Phil Dawes
|
1e93c766a1
|
moved the thread stuff around a bit
|
2009-09-16 08:20:49 +01:00 |
Phil Dawes
|
f371bbbc2d
|
removed vm ptrs from unix code (still in signal handlers tho)
|
2009-09-16 08:20:10 +01:00 |
Phil Dawes
|
f60b1e1dd0
|
moved utility functions and fatal_error out of vm struct since doesn't need state
|
2009-09-16 08:20:10 +01:00 |
Phil Dawes
|
26586c24f0
|
added vm passing to some alien/boxing functions and added some vm asserts
|
2009-09-16 08:20:10 +01:00 |
Phil Dawes
|
d7e2f770c0
|
vm ptr passed to lazy_jit_compile on x86.64
|
2009-09-16 08:20:10 +01:00 |
Phil Dawes
|
90119f3dd7
|
overflow functions now retrieving their vm ptr from above ds stack
|
2009-09-16 08:20:09 +01:00 |
Phil Dawes
|
44d2d8672e
|
Primitives now pass vm ptr on 64bit x86
|
2009-09-16 08:20:09 +01:00 |
Phil Dawes
|
f5e6d43e1e
|
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
|
939426dcf5
|
fixed up linux64 bootstrap (single threaded)
|
2009-09-16 08:20:09 +01:00 |
Phil Dawes
|
ad517cb39b
|
win32 main starts factorvm in new thread
|
2009-09-16 08:20:09 +01:00 |
Phil Dawes
|
8008545b8e
|
Start windows factor in a spawned thread (for testing)
|
2009-09-16 08:20:09 +01:00 |
Phil Dawes
|
41345583a5
|
added lookup_vm and removed last usage of vm from windows code
|
2009-09-16 08:20:09 +01:00 |
Phil Dawes
|
c6d83111e8
|
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)
|
2009-09-16 08:17:27 +01:00 |
Phil Dawes
|
c12eccb581
|
print_native_string doesn't need singleton ptr
|
2009-09-16 08:17:27 +01:00 |
Phil Dawes
|
b84c10e33c
|
cleaning up stray vm singleton usage
|
2009-09-16 08:17:27 +01:00 |
Phil Dawes
|
28665b5287
|
removed most global functions from factor.cpp
|
2009-09-16 08:17:27 +01:00 |
Phil Dawes
|
38eb7a23f1
|
removed some error vm-> functions
|
2009-09-16 08:17:27 +01:00 |
Phil Dawes
|
bbdcabae9c
|
removed some vm-> forwarding functions
|
2009-09-16 08:17:26 +01:00 |
Phil Dawes
|
fcfd971108
|
removed some vm-> pointers
|
2009-09-16 08:17:26 +01:00 |
Phil Dawes
|
6e5ddc0c33
|
vm pointer passed to nest_stacks and unnest_stacks (win32)
|
2009-09-16 08:17:26 +01:00 |
Phil Dawes
|
b629429086
|
Dev checkpoint
|
2009-09-16 08:17:26 +01:00 |
Phil Dawes
|
a6e1e39e23
|
passing ptr in boolean boxing and save_callstack_bottom
|
2009-09-16 08:17:26 +01:00 |
Phil Dawes
|
915c765ecb
|
Added basic win32 start-thread support
|
2009-09-16 08:17:26 +01:00 |
Phil Dawes
|
ce44511071
|
vm passed in box_alien and alien_offset (win32)
|
2009-09-16 08:16:33 +01:00 |
Phil Dawes
|
4d6294693d
|
removed all vm-> singleton accesses from inlineimpls
|
2009-09-16 08:16:33 +01:00 |
Phil Dawes
|
49e3efddfb
|
converted box_* float functions to use vm (x86 win32)
|
2009-09-16 08:16:33 +01:00 |
Phil Dawes
|
1f642ab303
|
converted box_* integer functions to use vm (x86 windows)
|
2009-09-16 08:16:33 +01:00 |
Phil Dawes
|
e50ab40c78
|
converted box_* integer functions to use vm (x86 windows)
|
2009-09-16 08:16:33 +01:00 |
Phil Dawes
|
6c046ec5bf
|
added vm ptr to x86.32 boxing asm
|
2009-09-16 08:16:33 +01:00 |
Phil Dawes
|
780415b159
|
added code to pass vm ptr to some unboxers
|
2009-09-16 08:16:32 +01:00 |
Phil Dawes
|
cefc0f7e08
|
moved gc_locals accessors into vm
|
2009-09-16 08:16:32 +01:00 |
Phil Dawes
|
c0eefe9ed3
|
turned errno() methods back into functions since they should already be thread safe
|
2009-09-16 08:16:32 +01:00 |
Phil Dawes
|
2a1a4ccf27
|
fixed up getenv compiler intrinsic to use vm struct userenv
|
2009-09-16 08:16:32 +01:00 |
Phil Dawes
|
4d98fe0157
|
added padding to align userenv to an 8byte boundary
|
2009-09-16 08:16:32 +01:00 |
Phil Dawes
|
48d385e5d9
|
moved userenv into vm in C code (DOESNT BOOTSTRAP YET!!!)
|
2009-09-16 08:16:32 +01:00 |
Phil Dawes
|
d4f602c9e7
|
got debug compiles working again
|
2009-09-16 08:16:32 +01:00 |
Phil Dawes
|
7de311c0da
|
moved stack_traces_p into the vm
|
2009-09-16 08:16:31 +01:00 |
Phil Dawes
|
cb3df86491
|
moved cards_offset and decks_offset into vm struct (for x86)
|
2009-09-16 08:16:31 +01:00 |
Phil Dawes
|
74e99cb6fb
|
moved allot_markers_offset variable into vm struct
|
2009-09-16 08:16:31 +01:00 |
Phil Dawes
|
fd72e140d2
|
nursery global variable moved into vm
|
2009-09-16 08:16:31 +01:00 |
Phil Dawes
|
6da959ff3b
|
renamed to vm-field-offset. Slava's better at naming than me
|
2009-09-16 08:16:31 +01:00 |
sheeple
|
3602f86ab1
|
ppc asm to get stack_chain using vm ptr
|
2009-09-16 08:16:31 +01:00 |