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
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
Slava Pestov
f1c971e3df
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 20:30:15 -05:00
Slava Pestov
37403b28a9
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 20:29:28 -05:00
Slava Pestov
f1b4d94f2f
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
0d70d07cf1
tools.deploy.test: give PowerPC an extra 100kb
2009-08-27 20:27:35 -05:00
Doug Coleman
ee418a75d9
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 19:53:46 -05:00
Joe Groff
367f024a1b
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 19:23:20 -05:00
Joe Groff
7771c55cb5
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
6760d44468
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 19:06:56 -05:00
Doug Coleman
02fe28ce82
add an image-control gadget
2009-08-27 19:06:40 -05:00
Slava Pestov
ba0f3a9911
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
e40ac73085
fix typo in gensym reported by mnestic
2009-08-27 16:10:00 -05:00
Doug Coleman
9777de8c35
manually apply alec's patch for bloom filters
2009-08-27 16:03:45 -05:00
Doug Coleman
7cc86bd0ab
add initial gif parsing. needs to be run on more gifs, needs lzw decompression
2009-08-27 14:15:34 -05:00
Doug Coleman
331bbb224b
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 12:33:06 -05:00
Joe Groff
54772c9de1
better factor.sh output after git fetch whether script is restarted or not
2009-08-27 12:15:52 -05:00
Joe Groff
a76751fec2
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
d4497c81ef
spacing
2009-08-27 11:43:19 -05:00
Doug Coleman
a17250bd1b
use constant
2009-08-27 11:24:26 -05:00
Doug Coleman
b36d2be416
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 07:07:09 -05:00
sheeple
98f93f799b
cpu.ppc: fix ##box-displaced-alien
2009-08-27 04:43:45 -05:00
Slava Pestov
8f19f14c1f
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
f808f43ffb
A few inline declarations
2009-08-27 04:09:12 -05:00
Slava Pestov
1f58ca9e2a
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 00:06:30 -05:00
Slava Pestov
f662e6403a
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
69e640c55b
throw a friendlier error when attempting to create a struct without slots
2009-08-26 22:37:59 -05:00
Doug Coleman
cb6bfc0580
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-26 22:26:29 -05:00
Joe Groff
53b7729f76
require struct-arrays after alien.structs is loaded
2009-08-26 22:24:55 -05:00
Doug Coleman
9a876a5255
remove duplicate usings
2009-08-26 22:23:03 -05:00
Joe Groff
64990eb23d
test that array slots in structs optimize down
2009-08-26 21:50:12 -05:00
Joe Groff
08867f3576
inline sequence methods on direct-arrays
2009-08-26 21:49:45 -05:00
Joe Groff
ecd0bdbd58
test that struct-arrays and struct construction optimize down
2009-08-26 21:38:00 -05:00
Joe Groff
4bf4cacc4b
make struct-prototype foldable so that <struct> compiles efficiently
2009-08-26 21:27:12 -05:00
Joe Groff
4b56fa8009
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
5376263984
more inlines on struct-arrays to make the optimizing go down smoother
2009-08-26 19:56:22 -05:00
Joe Groff
ad463795aa
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
9eb4ce2791
trying to memory>struct a non-struct class is feptastic
2009-08-26 19:09:38 -05:00
Joe Groff
49d123aa84
prettyprint struct-arrays
2009-08-26 18:22:51 -05:00
Joe Groff
2d66dc9f29
literal syntax for struct-arrays
2009-08-26 18:09:02 -05:00
Joe Groff
f4c90fdabe
bitwise equal? for struct objects
2009-08-26 18:05:38 -05:00
Joe Groff
469e4b526f
use struct class in struct-arrays test
2009-08-26 17:38:33 -05:00