Commit Graph

601 Commits (23f8dd8fc42efdd543dedff54316c488c4d752f1)

Author SHA1 Message Date
Slava Pestov 4f967f7515 math.ranges: doesn't need an equal? method, since sequence doesn't define one, and default tuple equal? is fine for ranges 2010-01-27 19:28:45 +13:00
Slava Pestov 0cbf9c9b50 Move compile-call and related words only meant to be used for debugging to compiler.test 2010-01-23 00:39:56 +13:00
Doug Coleman 33954a3837 NetBSD 64 blas abi changed 2010-01-21 05:02:39 -06:00
Slava Pestov 98f3eae5fe Fix performance regression in vector ops on specialized arrays, tweak definition of <slice> and 2map-reduce to generate fewer conditionals 2010-01-19 17:48:10 +13:00
Doug Coleman 4895967acf Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	core/sequences/sequences-docs.factor
2010-01-14 17:22:02 -06:00
Doug Coleman 37d4e0c1eb Fix a few integers-as-sequences in docs 2010-01-14 17:20:43 -06:00
Slava Pestov 27592b27c7 math.functions: fix memory protection error if exp called on a complex number with a rational real part (reported by prunedtree) 2010-01-15 08:23:48 +13:00
Slava Pestov ceba36bfeb Change [0,b) usages to iota 2010-01-15 08:05:50 +13:00
Doug Coleman 7521807b55 random is generic now -- iota random -> random 2010-01-14 12:48:57 -06:00
Slava Pestov 880fb747fc Removing integers-as-sequences 2010-01-15 07:15:33 +13:00
Slava Pestov 005db61ad6 Rework min and max so that behavior with floats and NaNs is consistent between generic arithmetic and open-coded float intrinsics 2010-01-13 22:20:16 +13:00
Slava Pestov fe919b5223 math.floats.env.x86: split off 32 and 64-bit code into sub-vocabularies 2010-01-07 20:44:28 +13:00
Slava Pestov c6003305cd math.floats.env: don't load cpu.x86.64 on x86.32 2010-01-07 20:13:42 +13:00
Slava Pestov 1e2c0327ee Add alien-assembly form for inline assembler, works like alien-invoke except calls a user-supplied quotation instead of generating a subroutine call. Replaces FPU status control, SSE detection and read timestamp routines in vm/cpu-x86.*S 2010-01-07 17:39:22 +13:00
Doug Coleman 8003b74abb add MAIN: run-unix-factor to math.primes.factors 2009-12-12 23:39:59 -06:00
Doug Coleman ed17c5a549 better minmax 2009-12-07 17:26:33 -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
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 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 c72a3c452b update math.vectors docs for simd changes 2009-12-04 13:21:18 -08:00
Doug Coleman 69817c0c38 Merge branch 'master' of git://factorcode.org/git/factor 2009-12-02 20:11:08 -06:00
Doug Coleman 9e6261ce7a clean up math.combinatorics and add another combinator 2009-11-27 22:50:06 -06:00
Joe Groff ebcaaa0d64 Merge branch 'master' into simd-cleanup 2009-11-26 16:14:46 -08:00
Joe Groff ea7c5b6d86 fix buggy simd intrinsics 2009-11-26 13:28:40 -08:00
Joe Groff 6757c85189 remove SIMDS: 2009-11-26 11:15:46 -08:00
Joe Groff da394d42c3 "norm" doesn't need to be generic, "norm-sq sqrt" always works 2009-11-26 11:15:35 -08:00
Joe Groff 4f10afa3e9 trick math.vectors.simd into making nicer quotations 2009-11-25 20:24:09 -08:00
Joe Groff 03bae7d316 remove SIMD:s 2009-11-25 20:21:54 -08:00
Joe Groff 84d49c8463 math.vectors.simd.cords vocab that defines vector cords 2009-11-25 18:01:58 -08:00
Joe Groff 148a7a90a1 move cords to sequences.cords 2009-11-24 22:56:42 -08:00
Joe Groff 9792a00e23 remove mentions of 256-bit vectors from math.vectors.simd 2009-11-24 22:26:16 -08:00
Joe Groff bd7183478c fix math.vectors.conversion help-lint 2009-11-24 22:20:43 -08:00
Joe Groff b5f11ec120 update math.vectors.conversion 2009-11-24 20:53:40 -08:00
Doug Coleman e8a064c8b7 revert math.matrices.elimintion until someone fixes it properly 2009-11-24 20:41:59 -06:00
Joe Groff 90cd1b47f7 make math.vectors.simd tests pass again 2009-11-24 18:30:12 -08:00
Joe Groff faf4df9043 scalar fallbacks for simd intrinsics 2009-11-23 21:24:55 -08:00
Slava Pestov 08b6ebc7fa Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Joe Groff fe03ff1a5d typo 2009-11-19 12:17:14 -08:00
Joe Groff 3b17573c7c break simd intrinsics into a separate vocab so they can be intrinsified before the simd methods compile 2009-11-19 11:53:46 -08:00
Joe Groff ca40ddbf56 move methods back into simd functor so the intrinsics can compile 2009-11-19 11:29:15 -08:00
Joe Groff 46fa2fe880 fix effect of set-alien-vector 2009-11-18 22:18:42 -08:00
Joe Groff b54a925d1e enable simd intrinsics and fix first-pass compiler errors 2009-11-18 20:32:05 -08:00