[pypy-commit] pypy vecopt-merge: added docu to LoopVersion, translation issue with tuple/None unification

2015-08-23 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r79170:70512ea6c862 Date: 2015-08-23 20:50 +0200 http://bitbucket.org/pypy/pypy/changeset/70512ea6c862/ Log:added docu to LoopVersion, translation issue with tuple/None unification diff --git

[pypy-commit] pypy vecopt-merge: need the 4th element in the tuple, the reference to descr.version is removed!

2015-08-23 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r79174:c0ed1ea7fc3b Date: 2015-08-23 21:44 +0200 http://bitbucket.org/pypy/pypy/changeset/c0ed1ea7fc3b/ Log:need the 4th element in the tuple, the reference to descr.version is removed! diff --git

[pypy-commit] pypy vecopt-merge: saving of accum state more explicit

2015-08-23 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r79156:caedfb3ee99b Date: 2015-08-23 15:14 +0200 http://bitbucket.org/pypy/pypy/changeset/caedfb3ee99b/ Log:saving of accum state more explicit diff --git a/rpython/jit/backend/llsupport/assembler.py

[pypy-commit] pypy vecopt-merge: updated failure for accum to be printed at runtime

2015-08-23 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r79150:b06be6fc7944 Date: 2015-08-23 08:58 +0200 http://bitbucket.org/pypy/pypy/changeset/b06be6fc7944/ Log:updated failure for accum to be printed at runtime diff --git a/rpython/jit/backend/x86/regalloc.py

[pypy-commit] pypy vecopt-merge: used not_implemented function already present in regalloc.py

2015-08-23 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r79151:12bbf27bd64c Date: 2015-08-23 12:29 +0200 http://bitbucket.org/pypy/pypy/changeset/12bbf27bd64c/ Log:used not_implemented function already present in regalloc.py diff --git a/rpython/jit/backend/x86/regalloc.py

[pypy-commit] pypy vecopt-merge: a all new stitch bridge that considers register mapping. works for accumulation values as well

2015-08-23 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r79159:0a4078644343 Date: 2015-08-23 17:24 +0200 http://bitbucket.org/pypy/pypy/changeset/0a4078644343/ Log:a all new stitch bridge that considers register mapping. works for accumulation values as well diff --git

[pypy-commit] pypy vecopt-merge: memory error does not happen anymore on vecopt-merge

2015-08-24 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r79204:9e571b42712d Date: 2015-08-24 15:27 +0200 http://bitbucket.org/pypy/pypy/changeset/9e571b42712d/ Log:memory error does not happen anymore on vecopt-merge diff --git a/rpython/jit/backend/x86/assembler.py

[pypy-commit] pypy vecopt-merge: translation issue, insert index must be proven = 0

2015-08-24 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r79208:b891a59cd1a7 Date: 2015-08-24 17:42 +0200 http://bitbucket.org/pypy/pypy/changeset/b891a59cd1a7/ Log:translation issue, insert index must be proven = 0 diff --git a/rpython/jit/metainterp/history.py

[pypy-commit] pypy vecopt-merge: do not store the version on the descr anymore, but on an external data structure just for this purpose

2015-08-24 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r79207:89a3655d9226 Date: 2015-08-24 17:34 +0200 http://bitbucket.org/pypy/pypy/changeset/89a3655d9226/ Log:do not store the version on the descr anymore, but on an external data structure just for this purpose

[pypy-commit] pypy vecopt-merge: commented print

2015-08-24 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r79209:ce56ac915e9a Date: 2015-08-24 18:23 +0200 http://bitbucket.org/pypy/pypy/changeset/ce56ac915e9a/ Log:commented print diff --git a/rpython/jit/metainterp/compile.py b/rpython/jit/metainterp/compile.py ---

[pypy-commit] pypy vecopt-merge: updated llgraph to work with the new model (again :)

2015-08-24 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r79211:3742fae37b90 Date: 2015-08-24 19:21 +0200 http://bitbucket.org/pypy/pypy/changeset/3742fae37b90/ Log:updated llgraph to work with the new model (again :) diff --git a/rpython/jit/backend/llgraph/runner.py

[pypy-commit] pypy vecopt-merge: removed commented prints

2015-08-24 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r79210:eab397a1b567 Date: 2015-08-24 19:19 +0200 http://bitbucket.org/pypy/pypy/changeset/eab397a1b567/ Log:removed commented prints diff --git a/rpython/jit/metainterp/compile.py b/rpython/jit/metainterp/compile.py ---

[pypy-commit] pypy vecopt-merge: accum problem with saving data on fail descr (work in progress)

2015-08-20 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r79087:a9ccb0f0842b Date: 2015-08-20 13:37 +0200 http://bitbucket.org/pypy/pypy/changeset/a9ccb0f0842b/ Log:accum problem with saving data on fail descr (work in progress) diff --git a/rpython/jit/backend/x86/regalloc.py

[pypy-commit] pypy vecopt-merge: llgraph is now working with accum data

2015-08-21 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r79091:10582848a63f Date: 2015-08-20 14:18 +0200 http://bitbucket.org/pypy/pypy/changeset/10582848a63f/ Log:llgraph is now working with accum data diff --git a/rpython/jit/backend/llgraph/runner.py

[pypy-commit] pypy vecopt-merge: added two tests ensuring that paths are constructed correctly, Path was not copied

2015-08-18 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r79040:4c2ccf278516 Date: 2015-08-18 17:08 +0200 http://bitbucket.org/pypy/pypy/changeset/4c2ccf278516/ Log:added two tests ensuring that paths are constructed correctly, Path was not copied ensured that paths are

[pypy-commit] pypy vecopt-merge: testing the path iteration, there is still a problem in analyse_index_calculation

2015-08-19 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r79050:a376c01d579f Date: 2015-08-19 11:55 +0200 http://bitbucket.org/pypy/pypy/changeset/a376c01d579f/ Log:testing the path iteration, there is still a problem in analyse_index_calculation diff --git

[pypy-commit] pypy vecopt-merge: path iteration on a dependecy graph can enable blacklisting nodes that have already been visited.this cuts down the search space. this is only valid if a property must

2015-08-18 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r79042:4886c173125a Date: 2015-08-18 17:49 +0200 http://bitbucket.org/pypy/pypy/changeset/4886c173125a/ Log:path iteration on a dependecy graph can enable blacklisting nodes that have already been visited.this cuts

[pypy-commit] pypy vecopt-merge-iterator-sharing: activated get/setarrayitem_gc if their descriptor uses primitive data (int/float)

2015-08-17 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge-iterator-sharing Changeset: r79000:40eb3eef0bac Date: 2015-08-17 09:55 +0200 http://bitbucket.org/pypy/pypy/changeset/40eb3eef0bac/ Log:activated get/setarrayitem_gc if their descriptor uses primitive data (int/float) added

[pypy-commit] pypy vecopt-merge: merged iterator sharing into the vecopt-merge

2015-08-17 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r79002:06ec92fa38c0 Date: 2015-08-17 10:30 +0200 http://bitbucket.org/pypy/pypy/changeset/06ec92fa38c0/ Log:merged iterator sharing into the vecopt-merge diff --git a/pypy/module/micronumpy/iterators.py

[pypy-commit] pypy vecopt-merge-iterator-sharing: iterator sharing simplifications, removed the state list, indices for the iterator and moved the sharing logic in it's own function

2015-08-17 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge-iterator-sharing Changeset: r79001:355ee4d5a425 Date: 2015-08-17 10:29 +0200 http://bitbucket.org/pypy/pypy/changeset/355ee4d5a425/ Log:iterator sharing simplifications, removed the state list, indices for the iterator and

[pypy-commit] pypy memoryerror: reverted some changes to get to the root of the problem

2015-08-24 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: memoryerror Changeset: r79179:a2ed66c15857 Date: 2015-08-24 10:27 +0200 http://bitbucket.org/pypy/pypy/changeset/a2ed66c15857/ Log:reverted some changes to get to the root of the problem diff --git a/rpython/jit/backend/x86/assembler.py

[pypy-commit] pypy memoryerror3: furhter stripping down the commit

2015-08-24 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: memoryerror3 Changeset: r79194:10602d3c86f4 Date: 2015-08-24 12:45 +0200 http://bitbucket.org/pypy/pypy/changeset/10602d3c86f4/ Log:furhter stripping down the commit diff --git a/rpython/jit/metainterp/compile.py

[pypy-commit] pypy memoryerror3: changes to translate this version

2015-08-24 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: memoryerror3 Changeset: r79186:8b191cded36c Date: 2015-08-24 11:36 +0200 http://bitbucket.org/pypy/pypy/changeset/8b191cded36c/ Log:changes to translate this version diff --git a/rpython/jit/backend/x86/assembler.py

[pypy-commit] pypy memoryerror3: translation issues

2015-08-24 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: memoryerror3 Changeset: r79188:e119ce67b48b Date: 2015-08-24 11:56 +0200 http://bitbucket.org/pypy/pypy/changeset/e119ce67b48b/ Log:translation issues diff --git a/rpython/jit/metainterp/compile.py b/rpython/jit/metainterp/compile.py ---

[pypy-commit] pypy memoryerror3: finished the refactoring. the root loop has now it's own version, which makes generate_pending_loop_versions easier to understand. a fail descr now always points to th

2015-08-24 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: memoryerror3 Changeset: r79187:743dc64b5f8a Date: 2015-08-21 14:10 +0200 http://bitbucket.org/pypy/pypy/changeset/743dc64b5f8a/ Log:finished the refactoring. the root loop has now it's own version, which makes

[pypy-commit] pypy memoryerror: some more changes

2015-08-24 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: memoryerror Changeset: r79184:e967b7cba547 Date: 2015-08-24 10:51 +0200 http://bitbucket.org/pypy/pypy/changeset/e967b7cba547/ Log:some more changes diff --git a/rpython/jit/metainterp/compile.py b/rpython/jit/metainterp/compile.py ---

[pypy-commit] pypy memoryerror2: start from the other way arround and apply changes until it does not work anymore

2015-08-24 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: memoryerror2 Changeset: r79185:0e7fdd3779b2 Date: 2015-08-24 11:05 +0200 http://bitbucket.org/pypy/pypy/changeset/0e7fdd3779b2/ Log:start from the other way arround and apply changes until it does not work anymore diff --git

[pypy-commit] pypy memoryerror3: memory error does not occur anymore

2015-08-24 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: memoryerror3 Changeset: r79199:fbcc105f757d Date: 2015-08-24 13:41 +0200 http://bitbucket.org/pypy/pypy/changeset/fbcc105f757d/ Log:memory error does not occur anymore diff --git a/rpython/jit/backend/x86/assembler.py

[pypy-commit] pypy memoryerror3: still working

2015-08-24 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: memoryerror3 Changeset: r79200:f4a6026863c1 Date: 2015-08-24 13:51 +0200 http://bitbucket.org/pypy/pypy/changeset/f4a6026863c1/ Log:still working diff --git a/rpython/jit/metainterp/history.py b/rpython/jit/metainterp/history.py ---

[pypy-commit] pypy vecopt: rpython translation issues, adding reshape operation to zjit tests

2015-06-29 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78342:b785c8f713af Date: 2015-06-29 10:49 +0200 http://bitbucket.org/pypy/pypy/changeset/b785c8f713af/ Log:rpython translation issues, adding reshape operation to zjit tests diff --git a/pypy/module/micronumpy/compile.py

[pypy-commit] pypy vecopt: rewritten splitting of packs, added asserts to ensure the impl assumptions are correct. some tests broke (it is not yet finished)

2015-06-26 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78321:2e935c4aa59d Date: 2015-06-26 12:29 +0200 http://bitbucket.org/pypy/pypy/changeset/2e935c4aa59d/ Log:rewritten splitting of packs, added asserts to ensure the impl assumptions are correct. some tests broke (it is

[pypy-commit] pypy vecopt: splitting must be done differently

2015-06-26 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78320:835955fe1216 Date: 2015-06-26 10:22 +0200 http://bitbucket.org/pypy/pypy/changeset/835955fe1216/ Log:splitting must be done differently diff --git a/rpython/jit/metainterp/optimizeopt/schedule.py

[pypy-commit] pypy vecopt: that was a nasty problem. entering the vecopt trace through the preamble only worked for non accum/expanded traces, otherwise the arguments would not match

2015-07-31 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78728:948a227eab7f Date: 2015-07-31 16:01 +0200 http://bitbucket.org/pypy/pypy/changeset/948a227eab7f/ Log:that was a nasty problem. entering the vecopt trace through the preamble only worked for non accum/expanded

[pypy-commit] pypy vecopt: once again I did not copy the descr...

2015-07-31 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78729:95b6c048c720 Date: 2015-07-31 16:31 +0200 http://bitbucket.org/pypy/pypy/changeset/95b6c048c720/ Log:once again I did not copy the descr... diff --git a/rpython/jit/metainterp/optimizeopt/guard.py

[pypy-commit] pypy vecopt: pblendw_xxi - only tests byte for the i argument

2015-07-29 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78700:1544d293e4b7 Date: 2015-07-29 08:56 +0200 http://bitbucket.org/pypy/pypy/changeset/1544d293e4b7/ Log:pblendw_xxi - only tests byte for the i argument last two tests in test_vectorize diff --git

[pypy-commit] pypy vecopt: moved vec_guard_false out of the assembler into the vector_ext file,

2015-07-29 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78701:9c7a794d8c78 Date: 2015-07-29 09:31 +0200 http://bitbucket.org/pypy/pypy/changeset/9c7a794d8c78/ Log:moved vec_guard_false out of the assembler into the vector_ext file, adapted test_micronumpy to use int_is_ture

[pypy-commit] pypy default: #2101 ported fix from vecopt to default

2015-07-29 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: Changeset: r78704:bdfcbfcfddb7 Date: 2015-07-29 12:12 +0200 http://bitbucket.org/pypy/pypy/changeset/bdfcbfcfddb7/ Log:#2101 ported fix from vecopt to default diff --git a/rpython/jit/codewriter/jtransform.py

[pypy-commit] pypy vecopt: finished impl of float_ne with guards

2015-07-29 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78706:924ff20716c0 Date: 2015-07-29 13:00 +0200 http://bitbucket.org/pypy/pypy/changeset/924ff20716c0/ Log:finished impl of float_ne with guards diff --git a/rpython/jit/backend/x86/vector_ext.py

[pypy-commit] pypy vecopt: bool(0.1) return True, in the jit bool(0.1) transforms to cast_float_to_int which is wrong,

2015-07-29 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78703:4fead7c7623f Date: 2015-07-29 11:46 +0200 http://bitbucket.org/pypy/pypy/changeset/4fead7c7623f/ Log:bool(0.1) return True, in the jit bool(0.1) transforms to cast_float_to_int which is wrong, updated the

[pypy-commit] pypy default: added test to check if cast single float to bool is working properly aswell

2015-07-29 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: Changeset: r78705:d221a50d7898 Date: 2015-07-29 12:15 +0200 http://bitbucket.org/pypy/pypy/changeset/d221a50d7898/ Log:added test to check if cast single float to bool is working properly aswell diff --git

[pypy-commit] pypy vecopt: all but 2 vectoriztion tests passing again. the scheduling that prefers pure operations messes up these test cases

2015-07-28 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78696:08d59f3ff88c Date: 2015-07-28 18:45 +0200 http://bitbucket.org/pypy/pypy/changeset/08d59f3ff88c/ Log:all but 2 vectoriztion tests passing again. the scheduling that prefers pure operations messes up these test

[pypy-commit] pypy vecopt: restricted the test environment, loop versioning only works resumedescr (not basicfaildescr)

2015-07-28 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78695:fce17b8ec26a Date: 2015-07-28 17:02 +0200 http://bitbucket.org/pypy/pypy/changeset/fce17b8ec26a/ Log:restricted the test environment, loop versioning only works resumedescr (not basicfaildescr) rawstart is now

[pypy-commit] pypy vecopt: stripping sse4 of the model returned from host platform in the test to pass it (c compiler will never append sse4)

2015-07-28 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78698:152353977ab7 Date: 2015-07-28 20:29 +0200 http://bitbucket.org/pypy/pypy/changeset/152353977ab7/ Log:stripping sse4 of the model returned from host platform in the test to pass it (c compiler will never append

[pypy-commit] pypy vecopt: could end in a finish operation, crashed the optimizer

2015-08-03 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78751:c83f61da5f2d Date: 2015-08-03 08:22 +0200 http://bitbucket.org/pypy/pypy/changeset/c83f61da5f2d/ Log:could end in a finish operation, crashed the optimizer diff --git a/rpython/jit/metainterp/history.py

[pypy-commit] pypy vecopt-merge: merged default into vecopt (vecopt-merge)

2015-08-11 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r78880:e7b774925efd Date: 2015-08-10 17:20 +0200 http://bitbucket.org/pypy/pypy/changeset/e7b774925efd/ Log:merged default into vecopt (vecopt-merge) diff too long, truncating to 2000 out of 30123 lines diff --git

[pypy-commit] pypy vecopt-merge: added missing vectorize=True for the jit drivers in loop.py

2015-08-11 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r78881:4dcddb2caee3 Date: 2015-08-11 11:59 +0200 http://bitbucket.org/pypy/pypy/changeset/4dcddb2caee3/ Log:added missing vectorize=True for the jit drivers in loop.py diff --git a/pypy/module/micronumpy/compile.py

[pypy-commit] pypy vecopt-merge: meeeh, syntax error did not pay attentation to the indentation in this file

2015-08-11 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r78886:69fe04c7e304 Date: 2015-08-11 12:42 +0200 http://bitbucket.org/pypy/pypy/changeset/69fe04c7e304/ Log:meeeh, syntax error did not pay attentation to the indentation in this file diff --git

[pypy-commit] pypy vecopt-merge: Backed out changeset 9299faf9cad1

2015-08-11 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r78884:18e7a066f96f Date: 2015-08-11 12:24 +0200 http://bitbucket.org/pypy/pypy/changeset/18e7a066f96f/ Log:Backed out changeset 9299faf9cad1 diff --git a/pypy/objspace/std/boolobject.py b/pypy/objspace/std/boolobject.py

[pypy-commit] pypy vecopt-merge: added out_dim to the list of attributes

2015-08-11 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r78889:9b128f66714b Date: 2015-08-11 14:38 +0200 http://bitbucket.org/pypy/pypy/changeset/9b128f66714b/ Log:added out_dim to the list of attributes diff --git a/pypy/module/micronumpy/strides.py

[pypy-commit] pypy vecopt-merge: added branch description for vecopt and vecopt-merge

2015-08-11 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r78899:98e339e44deb Date: 2015-08-11 16:39 +0200 http://bitbucket.org/pypy/pypy/changeset/98e339e44deb/ Log:added branch description for vecopt and vecopt-merge diff --git a/pypy/doc/whatsnew-head.rst

[pypy-commit] pypy vecopt-merge: passing None to space.call_method is a bad idea

2015-08-11 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r78922:5ba373083b5c Date: 2015-08-11 18:20 +0200 http://bitbucket.org/pypy/pypy/changeset/5ba373083b5c/ Log:passing None to space.call_method is a bad idea diff --git a/pypy/module/micronumpy/ufuncs.py

[pypy-commit] pypy vecopt-merge: started to refactor scheduling to remove the unnecessary list allocation each iteration

2015-08-11 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r78928:8bbff2ecdaa3 Date: 2015-08-11 19:18 +0200 http://bitbucket.org/pypy/pypy/changeset/8bbff2ecdaa3/ Log:started to refactor scheduling to remove the unnecessary list allocation each iteration diff --git

[pypy-commit] pypy vecopt: missing update pack of nodes scheduled some nodes as a non packed operation (wrong obviously)

2015-08-07 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78843:e8a74e18fc6e Date: 2015-08-07 10:50 +0200 http://bitbucket.org/pypy/pypy/changeset/e8a74e18fc6e/ Log:missing update pack of nodes scheduled some nodes as a non packed operation (wrong obviously) diff --git

[pypy-commit] pypy vecopt-merge-iterator-sharing: started to transform call2 to share iterators in the loop, works but needs check if the jit codes improve as well

2015-08-14 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge-iterator-sharing Changeset: r78985:3cc178b04857 Date: 2015-08-14 13:24 +0200 http://bitbucket.org/pypy/pypy/changeset/3cc178b04857/ Log:started to transform call2 to share iterators in the loop, works but needs check if the

[pypy-commit] pypy vecopt-merge-opt: new branch to enhance some places of the optimization

2015-08-14 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge-opt Changeset: r78984:a82264bddcac Date: 2015-08-12 12:00 +0200 http://bitbucket.org/pypy/pypy/changeset/a82264bddcac/ Log:new branch to enhance some places of the optimization diff --git

[pypy-commit] pypy vecopt-merge-iterator-sharing: (plan_rich, ronan) first working version that generates all five possible call2 combinations that shares the iterators

2015-08-14 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge-iterator-sharing Changeset: r78988:690ba1eaa6a8 Date: 2015-08-14 18:50 +0200 http://bitbucket.org/pypy/pypy/changeset/690ba1eaa6a8/ Log:(plan_rich, ronan) first working version that generates all five possible call2

[pypy-commit] pypy vecopt: ironed out problems indicated by buildbot (small batch)

2015-07-27 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78680:2a58825eefba Date: 2015-07-27 12:09 +0200 http://bitbucket.org/pypy/pypy/changeset/2a58825eefba/ Log:ironed out problems indicated by buildbot (small batch) llgraph now checks for box is equal to zero (otherwise

[pypy-commit] pypy vecopt: using pygame viewer for the dependencies instead of writing it manually to the tmp folder (thx fijal for hint)

2015-07-27 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78682:d3b2ba395def Date: 2015-07-27 12:48 +0200 http://bitbucket.org/pypy/pypy/changeset/d3b2ba395def/ Log:using pygame viewer for the dependencies instead of writing it manually to the tmp folder (thx fijal for hint)

[pypy-commit] pypy vecopt: picked lltype.cast changes for cast to bool, implemented int_is_true as a vector operation

2015-07-27 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78679:658ac4e3b571 Date: 2015-07-27 11:48 +0200 http://bitbucket.org/pypy/pypy/changeset/658ac4e3b571/ Log:picked lltype.cast changes for cast to bool, implemented int_is_true as a vector operation diff --git

[pypy-commit] pypy vecopt: added clone to a descriptor. I used invent_fail_descr before that, which did the same thing, but in a huge switch statement

2015-07-17 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78578:a05aff84b29f Date: 2015-07-17 15:28 +0200 http://bitbucket.org/pypy/pypy/changeset/a05aff84b29f/ Log:added clone to a descriptor. I used invent_fail_descr before that, which did the same thing, but in a huge

[pypy-commit] pypy vecopt: minor simplifications, fixed some tests cases (more to go), the additional abc opt removes some opts, the tests should not check for equivalence of all instructions, but che

2015-07-17 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78579:aa9a9d9cc94b Date: 2015-07-17 16:37 +0200 http://bitbucket.org/pypy/pypy/changeset/aa9a9d9cc94b/ Log:minor simplifications, fixed some tests cases (more to go), the additional abc opt removes some opts, the tests

[pypy-commit] pypy vecopt: trace versioning now compiles each version just once, and attaches patches all further guards to the bridge

2015-07-17 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78584:0d1dc4ba30d3 Date: 2015-07-17 17:19 +0200 http://bitbucket.org/pypy/pypy/changeset/0d1dc4ba30d3/ Log:trace versioning now compiles each version just once, and attaches patches all further guards to the bridge

[pypy-commit] pypy vecopt: rpython hint, attach_bridge is now called stitch_bridge

2015-07-17 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78585:6b68821bc6e3 Date: 2015-07-17 17:30 +0200 http://bitbucket.org/pypy/pypy/changeset/6b68821bc6e3/ Log:rpython hint, attach_bridge is now called stitch_bridge diff --git a/rpython/jit/backend/llsupport/assembler.py

[pypy-commit] pypy vecopt: inserting guard early exit in user traces if the config turns on these setting

2015-07-14 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78554:5190e9b953e7 Date: 2015-07-14 16:07 +0200 http://bitbucket.org/pypy/pypy/changeset/5190e9b953e7/ Log:inserting guard early exit in user traces if the config turns on these setting diff --git

[pypy-commit] pypy vecopt: added ABC optimization that is turned on when executed when user code is vectorized

2015-07-16 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78558:04f489dd60dd Date: 2015-07-16 12:16 +0200 http://bitbucket.org/pypy/pypy/changeset/04f489dd60dd/ Log:added ABC optimization that is turned on when executed when user code is vectorized note that this optimization

[pypy-commit] pypy vecopt: rpython hints, saving the loop version the compileloopversion descr

2015-07-16 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78559:841f77615665 Date: 2015-07-16 16:06 +0200 http://bitbucket.org/pypy/pypy/changeset/841f77615665/ Log:rpython hints, saving the loop version the compileloopversion descr diff --git a/rpython/jit/backend/x86/assembler.py

[pypy-commit] pypy vecopt: rewriting parts of the guard strength reduction to eliminate array bound checks

2015-07-15 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt Changeset: r78555:961725ecb559 Date: 2015-07-15 17:32 +0200 http://bitbucket.org/pypy/pypy/changeset/961725ecb559/ Log:rewriting parts of the guard strength reduction to eliminate array bound checks diff --git

[pypy-commit] pypy vecopt-merge: loop versioning needed to changes the failargs for stitched bridges - thus tests needed adaption

2015-08-27 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r79259:d95ae9b7cad9 Date: 2015-08-27 16:34 +0200 http://bitbucket.org/pypy/pypy/changeset/d95ae9b7cad9/ Log:loop versioning needed to changes the failargs for stitched bridges - thus tests needed adaption further

[pypy-commit] pypy vecopt-merge: packset combination now maximizes the packset and splits it right after combination into chunks that fit into the vector regsiter, this eliminates the sorting (lets se

2015-08-27 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r79262:1b4b6db46742 Date: 2015-08-27 19:17 +0200 http://bitbucket.org/pypy/pypy/changeset/1b4b6db46742/ Log:packset combination now maximizes the packset and splits it right after combination into chunks that fit

[pypy-commit] pypy vecopt-merge: extending test cases for memory references

2015-08-27 Thread plan_rich
Author: Richard Plangger r...@pasra.at Branch: vecopt-merge Changeset: r79252:fc31b6dcacc8 Date: 2015-08-27 13:10 +0200 http://bitbucket.org/pypy/pypy/changeset/fc31b6dcacc8/ Log:extending test cases for memory references diff --git a/rpython/jit/metainterp/optimizeopt/dependency.py

[pypy-commit] pypy vecopt-merge: slicing index must be positive

2015-08-31 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79310:51a6240fbce7 Date: 2015-08-31 09:36 +0200 http://bitbucket.org/pypy/pypy/changeset/51a6240fbce7/ Log:slicing index must be positive adding split packs to packset added vec_guard_ratio parameter diff --git

[pypy-commit] pypy vecopt-merge: fixed the scheduling tests, two of them where wrong and execute vector instructions on half filled vector registers

2015-08-31 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79320:5a31e0903f8d Date: 2015-08-31 15:06 +0200 http://bitbucket.org/pypy/pypy/changeset/5a31e0903f8d/ Log:fixed the scheduling tests, two of them where wrong and execute vector instructions on half filled

[pypy-commit] pypy vecopt-merge: resolving some issues introduced by the simpler combination and separate splitting phase,

2015-08-31 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79319:75f6354522df Date: 2015-08-31 14:33 +0200 http://bitbucket.org/pypy/pypy/changeset/75f6354522df/ Log:resolving some issues introduced by the simpler combination and separate splitting phase, needs to

[pypy-commit] pypy vecopt-merge: tanslation issues, removed old function

2015-09-01 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79339:11cf3f890e18 Date: 2015-09-01 10:43 +0200 http://bitbucket.org/pypy/pypy/changeset/11cf3f890e18/ Log:tanslation issues, removed old function diff --git a/rpython/jit/metainterp/optimizeopt/dependency.py

[pypy-commit] pypy memoryerror: close branch

2015-09-04 Thread plan_rich
Author: Richard Plangger Branch: memoryerror Changeset: r79427:078a0334c34d Date: 2015-09-04 16:11 +0200 http://bitbucket.org/pypy/pypy/changeset/078a0334c34d/ Log:close branch ___ pypy-commit mailing list pypy-commit@python.org

[pypy-commit] pypy memoryerror2: close branch

2015-09-04 Thread plan_rich
Author: Richard Plangger Branch: memoryerror2 Changeset: r79428:10cb9ba203a9 Date: 2015-09-04 16:11 +0200 http://bitbucket.org/pypy/pypy/changeset/10cb9ba203a9/ Log:close branch ___ pypy-commit mailing list pypy-commit@python.org

[pypy-commit] pypy memoryerror3: close branch

2015-09-04 Thread plan_rich
Author: Richard Plangger Branch: memoryerror3 Changeset: r79429:f693472e325f Date: 2015-09-04 16:12 +0200 http://bitbucket.org/pypy/pypy/changeset/f693472e325f/ Log:close branch ___ pypy-commit mailing list pypy-commit@python.org

[pypy-commit] pypy vecopt-merge: merged optresult-unroll into vecopt-merge

2015-09-04 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79435:9add01daf60f Date: 2015-09-04 17:52 +0200 http://bitbucket.org/pypy/pypy/changeset/9add01daf60f/ Log:merged optresult-unroll into vecopt-merge diff too long, truncating to 2000 out of 45372 lines diff --git

[pypy-commit] pypy vecopt-merge: merged default

2015-09-10 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79581:3cf43a0720f1 Date: 2015-09-10 10:51 +0200 http://bitbucket.org/pypy/pypy/changeset/3cf43a0720f1/ Log:merged default diff too long, truncating to 2000 out of 12637 lines diff --git a/.hgtags b/.hgtags ---

[pypy-commit] pypy vecopt-merge: syntax error from merging and wrong indentation,

2015-09-10 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79582:bd74760268d5 Date: 2015-09-10 11:51 +0200 http://bitbucket.org/pypy/pypy/changeset/bd74760268d5/ Log:syntax error from merging and wrong indentation, started to revive the dependency construction

[pypy-commit] pypy vecopt-merge: dependency tests pass again

2015-09-10 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79584:8e6bb4ab9549 Date: 2015-09-10 14:38 +0200 http://bitbucket.org/pypy/pypy/changeset/8e6bb4ab9549/ Log:dependency tests pass again diff --git a/rpython/jit/metainterp/optimizeopt/dependency.py

[pypy-commit] pypy vecopt-merge: adapted optimization entry to fit into the new model. going forward, but still not yet complete to run the first simple loops

2015-09-10 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79585:efc1fdaa1cee Date: 2015-09-10 18:30 +0200 http://bitbucket.org/pypy/pypy/changeset/efc1fdaa1cee/ Log:adapted optimization entry to fit into the new model. going forward, but still not yet complete to

[pypy-commit] pypy vecopt-merge: slowly approaching the first passing scheduling test, code is smaller and more compact

2015-09-14 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79622:289407699445 Date: 2015-09-14 13:31 +0200 http://bitbucket.org/pypy/pypy/changeset/289407699445/ Log:slowly approaching the first passing scheduling test, code is smaller and more compact diff --git

[pypy-commit] pypy vecopt-merge: further poking the scheduler. resoperations are now fully typed. this makes all the transformation logic much easier and less code, first simple tests pass already

2015-09-14 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79637:86dbbde6b191 Date: 2015-09-14 19:21 +0200 http://bitbucket.org/pypy/pypy/changeset/86dbbde6b191/ Log:further poking the scheduler. resoperations are now fully typed. this makes all the transformation

[pypy-commit] pypy vecopt-merge: forcing memo of variables while parsing to the same memo at runtime (only jitviewer and the test suite affected)

2015-09-16 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79658:fe1eb22de735 Date: 2015-09-16 18:06 +0200 http://bitbucket.org/pypy/pypy/changeset/fe1eb22de735/ Log:forcing memo of variables while parsing to the same memo at runtime (only jitviewer and the test

[pypy-commit] pypy vecopt-merge: work in progress, adapting the transformation from pack -> vecop

2015-09-11 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79593:cd37e9273b1b Date: 2015-09-11 18:13 +0200 http://bitbucket.org/pypy/pypy/changeset/cd37e9273b1b/ Log:work in progress, adapting the transformation from pack -> vecop diff --git

[pypy-commit] pypy vecopt-merge: adjusting the resop creation to remove the vectorbox, work in progress

2015-09-11 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79589:7783b6299af3 Date: 2015-09-11 12:51 +0200 http://bitbucket.org/pypy/pypy/changeset/7783b6299af3/ Log:adjusting the resop creation to remove the vectorbox, work in progress diff --git

[pypy-commit] pypy vecopt-merge: revived broken as_vector_operation, partly working now, still need to adapt it further to work in the current setup

2015-09-15 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79643:d1e29e8b7db7 Date: 2015-09-15 12:13 +0200 http://bitbucket.org/pypy/pypy/changeset/d1e29e8b7db7/ Log:revived broken as_vector_operation, partly working now, still need to adapt it further to work in

[pypy-commit] pypy vecopt-merge: fighting with casting. not quite there, but soon scheduling tests should work

2015-09-15 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79649:9d05ed8b7873 Date: 2015-09-15 17:17 +0200 http://bitbucket.org/pypy/pypy/changeset/9d05ed8b7873/ Log:fighting with casting. not quite there, but soon scheduling tests should work diff --git

[pypy-commit] pypy vecopt-merge: input arg bytesize default to the hardware offered precision (word size)

2015-09-15 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79644:b57463d82b50 Date: 2015-09-15 12:49 +0200 http://bitbucket.org/pypy/pypy/changeset/b57463d82b50/ Log:input arg bytesize default to the hardware offered precision (word size) diff --git

[pypy-commit] pypy vecopt-merge: reanimating the assembler with the new method names

2015-09-17 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79665:63c213404528 Date: 2015-09-17 12:35 +0200 http://bitbucket.org/pypy/pypy/changeset/63c213404528/ Log:reanimating the assembler with the new method names diff --git a/rpython/jit/backend/llgraph/runner.py

[pypy-commit] pypy vecopt-merge: costmodel now working again and ported most part of accum as well

2015-09-17 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79663:b304567d9f23 Date: 2015-09-17 11:29 +0200 http://bitbucket.org/pypy/pypy/changeset/b304567d9f23/ Log:costmodel now working again and ported most part of accum as well diff --git

[pypy-commit] pypy vecopt-merge: work in progress moving vecop creation to OpHelpers

2015-09-14 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79641:d3aaa1983ac4 Date: 2015-09-14 20:31 +0200 http://bitbucket.org/pypy/pypy/changeset/d3aaa1983ac4/ Log:work in progress moving vecop creation to OpHelpers diff --git

[pypy-commit] pypy vecopt-merge: translation issues, zero_deps guards would produce cycle, remove them

2015-09-26 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79850:9236f6c98306 Date: 2015-09-26 10:00 +0200 http://bitbucket.org/pypy/pypy/changeset/9236f6c98306/ Log:translation issues, zero_deps guards would produce cycle, remove them diff --git

[pypy-commit] pypy vecopt-merge: test_zjit now passed the annotator to the rtyper

2015-09-26 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79849:5d1e288a9250 Date: 2015-09-25 22:23 +0200 http://bitbucket.org/pypy/pypy/changeset/5d1e288a9250/ Log:test_zjit now passed the annotator to the rtyper diff --git a/rpython/jit/backend/x86/assembler.py

[pypy-commit] pypy vecopt-merge: merged default

2015-09-29 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79896:fde3bd5b3b48 Date: 2015-09-29 16:07 +0200 http://bitbucket.org/pypy/pypy/changeset/fde3bd5b3b48/ Log:merged default diff too long, truncating to 2000 out of 6994 lines diff --git

[pypy-commit] pypy vecopt-merge: wunderbar! all but one test_zjit test passing

2015-09-28 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79885:bb3eebb00aa2 Date: 2015-09-28 21:54 +0200 http://bitbucket.org/pypy/pypy/changeset/bb3eebb00aa2/ Log:wunderbar! all but one test_zjit test passing diff --git a/pypy/module/micronumpy/test/test_zjit.py

[pypy-commit] pypy vecopt-merge: fixing tests in metainterp/test

2015-09-29 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79897:084da9225f35 Date: 2015-09-29 17:25 +0200 http://bitbucket.org/pypy/pypy/changeset/084da9225f35/ Log:fixing tests in metainterp/test diff --git a/rpython/jit/metainterp/optimizeopt/schedule.py

[pypy-commit] pypy vecopt-merge: partial test fixes in backend directory

2015-09-30 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79902:3e5ea9adeb03 Date: 2015-09-30 09:10 +0200 http://bitbucket.org/pypy/pypy/changeset/3e5ea9adeb03/ Log:partial test fixes in backend directory diff --git a/rpython/jit/backend/detect_cpu.py

[pypy-commit] pypy vecopt-merge: fixed test_parser tests (overwrote update_memo)

2015-09-30 Thread plan_rich
Author: Richard Plangger Branch: vecopt-merge Changeset: r79903:b76456a0884f Date: 2015-09-30 09:21 +0200 http://bitbucket.org/pypy/pypy/changeset/b76456a0884f/ Log:fixed test_parser tests (overwrote update_memo) diff --git a/rpython/jit/tool/oparser.py

<    4   5   6   7   8   9   10   11   12   13   >