[pypy-commit] pypy invalidate-virtualrefs: inform the rtyper that calling a vref might raise an exception (but only after the transformation done by the JIT, not implemented yet)

2011-05-26 Thread antocuni
Author: Antonio Cuni Branch: invalidate-virtualrefs Changeset: r44489:6853b1a2c2b3 Date: 2011-05-25 21:52 +0200 http://bitbucket.org/pypy/pypy/changeset/6853b1a2c2b3/ Log:inform the rtyper that calling a vref might raise an exception (but only after the transformation done by the JIT,

[pypy-commit] pypy dict-strategies: kill withdictmeasurement fully

2011-05-26 Thread cfbolz
Author: Carl Friedrich Bolz Branch: dict-strategies Changeset: r44490:c4eef497ff38 Date: 2011-05-26 11:54 +0200 http://bitbucket.org/pypy/pypy/changeset/c4eef497ff38/ Log:kill withdictmeasurement fully diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyo

[pypy-commit] pypy dict-strategies: kill CALL_LIKELY_BUILTIN, it was not really worth the hassle any more.

2011-05-26 Thread cfbolz
Author: Carl Friedrich Bolz Branch: dict-strategies Changeset: r44495:49ef09de8987 Date: 2011-05-26 13:36 +0200 http://bitbucket.org/pypy/pypy/changeset/49ef09de8987/ Log:kill CALL_LIKELY_BUILTIN, it was not really worth the hassle any more. diff --git a/pypy/config/pypyoption.py b/p

[pypy-commit] pypy dict-strategies: rename _is_sane_hash to _hashes_differently_than_string, which is far more accurate.

2011-05-26 Thread cfbolz
Author: Carl Friedrich Bolz Branch: dict-strategies Changeset: r44496:b357e9f5b209 Date: 2011-05-26 13:42 +0200 http://bitbucket.org/pypy/pypy/changeset/b357e9f5b209/ Log:rename _is_sane_hash to _hashes_differently_than_string, which is far more accurate. diff --git a/pypy/objspace/s

[pypy-commit] pypy dict-strategies: even better name: _never_equal_to_string

2011-05-26 Thread cfbolz
Author: Carl Friedrich Bolz Branch: dict-strategies Changeset: r44497:61dae755c3b6 Date: 2011-05-26 13:46 +0200 http://bitbucket.org/pypy/pypy/changeset/61dae755c3b6/ Log:even better name: _never_equal_to_string diff --git a/pypy/objspace/std/celldict.py b/pypy/objspace/std/celldict.py --- a

[pypy-commit] pypy jit-applevel-hook: first version of the hook - not very useful, passes only the code object

2011-05-26 Thread fijal
Author: Maciej Fijalkowski Branch: jit-applevel-hook Changeset: r44498:b80deceea541 Date: 2011-05-26 13:46 +0200 http://bitbucket.org/pypy/pypy/changeset/b80deceea541/ Log:first version of the hook - not very useful, passes only the code object diff --git a/pypy/module/pypyjit/interp

[pypy-commit] pypy arm-backed-float: import test_zrpy_gc from x86 backend

2011-05-26 Thread bivab
Author: David Schneider Branch: arm-backed-float Changeset: r44499:2efcce3212a1 Date: 2011-05-24 19:14 +0200 http://bitbucket.org/pypy/pypy/changeset/2efcce3212a1/ Log:import test_zrpy_gc from x86 backend diff --git a/pypy/jit/backend/x86/test/test_zrpy_gc.py b/pypy/jit/backend/arm/test/tes

[pypy-commit] pypy arm-backed-float: pypy 1.4 compatibility

2011-05-26 Thread bivab
Author: David Schneider Branch: arm-backed-float Changeset: r44500:80070eb28dfd Date: 2011-05-24 19:15 +0200 http://bitbucket.org/pypy/pypy/changeset/80070eb28dfd/ Log:pypy 1.4 compatibility diff --git a/pypy/jit/backend/arm/assembler.py b/pypy/jit/backend/arm/assembler.py --- a/pypy/jit/ba

[pypy-commit] pypy arm-backed-float: (cfbolz, bivab) translation fixes

2011-05-26 Thread bivab
Author: David Schneider Branch: arm-backed-float Changeset: r44501:54fb201aab08 Date: 2011-05-25 14:06 +0200 http://bitbucket.org/pypy/pypy/changeset/54fb201aab08/ Log:(cfbolz, bivab) translation fixes diff --git a/pypy/jit/backend/arm/regalloc.py b/pypy/jit/backend/arm/regalloc.py --- a/pyp

[pypy-commit] pypy arm-backed-float: (arigo, bivab) implement cond_call_gc_wb operation

2011-05-26 Thread bivab
Author: David Schneider Branch: arm-backed-float Changeset: r44502:8585a9e5f393 Date: 2011-05-25 14:06 +0200 http://bitbucket.org/pypy/pypy/changeset/8585a9e5f393/ Log:(arigo, bivab) implement cond_call_gc_wb operation diff --git a/pypy/jit/backend/arm/opassembler.py b/pypy/jit/backend/arm/

[pypy-commit] pypy arm-backed-float: (arigo, bivab) generate header and footer for functions when using the shadowstack

2011-05-26 Thread bivab
Author: David Schneider Branch: arm-backed-float Changeset: r44503:a30fd39f0ff5 Date: 2011-05-25 14:07 +0200 http://bitbucket.org/pypy/pypy/changeset/a30fd39f0ff5/ Log:(arigo, bivab) generate header and footer for functions when using the shadowstack diff --git a/pypy/jit/backend/arm

[pypy-commit] pypy arm-backed-float: (arigo, bivab) run this code only once and not for each testcase, causing the test to take forever to start running

2011-05-26 Thread bivab
Author: David Schneider Branch: arm-backed-float Changeset: r44504:617194cbac27 Date: 2011-05-25 17:45 +0200 http://bitbucket.org/pypy/pypy/changeset/617194cbac27/ Log:(arigo, bivab) run this code only once and not for each testcase, causing the test to take forever to start running

[pypy-commit] pypy arm-backed-float: (bivab, arigo): fix argument moving for calls that overwrite others

2011-05-26 Thread bivab
Author: David Schneider Branch: arm-backed-float Changeset: r44505:13feb62428a4 Date: 2011-05-26 11:25 +0200 http://bitbucket.org/pypy/pypy/changeset/13feb62428a4/ Log:(bivab, arigo): fix argument moving for calls that overwrite others diff --git a/pypy/jit/backend/arm/opassembler.py b/pypy

[pypy-commit] pypy arm-backed-float: correct alignemnt calculation when loading arguments from registers at a call entry point. Also make sure not to overwrite parts of float arguments when moving the

2011-05-26 Thread bivab
Author: David Schneider Branch: arm-backed-float Changeset: r44506:ec1072ed7587 Date: 2011-05-26 14:11 +0200 http://bitbucket.org/pypy/pypy/changeset/ec1072ed7587/ Log:correct alignemnt calculation when loading arguments from registers at a call entry point. Also make sure not to over

[pypy-commit] pypy invalidate-virtualrefs: (antocuni, arigo around) backout 8b6429ceffa8: we don't really need the jit_invalidate_vref_maybe op, we will use another approach

2011-05-26 Thread antocuni
Author: Antonio Cuni Branch: invalidate-virtualrefs Changeset: r44507:6b786e71c765 Date: 2011-05-26 13:29 +0200 http://bitbucket.org/pypy/pypy/changeset/6b786e71c765/ Log:(antocuni, arigo around) backout 8b6429ceffa8: we don't really need the jit_invalidate_vref_maybe op, we will use

[pypy-commit] pypy invalidate-virtualrefs: partially (and manually) revert 9ad031b5b63e, but keep the about replace_force_virtual_with_call

2011-05-26 Thread antocuni
Author: Antonio Cuni Branch: invalidate-virtualrefs Changeset: r44508:09933bd5c878 Date: 2011-05-26 14:21 +0200 http://bitbucket.org/pypy/pypy/changeset/09933bd5c878/ Log:partially (and manually) revert 9ad031b5b63e, but keep the about replace_force_virtual_with_call diff --git a/pyp

[pypy-commit] pypy invalidate-virtualrefs: don't force the vref when calling finish(), and raise an exception if we try to force it later

2011-05-26 Thread antocuni
Author: Antonio Cuni Branch: invalidate-virtualrefs Changeset: r44509:a092695359d8 Date: 2011-05-26 14:38 +0200 http://bitbucket.org/pypy/pypy/changeset/a092695359d8/ Log:don't force the vref when calling finish(), and raise an exception if we try to force it later diff --git a/pypy/

[pypy-commit] pypy arm-backed-float: uh, missed this change

2011-05-26 Thread bivab
Author: David Schneider Branch: arm-backed-float Changeset: r44510:0457c95d44ae Date: 2011-05-26 14:19 +0200 http://bitbucket.org/pypy/pypy/changeset/0457c95d44ae/ Log:uh, missed this change diff --git a/pypy/jit/backend/arm/assembler.py b/pypy/jit/backend/arm/assembler.py --- a/pypy/jit/ba

[pypy-commit] pypy arm-backed-float: when spilling a variable or loading a spilled one use an immediate value to store the offset on the stack if it is in the range -4095 to 4095

2011-05-26 Thread bivab
Author: David Schneider Branch: arm-backed-float Changeset: r44511:ea74932e6aa5 Date: 2011-05-26 14:20 +0200 http://bitbucket.org/pypy/pypy/changeset/ea74932e6aa5/ Log:when spilling a variable or loading a spilled one use an immediate value to store the offset on the stack if it is in

[pypy-commit] pypy jit-applevel-hook: refactor logger a bit to be more useful

2011-05-26 Thread fijal
Author: Maciej Fijalkowski Branch: jit-applevel-hook Changeset: r44512:dd83968b35b5 Date: 2011-05-26 14:59 +0200 http://bitbucket.org/pypy/pypy/changeset/dd83968b35b5/ Log:refactor logger a bit to be more useful diff --git a/pypy/jit/metainterp/logger.py b/pypy/jit/metainterp/logger.py --- a

[pypy-commit] pypy jit-applevel-hook: pass logger around and a bit of fun with RPython

2011-05-26 Thread fijal
Author: Maciej Fijalkowski Branch: jit-applevel-hook Changeset: r44513:a4862ff67f66 Date: 2011-05-26 14:59 +0200 http://bitbucket.org/pypy/pypy/changeset/a4862ff67f66/ Log:pass logger around and a bit of fun with RPython diff --git a/pypy/jit/metainterp/compile.py b/pypy/jit/metainterp/compi

[pypy-commit] pypy jit-applevel-hook: finish rpython fun

2011-05-26 Thread fijal
Author: Maciej Fijalkowski Branch: jit-applevel-hook Changeset: r44514:e5a65e02832c Date: 2011-05-26 15:01 +0200 http://bitbucket.org/pypy/pypy/changeset/e5a65e02832c/ Log:finish rpython fun diff --git a/pypy/jit/metainterp/warmstate.py b/pypy/jit/metainterp/warmstate.py --- a/pypy/jit/metai

[pypy-commit] pypy jit-applevel-hook: improve hook and document it a bit

2011-05-26 Thread fijal
Author: Maciej Fijalkowski Branch: jit-applevel-hook Changeset: r44515:f1e5f71e71b6 Date: 2011-05-26 15:15 +0200 http://bitbucket.org/pypy/pypy/changeset/f1e5f71e71b6/ Log:improve hook and document it a bit diff --git a/pypy/module/pypyjit/interp_jit.py b/pypy/module/pypyjit/interp_jit.py -

[pypy-commit] pypy invalidate-virtualrefs: fix the test: calling vref after finish is no longer supported

2011-05-26 Thread antocuni
Author: Antonio Cuni Branch: invalidate-virtualrefs Changeset: r44516:caf9659e9913 Date: 2011-05-26 14:42 +0200 http://bitbucket.org/pypy/pypy/changeset/caf9659e9913/ Log:fix the test: calling vref after finish is no longer supported diff --git a/pypy/jit/metainterp/test/test_virtualref.py

[pypy-commit] pypy invalidate-virtualrefs: fix this test, we actually allocate less than before

2011-05-26 Thread antocuni
Author: Antonio Cuni Branch: invalidate-virtualrefs Changeset: r44517:9e63cb72af5d Date: 2011-05-26 14:55 +0200 http://bitbucket.org/pypy/pypy/changeset/9e63cb72af5d/ Log:fix this test, we actually allocate less than before diff --git a/pypy/jit/metainterp/test/test_virtualref.py b/pypy/jit

[pypy-commit] pypy invalidate-virtualrefs: kill this test, which is not supposed to work now; also, fix test_simple_force_sometimes, which now allocates less

2011-05-26 Thread antocuni
Author: Antonio Cuni Branch: invalidate-virtualrefs Changeset: r44518:a02e8e2b7c7d Date: 2011-05-26 15:57 +0200 http://bitbucket.org/pypy/pypy/changeset/a02e8e2b7c7d/ Log:kill this test, which is not supposed to work now; also, fix test_simple_force_sometimes, which now allocates less

[pypy-commit] pypy invalidate-virtualrefs: (arigo, antocuni): fix the logic when we force the vref already during tracing: in that case, we want to store the object inside forced; in the 'normal' case

2011-05-26 Thread antocuni
Author: Antonio Cuni Branch: invalidate-virtualrefs Changeset: r44519:15073d77a970 Date: 2011-05-26 16:13 +0200 http://bitbucket.org/pypy/pypy/changeset/15073d77a970/ Log:(arigo, antocuni): fix the logic when we force the vref already during tracing: in that case, we want to store the

[pypy-commit] pypy arm-backed-float: make sure to spill the variables before reordering them to perform the call

2011-05-26 Thread bivab
Author: David Schneider Branch: arm-backed-float Changeset: r44520:85393a5c17dc Date: 2011-05-26 16:56 +0200 http://bitbucket.org/pypy/pypy/changeset/85393a5c17dc/ Log:make sure to spill the variables before reordering them to perform the call diff --git a/pypy/jit/backend/arm/opasse

[pypy-commit] pypy invalidate-virtualrefs: rpython fixes

2011-05-26 Thread antocuni
Author: Antonio Cuni Branch: invalidate-virtualrefs Changeset: r44521:4c3010e5862f Date: 2011-05-26 18:08 +0200 http://bitbucket.org/pypy/pypy/changeset/4c3010e5862f/ Log:rpython fixes diff --git a/pypy/interpreter/error.py b/pypy/interpreter/error.py --- a/pypy/interpreter/error.py +++ b/py

[pypy-commit] extradoc extradoc: Register for the sprint.

2011-05-26 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r3588:275f93d509fe Date: 2011-05-26 18:49 +0200 http://bitbucket.org/pypy/extradoc/changeset/275f93d509fe/ Log:Register for the sprint. diff --git a/sprintinfo/genova-pegli-2011/people.txt b/sprintinfo/genova-pegli-2011/people.txt --- a/sprinti

[pypy-commit] pypy default: Fix this test for the new inlining of ll_append.

2011-05-26 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r44522:e0c28ab687be Date: 2011-05-26 10:04 -0700 http://bitbucket.org/pypy/pypy/changeset/e0c28ab687be/ Log:Fix this test for the new inlining of ll_append. diff --git a/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py b/pypy/module/pypyjit/test_pyp

[pypy-commit] pypy default: returning None in __len__ is not acceptable; use a different operation

2011-05-26 Thread gutworth
Author: Benjamin Peterson Branch: Changeset: r44523:59dbc231c86a Date: 2011-05-26 12:24 -0500 http://bitbucket.org/pypy/pypy/changeset/59dbc231c86a/ Log:returning None in __len__ is not acceptable; use a different operation diff --git a/pypy/module/test_lib_pypy/test_tputil.py b/py

[pypy-commit] buildbot default: Remove trailing whitespace

2011-05-26 Thread DasIch
Author: Daniel Neuhäuser Branch: Changeset: r511:942575a026da Date: 2011-05-26 19:48 +0200 http://bitbucket.org/pypy/buildbot/changeset/942575a026da/ Log:Remove trailing whitespace diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py --- a/bot2/pypybuildbot/builds.py +++ b

[pypy-commit] extradoc extradoc: Add myself

2011-05-26 Thread rguillebert
Author: Romain Guillebert Branch: extradoc Changeset: r3589:f1fd315799b9 Date: 2011-05-26 18:52 +0100 http://bitbucket.org/pypy/extradoc/changeset/f1fd315799b9/ Log:Add myself diff --git a/sprintinfo/genova-pegli-2011/people.txt b/sprintinfo/genova-pegli-2011/people.txt --- a/sprintinfo/gen

[pypy-commit] pypy jit-short_from_state: this cant happen with the current set of supported virtuals, but we should be carefull when adding support for new once that for example would insert pure oper

2011-05-26 Thread hakanardo
Author: Hakan Ardo Branch: jit-short_from_state Changeset: r44524:72cf8b1d9480 Date: 2011-05-25 19:53 +0200 http://bitbucket.org/pypy/pypy/changeset/72cf8b1d9480/ Log:this cant happen with the current set of supported virtuals, but we should be carefull when adding support for new onc

[pypy-commit] pypy jit-short_from_state: Allow a VirtualState with two separate boxes to be considered a generaltiation of a VirtualState where those two boxes are assumed equal. Verify that the Virtu

2011-05-26 Thread hakanardo
Author: Hakan Ardo Branch: jit-short_from_state Changeset: r44525:edf56e2eb1ae Date: 2011-05-26 20:00 +0200 http://bitbucket.org/pypy/pypy/changeset/edf56e2eb1ae/ Log:Allow a VirtualState with two separate boxes to be considered a generaltiation of a VirtualState where those two boxes

[pypy-commit] pypy jit-short_from_state: exact guard numbering not interesting

2011-05-26 Thread hakanardo
Author: Hakan Ardo Branch: jit-short_from_state Changeset: r44526:862f6344c7b8 Date: 2011-05-26 21:10 +0200 http://bitbucket.org/pypy/pypy/changeset/862f6344c7b8/ Log:exact guard numbering not interesting diff --git a/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py b/pypy/module/pypyjit/

[pypy-commit] pypy jit-short_from_state: setfields not cahced across loop boundaries

2011-05-26 Thread hakanardo
Author: Hakan Ardo Branch: jit-short_from_state Changeset: r44527:c445bce2ee37 Date: 2011-05-26 21:29 +0200 http://bitbucket.org/pypy/pypy/changeset/c445bce2ee37/ Log:setfields not cahced across loop boundaries diff --git a/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py b/pypy/module/py

[pypy-commit] extradoc extradoc: Added myself

2011-05-26 Thread berdario
Author: Dario Bertini Branch: extradoc Changeset: r3590:fb84f809eccb Date: 2011-05-27 03:49 +0200 http://bitbucket.org/pypy/extradoc/changeset/fb84f809eccb/ Log:Added myself diff --git a/sprintinfo/genova-pegli-2011/people.txt b/sprintinfo/genova-pegli-2011/people.txt --- a/sprintinfo/genov