[pypy-commit] pypy stmgc-c4: fix an error in richards.py caused by missing barriers in llmodel.py

2013-08-22 Thread Raemi
Author: Remi Meier Branch: stmgc-c4 Changeset: r66285:7abd061e246f Date: 2013-08-21 16:32 +0200 http://bitbucket.org/pypy/pypy/changeset/7abd061e246f/ Log:fix an error in richards.py caused by missing barriers in llmodel.py diff --git a/rpython/jit/backend/llsupport/gc.py b/rpython/jit/back

[pypy-commit] stmgc default: Yet another kind of barrier.

2013-08-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r489:49c3e0a47ab4 Date: 2013-08-22 10:44 +0200 http://bitbucket.org/pypy/stmgc/changeset/49c3e0a47ab4/ Log:Yet another kind of barrier. diff --git a/c4/stmgc.h b/c4/stmgc.h --- a/c4/stmgc.h +++ b/c4/stmgc.h @@ -84,6 +84,10 @@ - stm_repeat_write_barr

[pypy-commit] pypy stmgc-static-barrier: Improve generation of write barriers: we only need to check

2013-08-22 Thread arigo
Author: Armin Rigo Branch: stmgc-static-barrier Changeset: r66286:3588acc12b00 Date: 2013-08-22 10:50 +0200 http://bitbucket.org/pypy/pypy/changeset/3588acc12b00/ Log:Improve generation of write barriers: we only need to check GCFLAG_WRITEBARRIER when we're writing a GC pointer into t

[pypy-commit] pypy stmgc-static-barrier: No-op: refactoring

2013-08-22 Thread arigo
Author: Armin Rigo Branch: stmgc-static-barrier Changeset: r66287:8093f92384b5 Date: 2013-08-22 14:39 +0200 http://bitbucket.org/pypy/pypy/changeset/8093f92384b5/ Log:No-op: refactoring diff --git a/rpython/translator/stm/writebarrier.py b/rpython/translator/stm/writebarrier.py --- a/rpytho

[pypy-commit] pypy stmgc-static-barrier: Do some whole-graph analysis.

2013-08-22 Thread arigo
Author: Armin Rigo Branch: stmgc-static-barrier Changeset: r66288:7a6758a0e339 Date: 2013-08-22 16:56 +0200 http://bitbucket.org/pypy/pypy/changeset/7a6758a0e339/ Log:Do some whole-graph analysis. diff --git a/rpython/rtyper/lltypesystem/lloperation.py b/rpython/rtyper/lltypesystem/lloperat

[pypy-commit] pypy stmgc-static-barrier: Fixes

2013-08-22 Thread arigo
Author: Armin Rigo Branch: stmgc-static-barrier Changeset: r66289:1db160b42644 Date: 2013-08-22 17:00 +0200 http://bitbucket.org/pypy/pypy/changeset/1db160b42644/ Log:Fixes diff --git a/rpython/translator/stm/writebarrier.py b/rpython/translator/stm/writebarrier.py --- a/rpython/translator/

[pypy-commit] pypy default: Make numpy.character usable as a dtype (it's an alias for str)

2013-08-22 Thread rguillebert
Author: Romain Guillebert Branch: Changeset: r66290:36f863c1be94 Date: 2013-08-22 17:03 +0200 http://bitbucket.org/pypy/pypy/changeset/36f863c1be94/ Log:Make numpy.character usable as a dtype (it's an alias for str) diff --git a/pypy/module/micronumpy/interp_dtype.py b/pypy/module/micronum

[pypy-commit] pypy stmgc-static-barrier: Hack to avoid the algorithm getting stuck (maybe)

2013-08-22 Thread arigo
Author: Armin Rigo Branch: stmgc-static-barrier Changeset: r66291:1ffdd060 Date: 2013-08-22 18:39 +0200 http://bitbucket.org/pypy/pypy/changeset/1ffdd060/ Log:Hack to avoid the algorithm getting stuck (maybe) diff --git a/rpython/translator/stm/test/test_writebarrier.py b/rpython/tr

[pypy-commit] stmgc default: Conditionally compile counters for the slow- and fast-path of all

2013-08-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r490:7b20231c8672 Date: 2013-08-22 19:59 +0200 http://bitbucket.org/pypy/stmgc/changeset/7b20231c8672/ Log:Conditionally compile counters for the slow- and fast-path of all barriers. diff --git a/c4/Makefile b/c4/Makefile --- a/c4/Makefile +++ b

[pypy-commit] pypy stmgc-static-barrier: import stmgc/7b20231c8672

2013-08-22 Thread arigo
Author: Armin Rigo Branch: stmgc-static-barrier Changeset: r66292:30e2390132a9 Date: 2013-08-22 20:00 +0200 http://bitbucket.org/pypy/pypy/changeset/30e2390132a9/ Log:import stmgc/7b20231c8672 diff --git a/rpython/translator/stm/src_stm/fprintcolor.c b/rpython/translator/stm/src_stm/fprintc

[pypy-commit] stmgc default: Duh, the point is to always print the results if compiled in.

2013-08-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r491:c7b63aa9d1ad Date: 2013-08-22 20:07 +0200 http://bitbucket.org/pypy/stmgc/changeset/c7b63aa9d1ad/ Log:Duh, the point is to always print the results if compiled in. diff --git a/c4/fprintcolor.c b/c4/fprintcolor.c --- a/c4/fprintcolor.c +++ b/c4/fpr

[pypy-commit] pypy stmgc-static-barrier: import stmgc/c7b63aa9d1ad

2013-08-22 Thread arigo
Author: Armin Rigo Branch: stmgc-static-barrier Changeset: r66293:001be0e0a57b Date: 2013-08-22 20:08 +0200 http://bitbucket.org/pypy/pypy/changeset/001be0e0a57b/ Log:import stmgc/c7b63aa9d1ad diff --git a/rpython/translator/stm/src_stm/fprintcolor.c b/rpython/translator/stm/src_stm/fprintc

[pypy-commit] pypy stmgc-c4: Add a (failing) test: most operations with GC in their name need to

2013-08-22 Thread arigo
Author: Armin Rigo Branch: stmgc-c4 Changeset: r66294:e8db0c8ebd69 Date: 2013-08-22 20:57 +0200 http://bitbucket.org/pypy/pypy/changeset/e8db0c8ebd69/ Log:Add a (failing) test: most operations with GC in their name need to be explicitly handled by stmrewrite. This is a hack but it giv

[pypy-commit] stmgc nonmovable-int-ref: Close branch about to be merged

2013-08-22 Thread arigo
Author: Armin Rigo Branch: nonmovable-int-ref Changeset: r492:b1da024ad4b2 Date: 2013-08-22 21:15 +0200 http://bitbucket.org/pypy/stmgc/changeset/b1da024ad4b2/ Log:Close branch about to be merged ___ pypy-commit mailing list pypy-commit@python.org

[pypy-commit] pypy stmgc-static-barrier: import stmgc/e14cbe1e040b

2013-08-22 Thread arigo
Author: Armin Rigo Branch: stmgc-static-barrier Changeset: r66295:98d982c2 Date: 2013-08-22 21:16 +0200 http://bitbucket.org/pypy/pypy/changeset/98d982c2/ Log:import stmgc/e14cbe1e040b diff --git a/rpython/translator/stm/src_stm/et.c b/rpython/translator/stm/src_stm/et.c --- a/rpyth

[pypy-commit] stmgc default: hg merge nonmovable-int-ref

2013-08-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r493:e14cbe1e040b Date: 2013-08-22 21:15 +0200 http://bitbucket.org/pypy/stmgc/changeset/e14cbe1e040b/ Log:hg merge nonmovable-int-ref diff --git a/c4/demo_random.c b/c4/demo_random.c --- a/c4/demo_random.c +++ b/c4/demo_random.c @@ -20,6 +20,7 @@ #def

[pypy-commit] pypy stmgc-c4: For now, withmapdict=True doesn't really make sense with STM, so

2013-08-22 Thread arigo
Author: Armin Rigo Branch: stmgc-c4 Changeset: r66297:da6a6e77fe6f Date: 2013-08-22 21:23 +0200 http://bitbucket.org/pypy/pypy/changeset/da6a6e77fe6f/ Log:For now, withmapdict=True doesn't really make sense with STM, so don't enable it if we select both STM and the JIT. diff --git a/

[pypy-commit] stmgc default: Subtle bug and fix: v_atomic should not be re-read just before

2013-08-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r495:c83f63e68ab7 Date: 2013-08-22 22:17 +0200 http://bitbucket.org/pypy/stmgc/changeset/c83f63e68ab7/ Log:Subtle bug and fix: v_atomic should not be re-read just before CommitTransaction, because the latter can still abort. diff --git a/c4/stms

[pypy-commit] stmgc default: Add a passing test

2013-08-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r494:8c2d3f61dc9c Date: 2013-08-22 22:04 +0200 http://bitbucket.org/pypy/stmgc/changeset/8c2d3f61dc9c/ Log:Add a passing test diff --git a/c4/et.c b/c4/et.c --- a/c4/et.c +++ b/c4/et.c @@ -1005,6 +1005,7 @@ static void init_transaction(struct tx_desc

[pypy-commit] pypy stmgc-static-barrier: import stmgc/c83f63e68ab7

2013-08-22 Thread arigo
Author: Armin Rigo Branch: stmgc-static-barrier Changeset: r66298:fa5432ef32cf Date: 2013-08-22 22:21 +0200 http://bitbucket.org/pypy/pypy/changeset/fa5432ef32cf/ Log:import stmgc/c83f63e68ab7 diff --git a/rpython/translator/stm/src_stm/et.c b/rpython/translator/stm/src_stm/et.c --- a/rpyth

[pypy-commit] pypy stmgc-c4: some pure operations need barriers (stmrewrite.py)

2013-08-22 Thread Raemi
Author: Remi Meier Branch: stmgc-c4 Changeset: r66299:f727195ab6ee Date: 2013-08-22 22:08 +0200 http://bitbucket.org/pypy/pypy/changeset/f727195ab6ee/ Log:some pure operations need barriers (stmrewrite.py) diff --git a/rpython/jit/backend/llsupport/stmrewrite.py b/rpython/jit/backend/llsupp

[pypy-commit] pypy default: numpy.rint(int) should return a float

2013-08-22 Thread rguillebert
Author: Romain Guillebert Branch: Changeset: r66300:8b0616ce3b90 Date: 2013-08-22 22:42 +0200 http://bitbucket.org/pypy/pypy/changeset/8b0616ce3b90/ Log:numpy.rint(int) should return a float diff --git a/pypy/module/micronumpy/test/test_ufuncs.py b/pypy/module/micronumpy/test/test_ufuncs.p

[pypy-commit] stmgc default: A passing test

2013-08-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r496:ed13d51eb291 Date: 2013-08-22 22:56 +0200 http://bitbucket.org/pypy/stmgc/changeset/ed13d51eb291/ Log:A passing test diff --git a/c4/test/test_atomic.py b/c4/test/test_atomic.py --- a/c4/test/test_atomic.py +++ b/c4/test/test_atomic.py @@ -65,6 +65

[pypy-commit] stmgc default: Kill v_atomic. After any abort, reset the "atomic" flag to 0, because

2013-08-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r497:f614fd3a4080 Date: 2013-08-22 22:58 +0200 http://bitbucket.org/pypy/stmgc/changeset/f614fd3a4080/ Log:Kill v_atomic. After any abort, reset the "atomic" flag to 0, because we're anyway then resuming from a transaction start. This hap

[pypy-commit] pypy default: cleanup

2013-08-22 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r66303:83074dd846cf Date: 2013-08-22 13:58 -0700 http://bitbucket.org/pypy/pypy/changeset/83074dd846cf/ Log:cleanup diff --git a/pypy/objspace/std/intobject.py b/pypy/objspace/std/intobject.py --- a/pypy/objspace/std/intobject.py +++ b/pypy/objspace/

[pypy-commit] pypy default: simplify

2013-08-22 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r66302:5492c8355133 Date: 2013-08-22 13:57 -0700 http://bitbucket.org/pypy/pypy/changeset/5492c8355133/ Log:simplify diff --git a/pypy/objspace/std/dictmultiobject.py b/pypy/objspace/std/dictmultiobject.py --- a/pypy/objspace/std/dictmultiobject.py

[pypy-commit] pypy stmgc-static-barrier: import stmgc/f614fd3a4080

2013-08-22 Thread arigo
Author: Armin Rigo Branch: stmgc-static-barrier Changeset: r66301:ba4f437bc2c2 Date: 2013-08-22 22:58 +0200 http://bitbucket.org/pypy/pypy/changeset/ba4f437bc2c2/ Log:import stmgc/f614fd3a4080 diff --git a/rpython/translator/stm/src_stm/et.c b/rpython/translator/stm/src_stm/et.c --- a/rpyth