]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 years agoMerge branch 'master' of git://factorcode.org/git/factor into klazuka
Doug Coleman [Fri, 2 Oct 2009 20:59:19 +0000 (15:59 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor into klazuka

Conflicts:
basis/math/vectors/vectors-docs.factor

14 years agoMerge branch 'docs' of git://github.com/klazuka/factor into klazuka
Doug Coleman [Fri, 2 Oct 2009 20:58:45 +0000 (15:58 -0500)]
Merge branch 'docs' of git://github.com/klazuka/factor into klazuka

Conflicts:
basis/math/vectors/vectors-docs.factor

14 years agofix bitmap tests path
Doug Coleman [Fri, 2 Oct 2009 20:54:39 +0000 (15:54 -0500)]
fix bitmap tests path

14 years agoMerge branch 'images' of git://github.com/klazuka/factor into klazuka
Doug Coleman [Fri, 2 Oct 2009 20:42:47 +0000 (15:42 -0500)]
Merge branch 'images' of git://github.com/klazuka/factor into klazuka

14 years agogive math.vectors shuffle words their own docs subsection in anticipation of having...
Joe Groff [Fri, 2 Oct 2009 20:37:49 +0000 (15:37 -0500)]
give math.vectors shuffle words their own docs subsection in anticipation of having more ops in there

14 years agoproofreading math.vectors docs
Joe Groff [Fri, 2 Oct 2009 20:18:42 +0000 (15:18 -0500)]
proofreading math.vectors docs

14 years agoadd notes to math.vectors docs about simd booleans
Joe Groff [Fri, 2 Oct 2009 20:11:06 +0000 (15:11 -0500)]
add notes to math.vectors docs about simd booleans

14 years agoimplement vand, vor, vandn, and vxor as bitwise intrinsics for simd types
Joe Groff [Fri, 2 Oct 2009 19:17:01 +0000 (14:17 -0500)]
implement vand, vor, vandn, and vxor as bitwise intrinsics for simd types

14 years agokeep a map of thread ids to vm pointers. use this to look up the correct VM to handle...
Joe Groff [Fri, 2 Oct 2009 17:00:01 +0000 (12:00 -0500)]
keep a map of thread ids to vm pointers. use this to look up the correct VM to handle mach exceptions on os x

14 years agotools.crossref: Added $subsection to 'M: link uses' markup list
Keith Lazuka [Fri, 2 Oct 2009 16:18:33 +0000 (12:18 -0400)]
tools.crossref: Added $subsection to 'M: link uses' markup list

14 years agodocs: change $subsection to $subsections
Keith Lazuka [Thu, 1 Oct 2009 19:56:36 +0000 (15:56 -0400)]
docs: change $subsection to $subsections

14 years agoimport std::tr1/boost ::unordered_map into the factor namespace instead of using...
Joe Groff [Fri, 2 Oct 2009 16:13:27 +0000 (11:13 -0500)]
import std::tr1/boost ::unordered_map into the factor namespace instead of using #define

14 years agodon't leak startargs in start_standalone_factor_in_new_thread
Joe Groff [Fri, 2 Oct 2009 16:02:13 +0000 (11:02 -0500)]
don't leak startargs in start_standalone_factor_in_new_thread

14 years agovm: add assertions to tls_vm()
Slava Pestov [Fri, 2 Oct 2009 14:37:04 +0000 (09:37 -0500)]
vm: add assertions to tls_vm()

14 years agovm: fix register clobberage in PowerPC c_to_factor (untested)
Slava Pestov [Fri, 2 Oct 2009 14:19:31 +0000 (09:19 -0500)]
vm: fix register clobberage in PowerPC c_to_factor (untested)

14 years agovm: fix register clobberage in x86 c_to_factor
Slava Pestov [Fri, 2 Oct 2009 14:12:09 +0000 (09:12 -0500)]
vm: fix register clobberage in x86 c_to_factor

14 years agocpu.ppc: remove useless comment
Slava Pestov [Fri, 2 Oct 2009 08:31:53 +0000 (03:31 -0500)]
cpu.ppc: remove useless comment

14 years agovm: fix compile error with DEBUG=1
Slava Pestov [Fri, 2 Oct 2009 08:30:02 +0000 (03:30 -0500)]
vm: fix compile error with DEBUG=1

14 years agoMerge branch 'reentrantvm' of git://github.com/phildawes/factor
Slava Pestov [Fri, 2 Oct 2009 08:28:21 +0000 (03:28 -0500)]
Merge branch 'reentrantvm' of git://github.com/phildawes/factor

14 years agovm: fix stack alignment in primitive_inline_cache_miss
Slava Pestov [Fri, 2 Oct 2009 08:25:18 +0000 (03:25 -0500)]
vm: fix stack alignment in primitive_inline_cache_miss

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Fri, 2 Oct 2009 07:32:50 +0000 (02:32 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoFix compiler.cfg.value-numbering and math.matrices.simd unit tests
Slava Pestov [Fri, 2 Oct 2009 07:32:35 +0000 (02:32 -0500)]
Fix compiler.cfg.value-numbering and math.matrices.simd unit tests

14 years agoadd a random.sfmt benchmark
Doug Coleman [Fri, 2 Oct 2009 07:03:15 +0000 (02:03 -0500)]
add a random.sfmt benchmark

14 years agoadd unit test for seeding
Doug Coleman [Fri, 2 Oct 2009 06:55:18 +0000 (01:55 -0500)]
add unit test for seeding

14 years agoadd seed-random method to random.sfmt, fix formatting
Doug Coleman [Fri, 2 Oct 2009 06:54:17 +0000 (01:54 -0500)]
add seed-random method to random.sfmt, fix formatting

14 years agoremove m-n-as-a-slot
Doug Coleman [Fri, 2 Oct 2009 06:32:11 +0000 (01:32 -0500)]
remove m-n-as-a-slot

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Fri, 2 Oct 2009 06:24:34 +0000 (01:24 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoprettyprint.backend: fix performance problem when printing large arrays with length...
Slava Pestov [Fri, 2 Oct 2009 06:23:17 +0000 (01:23 -0500)]
prettyprint.backend: fix performance problem when printing large arrays with length limit on

14 years agooptimizing random.sfmt
Doug Coleman [Fri, 2 Oct 2009 06:18:18 +0000 (01:18 -0500)]
optimizing random.sfmt

14 years agosfmt uses some simd now
Doug Coleman [Fri, 2 Oct 2009 05:40:55 +0000 (00:40 -0500)]
sfmt uses some simd now

14 years agocleaning up sfmt
Doug Coleman [Fri, 2 Oct 2009 05:21:48 +0000 (00:21 -0500)]
cleaning up sfmt

14 years agoMerge branch 'master' of git://factorcode.org/git/factor into improved-aa
Slava Pestov [Fri, 2 Oct 2009 05:21:44 +0000 (00:21 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor into improved-aa

14 years agoinitial checkin of random.sfmt so i can refactor it
Doug Coleman [Fri, 2 Oct 2009 05:07:29 +0000 (00:07 -0500)]
initial checkin of random.sfmt so i can refactor it

14 years agocompiler.cfg.alias-analysis: fix ##compare where operands are copies
Slava Pestov [Fri, 2 Oct 2009 04:54:19 +0000 (23:54 -0500)]
compiler.cfg.alias-analysis: fix ##compare where operands are copies

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Fri, 2 Oct 2009 04:52:26 +0000 (23:52 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

Conflicts:
basis/compiler/codegen/codegen.factor

14 years agochange vector logical words to reuse the input sequence types so that they work as...
Joe Groff [Fri, 2 Oct 2009 04:49:45 +0000 (23:49 -0500)]
change vector logical words to reuse the input sequence types so that they work as simd fallbacks

14 years agodefine simd equal? methods as v= vall?
Joe Groff [Fri, 2 Oct 2009 04:46:37 +0000 (23:46 -0500)]
define simd equal? methods as v= vall?

14 years agoFix alias analysis of a ##compare whose input is another ##compare
Slava Pestov [Fri, 2 Oct 2009 04:20:05 +0000 (23:20 -0500)]
Fix alias analysis of a ##compare whose input is another ##compare

14 years agoMerge branch 'master' into improved-aa
Slava Pestov [Fri, 2 Oct 2009 04:16:54 +0000 (23:16 -0500)]
Merge branch 'master' into improved-aa

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Fri, 2 Oct 2009 04:10:11 +0000 (23:10 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

Conflicts:
basis/compiler/codegen/codegen.factor

14 years agosequences: add accumulate-as and document insert-nth
Slava Pestov [Fri, 2 Oct 2009 04:13:33 +0000 (23:13 -0500)]
sequences: add accumulate-as and document insert-nth

14 years agospecialized-arrays: byte-array>A-array calls >c-ptr
Slava Pestov [Fri, 2 Oct 2009 04:12:53 +0000 (23:12 -0500)]
specialized-arrays: byte-array>A-array calls >c-ptr

14 years agocreate special intrinsic wrappers for 256-vector>scalar operations so that vall?...
Joe Groff [Fri, 2 Oct 2009 04:07:10 +0000 (23:07 -0500)]
create special intrinsic wrappers for 256-vector>scalar operations so that vall?, vany?, vnone? work on 256-vectors

14 years agocompiler.cfg.alias-analysis: optimize ##vm-field-ptr and ##alien-global instructions...
Slava Pestov [Fri, 2 Oct 2009 04:03:17 +0000 (23:03 -0500)]
compiler.cfg.alias-analysis: optimize ##vm-field-ptr and ##alien-global instructions, and optimize out ##compare between values of different alias classes; this optimizes '[ [ >float ] bi@ [ + ] [ - ] 2bi eq? ]' down to an o-op and removes boxing from '[ [ >float ] bi@ [ + ] [ - ] 2bi = ]'

14 years agovim: highlight @ and _, don't highlight things that aren't special anymore
Joe Groff [Fri, 2 Oct 2009 03:42:28 +0000 (22:42 -0500)]
vim: highlight @ and _, don't highlight things that aren't special anymore

14 years agoadd tests for v=, vany?, vall?, vnone?
Joe Groff [Fri, 2 Oct 2009 02:24:14 +0000 (21:24 -0500)]
add tests for v=, vany?, vall?, vnone?

14 years agofold test-vector/branch sequences into a test-vector-branch instruction
Joe Groff [Fri, 2 Oct 2009 00:53:30 +0000 (19:53 -0500)]
fold test-vector/branch sequences into a test-vector-branch instruction

14 years agocompiler.cfg: don't unbox the same value more than once per basic block
Slava Pestov [Fri, 2 Oct 2009 00:41:23 +0000 (19:41 -0500)]
compiler.cfg: don't unbox the same value more than once per basic block

14 years agocompiler.cfg.instructions: remove ##box-float, ##unbox-float, ##box-vector, ##unbox...
Slava Pestov [Thu, 1 Oct 2009 23:07:50 +0000 (18:07 -0500)]
compiler.cfg.instructions: remove ##box-float, ##unbox-float, ##box-vector, ##unbox-vector since they can be expressed in terms of ##alien-double, ##set-alien-double, ##alien-vector, ##set-alien-vector, and ##allot

14 years agoadd a using
Doug Coleman [Thu, 1 Oct 2009 22:07:57 +0000 (17:07 -0500)]
add a using

14 years ago%test-vector instruction for vany?, vall?, vnone?
Joe Groff [Thu, 1 Oct 2009 20:35:38 +0000 (15:35 -0500)]
%test-vector instruction for vany?, vall?, vnone?

14 years ago%compare-vector instruction (only does v= for now)
Joe Groff [Thu, 1 Oct 2009 19:31:37 +0000 (14:31 -0500)]
%compare-vector instruction (only does v= for now)

14 years agocheck that the length of checksum-lines is correct for md
Doug Coleman [Thu, 1 Oct 2009 18:48:28 +0000 (13:48 -0500)]
check that the length of checksum-lines is correct for md

14 years agoadd software vall?, vany?, vnone? words
Joe Groff [Thu, 1 Oct 2009 18:21:10 +0000 (13:21 -0500)]
add software vall?, vany?, vnone? words

14 years agofix a stupid bug in simd rotation-matrix4
Joe Groff [Thu, 1 Oct 2009 18:04:59 +0000 (13:04 -0500)]
fix a stupid bug in simd rotation-matrix4

14 years agohelp.markup: new logic for preventing accidental double blank lines
Keith Lazuka [Thu, 1 Oct 2009 17:12:54 +0000 (13:12 -0400)]
help.markup: new logic for preventing accidental double blank lines

$subsections emits a blank line after the final link so that subsequent span text is nicely spaced away from the group of links. Prior to this bug fix, if you were to put a $heading immediately after a $subsections element, there would be 2 blank lines between them. This fixes it so that there is only a single blank line between them.

I also added a bunch of unit tests for span, block, $heading and $nl layout interactions.

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Thu, 1 Oct 2009 16:59:17 +0000 (11:59 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agofix bug in random-bytes* when no random-32* exists
Doug Coleman [Thu, 1 Oct 2009 16:58:52 +0000 (11:58 -0500)]
fix bug in random-bytes* when no random-32* exists

14 years agocpu.ppc: fix again
Slava Pestov [Thu, 1 Oct 2009 12:44:14 +0000 (07:44 -0500)]
cpu.ppc: fix again

14 years agomath.vectors.simd.functor: don't open-code simd-nth and simd-with if we cannot genera...
Slava Pestov [Thu, 1 Oct 2009 12:36:50 +0000 (07:36 -0500)]
math.vectors.simd.functor: don't open-code simd-nth and simd-with if we cannot generate double precision FP code. Should fix illegal instruction trap on CPUs with only SSE1

14 years agoremoved some superflous newlines
Phil Dawes [Thu, 1 Oct 2009 06:33:16 +0000 (07:33 +0100)]
removed some superflous newlines

14 years agowrite v? and vmask in terms of bitwise ops
Joe Groff [Thu, 1 Oct 2009 05:09:25 +0000 (00:09 -0500)]
write v? and vmask in terms of bitwise ops

14 years agoRevert "add a %blend-vector intrinsic for v?"
Joe Groff [Thu, 1 Oct 2009 04:40:37 +0000 (23:40 -0500)]
Revert "add a %blend-vector intrinsic for v?"

This reverts commit 21e4b28b67002b916d41108c23756e48ad5ca433.

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Thu, 1 Oct 2009 04:04:04 +0000 (23:04 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoadd a %blend-vector intrinsic for v?
Joe Groff [Thu, 1 Oct 2009 04:03:59 +0000 (23:03 -0500)]
add a %blend-vector intrinsic for v?

14 years agofix openbsd bootstrap
Doug Coleman [Thu, 1 Oct 2009 02:07:57 +0000 (21:07 -0500)]
fix openbsd bootstrap

14 years agoMerge branch 'master' of git://factorcode.org/git/factor into more-simd
Slava Pestov [Thu, 1 Oct 2009 01:05:16 +0000 (20:05 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor into more-simd

14 years agomath.vectors.simd: use fallbacks for hlshift, hrshift, vshuffle if parameter is not...
Slava Pestov [Thu, 1 Oct 2009 01:04:37 +0000 (20:04 -0500)]
math.vectors.simd: use fallbacks for hlshift, hrshift, vshuffle if parameter is not a literal;al; element access in int-4 on x86-64 now sign-extends the value; don't throw error at compile time if parameter for vshuffle does not have enough elements

14 years agoaccept f and t as elements of literal simd vectors, storing binary all-zeroes or...
Joe Groff [Thu, 1 Oct 2009 00:04:02 +0000 (19:04 -0500)]
accept f and t as elements of literal simd vectors, storing binary all-zeroes or all-ones

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

14 years agofix the help lints
Doug Coleman [Wed, 30 Sep 2009 23:52:01 +0000 (18:52 -0500)]
fix the help lints

14 years agocpu.ppc: update for alien intrinsic changes
Slava Pestov [Wed, 30 Sep 2009 23:22:59 +0000 (18:22 -0500)]
cpu.ppc: update for alien intrinsic changes

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Wed, 30 Sep 2009 21:18:15 +0000 (16:18 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoeradicate string C types from windows.com.*
Joe Groff [Wed, 30 Sep 2009 21:17:50 +0000 (16:17 -0500)]
eradicate string C types from windows.com.*

14 years agoimages: consolidated test suite for image decoders
Keith Lazuka [Wed, 30 Sep 2009 21:01:09 +0000 (17:01 -0400)]
images: consolidated test suite for image decoders

14 years agotools.test: added a verbose-tests? flag to control test experiment pprint verbosity
Keith Lazuka [Wed, 30 Sep 2009 20:58:07 +0000 (16:58 -0400)]
tools.test: added a verbose-tests? flag to control test experiment pprint verbosity

I needed this for my image decode unit tests because I don't want the test results to prettyprint big bitmap byte-arrays.

14 years agomake random-32* the protocol again, add a random-32 word that doesn't scale the retur...
Doug Coleman [Wed, 30 Sep 2009 20:56:02 +0000 (15:56 -0500)]
make random-32* the protocol again, add a random-32 word that doesn't scale the returned bits

14 years agoimages.gif: unit tests now use a PAM reference image to verify decoding
Keith Lazuka [Wed, 30 Sep 2009 20:35:51 +0000 (16:35 -0400)]
images.gif: unit tests now use a PAM reference image to verify decoding

14 years agocalls dispatched as per multithreaded, but checked against singleton
Phil Dawes [Wed, 30 Sep 2009 20:25:50 +0000 (21:25 +0100)]
calls dispatched as per multithreaded, but checked against singleton

14 years agoppc asm to pass vm pointer: alien + compiled code
Phil Dawes [Wed, 30 Sep 2009 20:23:53 +0000 (21:23 +0100)]
ppc asm to pass vm pointer: alien + compiled code

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Wed, 30 Sep 2009 19:13:03 +0000 (14:13 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoMerge branch 'browser' of git://github.com/klazuka/factor
Doug Coleman [Wed, 30 Sep 2009 19:10:17 +0000 (14:10 -0500)]
Merge branch 'browser' of git://github.com/klazuka/factor

14 years agohelp.markup: fix layout bug for "N more results" link in apropos content
Keith Lazuka [Wed, 30 Sep 2009 18:38:53 +0000 (14:38 -0400)]
help.markup: fix layout bug for "N more results" link in apropos content

14 years agoppc asm to pass vm pointer: inline_cache_miss, set_callstack
Phil Dawes [Wed, 30 Sep 2009 18:43:36 +0000 (19:43 +0100)]
ppc asm to pass vm pointer: inline_cache_miss, set_callstack

14 years agobreak math.vectors docs into subsections
Joe Groff [Wed, 30 Sep 2009 18:21:25 +0000 (13:21 -0500)]
break math.vectors docs into subsections

14 years agopit math.matrices and math.matrices.simd against each other in calculating matrix...
Joe Groff [Wed, 30 Sep 2009 17:58:32 +0000 (12:58 -0500)]
pit math.matrices and math.matrices.simd against each other in calculating matrix exponentials

14 years agoimages.testing: consolidated TIFF/GIF/PNG/PAM test images and wrote PAM unit tests
Keith Lazuka [Wed, 30 Sep 2009 17:33:10 +0000 (13:33 -0400)]
images.testing: consolidated TIFF/GIF/PNG/PAM test images and wrote PAM unit tests

14 years agobenchmarks for math.matrices and math.matrices.simd building and multiplying 3D matri...
Joe Groff [Wed, 30 Sep 2009 16:51:44 +0000 (11:51 -0500)]
benchmarks for math.matrices and math.matrices.simd building and multiplying 3D matrices (vector versions are still slow because v? and vmask aren't intrinsic yet)

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Wed, 30 Sep 2009 16:35:40 +0000 (11:35 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoadd a "test-mr." word to compiler.cfg.debugger equivalent to "test-mr mr."
Joe Groff [Wed, 30 Sep 2009 16:34:19 +0000 (11:34 -0500)]
add a "test-mr." word to compiler.cfg.debugger equivalent to "test-mr mr."

14 years agoimages.pam: encode and decode support for netpbm's PAM image format
Keith Lazuka [Wed, 30 Sep 2009 00:35:21 +0000 (20:35 -0400)]
images.pam: encode and decode support for netpbm's PAM image format

14 years agoimages.loader: added image encode protocol
Keith Lazuka [Wed, 30 Sep 2009 00:32:41 +0000 (20:32 -0400)]
images.loader: added image encode protocol

14 years agoMerge branch 'gif' of git://github.com/klazuka/factor
Slava Pestov [Wed, 30 Sep 2009 10:15:21 +0000 (05:15 -0500)]
Merge branch 'gif' of git://github.com/klazuka/factor

14 years agoMerge branch 'link' of git://github.com/klazuka/factor
Slava Pestov [Wed, 30 Sep 2009 10:11:21 +0000 (05:11 -0500)]
Merge branch 'link' of git://github.com/klazuka/factor

14 years agocompiler.cfg.value-numbering: fix overly-zealous ##compare-imm conversion
Slava Pestov [Wed, 30 Sep 2009 10:09:20 +0000 (05:09 -0500)]
compiler.cfg.value-numbering: fix overly-zealous ##compare-imm conversion

14 years agomath.matrices.simd: hack: replace 'first4' with '4 firstn' since latter is open-coded
Slava Pestov [Wed, 30 Sep 2009 10:00:50 +0000 (05:00 -0500)]
math.matrices.simd: hack: replace 'first4' with '4 firstn' since latter is open-coded

14 years agoVarious minor compiler tweaks: Combine address calculation with dereferencing in...
Slava Pestov [Wed, 30 Sep 2009 10:00:36 +0000 (05:00 -0500)]
Various minor compiler tweaks: Combine address calculation with dereferencing in alien accessors; convert SIMD XOR of a vector with itself into an XOR of the destination with itself; convert SIMD unbox of zero vector into XOR of the destination with itself; fix SIMD indexing on x86-64

14 years agoadd tests file for random.dummy
Doug Coleman [Wed, 30 Sep 2009 08:23:01 +0000 (03:23 -0500)]
add tests file for random.dummy

14 years agofix seed-random, random-32* -> random-32
Doug Coleman [Wed, 30 Sep 2009 08:22:11 +0000 (03:22 -0500)]
fix seed-random, random-32* -> random-32

14 years agoadd examples to checksums docs
Doug Coleman [Wed, 30 Sep 2009 07:26:32 +0000 (02:26 -0500)]
add examples to checksums docs