Slava Pestov
c6003305cd
math.floats.env: don't load cpu.x86.64 on x86.32
2010-01-07 20:13:42 +13:00
Slava Pestov
85432e99c3
Fix set-callstack primitive on Windows
2010-01-07 19:31:15 +13:00
Slava Pestov
98b296a021
cpu.x86: sse_version was renamed to (sse-version)
2010-01-07 18:30:01 +13:00
Slava Pestov
e1125485fc
Remove .S support from Makefile
2010-01-07 18:12:33 +13:00
Slava Pestov
37643eb084
vm: remove asm.h
2010-01-07 18:05:31 +13:00
Slava Pestov
bbd8f17fad
cpu.x86: add some alien-assembly unit tests
2010-01-07 17:59:17 +13:00
Slava Pestov
39ef6544f2
alien: document alien-assembly
2010-01-07 17:57:48 +13:00
Slava Pestov
ecb9137675
stack-checker: fix unit test
2010-01-07 17:40:23 +13:00
Slava Pestov
1e2c0327ee
Add alien-assembly form for inline assembler, works like alien-invoke except calls a user-supplied quotation instead of generating a subroutine call. Replaces FPU status control, SSE detection and read timestamp routines in vm/cpu-x86.*S
2010-01-07 17:39:22 +13:00
Slava Pestov
1e137b6d6a
compiler.tree: remove some code duplication concerning #alien nodes
2010-01-07 16:06:07 +13:00
Slava Pestov
caca156c31
vm: Remove some dead code
2010-01-07 13:54:22 +13:00
Slava Pestov
ded9a1eca9
vm: remove unnecessary call to compile_all_words() from primitive_become()
2010-01-07 13:49:29 +13:00
Slava Pestov
fe544d7db8
calendar: make code like '0.1 seconds sleep' work (bug discovered by Joe Groff)
2010-01-07 00:02:16 +13:00
Slava Pestov
97fc47814f
compiler.units: fix faulty unit test
2010-01-06 23:52:14 +13:00
Slava Pestov
72311506d2
vm: ensure that non-optimized calls to generic words which have not yet been compiled can still work
2010-01-06 23:49:14 +13:00
Slava Pestov
927953dad0
cpu.x86: don't have to pass VM pointer to quotations anymore
2010-01-06 23:42:00 +13:00
Slava Pestov
a9f90026df
Update x86-32 for assembly entry point changes
2010-01-06 17:55:20 +13:00
Slava Pestov
74c5fe0419
Merge branch 'master' of git://factorcode.org/git/factor
2010-01-06 17:54:22 +13:00
Slava Pestov
d2baa6dde5
vm: move c_to_factor, lazy_jit_compile_impl, throw_impl, set_callstack assembly routines into non-optimizing compiler for x86-64
2010-01-06 15:47:36 +13:00
Joe Groff
c540aaed80
fix joystick-demo for timer changes
2010-01-05 10:23:11 -08:00
Slava Pestov
8a6c487a48
Merge branch 'master' of git://factorcode.org/git/factor
2010-01-03 23:21:31 +13:00
Slava Pestov
9399a68786
Change how non-volatile register preservation is done in alien callbacks, with the aim of fixing callbacks on PowerPC, and to eventually eliminate assembly code from VM
...
- Simplify calculation of offset in relocation table
- Open-code %alien-callback
- Remove magic_frame hack from context objects
- Move magical return instruction from optimizing compiler backend into callback entry stub
2010-01-03 01:11:51 +13:00
Doug Coleman
c679593ee3
fix png loading
2009-12-30 14:58:50 -06:00
Doug Coleman
1329e0dcb3
remove warning
2009-12-28 10:02:36 -06:00
Doug Coleman
9c192fe170
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-28 09:58:19 -06:00
Doug Coleman
667e871291
avoid integer division in nano_count on windows
2009-12-28 09:56:10 -06:00
Slava Pestov
d0c1c6b766
PowerPC: fix set-callstack primitive and start updating optimizing compiler backend for recent changes
2009-12-28 08:08:15 -06:00
Slava Pestov
98294c3ce2
cpu.ppc: fix non-optimizing compiler backend
2009-12-29 02:42:34 +13:00
Slava Pestov
042a074ac6
continuations: remove outdated comment
2009-12-28 12:42:25 +13:00
Slava Pestov
fc2f05032b
kernel: fix set-callstack docs
2009-12-28 12:41:45 +13:00
Slava Pestov
faa9d942a2
Updating non-optimizing PowerPC backend for register variable removal (untested)
2009-12-28 12:40:45 +13:00
Slava Pestov
dee6910cfe
Merge branch 'eliminating_register_variables'
2009-12-27 01:29:53 +13:00
Alec Berryman
43a7facd09
json reader: correctly handle empty objects in objects
...
Attempting to parse { "foo" : {} } previously resulted in an error.
(close-hash) expected to consolidate an object into the values of the
containing object (in the first line of code). While there is none in
the case of the empty hash, the structure of the accumulator looked like
it contained an unconsolidated object, so it folded the values into the
keys and got very confused.
2009-12-27 01:29:12 +13:00
Slava Pestov
d5489b3ecd
Updating x86-64 port for global register variable removal
2009-12-27 01:17:42 +13:00
Slava Pestov
c89958ddd5
kernel: fix stack effect declarations of call-clear and set-callstack, and add a unit test for call-clear
2009-12-26 15:38:01 +13:00
Slava Pestov
aaf98a307a
primitives.factor: move call-clear into kernel.private since its unsafe
2009-12-26 15:27:39 +13:00
Slava Pestov
8b913f5fc6
Fix bug in c_to_factor
2009-12-26 15:24:46 +13:00
Slava Pestov
2d8b44e5b7
vm: code cleanup
2009-12-26 15:24:21 +13:00
Doug Coleman
92393c7df7
Add 0xe06d7363 to debugger.windows. Remove case 0xe06d7363 from SEH.
2009-12-23 14:04:52 -06:00
Slava Pestov
1453154376
vm: remove VM_ASM_API
2009-12-24 01:37:24 +13:00
Doug Coleman
d7f6c17a71
remove debug output
2009-12-22 14:39:30 -06:00
Doug Coleman
984a458394
try a different approach to fix the windows monotonic counter
2009-12-22 14:36:33 -06:00
Doug Coleman
c92eae83b8
Ignore yet another undocumented exception. Tricks of the trade, I guess.
2009-12-22 13:33:39 -06:00
Slava Pestov
583f999b1e
Merge branch 'master' into eliminating_register_variables
2009-12-22 15:50:15 +13:00
Slava Pestov
c6c351ffb0
vm: if an aging GC is triggered while uninitialized code blocks are in the code heap, the code heap remembered set becomes out of date, resulting in code blocks pointing at invalid data
2009-12-22 15:49:21 +13:00
Slava Pestov
8f449f1a82
Get optimizing compiler working without global register variables in VM
2009-12-22 15:42:49 +13:00
Slava Pestov
a942e2c34d
vm: eliminating register variables work in progress. Works on x86-32 with non-optimizing compiler
2009-12-19 10:59:56 +13:00
otoburb
ed7e909924
Updated post-data slot names in http-docs.factor
2009-12-15 18:12:48 -05:00
Slava Pestov
6d9c17eea3
Fix PowerPC compiler backend for recent changes
2009-12-15 09:51:20 -05:00
Slava Pestov
9a149a47ab
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-15 07:21:17 -05:00