]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Wed, 7 Oct 2009 17:47:44 +0000 (12:47 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agofix ##load-constant/##scalar>vector folding when constant is a fixnum
Joe Groff [Wed, 7 Oct 2009 17:46:08 +0000 (12:46 -0500)]
fix ##load-constant/##scalar>vector folding when constant is a fixnum

14 years agoconvert all-ones vector ##load-reference/##load-constant to a ##fill-vector insn
Joe Groff [Wed, 7 Oct 2009 17:35:21 +0000 (12:35 -0500)]
convert all-ones vector ##load-reference/##load-constant to a ##fill-vector insn

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Wed, 7 Oct 2009 17:33:44 +0000 (12:33 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agosse doesn't actually have an unsigned->unsigned pack instruction
Joe Groff [Wed, 7 Oct 2009 17:00:31 +0000 (12:00 -0500)]
sse doesn't actually have an unsigned->unsigned pack instruction

14 years agovm: replace generations array with individual instance variables referencing zone...
Slava Pestov [Wed, 7 Oct 2009 16:59:59 +0000 (11:59 -0500)]
vm: replace generations array with individual instance variables referencing zone objects

14 years agodon't generate a ##not-vector instruction if the cpu doesn't have one; instead, fall...
Joe Groff [Wed, 7 Oct 2009 16:59:36 +0000 (11:59 -0500)]
don't generate a ##not-vector instruction if the cpu doesn't have one; instead, fall back to a ##fill-vector/##xor-vector combo. get rid of pretend %not-vector in cpu.x86

14 years agofix math.vectors.simd test load failure
Joe Groff [Wed, 7 Oct 2009 16:56:57 +0000 (11:56 -0500)]
fix math.vectors.simd test load failure

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Wed, 7 Oct 2009 16:52:34 +0000 (11:52 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agodisassemble can handle anonymous quotations
Phil Dawes [Wed, 7 Oct 2009 18:18:29 +0000 (19:18 +0100)]
disassemble can handle anonymous quotations

14 years agovm: rename a few things
Slava Pestov [Wed, 7 Oct 2009 13:40:28 +0000 (08:40 -0500)]
vm: rename a few things

14 years agovm: more code cleanups
Slava Pestov [Wed, 7 Oct 2009 13:33:54 +0000 (08:33 -0500)]
vm: more code cleanups

14 years agoEuler 051 : added unit test, integration, author
Jon Harper [Wed, 7 Oct 2009 12:28:36 +0000 (21:28 +0900)]
Euler 051 : added unit test, integration, author

14 years agoAdding bit fields to STRUCT:
Daniel Ehrenberg [Wed, 7 Oct 2009 06:43:32 +0000 (01:43 -0500)]
Adding bit fields to STRUCT:

14 years agoAdd S3 vocab
Chris Double [Wed, 7 Oct 2009 02:54:18 +0000 (15:54 +1300)]
Add S3 vocab

14 years agobreak vector conversion intrinsics off to a math.vectors.conversion.backend vocab...
Joe Groff [Wed, 7 Oct 2009 02:28:33 +0000 (21:28 -0500)]
break vector conversion intrinsics off to a math.vectors.conversion.backend vocab so the whole conversion vocab doesn't get sucked in by the compiler

14 years agovm: more refactoring
Slava Pestov [Wed, 7 Oct 2009 01:45:47 +0000 (20:45 -0500)]
vm: more refactoring

14 years agofix x86 %unpack-vector insns
Joe Groff [Wed, 7 Oct 2009 01:38:51 +0000 (20:38 -0500)]
fix x86 %unpack-vector insns

14 years agouse iota in crypto.xor
Doug Coleman [Wed, 7 Oct 2009 01:29:43 +0000 (20:29 -0500)]
use iota in crypto.xor

14 years agoadd a test for compression.inflate
Doug Coleman [Wed, 7 Oct 2009 01:28:43 +0000 (20:28 -0500)]
add a test for compression.inflate

14 years agocleaning up huffman and inflate code
Doug Coleman [Wed, 7 Oct 2009 01:22:53 +0000 (20:22 -0500)]
cleaning up huffman and inflate code

14 years agoadd some math.vectors.conversion tests to cover some failing cases
Joe Groff [Wed, 7 Oct 2009 01:21:08 +0000 (20:21 -0500)]
add some math.vectors.conversion tests to cover some failing cases

14 years agoglue conversion intrinsics to instructions
Joe Groff [Wed, 7 Oct 2009 01:13:38 +0000 (20:13 -0500)]
glue conversion intrinsics to instructions

14 years agooops...PACKUSDW is sse4 only
Joe Groff [Wed, 7 Oct 2009 01:09:50 +0000 (20:09 -0500)]
oops...PACKUSDW is sse4 only

14 years agovm: refactor forwarding pointer logic
Slava Pestov [Wed, 7 Oct 2009 00:15:54 +0000 (19:15 -0500)]
vm: refactor forwarding pointer logic

14 years agoassert that vconvert's inputs are of the right type
Joe Groff [Tue, 6 Oct 2009 22:42:36 +0000 (17:42 -0500)]
assert that vconvert's inputs are of the right type

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Tue, 6 Oct 2009 21:53:25 +0000 (16:53 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agomath.vectors.conversion vocab with primitive words (to be mapped to intrinsics soon...
Joe Groff [Tue, 6 Oct 2009 19:00:16 +0000 (14:00 -0500)]
math.vectors.conversion vocab with primitive words (to be mapped to intrinsics soon) and a super all-in-one "vconvert" macro wrapping the whole thing

14 years ago%float>integer-vector should truncate
Joe Groff [Tue, 6 Oct 2009 18:57:54 +0000 (13:57 -0500)]
%float>integer-vector should truncate

14 years agogive cords a shot of red bull
Joe Groff [Tue, 6 Oct 2009 15:46:09 +0000 (10:46 -0500)]
give cords a shot of red bull

14 years agovm: simplify some code
Slava Pestov [Tue, 6 Oct 2009 13:55:42 +0000 (08:55 -0500)]
vm: simplify some code

14 years agovm: faster zone::contains_p()
Slava Pestov [Tue, 6 Oct 2009 11:47:56 +0000 (06:47 -0500)]
vm: faster zone::contains_p()

14 years agovm: simplify logic
Slava Pestov [Tue, 6 Oct 2009 11:36:43 +0000 (06:36 -0500)]
vm: simplify logic

14 years agovm: put code block owner directly in the header, instead of as the first entry in...
Slava Pestov [Tue, 6 Oct 2009 11:25:07 +0000 (06:25 -0500)]
vm: put code block owner directly in the header, instead of as the first entry in the literal table. Reduces x86-64 image size by ~700kb, also eliminates separate 'strip' set of staging images from deploy tool

14 years agovm: free up a cell in compiled code block headers
Slava Pestov [Tue, 6 Oct 2009 10:52:45 +0000 (05:52 -0500)]
vm: free up a cell in compiled code block headers

14 years agovm: tweak
Slava Pestov [Tue, 6 Oct 2009 09:57:44 +0000 (04:57 -0500)]
vm: tweak

14 years agovm: add a remembered set for code blocks which may reference young literals. Improves...
Slava Pestov [Tue, 6 Oct 2009 09:36:34 +0000 (04:36 -0500)]
vm: add a remembered set for code blocks which may reference young literals. Improves loading time

14 years agovm: number of generations is not configurable anymore, split up begin_gc() and end_gc...
Slava Pestov [Tue, 6 Oct 2009 07:39:12 +0000 (02:39 -0500)]
vm: number of generations is not configurable anymore, split up begin_gc() and end_gc() into collect_{nursery,aging,aging_again,tenured}()

14 years agovm: cleanup
Slava Pestov [Tue, 6 Oct 2009 06:42:17 +0000 (01:42 -0500)]
vm: cleanup

14 years agoMerge branch 'master' into new_gc
Slava Pestov [Tue, 6 Oct 2009 06:31:50 +0000 (01:31 -0500)]
Merge branch 'master' into new_gc

14 years agovm: minor tweaks which reduce image size by ~300kb
Slava Pestov [Tue, 6 Oct 2009 06:31:39 +0000 (01:31 -0500)]
vm: minor tweaks which reduce image size by ~300kb

14 years agohandle ushort-component pngs, throw errors on adam7 interlaced pngs for now
Doug Coleman [Tue, 6 Oct 2009 05:33:29 +0000 (00:33 -0500)]
handle ushort-component pngs, throw errors on adam7 interlaced pngs for now

14 years agovm: more GC refactoring
Slava Pestov [Tue, 6 Oct 2009 05:13:54 +0000 (00:13 -0500)]
vm: more GC refactoring

14 years agoreformatting compression.inflate code
Doug Coleman [Tue, 6 Oct 2009 04:19:42 +0000 (23:19 -0500)]
reformatting compression.inflate code

14 years agominor cleanup of compression.inflate
Doug Coleman [Tue, 6 Oct 2009 03:34:43 +0000 (22:34 -0500)]
minor cleanup of compression.inflate

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Tue, 6 Oct 2009 03:34:41 +0000 (22:34 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoadd insns for vector pack, unpack, integer>float, and float>integer
Joe Groff [Tue, 6 Oct 2009 02:01:34 +0000 (21:01 -0500)]
add insns for vector pack, unpack, integer>float, and float>integer

14 years agoMerge branch 'a7a39d3766624227966bca34f0778030592d82c2' of git://github.com/prunedtre...
Doug Coleman [Tue, 6 Oct 2009 03:27:43 +0000 (22:27 -0500)]
Merge branch 'a7a39d3766624227966bca34f0778030592d82c2' of git://github.com/prunedtree/factor into prunedtree

14 years agovm: refactoring garbage collector
Slava Pestov [Tue, 6 Oct 2009 03:16:08 +0000 (22:16 -0500)]
vm: refactoring garbage collector

14 years agostatic inflate
prunedtree [Tue, 6 Oct 2009 03:12:59 +0000 (20:12 -0700)]
static inflate

14 years agofix a bug in bit-count that assumed 32bit fixnums, make bit-count work on byte-arrays...
Doug Coleman [Mon, 5 Oct 2009 23:55:26 +0000 (18:55 -0500)]
fix a bug in bit-count that assumed 32bit fixnums, make bit-count work on byte-arrays, SIMD types, specialized-arrays, and aliens

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Mon, 5 Oct 2009 23:34:58 +0000 (18:34 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agofix indentation, revert [ ] [ ] bi -> [ ] keep when second quotation consumes more...
Doug Coleman [Mon, 5 Oct 2009 23:33:24 +0000 (18:33 -0500)]
fix indentation, revert [ ] [ ] bi -> [ ] keep when second quotation consumes more than one object

14 years agoMerge branch 'for-slava' of git://git.rfc1149.net/factor
Slava Pestov [Mon, 5 Oct 2009 23:29:31 +0000 (18:29 -0500)]
Merge branch 'for-slava' of git://git.rfc1149.net/factor

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Mon, 5 Oct 2009 23:22:09 +0000 (18:22 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocompiler.cfg.linear-scan: fix unit test
Slava Pestov [Mon, 5 Oct 2009 23:21:58 +0000 (18:21 -0500)]
compiler.cfg.linear-scan: fix unit test

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Mon, 5 Oct 2009 22:56:43 +0000 (17:56 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agorename SIMD vmerge and kids to (vmerge), make new vmerge more generally useful
Joe Groff [Mon, 5 Oct 2009 22:55:39 +0000 (17:55 -0500)]
rename SIMD vmerge and kids to (vmerge), make new vmerge more generally useful

14 years agoclarify behavior of seekable/nonseekable limited streams
Doug Coleman [Mon, 5 Oct 2009 21:16:59 +0000 (16:16 -0500)]
clarify behavior of seekable/nonseekable limited streams

14 years agofix using
Doug Coleman [Mon, 5 Oct 2009 18:18:45 +0000 (13:18 -0500)]
fix using

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Mon, 5 Oct 2009 17:34:56 +0000 (12:34 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agodefine tell-handle on windows nt
Doug Coleman [Mon, 5 Oct 2009 17:34:34 +0000 (12:34 -0500)]
define tell-handle on windows nt

14 years agotypo in vmerge-head, vmerge-tail docs
Joe Groff [Mon, 5 Oct 2009 16:14:14 +0000 (11:14 -0500)]
typo in vmerge-head, vmerge-tail docs

14 years agomath.matrices.simd: add an inline declaration
Slava Pestov [Mon, 5 Oct 2009 10:29:30 +0000 (05:29 -0500)]
math.matrices.simd: add an inline declaration

14 years agocompiler.cfg: remove _gc instruction, it doesn't need to exist, and change GC checks...
Slava Pestov [Mon, 5 Oct 2009 10:27:49 +0000 (05:27 -0500)]
compiler.cfg: remove _gc instruction, it doesn't need to exist, and change GC checks to ensure that the right amount of space is available instead of blindly checking for 1Kb

14 years agovm: fix VM constructor
Slava Pestov [Mon, 5 Oct 2009 09:31:35 +0000 (04:31 -0500)]
vm: fix VM constructor

14 years agovm: remove debug message
Slava Pestov [Mon, 5 Oct 2009 08:28:36 +0000 (03:28 -0500)]
vm: remove debug message

14 years agoChange C++ exception usage back into a longjmp() due to GCC bugs
Slava Pestov [Mon, 5 Oct 2009 08:27:28 +0000 (03:27 -0500)]
Change C++ exception usage back into a longjmp() due to GCC bugs

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Mon, 5 Oct 2009 01:30:03 +0000 (20:30 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agouse 1&& in a few places, clean up some more ui code
Doug Coleman [Sun, 4 Oct 2009 22:50:34 +0000 (17:50 -0500)]
use 1&& in a few places, clean up some more ui code

14 years agofully clean up gadgets.editors
Doug Coleman [Sun, 4 Oct 2009 22:23:23 +0000 (17:23 -0500)]
fully clean up gadgets.editors

14 years agocleaning up some ui code
Doug Coleman [Sun, 4 Oct 2009 21:43:00 +0000 (16:43 -0500)]
cleaning up some ui code

14 years agoclean up frustum-matrix4
Joe Groff [Sun, 4 Oct 2009 21:29:03 +0000 (16:29 -0500)]
clean up frustum-matrix4

14 years agocleaner implementation of translation-matrix4
Joe Groff [Sun, 4 Oct 2009 20:37:22 +0000 (15:37 -0500)]
cleaner implementation of translation-matrix4

14 years agofix typo in unix.statfs.freebsd
Doug Coleman [Sun, 4 Oct 2009 20:31:19 +0000 (15:31 -0500)]
fix typo in unix.statfs.freebsd

14 years agohelp.html: with-nesting-block now maps to an HTML DIV with display: inline-block...
Keith Lazuka [Sun, 4 Oct 2009 11:17:54 +0000 (07:17 -0400)]
help.html: with-nesting-block now maps to an HTML DIV with display: inline-block CSS style

This change allowed me to remove the old hack that suppressed newlines
in the stream if they occurred immediately after a DIV.

14 years agolet's work with cygwin here..._ftelli64 -> ftello64 on cygwin. fine i guess
Doug Coleman [Sun, 4 Oct 2009 11:10:57 +0000 (06:10 -0500)]
let's work with cygwin here..._ftelli64 -> ftello64 on cygwin.  fine i guess

14 years agoMerge branch 'master' of git://factorcode.org/git/factor into bleeding_edge
Jon Harper [Sun, 4 Oct 2009 06:23:56 +0000 (15:23 +0900)]
Merge branch 'master' of git://factorcode.org/git/factor into bleeding_edge

14 years agogo back to using random instead of uniform-random-float in math.vectors.simd tests...
Joe Groff [Sun, 4 Oct 2009 03:57:04 +0000 (22:57 -0500)]
go back to using random instead of uniform-random-float in math.vectors.simd tests because the software and SIMD implementations of norm and v. can sporadically diverge when their different operation orders lead to cancellation of catastrophically small inputs

14 years agorice out transpose-matrix4 and diagonal-matrix4 using vmerge
Joe Groff [Sun, 4 Oct 2009 03:48:41 +0000 (22:48 -0500)]
rice out transpose-matrix4 and diagonal-matrix4 using vmerge

14 years agofix v? software fallback
Joe Groff [Sun, 4 Oct 2009 03:37:35 +0000 (22:37 -0500)]
fix v? software fallback

14 years agoadd %merge-vector-head and %merge-vector-tail instructions to back vmerge
Joe Groff [Sun, 4 Oct 2009 02:48:53 +0000 (21:48 -0500)]
add %merge-vector-head and %merge-vector-tail instructions to back vmerge

14 years agolink vmerge into math.vectors docs
Joe Groff [Sun, 4 Oct 2009 02:48:16 +0000 (21:48 -0500)]
link vmerge into math.vectors docs

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Sun, 4 Oct 2009 02:02:21 +0000 (21:02 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agosoftware version of vmerge word (to be backed by UNPCK instructions on x86 and VMRG...
Joe Groff [Sun, 4 Oct 2009 01:22:37 +0000 (20:22 -0500)]
software version of vmerge word (to be backed by UNPCK instructions on x86 and VMRG instructions on ppc)

14 years agoupdate docs for stream-tell
Doug Coleman [Sun, 4 Oct 2009 00:39:06 +0000 (19:39 -0500)]
update docs for stream-tell

14 years agobetter tests for stream-tell
Doug Coleman [Sun, 4 Oct 2009 00:33:54 +0000 (19:33 -0500)]
better tests for stream-tell

14 years agofix stream-tell
Doug Coleman [Sun, 4 Oct 2009 00:26:59 +0000 (19:26 -0500)]
fix stream-tell

14 years agotake the buffer position into account on buffered-port stream-tell
Doug Coleman [Sun, 4 Oct 2009 00:15:56 +0000 (19:15 -0500)]
take the buffer position into account on buffered-port stream-tell

14 years agoadd unit test for c stream-tell
Doug Coleman [Sun, 4 Oct 2009 00:07:16 +0000 (19:07 -0500)]
add unit test for c stream-tell

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Sat, 3 Oct 2009 23:27:38 +0000 (18:27 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agosupport limited-streams correctly for seekable streams
Doug Coleman [Sat, 3 Oct 2009 23:27:09 +0000 (18:27 -0500)]
support limited-streams correctly for seekable streams

14 years agoadd ftell primitive
Doug Coleman [Sat, 3 Oct 2009 23:20:35 +0000 (18:20 -0500)]
add ftell primitive

14 years agoMerge branch 'master' of git://factorcode.org/git/factor into bleeding_edge
Jon Harper [Sat, 3 Oct 2009 18:26:14 +0000 (03:26 +0900)]
Merge branch 'master' of git://factorcode.org/git/factor into bleeding_edge

14 years agomore library usage and readability improvements
Jon Harper [Sat, 3 Oct 2009 18:18:04 +0000 (03:18 +0900)]
more library usage and readability improvements

14 years agoMerge branch 'master' of git://factorcode.org/git/factor into bleeding_edge
Jon Harper [Thu, 1 Oct 2009 11:25:48 +0000 (20:25 +0900)]
Merge branch 'master' of git://factorcode.org/git/factor into bleeding_edge

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Sat, 3 Oct 2009 16:48:56 +0000 (11:48 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agosprinkle some NaNs onto math.vectors.simd fuzz tests to improve flavor
Joe Groff [Sat, 3 Oct 2009 16:47:02 +0000 (11:47 -0500)]
sprinkle some NaNs onto math.vectors.simd fuzz tests to improve flavor

14 years agoadd intrinsics for v<=, v<, v=, v>, v>=, vunordered?
Joe Groff [Sat, 3 Oct 2009 16:29:34 +0000 (11:29 -0500)]
add intrinsics for v<=, v<, v=, v>, v>=, vunordered?

14 years agoRemove two small memory leaks on Linux
Samuel Tardieu [Sat, 3 Oct 2009 16:17:55 +0000 (18:17 +0200)]
Remove two small memory leaks on Linux