Doug Coleman
8f4983aae4
fix loading of bitmaps when computed size is 0
2009-06-04 15:06:33 -05:00
Doug Coleman
a1f8ab1e6c
use initial values in constructors when approriate
2009-06-04 14:57:10 -05:00
Doug Coleman
c21076562e
constructor foo now creates an initialize-foo word in the initializers vocabualary. <foo> is instantiated with boa constructors now, so constructors handle read-only slots
2009-06-04 10:17:09 -05:00
Doug Coleman
b83f0ec9f4
Merge branch 'master' of git://factorcode.org/git/factor
2009-06-03 21:36:37 -05:00
Doug Coleman
488314ed1a
clean up bitmap code, support a lot more bitmaps like 1/4/16 bit
2009-06-03 21:36:03 -05:00
Doug Coleman
c0833e24de
rename run-length's uncompress word
2009-06-03 21:22:19 -05:00
Doug Coleman
f35bfb6dba
add a word to make a sequence from a byte-array by taking n bits at a time
2009-06-03 21:21:51 -05:00
Doug Coleman
9ba6f1205b
add a <limited-file-reader> word to open a limited stream from a file correctly
2009-06-03 21:21:21 -05:00
Joe Groff
b006ecba23
Merge branch 'master' of git://factorcode.org/git/factor
2009-06-03 11:03:45 -05:00
Joe Groff
d6f4c3ae44
null-world class for interactive OpenGL use
2009-06-03 11:03:34 -05:00
Joe Groff
5e8bdff3a0
typo in opengl.gl
2009-06-03 11:02:41 -05:00
Slava Pestov
f0b132fa7f
Fix 32-bit bootstrap
2009-06-03 03:23:55 -05:00
Slava Pestov
7e5deb9f56
Merge branch 'master' of git://factorcode.org/git/factor
2009-06-03 03:23:04 -05:00
Slava Pestov
fd710385e5
cpu.x86: fix small register intrinsics on x86-64
2009-06-03 03:22:46 -05:00
Slava Pestov
9096acea6f
Linear scan: build live ranges
2009-06-03 03:22:27 -05:00
Doug Coleman
a14ec0db2f
support run-length encoding in bitmaps
2009-06-02 23:29:04 -05:00
Doug Coleman
5e2b0fe401
report unhandled compression modes
2009-06-02 23:20:07 -05:00
Daniel Ehrenberg
d37c72759d
Merge branch 'master' of git://factorcode.org/git/factor
2009-06-02 21:20:36 -05:00
Daniel Ehrenberg
04f1898461
fixing images unit test
2009-06-02 21:17:45 -05:00
Daniel Ehrenberg
a1ca9fd51d
Redoing images.loader to work with jpeg
2009-06-02 20:39:51 -05:00
Slava Pestov
c6326b0177
Merge branch 'master' of git://factorcode.org/git/factor
2009-06-02 18:30:25 -05:00
Slava Pestov
7aca076408
GC checks now save and restore registers
2009-06-02 18:23:47 -05:00
Daniel Ehrenberg
0951e3c065
Merge branch 'master' of git://factorcode.org/git/factor
2009-06-01 22:40:19 -05:00
Daniel Ehrenberg
764cc81abf
unbits word in math.bits vocab
2009-06-01 22:39:02 -05:00
Daniel Ehrenberg
93fcc8358c
Words in images to get and set pixels
2009-06-01 22:37:44 -05:00
Doug Coleman
086bf4c003
fix load error
2009-06-01 09:34:28 -05:00
Slava Pestov
b52bdf60e4
Fix for recent word renaming
2009-06-01 03:19:35 -05:00
Slava Pestov
3de85158de
Merge branch 'master' into global_optimization
2009-06-01 03:12:32 -05:00
Slava Pestov
0654e8fc51
Remove obsolete optimization
2009-06-01 03:05:49 -05:00
Slava Pestov
a07279bf6d
Fix compiler errors
2009-06-01 03:00:10 -05:00
Slava Pestov
fc9e9a0ab1
Code cleanup
2009-06-01 02:32:42 -05:00
Slava Pestov
096803e58f
Redo compiler.codegen.fixup and get %dispatch to work
2009-06-01 02:32:36 -05:00
Slava Pestov
921de6ba3f
math.functions: fix ^ for complex numbers
2009-05-31 23:28:29 -05:00
Slava Pestov
64114947d2
Various improvements aimed at getting local optimization regressions fixed:
...
- Rename _gc to ##gc
- Absolute labels are now supported
- Generate _dispatch-label
2009-05-31 23:28:08 -05:00
Slava Pestov
6ac52761c6
Fix loop handling in stack-analysis
2009-05-31 19:04:26 -05:00
Slava Pestov
0375ce6bb4
Fix scoping issue in compiler.cfg.linear-scan.assignment
2009-05-31 18:21:23 -05:00
Slava Pestov
fd70adf39e
Rename _gc to ##gc
2009-05-31 18:21:11 -05:00
Slava Pestov
1d23dabb09
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-31 15:02:30 -05:00
Slava Pestov
e2b8b04d15
cpu.x86.features: add RDTSC support. This is a new vocabulary with words: sse2? instruction-counter count-instructions
2009-05-31 15:02:14 -05:00
Slava Pestov
57d9d9f961
Split off local-optimization combinator into compiler.cfg.local, factor out CFG -> MR into compiler.cfg.mr, split off GC check insertion into a new compiler.cfg.gc-checks pass
2009-05-31 12:20:46 -05:00
Doug Coleman
6a8e975c5d
fix help for new-threaded-server
2009-05-30 19:24:11 -05:00
Doug Coleman
8b2e7b72db
change threaded-server and managed-server to take an encoding
2009-05-30 19:15:53 -05:00
Slava Pestov
2ea8212968
Start cleaning up stack analysis
2009-05-30 13:22:30 -05:00
Slava Pestov
968a9bb666
Various codegen improvements:
...
- new-insn word to construct instructions
- cache RPO in the CFG
- re-organize low-level optimizer so that MR is built after register allocation
- register allocation now stores instruction numbers in the instructions themselves
- split defs-vregs into defs-vregs and temp-vregs
2009-05-29 13:11:34 -05:00
Slava Pestov
5a5afcbfaa
On second thought, linearization will be done after SSA destruction so live-in is accurate
2009-05-29 05:45:40 -05:00
Slava Pestov
fbefd02bfb
Put GC checks in the right place when linearizing, and generate _dispatch-labels
2009-05-29 05:36:04 -05:00
Slava Pestov
40949800bf
Fixing various bugs; alias analysis wasn't handling ##phi nodes, stack analysis incorrectly handled height-changing back edges and ##fixnum-*, clean up ##dispatch generation
2009-05-29 01:39:14 -05:00
Slava Pestov
cef9ac778b
compiler.cfg.alias-analysis: ##peek needs to set alias class of output value
2009-05-28 18:19:01 -05:00
Slava Pestov
6b81b3e055
compiler.cfg.liveness: correct handling of phi nodes
2009-05-28 17:54:27 -05:00
Slava Pestov
4c05bc4f10
Test updates
2009-05-28 02:50:07 -05:00