]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 years agoMerge branch 'xml-fix' of git://tiodante.com/git/factor
Slava Pestov [Thu, 30 Jul 2009 00:27:13 +0000 (19:27 -0500)]
Merge branch 'xml-fix' of git://tiodante.com/git/factor

14 years agoMerge branch 'emacs' of http://git.hacks-galore.org/jao/factor
Slava Pestov [Wed, 29 Jul 2009 23:18:11 +0000 (18:18 -0500)]
Merge branch 'emacs' of http://git.hacks-galore.org/jao/factor

14 years agocompiler.cfg.linear-scan: more test fixes
Slava Pestov [Wed, 29 Jul 2009 12:04:52 +0000 (07:04 -0500)]
compiler.cfg.linear-scan: more test fixes

14 years agocompiler.cfg: remove 'regs' slot from instruction tuples now that register allocation...
Slava Pestov [Wed, 29 Jul 2009 11:50:46 +0000 (06:50 -0500)]
compiler.cfg: remove 'regs' slot from instruction tuples now that register allocation doesn't use it anymore

14 years agocompiler.cfg.linear-scan.resolve: fix unit tests to not depend on hashing
Slava Pestov [Wed, 29 Jul 2009 11:48:01 +0000 (06:48 -0500)]
compiler.cfg.linear-scan.resolve: fix unit tests to not depend on hashing

14 years agobit-arrays: fix resize method regression after recent equal? method optimization
Slava Pestov [Wed, 29 Jul 2009 11:47:50 +0000 (06:47 -0500)]
bit-arrays: fix resize method regression after recent equal? method optimization

14 years agocompiler: fix test
Slava Pestov [Wed, 29 Jul 2009 11:39:54 +0000 (06:39 -0500)]
compiler: fix test

14 years agocompiler.cfg.linear-scan.assignment: modifies instructions in place instead of storin...
Slava Pestov [Wed, 29 Jul 2009 11:36:14 +0000 (06:36 -0500)]
compiler.cfg.linear-scan.assignment: modifies instructions in place instead of storing a registers assoc for further compile-time performance improvement

14 years agocompiler.cfg.linear-scan.assignment: more efficient data structures
Slava Pestov [Wed, 29 Jul 2009 11:12:33 +0000 (06:12 -0500)]
compiler.cfg.linear-scan.assignment: more efficient data structures

14 years agocompiler.cfg.linearization: fix bootstrap
Slava Pestov [Wed, 29 Jul 2009 03:52:07 +0000 (22:52 -0500)]
compiler.cfg.linearization: fix bootstrap

14 years agosequences: add declaration so that array-flip compiles better
Slava Pestov [Wed, 29 Jul 2009 02:33:12 +0000 (21:33 -0500)]
sequences: add declaration so that array-flip compiles better

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Wed, 29 Jul 2009 02:31:25 +0000 (21:31 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocompiler.cfg.linearization: rotate loops. 2x speedup with empty times loop, 1.5x...
Slava Pestov [Wed, 29 Jul 2009 02:31:08 +0000 (21:31 -0500)]
compiler.cfg.linearization: rotate loops. 2x speedup with empty times loop, 1.5x speedup on benchmark.dawes

14 years agoFUEL: Bug fix: parenthesis matching when ( belongs to a word.
Jose A. Ortega Ruiz [Tue, 28 Jul 2009 22:29:43 +0000 (00:29 +0200)]
FUEL: Bug fix: parenthesis matching when ( belongs to a word.

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Tue, 28 Jul 2009 19:38:25 +0000 (14:38 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoi just cut and pasted
Joe Groff [Tue, 28 Jul 2009 19:38:10 +0000 (14:38 -0500)]
i just cut and pasted

14 years agocompiler.cfg.ssa.destruction: rename coalesce word to destruct-ssa
Slava Pestov [Tue, 28 Jul 2009 17:56:33 +0000 (12:56 -0500)]
compiler.cfg.ssa.destruction: rename coalesce word to destruct-ssa

14 years agoMerge branch 'dcn'
Slava Pestov [Tue, 28 Jul 2009 17:37:45 +0000 (12:37 -0500)]
Merge branch 'dcn'

14 years agocompiler.cfg: Minor optimization. Instructions can now only ever produce a single...
Slava Pestov [Tue, 28 Jul 2009 17:29:07 +0000 (12:29 -0500)]
compiler.cfg: Minor optimization. Instructions can now only ever produce a single value; this eliminates 1array constructions and some iterations

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Tue, 28 Jul 2009 17:20:16 +0000 (12:20 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoSSE4 opcodes for x86 assembler
Joe Groff [Tue, 28 Jul 2009 17:19:37 +0000 (12:19 -0500)]
SSE4 opcodes for x86 assembler

14 years agocompiler.cfg.ssa.construction: use the optimization from the pruned-SSA paper to...
Slava Pestov [Tue, 28 Jul 2009 16:52:42 +0000 (11:52 -0500)]
compiler.cfg.ssa.construction: use the optimization from the pruned-SSA paper to minimize stack pushing and popping

14 years agoMove set-last from circular.private to sequences
Slava Pestov [Tue, 28 Jul 2009 16:51:47 +0000 (11:51 -0500)]
Move set-last from circular.private to sequences

14 years agoMerge branch 'master' into dcn
Slava Pestov [Tue, 28 Jul 2009 16:20:43 +0000 (11:20 -0500)]
Merge branch 'master' into dcn

14 years agoMove Joe's HEX{ syntax to byte-arrays.hex in basis
Slava Pestov [Tue, 28 Jul 2009 16:20:28 +0000 (11:20 -0500)]
Move Joe's HEX{ syntax to byte-arrays.hex in basis

14 years agocompiler.cfg.graphviz: add render-dom word
Slava Pestov [Tue, 28 Jul 2009 16:16:32 +0000 (11:16 -0500)]
compiler.cfg.graphviz: add render-dom word

14 years agoIN: fix for compiler test
Slava Pestov [Tue, 28 Jul 2009 16:16:21 +0000 (11:16 -0500)]
IN: fix for compiler test

14 years agocompiler.cfg.ssa.construction: Use TDMSC algorithm to compute Phi placement
Slava Pestov [Tue, 28 Jul 2009 16:16:10 +0000 (11:16 -0500)]
compiler.cfg.ssa.construction: Use TDMSC algorithm to compute Phi placement

14 years agoFaster bit-array equality, add bit-set-subset? word
Slava Pestov [Tue, 28 Jul 2009 16:14:57 +0000 (11:14 -0500)]
Faster bit-array equality, add bit-set-subset? word

14 years agocompiler.cfg: Rename ssa to ssa.construction, coalescing to ssa.destruction
Slava Pestov [Tue, 28 Jul 2009 14:34:08 +0000 (09:34 -0500)]
compiler.cfg: Rename ssa to ssa.construction, coalescing to ssa.destruction

14 years agocompiler.cfg: Fix some unit tests
Slava Pestov [Tue, 28 Jul 2009 13:56:14 +0000 (08:56 -0500)]
compiler.cfg: Fix some unit tests

14 years agocompiler.cfg.branch-splitting: re-enable with a better heuristic
Slava Pestov [Tue, 28 Jul 2009 13:48:05 +0000 (08:48 -0500)]
compiler.cfg.branch-splitting: re-enable with a better heuristic

14 years agocompiler.cfg.utilities: add loop-entry? word
Slava Pestov [Tue, 28 Jul 2009 13:47:50 +0000 (08:47 -0500)]
compiler.cfg.utilities: add loop-entry? word

14 years agocompiler.cfg.linear-scan: fix resolve pass
Slava Pestov [Tue, 28 Jul 2009 13:47:35 +0000 (08:47 -0500)]
compiler.cfg.linear-scan: fix resolve pass

14 years agocompiler.cfg.coalescing: cleanups
Slava Pestov [Tue, 28 Jul 2009 13:47:03 +0000 (08:47 -0500)]
compiler.cfg.coalescing: cleanups

14 years agoRevert "compiler.cfg.coalescing: some cleanups"
Slava Pestov [Tue, 28 Jul 2009 12:51:44 +0000 (07:51 -0500)]
Revert "compiler.cfg.coalescing: some cleanups"

This reverts commit e5834c4ba7bb52c720d9bd90b4a15f34274aee1b.

14 years agocompiler.cfg.linear-scan.resolve: unit tests
Slava Pestov [Tue, 28 Jul 2009 12:41:41 +0000 (07:41 -0500)]
compiler.cfg.linear-scan.resolve: unit tests

14 years agocompiler.cfg.utilities: fix stack effect declaration
Slava Pestov [Tue, 28 Jul 2009 12:40:09 +0000 (07:40 -0500)]
compiler.cfg.utilities: fix stack effect declaration

14 years agocompiler.cfg.linear-scan: use compiler.cfg.parallel-copy in resolve pass
Slava Pestov [Tue, 28 Jul 2009 12:39:46 +0000 (07:39 -0500)]
compiler.cfg.linear-scan: use compiler.cfg.parallel-copy in resolve pass

14 years agocompiler.cfg.coalescing: some cleanups
Slava Pestov [Tue, 28 Jul 2009 12:37:50 +0000 (07:37 -0500)]
compiler.cfg.coalescing: some cleanups

14 years agocompiler.cfg.utilities: fix load error
Slava Pestov [Tue, 28 Jul 2009 11:51:03 +0000 (06:51 -0500)]
compiler.cfg.utilities: fix load error

14 years agoclasses.algebra: stack effect fix
Slava Pestov [Tue, 28 Jul 2009 11:49:09 +0000 (06:49 -0500)]
classes.algebra: stack effect fix

14 years agotools.annotations: doc addition
Slava Pestov [Tue, 28 Jul 2009 11:49:03 +0000 (06:49 -0500)]
tools.annotations: doc addition

14 years agocompiler.cfg.coalescing: Only run if CFG has ##phi nodes, fix interference for case...
Slava Pestov [Tue, 28 Jul 2009 11:48:20 +0000 (06:48 -0500)]
compiler.cfg.coalescing: Only run if CFG has ##phi nodes, fix interference for case where value is not used in a block and is not live-in, forgot to run liveness analysis first

14 years agoAdd some compiler tests
Slava Pestov [Tue, 28 Jul 2009 11:45:31 +0000 (06:45 -0500)]
Add some compiler tests

14 years agocompiler.cfg.liveness: fix liveness computation in case where instruction uses a...
Slava Pestov [Tue, 28 Jul 2009 11:45:02 +0000 (06:45 -0500)]
compiler.cfg.liveness: fix liveness computation in case where instruction uses a register it defines

14 years agocompiler.cfg.graphviz: A utility for rendering CFGs with graphviz
Slava Pestov [Tue, 28 Jul 2009 11:41:29 +0000 (06:41 -0500)]
compiler.cfg.graphviz: A utility for rendering CFGs with graphviz

14 years agocompiler.cfg.critical-edges: reset RPO
Slava Pestov [Tue, 28 Jul 2009 06:04:13 +0000 (01:04 -0500)]
compiler.cfg.critical-edges: reset RPO

14 years agoSSE1–SSSE3 opcodes + branch hints for x86 assembler
Joe Groff [Tue, 28 Jul 2009 05:22:27 +0000 (00:22 -0500)]
SSE1–SSSE3 opcodes + branch hints for x86 assembler

14 years agoAdd some tests that directly generate low level IR
Slava Pestov [Tue, 28 Jul 2009 03:29:33 +0000 (22:29 -0500)]
Add some tests that directly generate low level IR

14 years agocompiler.cfg.coalescing: precompute live intervals, add support for instructions...
Slava Pestov [Tue, 28 Jul 2009 03:29:17 +0000 (22:29 -0500)]
compiler.cfg.coalescing: precompute live intervals, add support for instructions where output cannot equal an input, split critical edges

14 years agocompiler.cfg.two-operand: make it work in more cases
Slava Pestov [Tue, 28 Jul 2009 03:28:29 +0000 (22:28 -0500)]
compiler.cfg.two-operand: make it work in more cases

14 years agocompiler.cfg.debugger: reset vreg counters
Slava Pestov [Tue, 28 Jul 2009 03:28:13 +0000 (22:28 -0500)]
compiler.cfg.debugger: reset vreg counters

14 years agocpu.x86: compile a load of zero, and adds, subs where dst = src1 more efficiently
Slava Pestov [Tue, 28 Jul 2009 03:27:54 +0000 (22:27 -0500)]
cpu.x86: compile a load of zero, and adds, subs where dst = src1 more efficiently

14 years agodisassemble method for byte-arrays. HEX{ abcd } syntax for byte-arrays
Joe Groff [Tue, 28 Jul 2009 03:14:26 +0000 (22:14 -0500)]
disassemble method for byte-arrays. HEX{ abcd } syntax for byte-arrays

14 years agoDebugging compiler.cfg.coalescing
Slava Pestov [Tue, 28 Jul 2009 00:24:13 +0000 (19:24 -0500)]
Debugging compiler.cfg.coalescing

14 years agoMerge branch 'dcn' of git://factorcode.org/git/factor into dcn
Slava Pestov [Mon, 27 Jul 2009 21:57:13 +0000 (16:57 -0500)]
Merge branch 'dcn' of git://factorcode.org/git/factor into dcn

14 years agocompiler.cfg.parallel-copy: fix algorithm
Slava Pestov [Mon, 27 Jul 2009 21:54:47 +0000 (16:54 -0500)]
compiler.cfg.parallel-copy: fix algorithm

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Mon, 27 Jul 2009 18:24:23 +0000 (13:24 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoverify transform feedback format matches requested format after linking program-instances
Joe Groff [Mon, 27 Jul 2009 18:16:41 +0000 (13:16 -0500)]
verify transform feedback format matches requested format after linking program-instances

14 years agoMerge branch 'master' into dcn
Slava Pestov [Mon, 27 Jul 2009 09:54:58 +0000 (04:54 -0500)]
Merge branch 'master' into dcn

14 years agocompiler.codegen: collect instruction statistics
Slava Pestov [Mon, 27 Jul 2009 08:58:15 +0000 (03:58 -0500)]
compiler.codegen: collect instruction statistics

14 years agocompiler.cfg.coalescing: fix shuffling bug
Slava Pestov [Mon, 27 Jul 2009 08:58:01 +0000 (03:58 -0500)]
compiler.cfg.coalescing: fix shuffling bug

14 years agocompiler.cfg.phi-elimination: no longer needed
Slava Pestov [Mon, 27 Jul 2009 07:20:53 +0000 (02:20 -0500)]
compiler.cfg.phi-elimination: no longer needed

14 years agocompiler.cfg.coalescing: more or less complete, now needs debugging
Slava Pestov [Mon, 27 Jul 2009 07:20:45 +0000 (02:20 -0500)]
compiler.cfg.coalescing: more or less complete, now needs debugging

14 years agocompiler.cfg.coalescing: more work done
Slava Pestov [Mon, 27 Jul 2009 05:31:21 +0000 (00:31 -0500)]
compiler.cfg.coalescing: more work done

14 years agocompiler.tree.propagation.info: fix load error
Slava Pestov [Mon, 27 Jul 2009 05:30:24 +0000 (00:30 -0500)]
compiler.tree.propagation.info: fix load error

14 years agoupdate gpu docs
Joe Groff [Mon, 27 Jul 2009 04:00:35 +0000 (23:00 -0500)]
update gpu docs

14 years agoalien.marshall: doc fix
Jeremy Hughes [Mon, 27 Jul 2009 03:30:30 +0000 (15:30 +1200)]
alien.marshall: doc fix

14 years agoaccept transform-feedback-output target from render
Joe Groff [Mon, 27 Jul 2009 03:24:33 +0000 (22:24 -0500)]
accept transform-feedback-output target from render

14 years agocompiler.cfg.coalescing: work in progress
Slava Pestov [Mon, 27 Jul 2009 02:11:26 +0000 (21:11 -0500)]
compiler.cfg.coalescing: work in progress

14 years agocompiler.cfg.copy-prop: remove ##phi nodes where all inputs are copy-equivalent
Slava Pestov [Mon, 27 Jul 2009 02:11:02 +0000 (21:11 -0500)]
compiler.cfg.copy-prop: remove ##phi nodes where all inputs are copy-equivalent

14 years agocompiler.cfg.utilities: move value-info utilities to compiler.tree.propagation.info
Slava Pestov [Mon, 27 Jul 2009 02:10:33 +0000 (21:10 -0500)]
compiler.cfg.utilities: move value-info utilities to compiler.tree.propagation.info

14 years agocompiler.cfg.def-use: build def-use chains
Slava Pestov [Mon, 27 Jul 2009 02:10:14 +0000 (21:10 -0500)]
compiler.cfg.def-use: build def-use chains

14 years agocompiler.cfg.dominance: add pre order and max pre order numbers; use them to implemen...
Slava Pestov [Mon, 27 Jul 2009 02:10:05 +0000 (21:10 -0500)]
compiler.cfg.dominance: add pre order and max pre order numbers; use them to implement dominates? check

14 years agoset transform feedback format at program link
Joe Groff [Sun, 26 Jul 2009 02:19:56 +0000 (21:19 -0500)]
set transform feedback format at program link

14 years agoadd a buffer-range tuple to represent a subset of a buffer. add support for specifyin...
Joe Groff [Sat, 25 Jul 2009 20:50:38 +0000 (15:50 -0500)]
add a buffer-range tuple to represent a subset of a buffer. add support for specifying a transform feedback format to GLSL-PROGRAM: syntax

14 years agomove vertex-formats and vertex-arrays to gpu.shaders so we can use them for transform...
Joe Groff [Sat, 25 Jul 2009 16:30:59 +0000 (11:30 -0500)]
move vertex-formats and vertex-arrays to gpu.shaders so we can use them for transform feedback formats

14 years agoalien.cxx.syntax: fix tests
Jeremy Hughes [Sat, 25 Jul 2009 04:57:12 +0000 (16:57 +1200)]
alien.cxx.syntax: fix tests

14 years agonitpick
Joe Groff [Sat, 25 Jul 2009 02:04:49 +0000 (21:04 -0500)]
nitpick

14 years agoMerge branch 'dcn' of git://factorcode.org/git/factor into dcn
Slava Pestov [Sat, 25 Jul 2009 01:30:11 +0000 (20:30 -0500)]
Merge branch 'dcn' of git://factorcode.org/git/factor into dcn

14 years agoMerge branch 'master' of git://factorcode.org/git/factor into dcn
Slava Pestov [Sat, 25 Jul 2009 01:29:09 +0000 (20:29 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor into dcn

14 years agocompiler.cfg.copy-prop: work in progress
Slava Pestov [Sat, 25 Jul 2009 00:56:21 +0000 (19:56 -0500)]
compiler.cfg.copy-prop: work in progress

14 years agoMerge branch 'dcn' of git://factorcode.org/git/factor into dcn
Slava Pestov [Sat, 25 Jul 2009 00:46:52 +0000 (19:46 -0500)]
Merge branch 'dcn' of git://factorcode.org/git/factor into dcn

14 years agocompiler.cfg.parallel-copy: forgot to add this
Slava Pestov [Sat, 25 Jul 2009 00:46:33 +0000 (19:46 -0500)]
compiler.cfg.parallel-copy: forgot to add this

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Fri, 24 Jul 2009 23:12:24 +0000 (18:12 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoadd more links to floating point words in docs
Doug Coleman [Fri, 24 Jul 2009 23:11:51 +0000 (18:11 -0500)]
add more links to floating point words in docs

14 years agodocument a word in sequences
Doug Coleman [Fri, 24 Jul 2009 23:10:53 +0000 (18:10 -0500)]
document a word in sequences

14 years agoscaffold tools now uses the boolean type instead of "a boolean"
Doug Coleman [Fri, 24 Jul 2009 23:09:14 +0000 (18:09 -0500)]
scaffold tools now uses the boolean type instead of "a boolean"

14 years agoMerge branch 'marshall' of git://github.com/jedahu/factor
Slava Pestov [Fri, 24 Jul 2009 23:08:52 +0000 (18:08 -0500)]
Merge branch 'marshall' of git://github.com/jedahu/factor

14 years agosequences: update docs a bit
Slava Pestov [Fri, 24 Jul 2009 23:05:23 +0000 (18:05 -0500)]
sequences: update docs a bit

14 years agoMerge branch 'dcn' of git://factorcode.org/git/factor into dcn
Slava Pestov [Fri, 24 Jul 2009 22:12:20 +0000 (17:12 -0500)]
Merge branch 'dcn' of git://factorcode.org/git/factor into dcn

14 years agocompiler.cfg.phi-elimination: move some utilities from compiler.cfg.utilities here...
Slava Pestov [Fri, 24 Jul 2009 21:45:31 +0000 (16:45 -0500)]
compiler.cfg.phi-elimination: move some utilities from compiler.cfg.utilities here since that's the only place they get used

14 years agocompiler.cfg: Fixing test failures
Slava Pestov [Fri, 24 Jul 2009 11:08:07 +0000 (06:08 -0500)]
compiler.cfg: Fixing test failures

14 years agocompiler.cfg.copy-prop: Global copy propagation
Slava Pestov [Fri, 24 Jul 2009 10:30:46 +0000 (05:30 -0500)]
compiler.cfg.copy-prop: Global copy propagation

14 years agocompiler.cfg.value-numbering: insert ##copy instructions for instructions whose expre...
Slava Pestov [Fri, 24 Jul 2009 10:30:30 +0000 (05:30 -0500)]
compiler.cfg.value-numbering: insert ##copy instructions for instructions whose expressions simplify. While subsequent usages are replaced with the instruction computing the simplified vreg locally, global usages may exist of the original instruction. In this case, the ##copy is not dead

14 years agocompiler.cfg.write-barrier: simplify a little bit. It doesn't need to do copy propaga...
Slava Pestov [Fri, 24 Jul 2009 10:29:28 +0000 (05:29 -0500)]
compiler.cfg.write-barrier: simplify a little bit. It doesn't need to do copy propagation, since its a separate pass now

14 years agocompiler.cfg: introduce less temporaries when building CFG
Slava Pestov [Fri, 24 Jul 2009 08:37:18 +0000 (03:37 -0500)]
compiler.cfg: introduce less temporaries when building CFG

14 years agoalien.marshall: docs lint fix
Jeremy Hughes [Fri, 24 Jul 2009 06:24:46 +0000 (18:24 +1200)]
alien.marshall: docs lint fix

14 years agoalien.inline: define-c-library: set "c-library"
Jeremy Hughes [Fri, 24 Jul 2009 06:24:27 +0000 (18:24 +1200)]
alien.inline: define-c-library: set "c-library"