]> gitweb.factorcode.org Git - factor.git/log
factor.git
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 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 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 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 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: 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 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 '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 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 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
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

14 years agomath.floats.env: disable trap tests on OpenBSD i386 for now, until The World's Most...
Slava Pestov [Sat, 3 Oct 2009 15:59:54 +0000 (10:59 -0500)]
math.floats.env: disable trap tests on OpenBSD i386 for now, until The World's Most Secure Operating System fixes a local DoS exploit

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Sat, 3 Oct 2009 15:02:26 +0000 (10:02 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agovm.hpp: fix typo
Slava Pestov [Sat, 3 Oct 2009 14:47:06 +0000 (09:47 -0500)]
vm.hpp: fix typo

14 years agoBig VM cleanup
Slava Pestov [Sat, 3 Oct 2009 13:47:05 +0000 (08:47 -0500)]
Big VM cleanup
- Move forward declarations of 'struct factor_vm' to one place
- Rename template parameters from T and TYPE to descriptive names. New convention: CamelCase for template parameters
- Change some higher-order functions taking function pointers into templates, and define classes overriding operator(). There's a bit of new boilerplate here but its more consistent than the old mish-mash approaches
- Put GC state into a gc_state struct
- Use exceptions instead of longjmp for non-local control transfer in GC
- In code GC, instead of interleaving code block tracing with copying, add code blocks which need to be revisited to an std::set stored in the gc_state

14 years agoFix deploy tests and update command-line docs a bit
Slava Pestov [Sat, 3 Oct 2009 11:53:23 +0000 (06:53 -0500)]
Fix deploy tests and update command-line docs a bit

14 years agoextend x86 %compare-vector to cover all comparison codes, sometimes stupidly for now
Joe Groff [Sat, 3 Oct 2009 04:19:56 +0000 (23:19 -0500)]
extend x86 %compare-vector to cover all comparison codes, sometimes stupidly for now

14 years agoAllow access to command line arguments in deployed apps
Slava Pestov [Sat, 3 Oct 2009 02:00:12 +0000 (21:00 -0500)]
Allow access to command line arguments in deployed apps

14 years agovm: cleanup in os-genunix.cpp
Slava Pestov [Sat, 3 Oct 2009 01:36:19 +0000 (20:36 -0500)]
vm: cleanup in os-genunix.cpp

14 years agocpu.arm.assembler: dust it off, update to work with contemporary Factor, and clean...
Slava Pestov [Sat, 3 Oct 2009 01:18:34 +0000 (20:18 -0500)]
cpu.arm.assembler: dust it off, update to work with contemporary Factor, and clean it up a bit

14 years agoadd intrinsic for vnot/vbitnot
Joe Groff [Sat, 3 Oct 2009 01:04:28 +0000 (20:04 -0500)]
add intrinsic for vnot/vbitnot

14 years agoMerge branch 'klazuka'
Doug Coleman [Fri, 2 Oct 2009 21:22:10 +0000 (16:22 -0500)]
Merge branch 'klazuka'

14 years agomove verbose-tests? out of private, change decode-test word to set the verbose mode...
Doug Coleman [Fri, 2 Oct 2009 21:20:33 +0000 (16:20 -0500)]
move verbose-tests? out of private, change decode-test word to set the verbose mode itself, use images.pam in images test vocabs

14 years agoi messed up a merge. weird
Doug Coleman [Fri, 2 Oct 2009 21:05:00 +0000 (16:05 -0500)]
i messed up a merge.  weird

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 agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Fri, 2 Oct 2009 20:55:07 +0000 (15:55 -0500)]
Merge branch 'master' of git://factorcode.org/git/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