]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 years agovm: ensure that non-optimized calls to generic words which have not yet been compiled...
Slava Pestov [Wed, 6 Jan 2010 10:49:14 +0000 (23:49 +1300)]
vm: ensure that non-optimized calls to generic words which have not yet been compiled can still work

14 years agocpu.x86: don't have to pass VM pointer to quotations anymore
Slava Pestov [Wed, 6 Jan 2010 10:42:00 +0000 (23:42 +1300)]
cpu.x86: don't have to pass VM pointer to quotations anymore

14 years agoUpdate x86-32 for assembly entry point changes
Slava Pestov [Wed, 6 Jan 2010 04:55:20 +0000 (17:55 +1300)]
Update x86-32 for assembly entry point changes

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Wed, 6 Jan 2010 04:54:22 +0000 (17:54 +1300)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agovm: move c_to_factor, lazy_jit_compile_impl, throw_impl, set_callstack assembly routi...
Slava Pestov [Wed, 6 Jan 2010 02:47:36 +0000 (15:47 +1300)]
vm: move c_to_factor, lazy_jit_compile_impl, throw_impl, set_callstack assembly routines into non-optimizing compiler for x86-64

14 years agofix joystick-demo for timer changes
Joe Groff [Tue, 5 Jan 2010 18:23:11 +0000 (10:23 -0800)]
fix joystick-demo for timer changes

14 years agofix bug in constructor redefinition
Doug Coleman [Mon, 4 Jan 2010 20:24:13 +0000 (14:24 -0600)]
fix bug in constructor redefinition

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Mon, 4 Jan 2010 15:59:39 +0000 (10:59 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoupdate fica constant
Doug Coleman [Mon, 4 Jan 2010 15:59:00 +0000 (10:59 -0500)]
update fica constant

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Sun, 3 Jan 2010 10:21:31 +0000 (23:21 +1300)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoChange how non-volatile register preservation is done in alien callbacks, with the...
Slava Pestov [Sat, 2 Jan 2010 12:03:30 +0000 (01:03 +1300)]
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

14 years agofix png loading
Doug Coleman [Wed, 30 Dec 2009 20:58:50 +0000 (14:58 -0600)]
fix png loading

14 years agoremove warning
Doug Coleman [Mon, 28 Dec 2009 16:02:36 +0000 (10:02 -0600)]
remove warning

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Mon, 28 Dec 2009 15:58:19 +0000 (09:58 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoavoid integer division in nano_count on windows
Doug Coleman [Mon, 28 Dec 2009 15:56:10 +0000 (09:56 -0600)]
avoid integer division in nano_count on windows

14 years agoPowerPC: fix set-callstack primitive and start updating optimizing compiler backend...
Slava Pestov [Mon, 28 Dec 2009 14:08:15 +0000 (08:08 -0600)]
PowerPC: fix set-callstack primitive and start updating optimizing compiler backend for recent changes

14 years agocpu.ppc: fix non-optimizing compiler backend
Slava Pestov [Mon, 28 Dec 2009 02:45:46 +0000 (15:45 +1300)]
cpu.ppc: fix non-optimizing compiler backend

14 years agocontinuations: remove outdated comment
Slava Pestov [Sun, 27 Dec 2009 23:42:25 +0000 (12:42 +1300)]
continuations: remove outdated comment

14 years agokernel: fix set-callstack docs
Slava Pestov [Sun, 27 Dec 2009 23:41:45 +0000 (12:41 +1300)]
kernel: fix set-callstack docs

14 years agoUpdating non-optimizing PowerPC backend for register variable removal (untested)
Slava Pestov [Sun, 27 Dec 2009 23:40:45 +0000 (12:40 +1300)]
Updating non-optimizing PowerPC backend for register variable removal (untested)

14 years agoMerge branch 'eliminating_register_variables'
Slava Pestov [Sat, 26 Dec 2009 12:29:53 +0000 (01:29 +1300)]
Merge branch 'eliminating_register_variables'

14 years agojson reader: correctly handle empty objects in objects
Alec Berryman [Thu, 24 Dec 2009 23:48:16 +0000 (17:48 -0600)]
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.

14 years agoUpdating x86-64 port for global register variable removal
Slava Pestov [Sat, 26 Dec 2009 12:17:42 +0000 (01:17 +1300)]
Updating x86-64 port for global register variable removal

14 years agokernel: fix stack effect declarations of call-clear and set-callstack, and add a...
Slava Pestov [Sat, 26 Dec 2009 02:38:01 +0000 (15:38 +1300)]
kernel: fix stack effect declarations of call-clear and set-callstack, and add a unit test for call-clear

14 years agoprimitives.factor: move call-clear into kernel.private since its unsafe
Slava Pestov [Sat, 26 Dec 2009 02:27:39 +0000 (15:27 +1300)]
primitives.factor: move call-clear into kernel.private since its unsafe

14 years agoFix bug in c_to_factor
Slava Pestov [Sat, 26 Dec 2009 02:24:46 +0000 (15:24 +1300)]
Fix bug in c_to_factor

14 years agovm: code cleanup
Slava Pestov [Sat, 26 Dec 2009 02:24:21 +0000 (15:24 +1300)]
vm: code cleanup

14 years agoAdd 0xe06d7363 to debugger.windows. Remove case 0xe06d7363 from SEH.
Doug Coleman [Wed, 23 Dec 2009 20:04:52 +0000 (14:04 -0600)]
Add 0xe06d7363 to debugger.windows.  Remove case 0xe06d7363 from SEH.

14 years agovm: remove VM_ASM_API
Slava Pestov [Wed, 23 Dec 2009 12:37:24 +0000 (01:37 +1300)]
vm: remove VM_ASM_API

14 years agoremove debug output
Doug Coleman [Tue, 22 Dec 2009 20:39:30 +0000 (14:39 -0600)]
remove debug output

14 years agotry a different approach to fix the windows monotonic counter
Doug Coleman [Tue, 22 Dec 2009 20:36:33 +0000 (14:36 -0600)]
try a different approach to fix the windows monotonic counter

14 years agoIgnore yet another undocumented exception. Tricks of the trade, I guess.
Doug Coleman [Tue, 22 Dec 2009 19:33:39 +0000 (13:33 -0600)]
Ignore yet another undocumented exception.  Tricks of the trade, I guess.

14 years agofix spacing in factor.sh
Sheepson Apprentice [Tue, 22 Dec 2009 17:09:42 +0000 (11:09 -0600)]
fix spacing in factor.sh

14 years agoMerge branch 'master' into eliminating_register_variables
Slava Pestov [Tue, 22 Dec 2009 02:50:15 +0000 (15:50 +1300)]
Merge branch 'master' into eliminating_register_variables

14 years agovm: if an aging GC is triggered while uninitialized code blocks are in the code heap...
Slava Pestov [Tue, 22 Dec 2009 02:49:21 +0000 (15:49 +1300)]
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

14 years agoGet optimizing compiler working without global register variables in VM
Slava Pestov [Tue, 22 Dec 2009 02:42:49 +0000 (15:42 +1300)]
Get optimizing compiler working without global register variables in VM

14 years agovm: eliminating register variables work in progress. Works on x86-32 with non-optimiz...
Slava Pestov [Fri, 18 Dec 2009 21:59:56 +0000 (10:59 +1300)]
vm: eliminating register variables work in progress. Works on x86-32 with non-optimizing compiler

14 years agoUpdated post-data slot names in http-docs.factor
otoburb [Tue, 15 Dec 2009 23:12:48 +0000 (18:12 -0500)]
Updated post-data slot names in http-docs.factor

14 years agoFix PowerPC compiler backend for recent changes
Slava Pestov [Tue, 15 Dec 2009 14:51:20 +0000 (09:51 -0500)]
Fix PowerPC compiler backend for recent changes

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Tue, 15 Dec 2009 12:21:17 +0000 (07:21 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agothreads, io.streams.c: cleanups
Slava Pestov [Tue, 15 Dec 2009 12:20:41 +0000 (07:20 -0500)]
threads, io.streams.c: cleanups

14 years agovm: big overhaul of non-optimizing compiler
Slava Pestov [Tue, 15 Dec 2009 12:20:09 +0000 (07:20 -0500)]
vm: big overhaul of non-optimizing compiler
- change some primitives into sub-primitives: fixnum+ fixnum- fixnum* inline-cache-miss inline-cache-miss-tail
- rename some relocation types for clarity
- some other minor re-organizations and cleanups

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Mon, 14 Dec 2009 07:09:40 +0000 (01:09 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agovm: fep out if monotonic counter decreases
Slava Pestov [Mon, 14 Dec 2009 07:09:04 +0000 (01:09 -0600)]
vm: fep out if monotonic counter decreases

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Mon, 14 Dec 2009 03:39:14 +0000 (21:39 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Mon, 14 Dec 2009 02:45:40 +0000 (20:45 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

Conflicts:
vm/os-windows-nt.cpp

14 years agoworkaround for QueryPerformanceCounter: if the high part of the count doesn't increme...
Doug Coleman [Mon, 14 Dec 2009 02:42:51 +0000 (20:42 -0600)]
workaround for QueryPerformanceCounter: if the high part of the count doesn't increment when the low part overflows, keep track of this and add the correction on future calls to nano_count

14 years agofix a couple of warnings on win64
Doug Coleman [Mon, 14 Dec 2009 02:00:02 +0000 (20:00 -0600)]
fix a couple of warnings on win64

14 years agovm/os-windows-nt.cpp: fix formatting
Slava Pestov [Sun, 13 Dec 2009 22:52:59 +0000 (16:52 -0600)]
vm/os-windows-nt.cpp: fix formatting

14 years agowindows.dinput.constants: use C type symbols rather than strings
Slava Pestov [Sun, 13 Dec 2009 22:52:36 +0000 (16:52 -0600)]
windows.dinput.constants: use C type symbols rather than strings

14 years agofix compiler warning on linux
Slava Pestov [Sun, 13 Dec 2009 22:10:30 +0000 (16:10 -0600)]
fix compiler warning on linux

14 years agotriyng to rice crc32 a bit
Doug Coleman [Sun, 13 Dec 2009 08:03:06 +0000 (02:03 -0600)]
triyng to rice crc32 a bit

14 years agoadd MAIN: run-unix-factor to math.primes.factors
Doug Coleman [Sun, 13 Dec 2009 05:39:59 +0000 (23:39 -0600)]
add MAIN: run-unix-factor to math.primes.factors

14 years agosequences: fix map-reduce and 2map-reduce docs, reported by Ben Schlingelhof
Slava Pestov [Sat, 12 Dec 2009 20:16:11 +0000 (15:16 -0500)]
sequences: fix map-reduce and 2map-reduce docs, reported by Ben Schlingelhof

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Sat, 12 Dec 2009 00:31:58 +0000 (19:31 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agovm: OS X version ccheck was failing on 10.5.0
Slava Pestov [Sat, 12 Dec 2009 00:31:19 +0000 (19:31 -0500)]
vm: OS X version ccheck was failing on 10.5.0

14 years agofix unit test in circular
Doug Coleman [Tue, 8 Dec 2009 23:05:17 +0000 (17:05 -0600)]
fix unit test in circular

14 years agofix unit test
Doug Coleman [Tue, 8 Dec 2009 23:05:11 +0000 (17:05 -0600)]
fix unit test

14 years agorandomize poker decks in <deck> word
Doug Coleman [Tue, 8 Dec 2009 01:28:11 +0000 (19:28 -0600)]
randomize poker decks in <deck> word

14 years agochange behavior of circular-while
Doug Coleman [Tue, 8 Dec 2009 01:27:36 +0000 (19:27 -0600)]
change behavior of circular-while

14 years agofix project euler 54
Doug Coleman [Tue, 8 Dec 2009 00:24:57 +0000 (18:24 -0600)]
fix project euler 54

14 years agobetter minmax
Doug Coleman [Mon, 7 Dec 2009 23:26:33 +0000 (17:26 -0600)]
better minmax

14 years agolink pusher and accumulator in docs
Doug Coleman [Mon, 7 Dec 2009 22:26:24 +0000 (16:26 -0600)]
link pusher and accumulator in docs

14 years agoadd utility words for changing file permissions
Doug Coleman [Sun, 6 Dec 2009 23:53:35 +0000 (17:53 -0600)]
add utility words for changing file permissions

14 years agofix typo
Doug Coleman [Sun, 6 Dec 2009 23:22:02 +0000 (17:22 -0600)]
fix typo

14 years agoadd circular-while, optimize circular a bit
Doug Coleman [Sun, 6 Dec 2009 23:20:46 +0000 (17:20 -0600)]
add circular-while, optimize circular a bit

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Sun, 6 Dec 2009 08:28:46 +0000 (02:28 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agomove simd operation methods onto simd-128 instead of concrete classes to save image...
Joe Groff [Sun, 6 Dec 2009 05:19:17 +0000 (21:19 -0800)]
move simd operation methods onto simd-128 instead of concrete classes to save image space

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Sun, 6 Dec 2009 01:18:49 +0000 (17:18 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agofix simd tests
Joe Groff [Sun, 6 Dec 2009 01:17:16 +0000 (17:17 -0800)]
fix simd tests

14 years agovm: grow the heap if a full collection doesn't reclaim enough space
Slava Pestov [Sun, 6 Dec 2009 00:03:53 +0000 (19:03 -0500)]
vm: grow the heap if a full collection doesn't reclaim enough space

14 years agoadd v*high, v*hs+, vsad, and vavg to simd fuzz tests
Joe Groff [Sat, 5 Dec 2009 23:42:41 +0000 (15:42 -0800)]
add v*high, v*hs+, vsad, and vavg to simd fuzz tests

14 years agomissing USING:s
Joe Groff [Sat, 5 Dec 2009 23:38:57 +0000 (15:38 -0800)]
missing USING:s

14 years agoimplement %scalar>integer for longlong reps on x86.64
Joe Groff [Sat, 5 Dec 2009 23:38:43 +0000 (15:38 -0800)]
implement %scalar>integer for longlong reps on x86.64

14 years agotools.deploy.shaker: "specializations" word-prop no longer used
Slava Pestov [Sat, 5 Dec 2009 23:21:46 +0000 (18:21 -0500)]
tools.deploy.shaker: "specializations" word-prop no longer used

14 years agomath.combinatorics: remove 'mirrors' from using list since its not needed
Slava Pestov [Sat, 5 Dec 2009 23:21:32 +0000 (18:21 -0500)]
math.combinatorics: remove 'mirrors' from using list since its not needed

14 years agomath.vectors.simd: ensure that set-alien-vector is open-coded in the actual set-nth...
Slava Pestov [Sat, 5 Dec 2009 23:20:57 +0000 (18:20 -0500)]
math.vectors.simd: ensure that set-alien-vector is open-coded in the actual set-nth-unsafe method on SIMD specialized arrays, not just inlined instances

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Sat, 5 Dec 2009 22:52:30 +0000 (14:52 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agosimd intrinsic implementation for v*high, v*hs+, vavg, and vsad
Joe Groff [Sat, 5 Dec 2009 22:52:18 +0000 (14:52 -0800)]
simd intrinsic implementation for v*high, v*hs+, vavg, and vsad

14 years agoadd v*high, v*hs+, vavg, and vsad operations to math.vectors
Joe Groff [Sat, 5 Dec 2009 19:32:31 +0000 (11:32 -0800)]
add v*high, v*hs+, vavg, and vsad operations to math.vectors

14 years agovm: remove DEFPUSHPOP macro
Slava Pestov [Sat, 5 Dec 2009 01:56:48 +0000 (20:56 -0500)]
vm: remove DEFPUSHPOP macro

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Fri, 4 Dec 2009 21:24:14 +0000 (13:24 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agochange compiler.cfg.intrinsics.simd tests to not use types and operations that depend...
Joe Groff [Fri, 4 Dec 2009 21:23:31 +0000 (13:23 -0800)]
change compiler.cfg.intrinsics.simd tests to not use types and operations that depend on host cell size

14 years agomove sequence instance to individual SIMD types rather than simd-128 parent type...
Joe Groff [Fri, 4 Dec 2009 21:22:59 +0000 (13:22 -0800)]
move sequence instance to individual SIMD types rather than simd-128 parent type so that "hashcode*" doesn't attempt to use the sequence implementation of hashcode on abstract simd-128 objects

14 years agofix specialized-array vs methods to work when c-type is also a : word
Joe Groff [Fri, 4 Dec 2009 21:22:01 +0000 (13:22 -0800)]
fix specialized-array vs methods to work when c-type is also a : word

14 years agoupdate math.vectors docs for simd changes
Joe Groff [Fri, 4 Dec 2009 21:21:18 +0000 (13:21 -0800)]
update math.vectors docs for simd changes

14 years agoadd methods to vs+/vs-/vs* on specialized-arrays so that they saturate as well
Joe Groff [Fri, 4 Dec 2009 20:43:50 +0000 (12:43 -0800)]
add methods to vs+/vs-/vs* on specialized-arrays so that they saturate as well

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Fri, 4 Dec 2009 16:56:36 +0000 (10:56 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Fri, 4 Dec 2009 08:41:40 +0000 (03:41 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agovm: be more eager to do a full collection to avoid fragmentation leading to heap...
Slava Pestov [Fri, 4 Dec 2009 08:41:19 +0000 (03:41 -0500)]
vm: be more eager to do a full collection to avoid fragmentation leading to heap growth

14 years agodon't use intrinsics for simd vector element operations when the component size doesn...
Joe Groff [Thu, 3 Dec 2009 20:46:56 +0000 (12:46 -0800)]
don't use intrinsics for simd vector element operations when the component size doesn't fit in a fixnum

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Thu, 3 Dec 2009 02:11:08 +0000 (20:11 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoFix bootstrap
Slava Pestov [Thu, 3 Dec 2009 00:24:46 +0000 (19:24 -0500)]
Fix bootstrap

14 years agoMerge branch 'simd-cleanup' of git://factorcode.org/git/factor into simd-cleanup
Slava Pestov [Thu, 3 Dec 2009 00:09:56 +0000 (19:09 -0500)]
Merge branch 'simd-cleanup' of git://factorcode.org/git/factor into simd-cleanup

14 years agovm: fix walker
Slava Pestov [Wed, 2 Dec 2009 22:57:39 +0000 (17:57 -0500)]
vm: fix walker

14 years agotools.deploy.test.5: revert accidental screwup
Slava Pestov [Wed, 2 Dec 2009 22:56:49 +0000 (17:56 -0500)]
tools.deploy.test.5: revert accidental screwup

14 years agovm: PowerPC fixes
Slava Pestov [Wed, 2 Dec 2009 22:24:42 +0000 (16:24 -0600)]
vm: PowerPC fixes

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Wed, 2 Dec 2009 15:57:51 +0000 (09:57 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoFix typo in instruction_operand::load_value_masked()
Slava Pestov [Wed, 2 Dec 2009 14:24:23 +0000 (09:24 -0500)]
Fix typo in instruction_operand::load_value_masked()

14 years agovm: fix instruction_operand::load_value() for PowerPC relocation classes
Slava Pestov [Wed, 2 Dec 2009 14:20:33 +0000 (09:20 -0500)]
vm: fix instruction_operand::load_value() for PowerPC relocation classes