Joe Groff
882f40d88e
%float>integer-vector should truncate
2009-10-06 13:57:54 -05:00
Joe Groff
f7820f9b51
give cords a shot of red bull
2009-10-06 11:53:24 -05:00
Doug Coleman
8dff4776c6
handle ushort-component pngs, throw errors on adam7 interlaced pngs for now
2009-10-06 00:33:29 -05:00
Doug Coleman
7c01c09f21
reformatting compression.inflate code
2009-10-05 23:19:42 -05:00
Doug Coleman
a182b1835b
minor cleanup of compression.inflate
2009-10-05 22:34:43 -05:00
Joe Groff
fb8eeb6065
Merge branch 'master' of git://factorcode.org/git/factor
2009-10-05 22:34:41 -05:00
Joe Groff
529c444e32
add insns for vector pack, unpack, integer>float, and float>integer
2009-10-05 22:34:14 -05:00
Doug Coleman
b350345f69
Merge branch 'a7a39d3766624227966bca34f0778030592d82c2' of git://github.com/prunedtree/factor into prunedtree
2009-10-05 22:27:43 -05:00
prunedtree
3ee07c92d1
static inflate
2009-10-05 20:12:59 -07:00
Doug Coleman
b56880bfd7
fix a bug in bit-count that assumed 32bit fixnums, make bit-count work on byte-arrays, SIMD types, specialized-arrays, and aliens
2009-10-05 18:55:26 -05:00
Doug Coleman
f800285327
Merge branch 'master' of git://factorcode.org/git/factor
2009-10-05 18:34:58 -05:00
Doug Coleman
3460383cda
fix indentation, revert [ ] [ ] bi -> [ ] keep when second quotation consumes more than one object
2009-10-05 18:33:24 -05:00
Slava Pestov
55fe25ebd1
Merge branch 'master' of git://factorcode.org/git/factor
2009-10-05 18:22:09 -05:00
Slava Pestov
5b40fc6533
compiler.cfg.linear-scan: fix unit test
2009-10-05 18:21:58 -05:00
Joe Groff
b1d52517c5
Merge branch 'master' of git://factorcode.org/git/factor
2009-10-05 17:56:43 -05:00
Joe Groff
fbe810fc3b
rename SIMD vmerge and kids to (vmerge), make new vmerge more generally useful
2009-10-05 17:55:39 -05:00
Doug Coleman
81e342e755
clarify behavior of seekable/nonseekable limited streams
2009-10-05 16:16:59 -05:00
Doug Coleman
317c3f82d5
fix using
2009-10-05 13:18:45 -05:00
Doug Coleman
23288da694
Merge branch 'master' of git://factorcode.org/git/factor
2009-10-05 12:34:56 -05:00
Doug Coleman
88e2ba8f31
define tell-handle on windows nt
2009-10-05 12:34:34 -05:00
Joe Groff
cf4df7eb66
typo in vmerge-head, vmerge-tail docs
2009-10-05 11:14:14 -05:00
Slava Pestov
b4e36608da
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
2009-10-05 05:27:49 -05:00
Doug Coleman
474e02020c
use 1&& in a few places, clean up some more ui code
2009-10-04 17:50:34 -05:00
Doug Coleman
a273cbb68e
fully clean up gadgets.editors
2009-10-04 17:23:23 -05:00
Doug Coleman
41e6c8f3be
cleaning up some ui code
2009-10-04 16:43:00 -05:00
Doug Coleman
1ca81c3130
fix typo in unix.statfs.freebsd
2009-10-04 15:31:19 -05:00
Joe Groff
7ed8f00b0f
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
2009-10-03 22:57:04 -05:00
Joe Groff
626954a071
fix v? software fallback
2009-10-03 22:37:45 -05:00
Joe Groff
0c9c3d4859
add %merge-vector-head and %merge-vector-tail instructions to back vmerge
2009-10-03 21:48:53 -05:00
Joe Groff
05c722ea0c
link vmerge into math.vectors docs
2009-10-03 21:48:16 -05:00
Joe Groff
26ddc44dc0
Merge branch 'master' of git://factorcode.org/git/factor
2009-10-03 21:02:21 -05:00
Joe Groff
d3c51baf91
software version of vmerge word (to be backed by UNPCK instructions on x86 and VMRG instructions on ppc)
2009-10-03 20:22:37 -05:00
Doug Coleman
84fd08d86b
update docs for stream-tell
2009-10-03 19:39:06 -05:00
Doug Coleman
770405359e
better tests for stream-tell
2009-10-03 19:33:54 -05:00
Doug Coleman
ed1636a0c0
fix stream-tell
2009-10-03 19:26:59 -05:00
Doug Coleman
aa37a57b9a
take the buffer position into account on buffered-port stream-tell
2009-10-03 19:15:56 -05:00
Doug Coleman
00efd780c9
Merge branch 'master' of git://factorcode.org/git/factor
2009-10-03 18:27:38 -05:00
Doug Coleman
098fd0248a
support limited-streams correctly for seekable streams
2009-10-03 18:27:09 -05:00
Joe Groff
9e61c433f1
Merge branch 'master' of git://factorcode.org/git/factor
2009-10-03 11:48:56 -05:00
Joe Groff
426e560a6b
sprinkle some NaNs onto math.vectors.simd fuzz tests to improve flavor
2009-10-03 11:47:02 -05:00
Joe Groff
04bb03bb61
add intrinsics for v<=, v<, v=, v>, v>=, vunordered?
2009-10-03 11:29:34 -05:00
Slava Pestov
8a7e9740c9
math.floats.env: disable trap tests on OpenBSD i386 for now, until The World's Most Secure Operating System fixes a local DoS exploit
2009-10-03 10:59:54 -05:00
Joe Groff
74f15cfe8c
Merge branch 'master' of git://factorcode.org/git/factor
2009-10-03 10:02:26 -05:00
Slava Pestov
bcd5c5c635
Fix deploy tests and update command-line docs a bit
2009-10-03 06:53:23 -05:00
Joe Groff
4e024cbbc2
extend x86 %compare-vector to cover all comparison codes, sometimes stupidly for now
2009-10-02 23:19:56 -05:00
Slava Pestov
21eea4d88c
Allow access to command line arguments in deployed apps
2009-10-02 21:00:12 -05:00
Slava Pestov
5fc3ad92f6
cpu.arm.assembler: dust it off, update to work with contemporary Factor, and clean it up a bit
2009-10-02 20:18:34 -05:00
Joe Groff
38f413a8a6
add intrinsic for vnot/vbitnot
2009-10-02 20:04:28 -05:00
Doug Coleman
cfdaaec068
move verbose-tests? out of private, change decode-test word to set the verbose mode itself, use images.pam in images test vocabs
2009-10-02 16:20:33 -05:00
Doug Coleman
7d005111a4
i messed up a merge. weird
2009-10-02 16:05:00 -05:00
Doug Coleman
a070e9a3a9
Merge branch 'master' of git://factorcode.org/git/factor into klazuka
...
Conflicts:
basis/math/vectors/vectors-docs.factor
2009-10-02 15:59:19 -05:00
Doug Coleman
67167cf9ea
Merge branch 'docs' of git://github.com/klazuka/factor into klazuka
...
Conflicts:
basis/math/vectors/vectors-docs.factor
2009-10-02 15:58:45 -05:00
Doug Coleman
1310aff3d8
fix bitmap tests path
2009-10-02 15:54:39 -05:00
Doug Coleman
ad6c8c94cd
Merge branch 'images' of git://github.com/klazuka/factor into klazuka
2009-10-02 15:42:47 -05:00
Joe Groff
f93dcfc792
give math.vectors shuffle words their own docs subsection in anticipation of having more ops in there
2009-10-02 15:37:49 -05:00
Joe Groff
5ff3eef0df
proofreading math.vectors docs
2009-10-02 15:18:42 -05:00
Joe Groff
0821d3f370
add notes to math.vectors docs about simd booleans
2009-10-02 15:11:06 -05:00
Joe Groff
aa3392e50f
implement vand, vor, vandn, and vxor as bitwise intrinsics for simd types
2009-10-02 14:17:01 -05:00
Keith Lazuka
7ddb8d8525
tools.crossref: Added $subsection to 'M: link uses' markup list
2009-10-02 12:18:33 -04:00
Keith Lazuka
405e5d015b
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Slava Pestov
df9b0f695f
cpu.ppc: remove useless comment
2009-10-02 03:31:53 -05:00
Slava Pestov
2c136d6536
Merge branch 'reentrantvm' of git://github.com/phildawes/factor
2009-10-02 03:28:21 -05:00
Slava Pestov
a41b807f83
Merge branch 'master' of git://factorcode.org/git/factor
2009-10-02 02:32:50 -05:00
Slava Pestov
cb71fbf4fe
Fix compiler.cfg.value-numbering and math.matrices.simd unit tests
2009-10-02 02:32:35 -05:00
Doug Coleman
19b2466bda
add unit test for seeding
2009-10-02 01:55:18 -05:00
Doug Coleman
4cb927722d
add seed-random method to random.sfmt, fix formatting
2009-10-02 01:54:17 -05:00
Doug Coleman
907e401542
remove m-n-as-a-slot
2009-10-02 01:32:11 -05:00
Doug Coleman
7348241b2f
Merge branch 'master' of git://factorcode.org/git/factor
2009-10-02 01:24:34 -05:00
Slava Pestov
218d1cdd31
prettyprint.backend: fix performance problem when printing large arrays with length limit on
2009-10-02 01:23:17 -05:00
Doug Coleman
1239984625
optimizing random.sfmt
2009-10-02 01:18:18 -05:00
Doug Coleman
b8e5e84df3
sfmt uses some simd now
2009-10-02 00:40:55 -05:00
Doug Coleman
926ed2d5e1
cleaning up sfmt
2009-10-02 00:21:48 -05:00
Slava Pestov
bcbdc9e0c8
Merge branch 'master' of git://factorcode.org/git/factor into improved-aa
2009-10-02 00:21:44 -05:00
Doug Coleman
f3ef312e83
initial checkin of random.sfmt so i can refactor it
2009-10-02 00:07:29 -05:00
Slava Pestov
fb09d67936
compiler.cfg.alias-analysis: fix ##compare where operands are copies
2009-10-01 23:54:19 -05:00
Joe Groff
7583b2bfee
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/compiler/codegen/codegen.factor
2009-10-01 23:52:26 -05:00
Joe Groff
8b7a813a08
change vector logical words to reuse the input sequence types so that they work as simd fallbacks
2009-10-01 23:49:53 -05:00
Joe Groff
01736e9bec
define simd equal? methods as v= vall?
2009-10-01 23:46:37 -05:00
Slava Pestov
2a4475f85e
Fix alias analysis of a ##compare whose input is another ##compare
2009-10-01 23:20:05 -05:00
Slava Pestov
96d593dd7c
Merge branch 'master' into improved-aa
2009-10-01 23:16:54 -05:00
Joe Groff
53b265f682
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/compiler/codegen/codegen.factor
2009-10-01 23:14:16 -05:00
Slava Pestov
59e234b251
specialized-arrays: byte-array>A-array calls >c-ptr
2009-10-01 23:12:53 -05:00
Joe Groff
952498ef69
create special intrinsic wrappers for 256-vector>scalar operations so that vall?, vany?, vnone? work on 256-vectors
2009-10-01 23:07:10 -05:00
Slava Pestov
31f39ce32f
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 = ]'
2009-10-01 23:03:17 -05:00
Joe Groff
d5c4ec5357
add tests for v=, vany?, vall?, vnone?
2009-10-01 21:24:14 -05:00
Joe Groff
f9695951a0
fold test-vector/branch sequences into a test-vector-branch instruction
2009-10-01 19:53:30 -05:00
Slava Pestov
c3d81cefe9
compiler.cfg: don't unbox the same value more than once per basic block
2009-10-01 19:41:23 -05:00
Slava Pestov
b9577e2b0e
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
2009-10-01 18:07:50 -05:00
Doug Coleman
34c4bd6d8f
add a using
2009-10-01 17:07:57 -05:00
Joe Groff
d14f150b58
%test-vector instruction for vany?, vall?, vnone?
2009-10-01 15:35:38 -05:00
Joe Groff
987ced4070
%compare-vector instruction (only does v= for now)
2009-10-01 14:31:37 -05:00
Doug Coleman
5c972d9679
check that the length of checksum-lines is correct for md
2009-10-01 13:48:28 -05:00
Joe Groff
0c8a4717f2
add software vall?, vany?, vnone? words
2009-10-01 13:21:10 -05:00
Keith Lazuka
1a44b22f14
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.
2009-10-01 13:15:28 -04:00
Doug Coleman
be110afe27
Merge branch 'master' of git://factorcode.org/git/factor
2009-10-01 11:59:17 -05:00
Doug Coleman
ccc69a5ef4
fix bug in random-bytes* when no random-32* exists
2009-10-01 11:58:52 -05:00
Slava Pestov
69829a534d
cpu.ppc: fix again
2009-10-01 07:44:14 -05:00
Slava Pestov
0db97d536f
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
2009-10-01 07:36:50 -05:00
Joe Groff
5ac5a74cc6
write v? and vmask in terms of bitwise ops
2009-10-01 00:09:25 -05:00
Joe Groff
a93f8f66f9
Revert "add a %blend-vector intrinsic for v?"
...
This reverts commit 21e4b28b67
.
2009-09-30 23:40:37 -05:00