Commit Graph

17822 Commits (30dca04b8193b8484e929d51a57cc27b4b7cb0cc)

Author SHA1 Message Date
Joe Groff 30dca04b81 import std::tr1/boost ::unordered_map into the factor namespace instead of using #define 2009-10-02 11:13:27 -05:00
Joe Groff 0c5a1de5ae don't leak startargs in start_standalone_factor_in_new_thread 2009-10-02 11:11:17 -05:00
Slava Pestov 0497ade10b vm: add assertions to tls_vm() 2009-10-02 09:37:04 -05:00
Slava Pestov 06736767f4 vm: fix register clobberage in PowerPC c_to_factor (untested) 2009-10-02 09:19:31 -05:00
Slava Pestov 0030f6c493 vm: fix register clobberage in x86 c_to_factor 2009-10-02 09:12:09 -05:00
Slava Pestov 9ac62dc476 cpu.ppc: remove useless comment 2009-10-02 03:31:53 -05:00
Slava Pestov a989cad668 vm: fix compile error with DEBUG=1 2009-10-02 03:30:02 -05:00
Slava Pestov aa0359f78d Merge branch 'reentrantvm' of git://github.com/phildawes/factor 2009-10-02 03:28:21 -05:00
Slava Pestov 09aa172725 vm: fix stack alignment in primitive_inline_cache_miss 2009-10-02 03:25:18 -05:00
Slava Pestov 4f3c30d2b7 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-02 02:32:50 -05:00
Slava Pestov d47e99dbde Fix compiler.cfg.value-numbering and math.matrices.simd unit tests 2009-10-02 02:32:35 -05:00
Doug Coleman e7964e15ea add a random.sfmt benchmark 2009-10-02 02:03:15 -05:00
Doug Coleman 193551b4e2 add unit test for seeding 2009-10-02 01:55:18 -05:00
Doug Coleman 82e6706af7 add seed-random method to random.sfmt, fix formatting 2009-10-02 01:54:17 -05:00
Doug Coleman 76a109942f remove m-n-as-a-slot 2009-10-02 01:32:11 -05:00
Doug Coleman 8862f9eeb7 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-02 01:24:34 -05:00
Slava Pestov cffd8d9e38 prettyprint.backend: fix performance problem when printing large arrays with length limit on 2009-10-02 01:23:17 -05:00
Doug Coleman 7063f43952 optimizing random.sfmt 2009-10-02 01:18:18 -05:00
Doug Coleman db68f7f1bd sfmt uses some simd now 2009-10-02 00:40:55 -05:00
Doug Coleman 98c18e61b9 cleaning up sfmt 2009-10-02 00:21:48 -05:00
Slava Pestov 901e0709e6 Merge branch 'master' of git://factorcode.org/git/factor into improved-aa 2009-10-02 00:21:44 -05:00
Doug Coleman 1ec00f0d65 initial checkin of random.sfmt so i can refactor it 2009-10-02 00:07:29 -05:00
Slava Pestov 10a49a4613 compiler.cfg.alias-analysis: fix ##compare where operands are copies 2009-10-01 23:54:19 -05:00
Joe Groff bd34a52ad0 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/compiler/codegen/codegen.factor
2009-10-01 23:52:26 -05:00
Joe Groff 34eb7a9286 change vector logical words to reuse the input sequence types so that they work as simd fallbacks 2009-10-01 23:49:53 -05:00
Joe Groff 0bc690e749 define simd equal? methods as v= vall? 2009-10-01 23:46:37 -05:00
Slava Pestov 231a2d1b71 Fix alias analysis of a ##compare whose input is another ##compare 2009-10-01 23:20:05 -05:00
Slava Pestov f7ab392ab7 Merge branch 'master' into improved-aa 2009-10-01 23:16:54 -05:00
Joe Groff 9d424a1092 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/compiler/codegen/codegen.factor
2009-10-01 23:14:16 -05:00
Slava Pestov 4db7e75a9c sequences: add accumulate-as and document insert-nth 2009-10-01 23:13:33 -05:00
Slava Pestov fa0cf4cb4a specialized-arrays: byte-array>A-array calls >c-ptr 2009-10-01 23:12:53 -05:00
Joe Groff c08cc860bf create special intrinsic wrappers for 256-vector>scalar operations so that vall?, vany?, vnone? work on 256-vectors 2009-10-01 23:07:10 -05:00
Slava Pestov d3acd0a530 compiler.cfg.alias-analysis: optimize ##vm-field-ptr and ##alien-global instructions, and optimize out ##compare between values of different alias classes; this optimizes '[ [ >float ] bi@ [ + ] [ - ] 2bi eq? ]' down to an o-op and removes boxing from '[ [ >float ] bi@ [ + ] [ - ] 2bi = ]' 2009-10-01 23:03:17 -05:00
Joe Groff b4e15d5f70 vim: highlight @ and _, don't highlight things that aren't special anymore 2009-10-01 22:42:28 -05:00
Joe Groff aaeaa9c506 add tests for v=, vany?, vall?, vnone? 2009-10-01 21:24:14 -05:00
Joe Groff 7b13fa4283 fold test-vector/branch sequences into a test-vector-branch instruction 2009-10-01 19:53:30 -05:00
Slava Pestov 6740956162 compiler.cfg: don't unbox the same value more than once per basic block 2009-10-01 19:41:23 -05:00
Slava Pestov e6ff877362 compiler.cfg.instructions: remove ##box-float, ##unbox-float, ##box-vector, ##unbox-vector since they can be expressed in terms of ##alien-double, ##set-alien-double, ##alien-vector, ##set-alien-vector, and ##allot 2009-10-01 18:07:50 -05:00
Doug Coleman a168367455 add a using 2009-10-01 17:07:57 -05:00
Joe Groff 228ad950bb %test-vector instruction for vany?, vall?, vnone? 2009-10-01 15:35:38 -05:00
Joe Groff 94070c11aa %compare-vector instruction (only does v= for now) 2009-10-01 14:31:37 -05:00
Doug Coleman 7a23a596b0 check that the length of checksum-lines is correct for md 2009-10-01 13:48:28 -05:00
Joe Groff 2303c0107e add software vall?, vany?, vnone? words 2009-10-01 13:21:10 -05:00
Joe Groff ef7fc26277 fix a stupid bug in simd rotation-matrix4 2009-10-01 13:04:59 -05:00
Doug Coleman 4a1eea1793 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-01 11:59:17 -05:00
Doug Coleman bc8ed57749 fix bug in random-bytes* when no random-32* exists 2009-10-01 11:58:52 -05:00
Slava Pestov 702c4cae67 cpu.ppc: fix again 2009-10-01 07:44:14 -05:00
Slava Pestov 16d08c01e3 math.vectors.simd.functor: don't open-code simd-nth and simd-with if we cannot generate double precision FP code. Should fix illegal instruction trap on CPUs with only SSE1 2009-10-01 07:36:50 -05:00
Phil Dawes c2a5049a25 removed some superflous newlines 2009-10-01 07:33:16 +01:00
Joe Groff ef9abec15a write v? and vmask in terms of bitwise ops 2009-10-01 00:09:25 -05:00