Commit Graph

16616 Commits (0db01f6d5f27e01eb2d6b03b588ed1c65016473a)

Author SHA1 Message Date
Slava Pestov 0db01f6d5f compiler.cfg.linear-scan now supports partial sync-points where all registers are spilled; taking advantage of this, there are new trigonometric intrinsics which yield a 2x performance boost on benchmark.struct-arrays and a 25% boost on benchmark.partial-sums 2009-08-30 04:52:01 -05:00
Marc Fauconneau 2d4ba8de4d Merge branch 'master' of git://factorcode.org/git/factor 2009-08-30 17:31:30 +09:00
Marc Fauconneau 5a20dee2aa Better error images for non-baseline JPEGs.
bugfix: Handles more than one table per DHT chunk.
2009-08-30 17:29:40 +09:00
Marc Fauconneau bf15648b4d Merge branch 'master' of git@github.com:prunedtree/factor
Conflicts:
	basis/math/matrices/matrices.factor
2009-08-30 17:24:25 +09:00
Joe Groff be406fa964 fix alien.complex unboxer 2009-08-29 23:18:31 -05:00
Joe Groff 762a8c32cb Merge branch 'master' of git://factorcode.org/git/factor 2009-08-29 22:59:24 -05:00
Joe Groff 32f014a030 privatize classes.struct's shameful bits 2009-08-29 22:59:13 -05:00
Joe Groff 20aa00f8df implement clone on struct classes to copy the struct contents 2009-08-29 22:54:56 -05:00
Joe Groff 4d8ed23db5 add non-initializing (malloc-array) and (malloc-object) for kicks 2009-08-29 22:42:48 -05:00
Joe Groff 3e51bde484 change malloc-struct to initialize struct from initial values; add (malloc-struct) and (struct) words that leave their memory uninitialized 2009-08-29 22:40:13 -05:00
Slava Pestov 11b2a409c3 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-29 22:11:20 -05:00
Slava Pestov f732cce9f2 Merge branch 'for-slava' of git://git.rfc1149.net/factor 2009-08-29 22:10:48 -05:00
Slava Pestov dca528eaef benchmark.terrain-generation: fix type error 2009-08-29 22:09:51 -05:00
Slava Pestov 9d61c162e2 benchmark.struct-arrays: doesn't actually need HINTS: 2009-08-29 21:23:35 -05:00
Joe Groff 7276fe44d7 refactor functors so that new functor syntax words can be added outside of functors vocab, and move STRUCT: functor syntax to classes.struct to break a circular dependency 2009-08-29 21:04:19 -05:00
Joe Groff db7eb4e27a change alien.complex to use struct classes 2009-08-29 20:20:25 -05:00
Joe Groff 2e3f75fd87 fix STRUCT: functor when a slot name is the same as a non-lexical word name 2009-08-29 20:19:47 -05:00
Joe Groff 309b11213c correct some classes.struct docs 2009-08-29 19:58:07 -05:00
Joe Groff 4cc2330a2a add STRUCT: support to functors 2009-08-29 19:56:42 -05:00
Joe Groff 51405868d1 ignore deprecations in words that are themselves deprecated 2009-08-29 17:41:21 -05:00
Joe Groff 77bf009b6e Merge branch 'master' of git://factorcode.org/git/factor 2009-08-29 17:17:44 -05:00
Joe Groff 4e7bada863 use calloc in malloc-struct for consistency with malloc-object and malloc-array 2009-08-29 17:17:25 -05:00
Joe Groff a71f242578 change malloc-object back to using calloc 2009-08-29 15:28:31 -05:00
Samuel Tardieu e5897d52b2 Ensure that random-prime result has the right size
As noted by Slava, choosing the next prime following a random number
with a specified number of bits may give a number one more bit long.
2009-08-29 21:42:15 +02:00
Joe Groff 0e8fe01d11 change malloc-object and <c-object> not to be in terms of malloc-array and <c-array> 2009-08-29 12:45:59 -05:00
Joe Groff 64baa58a3d typo in alien.c-types docs 2009-08-29 12:23:09 -05:00
Joe Groff 2eff554273 update cocoa and core-foundation stuff to use classes.struct and boxed malloc-arrays 2009-08-29 12:22:55 -05:00
Joe Groff 8a9d0e13bb deprecate <c-array>, and make malloc-array box its returned buffer in a direct array 2009-08-29 11:15:23 -05:00
Joe Groff d26735c98f mark integer sequence methods as deprecated 2009-08-29 10:29:41 -05:00
Samuel Tardieu b7c50e6159 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-29 16:23:13 +02:00
Slava Pestov 908b4742c5 compiler.cfg.value-numbering: fix ##box-displaced-alien simplification 2009-08-28 19:05:49 -05:00
Slava Pestov 2bb6293217 compiler: add fixnum-min/max intrinsics; ~10% speedup on benchmark.yuv-to-rgb 2009-08-28 19:02:59 -05:00
Joe Groff 4197891499 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-28 10:40:30 -05:00
Joe Groff c6c22a4d5d add a terrain-generation benchmark so slava will make it fast 2009-08-28 10:40:01 -05:00
Slava Pestov ff4213003b system-info.windows: fix load error 2009-08-28 05:38:29 -05:00
Slava Pestov 790e7ec0bc tools.deprecation: suppress 'computing usage index...' message 2009-08-28 05:32:34 -05:00
Slava Pestov a96743d375 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 282d6e9acc Merge branch 'master' of git://factorcode.org/git/factor 2009-08-28 05:22:05 -05:00
Slava Pestov 624f636533 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 d957ae4e44 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 b8978446d9 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 21:51:15 -05:00
Joe Groff e85925153c deprecate C-STRUCT:, C-UNION:, and old-school struct accessors 2009-08-27 21:51:08 -05:00
Slava Pestov e2ebc2ac76 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 21:49:47 -05:00
Slava Pestov 7cf4e608e5 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 80a5bf7138 support { type dimension } c-type syntax in STRUCT: definitions 2009-08-27 21:39:43 -05:00
Joe Groff c3002ed0f0 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 21:17:17 -05:00
Joe Groff eb4081c696 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 7e6f6e6a44 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 20:36:19 -05:00
Doug Coleman 469e7e8d67 newstructify PIXELFORMAT 2009-08-27 20:35:37 -05:00
Slava Pestov 3f493bce1a Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 20:30:08 -05:00