Commit Graph

16579 Commits (f30aa5d20e35c0e301a0060b48346d5e8f8e64e2)

Author SHA1 Message Date
Slava Pestov f30aa5d20e compiler: add fixnum-min/max intrinsics; ~10% speedup on benchmark.yuv-to-rgb 2009-08-28 19:02:59 -05:00
Joe Groff 25e19a8eb4 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-28 10:40:30 -05:00
Joe Groff 6abaeeb953 add a terrain-generation benchmark so slava will make it fast 2009-08-28 10:40:01 -05:00
Slava Pestov 38e69d3b74 system-info.windows: fix load error 2009-08-28 05:38:29 -05:00
Slava Pestov 32657551fc tools.deprecation: suppress 'computing usage index...' message 2009-08-28 05:32:34 -05:00
Slava Pestov a53653bc00 tools.deprecation: don't bail out if a word's usages are not all words 2009-08-28 05:31:27 -05:00
Slava Pestov b0d5fffd49 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-28 05:22:05 -05:00
Slava Pestov ce02a430ad benchmark.struct-arrays: new benchmark to measure performance of struct-arrays, struct classes, and floating point math 2009-08-28 05:21:54 -05:00
Slava Pestov 99bf9fadfb Performance improvements to make struct-arrays benchmark faster
- improved optimization of ##unbox-any-c-ptr on ##box-displaced-alien; convert it to ##unbox-c-ptr where possible using class info stored in the ##bda instruction
- make fcos, fsin, etc inline again; everything in math.libm inline again, except for fsqrt which is an intrinsic
- convert min and max on floats to float-min and float-max
- make min and max not inline, so that the above can work
- struct-arrays: rice a bit so that more fixnums come up
2009-08-28 05:21:16 -05:00
Joe Groff d155b44d51 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 21:51:15 -05:00
Joe Groff 64b59dcf1e deprecate C-STRUCT:, C-UNION:, and old-school struct accessors 2009-08-27 21:51:08 -05:00
Slava Pestov 418e3ca126 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 21:49:47 -05:00
Slava Pestov 55b5b63b63 alien: move code for supporting CONSTANT: foo 123 { "int" foo } C types into one place instead of the old scattershot approach 2009-08-27 21:49:25 -05:00
Joe Groff 5cd24e5002 support { type dimension } c-type syntax in STRUCT: definitions 2009-08-27 21:39:43 -05:00
Joe Groff 3859579c72 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 21:17:17 -05:00
Joe Groff a74a0151c3 return YES from cocoa app delegate's applicationShouldHandleReopen: method. this allows app-icon-minimized windows on snow leopard to automatically restore when the dock icon is clicked 2009-08-27 21:16:41 -05:00
Doug Coleman 1df4ec0d83 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 20:36:19 -05:00
Doug Coleman 850475c2ab newstructify PIXELFORMAT 2009-08-27 20:35:37 -05:00
Slava Pestov 41f65c45dc Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 20:30:08 -05:00
Slava Pestov 36b04676ae Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 20:30:15 -05:00
Slava Pestov d4986fba10 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 20:29:28 -05:00
Slava Pestov 57bafa6860 tools.deploy: remove malloc debugging better, and don't set next-method word prop for methods that don't call-next-method 2009-08-27 20:29:16 -05:00
Slava Pestov dc951c4ad1 tools.deploy.test: give PowerPC an extra 100kb 2009-08-27 20:27:35 -05:00
Doug Coleman c09b07baa3 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 19:53:46 -05:00
Joe Groff 8e85b5ef96 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 19:23:20 -05:00
Joe Groff ee8c48bbb8 ui.backend.cocoa.views: yield in drawRect: impl so that windows will redraw while being resized on snow leopard 2009-08-27 19:21:38 -05:00
Doug Coleman b4d801ecdd Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 19:06:56 -05:00
Doug Coleman faf1930ad3 add an image-control gadget 2009-08-27 19:06:40 -05:00
Slava Pestov 5f33f7306f compiler.tree.propagation.transforms: don't fail to compile if 'at' called on something that's not an assoc 2009-08-27 18:57:56 -05:00
Doug Coleman 82e5ffa893 fix typo in gensym reported by mnestic 2009-08-27 16:10:00 -05:00
Doug Coleman ad8fe6f132 manually apply alec's patch for bloom filters 2009-08-27 16:03:45 -05:00
Doug Coleman 5221eee11e add initial gif parsing. needs to be run on more gifs, needs lzw decompression 2009-08-27 14:15:34 -05:00
Doug Coleman 6493da39e8 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 12:33:06 -05:00
Joe Groff 88345c97e6 better factor.sh output after git fetch whether script is restarted or not 2009-08-27 12:15:52 -05:00
Joe Groff 3c6f3f362b change factor.sh update to fetch and pull in separate steps so certain platforms that exclusive-lock running scripts won't ruin the repo when factor.sh changes in the future 2009-08-27 12:05:56 -05:00
Doug Coleman 49af91cfd0 spacing 2009-08-27 11:43:19 -05:00
Doug Coleman 37b661560e use constant 2009-08-27 11:24:26 -05:00
Doug Coleman 93b6d1c386 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 07:07:09 -05:00
sheeple 8970cbc961 cpu.ppc: fix ##box-displaced-alien 2009-08-27 04:43:45 -05:00
Slava Pestov c9cba1cc00 compiler.cfg.instructions: forgot that ##box-displaced-alien needs a GC check; fixes segfault in benchmark.mandel 2009-08-27 04:09:35 -05:00
Slava Pestov a9de542550 A few inline declarations 2009-08-27 04:09:12 -05:00
Slava Pestov 881677752f Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 00:06:30 -05:00
Slava Pestov 9caf3f9248 compiler: new inline intrinsic for <displaced-alien> where the inputs have known types; value numbering now eliminates unnecessary allocation of displaced aliens if the result is immediately unboxed again 2009-08-27 00:06:19 -05:00
Joe Groff 5cc1ce3d8a throw a friendlier error when attempting to create a struct without slots 2009-08-26 22:37:59 -05:00
Doug Coleman 6858a1c9db Merge branch 'master' of git://factorcode.org/git/factor 2009-08-26 22:26:29 -05:00
Joe Groff 46b124c056 require struct-arrays after alien.structs is loaded 2009-08-26 22:24:55 -05:00
Doug Coleman 873d3253ee remove duplicate usings 2009-08-26 22:23:03 -05:00
Joe Groff a9683e80c4 test that array slots in structs optimize down 2009-08-26 21:50:12 -05:00
Joe Groff aeee614215 inline sequence methods on direct-arrays 2009-08-26 21:49:45 -05:00
Joe Groff 1ec0d1290a test that struct-arrays and struct construction optimize down 2009-08-26 21:38:00 -05:00