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
Joe Groff
67cc45235d
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-30 23:04:04 -05:00
Joe Groff
7db7b63552
add a %blend-vector intrinsic for v?
2009-09-30 23:03:59 -05:00
Doug Coleman
0e97398da8
fix openbsd bootstrap
2009-09-30 21:07:57 -05:00
Slava Pestov
e79049ad0a
Merge branch 'master' of git://factorcode.org/git/factor into more-simd
2009-09-30 20:05:16 -05:00
Slava Pestov
2384b630b2
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
2009-09-30 20:04:37 -05:00
Joe Groff
e56cd5cc12
accept f and t as elements of literal simd vectors, storing binary all-zeroes or all-ones
2009-09-30 19:04:02 -05:00
Doug Coleman
e8db7b62a4
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-30 18:52:18 -05:00
Doug Coleman
129b741437
fix the help lints
2009-09-30 18:52:01 -05:00
Slava Pestov
a7dd4ad5cc
cpu.ppc: update for alien intrinsic changes
2009-09-30 18:22:59 -05:00
Joe Groff
b8c2fc6627
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-30 16:18:15 -05:00
Joe Groff
f83698948f
eradicate string C types from windows.com.*
2009-09-30 16:17:50 -05:00
Keith Lazuka
31e34acc01
images: consolidated test suite for image decoders
2009-09-30 17:01:09 -04:00
Keith Lazuka
6e12c254ef
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.
2009-09-30 16:58:07 -04:00
Doug Coleman
ef237777c3
make random-32* the protocol again, add a random-32 word that doesn't scale the returned bits
2009-09-30 15:56:02 -05:00
Keith Lazuka
7484bb73ae
images.gif: unit tests now use a PAM reference image to verify decoding
2009-09-30 16:35:51 -04:00
Phil Dawes
bc70311e69
ppc asm to pass vm pointer: alien + compiled code
2009-09-30 21:23:53 +01:00
Doug Coleman
9b5690a8ad
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-30 14:13:03 -05:00
Doug Coleman
9ca974fc7d
Merge branch 'browser' of git://github.com/klazuka/factor
2009-09-30 14:10:17 -05:00
Keith Lazuka
f58e913336
help.markup: fix layout bug for "N more results" link in apropos content
2009-09-30 15:06:29 -04:00
Joe Groff
e0f3b72c65
break math.vectors docs into subsections
2009-09-30 13:21:25 -05:00
Keith Lazuka
19107de7d8
images.testing: consolidated TIFF/GIF/PNG/PAM test images and wrote PAM unit tests
2009-09-30 13:33:10 -04:00
Joe Groff
2625f2d210
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-30 11:35:40 -05:00
Joe Groff
cb646db54a
add a "test-mr." word to compiler.cfg.debugger equivalent to "test-mr mr."
2009-09-30 11:34:19 -05:00
Keith Lazuka
f297e88987
images.loader: added image encode protocol
2009-09-30 10:00:18 -04:00
Slava Pestov
17b52314dc
Merge branch 'gif' of git://github.com/klazuka/factor
2009-09-30 05:15:21 -05:00
Slava Pestov
da623ba29a
Merge branch 'link' of git://github.com/klazuka/factor
2009-09-30 05:11:21 -05:00
Slava Pestov
b677822b76
compiler.cfg.value-numbering: fix overly-zealous ##compare-imm conversion
2009-09-30 05:09:20 -05:00
Slava Pestov
cdc7b7e2c7
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
2009-09-30 05:00:36 -05:00
Doug Coleman
73d2099faf
add tests file for random.dummy
2009-09-30 03:23:01 -05:00
Doug Coleman
61583862fa
fix seed-random, random-32* -> random-32
2009-09-30 03:22:11 -05:00
Slava Pestov
9210a9a79c
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-30 02:21:22 -05:00
Slava Pestov
1da18d06b1
compiler.cfg.value-numbering: add some more rewrite rules, neg/neg, not/not, and a few for SIMD
2009-09-30 02:18:29 -05:00
Joe Groff
7e679e1683
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-30 00:07:45 -05:00
Joe Groff
55ab9c3002
docs for new math.vectors logical ops
2009-09-30 00:07:37 -05:00
Slava Pestov
d70b95e4b8
math.vectors.simd: fix bad comparison logic in unit tests
2009-09-29 23:46:21 -05:00
Slava Pestov
0a29e64287
math.functions: ~ now raises an invalid operation FP trap if one of the inputs is NaN
2009-09-29 23:41:08 -05:00
Slava Pestov
86118ce56a
generalizations: make napply work with non-literal quotations
2009-09-29 23:28:43 -05:00
Slava Pestov
eeb601dade
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-29 22:59:58 -05:00
Slava Pestov
80e84a357d
math.vectors.simd: add vbroadcast intrinsic, fix integer overflow issues
2009-09-29 22:58:20 -05:00
Joe Groff
1e1072f540
math.matrices.simd versions of frustum-matrix4 and rotation-matrix4
2009-09-29 22:54:11 -05:00
Slava Pestov
810cd7b4bb
compiler.cfg.ssa.destruction: don't coalesce registers with different representations, even if they're in the same register class, since this messes up spilling
2009-09-29 22:28:20 -05:00
Joe Groff
5e16592596
add a "vmask" vector op to selectively zero out elements
2009-09-29 18:10:36 -05:00
Slava Pestov
6f2c57144d
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-29 04:49:35 -05:00
Slava Pestov
f395d83379
math.vectors.simd: add fast intrinsic for 'nth', replace broadcast primitive with shuffles
2009-09-29 04:48:11 -05:00
Slava Pestov
6382aaabd5
Merge branch 'more-simd'
2009-09-28 23:12:48 -05:00
Slava Pestov
e40a95c1e1
math.vectors.simd: add vshuffle intrinsic
2009-09-28 23:12:13 -05:00
Joe Groff
29404db2d9
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-28 20:38:03 -05:00
Joe Groff
d7db62a145
make byte-arrays and specialized-arrays reveal their elements through the inspector
2009-09-28 20:34:42 -05:00
Joe Groff
02666b2491
catch a one-in-a-million failure in game-input.dinput backend
2009-09-28 19:53:46 -05:00
Slava Pestov
0b0a2c5ce4
unix.statvfs.netbsd: update for C type parser change
2009-09-28 19:38:00 -05:00
Joe Groff
44f393771b
change CALLBACK: to use the ABI of the current LIBRARY: and get rid of STDCALL-CALLBACK:
2009-09-28 19:27:28 -05:00
Slava Pestov
a8ea929ad9
Work in progress
2009-09-28 17:31:34 -05:00
Doug Coleman
9b64d206ff
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-28 17:16:26 -05:00
Doug Coleman
5b8460ad16
fix ui startup
2009-09-28 17:16:16 -05:00
Slava Pestov
e1a9b25562
cpu.ppc: update for %unary/binary-float-function change
2009-09-28 16:40:52 -05:00
Slava Pestov
4202211293
cpu.x86: cleanups
2009-09-28 16:38:35 -05:00
Slava Pestov
f59b842d9b
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-28 16:33:51 -05:00
Slava Pestov
48d3f10c81
Fix some load errors in various places
2009-09-28 16:33:39 -05:00
Doug Coleman
be8033a39f
limit the byte-reader streams when loading images
2009-09-28 16:29:56 -05:00
Doug Coleman
5b924ff910
move images.http to extra so it can use images.viewer, fix load-http-image
2009-09-28 16:12:12 -05:00
Doug Coleman
f51dd8fe2f
Merge branch 'master' into png2
2009-09-28 15:59:48 -05:00
Doug Coleman
4fbdcc72aa
fix jpeg loading
2009-09-28 15:59:32 -05:00
Doug Coleman
d7626b177a
fix png loading
2009-09-28 15:59:20 -05:00
Doug Coleman
8755f0bba0
fix a stack effect
2009-09-28 15:59:02 -05:00
Doug Coleman
69229032c2
define a method on stream-element-type, fix a bug in unlimited-input and add a unit test
2009-09-28 15:51:40 -05:00
Doug Coleman
2dd89b4c5d
dont load tiff by default
2009-09-28 15:15:42 -05:00
Doug Coleman
49deeb6ed3
Merge branch 'png' of git://github.com/klazuka/factor into png2
2009-09-28 15:02:03 -05:00
Keith Lazuka
47c2864de3
compression.lzw: additional refactoring
2009-09-28 16:01:25 -04:00
Keith Lazuka
f5c4fbb10c
compression.lzw: better naming
2009-09-28 16:01:24 -04:00
Keith Lazuka
46a768befb
compression.lzw: added documentation
2009-09-28 16:01:23 -04:00
Keith Lazuka
53789bef1b
definitions.icons: converted TIFF icons to PNG
...
Slava, don't forget to copy these PNGs into the "/icons" root on docs.factorcode.org
2009-09-28 15:53:39 -04:00
Doug Coleman
1fb7cf37c4
make a png-image type instead of having a singleton class
2009-09-28 14:50:36 -05:00
Doug Coleman
bf2cfd0aa6
Merge branch 'png' of git://github.com/klazuka/factor
2009-09-28 14:29:00 -05:00
Doug Coleman
438e848356
fix reverse png filtering with klazuka's idea
2009-09-28 14:20:44 -05:00
Joe Groff
01f526ff28
use PSHUFD for longlong-2 broadcast when dst != src to avoid a %copy
2009-09-28 12:04:08 -05:00
Joe Groff
7520da41cc
use MOVDDUP for double-2 broadcast to eliminate a %copy
2009-09-28 12:00:03 -05:00
Joe Groff
2e8bb98781
cpu.x86.assembler: make SSE shuffle instructions accept an array of indexes so they're easier to use
2009-09-28 11:45:45 -05:00
Joe Groff
965730efbe
SSE integer gather and broadcast
2009-09-28 11:24:08 -05:00
Keith Lazuka
f45a6df8e5
images.png: teased apart PNG parse and decode phases to match images.tiff and images.gif
2009-09-28 11:21:35 -04:00
Keith Lazuka
bdd47b9991
help.markup: word link stack effect is now clickable
2009-09-28 10:44:46 -04:00
Slava Pestov
4abfe06b51
Fixing various test failures caused by C type parser change, and clarify C type docs some more
2009-09-28 08:48:39 -05:00
Slava Pestov
49d07971ef
windows.kernel/user32: update for C type parser changes
2009-09-28 06:41:26 -05:00
Slava Pestov
fb68d11407
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-28 06:40:55 -05:00
Slava Pestov
21f918adb6
io.backend.unix.multiplexers: add meta-data
2009-09-28 06:38:23 -05:00
Slava Pestov
9a06e6f424
math.vectors.simd: add intrinsic for int-4-boa, uint-4-boa, fix tests for C type parser change, fix software fallback for horizontal shifts
2009-09-28 06:34:22 -05:00
Slava Pestov
7ee8144259
alien.parser: fix unit tests
2009-09-28 05:42:41 -05:00
Slava Pestov
08a2eb74f4
cpu.x86: shifts didn't work if dst != src1; re-organize file a bit
2009-09-28 05:39:53 -05:00
Slava Pestov
3917f404e9
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-28 04:52:43 -05:00
Slava Pestov
f73bb2d068
cpu.x86.32: fix %unary/binary-float-function on Windows; need to look up symbols in libm and not VM binary
2009-09-28 04:51:53 -05:00
Slava Pestov
efe8f3c74c
unix.linux: fix load errors from c-type changes
2009-09-28 04:26:05 -05:00
Phil Dawes
6fa0a93498
ppc asm to pass vm pointer: initial bootstrap
2009-09-28 07:48:37 +01:00
Slava Pestov
253db8fee0
unix.statvfs.netbsd: load fix
2009-09-27 22:56:45 -05:00
Slava Pestov
da5f0d0a14
compiler.cfg.ssa.destruction: we can coalesce two registers with different representations as long as they both belong to the same register class
2009-09-28 03:24:54 -05:00
Slava Pestov
530accdad9
io.mmap: fix obsolete tests and get code to inline better
2009-09-28 03:18:27 -05:00
Slava Pestov
64a7fd0a4d
ui.tools.listener: add 'Help' button, and print message when listener exits, to reduce confusion if user presses C+d
2009-09-28 02:38:06 -05:00
Slava Pestov
7e4b9b6377
cpu.x86: fix regression: fsqrt intrinsic wasn't used
2009-09-28 02:27:55 -05:00
Slava Pestov
790611666c
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-28 02:19:05 -05:00
Slava Pestov
b2ea3afd84
math.vectors.simd: add hlshift, hrshift (128-bit shift), vbitandn intrinsics
2009-09-28 02:17:46 -05:00
Slava Pestov
2de6ab9e21
compiler.cfg.linear-scan: fix tests for hash order
2009-09-27 23:35:56 -05:00
Slava Pestov
1d872db58d
compiler.cfg.linear-scan: tweak it so that register allocation does not depend on hashing order
2009-09-27 23:29:48 -05:00
Joe Groff
d4bfa0a581
fill in missing USING:s in unix.linux and unix.bsd.*
2009-09-27 23:08:16 -05:00
Slava Pestov
aa3b9097c8
compiler: fix codegen test
2009-09-27 22:23:03 -05:00
Joe Groff
a14855b98a
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-27 22:21:42 -05:00
Joe Groff
866b62755e
replace all TYPEDEF: void* XXX* with C-TYPE: XXX
2009-09-27 22:21:24 -05:00
Joe Groff
543ca72632
fix linux bootstrap
2009-09-27 22:16:07 -05:00
Joe Groff
123f4fbc30
redefine C-TYPE: to forward declare opaque C types; make C type definition and redefinition a little more robust
2009-09-27 22:12:00 -05:00
Slava Pestov
ef11fa96dd
Merge branch 'master' into more_aggressive_coalescing
2009-09-27 22:03:16 -05:00
Slava Pestov
ab8c6e9978
Word hashcodes are now computed from the word's name/vocabulary, removing a source of non-determinism
2009-09-27 21:09:11 -05:00
Slava Pestov
999b22788e
compiler: add a unit test
2009-09-27 20:36:19 -05:00
Slava Pestov
59fbe85c9b
compiler.cfg: nuke ##bignum>integer and ##integer>bignum since they were unused
2009-09-27 20:36:05 -05:00
Slava Pestov
66071f45a3
Add a couple more def-is-use instructions
2009-09-27 20:34:20 -05:00
Slava Pestov
f757b454cc
Merge branch 'master' into more_aggressive_coalescing
2009-09-27 19:29:50 -05:00
Slava Pestov
d3aa0a538b
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-27 19:28:47 -05:00
Slava Pestov
705b4ab5c3
compiler.cfg.linear-scan: fix partial sync point logic in case where dst == src, and clean up spilling code
2009-09-27 19:28:20 -05:00
Joe Groff
24de21eac8
take a shot at making other platform vocabs c-type-string-free
2009-09-27 19:25:34 -05:00
Joe Groff
89045e3fd0
Merge branch 'master' into no-c-type-string
2009-09-27 18:47:02 -05:00
Joe Groff
f8251d2045
update vocabs so load-all on windows works without parsing string c-types
2009-09-27 18:41:20 -05:00
Joe Groff
4f82861bf3
update windows vocabs to load without c-type strings
2009-09-27 18:19:53 -05:00
Joe Groff
20621bbbb6
add missing USING: to alien.c-types test
2009-09-27 18:18:13 -05:00
Slava Pestov
91e63c0c6f
cpu.x86.32: implement %unary-float-function and %binary-float-function; speeds up partial-sums and struct-arrays benchmarks
2009-09-27 18:06:30 -05:00
Joe Groff
232d1d319c
update alien.c-types tests to use c-type words
2009-09-27 17:41:18 -05:00
Slava Pestov
afc7a20ab8
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-27 17:18:16 -05:00
Slava Pestov
18cf8c37e1
math.vectors.simd: add *-cast words for converting between representations
2009-09-27 17:18:02 -05:00
Slava Pestov
1e841e5086
compiler.cfg.ssa.destruction: more aggressive coalescing work in progress
2009-09-27 17:17:26 -05:00
Joe Groff
4e68c43f3d
disable parsing of string c-types
2009-09-27 16:06:13 -05:00
Joe Groff
630e5ecc3b
update vocabs so a load-all on macosx works without parsing c-type strings
2009-09-27 15:11:21 -05:00
Joe Groff
c2145c933b
software implementations of vector logical ops (vand, vor, vxor, vnot, v</=/>, vunordered?, v?)
2009-09-27 13:19:22 -05:00
Joe Groff
c3935b823f
oops, jumped the gun on one of the alien.parser tests there
2009-09-27 12:10:50 -05:00
Joe Groff
2bc687f0de
add some tests for parse-c-type
2009-09-27 12:03:23 -05:00
Joe Groff
8965d04c0d
Merge branch 'master' of http://factorcode.org/git/factor
2009-09-27 11:07:08 -05:00
Doug Coleman
de2c097ec9
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-27 03:08:20 -05:00
Joe Groff
449695c8fe
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-26 23:15:09 -05:00
Joe Groff
5054c954be
add USING:s and rearrange definitions so macosx can compile without parsing c-type strings
2009-09-26 23:14:57 -05:00
Doug Coleman
033892dc10
minor refactoring
2009-09-26 22:24:14 -05:00
Slava Pestov
77fa16c76f
alien: improve documentation
2009-09-26 21:28:11 -05:00
Slava Pestov
685c4143c9
Fix conflict
2009-09-26 21:27:38 -05:00
Joe Groff
dce02fcdfb
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-26 20:38:19 -05:00
Joe Groff
2cf0f3e5d3
move alien.inline, alien.cxx, alien.marshall to unmaintained; nuke alien.structs
2009-09-26 20:37:42 -05:00
Doug Coleman
4bc6b302cf
remove some misguided code,oops
2009-09-26 20:34:10 -05:00
Doug Coleman
030351ef87
move the png filtering code to images.png
2009-09-26 20:09:16 -05:00
Doug Coleman
16cf080393
minor cleanups in compression.inflate
2009-09-26 19:16:23 -05:00
Doug Coleman
71952f702a
trying to make sense of png filter modes
2009-09-26 18:46:27 -05:00
Slava Pestov
117a0e2ac7
Merge branch 'slots' of git://factorcode.org/git/factor into slots
2009-09-26 16:38:24 -05:00
Doug Coleman
0730f3a149
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-26 15:26:11 -05:00
Doug Coleman
55dd1a7401
compute the correct width for png rows, use all the data when decompressing a png, check for impossible png color modes/bit-depths
2009-09-26 15:24:09 -05:00
sheeple
3476f2e28c
Fixing PPC backend for ##slot change
2009-09-26 13:21:42 -05:00
Keith Lazuka
c1fbca1509
compression.lzw: refactored and simplified
2009-09-26 13:09:52 -04:00
sheeple
01a4047126
Merge branch 'slots' of git://factorcode.org/git/factor into slots
...
Conflicts:
basis/cpu/x86/x86.factor
2009-09-26 03:12:42 -05:00
Daniel Ehrenberg
30bca97b61
An attempt at porting the slot change to PPC
2009-09-26 02:58:18 -05:00
Vesa Kaihlavirta
eec0e5230b
temp-file is in io.files.temp nowadays
2009-09-26 10:49:57 +03:00
Daniel Ehrenberg
c704a823e7
Fixing low-level-ir compiler tests for slot changes
2009-09-26 02:48:40 -05:00
Slava Pestov
9d47f5d80d
math.vectors: remove special handling for negative shifts, now we just say the behavior of vlshift and vrshift with negative shifts is undefined
2009-09-26 02:26:31 -05:00
Slava Pestov
0be72153ff
db.tuples: add 'inline' declaration to example in docs
2009-09-26 02:26:07 -05:00
Daniel Ehrenberg
51f2bbd74b
Completing slot and set-slot changes on x86
2009-09-26 01:39:48 -05:00
Daniel Ehrenberg
7bd330cfd5
Making ##slot and ##set-slot not have a temporary parameter
2009-09-26 00:28:14 -05:00
Slava Pestov
8610fa5e48
cpu: cleanups
2009-09-25 21:47:05 -05:00
Slava Pestov
c38d523185
math.vectors: fix SIMD unit tests
2009-09-25 21:44:14 -05:00
Slava Pestov
d017a53227
Merge branch 'vm_cleanup' of git://github.com/phildawes/factor
2009-09-25 19:04:19 -05:00
Slava Pestov
ed37950a33
math.vectors: change vlshift and vrshift to mask the shift count by HEX: ff, to make them behave consistently with their SIMD counterparts
2009-09-25 18:50:44 -05:00
Slava Pestov
c0abb9ce95
hints: fix regression with declarations
2009-09-25 18:50:08 -05:00
Slava Pestov
11d716e8f7
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-25 18:23:36 -05:00
Slava Pestov
a6654c97ef
compiler: add unit test for undefined_symbol regression
2009-09-25 18:08:33 -05:00
Slava Pestov
b14c683b32
vm: ignore 'declare' calls in non-optimizing compiler
2009-09-25 18:08:21 -05:00
Slava Pestov
dc9ddd3af6
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-25 16:07:29 -05:00
Slava Pestov
a8b851bb35
unix.statfs.freebsd: add alien.c-types to using to future-proof
2009-09-25 16:06:55 -05:00
Keith Lazuka
8dec2070e5
compression.lzw: supports both TIFF and GIF
2009-09-25 16:51:47 -04:00
Keith Lazuka
64c93d873f
lzw: integrating with gif and tiff
2009-09-25 15:12:44 -04:00
Phil Dawes
46f90c7588
removed %vm-invoke-*-arg completely
2009-09-25 20:03:03 +01:00
Phil Dawes
d457df1fbf
moved %(un)nest-stacks out to cpu specific files to eliminate %vm-invoke from compiler.codegen
2009-09-25 19:32:08 +01:00
Phil Dawes
28420c587a
isolated %vm-invoke-blah-arg crap to 64.factor
2009-09-25 19:02:41 +01:00
Phil Dawes
68f85a69b3
removed param-reg-* HOOKs
2009-09-25 18:58:55 +01:00
Phil Dawes
a07a2f7496
compiler.codegen passes temp reg to %call-gc
2009-09-25 18:48:13 +01:00
Phil Dawes
4552e02624
made inline_gc a VM_C_API function
2009-09-25 18:29:07 +01:00
Joe Groff
bcd5e72989
fix windows
2009-09-25 10:00:23 -05:00
Joe Groff
9798564536
clean up textured window code
2009-09-25 09:42:09 -05:00
Joe Groff
28d78c9954
fix cocoa bootstrap
2009-09-24 20:25:41 -05:00
Slava Pestov
93149a6be9
Merge branch 'fix_stack_alignment' of git://github.com/phildawes/factor
2009-09-24 19:54:51 -05:00
Slava Pestov
de2693cb36
classes.struct: store aligned size in struct-size word-prop
2009-09-24 19:54:32 -05:00
Joe Groff
2af6104d99
reset frame inset when windows dwm is toggled off and on, and use the system dialog background for textured windows when dwm is disabled
2009-09-24 16:08:58 -05:00
Phil Dawes
f5c70d4ad7
make inline_gc regparm(3) and cleaned up %call-gc stack alignment
2009-09-24 21:45:56 +01:00
Joe Groff
c4d4f1b337
tweak textured windows on windows
2009-09-24 13:26:15 -05:00
Joe Groff
d5b267c401
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-24 13:05:36 -05:00
Joe Groff
e0157c55d1
support textured windows on os x and windows 6.x
2009-09-24 13:05:27 -05:00
Slava Pestov
beab46517e
tools.deploy: fix test 11
2009-09-24 13:00:26 -05:00
Slava Pestov
0686a7a65c
cpu.ppc: add representation hooks for shifts
2009-09-24 13:00:12 -05:00
Slava Pestov
63bf76cc1e
alien.complex: fix tests
2009-09-24 12:59:56 -05:00
Joe Groff
91dc6adc2e
fix classes.struct bootstrap
2009-09-24 12:07:41 -05:00