Joe Groff
aa3392e50f
implement vand, vor, vandn, and vxor as bitwise intrinsics for simd types
2009-10-02 14:17:01 -05:00
Joe Groff
435cd02200
keep a map of thread ids to vm pointers. use this to look up the correct VM to handle mach exceptions on os x
2009-10-02 12:03:05 -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
Joe Groff
f867a776d9
import std::tr1/boost ::unordered_map into the factor namespace instead of using #define
2009-10-02 11:13:27 -05:00
Joe Groff
b4ae77764c
don't leak startargs in start_standalone_factor_in_new_thread
2009-10-02 11:11:17 -05:00
Slava Pestov
96df486753
vm: add assertions to tls_vm()
2009-10-02 09:37:04 -05:00
Slava Pestov
805fea33cb
vm: fix register clobberage in PowerPC c_to_factor (untested)
2009-10-02 09:19:31 -05:00
Slava Pestov
512bf8befa
vm: fix register clobberage in x86 c_to_factor
2009-10-02 09:12:09 -05:00
Slava Pestov
df9b0f695f
cpu.ppc: remove useless comment
2009-10-02 03:31:53 -05:00
Slava Pestov
d86ba27577
vm: fix compile error with DEBUG=1
2009-10-02 03:30:02 -05:00
Slava Pestov
2c136d6536
Merge branch 'reentrantvm' of git://github.com/phildawes/factor
2009-10-02 03:28:21 -05:00
Slava Pestov
913408c2a3
vm: fix stack alignment in primitive_inline_cache_miss
2009-10-02 03:25:18 -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
deabbb46b5
add a random.sfmt benchmark
2009-10-02 02:03:15 -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
56a4b323ef
sequences: add accumulate-as and document insert-nth
2009-10-01 23:13:33 -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
72986dc66d
vim: highlight @ and _, don't highlight things that aren't special anymore
2009-10-01 22:42:28 -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
Joe Groff
0044964e78
fix a stupid bug in simd rotation-matrix4
2009-10-01 13:04:59 -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