Commit Graph

17972 Commits (634d3eee86f954e7fbda50ac92eab1a7712cc735)

Author SHA1 Message Date
Slava Pestov 634d3eee86 vm: simplify card marking logic, and unmark more cards during aging collections by checking if they actually contained young pointers or not 2009-10-09 01:37:45 -05:00
Slava Pestov a77af6a11c Fix problem if last card is marked 2009-10-08 23:58:20 -05:00
Slava Pestov 220f7d0d0c vm: cleanup 2009-10-08 23:39:54 -05:00
Slava Pestov b2cae0b6d8 vm: more efficient code heap remembered set 2009-10-08 23:10:32 -05:00
Slava Pestov ae707c6976 Merge branch 'master' into new_gc 2009-10-08 02:29:24 -05:00
Slava Pestov bf8b656276 vm: rename data_gc.cpp to gc.cpp 2009-10-08 02:11:29 -05:00
Slava Pestov 6582cba945 vm: split off parts of data_gc into sub-files and clean up logic 2009-10-08 02:10:28 -05:00
Doug Coleman 4c366ea676 move game-* to game.* and update all usages 2009-10-08 01:42:54 -05:00
Slava Pestov 22244414f3 vm: add code block marking to full_collector.cpp 2009-10-08 00:23:29 -05:00
Doug Coleman 61bf0a1f9c revert loading sfmt by default 2009-10-07 21:41:12 -05:00
Doug Coleman 70590d90ea fix using 2009-10-07 21:07:56 -05:00
Doug Coleman 81a390579a add a lagged-fibonacci generator to extra/random 2009-10-07 21:06:44 -05:00
Doug Coleman 46c72d801e 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 db780c0848 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-07 20:53:04 -05:00
Doug Coleman bafa51dca8 fix seed-random for cmwc 2009-10-07 20:25:00 -05:00
Doug Coleman 2d8c1c34c0 fix seed-random for cmwc 2009-10-07 20:21:09 -05:00
Doug Coleman 281bc744a5 add cmwc rng to extra 2009-10-07 20:06:39 -05:00
Doug Coleman 768d68ce3a speed up mt benchmarks considerably by doing less iterations 2009-10-07 18:48:23 -05:00
Slava Pestov 83de156992 vm: working on new object-oriented garbage collector 2009-10-07 15:48:09 -05:00
Doug Coleman 18c8ae3705 inline a word in sfmt 2009-10-07 15:27:40 -05:00
Doug Coleman d77f87c458 add benchmark.mt for comparison to sfmt 2009-10-07 15:27:10 -05:00
Joe Groff 98836a9e2e 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 c1ce3afb4f correctly correct the SFMT period 2009-10-07 15:06:59 -05:00
Joe Groff 43b51ef2eb 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
Slava Pestov b9f386c693 vm: make a new old_space type to encapsulate a few things, split up generations array somewhat 2009-10-07 14:05:09 -05:00
Doug Coleman bc9742e1aa correct the output of random.sfmt 2009-10-07 13:42:37 -05:00
Joe Groff 0dfeb74176 typo in convert-to-fill-vector? 2009-10-07 12:53:10 -05:00
Doug Coleman cc52544ef8 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-07 12:47:44 -05:00
Joe Groff 2d79729193 fix ##load-constant/##scalar>vector folding when constant is a fixnum 2009-10-07 12:46:08 -05:00
Joe Groff aee85401af convert all-ones vector ##load-reference/##load-constant to a ##fill-vector insn 2009-10-07 12:35:21 -05:00
Doug Coleman 99458eb4fe Merge branch 'master' of git://factorcode.org/git/factor 2009-10-07 12:33:44 -05:00
Joe Groff 5152c3b06d sse doesn't actually have an unsigned->unsigned pack instruction 2009-10-07 12:00:31 -05:00
Slava Pestov bc691eb198 vm: replace generations array with individual instance variables referencing zone objects 2009-10-07 11:59:59 -05:00
Joe Groff a13e75f4f4 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 867cc3e310 fix math.vectors.simd test load failure 2009-10-07 11:56:57 -05:00
Doug Coleman f10f7e4815 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-07 11:52:34 -05:00
Slava Pestov 2c527982fe vm: rename a few things 2009-10-07 08:40:28 -05:00
Slava Pestov 8ffd538d27 vm: more code cleanups 2009-10-07 08:33:54 -05:00
Joe Groff 9500976d29 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
Slava Pestov eaf1afb156 vm: more refactoring 2009-10-06 20:45:47 -05:00
Joe Groff 444624e79f fix x86 %unpack-vector insns 2009-10-06 20:38:51 -05:00
Doug Coleman f050215cbd use iota in crypto.xor 2009-10-06 20:29:43 -05:00
Doug Coleman a69f142534 add a test for compression.inflate 2009-10-06 20:28:43 -05:00
Doug Coleman 28229597ae cleaning up huffman and inflate code 2009-10-06 20:22:53 -05:00
Joe Groff 9c823b877b add some math.vectors.conversion tests to cover some failing cases 2009-10-06 20:21:08 -05:00
Joe Groff 96cb1d5038 glue conversion intrinsics to instructions 2009-10-06 20:13:38 -05:00
Joe Groff 2edccca0bb oops...PACKUSDW is sse4 only 2009-10-06 20:09:50 -05:00
Slava Pestov 40fd28e0a3 vm: refactor forwarding pointer logic 2009-10-06 19:15:54 -05:00
Joe Groff f103018580 assert that vconvert's inputs are of the right type 2009-10-06 17:42:36 -05:00
Joe Groff 58af97c05c Merge branch 'master' of git://factorcode.org/git/factor 2009-10-06 16:53:25 -05:00