Commit Graph

18161 Commits (c45e969a85b4e202e2cee4e6793077a8fc9c03ac)

Author SHA1 Message Date
Doug Coleman bbf2e7ee13 dont scale 8,16 bit greyscale pngs. greyscale-alpha pngs are 8,16 bit already, so don't scale them either. 2009-10-08 19:37:14 -05:00
Doug Coleman 8a3f8afbb4 load greyscale png images, refactor some code 2009-10-08 18:18:33 -05:00
Doug Coleman 49f0144b75 make pngs read scanlines in terms of bits instead of bytes 2009-10-08 16:58:24 -05:00
Doug Coleman aa494766e4 add a couple of combinators to mmap that take a c-type to reduce conceptual overhead and boilerplate, more docs 2009-10-08 16:07:36 -05:00
Daniel Ehrenberg 373f4420e9 Another identity in value numbering for bitfields 2009-10-08 15:20:42 -05:00
Joe Groff d6eddaa8bf add a set-firstn generalization 2009-10-08 14:42:59 -05:00
Daniel Ehrenberg c76ab44567 Merge branch 'master' of git://factorcode.org/git/factor into bitfields 2009-10-08 14:19:20 -05:00
Daniel Ehrenberg df4d48ffcc Cleaning up classes.struct.bit-accessors code 2009-10-08 14:01:43 -05:00
Daniel Ehrenberg d1eb1968a6 Refactoring bitfield accessors to eliminate code duplication 2009-10-08 13:45:52 -05:00
Daniel Ehrenberg 52bf4738c8 Making struct bitfield writers fast 2009-10-08 13:10:51 -05:00
Joe Groff 24c2a7fa8f refactor so that generalizations reuses the stub versions of nsequence, firstn, and n*quot needed by memoize 2009-10-08 12:55:52 -05:00
Joe Groff d964d3c280 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-08 12:39:02 -05:00
Doug Coleman 802b931236 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-08 12:30:54 -05:00
Doug Coleman 8dece72eae fix using 2009-10-08 12:30:43 -05:00
Joe Groff cf21c0e01f shatter the four-argument barrier in memoize 2009-10-08 12:24:15 -05:00
Joe Groff f79d650c82 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-08 11:37:12 -05:00
Joe Groff ac10ccd293 refactor math.vectors.conversion 2009-10-08 11:35:40 -05:00
Joe Groff 3a399da6c2 add an "nspin" generalization 2009-10-08 11:34:20 -05:00
Doug Coleman 18b110b379 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-08 05:03:53 -05:00
Doug Coleman eaca564456 fix using 2009-10-08 05:03:40 -05:00
Slava Pestov 5f0d4abb4a cpu.architecture: move dummy -reps words here, from cpu.ppc 2009-10-08 03:48:03 -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
Daniel Ehrenberg ab919bab96 Doing constant folding on ##neg and ##not in value numbering 2009-10-08 01:57:54 -05:00
Doug Coleman 4c366ea676 move game-* to game.* and update all usages 2009-10-08 01:42:54 -05:00
Daniel Ehrenberg 316895e6bf Adding identity to propagation to remove some redundant bitands 2009-10-08 00:59:15 -05:00
Slava Pestov 22244414f3 vm: add code block marking to full_collector.cpp 2009-10-08 00:23:29 -05:00
Daniel Ehrenberg 64e9bc7d9c Making struct bitfield readers fast 2009-10-07 23:51:18 -05:00
Slava Pestov 427676f60e vm/os-netbsd.cpp: fix double-free error 2009-10-07 21:49:04 -05:00
Daniel Ehrenberg f2430d8043 Merge branch 'master' of git://factorcode.org/git/factor into bitfields 2009-10-07 21:42:37 -05:00
Daniel Ehrenberg ddb6319391 Modifying the struct prettyprinter to display bits 2009-10-07 21:42:15 -05:00
Doug Coleman 61bf0a1f9c revert loading sfmt by default 2009-10-07 21:41:12 -05:00
Daniel Ehrenberg 6b8233e350 Refactoring bitfields to not use number tower 2009-10-07 21:35: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
Joe Groff f9d22d0fab delete malloc-file-contents 'cause it sucks and nobody likes it 2009-10-07 19:30:06 -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