Commit Graph

7609 Commits (350f69b645e36e54feb36a2b51e943d9b60f5efd)

Author SHA1 Message Date
Slava Pestov e96404327e Get optimizing compiler working without global register variables in VM 2009-12-22 15:42:49 +13:00
Slava Pestov 63edd20a55 vm: eliminating register variables work in progress. Works on x86-32 with non-optimizing compiler 2009-12-19 10:59:56 +13:00
otoburb dbbcf74cda Updated post-data slot names in http-docs.factor 2009-12-15 18:12:48 -05:00
Slava Pestov c4719b7f5f Fix PowerPC compiler backend for recent changes 2009-12-15 09:51:20 -05:00
Slava Pestov eb0a28aa54 Merge branch 'master' of git://factorcode.org/git/factor 2009-12-15 07:21:17 -05:00
Slava Pestov f6c0c64518 threads, io.streams.c: cleanups 2009-12-15 07:20:41 -05:00
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
Doug Coleman 19c5200b94 Merge branch 'master' of git://factorcode.org/git/factor 2009-12-13 21:39:14 -06:00
Slava Pestov 7c583dd66f windows.dinput.constants: use C type symbols rather than strings 2009-12-13 16:52:36 -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
Doug Coleman 8b24bc78b3 fix unit test in circular 2009-12-08 17:05:17 -06:00
Doug Coleman 82f57e57f9 change behavior of circular-while 2009-12-07 19:27:36 -06:00
Doug Coleman 8b38997e55 better minmax 2009-12-07 17:26:33 -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
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 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
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
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
Doug Coleman 0a48b946b6 Merge branch 'master' of git://factorcode.org/git/factor 2009-12-02 20:11:08 -06:00
Slava Pestov 7c8d755c45 Fix bootstrap 2009-12-02 19:24:46 -05:00
Slava Pestov 73eb4c4531 Merge branch 'simd-cleanup' of git://factorcode.org/git/factor into simd-cleanup 2009-12-02 19:09:56 -05:00
Slava Pestov 2f024f8b5c tools.deploy.test.5: revert accidental screwup 2009-12-02 17:56:49 -05:00
Doug Coleman 95e8e6ee14 Merge branch 'master' of git://factorcode.org/git/factor 2009-12-02 09:57:51 -06:00
Slava Pestov 235ad395c2 ui.gadgets.buttons: improve docs 2009-12-02 09:11:40 -05:00
Slava Pestov cf8e03ad39 tools.deploy: hello-ui had reflection level of 2, not 1 unnecessarily; tools.deploy.backend now passes -pic=0 to avoid saving PICs in the deployed image 2009-12-02 05:33:22 -06:00
Slava Pestov eb840dcf41 RT_HERE now takes its argument from the literal table rather than the parameter table, reducing image size further 2009-12-02 04:55:48 -06:00
Slava Pestov 68c09f0e93 Split literal table into literal and parameter tables, literal table is discarded after code block initialization 2009-12-02 04:28:15 -06:00
Doug Coleman 3e756f5c08 add product-map>assoc and docs 2009-11-27 22:58:17 -06:00
Doug Coleman a1bb120498 clean up math.combinatorics and add another combinator 2009-11-27 22:50:06 -06:00
Joe Groff 67cc1c01be Merge branch 'master' into simd-cleanup 2009-11-26 16:14:46 -08:00
Joe Groff 66d0cafa94 fix buggy simd intrinsics 2009-11-26 13:28:40 -08:00
Joe Groff ac5d3d5652 remove SIMDS: 2009-11-26 11:15:46 -08:00
Joe Groff 0795c60b83 "norm" doesn't need to be generic, "norm-sq sqrt" always works 2009-11-26 11:15:35 -08:00
Doug Coleman cdc1f1e041 add product-map-as and use it in poker vocab 2009-11-25 23:18:18 -06:00
Joe Groff 7da80f65e7 trick math.vectors.simd into making nicer quotations 2009-11-25 20:24:09 -08:00
Joe Groff 4027002db7 remove SIMD:s 2009-11-25 20:21:54 -08:00
Joe Groff c916c7c856 don't try to rewrite redundant test-vector-exprs 2009-11-25 20:06:11 -08:00
Joe Groff 578a0e3fd5 math.vectors.simd.cords vocab that defines vector cords 2009-11-25 18:01:58 -08:00
Slava Pestov bd02eef38e Fix non-tail recursive inline recursive compilation 2009-11-25 19:12:09 -06:00
Joe Groff 5f32a6d726 vector op specializations on cords 2009-11-25 15:44:57 -08:00
Joe Groff d95c6eb4c8 streamline cords, add a functor for making specialized cords 2009-11-24 23:18:01 -08:00
Joe Groff 46f0aa6421 move cords to sequences.cords 2009-11-24 22:56:42 -08:00
Joe Groff 50f7dff422 change name of 'unsign-rep' to more sensible 'signed-rep' 2009-11-24 22:44:12 -08:00
Joe Groff 9128f1f160 remove mentions of 256-bit vectors from math.vectors.simd 2009-11-24 22:26:16 -08:00
Joe Groff 3f5b3c2c1b fix math.vectors.conversion help-lint 2009-11-24 22:20:43 -08:00
Joe Groff d344023b1c update math.vectors.conversion 2009-11-24 20:53:40 -08:00
Doug Coleman 7a00f24d6b revert math.matrices.elimintion until someone fixes it properly 2009-11-24 20:41:59 -06:00
Joe Groff c98eb84943 make math.vectors.simd tests pass again 2009-11-24 18:30:12 -08:00
Joe Groff 9c388bf781 update compiler.cfg.intrinsics.simd tests 2009-11-24 12:50:27 -08:00
Joe Groff 65d8060075 fix simd intrinsic compilation 2009-11-24 11:37:28 -08:00
Joe Groff d94ffe6d78 scalar fallbacks for simd intrinsics 2009-11-23 21:24:55 -08:00
Doug Coleman 5793d2e2eb update docs for new alarms changes 2009-11-23 19:49:47 -06:00
Doug Coleman a37908e00e store the current alarm in current-alarm 2009-11-23 19:19:34 -06:00
Doug Coleman a0b13cdb2c alarms: Stop repeated alarms after an error is thrown 2009-11-23 16:37:14 -06:00
Doug Coleman 6af0482e4f Merge branch 'master' of git://factorcode.org/git/factor 2009-11-22 18:23:12 -06:00
Slava Pestov 79d0211c02 Merge branch 'master' of git://factorcode.org/git/factor 2009-11-22 13:49:26 -06:00
Slava Pestov c222e5b6b1 io.launcher.unix: tests don't hang on failure 2009-11-22 13:49:10 -06:00
Doug Coleman 1566d4d184 Merge branch 'master' of git://factorcode.org/git/factor 2009-11-21 20:57:27 -06:00
Doug Coleman 3a90db03c6 use CONSTANT: in epoll 2009-11-21 20:56:39 -06:00
Doug Coleman c794c347a3 Merge branch 'master' of git://factorcode.org/git/factor 2009-11-21 18:16:23 -06:00
Doug Coleman 97288b8a04 remove >duration word and instead make a private >nanoseconds word in alarms 2009-11-21 18:01:25 -06:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Doug Coleman f6ff09cc72 Merge branch 'master' of git://factorcode.org/git/factor 2009-11-21 17:47:54 -06:00
Slava Pestov 39a2d4303e tools.time: update docs 2009-11-21 17:46:27 -06:00
Slava Pestov d001e0176a alarms: pass correct parameter to sleep-until, fixes 100% CPU usage in UI 2009-11-21 17:46:10 -06:00
Slava Pestov bbb95db5e6 tools.threads: report correct sleep time 2009-11-21 17:45:47 -06:00
Slava Pestov 5ccce283fa Various Windows load fixes 2009-11-21 17:24:37 -06:00
Slava Pestov 50b3f076e8 edit-error now works if the error has a file name but not a line number 2009-11-21 17:23:59 -06:00
Doug Coleman 57ed581f22 Merge branch 'master' of git://factorcode.org/git/factor 2009-11-20 22:16:46 -06:00
Slava Pestov c2e9cc8ee7 tools.deploy.test.17: fix typo 2009-11-20 15:35:12 -06:00
Doug Coleman d1117a66cb clean up the end of the easter word 2009-11-20 04:27:00 -06:00
Slava Pestov 10800a009a tools.deploy.test.17: database deployment test 2009-11-20 03:23:24 -06:00
Slava Pestov ffd7de02d6 Update a few places that used string C type names to use words; fixes some deploy tests 2009-11-20 03:21:48 -06:00
Slava Pestov 24c3ddbbde Clean up startup/shutdown hook code 2009-11-20 00:57:49 -06:00
Slava Pestov 3d585fa858 Move nano-count>timestamp word to core-foundation.run-loop since its pretty specialized 2009-11-20 00:12:16 -06:00
Slava Pestov 6a2cf3516d Bootstrap and mason now record times in nanoseconds 2009-11-19 23:50:30 -06:00
Slava Pestov c55bdc0d34 alien.c-types: fix help lint 2009-11-19 23:22:08 -06:00
Doug Coleman 9c943e5ad0 Merge branch 'master' of git://factorcode.org/git/factor 2009-11-19 19:49:33 -06:00
Slava Pestov 1d16152057 stack-checker: fix error message printed when do-primitive is inferred 2009-11-19 19:43:41 -06:00
Doug Coleman 52697db357 Merge branch 'master' of git://factorcode.org/git/factor 2009-11-19 19:37:25 -06:00
Slava Pestov 2c553bcc86 alien.c-types: make sure generated words reference C type words not strings 2009-11-19 19:34:58 -06:00
Slava Pestov c0588221cf classes.struct: compute slot offsets before alignment to fix struct size problem on PPC 2009-11-19 19:34:46 -06:00