[pypy-commit] pypy concurrent-marksweep: Major collections.

2011-10-24 Thread arigo
Author: Armin Rigo Branch: concurrent-marksweep Changeset: r48361:6a06b46f0e3f Date: 2011-10-24 10:39 +0200 http://bitbucket.org/pypy/pypy/changeset/6a06b46f0e3f/ Log:Major collections. diff --git a/pypy/rpython/memory/gc/concurrentgen.py b/pypy/rpython/memory/gc/concurrentgen.py --- a/pypy

[pypy-commit] pypy concurrent-marksweep: Fixes.

2011-10-24 Thread arigo
Author: Armin Rigo Branch: concurrent-marksweep Changeset: r48362:2c6f2010d4af Date: 2011-10-24 10:47 +0200 http://bitbucket.org/pypy/pypy/changeset/2c6f2010d4af/ Log:Fixes. diff --git a/pypy/rpython/memory/gc/concurrentgen.py b/pypy/rpython/memory/gc/concurrentgen.py --- a/pypy/rpython/mem

[pypy-commit] pypy int-tag-untag-as-operations: a branch where to make int tagging and untagging explicit operations

2011-10-24 Thread cfbolz
Author: Carl Friedrich Bolz Branch: int-tag-untag-as-operations Changeset: r48363:63dfc29454a2 Date: 2011-10-22 14:13 +0200 http://bitbucket.org/pypy/pypy/changeset/63dfc29454a2/ Log:a branch where to make int tagging and untagging explicit operations

[pypy-commit] pypy int-tag-untag-as-operations: add a more precise .mul operation on integer bounds.

2011-10-24 Thread cfbolz
Author: Carl Friedrich Bolz Branch: int-tag-untag-as-operations Changeset: r48366:c499ddaefd52 Date: 2011-10-24 08:21 +0200 http://bitbucket.org/pypy/pypy/changeset/c499ddaefd52/ Log:add a more precise .mul operation on integer bounds. diff --git a/pypy/jit/metainterp/optimizeopt/intutils.py

[pypy-commit] pypy int-tag-untag-as-operations: introduce int_tag (which can overflow) and int_untag

2011-10-24 Thread cfbolz
Author: Carl Friedrich Bolz Branch: int-tag-untag-as-operations Changeset: r48364:300e42e0ee80 Date: 2011-10-22 14:13 +0200 http://bitbucket.org/pypy/pypy/changeset/300e42e0ee80/ Log:introduce int_tag (which can overflow) and int_untag diff --git a/pypy/jit/backend/llgraph/llimpl.py b/pypy/

[pypy-commit] pypy int-tag-untag-as-operations: rename the operation to int_tag_ovf

2011-10-24 Thread cfbolz
Author: Carl Friedrich Bolz Branch: int-tag-untag-as-operations Changeset: r48368:766299f6042c Date: 2011-10-24 09:01 +0200 http://bitbucket.org/pypy/pypy/changeset/766299f6042c/ Log:rename the operation to int_tag_ovf diff --git a/pypy/jit/backend/llgraph/llimpl.py b/pypy/jit/backend/llgra

[pypy-commit] pypy int-tag-untag-as-operations: each the optimizer that int_tag and int_untag are each others opposites

2011-10-24 Thread cfbolz
Author: Carl Friedrich Bolz Branch: int-tag-untag-as-operations Changeset: r48365:52e92200bf93 Date: 2011-10-22 14:23 +0200 http://bitbucket.org/pypy/pypy/changeset/52e92200bf93/ Log:each the optimizer that int_tag and int_untag are each others opposites diff --git a/pypy/jit/metaint

[pypy-commit] pypy int-tag-untag-as-operations: check that operations on untagged integers get their overflow checks removed

2011-10-24 Thread cfbolz
Author: Carl Friedrich Bolz Branch: int-tag-untag-as-operations Changeset: r48367:c7b823622f57 Date: 2011-10-24 08:35 +0200 http://bitbucket.org/pypy/pypy/changeset/c7b823622f57/ Log:check that operations on untagged integers get their overflow checks removed diff --git a/pypy/jit/me

[pypy-commit] pypy int-tag-untag-as-operations: introduce an no-overflow-check variant int_tag for when the bounds-optimizer

2011-10-24 Thread cfbolz
Author: Carl Friedrich Bolz Branch: int-tag-untag-as-operations Changeset: r48369:1a183750ebf7 Date: 2011-10-24 09:07 +0200 http://bitbucket.org/pypy/pypy/changeset/1a183750ebf7/ Log:introduce an no-overflow-check variant int_tag for when the bounds- optimizer finds out that something

[pypy-commit] pypy int-tag-untag-as-operations: (arigo, cfbolz): implement int_tag, int_tag_ovf and int_untag in the x86 backend

2011-10-24 Thread cfbolz
Author: Carl Friedrich Bolz Branch: int-tag-untag-as-operations Changeset: r48370:30319db8738f Date: 2011-10-24 12:41 +0200 http://bitbucket.org/pypy/pypy/changeset/30319db8738f/ Log:(arigo, cfbolz): implement int_tag, int_tag_ovf and int_untag in the x86 backend diff --git a/pypy/ji

[pypy-commit] pypy concurrent-marksweep: Reorder the tests for performance.

2011-10-24 Thread arigo
Author: Armin Rigo Branch: concurrent-marksweep Changeset: r48371:d5d9c2cef342 Date: 2011-10-24 10:53 +0200 http://bitbucket.org/pypy/pypy/changeset/d5d9c2cef342/ Log:Reorder the tests for performance. diff --git a/pypy/rpython/memory/gc/concurrentgen.py b/pypy/rpython/memory/gc/concurrentg

[pypy-commit] pypy default: Fix the declaration of the lloperation 'cast_float_to_int' to

2011-10-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r48372:4241a19c0141 Date: 2011-10-24 14:35 +0200 http://bitbucket.org/pypy/pypy/changeset/4241a19c0141/ Log:Fix the declaration of the lloperation 'cast_float_to_int' to no longer pretend it raises OverflowError, which is wrong. Fix the

[pypy-commit] pypy default: cast_uint_to_float and cast_float_to_uint are needed for

2011-10-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r48374:9977c322a23b Date: 2011-10-24 15:32 +0200 http://bitbucket.org/pypy/pypy/changeset/9977c322a23b/ Log:cast_uint_to_float and cast_float_to_uint are needed for micronumpy. Implement them (hopefully correctly now) as a residual call for now.

[pypy-commit] [COMMENT] Pull request #12 for pypy/pypy: Don't lose data when doing non-blocking I/O

2011-10-24 Thread Bitbucket
New comment on pull request: https://bitbucket.org/pypy/pypy/pull-request/12/dont-lose-data-when-doing-non-blocking-i-o#comment-552 arigo said: You should open a bug (or a patch) on http://bugs.pypy.org/, it is less likely to be lost. -- This is a pull request comment notification from bitbuck

[pypy-commit] pypy ppc-jit-backend: Update test_call_function for PPC64 to use load_from_addr

2011-10-24 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r48375:b0d393de7dd6 Date: 2011-10-24 11:20 -0400 http://bitbucket.org/pypy/pypy/changeset/b0d393de7dd6/ Log:Update test_call_function for PPC64 to use load_from_addr diff --git a/pypy/jit/backend/ppc/ppcgen/test/test_ppc.py b/pypy/jit/backe

[pypy-commit] pypy ppc-jit-backend: Update load_from_addr and store_reg for PPC64

2011-10-24 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r48376:128dccb72575 Date: 2011-10-24 11:24 -0400 http://bitbucket.org/pypy/pypy/changeset/128dccb72575/ Log:Update load_from_addr and store_reg for PPC64 diff --git a/pypy/jit/backend/ppc/ppcgen/codebuilder.py b/pypy/jit/backend/ppc/ppcgen/

[pypy-commit] pypy ppc-jit-backend: Add PPC64 support to emit_setfield_gc and emit_getfield_gc.

2011-10-24 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r48377:90737207852a Date: 2011-10-24 11:26 -0400 http://bitbucket.org/pypy/pypy/changeset/90737207852a/ Log:Add PPC64 support to emit_setfield_gc and emit_getfield_gc. Correct typo in emit_setfield_gc for size == 4. diff --git a/pypy

[pypy-commit] pypy ppc-jit-backend: Implemented basic array operations.

2011-10-24 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r48378:155a57d1d251 Date: 2011-10-24 17:52 +0200 http://bitbucket.org/pypy/pypy/changeset/155a57d1d251/ Log:Implemented basic array operations. diff --git a/pypy/jit/backend/ppc/ppcgen/opassembler.py b/pypy/jit/backend/ppc/ppcgen/opassembler.

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

2011-10-24 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r48379:38f0e1f8b91e Date: 2011-10-24 17:57 +0200 http://bitbucket.org/pypy/pypy/changeset/38f0e1f8b91e/ Log:merge diff --git a/pypy/jit/backend/ppc/ppcgen/codebuilder.py b/pypy/jit/backend/ppc/ppcgen/codebuilder.py --- a/pypy/jit/backend/ppc/

[pypy-commit] pypy default: Support casts between floats and (u)longlongs written as a force_cast.

2011-10-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r48380:054d434f5e82 Date: 2011-10-24 17:58 +0200 http://bitbucket.org/pypy/pypy/changeset/054d434f5e82/ Log:Support casts between floats and (u)longlongs written as a force_cast. diff --git a/pypy/jit/codewriter/jtransform.py b/pypy/jit/codewri

[pypy-commit] pypy ppc-jit-backend: Fixed hack in treating bools.

2011-10-24 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r48381:064df4d72ec4 Date: 2011-10-24 18:48 +0200 http://bitbucket.org/pypy/pypy/changeset/064df4d72ec4/ Log:Fixed hack in treating bools. diff --git a/pypy/jit/backend/ppc/ppcgen/regalloc.py b/pypy/jit/backend/ppc/ppcgen/regalloc.py --- a/pyp

[pypy-commit] pypy ppc-jit-backend: Remove comment

2011-10-24 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r48382:92cd323471d9 Date: 2011-10-24 18:49 +0200 http://bitbucket.org/pypy/pypy/changeset/92cd323471d9/ Log:Remove comment diff --git a/pypy/jit/backend/ppc/ppcgen/regalloc.py b/pypy/jit/backend/ppc/ppcgen/regalloc.py --- a/pypy/jit/backend/p

[pypy-commit] pypy concurrent-marksweep: Tweaks.

2011-10-24 Thread arigo
Author: Armin Rigo Branch: concurrent-marksweep Changeset: r48383:92beb8ad501b Date: 2011-10-24 19:34 +0200 http://bitbucket.org/pypy/pypy/changeset/92beb8ad501b/ Log:Tweaks. diff --git a/pypy/rpython/memory/gc/concurrentgen.py b/pypy/rpython/memory/gc/concurrentgen.py --- a/pypy/rpython/me

[pypy-commit] pypy concurrent-marksweep: It seems that not using "borrowed vars" is much more efficient.

2011-10-24 Thread arigo
Author: Armin Rigo Branch: concurrent-marksweep Changeset: r48384:229af044431a Date: 2011-10-24 19:35 +0200 http://bitbucket.org/pypy/pypy/changeset/229af044431a/ Log:It seems that not using "borrowed vars" is much more efficient. diff --git a/pypy/rpython/memory/gctransform/framework.py b/

[pypy-commit] pypy concurrent-marksweep: Move this outside the collector thread, to ensure that it is correctly

2011-10-24 Thread arigo
Author: Armin Rigo Branch: concurrent-marksweep Changeset: r48385:b661552e1f80 Date: 2011-10-24 19:38 +0200 http://bitbucket.org/pypy/pypy/changeset/b661552e1f80/ Log:Move this outside the collector thread, to ensure that it is correctly nested in a debug_print("gc-*") diff --git a/p

[pypy-commit] pypy lightweight-finalizers: rewrite obvious nonsense, needs tests

2011-10-24 Thread fijal
Author: Maciej Fijalkowski Branch: lightweight-finalizers Changeset: r48386:6949b37f7cb8 Date: 2011-10-24 16:33 +0200 http://bitbucket.org/pypy/pypy/changeset/6949b37f7cb8/ Log:rewrite obvious nonsense, needs tests diff --git a/pypy/rpython/memory/gc/minimark.py b/pypy/rpython/memory/gc/min

[pypy-commit] pypy default: add some options

2011-10-24 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r48387:9ea261642156 Date: 2011-10-24 16:34 +0200 http://bitbucket.org/pypy/pypy/changeset/9ea261642156/ Log:add some options diff --git a/pypy/pytest.ini b/pypy/pytest.ini --- a/pypy/pytest.ini +++ b/pypy/pytest.ini @@ -1,2 +1,2 @@ [pytest] -ad

[pypy-commit] pypy default: merged default

2011-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r48390:4c9bd9aa3b11 Date: 2011-10-24 15:27 -0400 http://bitbucket.org/pypy/pypy/changeset/4c9bd9aa3b11/ Log:merged default diff --git a/pypy/pytest.ini b/pypy/pytest.ini --- a/pypy/pytest.ini +++ b/pypy/pytest.ini @@ -1,2 +1,2 @@ [pytest] -addopts = -

[pypy-commit] pypy default: (alex, armin/carl for idea and discussion, fijal review) create instance_ptr_{eq, ne} resops, which are for comparins instances, as compared to ptr_eq which is for arbitrar

2011-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r48389:2d1620b150fa Date: 2011-10-24 15:26 -0400 http://bitbucket.org/pypy/pypy/changeset/2d1620b150fa/ Log:(alex, armin/carl for idea and discussion, fijal review) create instance_ptr_{eq,ne} resops, which are for comparins instances, as

[pypy-commit] pypy virtual-dicts: merged in default

2011-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: virtual-dicts Changeset: r48391:71c19063db1e Date: 2011-10-24 15:32 -0400 http://bitbucket.org/pypy/pypy/changeset/71c19063db1e/ Log:merged in default diff --git a/pypy/jit/backend/llsupport/descr.py b/pypy/jit/backend/llsupport/descr.py --- a/pypy/jit/backend/ll

[pypy-commit] pypy virtual-dicts: progress

2011-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: virtual-dicts Changeset: r48392:7e285a4099fa Date: 2011-10-24 16:01 -0400 http://bitbucket.org/pypy/pypy/changeset/7e285a4099fa/ Log:progress diff --git a/pypy/jit/metainterp/optimizeopt/virtualize.py b/pypy/jit/metainterp/optimizeopt/virtualize.py --- a/pypy/jit

[pypy-commit] pypy sse-vectorization: break test zjit. This gives traces roughly how I would like them.

2011-10-24 Thread fijal
Author: Maciej Fijalkowski Branch: sse-vectorization Changeset: r48393:d1e954a0e84e Date: 2011-10-24 22:26 +0200 http://bitbucket.org/pypy/pypy/changeset/d1e954a0e84e/ Log:break test zjit. This gives traces roughly how I would like them. diff --git a/pypy/module/micronumpy/interp_numarray.py

[pypy-commit] pypy virtual-dicts: small amount of progress

2011-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: virtual-dicts Changeset: r48394:c1ae43540abe Date: 2011-10-24 16:49 -0400 http://bitbucket.org/pypy/pypy/changeset/c1ae43540abe/ Log:small amount of progress diff --git a/pypy/jit/metainterp/optimizeopt/virtualstate.py b/pypy/jit/metainterp/optimizeopt/virtualsta

[pypy-commit] pypy virtual-dicts: whitespace

2011-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: virtual-dicts Changeset: r48395:3f982c63e966 Date: 2011-10-24 16:50 -0400 http://bitbucket.org/pypy/pypy/changeset/3f982c63e966/ Log:whitespace diff --git a/pypy/jit/metainterp/optimizeopt/virtualstate.py b/pypy/jit/metainterp/optimizeopt/virtualstate.py --- a/py

[pypy-commit] pypy virtual-dicts: better error

2011-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: virtual-dicts Changeset: r48396:ae6a1aa152ae Date: 2011-10-24 17:17 -0400 http://bitbucket.org/pypy/pypy/changeset/ae6a1aa152ae/ Log:better error diff --git a/pypy/jit/metainterp/optimizeopt/virtualize.py b/pypy/jit/metainterp/optimizeopt/virtualize.py --- a/pypy

[pypy-commit] [COMMENT] Pull request #12 for pypy/pypy: Don't lose data when doing non-blocking I/O

2011-10-24 Thread Bitbucket
New comment on pull request: https://bitbucket.org/pypy/pypy/pull-request/12/dont-lose-data-when-doing-non-blocking-i-o#comment-563 Stefano Rivera (stefanor) said: Good point, thanks: https://bugs.pypy.org/issue920 -- This is a pull request comment notification from bitbucket.org. You are recei

[pypy-commit] [COMMENT] Pull request #12 for pypy/pypy: Don't lose data when doing non-blocking I/O

2011-10-24 Thread Bitbucket
New comment on pull request: https://bitbucket.org/pypy/pypy/pull-request/12/dont-lose-data-when-doing-non-blocking-i-o#comment-564 Stefano Rivera (stefanor) said: Solved. App tests weren't the way to go here. -- This is a pull request comment notification from bitbucket.org. You are receiving

[pypy-commit] pypy virtual-dicts: progress I think

2011-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: virtual-dicts Changeset: r48397:325af29a17b8 Date: 2011-10-24 17:30 -0400 http://bitbucket.org/pypy/pypy/changeset/325af29a17b8/ Log:progress I think diff --git a/pypy/jit/metainterp/optimizeopt/virtualize.py b/pypy/jit/metainterp/optimizeopt/virtualize.py --- a/

[pypy-commit] pypy virtual-dicts: semantic fix

2011-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: virtual-dicts Changeset: r48398:365af1bb7686 Date: 2011-10-24 18:34 -0400 http://bitbucket.org/pypy/pypy/changeset/365af1bb7686/ Log:semantic fix diff --git a/pypy/jit/metainterp/optimizeopt/virtualize.py b/pypy/jit/metainterp/optimizeopt/virtualize.py --- a/pypy

[pypy-commit] pypy virtual-dicts: progress (these commit messages suck)

2011-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: virtual-dicts Changeset: r48399:a6e23621d2bf Date: 2011-10-24 18:36 -0400 http://bitbucket.org/pypy/pypy/changeset/a6e23621d2bf/ Log:progress (these commit messages suck) diff --git a/pypy/jit/metainterp/optimizeopt/virtualstate.py b/pypy/jit/metainterp/optimizeo

[pypy-commit] pypy default: fix

2011-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r48400:adab424acda7 Date: 2011-10-24 18:58 -0400 http://bitbucket.org/pypy/pypy/changeset/adab424acda7/ Log:fix diff --git a/pypy/jit/backend/x86/assembler.py b/pypy/jit/backend/x86/assembler.py --- a/pypy/jit/backend/x86/assembler.py +++ b/pypy/jit/b

[pypy-commit] pypy virtual-dicts: merge default in

2011-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: virtual-dicts Changeset: r48401:7a95c14349c0 Date: 2011-10-24 19:00 -0400 http://bitbucket.org/pypy/pypy/changeset/7a95c14349c0/ Log:merge default in diff --git a/pypy/jit/backend/x86/assembler.py b/pypy/jit/backend/x86/assembler.py --- a/pypy/jit/backend/x86/ass

[pypy-commit] pypy virtual-dicts: we now have a representation of a list of fielddescrs, I don't understand what generalization_of is supposed to do.

2011-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: virtual-dicts Changeset: r48402:068b20a399e7 Date: 2011-10-24 19:21 -0400 http://bitbucket.org/pypy/pypy/changeset/068b20a399e7/ Log:we now have a representation of a list of fielddescrs, I don't understand what generalization_of is supposed to do. diff --

[pypy-commit] pypy virtual-dicts: it... all seems to work

2011-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: virtual-dicts Changeset: r48403:912afce3954e Date: 2011-10-24 21:18 -0400 http://bitbucket.org/pypy/pypy/changeset/912afce3954e/ Log:it... all seems to work diff --git a/pypy/jit/metainterp/optimizeopt/virtualstate.py b/pypy/jit/metainterp/optimizeopt/virtualstat

[pypy-commit] pypy virtual-dicts: fix translation

2011-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: virtual-dicts Changeset: r48404:8cae4e3f42e9 Date: 2011-10-24 21:35 -0400 http://bitbucket.org/pypy/pypy/changeset/8cae4e3f42e9/ Log:fix translation diff --git a/pypy/jit/metainterp/optimizeopt/virtualstate.py b/pypy/jit/metainterp/optimizeopt/virtualstate.py ---

[pypy-commit] pypy virtual-dicts: next test that I need to pass. for virtual dicts to be useful in python they need to work through opaque pointers, which are used by dictmultiobject

2011-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: virtual-dicts Changeset: r48405:fd60bd44e563 Date: 2011-10-25 00:21 -0400 http://bitbucket.org/pypy/pypy/changeset/fd60bd44e563/ Log:next test that I need to pass. for virtual dicts to be useful in python they need to work through opaque pointers, which are

[pypy-commit] pypy virtual-dicts: replace cast_opaque_ptr resop, which never did anything except be used to mark its argument with mark_opaque_ptr, which helps reduce the confusion of the metainterp a

2011-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: virtual-dicts Changeset: r48406:56876d48b184 Date: 2011-10-25 00:55 -0400 http://bitbucket.org/pypy/pypy/changeset/56876d48b184/ Log:replace cast_opaque_ptr resop, which never did anything except be used to mark its argument with mark_opaque_ptr, which help