[pypy-commit] pypy default: fix bug in codewriter about passing the exitswitch variable to a call

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r87129:9e6653e203d8 Date: 2016-09-16 11:38 +0200 http://bitbucket.org/pypy/pypy/changeset/9e6653e203d8/ Log:fix bug in codewriter about passing the exitswitch variable to a call this kind of code broke stuff: v =

[pypy-commit] pypy py3.5-corowrapper: in-progress

2016-09-16 Thread arigo
Author: Armin Rigo Branch: py3.5-corowrapper Changeset: r87130:d4e91edb572f Date: 2016-09-16 11:42 +0200 http://bitbucket.org/pypy/pypy/changeset/d4e91edb572f/ Log:in-progress diff --git a/pypy/interpreter/generator.py b/pypy/interpreter/generator.py ---

[pypy-commit] pypy better-storesink: make cast_pointer introduce a union to be able to track things better

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: better-storesink Changeset: r87168:8c2f9afa87bb Date: 2016-09-13 14:07 +0200 http://bitbucket.org/pypy/pypy/changeset/8c2f9afa87bb/ Log:make cast_pointer introduce a union to be able to track things better this requires the

[pypy-commit] pypy better-storesink: just use a second union find

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: better-storesink Changeset: r87170:a717e883e603 Date: 2016-09-13 19:56 +0200 http://bitbucket.org/pypy/pypy/changeset/a717e883e603/ Log:just use a second union find diff --git a/rpython/translator/backendopt/cse.py

[pypy-commit] pypy better-storesink: refactor

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: better-storesink Changeset: r87161:4432c08bf80b Date: 2016-09-09 13:00 +0200 http://bitbucket.org/pypy/pypy/changeset/4432c08bf80b/ Log:refactor diff --git a/rpython/translator/backendopt/cse.py b/rpython/translator/backendopt/cse.py ---

[pypy-commit] pypy better-storesink: two fixes

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: better-storesink Changeset: r87157:c97644fd33d0 Date: 2016-09-06 19:38 +0200 http://bitbucket.org/pypy/pypy/changeset/c97644fd33d0/ Log:two fixes diff --git a/rpython/translator/backendopt/cse.py b/rpython/translator/backendopt/cse.py ---

[pypy-commit] pypy better-storesink: don't optimize array fields of virtualizables

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: better-storesink Changeset: r87174:6efe86960ad3 Date: 2016-09-16 22:49 +0200 http://bitbucket.org/pypy/pypy/changeset/6efe86960ad3/ Log:don't optimize array fields of virtualizables (otherwise they can end up being passed around too

[pypy-commit] pypy better-storesink: fix immutable checks

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: better-storesink Changeset: r87165:8999d5b9bffd Date: 2016-09-12 19:33 +0200 http://bitbucket.org/pypy/pypy/changeset/8999d5b9bffd/ Log:fix immutable checks diff --git a/rpython/translator/backendopt/cse.py

[pypy-commit] pypy better-storesink: support for removing loop-invariant heap reads

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: better-storesink Changeset: r87154:2f9d46642175 Date: 2016-09-06 17:43 +0200 http://bitbucket.org/pypy/pypy/changeset/2f9d46642175/ Log:support for removing loop-invariant heap reads diff --git a/rpython/translator/backendopt/cse.py

[pypy-commit] pypy default: factor out some invariant code from the unrolling_iterable loop. no sense in

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r87148:0130615b254c Date: 2016-09-16 12:20 +0200 http://bitbucket.org/pypy/pypy/changeset/0130615b254c/ Log:factor out some invariant code from the unrolling_iterable loop. no sense in having it be there 13 times,

[pypy-commit] pypy default: don't crash in merge_if_blocks if the values are symbolics

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r87149:78469828ece4 Date: 2016-09-16 22:45 +0200 http://bitbucket.org/pypy/pypy/changeset/78469828ece4/ Log:don't crash in merge_if_blocks if the values are symbolics (bit obscure case, but managed to get it) diff --git

[pypy-commit] pypy better-storesink: use the write analyzer to know when to invalidate the cache

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: better-storesink Changeset: r87151:e53758af61e3 Date: 2016-08-22 13:59 +0100 http://bitbucket.org/pypy/pypy/changeset/e53758af61e3/ Log:use the write analyzer to know when to invalidate the cache diff --git

[pypy-commit] pypy better-storesink: a few corner cases

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: better-storesink Changeset: r87155:a5ab790844f4 Date: 2016-09-06 19:06 +0200 http://bitbucket.org/pypy/pypy/changeset/a5ab790844f4/ Log:a few corner cases diff --git a/rpython/translator/backendopt/all.py

[pypy-commit] pypy better-storesink: constant-fold reads from immutable fields of constants

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: better-storesink Changeset: r87164:d2cc6120b553 Date: 2016-09-09 18:54 +0200 http://bitbucket.org/pypy/pypy/changeset/d2cc6120b553/ Log:constant-fold reads from immutable fields of constants diff --git a/rpython/translator/backendopt/cse.py

[pypy-commit] pypy better-storesink: support for more complex cases in the merge code:

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: better-storesink Changeset: r87152:ca579ca81332 Date: 2016-08-23 11:40 +0100 http://bitbucket.org/pypy/pypy/changeset/ca579ca81332/ Log:support for more complex cases in the merge code: sometimes there are two operations in the

[pypy-commit] pypy better-storesink: experiment with a more general common subexpression elimination.

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: better-storesink Changeset: r87150:c204353fe193 Date: 2016-08-22 13:47 +0100 http://bitbucket.org/pypy/pypy/changeset/c204353fe193/ Log:experiment with a more general common subexpression elimination. The algorithm is a simple

[pypy-commit] pypy better-storesink: fix bug

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: better-storesink Changeset: r87160:f6dc12d932d9 Date: 2016-09-09 12:36 +0200 http://bitbucket.org/pypy/pypy/changeset/f6dc12d932d9/ Log:fix bug diff --git a/rpython/translator/backendopt/cse.py b/rpython/translator/backendopt/cse.py ---

[pypy-commit] pypy better-storesink: safer mechanism for storing new equivalencies than updating the variable_families

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: better-storesink Changeset: r87163:a01cd9612fb4 Date: 2016-09-09 15:26 +0200 http://bitbucket.org/pypy/pypy/changeset/a01cd9612fb4/ Log:safer mechanism for storing new equivalencies than updating the variable_families diff --git

[pypy-commit] pypy better-storesink: actually super easy: support CSE on loop-invariant operations (SSA makes this

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: better-storesink Changeset: r87153:ea93a553b7a0 Date: 2016-09-06 16:35 +0200 http://bitbucket.org/pypy/pypy/changeset/ea93a553b7a0/ Log:actually super easy: support CSE on loop-invariant operations (SSA makes this simple) diff --git

[pypy-commit] pypy better-storesink: a small tweak and two XXXs

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: better-storesink Changeset: r87166:fee47d3d64bd Date: 2016-09-12 19:33 +0200 http://bitbucket.org/pypy/pypy/changeset/fee47d3d64bd/ Log:a small tweak and two XXXs diff --git a/rpython/translator/backendopt/cse.py

[pypy-commit] pypy better-storesink: better logging

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: better-storesink Changeset: r87159:0a08408432ad Date: 2016-09-06 19:57 +0200 http://bitbucket.org/pypy/pypy/changeset/0a08408432ad/ Log:better logging diff --git a/rpython/translator/backendopt/cse.py b/rpython/translator/backendopt/cse.py

[pypy-commit] pypy better-storesink: factor out the rewriting to same_as, with an extra safety check

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: better-storesink Changeset: r87171:84b5c1af401b Date: 2016-09-16 14:46 +0200 http://bitbucket.org/pypy/pypy/changeset/84b5c1af401b/ Log:factor out the rewriting to same_as, with an extra safety check diff --git

[pypy-commit] pypy default: Minor test and fix

2016-09-16 Thread arigo
Author: Armin Rigo Branch: Changeset: r87136:f134a77f5293 Date: 2016-09-16 15:59 +0200 http://bitbucket.org/pypy/pypy/changeset/f134a77f5293/ Log:Minor test and fix diff --git a/pypy/interpreter/generator.py b/pypy/interpreter/generator.py ---

[pypy-commit] pypy default: oops, revert f6eabcc3367c: found the difference between test_throw1 and

2016-09-16 Thread arigo
Author: Armin Rigo Branch: Changeset: r87139:2d311b3e8715 Date: 2016-09-16 16:18 +0200 http://bitbucket.org/pypy/pypy/changeset/2d311b3e8715/ Log:oops, revert f6eabcc3367c: found the difference between test_throw1 and test_throw2 diff --git

[pypy-commit] pypy buffer-interface2: add cpyext-specific __rbuffer__, __wbuffer__ slots for old buffer interface

2016-09-16 Thread mattip
Author: Matti Picus Branch: buffer-interface2 Changeset: r87135:64f607343212 Date: 2016-09-16 16:55 +0300 http://bitbucket.org/pypy/pypy/changeset/64f607343212/ Log:add cpyext-specific __rbuffer__, __wbuffer__ slots for old buffer interface diff --git

[pypy-commit] pypy buffer-interface2: test, add a unicode-specific getreadbuffer

2016-09-16 Thread mattip
Author: Matti Picus Branch: buffer-interface2 Changeset: r87134:ae44485a5595 Date: 2016-09-15 21:57 +0300 http://bitbucket.org/pypy/pypy/changeset/ae44485a5595/ Log:test, add a unicode-specific getreadbuffer diff --git a/pypy/module/cpyext/test/test_arraymodule.py

[pypy-commit] pypy py3.5-corowrapper: rewrite rewrite rewrite in progress

2016-09-16 Thread arigo
Author: Armin Rigo Branch: py3.5-corowrapper Changeset: r87138:7b5b1a370414 Date: 2016-09-16 16:16 +0200 http://bitbucket.org/pypy/pypy/changeset/7b5b1a370414/ Log:rewrite rewrite rewrite in progress diff --git a/pypy/interpreter/generator.py b/pypy/interpreter/generator.py

[pypy-commit] pypy py3.5-corowrapper: in-progress (I think that basic generators are working again)

2016-09-16 Thread arigo
Author: Armin Rigo Branch: py3.5-corowrapper Changeset: r87140:97a825be3993 Date: 2016-09-16 16:26 +0200 http://bitbucket.org/pypy/pypy/changeset/97a825be3993/ Log:in-progress (I think that basic generators are working again) diff --git a/pypy/interpreter/generator.py

[pypy-commit] pypy default: Fix tests (test_throw1 and test_throw2 were identical at this point)

2016-09-16 Thread arigo
Author: Armin Rigo Branch: Changeset: r87137:f6eabcc3367c Date: 2016-09-16 16:10 +0200 http://bitbucket.org/pypy/pypy/changeset/f6eabcc3367c/ Log:Fix tests (test_throw1 and test_throw2 were identical at this point) diff --git a/pypy/interpreter/test/test_generator.py

[pypy-commit] pypy zarch-simd-support: some more pack/unpack cases implemented

2016-09-16 Thread plan_rich
Author: Richard Plangger Branch: zarch-simd-support Changeset: r87131:2cd9f79ff7de Date: 2016-09-16 11:59 +0200 http://bitbucket.org/pypy/pypy/changeset/2cd9f79ff7de/ Log:some more pack/unpack cases implemented diff --git

[pypy-commit] pypy zarch-simd-support: a nearly complete vector backend for s390x

2016-09-16 Thread plan_rich
Author: Richard Plangger Branch: zarch-simd-support Changeset: r87133:22a63dae82b3 Date: 2016-09-16 14:41 +0200 http://bitbucket.org/pypy/pypy/changeset/22a63dae82b3/ Log:a nearly complete vector backend for s390x diff --git a/rpython/jit/backend/zarch/vector_ext.py

[pypy-commit] pypy zarch-simd-support: implemented all vectro resops for s390x

2016-09-16 Thread plan_rich
Author: Richard Plangger Branch: zarch-simd-support Changeset: r87132:7801b4271e3e Date: 2016-09-16 14:02 +0200 http://bitbucket.org/pypy/pypy/changeset/7801b4271e3e/ Log:implemented all vectro resops for s390x diff --git a/rpython/jit/backend/zarch/vector_ext.py

[pypy-commit] pypy better-storesink: be more careful about merging value, never make the results of find_rep the

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: better-storesink Changeset: r87172:50199f21c3b9 Date: 2016-09-16 14:54 +0200 http://bitbucket.org/pypy/pypy/changeset/50199f21c3b9/ Log:be more careful about merging value, never make the results of find_rep the result of the merge.

[pypy-commit] pypy better-storesink: merge default

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: better-storesink Changeset: r87173:3744e806c6b1 Date: 2016-09-16 15:10 +0200 http://bitbucket.org/pypy/pypy/changeset/3744e806c6b1/ Log:merge default diff too long, truncating to 2000 out of 218021 lines diff --git a/.hgtags b/.hgtags ---

[pypy-commit] pypy better-storesink: just call constfold after cse to remove constant operations, instead of doing it

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: better-storesink Changeset: r87169:a9034e8630f8 Date: 2016-09-13 14:20 +0200 http://bitbucket.org/pypy/pypy/changeset/a9034e8630f8/ Log:just call constfold after cse to remove constant operations, instead of doing it badly in CSE

[pypy-commit] pypy better-storesink: compute the merged result more systematically

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: better-storesink Changeset: r87162:4570a9abf4c0 Date: 2016-09-09 13:41 +0200 http://bitbucket.org/pypy/pypy/changeset/4570a9abf4c0/ Log:compute the merged result more systematically diff --git a/rpython/translator/backendopt/cse.py

[pypy-commit] pypy better-storesink: add statistics printing after store sinking

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: better-storesink Changeset: r87156:5219caed36d0 Date: 2016-09-06 19:38 +0200 http://bitbucket.org/pypy/pypy/changeset/5219caed36d0/ Log:add statistics printing after store sinking diff --git a/rpython/translator/backendopt/all.py

[pypy-commit] pypy better-storesink: add some logging

2016-09-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: better-storesink Changeset: r87158:7e9fbd17bdb8 Date: 2016-09-06 19:38 +0200 http://bitbucket.org/pypy/pypy/changeset/7e9fbd17bdb8/ Log:add some logging diff --git a/rpython/translator/backendopt/cse.py

[pypy-commit] pypy default: Oops, bug: if a throw() propagates the error sent in, then the 'return'

2016-09-16 Thread arigo
Author: Armin Rigo Branch: Changeset: r87141:47fa78e23bfb Date: 2016-09-16 16:49 +0200 http://bitbucket.org/pypy/pypy/changeset/47fa78e23bfb/ Log:Oops, bug: if a throw() propagates the error sent in, then the 'return' trace was not called. This can confuse

[pypy-commit] pypy py3.5-corowrapper: 'yield from' starts to work again, a bit

2016-09-16 Thread arigo
Author: Armin Rigo Branch: py3.5-corowrapper Changeset: r87143:f3788fad20bf Date: 2016-09-16 17:48 +0200 http://bitbucket.org/pypy/pypy/changeset/f3788fad20bf/ Log:'yield from' starts to work again, a bit diff --git a/pypy/interpreter/generator.py

[pypy-commit] pypy py3.5-corowrapper: fix

2016-09-16 Thread arigo
Author: Armin Rigo Branch: py3.5-corowrapper Changeset: r87144:fe2ec186aa1c Date: 2016-09-16 17:51 +0200 http://bitbucket.org/pypy/pypy/changeset/fe2ec186aa1c/ Log:fix diff --git a/pypy/interpreter/generator.py b/pypy/interpreter/generator.py ---

[pypy-commit] pypy default: Better fix for 47fa78e23bfb (in obscure cases like the 'return' trace

2016-09-16 Thread arigo
Author: Armin Rigo Branch: Changeset: r87142:51f3a7987d0c Date: 2016-09-16 16:51 +0200 http://bitbucket.org/pypy/pypy/changeset/51f3a7987d0c/ Log:Better fix for 47fa78e23bfb (in obscure cases like the 'return' trace raising) diff --git a/pypy/interpreter/pyframe.py

[pypy-commit] pypy py3.5-corowrapper: in-progress

2016-09-16 Thread arigo
Author: Armin Rigo Branch: py3.5-corowrapper Changeset: r87145:7a673159303f Date: 2016-09-16 19:02 +0200 http://bitbucket.org/pypy/pypy/changeset/7a673159303f/ Log:in-progress diff --git a/pypy/interpreter/generator.py b/pypy/interpreter/generator.py ---

[pypy-commit] pypy py3.5-corowrapper: next fix

2016-09-16 Thread arigo
Author: Armin Rigo Branch: py3.5-corowrapper Changeset: r87146:70a2383edbd6 Date: 2016-09-16 19:12 +0200 http://bitbucket.org/pypy/pypy/changeset/70a2383edbd6/ Log:next fix diff --git a/pypy/interpreter/generator.py b/pypy/interpreter/generator.py ---

[pypy-commit] pypy py3.5-corowrapper: pass test_generator

2016-09-16 Thread arigo
Author: Armin Rigo Branch: py3.5-corowrapper Changeset: r87147:363825d9fe26 Date: 2016-09-16 19:24 +0200 http://bitbucket.org/pypy/pypy/changeset/363825d9fe26/ Log:pass test_generator diff --git a/pypy/interpreter/generator.py b/pypy/interpreter/generator.py ---