[pypy-commit] pypy improve-heap-caching-tracing: cache the length of arrays

2011-09-07 Thread cfbolz
Author: Carl Friedrich Bolz Branch: improve-heap-caching-tracing Changeset: r47122:e5b582b1252b Date: 2011-09-06 14:03 +0200 http://bitbucket.org/pypy/pypy/changeset/e5b582b1252b/ Log:cache the length of arrays diff --git a/pypy/jit/metainterp/heapcache.py b/pypy/jit/metainterp/heapcache.py

[pypy-commit] pypy improve-heap-caching-tracing: be more precise about getarrayitem

2011-09-07 Thread cfbolz
Author: Carl Friedrich Bolz Branch: improve-heap-caching-tracing Changeset: r47125:77217d39842f Date: 2011-09-07 11:01 +0200 http://bitbucket.org/pypy/pypy/changeset/77217d39842f/ Log:be more precise about getarrayitem diff --git a/pypy/jit/metainterp/heapcache.py b/pypy/jit/metainterp/heapc

[pypy-commit] pypy improve-heap-caching-tracing: typo

2011-09-07 Thread cfbolz
Author: Carl Friedrich Bolz Branch: improve-heap-caching-tracing Changeset: r47123:055211ce9263 Date: 2011-09-07 10:38 +0200 http://bitbucket.org/pypy/pypy/changeset/055211ce9263/ Log:typo diff --git a/pypy/jit/metainterp/heapcache.py b/pypy/jit/metainterp/heapcache.py --- a/pypy/jit/metaint

[pypy-commit] pypy improve-heap-caching-tracing: some XXXs

2011-09-07 Thread cfbolz
Author: Carl Friedrich Bolz Branch: improve-heap-caching-tracing Changeset: r47124:c6cae1ac723f Date: 2011-09-07 10:39 +0200 http://bitbucket.org/pypy/pypy/changeset/c6cae1ac723f/ Log:some XXXs diff --git a/pypy/jit/metainterp/pyjitpl.py b/pypy/jit/metainterp/pyjitpl.py --- a/pypy/jit/metain

[pypy-commit] pypy space-iterator-improvements: kill dead old commented out code

2011-09-07 Thread fijal
Author: Maciej Fijalkowski Branch: space-iterator-improvements Changeset: r47126:dc2ecf85cd66 Date: 2011-09-07 11:02 +0200 http://bitbucket.org/pypy/pypy/changeset/dc2ecf85cd66/ Log:kill dead old commented out code diff --git a/pypy/objspace/std/iterobject.py b/pypy/objspace/std/iterobject.p

[pypy-commit] pypy jit-duplicated_short_boxes: no point in importing extra info from preamble about values at these points

2011-09-07 Thread hakanardo
Author: Hakan Ardo Branch: jit-duplicated_short_boxes Changeset: r47127:88fb2b9f8a28 Date: 2011-09-07 09:57 +0200 http://bitbucket.org/pypy/pypy/changeset/88fb2b9f8a28/ Log:no point in importing extra info from preamble about values at these points diff --git a/pypy/jit/metainterp/op

[pypy-commit] pypy default: OS/X fix.

2011-09-07 Thread arigo
Author: Armin Rigo Branch: Changeset: r47129:e556f833d5d4 Date: 2011-09-07 12:58 +0200 http://bitbucket.org/pypy/pypy/changeset/e556f833d5d4/ Log:OS/X fix. diff --git a/pypy/module/pwd/test/test_pwd.py b/pypy/module/pwd/test/test_pwd.py --- a/pypy/module/pwd/test/test_pwd.py +++ b/pypy/modu

[pypy-commit] pypy default: Fix tests on OS/X (hopefully).

2011-09-07 Thread arigo
Author: Armin Rigo Branch: Changeset: r47130:5190d760b26c Date: 2011-09-07 13:05 +0200 http://bitbucket.org/pypy/pypy/changeset/5190d760b26c/ Log:Fix tests on OS/X (hopefully). diff --git a/pypy/module/pypyjit/test_pypy_c/test__ffi.py b/pypy/module/pypyjit/test_pypy_c/test__ffi.py --- a/py

[pypy-commit] pypy ffistruct: move _ffi.Field and most of compute_shape to interp-level

2011-09-07 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r47131:f348de8d9bd3 Date: 2011-09-07 09:43 +0200 http://bitbucket.org/pypy/pypy/changeset/f348de8d9bd3/ Log:move _ffi.Field and most of compute_shape to interp-level diff --git a/pypy/module/_ffi/__init__.py b/pypy/module/_ffi/__init__.py ---

[pypy-commit] pypy ffistruct: disable this check for now, or else it won't translate

2011-09-07 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r47135:55a06bcd9f06 Date: 2011-09-07 14:55 +0200 http://bitbucket.org/pypy/pypy/changeset/55a06bcd9f06/ Log:disable this check for now, or else it won't translate diff --git a/pypy/module/_ffi/interp_ffitype.py b/pypy/module/_ffi/interp_ffit

[pypy-commit] pypy ffistruct: bah, forgot to add this file in the previous checkin

2011-09-07 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r47132:bbd9a00c7369 Date: 2011-09-07 09:46 +0200 http://bitbucket.org/pypy/pypy/changeset/bbd9a00c7369/ Log:bah, forgot to add this file in the previous checkin diff --git a/pypy/module/_ffi/interp_struct.py b/pypy/module/_ffi/interp_struct.

[pypy-commit] pypy ffistruct: make it possible to allocate a struct, and set/get fields on it. The only supported type is 'long' so far

2011-09-07 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r47133:63d9d0f04f6a Date: 2011-09-07 11:48 +0200 http://bitbucket.org/pypy/pypy/changeset/63d9d0f04f6a/ Log:make it possible to allocate a struct, and set/get fields on it. The only supported type is 'long' so far diff --git a/pypy/mo

[pypy-commit] pypy ffistruct: move the code to get/set arbitrary struct fields to rlib.libffi. Eventually, these two functions will be recognized and optimized by the JIT

2011-09-07 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r47134:750b3e0a7cf1 Date: 2011-09-07 14:53 +0200 http://bitbucket.org/pypy/pypy/changeset/750b3e0a7cf1/ Log:move the code to get/set arbitrary struct fields to rlib.libffi. Eventually, these two functions will be recognized and optimiz

[pypy-commit] pypy improve-heap-caching-tracing: fix XXX: also record newness of non-vtable memory

2011-09-07 Thread cfbolz
Author: Carl Friedrich Bolz Branch: improve-heap-caching-tracing Changeset: r47136:f7596aea7542 Date: 2011-09-07 11:35 +0200 http://bitbucket.org/pypy/pypy/changeset/f7596aea7542/ Log:fix XXX: also record newness of non-vtable memory add a new one XXX diff --git a/pypy/jit/metainterp/pyjitpl

[pypy-commit] pypy improve-heap-caching-tracing: test and fix: make getfield use getfield_now_known

2011-09-07 Thread cfbolz
Author: Carl Friedrich Bolz Branch: improve-heap-caching-tracing Changeset: r47137:7213ef516d50 Date: 2011-09-07 14:02 +0200 http://bitbucket.org/pypy/pypy/changeset/7213ef516d50/ Log:test and fix: make getfield use getfield_now_known diff --git a/pypy/jit/metainterp/pyjitpl.py b/pypy/jit/me

[pypy-commit] pypy improve-heap-caching-tracing: make list allocation go through the heap cache

2011-09-07 Thread cfbolz
Author: Carl Friedrich Bolz Branch: improve-heap-caching-tracing Changeset: r47138:60e23189885e Date: 2011-09-07 14:13 +0200 http://bitbucket.org/pypy/pypy/changeset/60e23189885e/ Log:make list allocation go through the heap cache diff --git a/pypy/jit/metainterp/pyjitpl.py b/pypy/jit/metain

[pypy-commit] pypy improve-heap-caching-tracing: add a sanity check: whenever a get operation is not generated, because the heap

2011-09-07 Thread cfbolz
Author: Carl Friedrich Bolz Branch: improve-heap-caching-tracing Changeset: r47139:4a4c1b008238 Date: 2011-09-07 15:12 +0200 http://bitbucket.org/pypy/pypy/changeset/4a4c1b008238/ Log:add a sanity check: whenever a get operation is not generated, because the heap cache finds it, look

[pypy-commit] pypy ffistruct: fix import

2011-09-07 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r47140:f307fe1ce048 Date: 2011-09-07 15:09 +0200 http://bitbucket.org/pypy/pypy/changeset/f307fe1ce048/ Log:fix import diff --git a/pypy/module/_rawffi/interp_rawffi.py b/pypy/module/_rawffi/interp_rawffi.py --- a/pypy/module/_rawffi/interp_

[pypy-commit] pypy ffistruct: bah, apparently interp2app functions cannot be class methods

2011-09-07 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r47141:839a7545459d Date: 2011-09-07 15:23 +0200 http://bitbucket.org/pypy/pypy/changeset/839a7545459d/ Log:bah, apparently interp2app functions cannot be class methods diff --git a/pypy/module/_ffi/interp_struct.py b/pypy/module/_ffi/interp

[pypy-commit] benchmarks default: Reduce the delay and number of retries.

2011-09-07 Thread arigo
Author: Armin Rigo Branch: Changeset: r143:867c2dc2b16d Date: 2011-09-07 16:11 +0200 http://bitbucket.org/pypy/benchmarks/changeset/867c2dc2b16d/ Log:Reduce the delay and number of retries. diff --git a/saveresults.py b/saveresults.py --- a/saveresults.py +++ b/saveresults.py @@ -93,7 +93,7

[pypy-commit] pypy ppc-jit-backend: Import WORD from arch.py

2011-09-07 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r47142:ec6bced5ed4f Date: 2011-09-07 10:05 -0400 http://bitbucket.org/pypy/pypy/changeset/ec6bced5ed4f/ Log:Import WORD from arch.py diff --git a/pypy/jit/backend/ppc/runner.py b/pypy/jit/backend/ppc/runner.py --- a/pypy/jit/backend/ppc/runn

[pypy-commit] pypy ffistruct: fix the result of a bad rebase

2011-09-07 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r47145:4906bb0ec80b Date: 2011-09-07 16:52 +0200 http://bitbucket.org/pypy/pypy/changeset/4906bb0ec80b/ Log:fix the result of a bad rebase diff --git a/pypy/module/_ffi/interp_struct.py b/pypy/module/_ffi/interp_struct.py --- a/pypy/module/_

[pypy-commit] pypy ffistruct: rpython fix

2011-09-07 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r47146:660db963a4f4 Date: 2011-09-07 16:54 +0200 http://bitbucket.org/pypy/pypy/changeset/660db963a4f4/ Log:rpython fix diff --git a/pypy/module/_ffi/interp_struct.py b/pypy/module/_ffi/interp_struct.py --- a/pypy/module/_ffi/interp_struct.p

[pypy-commit] pypy ffistruct: turn the interplevel KeyError into an applevel AttributeError

2011-09-07 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r47143:845ee1dd654a Date: 2011-09-07 16:48 +0200 http://bitbucket.org/pypy/pypy/changeset/845ee1dd654a/ Log:turn the interplevel KeyError into an applevel AttributeError diff --git a/pypy/module/_ffi/interp_struct.py b/pypy/module/_ffi/inter

[pypy-commit] pypy ffistruct: this method is elidable

2011-09-07 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r47144:303389ce8fb7 Date: 2011-09-07 16:50 +0200 http://bitbucket.org/pypy/pypy/changeset/303389ce8fb7/ Log:this method is elidable diff --git a/pypy/module/_ffi/interp_struct.py b/pypy/module/_ffi/interp_struct.py --- a/pypy/module/_ffi/int

[pypy-commit] pypy ffistruct: make it elidable_promote, it should completely optimize away the offset/type lookup

2011-09-07 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r47147:f407a607b971 Date: 2011-09-07 17:35 +0200 http://bitbucket.org/pypy/pypy/changeset/f407a607b971/ Log:make it elidable_promote, it should completely optimize away the offset/type lookup diff --git a/pypy/module/_ffi/interp_struc

[pypy-commit] pypy ffistruct: merge heads

2011-09-07 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r47148:65841158be6f Date: 2011-09-07 17:38 +0200 http://bitbucket.org/pypy/pypy/changeset/65841158be6f/ Log:merge heads diff --git a/pypy/module/_ffi/interp_struct.py b/pypy/module/_ffi/interp_struct.py --- a/pypy/module/_ffi/interp_struct.p

[pypy-commit] pypy jit-str_in_preamble: closing barnch. jit-short_from_state gave us string optimization in the preamble without the

2011-09-07 Thread hakanardo
Author: Hakan Ardo Branch: jit-str_in_preamble Changeset: r47149:4723df6a9296 Date: 2011-09-07 18:53 +0200 http://bitbucket.org/pypy/pypy/changeset/4723df6a9296/ Log:closing barnch. jit-short_from_state gave us string optimization in the preamble without the drawbacks of this branch.

[pypy-commit] pypy ffistruct: we can't promote strings

2011-09-07 Thread antocuni
Author: Antonio Cuni Branch: ffistruct Changeset: r47150:ba6f286d77a8 Date: 2011-09-07 17:55 +0200 http://bitbucket.org/pypy/pypy/changeset/ba6f286d77a8/ Log:we can't promote strings diff --git a/pypy/module/_ffi/interp_struct.py b/pypy/module/_ffi/interp_struct.py --- a/pypy/module/_ffi/in

[pypy-commit] pypy jit-duplicated_short_boxes: close merged branch

2011-09-07 Thread hakanardo
Author: Hakan Ardo Branch: jit-duplicated_short_boxes Changeset: r47151:ccb8b7b10a93 Date: 2011-09-07 20:55 +0200 http://bitbucket.org/pypy/pypy/changeset/ccb8b7b10a93/ Log:close merged branch ___ pypy-commit mailing list [email protected] htt

[pypy-commit] pypy default: Merge jit-duplicated_short_boxes, which introduces 3 things:

2011-09-07 Thread hakanardo
Author: Hakan Ardo Branch: Changeset: r47152:9f54c3c0bb32 Date: 2011-09-07 21:12 +0200 http://bitbucket.org/pypy/pypy/changeset/9f54c3c0bb32/ Log:Merge jit-duplicated_short_boxes, which introduces 3 things: 1: ValueImporter. Instead of placing guards for the state of every V

[pypy-commit] pypy improve-heap-caching-tracing: Add a special case for ll_arraycopy in the tracing heap cache.

2011-09-07 Thread alex_gaynor
Author: Alex Gaynor Branch: improve-heap-caching-tracing Changeset: r47153:70d999525e7c Date: 2011-09-07 14:02 -0700 http://bitbucket.org/pypy/pypy/changeset/70d999525e7c/ Log:Add a special case for ll_arraycopy in the tracing heap cache. diff --git a/pypy/jit/metainterp/heapcache.py b/pypy/

[pypy-commit] pypy reflex-support: turn type handles into rffi.LONGs to make sure they're opaque

2011-09-07 Thread wlav
Author: Wim Lavrijsen Branch: reflex-support Changeset: r47155:532fbe4e0dd4 Date: 2011-09-07 20:38 -0700 http://bitbucket.org/pypy/pypy/changeset/532fbe4e0dd4/ Log:turn type handles into rffi.LONGs to make sure they're opaque diff --git a/pypy/module/cppyy/capi/__init__.py b/pypy/module/cpp