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
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
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
8b913f5fc6
Fix bug in c_to_factor
2009-12-26 15:24:46 +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
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
Slava Pestov
742126cadc
threads, io.streams.c: cleanups
2009-12-15 07:20:41 -05:00
Slava Pestov
31a260b74c
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
Doug Coleman
c1fd4a2fcf
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-13 21:39:14 -06:00
Slava Pestov
8961b69e20
windows.dinput.constants: use C type symbols rather than strings
2009-12-13 16:52:36 -06:00
Doug Coleman
76261256da
triyng to rice crc32 a bit
2009-12-13 02:03:06 -06:00
Doug Coleman
8003b74abb
add MAIN: run-unix-factor to math.primes.factors
2009-12-12 23:39:59 -06:00
Doug Coleman
3c21804246
fix unit test in circular
2009-12-08 17:05:17 -06:00
Doug Coleman
37622f88dd
change behavior of circular-while
2009-12-07 19:27:36 -06:00
Doug Coleman
ed17c5a549
better minmax
2009-12-07 17:26:33 -06:00
Doug Coleman
b9b03524f1
add utility words for changing file permissions
2009-12-06 17:53:35 -06:00
Doug Coleman
a2948fd340
fix typo
2009-12-06 17:22:02 -06:00
Doug Coleman
45091e52ad
add circular-while, optimize circular a bit
2009-12-06 17:20:46 -06:00
Doug Coleman
3dafb80153
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-06 02:28:46 -06:00
Joe Groff
d6c1137115
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
82bb560b00
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-05 17:18:49 -08:00
Joe Groff
1ad9dc14b4
fix simd tests
2009-12-05 17:17:16 -08:00
Joe Groff
c09b20fdf5
add v*high, v*hs+, vsad, and vavg to simd fuzz tests
2009-12-05 15:42:41 -08:00
Joe Groff
5d911d41f5
missing USING:s
2009-12-05 15:38:57 -08:00
Joe Groff
1fbbe91e73
implement %scalar>integer for longlong reps on x86.64
2009-12-05 15:38:43 -08:00
Slava Pestov
7ab3d38ed4
tools.deploy.shaker: "specializations" word-prop no longer used
2009-12-05 18:21:46 -05:00
Slava Pestov
aa472ee281
math.combinatorics: remove 'mirrors' from using list since its not needed
2009-12-05 18:21:32 -05:00
Slava Pestov
9e5c44dd11
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
d674ff8191
simd intrinsic implementation for v*high, v*hs+, vavg, and vsad
2009-12-05 14:52:18 -08:00
Joe Groff
c7f4284710
add v*high, v*hs+, vavg, and vsad operations to math.vectors
2009-12-05 11:32:31 -08:00
Joe Groff
778c21e94c
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
c23e3eb4ef
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
5a099992f4
fix specialized-array vs methods to work when c-type is also a : word
2009-12-04 13:22:01 -08:00
Joe Groff
c72a3c452b
update math.vectors docs for simd changes
2009-12-04 13:21:18 -08:00
Joe Groff
0f7f93d0fd
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
ebb40025eb
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-04 10:56:36 -06:00
Joe Groff
4116e2aa4e
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
Doug Coleman
69817c0c38
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-02 20:11:08 -06:00
Slava Pestov
92c1020964
Fix bootstrap
2009-12-02 19:24:46 -05:00