Doug Coleman
|
c10b6d4ba7
|
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 |
Joe Groff
|
e153d544eb
|
implement vand, vor, vandn, and vxor as bitwise intrinsics for simd types
|
2009-10-02 14:17:01 -05:00 |
Keith Lazuka
|
8f79ea91ba
|
docs: change $subsection to $subsections
|
2009-10-02 12:15:48 -04:00 |
Slava Pestov
|
d47e99dbde
|
Fix compiler.cfg.value-numbering and math.matrices.simd unit tests
|
2009-10-02 02:32:35 -05:00 |
Slava Pestov
|
901e0709e6
|
Merge branch 'master' of git://factorcode.org/git/factor into improved-aa
|
2009-10-02 00:21:44 -05:00 |
Slava Pestov
|
10a49a4613
|
compiler.cfg.alias-analysis: fix ##compare where operands are copies
|
2009-10-01 23:54:19 -05:00 |
Slava Pestov
|
231a2d1b71
|
Fix alias analysis of a ##compare whose input is another ##compare
|
2009-10-01 23:20:05 -05:00 |
Joe Groff
|
9d424a1092
|
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
|
d3acd0a530
|
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
|
7b13fa4283
|
fold test-vector/branch sequences into a test-vector-branch instruction
|
2009-10-01 19:53:30 -05:00 |
Slava Pestov
|
6740956162
|
compiler.cfg: don't unbox the same value more than once per basic block
|
2009-10-01 19:41:23 -05:00 |
Slava Pestov
|
e6ff877362
|
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 |
Joe Groff
|
228ad950bb
|
%test-vector instruction for vany?, vall?, vnone?
|
2009-10-01 15:35:38 -05:00 |
Joe Groff
|
94070c11aa
|
%compare-vector instruction (only does v= for now)
|
2009-10-01 14:31:37 -05:00 |
Joe Groff
|
3ba79be651
|
Revert "add a %blend-vector intrinsic for v?"
This reverts commit 21e4b28b67.
|
2009-09-30 23:40:37 -05:00 |
Joe Groff
|
37a091a188
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2009-09-30 23:04:04 -05:00 |
Joe Groff
|
21e4b28b67
|
add a %blend-vector intrinsic for v?
|
2009-09-30 23:03:59 -05:00 |
Slava Pestov
|
65421b111b
|
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
|
66dc030741
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2009-09-30 11:35:40 -05:00 |
Joe Groff
|
409bdadfb8
|
add a "test-mr." word to compiler.cfg.debugger equivalent to "test-mr mr."
|
2009-09-30 11:34:19 -05:00 |
Slava Pestov
|
785b9f2d43
|
compiler.cfg.value-numbering: fix overly-zealous ##compare-imm conversion
|
2009-09-30 05:09:20 -05:00 |
Slava Pestov
|
8e201ca4b7
|
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 |
Slava Pestov
|
ba3a06b745
|
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 |
Slava Pestov
|
1c8662ce4a
|
math.vectors.simd: add vbroadcast intrinsic, fix integer overflow issues
|
2009-09-29 22:58:20 -05:00 |
Slava Pestov
|
2cdac6059f
|
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 |
Slava Pestov
|
2b13245704
|
math.vectors.simd: add fast intrinsic for 'nth', replace broadcast primitive with shuffles
|
2009-09-29 04:48:11 -05:00 |
Slava Pestov
|
a6e8277b2c
|
math.vectors.simd: add vshuffle intrinsic
|
2009-09-28 23:12:13 -05:00 |
Slava Pestov
|
db217295b0
|
Work in progress
|
2009-09-28 17:31:34 -05:00 |
Slava Pestov
|
f08521bf83
|
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
|
dc1b6043dc
|
cpu.x86: shifts didn't work if dst != src1; re-organize file a bit
|
2009-09-28 05:39:53 -05:00 |
Slava Pestov
|
d9c496c4e4
|
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
|
ba029a88ff
|
io.mmap: fix obsolete tests and get code to inline better
|
2009-09-28 03:18:27 -05:00 |
Slava Pestov
|
10c5fe5933
|
math.vectors.simd: add hlshift, hrshift (128-bit shift), vbitandn intrinsics
|
2009-09-28 02:17:46 -05:00 |
Slava Pestov
|
f213a67295
|
compiler.cfg.linear-scan: fix tests for hash order
|
2009-09-27 23:35:56 -05:00 |
Slava Pestov
|
8c9ccdd906
|
compiler.cfg.linear-scan: tweak it so that register allocation does not depend on hashing order
|
2009-09-27 23:29:48 -05:00 |
Slava Pestov
|
be320f67bb
|
compiler: fix codegen test
|
2009-09-27 22:23:03 -05:00 |
Slava Pestov
|
024192c2d4
|
compiler: add a unit test
|
2009-09-27 20:36:19 -05:00 |
Slava Pestov
|
e8cfaccef0
|
compiler.cfg: nuke ##bignum>integer and ##integer>bignum since they were unused
|
2009-09-27 20:36:05 -05:00 |
Slava Pestov
|
8617ac798e
|
Add a couple more def-is-use instructions
|
2009-09-27 20:34:20 -05:00 |
Slava Pestov
|
6dd8e4657e
|
Merge branch 'master' into more_aggressive_coalescing
|
2009-09-27 19:29:50 -05:00 |
Slava Pestov
|
6f2a4eba51
|
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 |
Slava Pestov
|
a267100781
|
compiler.cfg.ssa.destruction: more aggressive coalescing work in progress
|
2009-09-27 17:17:26 -05:00 |
Joe Groff
|
bf3eef9e2d
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2009-09-26 20:38:19 -05:00 |
Joe Groff
|
e30819bcac
|
move alien.inline, alien.cxx, alien.marshall to unmaintained; nuke alien.structs
|
2009-09-26 20:37:42 -05:00 |
sheeple
|
2b35f52ed2
|
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
|
2aad330c41
|
Fixing low-level-ir compiler tests for slot changes
|
2009-09-26 02:48:40 -05:00 |
Daniel Ehrenberg
|
364332bd70
|
Completing slot and set-slot changes on x86
|
2009-09-26 01:39:48 -05:00 |
Daniel Ehrenberg
|
fb7f6ab455
|
Making ##slot and ##set-slot not have a temporary parameter
|
2009-09-26 00:28:14 -05:00 |
Slava Pestov
|
1174d60026
|
Merge branch 'vm_cleanup' of git://github.com/phildawes/factor
|
2009-09-25 19:04:19 -05:00 |
Slava Pestov
|
6079711ecb
|
hints: fix regression with declarations
|
2009-09-25 18:50:08 -05:00 |