[pypy-commit] pypy default: - add in the backend, for binary instructions, a memo function

2011-11-03 Thread arigo
Author: Armin Rigo Branch: Changeset: r48677:eb27c44ca6ad Date: 2011-11-03 08:21 +0100 http://bitbucket.org/pypy/pypy/changeset/eb27c44ca6ad/ Log:- add in the backend, for binary instructions, a memo function that returns True if there is any NAME_xy that could match. If it r

[pypy-commit] pypy default: Add tests for two special cases of "MOV" in INSN().

2011-11-03 Thread arigo
Author: Armin Rigo Branch: Changeset: r48678:5478d1f631fa Date: 2011-11-03 08:36 +0100 http://bitbucket.org/pypy/pypy/changeset/5478d1f631fa/ Log:Add tests for two special cases of "MOV" in INSN(). diff --git a/pypy/jit/backend/x86/regloc.py b/pypy/jit/backend/x86/regloc.py --- a/pypy/jit/b

[pypy-commit] pypy default: merge heads

2011-11-03 Thread arigo
Author: Armin Rigo Branch: Changeset: r48679:665b14e5263a Date: 2011-11-03 10:24 +0100 http://bitbucket.org/pypy/pypy/changeset/665b14e5263a/ Log:merge heads diff --git a/pypy/jit/metainterp/optimizeopt/test/test_optimizebasic.py b/pypy/jit/metainterp/optimizeopt/test/test_optimizebasic.py

[pypy-commit] pypy stm: Improve targetdemo.

2011-11-03 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r48680:755507f9382b Date: 2011-11-03 10:38 +0100 http://bitbucket.org/pypy/pypy/changeset/755507f9382b/ Log:Improve targetdemo. diff --git a/pypy/rpython/lltypesystem/rffi.py b/pypy/rpython/lltypesystem/rffi.py --- a/pypy/rpython/lltypesystem/rffi.p

[pypy-commit] pypy default: interning ints aswell

2011-11-03 Thread hakanardo
Author: Hakan Ardo Branch: Changeset: r48681:d0466dedbb14 Date: 2011-11-03 07:34 +0100 http://bitbucket.org/pypy/pypy/changeset/d0466dedbb14/ Log:interning ints aswell diff --git a/pypy/jit/metainterp/optimizeopt/optimizer.py b/pypy/jit/metainterp/optimizeopt/optimizer.py --- a/pypy/jit/me

[pypy-commit] pypy default: test short preamble and non constant case aswell

2011-11-03 Thread hakanardo
Author: Hakan Ardo Branch: Changeset: r48682:9f81b789732c Date: 2011-11-03 07:50 +0100 http://bitbucket.org/pypy/pypy/changeset/9f81b789732c/ Log:test short preamble and non constant case aswell diff --git a/pypy/jit/metainterp/optimizeopt/test/test_optimizeopt.py b/pypy/jit/metainterp/opt

[pypy-commit] pypy default: corner case not handled very well

2011-11-03 Thread hakanardo
Author: Hakan Ardo Branch: Changeset: r48683:ce8c2eb5ccba Date: 2011-11-03 08:49 +0100 http://bitbucket.org/pypy/pypy/changeset/ce8c2eb5ccba/ Log:corner case not handled very well diff --git a/pypy/jit/metainterp/optimizeopt/optimizer.py b/pypy/jit/metainterp/optimizeopt/optimizer.py --- a

[pypy-commit] pypy default: alternative fix that does not rely on interning ints

2011-11-03 Thread hakanardo
Author: Hakan Ardo Branch: Changeset: r48685:569f16f25b1b Date: 2011-11-03 09:10 +0100 http://bitbucket.org/pypy/pypy/changeset/569f16f25b1b/ Log:alternative fix that does not rely on interning ints diff --git a/pypy/jit/metainterp/optimizeopt/heap.py b/pypy/jit/metainterp/optimizeopt/heap

[pypy-commit] pypy default: allow setarrayitem to update the cache exported from the preamble to the loop the same way setfield does

2011-11-03 Thread hakanardo
Author: Hakan Ardo Branch: Changeset: r48686:8b75e3ece413 Date: 2011-11-03 11:02 +0100 http://bitbucket.org/pypy/pypy/changeset/8b75e3ece413/ Log:allow setarrayitem to update the cache exported from the preamble to the loop the same way setfield does diff --git a/pypy/jit/metainterp

[pypy-commit] pypy default: dissable for now, it makes test_convert_from_SmallFunctionSetPBCRepr_to_FunctionsPBCRep fail

2011-11-03 Thread hakanardo
Author: Hakan Ardo Branch: Changeset: r48684:5fb2ee9b17b4 Date: 2011-11-03 09:01 +0100 http://bitbucket.org/pypy/pypy/changeset/5fb2ee9b17b4/ Log:dissable for now, it makes test_convert_from_SmallFunctionSetPBCRepr_to_FunctionsPBCRep fail diff --git a/pypy/jit/metainterp/optimizeopt

[pypy-commit] pypy default: hg merge

2011-11-03 Thread hakanardo
Author: Hakan Ardo Branch: Changeset: r48687:9aea5197a2d6 Date: 2011-11-03 11:03 +0100 http://bitbucket.org/pypy/pypy/changeset/9aea5197a2d6/ Log:hg merge diff --git a/pypy/jit/backend/x86/regloc.py b/pypy/jit/backend/x86/regloc.py --- a/pypy/jit/backend/x86/regloc.py +++ b/pypy/jit/backend

[pypy-commit] pypy stm: Tweaks.

2011-11-03 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r48688:65eb6e47e3b4 Date: 2011-11-03 11:23 +0100 http://bitbucket.org/pypy/pypy/changeset/65eb6e47e3b4/ Log:Tweaks. diff --git a/pypy/translator/stm/funcgen.py b/pypy/translator/stm/funcgen.py --- a/pypy/translator/stm/funcgen.py +++ b/pypy/translato

[pypy-commit] pypy stm: Yay, the first example of RPython program that runs successfully

2011-11-03 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r48689:0524190818dc Date: 2011-11-03 11:30 +0100 http://bitbucket.org/pypy/pypy/changeset/0524190818dc/ Log:Yay, the first example of RPython program that runs successfully on multiple threads. diff --git a/pypy/translator/stm/test/targetdemo

[pypy-commit] pypy stm: A poor man's lock: just use a regular counter and check it every second.

2011-11-03 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r48690:65545adde075 Date: 2011-11-03 11:40 +0100 http://bitbucket.org/pypy/pypy/changeset/65545adde075/ Log:A poor man's lock: just use a regular counter and check it every second. As it's all protected by STM it works nicely. diff --git a/py

[pypy-commit] pypy default: break up circular dependencies among short_boxes and give up

2011-11-03 Thread hakanardo
Author: Hakan Ardo Branch: Changeset: r48691:d9708bf78c40 Date: 2011-11-03 11:46 +0100 http://bitbucket.org/pypy/pypy/changeset/d9708bf78c40/ Log:break up circular dependencies among short_boxes and give up diff --git a/pypy/jit/metainterp/optimizeopt/heap.py b/pypy/jit/metainterp/optimize

[pypy-commit] pypy stm: kill these two C functions.

2011-11-03 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r48692:b30caa32b11c Date: 2011-11-03 11:47 +0100 http://bitbucket.org/pypy/pypy/changeset/b30caa32b11c/ Log:kill these two C functions. diff --git a/pypy/translator/stm/src_stm/et.c b/pypy/translator/stm/src_stm/et.c --- a/pypy/translator/stm/src_stm

[pypy-commit] pypy stm: Break a line that is definitely too long in the log.

2011-11-03 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r48693:b4212b951b97 Date: 2011-11-03 11:50 +0100 http://bitbucket.org/pypy/pypy/changeset/b4212b951b97/ Log:Break a line that is definitely too long in the log. diff --git a/pypy/translator/stm/src_stm/et.c b/pypy/translator/stm/src_stm/et.c --- a/py

[pypy-commit] pypy default: only use a single counter in xrange iterators (should save a setitem)

2011-11-03 Thread hakanardo
Author: Hakan Ardo Branch: Changeset: r48694:a27a481ec877 Date: 2011-11-03 13:11 +0100 http://bitbucket.org/pypy/pypy/changeset/a27a481ec877/ Log:only use a single counter in xrange iterators (should save a setitem) diff --git a/pypy/module/__builtin__/functional.py b/pypy/module/_

[pypy-commit] pypy stm: Baaaaah. setjmp() cannot be called on a jmp_buf that belongs to a parent

2011-11-03 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r48695:e76f2b79fd27 Date: 2011-11-03 13:38 +0100 http://bitbucket.org/pypy/pypy/changeset/e76f2b79fd27/ Log:Bah. setjmp() cannot be called on a jmp_buf that belongs to a parent frame, because then longjmp()ing to it will not automatically

[pypy-commit] pypy step-one-xrange: special case xrange without any step specified

2011-11-03 Thread hakanardo
Author: Hakan Ardo Branch: step-one-xrange Changeset: r48696:6cf1ae5ff5d6 Date: 2011-11-03 13:39 +0100 http://bitbucket.org/pypy/pypy/changeset/6cf1ae5ff5d6/ Log:special case xrange without any step specified diff --git a/pypy/module/__builtin__/functional.py b/pypy/module/__builtin__/funct

[pypy-commit] Notification: pypy

2011-11-03 Thread Bitbucket
You have received a notification from Van Lindberg. Hi, I forked pypy. My fork is at https://bitbucket.org/vanl/pypy. -- Disable notifications at https://bitbucket.org/account/notifications/ ___ pypy-commit mailing list [email protected] http://mai

[pypy-commit] pypy rgc-mem-pressure: optimize it slightly. not look up the dictionary each time we see _digest_size

2011-11-03 Thread fijal
Author: Maciej Fijalkowski Branch: rgc-mem-pressure Changeset: r48697:92885c7cf7b6 Date: 2011-11-03 15:02 +0100 http://bitbucket.org/pypy/pypy/changeset/92885c7cf7b6/ Log:optimize it slightly. not look up the dictionary each time we see _digest_size diff --git a/pypy/module/_hashlib/

[pypy-commit] pypy stm: hum.

2011-11-03 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r48698:7a7ae4b45135 Date: 2011-11-03 15:02 +0100 http://bitbucket.org/pypy/pypy/changeset/7a7ae4b45135/ Log:hum. diff --git a/pypy/translator/stm/transform.py b/pypy/translator/stm/transform.py --- a/pypy/translator/stm/transform.py +++ b/pypy/transl

[pypy-commit] pypy stm: A few extra operations that are always allowed.

2011-11-03 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r48700:e6d9748a9589 Date: 2011-11-03 15:11 +0100 http://bitbucket.org/pypy/pypy/changeset/e6d9748a9589/ Log:A few extra operations that are always allowed. diff --git a/pypy/rpython/lltypesystem/lloperation.py b/pypy/rpython/lltypesystem/lloperation

[pypy-commit] pypy step-one-xrange: test ensuring xrange iterator only produces a single setitem

2011-11-03 Thread hakanardo
Author: Hakan Ardo Branch: step-one-xrange Changeset: r48701:3aaee477e4be Date: 2011-11-03 15:21 +0100 http://bitbucket.org/pypy/pypy/changeset/3aaee477e4be/ Log:test ensuring xrange iterator only produces a single setitem diff --git a/pypy/module/pypyjit/test_pypy_c/test_misc.py b/pypy/mod

[pypy-commit] pypy win64_gborg: continuing win64

2011-11-03 Thread ctismer
Author: Christian Tismer Branch: win64_gborg Changeset: r48703:5179e1483dfb Date: 2011-11-03 16:24 +0100 http://bitbucket.org/pypy/pypy/changeset/5179e1483dfb/ Log:continuing win64 ___ pypy-commit mailing list [email protected] http://mail.pyt

[pypy-commit] pypy numpy-multidim: kill a function that was only used by one test. a bit pep-8ify, not too

2011-11-03 Thread fijal
Author: Maciej Fijalkowski Branch: numpy-multidim Changeset: r48704:fa14e6831e42 Date: 2011-11-03 16:41 +0100 http://bitbucket.org/pypy/pypy/changeset/fa14e6831e42/ Log:kill a function that was only used by one test. a bit pep-8ify, not too much though diff --git a/pypy/module/micron

[pypy-commit] pypy ppc-jit-backend: (bivab, hager):

2011-11-03 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r48705:a82d9737ffe8 Date: 2011-11-03 17:37 +0100 http://bitbucket.org/pypy/pypy/changeset/a82d9737ffe8/ Log:(bivab, hager): Fixed enoying error which occurred at calls because of the backchain. diff --git a/pypy/jit/backend/ppc/ppcgen/

[pypy-commit] pypy ppc-jit-backend: merge

2011-11-03 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r48706:0dbe1538b91a Date: 2011-11-03 17:47 +0100 http://bitbucket.org/pypy/pypy/changeset/0dbe1538b91a/ Log:merge diff --git a/pypy/jit/backend/ppc/ppcgen/opassembler.py b/pypy/jit/backend/ppc/ppcgen/opassembler.py --- a/pypy/jit/backend/ppc/

[pypy-commit] pypy stm: In-progress

2011-11-03 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r48707:497d967a02c3 Date: 2011-11-03 18:19 +0100 http://bitbucket.org/pypy/pypy/changeset/497d967a02c3/ Log:In-progress diff --git a/pypy/translator/stm/src_stm/et.c b/pypy/translator/stm/src_stm/et.c --- a/pypy/translator/stm/src_stm/et.c +++ b/pypy

[pypy-commit] pypy jit-targets: introduce targets that can be placed somewhere in a trace that can be used jump targets

2011-11-03 Thread hakanardo
Author: Hakan Ardo Branch: jit-targets Changeset: r48708:505538a47fdb Date: 2011-11-03 18:20 +0100 http://bitbucket.org/pypy/pypy/changeset/505538a47fdb/ Log:introduce targets that can be placed somewhere in a trace that can be used jump targets diff --git a/pypy/jit/backend/llgraph/

[pypy-commit] pypy stm: Test and fix.

2011-11-03 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r48709:a45743e6ee4e Date: 2011-11-03 18:54 +0100 http://bitbucket.org/pypy/pypy/changeset/a45743e6ee4e/ Log:Test and fix. diff --git a/pypy/translator/stm/funcgen.py b/pypy/translator/stm/funcgen.py --- a/pypy/translator/stm/funcgen.py +++ b/pypy/tra

[pypy-commit] pypy stm: Yay! targetdemo is fixed and seems to be working.

2011-11-03 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r48710:b27ec3dc59d2 Date: 2011-11-03 19:15 +0100 http://bitbucket.org/pypy/pypy/changeset/b27ec3dc59d2/ Log:Yay! targetdemo is fixed and seems to be working. Added a test for it. diff --git a/pypy/translator/stm/funcgen.py b/pypy/translator/s

[pypy-commit] pypy jit-targets: use TargetToken to refere to a target

2011-11-03 Thread hakanardo
Author: Hakan Ardo Branch: jit-targets Changeset: r48711:1860421891fe Date: 2011-11-03 19:18 +0100 http://bitbucket.org/pypy/pypy/changeset/1860421891fe/ Log:use TargetToken to refere to a target diff --git a/pypy/jit/backend/llgraph/llimpl.py b/pypy/jit/backend/llgraph/llimpl.py --- a/pypy

[pypy-commit] pypy numpy-multidim: make compile use a real tokenizer - breaks test_zjit for now

2011-11-03 Thread fijal
Author: Maciej Fijalkowski Branch: numpy-multidim Changeset: r48712:6d64103f1147 Date: 2011-11-03 19:28 +0100 http://bitbucket.org/pypy/pypy/changeset/6d64103f1147/ Log:make compile use a real tokenizer - breaks test_zjit for now diff --git a/pypy/module/micronumpy/compile.py b/pypy/module/

[pypy-commit] pypy numpy-multidim: shuffle code around. Now get_code lives outside of tests

2011-11-03 Thread fijal
Author: Maciej Fijalkowski Branch: numpy-multidim Changeset: r48713:1582795d14f5 Date: 2011-11-03 19:50 +0100 http://bitbucket.org/pypy/pypy/changeset/1582795d14f5/ Log:shuffle code around. Now get_code lives outside of tests diff --git a/pypy/rlib/rsre/rpy.py b/pypy/rlib/rsre/rpy.py new fil

[pypy-commit] pypy numpy-multidim: make parser not rpython (we'll think about it later) and use the same trick

2011-11-03 Thread fijal
Author: Maciej Fijalkowski Branch: numpy-multidim Changeset: r48714:b6ce14bbf83d Date: 2011-11-03 20:41 +0100 http://bitbucket.org/pypy/pypy/changeset/b6ce14bbf83d/ Log:make parser not rpython (we'll think about it later) and use the same trick as we used in test_newgs. Running rsre o

[pypy-commit] pypy default: Merge rgc-mem-pressure. This branch adds memory pressure in some crucial points

2011-11-03 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r48715:19bc61988c39 Date: 2011-11-03 20:46 +0100 http://bitbucket.org/pypy/pypy/changeset/19bc61988c39/ Log:Merge rgc-mem-pressure. This branch adds memory pressure in some crucial points where C allocates a lot, but struct is fixed size.

[pypy-commit] pypy rgc-mem-pressure: closed merged branch

2011-11-03 Thread fijal
Author: Maciej Fijalkowski Branch: rgc-mem-pressure Changeset: r48716:0ede8b92968e Date: 2011-11-03 20:47 +0100 http://bitbucket.org/pypy/pypy/changeset/0ede8b92968e/ Log:closed merged branch ___ pypy-commit mailing list [email protected] http

[pypy-commit] pypy default: merge default

2011-11-03 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r48717:8ecb5f0cd990 Date: 2011-11-03 20:47 +0100 http://bitbucket.org/pypy/pypy/changeset/8ecb5f0cd990/ Log:merge default diff --git a/pypy/jit/metainterp/optimizeopt/heap.py b/pypy/jit/metainterp/optimizeopt/heap.py --- a/pypy/jit/metainterp/o

[pypy-commit] pypy numpy-multidim: pep-8, use StringBuilder

2011-11-03 Thread mattip
Author: mattip Branch: numpy-multidim Changeset: r48718:7dbb08ac308d Date: 2011-11-03 21:53 +0200 http://bitbucket.org/pypy/pypy/changeset/7dbb08ac308d/ Log:pep-8, use StringBuilder diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py --- a/pypy/

[pypy-commit] pypy numpy-multidim: Merge str and repr cleanup

2011-11-03 Thread mattip
Author: mattip Branch: numpy-multidim Changeset: r48719:8e0658ce330e Date: 2011-11-03 21:57 +0200 http://bitbucket.org/pypy/pypy/changeset/8e0658ce330e/ Log:Merge str and repr cleanup diff --git a/pypy/module/micronumpy/compile.py b/pypy/module/micronumpy/compile.py --- a/pypy/module/micronu

[pypy-commit] pypy stm: setarrayitem.

2011-11-03 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r48720:e67329e4d516 Date: 2011-11-03 19:28 +0100 http://bitbucket.org/pypy/pypy/changeset/e67329e4d516/ Log:setarrayitem. diff --git a/pypy/rpython/lltypesystem/lloperation.py b/pypy/rpython/lltypesystem/lloperation.py --- a/pypy/rpython/lltypesyste

[pypy-commit] pypy stm: getarrayitem. Disabled for now because it's missing the C impl.

2011-11-03 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r48721:104a651020e1 Date: 2011-11-03 21:12 +0100 http://bitbucket.org/pypy/pypy/changeset/104a651020e1/ Log:getarrayitem. Disabled for now because it's missing the C impl. diff --git a/pypy/rpython/lltypesystem/lloperation.py b/pypy/rpython/lltypesy

[pypy-commit] pypy stm: Start a test for the complicated logic in funcgen.py,

2011-11-03 Thread arigo
Author: Armin Rigo Branch: stm Changeset: r48722:d5f6a1b6e66c Date: 2011-11-03 21:12 +0100 http://bitbucket.org/pypy/pypy/changeset/d5f6a1b6e66c/ Log:Start a test for the complicated logic in funcgen.py, even though it mirrors closely the (tested) logic in rstm.py. diff --git a/pypy/

[pypy-commit] pypy default: fix an overlow bug

2011-11-03 Thread hakanardo
Author: Hakan Ardo Branch: Changeset: r48723:7202b0d9cb70 Date: 2011-11-03 21:14 +0100 http://bitbucket.org/pypy/pypy/changeset/7202b0d9cb70/ Log:fix an overlow bug diff --git a/pypy/module/__builtin__/functional.py b/pypy/module/__builtin__/functional.py --- a/pypy/module/__builtin__/func

[pypy-commit] pypy default: hg merge

2011-11-03 Thread hakanardo
Author: Hakan Ardo Branch: Changeset: r48724:7cd8e99541db Date: 2011-11-03 21:15 +0100 http://bitbucket.org/pypy/pypy/changeset/7cd8e99541db/ Log:hg merge diff --git a/pypy/module/_hashlib/interp_hashlib.py b/pypy/module/_hashlib/interp_hashlib.py --- a/pypy/module/_hashlib/interp_hashlib.

[pypy-commit] pypy numpy-multidim: pep8

2011-11-03 Thread fijal
Author: Maciej Fijalkowski Branch: numpy-multidim Changeset: r48725:a5e0435c51ef Date: 2011-11-03 21:56 +0100 http://bitbucket.org/pypy/pypy/changeset/a5e0435c51ef/ Log:pep8 diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py --- a/pypy/module/

[pypy-commit] pypy.org extradoc: update numbers

2011-11-03 Thread fijal
Author: Maciej Fijalkowski Branch: extradoc Changeset: r289:a86881b1306a Date: 2011-11-03 22:04 +0100 http://bitbucket.org/pypy/pypy.org/changeset/a86881b1306a/ Log:update numbers diff --git a/don1.html b/don1.html --- a/don1.html +++ b/don1.html @@ -8,12 +8,12 @@ $(function() { $(