Slava Pestov
7590ad3574
compiler.cfg: introduce less temporaries when building CFG
2009-07-24 03:37:18 -05:00
Jeremy Hughes
c458904fd7
alien.marshall: docs lint fix
2009-07-24 18:24:46 +12:00
Jeremy Hughes
abf1ae4702
alien.inline: define-c-library: set "c-library"
2009-07-24 18:24:27 +12:00
Jeremy Hughes
13cf80c0c7
alien.inline.syntax: changed RAW-C: to <RAW-C
2009-07-24 15:43:44 +12:00
Slava Pestov
548e575ad9
Merge branch 'master' into dcn
2009-07-23 21:25:52 -05:00
Slava Pestov
3c7bd34a15
Merge branch 'cxx' of git://github.com/jedahu/factor
2009-07-23 21:25:20 -05:00
Slava Pestov
2bea107202
compiler.cfg.builder: fix stack effect declaration
2009-07-23 21:24:15 -05:00
Slava Pestov
d947c61bd7
compiler.cfg.stacks: now performs online local DCN
2009-07-23 20:54:38 -05:00
Doug Coleman
f7b2e4a155
remove call to check-c-name
2009-07-23 18:14:07 -05:00
Doug Coleman
9bb38b870c
allow FUNCTION: to parse pointers in the name field
2009-07-23 18:05:09 -05:00
Slava Pestov
ff7f0e2f3b
Add testcase for recent bug
2009-07-23 18:03:14 -05:00
Slava Pestov
b1afd4c491
compiler.cfg.linear-scan.mapping: simplify
2009-07-23 18:03:04 -05:00
Slava Pestov
747a2d72c8
compiler.cfg.empty-blocks: new pass to delete empty blocks, runs after phi elimination
2009-07-23 18:02:46 -05:00
Slava Pestov
93c58a8bb5
compiler.cfg.branch-splitting: now that we do SSA construction we can split branches with fixnum overflow ops (which have a live-out)
2009-07-23 18:02:29 -05:00
Doug Coleman
555309ba86
fix another typo in ffi
2009-07-23 17:49:04 -05:00
Doug Coleman
37a9f01adc
fix typo in x11 binding
2009-07-23 17:39:12 -05:00
Doug Coleman
9e7bfc202b
remove experimental constructors features
2009-07-23 15:59:55 -05:00
Doug Coleman
15b609b15c
Merge branch 'master' of git://factorcode.org/git/factor
2009-07-23 15:55:54 -05:00
Doug Coleman
78bbf96a6d
move signed-le> to io.binary, clean up using list for math.bitwise
2009-07-23 15:54:57 -05:00
Doug Coleman
bad8e05937
Disallow C functions and parameter names that contain an asterisk
2009-07-23 15:48:10 -05:00
Joe Groff
3759cd7efc
update gpu.util.wasd to match uniform tuple changes
2009-07-23 14:58:45 -05:00
Joe Groff
739d99d4e8
Merge branch 'master' of git://factorcode.org/git/factor
2009-07-23 13:39:52 -05:00
Joe Groff
733c208f8c
doc updates for uniform-tuple changes
2009-07-23 13:39:28 -05:00
Joe Groff
2a194ea780
bind textures out of uniform structs and arrays
2009-07-23 13:01:21 -05:00
Joe Groff
bba46d2b30
improve uniform-tuple interface in gpu.render. uniform-tuples can now contain other uniform-tuples to represent struct uniforms. use glUniform*v to blast uniform arrays in one shot. s/-/_/ in slot names so they look more factorish on the CPU side
2009-07-22 22:32:02 -05:00
Slava Pestov
7f87335afe
Merge branch 'master' into dcn
2009-07-22 21:12:14 -05:00
Slava Pestov
dd2bbc51b3
unix.types: define <time_t> alias; use it in calendar.unix to avoid clobbering data
2009-07-22 21:12:04 -05:00
Slava Pestov
610c3b33c7
compiler.cfg.intrinsics: Disable inline allocation for now
2009-07-22 21:11:06 -05:00
Slava Pestov
69ded76c66
Fixing compiler tests
2009-07-22 21:10:50 -05:00
Slava Pestov
45c66b58af
compiler.cfg.dcn.rewrite: remove unused word
2009-07-22 19:18:12 -05:00
Slava Pestov
5559d77d05
compiler.cfg.checker: eliminate dead code before checking MR
2009-07-22 19:17:57 -05:00
Slava Pestov
d29c275089
compiler.cfg.builder: Fix construction of ##return instructions from #return-recursive nodes
2009-07-22 19:17:21 -05:00
Joe Groff
3bbc9835fc
add a new "make-tuple" combinator for cleaving values into tuple slots by name. make render-set read-only and update gpu demos to use make-tuple
2009-07-22 12:43:44 -05:00
Joe Groff
ac2c65e920
OR gl extension testing
2009-07-22 12:06:30 -05:00
Sam Anklesaria
3adec5c396
separated run-desc from launcher
2009-07-22 10:28:27 -05:00
Sam Anklesaria
cc38d1ada6
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/functors/functors.factor
basis/io/launcher/launcher.factor
basis/ui/gadgets/tables/tables.factor
2009-07-22 10:02:09 -05:00
Sam Anklesaria
58d8aacb74
generalized image buttons
2009-07-22 09:46:52 -05:00
Slava Pestov
091d2d07f2
Merge branch 'master' into dcn
2009-07-22 06:19:44 -05:00
Slava Pestov
995a96d7e4
compiler.cfg.dominance: fix unit tests
2009-07-22 06:19:31 -05:00
Slava Pestov
26a5d51d93
compiler.cfg.ssa: now builds pruned SSA form
2009-07-22 06:08:04 -05:00
Slava Pestov
d864214119
compiler.cfg.dominance: add algorithm for computing iterated dominance frontiers
2009-07-22 06:07:51 -05:00
Slava Pestov
89db2e745d
Move liveness back to compiler.cfg.liveness, fix a corner-case where it didn't work on some forms of non-SSA code
2009-07-22 06:07:28 -05:00
Slava Pestov
31491df5f1
Removed unused code from compiler.cfg.def-use
2009-07-22 06:05:33 -05:00
Slava Pestov
44bcd258f6
Insert _loop-entry in linearization pass instead of in CFG builder, so that optimizations don't have to worry about it
2009-07-22 06:05:17 -05:00
Slava Pestov
1e5ce41364
Fix bootstrap
2009-07-22 03:26:27 -05:00
Slava Pestov
25c42d04fd
compiler.cfg: Fix conflicts after merging local optimization refactoring into DCN branch
2009-07-22 03:17:53 -05:00
Slava Pestov
21a012e3d7
compiler.cfg: Major restructuring -- do not compute liveness before local optimization, and instead change local optimizations to be more permissive of undefined values. Now, liveness is only computed once, after phi elimination and before register allocation. This means liveness analysis does not need to take phi nodes into account and can now use the new compiler.cfg.dataflow-analysis framework
2009-07-22 03:08:28 -05:00
Jeremy Hughes
2c40a6667c
Merge branch 'master' into marshall
...
* master: (96 commits)
compiler.cfg.dataflow-analysis: iterative dataflow analysis framework
functors: add MIXIN:, SINGLETON:
Add assoc-refine, which takes the intersection of a sequence of assocs
compiler.cfg: Fix unit tests
compiler.cfg.registers: minor optimization
compiler.cfg.ssa: Cytron's SSA construction algorithm
compiler.cfg.dominance: fix idom computation, compute dominator tree, compute dominance frontiers, add some tests
Move conjoin-at from compiler.cfg.liveness to sets
sequences.abbrev: add docs - not much, but a start
sequences.abbrev: keep insertion order
sequences.abbrev: more small refactoring
sequences.abbrev: small refactoring
sequences.abbrev: Initial commit
opengl is for chumps
alien.inline.compiler: help-lint fix
parser: remove outdated unit tests that were superseded by tests in vocabs.parser
vocabs.parser: add tests to assert that the correct errors get thrown
ui.tools.listener: selecting a word from a completion popup now behaves like a USE: followed by a FROM:
FROM: and RENAME: give a more meaningful error if the vocabulary does not exist
compiler.cfg.stack-analysis: fix outdated tests
...
2009-07-22 19:45:48 +12:00
Jeremy Hughes
f261752dd1
alien.inline.types: a trifling matter
2009-07-22 19:30:55 +12:00
Jeremy Hughes
7ad0924df2
alien.cxx: methods and virtual methods
2009-07-22 19:25:13 +12:00