Commit Graph

17945 Commits (fcc53d174cfb62b32a2f2304f74d0bff76b5a85f)

Author SHA1 Message Date
Doug Coleman fcc53d174c move game-* to game.* and update all usages 2009-10-08 01:42:54 -05:00
Doug Coleman 21c9da7c5f revert loading sfmt by default 2009-10-07 21:41:12 -05:00
Doug Coleman 429dd933c7 fix using 2009-10-07 21:07:56 -05:00
Doug Coleman 535fb5d45b add a lagged-fibonacci generator to extra/random 2009-10-07 21:06:44 -05:00
Doug Coleman 83bc4907d4 load random.sfmt by default, and use it as default random-generator if sse2 is present 2009-10-07 21:05:51 -05:00
Doug Coleman e758d4061a Merge branch 'master' of git://factorcode.org/git/factor 2009-10-07 20:53:04 -05:00
Doug Coleman 8ad1bab8ad fix seed-random for cmwc 2009-10-07 20:25:00 -05:00
Doug Coleman 357bd0b3ec fix seed-random for cmwc 2009-10-07 20:21:09 -05:00
Doug Coleman 0fd2027900 add cmwc rng to extra 2009-10-07 20:06:39 -05:00
Doug Coleman 3ff8db48f6 speed up mt benchmarks considerably by doing less iterations 2009-10-07 18:48:23 -05:00
Doug Coleman 3d2237c2b8 inline a word in sfmt 2009-10-07 15:27:40 -05:00
Doug Coleman 11be7d9ff6 add benchmark.mt for comparison to sfmt 2009-10-07 15:27:10 -05:00
Joe Groff dd691a61e8 break vector compare intrinsics into %compare, %or, and %not instructions that map directly to cpu instructions 2009-10-07 15:27:03 -05:00
Doug Coleman fbdfbe2fa4 correctly correct the SFMT period 2009-10-07 15:06:59 -05:00
Joe Groff f2c9eb79e2 decompose %unpack-vector-head/tail into %compare-vector/%merge-vector-head/tail or %tail>head-vector/%unpack-vector-head insns when there isn't an actual unpack insn; get rid of fake x86 implementations 2009-10-07 14:09:46 -05:00
Doug Coleman 211eff745a correct the output of random.sfmt 2009-10-07 13:42:37 -05:00
Joe Groff fd6f370119 typo in convert-to-fill-vector? 2009-10-07 12:53:10 -05:00
Doug Coleman 901f87e752 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-07 12:47:44 -05:00
Joe Groff 47cfb7d3a5 fix ##load-constant/##scalar>vector folding when constant is a fixnum 2009-10-07 12:46:08 -05:00
Joe Groff ea051063a4 convert all-ones vector ##load-reference/##load-constant to a ##fill-vector insn 2009-10-07 12:35:21 -05:00
Doug Coleman 59c1f3f73e Merge branch 'master' of git://factorcode.org/git/factor 2009-10-07 12:33:44 -05:00
Joe Groff 4d5f727a63 sse doesn't actually have an unsigned->unsigned pack instruction 2009-10-07 12:00:31 -05:00
Joe Groff 34def34481 don't generate a ##not-vector instruction if the cpu doesn't have one; instead, fall back to a ##fill-vector/##xor-vector combo. get rid of pretend %not-vector in cpu.x86 2009-10-07 11:59:36 -05:00
Joe Groff 8873b7939a fix math.vectors.simd test load failure 2009-10-07 11:56:57 -05:00
Doug Coleman bfb2493d68 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-07 11:52:34 -05:00
Joe Groff 4d4da7ac23 break vector conversion intrinsics off to a math.vectors.conversion.backend vocab so the whole conversion vocab doesn't get sucked in by the compiler 2009-10-06 21:28:33 -05:00
Joe Groff 879fe9a665 fix x86 %unpack-vector insns 2009-10-06 20:38:51 -05:00
Doug Coleman 109f8cf043 use iota in crypto.xor 2009-10-06 20:29:43 -05:00
Doug Coleman 535fed0035 add a test for compression.inflate 2009-10-06 20:28:43 -05:00
Doug Coleman 091d22a437 cleaning up huffman and inflate code 2009-10-06 20:22:53 -05:00
Joe Groff a319dde8b5 add some math.vectors.conversion tests to cover some failing cases 2009-10-06 20:21:08 -05:00
Joe Groff 785f8620fd glue conversion intrinsics to instructions 2009-10-06 20:13:38 -05:00
Joe Groff da4cf61014 oops...PACKUSDW is sse4 only 2009-10-06 20:09:50 -05:00
Joe Groff 4456b1f3f9 assert that vconvert's inputs are of the right type 2009-10-06 17:42:36 -05:00
Joe Groff f0c161f725 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-06 16:53:25 -05:00
Joe Groff 166ea6bc10 math.vectors.conversion vocab with primitive words (to be mapped to intrinsics soon) and a super all-in-one "vconvert" macro wrapping the whole thing 2009-10-06 14:37:16 -05:00
Joe Groff 882f40d88e %float>integer-vector should truncate 2009-10-06 13:57:54 -05:00
Joe Groff f7820f9b51 give cords a shot of red bull 2009-10-06 11:53:24 -05:00
Slava Pestov 884ac79423 vm: minor tweaks which reduce image size by ~300kb 2009-10-06 01:31:39 -05:00
Doug Coleman 8dff4776c6 handle ushort-component pngs, throw errors on adam7 interlaced pngs for now 2009-10-06 00:33:29 -05:00
Doug Coleman 7c01c09f21 reformatting compression.inflate code 2009-10-05 23:19:42 -05:00
Doug Coleman a182b1835b minor cleanup of compression.inflate 2009-10-05 22:34:43 -05:00
Joe Groff fb8eeb6065 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-05 22:34:41 -05:00
Joe Groff 529c444e32 add insns for vector pack, unpack, integer>float, and float>integer 2009-10-05 22:34:14 -05:00
Doug Coleman b350345f69 Merge branch 'a7a39d3766624227966bca34f0778030592d82c2' of git://github.com/prunedtree/factor into prunedtree 2009-10-05 22:27:43 -05:00
prunedtree 3ee07c92d1 static inflate 2009-10-05 20:12:59 -07:00
Doug Coleman b56880bfd7 fix a bug in bit-count that assumed 32bit fixnums, make bit-count work on byte-arrays, SIMD types, specialized-arrays, and aliens 2009-10-05 18:55:26 -05:00
Doug Coleman f800285327 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-05 18:34:58 -05:00
Doug Coleman 3460383cda fix indentation, revert [ ] [ ] bi -> [ ] keep when second quotation consumes more than one object 2009-10-05 18:33:24 -05:00
Slava Pestov 36c1fcdbe8 Merge branch 'for-slava' of git://git.rfc1149.net/factor 2009-10-05 18:29:31 -05:00