[pypy-commit] pypy default: added missing description file

2015-03-16 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: Changeset: r76398:86ab64843181 Date: 2015-03-16 10:58 +0100 http://bitbucket.org/pypy/pypy/changeset/86ab64843181/ Log:added missing description file diff --git a/rpython/doc/optimizer/overview.rst b/rpython/doc/optimizer/overview.rst new file

[pypy-commit] pypy default: rpython doc: started documentation of the trace optimizeopt module

2015-03-16 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: Changeset: r76397:e284a3db9a81 Date: 2015-03-16 10:33 +0100 http://bitbucket.org/pypy/pypy/changeset/e284a3db9a81/ Log:rpython doc: started documentation of the trace optimizeopt module diff --git a/rpython/doc/index.rst b/rpython/doc/index.rst

[pypy-commit] pypy vecopt: updated fake objects to be able to run micro numpy code (not finished yet)

2015-05-06 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r77157:0d5c4726bbd0 Date: 2015-05-05 17:57 +0200 http://bitbucket.org/pypy/pypy/changeset/0d5c4726bbd0/ Log:updated fake objects to be able to run micro numpy code (not finished yet) diff --git

[pypy-commit] pypy vecopt: test_zjit up and running again (extended the fake space)

2015-05-06 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r77158:b2baaa7fb44d Date: 2015-05-06 10:02 +0200 http://bitbucket.org/pypy/pypy/changeset/b2baaa7fb44d/ Log:test_zjit up and running again (extended the fake space) enabled vectorization algorithm for test_zjit relaxing

[pypy-commit] pypy vecopt: rewritten parts of scheduling (priority can be set to nodes)

2015-05-07 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r77173:2afc017c4737 Date: 2015-05-07 11:41 +0200 http://bitbucket.org/pypy/pypy/changeset/2afc017c4737/ Log:rewritten parts of scheduling (priority can be set to nodes) added box_pack/unpack operation if a argument that

[pypy-commit] pypy vecopt: updated tests (some of them needed adjusting after scheduling changed)

2015-05-07 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r77174:1182166dcc4f Date: 2015-05-07 12:20 +0200 http://bitbucket.org/pypy/pypy/changeset/1182166dcc4f/ Log:updated tests (some of them needed adjusting after scheduling changed) removed tests that where redundant diff

[pypy-commit] pypy vecopt: numpy call2 now runs as vector ops (llgraph, x86 not yet)

2015-05-07 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r77175:209fd97b0b33 Date: 2015-05-07 14:49 +0200 http://bitbucket.org/pypy/pypy/changeset/209fd97b0b33/ Log:numpy call2 now runs as vector ops (llgraph, x86 not yet) diff --git a/rpython/jit/backend/llgraph/runner.py

[pypy-commit] pypy vecopt: updated test for constant expansion (test_zjit),

2015-05-08 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r77203:b5b718bd459b Date: 2015-05-07 16:54 +0200 http://bitbucket.org/pypy/pypy/changeset/b5b718bd459b/ Log:updated test for constant expansion (test_zjit), added a test to test_vectorize.py that tests variable

[pypy-commit] pypy vecopt: renamed zjit_test,

2015-05-08 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r77202:709297417af9 Date: 2015-05-07 16:44 +0200 http://bitbucket.org/pypy/pypy/changeset/709297417af9/ Log:renamed zjit_test, removed byte count and signed from vector box - descr in backend provides this added expand

[pypy-commit] pypy vecopt: unpack/pack operations (vector[x]-scalar, scalar-vector[y])

2015-05-08 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r77204:0ae5b544bbcb Date: 2015-05-08 11:11 +0200 http://bitbucket.org/pypy/pypy/changeset/0ae5b544bbcb/ Log:unpack/pack operations (vector[x]-scalar, scalar-vector[y]) updated the test_zjit test suite (skip all non

[pypy-commit] pypy vecopt: added some missing vector x86 instructions to mc

2015-05-11 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r77292:7d60c4409027 Date: 2015-05-11 15:46 +0200 http://bitbucket.org/pypy/pypy/changeset/7d60c4409027/ Log:added some missing vector x86 instructions to mc started to implement the new instructions

[pypy-commit] pypy vecopt: renamed detect_sse2.py to detect_feature.py

2015-05-11 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r77290:ddd27b50021e Date: 2015-05-11 10:48 +0200 http://bitbucket.org/pypy/pypy/changeset/ddd27b50021e/ Log:renamed detect_sse2.py to detect_feature.py added checks for sse 4.1, 4.2 and 4a diff --git

[pypy-commit] pypy vecopt: simplifications, added a x86_64 sse4 cpu

2015-05-11 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r77291:9363d09e85dc Date: 2015-05-11 11:08 +0200 http://bitbucket.org/pypy/pypy/changeset/9363d09e85dc/ Log:simplifications, added a x86_64 sse4 cpu diff --git a/rpython/jit/backend/detect_cpu.py

[pypy-commit] pypy vecopt2: vectorization now uses the preamble of the unrolling optimization, this is a step towards a unified unrolling algorithm (and keeps most of the variables in the register)

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77126:c7cbb61784d6 Date: 2015-04-29 15:11 +0200 http://bitbucket.org/pypy/pypy/changeset/c7cbb61784d6/ Log:vectorization now uses the preamble of the unrolling optimization, this is a step towards a unified unrolling

[pypy-commit] pypy vecopt2: finished index variable tracking, added a new guard (GUARD_NO_EARLY_EXIT)

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77108:f865517771a5 Date: 2015-04-09 11:53 +0200 http://bitbucket.org/pypy/pypy/changeset/f865517771a5/ Log:finished index variable tracking, added a new guard (GUARD_NO_EARLY_EXIT) diff --git

[pypy-commit] pypy vecopt2: memory reference now correctly tracks if bytes overlap (previously the cell stride was ignored)

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77104:df7310e361b1 Date: 2015-04-01 14:35 +0200 http://bitbucket.org/pypy/pypy/changeset/df7310e361b1/ Log:memory reference now correctly tracks if bytes overlap (previously the cell stride was ignored) diff --git

[pypy-commit] pypy vecopt2: removed print statements for a translated binary (tests still print some verbose informations)

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77118:5d5fa2cab88a Date: 2015-04-16 15:36 +0200 http://bitbucket.org/pypy/pypy/changeset/5d5fa2cab88a/ Log:removed print statements for a translated binary (tests still print some verbose informations) diff --git

[pypy-commit] pypy vecopt2: wrapping all parameters passed to the assembler (from regalloc) in imm

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77123:0a3e47384c29 Date: 2015-04-23 11:13 +0200 http://bitbucket.org/pypy/pypy/changeset/0a3e47384c29/ Log:wrapping all parameters passed to the assembler (from regalloc) in imm moved try_disable_unroll one layer down

[pypy-commit] pypy vecopt2: impl. llgraph vector instructions dispatch

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77105:dd5c77b9081e Date: 2015-04-02 16:20 +0200 http://bitbucket.org/pypy/pypy/changeset/dd5c77b9081e/ Log:impl. llgraph vector instructions dispatch metainterp.logger now can print vector variables extended tests that

[pypy-commit] pypy vecopt2: updated the vectorizer to use the new dependency graph, not yet finished (simplifications included)

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77112:28e240f91ac9 Date: 2015-04-10 17:13 +0200 http://bitbucket.org/pypy/pypy/changeset/28e240f91ac9/ Log:updated the vectorizer to use the new dependency graph, not yet finished (simplifications included) diff --git

[pypy-commit] pypy vecopt2: started to implement guard folding. (j=i+1, guard(j), k=j+1, guard(k) = j=i+2, guard(j))

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77125:d0777f689686 Date: 2015-04-28 13:11 +0200 http://bitbucket.org/pypy/pypy/changeset/d0777f689686/ Log:started to implement guard folding. (j=i+1,guard(j),k=j+1,guard(k) = j=i+2, guard(j)) diff --git

[pypy-commit] pypy vecopt2: guard_early_exit are not passed to the backend. vectorize tests all pass again

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77129:c9ea863cdc2d Date: 2015-05-01 10:44 +0200 http://bitbucket.org/pypy/pypy/changeset/c9ea863cdc2d/ Log:guard_early_exit are not passed to the backend. vectorize tests all pass again diff --git

[pypy-commit] pypy vecopt2: the dependency graph now wraps each operation in a Node object. This makes the arch. much cleaner and separates concerns

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77111:53e935368706 Date: 2015-04-10 16:14 +0200 http://bitbucket.org/pypy/pypy/changeset/53e935368706/ Log:the dependency graph now wraps each operation in a Node object. This makes the arch. much cleaner and separates

[pypy-commit] pypy vecopt2: added failing test case for extending pack sets

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77088:a51be5e7791d Date: 2015-03-25 08:44 +0100 http://bitbucket.org/pypy/pypy/changeset/a51be5e7791d/ Log:added failing test case for extending pack sets diff --git a/rpython/jit/metainterp/optimizeopt/test/test_vectorize.py

[pypy-commit] pypy vecopt2: moved around my optimizer files, unrolling does not get it' own file

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77066:445111858952 Date: 2015-03-10 17:47 +0100 http://bitbucket.org/pypy/pypy/changeset/445111858952/ Log:moved around my optimizer files, unrolling does not get it' own file the unroller now takes the type contained

[pypy-commit] pypy vecopt2: added test cases for the dependency graph and testing the calc of adjacent memory locations (not working yet)

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77074:bb6417aa654c Date: 2015-03-12 12:21 +0100 http://bitbucket.org/pypy/pypy/changeset/bb6417aa654c/ Log:added test cases for the dependency graph and testing the calc of adjacent memory locations (not working yet)

[pypy-commit] pypy vecopt2: added vector integer field to resop class. removed some specific vec ops (descr might be used for that)

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77099:7b76f61e0287 Date: 2015-03-30 17:43 +0200 http://bitbucket.org/pypy/pypy/changeset/7b76f61e0287/ Log:added vector integer field to resop class. removed some specific vec ops (descr might be used for that)

[pypy-commit] pypy vecopt2: extended memory ref analysis to consider division as well, added some tests

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77078:a1985466b222 Date: 2015-03-13 16:13 +0100 http://bitbucket.org/pypy/pypy/changeset/a1985466b222/ Log:extended memory ref analysis to consider division as well, added some tests added a simple test to test the

[pypy-commit] pypy vecopt2: creating basic classes needed

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77070:489fa3b98d90 Date: 2015-03-11 16:04 +0100 http://bitbucket.org/pypy/pypy/changeset/489fa3b98d90/ Log:creating basic classes needed diff --git a/rpython/jit/metainterp/optimizeopt/vectorize.py

[pypy-commit] pypy vecopt2: introducing box_vector as new boxes (work in progress)

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77102:3f6c156ec0bb Date: 2015-03-31 17:46 +0200 http://bitbucket.org/pypy/pypy/changeset/3f6c156ec0bb/ Log:introducing box_vector as new boxes (work in progress) diff --git a/rpython/jit/metainterp/executor.py

[pypy-commit] pypy vecopt2: extended the instruction packing. it now finds adjacent memory references and packs them into pairs in the packset

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77086:333f5c08c25c Date: 2015-03-24 13:37 +0100 http://bitbucket.org/pypy/pypy/changeset/333f5c08c25c/ Log:extended the instruction packing. it now finds adjacent memory references and packs them into pairs in the

[pypy-commit] pypy vecopt2: pair constructor (testing hg branch)

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77069:06caa266c40a Date: 2015-03-11 15:47 +0100 http://bitbucket.org/pypy/pypy/changeset/06caa266c40a/ Log:pair constructor (testing hg branch) diff --git a/rpython/jit/metainterp/optimizeopt/vectorize.py

[pypy-commit] pypy vecopt2: debug_merge_points are not unrolled, but only prepended appended

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77080:236a9b21cf32 Date: 2015-03-16 14:15 +0100 http://bitbucket.org/pypy/pypy/changeset/236a9b21cf32/ Log:debug_merge_points are not unrolled, but only prepended appended diff --git

[pypy-commit] pypy vecopt2: making the dependency builder less conservative. added test for aliasing modification problem

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77091:36ba6737e164 Date: 2015-03-25 15:47 +0100 http://bitbucket.org/pypy/pypy/changeset/36ba6737e164/ Log:making the dependency builder less conservative. added test for aliasing modification problem diff --git

[pypy-commit] pypy vecopt2: dependency graph now tracks array modifications and discards edges of proven cell access to not overlap

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77094:e515a3389dbb Date: 2015-03-26 17:24 +0100 http://bitbucket.org/pypy/pypy/changeset/e515a3389dbb/ Log:dependency graph now tracks array modifications and discards edges of proven cell access to not overlap diff

[pypy-commit] pypy vecopt2: impl. follow use def chains (similar to def use chains)

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77090:bce7c27122a3 Date: 2015-03-25 10:53 +0100 http://bitbucket.org/pypy/pypy/changeset/bce7c27122a3/ Log:impl. follow use def chains (similar to def use chains) diff --git a/rpython/jit/metainterp/optimizeopt/dependency.py

[pypy-commit] pypy vecopt2: removed readme in optimizeopt - was merged in doc

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77083:101a6f64c746 Date: 2015-03-18 16:13 +0100 http://bitbucket.org/pypy/pypy/changeset/101a6f64c746/ Log:removed readme in optimizeopt - was merged in doc diff --git a/rpython/jit/metainterp/optimizeopt/readme.md

[pypy-commit] pypy vecopt2: forgot range(

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77072:4d5cf68c6d59 Date: 2015-03-11 16:11 +0100 http://bitbucket.org/pypy/pypy/changeset/4d5cf68c6d59/ Log:forgot range( diff --git a/rpython/jit/metainterp/optimizeopt/vectorize.py

[pypy-commit] pypy vecopt2: added new dependency changes

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77085:4848cc630ada Date: 2015-03-23 15:58 +0100 http://bitbucket.org/pypy/pypy/changeset/4848cc630ada/ Log:added new dependency changes diff --git a/rpython/jit/metainterp/optimizeopt/dependency.py

[pypy-commit] pypy vecopt2: starting to modify the dependency construction to track all integral modifications

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77106:24298bf280c1 Date: 2015-04-08 16:36 +0200 http://bitbucket.org/pypy/pypy/changeset/24298bf280c1/ Log:starting to modify the dependency construction to track all integral modifications diff --git

[pypy-commit] pypy vecopt2: added a scheduling test (failing)

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77097:a0ef8f72f84e Date: 2015-03-27 16:10 +0100 http://bitbucket.org/pypy/pypy/changeset/a0ef8f72f84e/ Log:added a scheduling test (failing) diff --git a/rpython/jit/metainterp/optimizeopt/test/test_vectorize.py

[pypy-commit] pypy vecopt2: added test with more packs

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77096:214abf30c68b Date: 2015-03-27 15:37 +0100 http://bitbucket.org/pypy/pypy/changeset/214abf30c68b/ Log:added test with more packs diff --git a/rpython/jit/metainterp/optimizeopt/test/test_vectorize.py

[pypy-commit] pypy vecopt2: BoxVector is now used as vector variable

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77103:3ad14b1aef2e Date: 2015-04-01 10:59 +0200 http://bitbucket.org/pypy/pypy/changeset/3ad14b1aef2e/ Log:BoxVector is now used as vector variable diff --git a/rpython/jit/metainterp/history.py

[pypy-commit] pypy vecopt: renamed branch to vecopt

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r77138:1950de7e67c8 Date: 2015-05-05 09:27 +0200 http://bitbucket.org/pypy/pypy/changeset/1950de7e67c8/ Log:renamed branch to vecopt ___ pypy-commit mailing list

[pypy-commit] pypy vecopt2: bridge can now be assembled (previously an early exit skipped to the blackhole interpreter)

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77131:ce46889cad5d Date: 2015-05-04 15:16 +0200 http://bitbucket.org/pypy/pypy/changeset/ce46889cad5d/ Log:bridge can now be assembled (previously an early exit skipped to the blackhole interpreter) added a test case

[pypy-commit] pypy vecopt2: added vec_int_signext to the backend (is ignored and register is forced)

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77122:e78b0edc35c4 Date: 2015-04-22 16:33 +0200 http://bitbucket.org/pypy/pypy/changeset/e78b0edc35c4/ Log:added vec_int_signext to the backend (is ignored and register is forced) diff --git

[pypy-commit] pypy vecopt2: removed vectorized parameter of jit driver (micronumpy)

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77135:76ff4d4b4558 Date: 2015-05-05 09:09 +0200 http://bitbucket.org/pypy/pypy/changeset/76ff4d4b4558/ Log:removed vectorized parameter of jit driver (micronumpy) diff --git a/pypy/module/micronumpy/loop.py

[pypy-commit] pypy vecopt2: work in progress (continued)

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77110:dc0a99fbcf21 Date: 2015-04-09 16:58 +0200 http://bitbucket.org/pypy/pypy/changeset/dc0a99fbcf21/ Log:work in progress (continued) diff --git a/rpython/jit/metainterp/optimizeopt/dependency.py

[pypy-commit] pypy vecopt2: added a new test to collapse guards, I plan to restructure this and make it on the level of a dependency graph

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77127:8f307136e6c5 Date: 2015-04-30 09:54 +0200 http://bitbucket.org/pypy/pypy/changeset/8f307136e6c5/ Log:added a new test to collapse guards, I plan to restructure this and make it on the level of a dependency graph

[pypy-commit] pypy vecopt2: merged default

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77136:cbb043958bd6 Date: 2015-05-05 09:20 +0200 http://bitbucket.org/pypy/pypy/changeset/cbb043958bd6/ Log:merged default diff too long, truncating to 2000 out of 23948 lines diff --git a/.hgtags b/.hgtags --- a/.hgtags +++

[pypy-commit] pypy vecopt2: introduced vec_getarrayitem_raw which was previously handled by vector raw load (was not correct)

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77117:771fe82d7b07 Date: 2015-04-16 15:27 +0200 http://bitbucket.org/pypy/pypy/changeset/771fe82d7b07/ Log:introduced vec_getarrayitem_raw which was previously handled by vector raw load (was not correct) diff --git

[pypy-commit] pypy vecopt2: relaxing guards dependency works for the first simple case

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77113:e92fd08ff586 Date: 2015-04-13 11:52 +0200 http://bitbucket.org/pypy/pypy/changeset/e92fd08ff586/ Log:relaxing guards dependency works for the first simple case diff --git

[pypy-commit] pypy vecopt2: vec operations always include the amount of items to process, adapted tests

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77116:dbe240a98bcf Date: 2015-04-16 13:16 +0200 http://bitbucket.org/pypy/pypy/changeset/dbe240a98bcf/ Log:vec operations always include the amount of items to process, adapted tests diff --git

[pypy-commit] pypy vecopt2: work in progress refactoring dependencies to easier remove instructions

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77109:c110482d24ca Date: 2015-04-09 16:34 +0200 http://bitbucket.org/pypy/pypy/changeset/c110482d24ca/ Log:work in progress refactoring dependencies to easier remove instructions diff --git

[pypy-commit] pypy vecopt2: assert isinstance of none prevented (for tests)

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77137:3ecc9bac482b Date: 2015-05-05 09:24 +0200 http://bitbucket.org/pypy/pypy/changeset/3ecc9bac482b/ Log:assert isinstance of none prevented (for tests) diff --git a/rpython/jit/metainterp/optimizeopt/dependency.py

[pypy-commit] pypy vecopt2: extend packset now checks both sides of the pack

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77114:2c2953e1a8d5 Date: 2015-04-13 16:14 +0200 http://bitbucket.org/pypy/pypy/changeset/2c2953e1a8d5/ Log:extend packset now checks both sides of the pack diff --git a/rpython/jit/metainterp/optimizeopt/dependency.py

[pypy-commit] pypy vecopt2: tested and adapted the trace optimizer for loops.

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77115:0b90aa19f600 Date: 2015-04-16 13:01 +0200 http://bitbucket.org/pypy/pypy/changeset/0b90aa19f600/ Log:tested and adapted the trace optimizer for loops. trace jump targets are correctly set and the vec. optimizer

[pypy-commit] pypy vecopt2: changes to make rpython happy

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77130:7a9dab462e3d Date: 2015-05-01 21:19 +0200 http://bitbucket.org/pypy/pypy/changeset/7a9dab462e3d/ Log:changes to make rpython happy diff --git a/rpython/jit/backend/x86/regalloc.py b/rpython/jit/backend/x86/regalloc.py

[pypy-commit] pypy vecopt2: weaker guards are stripped from the trace

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77128:d16c3d437d4e Date: 2015-05-01 09:43 +0200 http://bitbucket.org/pypy/pypy/changeset/d16c3d437d4e/ Log:weaker guards are stripped from the trace quick and dirty implementation to remove redundant index calculations

[pypy-commit] pypy vecopt2: renamed guard_no_early_exit to guard_early_exit

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77120:0a2d06280172 Date: 2015-04-20 09:33 +0200 http://bitbucket.org/pypy/pypy/changeset/0a2d06280172/ Log:renamed guard_no_early_exit to guard_early_exit started modify the register allocator and the code generation

[pypy-commit] pypy vecopt2: x86_64 backend is now capable of emitting sse2 instructions for the current vector operations

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77121:76c8e4a033f7 Date: 2015-04-22 15:55 +0200 http://bitbucket.org/pypy/pypy/changeset/76c8e4a033f7/ Log:x86_64 backend is now capable of emitting sse2 instructions for the current vector operations diff --git

[pypy-commit] pypy vecopt2: updated tests to ignore non present transitive dependencies, nearly completed the new integral forward modification migration

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77107:6aa7a2193f3f Date: 2015-04-08 18:18 +0200 http://bitbucket.org/pypy/pypy/changeset/6aa7a2193f3f/ Log:updated tests to ignore non present transitive dependencies, nearly completed the new integral forward

[pypy-commit] pypy vecopt2: changes to make the rtyper work correctly, SIMD loads now only from is now aligned (not correct, just for testing)

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77124:1f1fd65e76ab Date: 2015-04-24 18:43 +0200 http://bitbucket.org/pypy/pypy/changeset/1f1fd65e76ab/ Log:changes to make the rtyper work correctly, SIMD loads now only from is now aligned (not correct, just for

[pypy-commit] pypy vecopt2: removed check trace count == 1, added missed changes in merge

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77133:af8b1ecd4d30 Date: 2015-05-05 08:46 +0200 http://bitbucket.org/pypy/pypy/changeset/af8b1ecd4d30/ Log:removed check trace count == 1, added missed changes in merge diff --git a/rpython/jit/backend/x86/rx86.py

[pypy-commit] pypy vecopt2: updated vector to small test (simpler) and added new test for constant expansion

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77132:42697efbbfa7 Date: 2015-05-04 19:53 +0200 http://bitbucket.org/pypy/pypy/changeset/42697efbbfa7/ Log:updated vector to small test (simpler) and added new test for constant expansion diff --git

[pypy-commit] pypy vecopt2: renamed VectorizeTest class to plural

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77119:aae04ec7b558 Date: 2015-04-17 12:06 +0200 http://bitbucket.org/pypy/pypy/changeset/aae04ec7b558/ Log:renamed VectorizeTest class to plural diff --git a/rpython/jit/metainterp/test/test_vectorize.py

[pypy-commit] pypy vecopt2: turned off vectorization by default

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77134:5243693fd30f Date: 2015-05-05 08:53 +0200 http://bitbucket.org/pypy/pypy/changeset/5243693fd30f/ Log:turned off vectorization by default added assert to ensure type (annotator) diff --git

[pypy-commit] pypy vecopt: activated vectorize for 2 jit drivers (micronumpy)

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r77139:2cea32346502 Date: 2015-05-05 09:32 +0200 http://bitbucket.org/pypy/pypy/changeset/2cea32346502/ Log:activated vectorize for 2 jit drivers (micronumpy) diff --git a/pypy/module/micronumpy/loop.py

[pypy-commit] pypy vecopt2: reorderd some methods in unroll

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77063:36de2531fe50 Date: 2015-03-09 08:52 +0100 http://bitbucket.org/pypy/pypy/changeset/36de2531fe50/ Log:reorderd some methods in unroll diff --git a/rpython/jit/metainterp/optimizeopt/test/test_dependency.py

[pypy-commit] pypy vecopt2: started to unroll a trace in the optimizer. work in progress

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77061:3b35c7d89697 Date: 2015-03-05 17:45 +0100 http://bitbucket.org/pypy/pypy/changeset/3b35c7d89697/ Log:started to unroll a trace in the optimizer. work in progress diff --git

[pypy-commit] pypy vecopt2: new vecopt branch

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77058:0807878d79e6 Date: 2015-05-05 08:17 +0200 http://bitbucket.org/pypy/pypy/changeset/0807878d79e6/ Log:new vecopt branch ___ pypy-commit mailing list pypy-commit@python.org

[pypy-commit] pypy vecopt2: added simple version that calcualtes the dependencies on a ssa trace. added test to check if label definition creates dependencies correctly

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77060:edcb3f85bb31 Date: 2015-03-04 11:49 +0100 http://bitbucket.org/pypy/pypy/changeset/edcb3f85bb31/ Log:added simple version that calcualtes the dependencies on a ssa trace. added test to check if label definition

[pypy-commit] pypy vecopt2: passing first unroll test

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77062:fd541605e0a7 Date: 2015-03-06 12:04 +0100 http://bitbucket.org/pypy/pypy/changeset/fd541605e0a7/ Log:passing first unroll test diff --git a/rpython/jit/metainterp/optimizeopt/test/test_dependency.py

[pypy-commit] pypy vecopt2: impl test memory adjacent calculation

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77075:b794697698a8 Date: 2015-03-12 15:35 +0100 http://bitbucket.org/pypy/pypy/changeset/b794697698a8/ Log:impl test memory adjacent calculation diff --git a/rpython/jit/metainterp/optimizeopt/dependency.py

[pypy-commit] pypy vecopt2: added missing vectorize flag for test cases. all passed in jit/metainterp

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77077:3a769fdc9cec Date: 2015-03-13 10:08 +0100 http://bitbucket.org/pypy/pypy/changeset/3a769fdc9cec/ Log:added missing vectorize flag for test cases. all passed in jit/metainterp diff --git

[pypy-commit] pypy vecopt2: added information on how the optimzer internally works

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77064:9c33e9c0f7ac Date: 2015-03-09 13:19 +0100 http://bitbucket.org/pypy/pypy/changeset/9c33e9c0f7ac/ Log:added information on how the optimzer internally works diff --git a/rpython/jit/metainterp/optimizeopt/readme.md

[pypy-commit] pypy vecopt2: added a file to implement the dependency graph and the first failing test for it

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77059:a014b8f35628 Date: 2015-03-04 11:03 +0100 http://bitbucket.org/pypy/pypy/changeset/a014b8f35628/ Log:added a file to implement the dependency graph and the first failing test for it diff --git a/.gitignore

[pypy-commit] pypy vecopt2: making the backend ready to be translated. stumbled over several problems not allowed in rpython (slice[1:-1], returning multiple values)

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77068:0627a3228d2e Date: 2015-03-11 15:38 +0100 http://bitbucket.org/pypy/pypy/changeset/0627a3228d2e/ Log:making the backend ready to be translated. stumbled over several problems not allowed in rpython (slice[1:-1],

[pypy-commit] pypy vecopt2: enhanced the vectorizing testcase, clarified unroll count. it is now a number how often to fruther unroll it, not the total amount

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77082:dd4ba307d155 Date: 2015-03-18 16:10 +0100 http://bitbucket.org/pypy/pypy/changeset/dd4ba307d155/ Log:enhanced the vectorizing testcase, clarified unroll count. it is now a number how often to fruther unroll it,

[pypy-commit] pypy vecopt2: indention for syntax highlightning

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77065:8d3e721fb4aa Date: 2015-03-09 13:30 +0100 http://bitbucket.org/pypy/pypy/changeset/8d3e721fb4aa/ Log:indention for syntax highlightning diff --git a/rpython/jit/metainterp/optimizeopt/readme.md

[pypy-commit] pypy vecopt2: forgot to attach the new files, added another unrolling test case and added some comments to the test cases

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77067:83d24715296e Date: 2015-03-10 18:05 +0100 http://bitbucket.org/pypy/pypy/changeset/83d24715296e/ Log:forgot to attach the new files, added another unrolling test case and added some comments to the test cases

[pypy-commit] pypy vecopt2: zip is not available in rpython

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77071:36e20231bab5 Date: 2015-03-11 16:06 +0100 http://bitbucket.org/pypy/pypy/changeset/36e20231bab5/ Log:zip is not available in rpython diff --git a/rpython/jit/metainterp/optimizeopt/vectorize.py

[pypy-commit] pypy vecopt2: unrolling now keeps track of the fail arguments and renames them correctly

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77084:c458f6903d68 Date: 2015-03-18 17:22 +0100 http://bitbucket.org/pypy/pypy/changeset/c458f6903d68/ Log:unrolling now keeps track of the fail arguments and renames them correctly diff --git

[pypy-commit] pypy vecopt2: packset combination (need to rewrite for rpython) and tests

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77095:c675e35448fb Date: 2015-03-27 11:34 +0100 http://bitbucket.org/pypy/pypy/changeset/c675e35448fb/ Log:packset combination (need to rewrite for rpython) and tests diff --git

[pypy-commit] pypy vecopt2: adjusted the test suit after a refactoring the vectorization optimizer

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77079:2298583fcc92 Date: 2015-03-16 11:44 +0100 http://bitbucket.org/pypy/pypy/changeset/2298583fcc92/ Log:adjusted the test suit after a refactoring the vectorization optimizer diff --git

[pypy-commit] pypy vecopt2: added vector IR operations (load/store arithmetic)

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77098:6c8dc39764dc Date: 2015-03-27 18:04 +0100 http://bitbucket.org/pypy/pypy/changeset/6c8dc39764dc/ Log:added vector IR operations (load/store arithmetic) adapted the blackhole interpreter/executor to ignore those

[pypy-commit] pypy vecopt2: extended the test cases and removed a undiscovered bug in the unrolling/renaming phase

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77087:911191f43398 Date: 2015-03-24 16:10 +0100 http://bitbucket.org/pypy/pypy/changeset/911191f43398/ Log:extended the test cases and removed a undiscovered bug in the unrolling/renaming phase diff --git

[pypy-commit] pypy vecopt2: enhanced dependency test. no boiler plate code to define dependencies (but annotate in the code instead)

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77100:4f501c0da147 Date: 2015-03-31 12:15 +0200 http://bitbucket.org/pypy/pypy/changeset/4f501c0da147/ Log:enhanced dependency test. no boiler plate code to define dependencies (but annotate in the code instead) leaf

[pypy-commit] pypy vecopt2: impl. follow def use chain. packset is extended by independent follow up instructions that reuse the definition

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77089:11954a265325 Date: 2015-03-25 10:20 +0100 http://bitbucket.org/pypy/pypy/changeset/11954a265325/ Log:impl. follow def use chain. packset is extended by independent follow up instructions that reuse the definition

[pypy-commit] pypy vecopt2: separated dependency graph testing from the vectorize optimization tests.

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77081:bcbdc469ac7c Date: 2015-03-17 17:16 +0100 http://bitbucket.org/pypy/pypy/changeset/bcbdc469ac7c/ Log:separated dependency graph testing from the vectorize optimization tests. added more test cases that check fail

[pypy-commit] pypy vecopt2: added some more test cases. int_sub/int_mul is not supported to calculate the memory ref positions

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77076:b5bd7163629b Date: 2015-03-12 17:32 +0100 http://bitbucket.org/pypy/pypy/changeset/b5bd7163629b/ Log:added some more test cases. int_sub/int_mul is not supported to calculate the memory ref positions diff --git

[pypy-commit] pypy vecopt2: moved integral modification and memory ref to dependency.py. this is needed to get rid of dependencies between 2 set array at different indices (work in progress)

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77093:c328ba0e6929 Date: 2015-03-26 16:23 +0100 http://bitbucket.org/pypy/pypy/changeset/c328ba0e6929/ Log:moved integral modification and memory ref to dependency.py. this is needed to get rid of dependencies between

[pypy-commit] pypy vecopt2: working on packing instructions

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77073:1047edfb7de1 Date: 2015-03-12 10:19 +0100 http://bitbucket.org/pypy/pypy/changeset/1047edfb7de1/ Log:working on packing instructions diff --git a/rpython/jit/metainterp/optimizeopt/test/test_vectorize.py

[pypy-commit] pypy vecopt2: all tests passing after finishing the refactoring

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77101:61ab28e5ecc8 Date: 2015-03-31 14:16 +0200 http://bitbucket.org/pypy/pypy/changeset/61ab28e5ecc8/ Log:all tests passing after finishing the refactoring diff --git a/rpython/jit/metainterp/optimizeopt/dependency.py

[pypy-commit] pypy vecopt2: added a test for an unalias counter example

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt2 Changeset: r77092:00def8c688af Date: 2015-03-25 15:52 +0100 http://bitbucket.org/pypy/pypy/changeset/00def8c688af/ Log:added a test for an unalias counter example diff --git a/rpython/jit/metainterp/optimizeopt/test/test_dependency.py

[pypy-commit] pypy vecopt: test commit, have i resolved all my hg problems?

2015-05-05 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r77145:6bbd8f154c0b Date: 2015-05-05 11:31 +0200 http://bitbucket.org/pypy/pypy/changeset/6bbd8f154c0b/ Log:test commit, have i resolved all my hg problems? diff --git a/rpython/jit/metainterp/optimizeopt/vectorize.py

[pypy-commit] pypy vecopt: added many opcodes for x86 that operate on packed data (single float)

2015-05-13 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r77308:9a5fe21d3676 Date: 2015-05-13 15:53 +0200 http://bitbucket.org/pypy/pypy/changeset/9a5fe21d3676/ Log:added many opcodes for x86 that operate on packed data (single float) added a test to stress castup/cast down

[pypy-commit] pypy vecopt: resolved an issue that would generate wrong packing immediates for shufps.

2015-05-15 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r77328:2a8cae0c7c8e Date: 2015-05-15 09:39 +0200 http://bitbucket.org/pypy/pypy/changeset/2a8cae0c7c8e/ Log:resolved an issue that would generate wrong packing immediates for shufps. a better approach in the assembler is

[pypy-commit] pypy vecopt: improved the scheduling (missed to emit pack/unpack ops), work in progress

2015-05-18 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r77373:c0d72e0205ae Date: 2015-05-18 15:17 +0200 http://bitbucket.org/pypy/pypy/changeset/c0d72e0205ae/ Log:improved the scheduling (missed to emit pack/unpack ops), work in progress diff --git

[pypy-commit] pypy vecopt: float32/64 addition of vectors now uses packed vector load x86

2015-05-14 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r77319:dcbabaa3d2d9 Date: 2015-05-14 11:21 +0200 http://bitbucket.org/pypy/pypy/changeset/dcbabaa3d2d9/ Log:float32/64 addition of vectors now uses packed vector load x86 + constant/variable expansion diff --git

  1   2   3   4   5   6   7   8   9   10   >