Commit Graph

16533 Commits (c9cba1cc00a21853d3ffdd536318446bfe8c7ba5)

Author SHA1 Message Date
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
Joe Groff 46b124c056 require struct-arrays after alien.structs is loaded 2009-08-26 22:24:55 -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
Joe Groff f28b6ccf68 make struct-prototype foldable so that <struct> compiles efficiently 2009-08-26 21:27:12 -05:00
Joe Groff 629e8bc89b add a partial eval for memory>struct so that it compiles efficiently when the struct class is known 2009-08-26 21:18:19 -05:00
Joe Groff d5bc08cdea more inlines on struct-arrays to make the optimizing go down smoother 2009-08-26 19:56:22 -05:00
Joe Groff 8dbd25b6cd fix struct-array of struct class; inline memory>struct so the compiler can optimize a little better 2009-08-26 19:20:20 -05:00
Joe Groff 48c47740c6 trying to memory>struct a non-struct class is feptastic 2009-08-26 19:09:38 -05:00
Joe Groff 5a3ee347aa prettyprint struct-arrays 2009-08-26 18:22:51 -05:00
Joe Groff f9d989b1ae literal syntax for struct-arrays 2009-08-26 18:09:02 -05:00
Joe Groff 3bb895dcdf bitwise equal? for struct objects 2009-08-26 18:05:38 -05:00
Joe Groff 690c6b01bc use struct class in struct-arrays test 2009-08-26 17:38:33 -05:00
Joe Groff e9a0c96563 box elements of struct-arrays when a struct class is used as the element type 2009-08-26 17:19:30 -05:00
Joe Groff 6d65bc593f on OS X, rather than define _XOPEN_SOURCE, use the non-deprecated sys/ucontext.h header instead 2009-08-26 16:44:25 -05:00
Joe Groff a1ffc727b1 add -D_XOPEN_SOURCE flag to suppress ucontext deprecation errors on snow leopard. add -m32 flag when compiling 32-bit because snow leopard gcc defaults to x86_64 2009-08-26 16:29:55 -05:00
Joe Groff 1bab289258 move classes.struct from extra to basis 2009-08-26 15:55:01 -05:00
Joe Groff f9f53b83b0 update gpu.demos.bunny for alien.arrays boxing change 2009-08-26 15:05:07 -05:00
Joe Groff 27164bdbee Merge branch 'master' of git://factorcode.org/git/factor 2009-08-26 14:59:18 -05:00
Joe Groff a49f50c24a core-text: always create at least a 1x1 bitmap context. snow leopard refuses to create 0x0 contexts 2009-08-26 14:58:15 -05:00
Doug Coleman f6e4db899a remove debug, fix bootstrap 2009-08-26 14:45:02 -05:00
Doug Coleman 271438a28d add find-images word 2009-08-26 14:28:06 -05:00
Doug Coleman 913c0fa597 support loading images from streams, add load-http-image 2009-08-26 14:27:01 -05:00
Joe Groff efca30ced7 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-26 14:07:33 -05:00
Doug Coleman c700447192 support seeking on limited streams 2009-08-26 13:48:41 -05:00
Joe Groff ea9aff148f store struct class in struct-array 2009-08-26 13:13:19 -05:00
Doug Coleman c6a59da11e Merge branch 'master' of git://factorcode.org/git/factor 2009-08-26 11:02:58 -05:00
Doug Coleman 546367b88a use structs 2009-08-26 11:01:39 -05:00
Joe Groff c908bd3868 windows.ole32 guid functions don't need to box the byte-arrays themselves anymore 2009-08-26 09:28:10 -05:00
Doug Coleman be57edbff2 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-26 09:15:33 -05:00
Joe Groff 2163982486 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-26 09:14:13 -05:00
Joe Groff 12d55f1332 allow alien.strings:alien>string to take an object with underlying>> slot 2009-08-26 09:13:30 -05:00
Slava Pestov 40b522c9d0 compiler.cfg.linear-scan: fix unit tests for new fake-representations 2009-08-26 08:58:00 -05:00
Slava Pestov 45e34a1435 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-26 07:17:44 -05:00
Slava Pestov 02ec791ab7 compiler: only run float test in low-level-ir if float intrinsics enabled; fixes SIGILL on non-sse2 x86 machines 2009-08-26 06:58:47 -05:00
Joe Groff b6c7f05cae Merge branch 'master' of git://factorcode.org/git/factor 2009-08-25 23:50:38 -05:00
Joe Groff 5d574995e1 fix directory-entries so we can bootstrap again 2009-08-25 23:50:27 -05:00
Slava Pestov 0a3612686a Merge branch 'master' of git://factorcode.org/git/factor 2009-08-25 23:44:29 -05:00
Slava Pestov d5fb53d417 compiler.cfg.debugger: fix fake-representations so that low-level-ir tests can pass on x86 2009-08-25 23:44:01 -05:00
Joe Groff c81012bf92 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-25 23:22:43 -05:00
Slava Pestov 4fe0257169 cpu.x86: use SQRTSD instruction for math.libm:fsqrt word 2009-08-25 23:22:15 -05:00
Slava Pestov 6093ca03f1 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-25 22:37:28 -05:00
Slava Pestov e44b2eb875 cpu.ppc.assembler: LOAD32 assembler macro was busted 2009-08-25 22:37:10 -05:00
Joe Groff 6ce748d863 test array slots in STRUCTs 2009-08-25 21:54:19 -05:00
Joe Groff a56dcd7307 box array c-types into direct-arrays 2009-08-25 21:36:25 -05:00