[pypy-commit] cffi default: Silence msvc warnings

2015-05-05 Thread arigo
Author: Armin Rigo Branch: Changeset: r1913:1a83da0b070c Date: 2015-05-05 09:06 +0200 http://bitbucket.org/cffi/cffi/changeset/1a83da0b070c/ Log:Silence msvc warnings diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -5582,7 +5582,7 @@ st

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit/metainterp/op

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 a/rpython/jit/metainterp/optimizeopt/__init__.py b/rpython/

[pypy-commit] pypy vecopt2: new vecopt branch

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 [email protected] https://mail.pytho

[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 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 creates depende

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit/metainterp/optimize

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit/metainterp/optimizeopt/r

[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 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 diff --git a/rpy

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit/metainterp/optimizeopt/v

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit/metainterp/opti

[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 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 a/rpython/jit/metainterp/optimizeopt/te

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit/meta

[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 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 b/.gitignore --- a/

[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 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], returning mult

[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 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, not the total a

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit/metainterp/opt

[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 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 diff --git a

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 args of guard

[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 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 a/rpython/jit/

[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 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 a/rpython/jit/metainterp/optimizeopt/v

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 a/rpython/jit/metainterp/optimizeopt/test/test_dependency.py

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 a/rpython/jit/metainterp/optimizeopt/depen

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 for now start

[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 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 a/rpython/jit/metainterp/o

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit/metai

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit/m

[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 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 nodes now have

[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 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 2 set array at

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit/metainte

[pypy-commit] pypy vecopt2: forgot range(

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit/metainterp/optimizeopt/vectorize.py --- a/

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit/metainterp/optimizeopt/dep

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 a/rpython/jit/metainterp/optim

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/ji

[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 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 in the array i

[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 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) diff --git a/r

[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 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) starting to convert p

[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 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 whole optimizer o

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit/metainterp/optimizeopt/vec

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit/metainterp/exe

[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 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 packset diff --gi

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit/metainterp/optimize

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 a/rpython/jit/metainterp/optimizeopt/test/test_vectori

[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 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 a/rpython/jit/metai

[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 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 --git a/rpython

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit/metainterp/optimizeopt/dep

[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 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 each Node clas

[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 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 algorithm (and

[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 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 a/rpython/jit/metainterp/compile.py b/

[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 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 a/rpython/jit/met

[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 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 a/rpython/jit/meta

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 to optimize_tr

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 provide real

[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 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 a/rpython/jit

[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 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 a/rpython/jit/metainterp/o

[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 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 a/rpython/jit/metainterp/optimizeo

[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 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 concerns dif

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit/metainterp/o

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit/metainterp/optimize

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit/metainterp/history.py --- a/r

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 [email protected] https://mail

[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 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 to test a vecto

[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 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 a/rpython/jit/backend/x86/assembler.py

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/pypy/module/micronumpy/loop.py

[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 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 a/rpython/jit/b

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 a/rpython/jit/metainterp/optimizeopt/dependency.py b/rpython/

[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 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 a/rpython/jit/metainterp/optimizeopt/

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 a/rpython/jit/metainterp/optimizeopt/depe

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit/metaint

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit/metain

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 avoids the unro

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 --- a/rpython/

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 (j=i+1;k=j+1

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 to support the

[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 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 a/rpython/jit/backe

[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 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 modification migration

[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 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 testing) diff --gi

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit/backend/x86

[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 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 a/rpython/jit/metainterp/optimiz

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit/metainterp/test/test

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 a/rpython/jit/metainterp/optimizeopt/

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/pypy/module/micronumpy/loop.py --- a

[pypy-commit] pypy vecopt2: merged default

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 +++ b/.hgtags @@ -

[pypy-commit] pypy conditional_call_value: consider COND_CALL_VALUE in heapcache

2015-05-05 Thread fijal
Author: Maciej Fijalkowski Branch: conditional_call_value Changeset: r77140:3fe6d97fceee Date: 2015-05-05 10:08 +0200 http://bitbucket.org/pypy/pypy/changeset/3fe6d97fceee/ Log:consider COND_CALL_VALUE in heapcache diff --git a/rpython/jit/metainterp/optimizeopt/heap.py b/rpython/jit/metain

[pypy-commit] pypy default: port the cpython test and improve situation a little bit

2015-05-05 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r77141:8f9262dc29ee Date: 2015-05-05 10:49 +0200 http://bitbucket.org/pypy/pypy/changeset/8f9262dc29ee/ Log:port the cpython test and improve situation a little bit diff --git a/pypy/interpreter/pyframe.py b/pypy/interpreter/pyframe.py --- a/pyp

[pypy-commit] pypy default: Issue 1194: test and fix

2015-05-05 Thread arigo
Author: Armin Rigo Branch: Changeset: r77142:61dff9df229b Date: 2015-05-05 10:59 +0200 http://bitbucket.org/pypy/pypy/changeset/61dff9df229b/ Log:Issue 1194: test and fix diff --git a/lib_pypy/_ctypes/function.py b/lib_pypy/_ctypes/function.py --- a/lib_pypy/_ctypes/function.py +++ b/lib_py

[pypy-commit] pypy default: merge

2015-05-05 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r77144:5bb7b9003046 Date: 2015-05-05 11:01 +0200 http://bitbucket.org/pypy/pypy/changeset/5bb7b9003046/ Log:merge diff --git a/lib_pypy/_ctypes/function.py b/lib_pypy/_ctypes/function.py --- a/lib_pypy/_ctypes/function.py +++ b/lib_pypy/_ctypes/

[pypy-commit] pypy default: a slightly different fix that actually fixes the problem

2015-05-05 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r77143:e88d351115ec Date: 2015-05-05 11:00 +0200 http://bitbucket.org/pypy/pypy/changeset/e88d351115ec/ Log:a slightly different fix that actually fixes the problem diff --git a/pypy/interpreter/executioncontext.py b/pypy/interpreter/executionc

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

2015-05-05 Thread plan_rich
Author: Richard Plangger 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 b/rpython/jit/metainte

[pypy-commit] pypy.org extradoc: update the values

2015-05-05 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r601:5dc4e472d3b0 Date: 2015-05-05 13:00 +0200 http://bitbucket.org/pypy/pypy.org/changeset/5dc4e472d3b0/ Log:update the values diff --git a/don1.html b/don1.html --- a/don1.html +++ b/don1.html @@ -9,13 +9,13 @@ $(function() { $("#pro

[pypy-commit] pypy default: Issue #2039

2015-05-05 Thread arigo
Author: Armin Rigo Branch: Changeset: r77146:2d1cc91dc7d9 Date: 2015-05-05 14:51 +0200 http://bitbucket.org/pypy/pypy/changeset/2d1cc91dc7d9/ Log:Issue #2039 Test and fix: TypeError -> AttributeError diff --git a/pypy/objspace/descroperation.py b/pypy/objspace/descroperation.py ---

[pypy-commit] cffi cffi-1.0: Make 'build' the default

2015-05-05 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1914:f2f2cda10c81 Date: 2015-05-05 15:09 +0200 http://bitbucket.org/cffi/cffi/changeset/f2f2cda10c81/ Log:Make 'build' the default diff --git a/cffi/api.py b/cffi/api.py --- a/cffi/api.py +++ b/cffi/api.py @@ -482,7 +482,7 @@ self._rec

[pypy-commit] pypy conditional_call_value: write some tests

2015-05-05 Thread fijal
Author: Maciej Fijalkowski Branch: conditional_call_value Changeset: r77147:3f425234b13b Date: 2015-05-05 21:48 +0200 http://bitbucket.org/pypy/pypy/changeset/3f425234b13b/ Log:write some tests diff --git a/rpython/jit/metainterp/optimizeopt/test/test_optimizeopt.py b/rpython/jit/metainterp

[pypy-commit] pypy default: merge

2015-05-05 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r77149:a1e2640a842c Date: 2015-05-05 23:05 +0200 http://bitbucket.org/pypy/pypy/changeset/a1e2640a842c/ Log:merge diff --git a/pypy/objspace/descroperation.py b/pypy/objspace/descroperation.py --- a/pypy/objspace/descroperation.py +++ b/pypy/obj

[pypy-commit] pypy default: sounds like a sane assert

2015-05-05 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r77148:366dacca92b7 Date: 2015-05-05 23:05 +0200 http://bitbucket.org/pypy/pypy/changeset/366dacca92b7/ Log:sounds like a sane assert diff --git a/pypy/interpreter/pyframe.py b/pypy/interpreter/pyframe.py --- a/pypy/interpreter/pyframe.py +++ b/

[pypy-commit] pypy numpy-fixes: add __array_priority__ which should determine the return type for ufuncs

2015-05-05 Thread mattip
Author: mattip Branch: numpy-fixes Changeset: r77150:17474e40f4dc Date: 2015-05-04 23:00 +0300 http://bitbucket.org/pypy/pypy/changeset/17474e40f4dc/ Log:add __array_priority__ which should determine the return type for ufuncs diff --git a/pypy/module/micronumpy/boxes.py b/pypy/modul

[pypy-commit] pypy numpy-fixes: test, fix obscure use of __array_priority__ in classes like numpy.Polynomial

2015-05-05 Thread mattip
Author: mattip Branch: numpy-fixes Changeset: r77151:f57b263d57d4 Date: 2015-05-06 00:44 +0300 http://bitbucket.org/pypy/pypy/changeset/f57b263d57d4/ Log:test, fix obscure use of __array_priority__ in classes like numpy.Polynomial diff --git a/pypy/module/micronumpy/compile.py b/pyp

[pypy-commit] pypy default: backout e24b51be112d to try and resolve the problem

2015-05-05 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r77152:4d6a621e81ee Date: 2015-05-06 08:28 +0200 http://bitbucket.org/pypy/pypy/changeset/4d6a621e81ee/ Log:backout e24b51be112d to try and resolve the problem diff --git a/pypy/interpreter/generator.py b/pypy/interpreter/generator.py --- a/pypy

[pypy-commit] pypy default: fix the backout

2015-05-05 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r77153:121ea28e8d77 Date: 2015-05-06 08:38 +0200 http://bitbucket.org/pypy/pypy/changeset/121ea28e8d77/ Log:fix the backout diff --git a/pypy/interpreter/pyframe.py b/pypy/interpreter/pyframe.py --- a/pypy/interpreter/pyframe.py +++ b/pypy/inter