Slava Pestov
0068bce934
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
2009-12-15 07:20:09 -05:00
Slava Pestov
dde84a11fb
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-14 01:09:40 -06:00
Slava Pestov
0a3c5f5ac6
vm: fep out if monotonic counter decreases
2009-12-14 01:09:04 -06:00
Doug Coleman
19c5200b94
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-13 21:39:14 -06:00
Doug Coleman
b0b1da0923
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
vm/os-windows-nt.cpp
2009-12-13 20:45:40 -06:00
Doug Coleman
0eccec2133
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
2009-12-13 20:42:51 -06:00
Doug Coleman
1454e534fe
fix a couple of warnings on win64
2009-12-13 20:00:02 -06:00
Slava Pestov
62e7aed2d3
vm/os-windows-nt.cpp: fix formatting
2009-12-13 16:52:59 -06:00
Slava Pestov
7c583dd66f
windows.dinput.constants: use C type symbols rather than strings
2009-12-13 16:52:36 -06:00
Slava Pestov
564934a9f1
fix compiler warning on linux
2009-12-13 16:10:30 -06:00
Doug Coleman
9fea67f3ff
triyng to rice crc32 a bit
2009-12-13 02:03:06 -06:00
Doug Coleman
ae9bca2b1e
add MAIN: run-unix-factor to math.primes.factors
2009-12-12 23:39:59 -06:00
Slava Pestov
4cea294cfd
sequences: fix map-reduce and 2map-reduce docs, reported by Ben Schlingelhof
2009-12-12 15:16:11 -05:00
Slava Pestov
0d6546e994
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-11 19:31:58 -05:00
Slava Pestov
6552a4524c
vm: OS X version ccheck was failing on 10.5.0
2009-12-11 19:31:19 -05:00
Doug Coleman
8b24bc78b3
fix unit test in circular
2009-12-08 17:05:17 -06:00
Doug Coleman
5c9ce929c7
fix unit test
2009-12-08 17:05:11 -06:00
Doug Coleman
0d75418048
randomize poker decks in <deck> word
2009-12-07 19:28:11 -06:00
Doug Coleman
82f57e57f9
change behavior of circular-while
2009-12-07 19:27:36 -06:00
Doug Coleman
7f1a643de2
fix project euler 54
2009-12-07 18:24:57 -06:00
Doug Coleman
8b38997e55
better minmax
2009-12-07 17:26:33 -06:00
Doug Coleman
26de809d57
link pusher and accumulator in docs
2009-12-07 16:26:24 -06:00
Doug Coleman
7369522b69
add utility words for changing file permissions
2009-12-06 17:53:35 -06:00
Doug Coleman
e62474e3c2
fix typo
2009-12-06 17:22:02 -06:00
Doug Coleman
a94774f8e8
add circular-while, optimize circular a bit
2009-12-06 17:20:46 -06:00
Doug Coleman
313f70dbd6
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-06 02:28:46 -06:00
Joe Groff
6b9c4254ad
move simd operation methods onto simd-128 instead of concrete classes to save image space
2009-12-05 21:19:17 -08:00
Joe Groff
2b2be5f121
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-05 17:18:49 -08:00
Joe Groff
3e40a36c50
fix simd tests
2009-12-05 17:17:16 -08:00
Slava Pestov
344c357ef1
vm: grow the heap if a full collection doesn't reclaim enough space
2009-12-05 19:03:53 -05:00
Joe Groff
d412845b41
add v*high, v*hs+, vsad, and vavg to simd fuzz tests
2009-12-05 15:42:41 -08:00
Joe Groff
af39e5d52c
missing USING:s
2009-12-05 15:38:57 -08:00
Joe Groff
1c40e4faa4
implement %scalar>integer for longlong reps on x86.64
2009-12-05 15:38:43 -08:00
Slava Pestov
9e1c5adca7
tools.deploy.shaker: "specializations" word-prop no longer used
2009-12-05 18:21:46 -05:00
Slava Pestov
0a5826c123
math.combinatorics: remove 'mirrors' from using list since its not needed
2009-12-05 18:21:32 -05:00
Slava Pestov
abe72ae7ae
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
2009-12-05 18:20:57 -05:00
Joe Groff
9963e44f89
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-05 14:52:30 -08:00
Joe Groff
104c29aabc
simd intrinsic implementation for v*high, v*hs+, vavg, and vsad
2009-12-05 14:52:18 -08:00
Joe Groff
1845915dc6
add v*high, v*hs+, vavg, and vsad operations to math.vectors
2009-12-05 11:32:31 -08:00
Slava Pestov
9705768e3f
vm: remove DEFPUSHPOP macro
2009-12-04 20:56:48 -05:00
Joe Groff
9f79cb0002
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-04 13:24:14 -08:00
Joe Groff
412b9d0c7a
change compiler.cfg.intrinsics.simd tests to not use types and operations that depend on host cell size
2009-12-04 13:23:31 -08:00
Joe Groff
36b0b65320
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
2009-12-04 13:22:59 -08:00
Joe Groff
3aaa90052b
fix specialized-array vs methods to work when c-type is also a : word
2009-12-04 13:22:01 -08:00
Joe Groff
53ca7f208b
update math.vectors docs for simd changes
2009-12-04 13:21:18 -08:00
Joe Groff
270fe50ba3
add methods to vs+/vs-/vs* on specialized-arrays so that they saturate as well
2009-12-04 12:43:50 -08:00
Doug Coleman
50afb06993
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-04 10:56:36 -06:00
Slava Pestov
264fbdc954
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-04 03:41:40 -05:00
Slava Pestov
ead592697b
vm: be more eager to do a full collection to avoid fragmentation leading to heap growth
2009-12-04 03:41:19 -05:00
Joe Groff
63b89c65f9
don't use intrinsics for simd vector element operations when the component size doesn't fit in a fixnum
2009-12-03 12:46:56 -08:00