]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Fri, 3 Jul 2009 04:09:58 +0000 (23:09 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoMerge branch 'inlinec' of git://github.com/jedahu/factor
Slava Pestov [Fri, 3 Jul 2009 04:06:50 +0000 (23:06 -0500)]
Merge branch 'inlinec' of git://github.com/jedahu/factor

14 years agoalien.inline renamed words for runtime use
Jeremy Hughes [Fri, 3 Jul 2009 03:32:00 +0000 (15:32 +1200)]
alien.inline renamed words for runtime use

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Fri, 3 Jul 2009 03:22:55 +0000 (22:22 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Fri, 3 Jul 2009 02:59:04 +0000 (21:59 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agobit-sets: efficient bitwise operations on bit-arrays
Slava Pestov [Fri, 3 Jul 2009 02:58:49 +0000 (21:58 -0500)]
bit-sets: efficient bitwise operations on bit-arrays

14 years agowhitespace
Jeremy Hughes [Fri, 3 Jul 2009 02:55:50 +0000 (14:55 +1200)]
whitespace

14 years agoMore unit tests for wrap
Daniel Ehrenberg [Fri, 3 Jul 2009 02:12:38 +0000 (21:12 -0500)]
More unit tests for wrap

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Daniel Ehrenberg [Fri, 3 Jul 2009 01:24:49 +0000 (20:24 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoFixing long-standing bug in wrap
Daniel Ehrenberg [Fri, 3 Jul 2009 01:24:41 +0000 (20:24 -0500)]
Fixing long-standing bug in wrap

14 years agocommon 3d matrix constructors
Joe Groff [Fri, 3 Jul 2009 00:05:24 +0000 (19:05 -0500)]
common 3d matrix constructors

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Fri, 3 Jul 2009 00:04:50 +0000 (19:04 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoadd constant folding for integer ops, refactor some rewrites
Doug Coleman [Fri, 3 Jul 2009 00:03:21 +0000 (19:03 -0500)]
add constant folding for integer ops, refactor some rewrites

14 years agovariants docs nitpicks
Joe Groff [Fri, 3 Jul 2009 00:01:50 +0000 (19:01 -0500)]
variants docs nitpicks

14 years agoMerge branch 'inlinec' of git://github.com/jedahu/factor
Slava Pestov [Thu, 2 Jul 2009 23:37:55 +0000 (18:37 -0500)]
Merge branch 'inlinec' of git://github.com/jedahu/factor

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Thu, 2 Jul 2009 23:36:49 +0000 (18:36 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoUnit tests for alien.inline
Jeremy Hughes [Thu, 2 Jul 2009 23:35:46 +0000 (11:35 +1200)]
Unit tests for alien.inline

14 years agoAdded copyright headers
Jeremy Hughes [Thu, 2 Jul 2009 23:35:02 +0000 (11:35 +1200)]
Added copyright headers

14 years agoRevert "fix a unit test so it's sure to overflow 64bit machines"
Doug Coleman [Thu, 2 Jul 2009 23:18:50 +0000 (18:18 -0500)]
Revert "fix a unit test so it's sure to overflow 64bit machines"

This reverts commit 88a545a215d44b37f95c926b569593b1d1ddbb32.

14 years agofix a unit test so it's sure to overflow 64bit machines
Doug Coleman [Thu, 2 Jul 2009 23:05:55 +0000 (18:05 -0500)]
fix a unit test so it's sure to overflow 64bit machines

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

14 years agounit test to make sure adds are not optimized incorrectly
Doug Coleman [Thu, 2 Jul 2009 23:01:00 +0000 (18:01 -0500)]
unit test to make sure adds are not optimized incorrectly

14 years agofix bug in rewriting #add -- wasn't checking small-enough?, and change negative adds...
Doug Coleman [Thu, 2 Jul 2009 22:55:35 +0000 (17:55 -0500)]
fix bug in rewriting #add -- wasn't checking small-enough?, and change negative adds to subtractions/negative subtractions to adds

14 years agohalf-floats: Add some more unit tests
Slava Pestov [Thu, 2 Jul 2009 22:52:53 +0000 (17:52 -0500)]
half-floats: Add some more unit tests

14 years agoalien.c-syntax -> alien.inline, alien.compile -> alien.inline.compiler
Jeremy Hughes [Thu, 2 Jul 2009 22:46:19 +0000 (10:46 +1200)]
alien.c-syntax -> alien.inline, alien.compile -> alien.inline.compiler

14 years agoalien.c-syntax alien.compile: symbols instead of strings
Jeremy Hughes [Thu, 2 Jul 2009 22:43:27 +0000 (10:43 +1200)]
alien.c-syntax alien.compile: symbols instead of strings

14 years agoalien.compile: use locals in some words
Jeremy Hughes [Thu, 2 Jul 2009 22:32:39 +0000 (10:32 +1200)]
alien.compile: use locals in some words

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Thu, 2 Jul 2009 22:28:12 +0000 (17:28 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocompiler.cfg.liveness: update for new ##phi node representation
Slava Pestov [Thu, 2 Jul 2009 22:28:02 +0000 (17:28 -0500)]
compiler.cfg.liveness: update for new ##phi node representation

14 years agocompiler.cfg: change representation of ##phi nodes. The input slot of ##phi nodes...
Slava Pestov [Thu, 2 Jul 2009 22:10:50 +0000 (17:10 -0500)]
compiler.cfg: change representation of ##phi nodes. The input slot of ##phi nodes is now an assoc mapping predecessors to values, rather than a sequence of values. This ensures that optimization which delete predecessors can be implemented

14 years agofix vim syntax highlighting for MEMO:, MEMO::, ::, MACRO::
Doug Coleman [Thu, 2 Jul 2009 21:33:08 +0000 (16:33 -0500)]
fix vim syntax highlighting for MEMO:, MEMO::, ::, MACRO::

14 years agoalien.c-syntax alien.compile: added authors.txt
Jeremy Hughes [Thu, 2 Jul 2009 19:41:18 +0000 (07:41 +1200)]
alien.c-syntax alien.compile: added authors.txt

14 years agoalien.c-syntax: fixed host of problems
Jeremy Hughes [Thu, 2 Jul 2009 19:33:14 +0000 (07:33 +1200)]
alien.c-syntax: fixed host of problems

14 years agoMerge branch 'master' into inlinec
Jeremy Hughes [Thu, 2 Jul 2009 19:34:40 +0000 (07:34 +1200)]
Merge branch 'master' into inlinec

* master:
  rewrite rules for add/sub/mul/and/or/xor-imm, rewrite load-immediate/add to be add-imm
  simplify sub and sub-imm
  add a utility word vreg>constant
  compiler.cfg.dce: now performs three passes over the CFG to fix a phase ordering issue
  compiler.cfg.dce: minor renamings
  Dead code elimination eliminates some dead allocations
  compiler.cfg.optimizer: enable branch folding
  compiler.cfg: bug fixes in GC check insertion and fixnum intrinsics
  compiler.cfg.linear-scan: fix spilling

14 years agorewrite rules for add/sub/mul/and/or/xor-imm, rewrite load-immediate/add to be add-imm
Doug Coleman [Thu, 2 Jul 2009 16:35:31 +0000 (11:35 -0500)]
rewrite rules for add/sub/mul/and/or/xor-imm, rewrite load-immediate/add to be add-imm

14 years agosimplify sub and sub-imm
Doug Coleman [Thu, 2 Jul 2009 16:33:15 +0000 (11:33 -0500)]
simplify sub and sub-imm

14 years agoadd a utility word vreg>constant
Doug Coleman [Thu, 2 Jul 2009 16:32:23 +0000 (11:32 -0500)]
add a utility word vreg>constant

14 years agocompiler.cfg.dce: now performs three passes over the CFG to fix a phase ordering...
Slava Pestov [Thu, 2 Jul 2009 08:17:19 +0000 (03:17 -0500)]
compiler.cfg.dce: now performs three passes over the CFG to fix a phase ordering issue

14 years agocompiler.cfg.dce: minor renamings
Slava Pestov [Thu, 2 Jul 2009 07:41:10 +0000 (02:41 -0500)]
compiler.cfg.dce: minor renamings

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Daniel Ehrenberg [Thu, 2 Jul 2009 07:31:06 +0000 (02:31 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoDead code elimination eliminates some dead allocations
Daniel Ehrenberg [Thu, 2 Jul 2009 07:30:46 +0000 (02:30 -0500)]
Dead code elimination eliminates some dead allocations

14 years agocompiler.cfg.optimizer: enable branch folding
Slava Pestov [Thu, 2 Jul 2009 06:05:59 +0000 (01:05 -0500)]
compiler.cfg.optimizer: enable branch folding

14 years agocompiler.cfg: bug fixes in GC check insertion and fixnum intrinsics
Slava Pestov [Thu, 2 Jul 2009 05:51:06 +0000 (00:51 -0500)]
compiler.cfg: bug fixes in GC check insertion and fixnum intrinsics

14 years agocompiler.cfg.linear-scan: fix spilling
Slava Pestov [Thu, 2 Jul 2009 03:37:27 +0000 (22:37 -0500)]
compiler.cfg.linear-scan: fix spilling

14 years agoRemoved C++-LIBRARY: in favour of COMPILE-AS-C++ statement
Jeremy Hughes [Wed, 1 Jul 2009 22:40:12 +0000 (10:40 +1200)]
Removed C++-LIBRARY: in favour of COMPILE-AS-C++ statement

14 years agoInline C
Jeremy Hughes [Wed, 1 Jul 2009 22:43:51 +0000 (10:43 +1200)]
Inline C

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Wed, 1 Jul 2009 23:13:54 +0000 (18:13 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocpu.x86.32: don't emit sub %esp,0x0 in prologue on Linux and Windows
Slava Pestov [Wed, 1 Jul 2009 23:13:45 +0000 (18:13 -0500)]
cpu.x86.32: don't emit sub %esp,0x0 in prologue on Linux and Windows

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Wed, 1 Jul 2009 23:01:59 +0000 (18:01 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agopardon my dust
Joe Groff [Wed, 1 Jul 2009 22:57:21 +0000 (17:57 -0500)]
pardon my dust

14 years agocompiler.tree.optimizer: Remove redundant call to compute-def-use
Slava Pestov [Wed, 1 Jul 2009 22:41:20 +0000 (17:41 -0500)]
compiler.tree.optimizer: Remove redundant call to compute-def-use

14 years agocompiler.cfg.linear-scan: debugging spilling and resolve pass
Slava Pestov [Wed, 1 Jul 2009 22:41:07 +0000 (17:41 -0500)]
compiler.cfg.linear-scan: debugging spilling and resolve pass

14 years agoalien.structs: update docs to mention struct-arrays
Slava Pestov [Wed, 1 Jul 2009 21:16:40 +0000 (16:16 -0500)]
alien.structs: update docs to mention struct-arrays

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

14 years agoput a slot on worlds for window-resources which get disposed when window is closed
Joe Groff [Wed, 1 Jul 2009 18:54:42 +0000 (13:54 -0500)]
put a slot on worlds for window-resources which get disposed when window is closed

14 years agoopengl helper words for ARB/APPLE vertex array objects
Joe Groff [Wed, 1 Jul 2009 18:53:28 +0000 (13:53 -0500)]
opengl helper words for ARB/APPLE vertex array objects

14 years agoptrdiff_t arrays
Joe Groff [Wed, 1 Jul 2009 18:52:42 +0000 (13:52 -0500)]
ptrdiff_t arrays

14 years agosome misc categorizations and factorings for image component formats
Joe Groff [Wed, 1 Jul 2009 18:52:26 +0000 (13:52 -0500)]
some misc categorizations and factorings for image component formats

14 years agocompiler.cfg.stack-analysis: fix unit tests for useless-blocks renaming and ##no...
Slava Pestov [Wed, 1 Jul 2009 04:17:33 +0000 (23:17 -0500)]
compiler.cfg.stack-analysis: fix unit tests for useless-blocks renaming and ##no-tco instruction

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Wed, 1 Jul 2009 04:07:36 +0000 (23:07 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocompiler.cfg.optimizer: disable branch folding for now
Slava Pestov [Wed, 1 Jul 2009 04:07:27 +0000 (23:07 -0500)]
compiler.cfg.optimizer: disable branch folding for now

14 years agocompiler.cfg.builder: emit less crap after a #terminate node
Slava Pestov [Wed, 1 Jul 2009 04:03:25 +0000 (23:03 -0500)]
compiler.cfg.builder: emit less crap after a #terminate node

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Wed, 1 Jul 2009 04:02:04 +0000 (23:02 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agooptimize fixnum*fast and fixnum-shift-fast
Doug Coleman [Wed, 1 Jul 2009 04:01:44 +0000 (23:01 -0500)]
optimize fixnum*fast and fixnum-shift-fast

14 years agocombine add-imm instructions into a single add
Doug Coleman [Wed, 1 Jul 2009 03:59:53 +0000 (22:59 -0500)]
combine add-imm instructions into a single add

14 years agocompiler.cfg.branch-folding: fold away branches where both inputs are the same regist...
Slava Pestov [Wed, 1 Jul 2009 03:43:32 +0000 (22:43 -0500)]
compiler.cfg.branch-folding: fold away branches where both inputs are the same register. This results in 'push' being compiled slightly better

14 years agoFix possible infinite loop in skip-empty-blocks and remove redundant test in compiler...
Slava Pestov [Wed, 1 Jul 2009 03:43:02 +0000 (22:43 -0500)]
Fix possible infinite loop in skip-empty-blocks and remove redundant test in compiler.cfg.useless-conditionals

14 years agoChange branch splitting around a bit, rename useless-blocks to useless-conditionals...
Slava Pestov [Wed, 1 Jul 2009 03:11:15 +0000 (22:11 -0500)]
Change branch splitting around a bit, rename useless-blocks to useless-conditionals and rewrite it

14 years agoFix conflict
Slava Pestov [Wed, 1 Jul 2009 02:37:49 +0000 (21:37 -0500)]
Fix conflict

14 years agocompiler.cfg Remove height tracking for ##call instructions, wire in ##no-tco instruction
Slava Pestov [Wed, 1 Jul 2009 02:21:46 +0000 (21:21 -0500)]
compiler.cfg Remove height tracking for ##call instructions, wire in ##no-tco instruction

14 years agocompiler.cfg.tco: fix tail call optimization for ##fixnum-mul
Slava Pestov [Wed, 1 Jul 2009 02:08:08 +0000 (21:08 -0500)]
compiler.cfg.tco: fix tail call optimization for ##fixnum-mul

14 years agocompiler.cfg.builder: fix stack effect
Slava Pestov [Wed, 1 Jul 2009 02:07:55 +0000 (21:07 -0500)]
compiler.cfg.builder: fix stack effect

14 years agocompiler.cfg.linear-scan.assignment: insert-copy did the wrong thing if the second...
Slava Pestov [Wed, 1 Jul 2009 02:07:39 +0000 (21:07 -0500)]
compiler.cfg.linear-scan.assignment: insert-copy did the wrong thing if the second interval had been split. Fixes compilation of 'trilerp'

14 years agoFix conflict
Slava Pestov [Wed, 1 Jul 2009 01:16:09 +0000 (20:16 -0500)]
Fix conflict

14 years agocompiler.cfg.tco: Tail call optimization moved out of compiler.cfg.builder into its...
Slava Pestov [Wed, 1 Jul 2009 01:13:35 +0000 (20:13 -0500)]
compiler.cfg.tco: Tail call optimization moved out of compiler.cfg.builder into its own pass

14 years agoremove duplicate using
Doug Coleman [Tue, 30 Jun 2009 23:48:52 +0000 (18:48 -0500)]
remove duplicate using

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Tue, 30 Jun 2009 23:48:10 +0000 (18:48 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agomake commutative operations with immediates output the same IR
Doug Coleman [Tue, 30 Jun 2009 23:47:24 +0000 (18:47 -0500)]
make commutative operations with immediates output the same IR

14 years agocompiler.cfg.stack-analysis: fix tests
Slava Pestov [Tue, 30 Jun 2009 23:22:54 +0000 (18:22 -0500)]
compiler.cfg.stack-analysis: fix tests

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Tue, 30 Jun 2009 23:12:00 +0000 (18:12 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocompiler.cfg.stack-analysis: enable global optimization
Slava Pestov [Tue, 30 Jun 2009 23:11:45 +0000 (18:11 -0500)]
compiler.cfg.stack-analysis: enable global optimization

14 years ago%dispatch: sometimes the generated sequence is one byte longer, so instead of hard...
Slava Pestov [Tue, 30 Jun 2009 23:11:15 +0000 (18:11 -0500)]
%dispatch: sometimes the generated sequence is one byte longer, so instead of hard-coding it, compute the right length

14 years agocompiler.cfg.linear-scan.assignment: get check-assignment? to work with coalescing
Slava Pestov [Tue, 30 Jun 2009 23:10:53 +0000 (18:10 -0500)]
compiler.cfg.linear-scan.assignment: get check-assignment? to work with coalescing

14 years agoMerge branch 'imagebin'
Doug Coleman [Tue, 30 Jun 2009 22:39:53 +0000 (17:39 -0500)]
Merge branch 'imagebin'

14 years agoimagebin does the right thing now
Doug Coleman [Tue, 30 Jun 2009 22:39:36 +0000 (17:39 -0500)]
imagebin does the right thing now

14 years agocpu.x86: don't clobber src in %dispatch
Slava Pestov [Tue, 30 Jun 2009 21:47:22 +0000 (16:47 -0500)]
cpu.x86: don't clobber src in %dispatch

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Tue, 30 Jun 2009 21:45:57 +0000 (16:45 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agofix bug where traversal order was lost
Doug Coleman [Tue, 30 Jun 2009 21:44:14 +0000 (16:44 -0500)]
fix bug where traversal order was lost

14 years agodisjoint-sets: add some tests for compiler bug; eventually more tests should be writt...
Slava Pestov [Tue, 30 Jun 2009 21:08:16 +0000 (16:08 -0500)]
disjoint-sets: add some tests for compiler bug; eventually more tests should be written for this vocab

14 years agocompiler.cfg.linear-scan: compute-free-pos was broken in the case where more than...
Slava Pestov [Tue, 30 Jun 2009 21:07:58 +0000 (16:07 -0500)]
compiler.cfg.linear-scan: compute-free-pos was broken in the case where more than one inactive interval had the same physical register assigned

14 years agospill to spill-temp, not to virtual spill addresses
Doug Coleman [Tue, 30 Jun 2009 20:40:13 +0000 (15:40 -0500)]
spill to spill-temp, not to virtual spill addresses

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Tue, 30 Jun 2009 20:32:11 +0000 (15:32 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoadd branch splitting pass to compiler.cfg
Doug Coleman [Tue, 30 Jun 2009 20:31:48 +0000 (15:31 -0500)]
add branch splitting pass to compiler.cfg

14 years agoworking on imagebin
Doug Coleman [Tue, 30 Jun 2009 19:56:58 +0000 (14:56 -0500)]
working on imagebin

14 years agocompiler.cfg.stack-analysis: fix typos in unit tests
Slava Pestov [Mon, 29 Jun 2009 21:37:40 +0000 (16:37 -0500)]
compiler.cfg.stack-analysis: fix typos in unit tests

14 years agoAdd divisors to math.primes.factors
Samuel Tardieu [Mon, 29 Jun 2009 14:55:44 +0000 (16:55 +0200)]
Add divisors to math.primes.factors

14 years agoFix conflict
Slava Pestov [Mon, 29 Jun 2009 07:00:34 +0000 (02:00 -0500)]
Fix conflict

14 years agoFix conflict
Slava Pestov [Mon, 29 Jun 2009 06:59:53 +0000 (01:59 -0500)]
Fix conflict

14 years agocompiler.cfg.linear-scan.resolve: remove redundant vocabs from using list
Slava Pestov [Mon, 29 Jun 2009 03:58:35 +0000 (22:58 -0500)]
compiler.cfg.linear-scan.resolve: remove redundant vocabs from using list

14 years agocompiler.cfg.stack-analysis: fix another corner case with ##peek insertion, and fix...
Slava Pestov [Mon, 29 Jun 2009 03:52:28 +0000 (22:52 -0500)]
compiler.cfg.stack-analysis: fix another corner case with ##peek insertion, and fix changed-loc merging