[pypy-commit] pypy stmgc-c8: Forgot that arrays can also be 'stm_dont_track_raw_accesses'

2015-06-24 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78280:8d2fbff1bf9e Date: 2015-06-24 09:41 +0200 http://bitbucket.org/pypy/pypy/changeset/8d2fbff1bf9e/ Log:Forgot that arrays can also be 'stm_dont_track_raw_accesses' diff --git a/pypy/module/pypystm/unsafe_op.py b/pypy/module/pypystm/unsafe_o

[pypy-commit] pypy stmgc-c8: Add unsafe_read(), for a different use case: multiple threads all

2015-06-24 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78281:4da124c51415 Date: 2015-06-24 09:53 +0200 http://bitbucket.org/pypy/pypy/changeset/4da124c51415/ Log:Add unsafe_read(), for a different use case: multiple threads all reading some big shared immutable raw data diff --git a/pypy/mo

[pypy-commit] pypy optresult: fix wrong use of check isinstance(x, AbstractResOp)

2015-06-24 Thread fijal
Author: Maciej Fijalkowski Branch: optresult Changeset: r78284:0ec1faa7d196 Date: 2015-06-24 10:36 +0200 http://bitbucket.org/pypy/pypy/changeset/0ec1faa7d196/ Log:fix wrong use of check isinstance(x, AbstractResOp) diff --git a/rpython/jit/metainterp/optimizeopt/intbounds.py b/rpython/jit/

[pypy-commit] pypy optresult-unroll: more passing tests

2015-06-24 Thread fijal
Author: Maciej Fijalkowski Branch: optresult-unroll Changeset: r78282:3e5b0b9e8a58 Date: 2015-06-18 13:58 +0200 http://bitbucket.org/pypy/pypy/changeset/3e5b0b9e8a58/ Log:more passing tests diff --git a/rpython/jit/metainterp/optimizeopt/optimizer.py b/rpython/jit/metainterp/optimizeopt/opt

[pypy-commit] pypy optresult: kill box usage

2015-06-24 Thread fijal
Author: Maciej Fijalkowski Branch: optresult Changeset: r78283:3d9cfcc02bba Date: 2015-06-24 10:36 +0200 http://bitbucket.org/pypy/pypy/changeset/3d9cfcc02bba/ Log:kill box usage diff --git a/rpython/jit/metainterp/graphpage.py b/rpython/jit/metainterp/graphpage.py --- a/rpython/jit/metaint

[pypy-commit] pypy optresult-unroll: merge optresult

2015-06-24 Thread fijal
Author: Maciej Fijalkowski Branch: optresult-unroll Changeset: r78285:c52efd0d1ac5 Date: 2015-06-24 10:37 +0200 http://bitbucket.org/pypy/pypy/changeset/c52efd0d1ac5/ Log:merge optresult diff too long, truncating to 2000 out of 73423 lines diff --git a/.hgtags b/.hgtags --- a/.hgtags +++ b/

[pypy-commit] pypy vecopt: added a new resop class for casting operations, added a test to ensure they are created correctly

2015-06-24 Thread plan_rich
Author: Richard Plangger Branch: vecopt Changeset: r78286:e812d5febce9 Date: 2015-06-24 10:36 +0200 http://bitbucket.org/pypy/pypy/changeset/e812d5febce9/ Log:added a new resop class for casting operations, added a test to ensure they are created correctly diff --git a/rpython/jit/ba

[pypy-commit] pypy vecopt: preventing int signext from >32 -> <32

2015-06-24 Thread plan_rich
Author: Richard Plangger Branch: vecopt Changeset: r78287:3b569b13ba22 Date: 2015-06-24 12:00 +0200 http://bitbucket.org/pypy/pypy/changeset/3b569b13ba22/ Log:preventing int signext from >32 -> <32 preventing packed int mul for 64 bit cannot be done with an sse opcode (see assembler c

[pypy-commit] pypy vecopt: added comment in doc

2015-06-24 Thread plan_rich
Author: Richard Plangger Branch: vecopt Changeset: r78288:16da7f0d90bd Date: 2015-06-24 12:04 +0200 http://bitbucket.org/pypy/pypy/changeset/16da7f0d90bd/ Log:added comment in doc diff --git a/rpython/doc/jit/vectorization.rst b/rpython/doc/jit/vectorization.rst --- a/rpython/doc/jit/vector

[pypy-commit] pypy vecopt: well, should be int_mul not int_add...

2015-06-24 Thread plan_rich
Author: Richard Plangger Branch: vecopt Changeset: r78290:2d5ff3f421e1 Date: 2015-06-24 12:17 +0200 http://bitbucket.org/pypy/pypy/changeset/2d5ff3f421e1/ Log:well, should be int_mul not int_add... diff --git a/rpython/jit/metainterp/optimizeopt/schedule.py b/rpython/jit/metainterp/optimize

[pypy-commit] pypy vecopt: reformated the log output to time the vecopt traces

2015-06-24 Thread plan_rich
Author: Richard Plangger Branch: vecopt Changeset: r78289:c061d25dca84 Date: 2015-06-24 12:08 +0200 http://bitbucket.org/pypy/pypy/changeset/c061d25dca84/ Log:reformated the log output to time the vecopt traces diff --git a/rpython/jit/metainterp/optimizeopt/vectorize.py b/rpython/jit/metai

[pypy-commit] pypy vecopt: modified tests for missing packed int64 mul (was incorrect before) and prevented int64->int16 conversion

2015-06-24 Thread plan_rich
Author: Richard Plangger Branch: vecopt Changeset: r78291:e8681afe010b Date: 2015-06-24 13:39 +0200 http://bitbucket.org/pypy/pypy/changeset/e8681afe010b/ Log:modified tests for missing packed int64 mul (was incorrect before) and prevented int64->int16 conversion diff --git a/pypy/mo

[pypy-commit] pypy vecopt: doc additions, reenabled the int8 expand test (passes now)

2015-06-24 Thread plan_rich
Author: Richard Plangger Branch: vecopt Changeset: r78292:e70ae41089d7 Date: 2015-06-24 13:58 +0200 http://bitbucket.org/pypy/pypy/changeset/e70ae41089d7/ Log:doc additions, reenabled the int8 expand test (passes now) diff --git a/pypy/module/micronumpy/test/test_zjit.py b/pypy/module/micro

[pypy-commit] pypy stmgc-c8: Fix unexpected becomes-inevitable from some math functions

2015-06-24 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78293:fbdf4df6f63e Date: 2015-06-24 14:22 +0200 http://bitbucket.org/pypy/pypy/changeset/fbdf4df6f63e/ Log:Fix unexpected becomes-inevitable from some math functions diff --git a/TODO b/TODO --- a/TODO +++ b/TODO @@ -1,8 +1,3 @@ ---

[pypy-commit] pypy vecopt: logging condition changed for timing in optimize_trace

2015-06-24 Thread plan_rich
Author: Richard Plangger Branch: vecopt Changeset: r78294:26d736866fa2 Date: 2015-06-24 15:07 +0200 http://bitbucket.org/pypy/pypy/changeset/26d736866fa2/ Log:logging condition changed for timing in optimize_trace diff --git a/rpython/jit/metainterp/optimizeopt/vectorize.py b/rpython/jit/me

[pypy-commit] pypy vecopt: rpython translation issues

2015-06-24 Thread plan_rich
Author: Richard Plangger Branch: vecopt Changeset: r78295:5008c5321939 Date: 2015-06-24 15:19 +0200 http://bitbucket.org/pypy/pypy/changeset/5008c5321939/ Log:rpython translation issues diff --git a/rpython/jit/metainterp/optimizeopt/vectorize.py b/rpython/jit/metainterp/optimizeopt/vectori

[pypy-commit] stmgc default: Try to systematically emit "wait" events when we wait

2015-06-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r1882:c2e8b3841c76 Date: 2015-06-24 15:53 +0200 http://bitbucket.org/pypy/stmgc/changeset/c2e8b3841c76/ Log:Try to systematically emit "wait" events when we wait diff --git a/c8/stm/core.c b/c8/stm/core.c --- a/c8/stm/core.c +++ b/c8/stm/core.c @@ -511,

[pypy-commit] pypy optresult-unroll: progress

2015-06-24 Thread fijal
Author: Maciej Fijalkowski Branch: optresult-unroll Changeset: r78296:3078ef9c2df9 Date: 2015-06-24 15:55 +0200 http://bitbucket.org/pypy/pypy/changeset/3078ef9c2df9/ Log:progress diff --git a/rpython/jit/metainterp/optimizeopt/unroll.py b/rpython/jit/metainterp/optimizeopt/unroll.py --- a/

[pypy-commit] stmgc default: Try to be a bit more careful in prof.c

2015-06-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r1883:c8ccc22dbf16 Date: 2015-06-24 16:31 +0200 http://bitbucket.org/pypy/stmgc/changeset/c8ccc22dbf16/ Log:Try to be a bit more careful in prof.c diff --git a/c8/stm/prof.c b/c8/stm/prof.c --- a/c8/stm/prof.c +++ b/c8/stm/prof.c @@ -2,7 +2,7 @@ #inclu

[pypy-commit] pypy stmgc-c8: import stmgc/c8ccc22dbf16

2015-06-24 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78297:eeea8ac4da6b Date: 2015-06-24 16:35 +0200 http://bitbucket.org/pypy/pypy/changeset/eeea8ac4da6b/ Log:import stmgc/c8ccc22dbf16 diff --git a/rpython/translator/stm/src_stm/revision b/rpython/translator/stm/src_stm/revision --- a/rpython/t

[pypy-commit] pypy stmgc-c8: Update print_stm_log

2015-06-24 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78298:3b9f4b42ac92 Date: 2015-06-24 16:39 +0200 http://bitbucket.org/pypy/pypy/changeset/3b9f4b42ac92/ Log:Update print_stm_log diff --git a/pypy/stm/print_stm_log.py b/pypy/stm/print_stm_log.py --- a/pypy/stm/print_stm_log.py +++ b/pypy/stm/pr

[pypy-commit] pypy vecopt: docu comment

2015-06-24 Thread plan_rich
Author: Richard Plangger Branch: vecopt Changeset: r78300:01fbd63c766c Date: 2015-06-24 17:35 +0200 http://bitbucket.org/pypy/pypy/changeset/01fbd63c766c/ Log:docu comment diff --git a/rpython/doc/jit/vectorization.rst b/rpython/doc/jit/vectorization.rst --- a/rpython/doc/jit/vectorization.

[pypy-commit] pypy vecopt: adding guards as vector instructions. i'm not yet sure how this will work out, but could help to generate better loops for reductions

2015-06-24 Thread plan_rich
Author: Richard Plangger Branch: vecopt Changeset: r78299:269e30fb6042 Date: 2015-06-24 17:31 +0200 http://bitbucket.org/pypy/pypy/changeset/269e30fb6042/ Log:adding guards as vector instructions. i'm not yet sure how this will work out, but could help to generate better loops for red

[pypy-commit] cffi default: Clarify the weakdict example

2015-06-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r2193:41f9e10dfdee Date: 2015-06-24 18:03 +0200 http://bitbucket.org/cffi/cffi/changeset/41f9e10dfdee/ Log:Clarify the weakdict example diff --git a/doc/source/using.rst b/doc/source/using.rst --- a/doc/source/using.rst +++ b/doc/source/using.rst @@ -63

[pypy-commit] stmgc default: - use CLOCK_MONOTONIC_RAW instead of CLOCK_MONOTONIC, because the latter is not

2015-06-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r1884:9f966d34d3be Date: 2015-06-24 18:45 +0200 http://bitbucket.org/pypy/stmgc/changeset/9f966d34d3be/ Log:- use CLOCK_MONOTONIC_RAW instead of CLOCK_MONOTONIC, because the latter is not monotonic... (thanks cfbolz) - don't fclose the l

[pypy-commit] pypy stmgc-c8: more tests

2015-06-24 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78301:d61acebbb968 Date: 2015-06-24 18:49 +0200 http://bitbucket.org/pypy/pypy/changeset/d61acebbb968/ Log:more tests diff --git a/rpython/translator/stm/test/test_inevitable.py b/rpython/translator/stm/test/test_inevitable.py --- a/rpython/tr

[pypy-commit] pypy stmgc-c8: In the JIT, copy the stm_dont_track_raw_accesses logic for getfield_raw

2015-06-24 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78302:972b5349364b Date: 2015-06-24 19:10 +0200 http://bitbucket.org/pypy/pypy/changeset/972b5349364b/ Log:In the JIT, copy the stm_dont_track_raw_accesses logic for getfield_raw to also apply to getarrayitem_raw diff --git a/rpython/ji

[pypy-commit] pypy stmgc-c8: update to stmgc/9f966d34d3be

2015-06-24 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78303:a55f341bfd57 Date: 2015-06-24 19:11 +0200 http://bitbucket.org/pypy/pypy/changeset/a55f341bfd57/ Log:update to stmgc/9f966d34d3be diff --git a/rpython/translator/stm/src_stm/revision b/rpython/translator/stm/src_stm/revision --- a/rpytho

[pypy-commit] benchmarks default: Backed out 45bdb6aca4bb, re-enable cffi-dependent benchmakr

2015-06-24 Thread mattip
Author: mattip Branch: Changeset: r332:34f06618ef7f Date: 2015-06-24 20:20 +0300 http://bitbucket.org/pypy/benchmarks/changeset/34f06618ef7f/ Log:Backed out 45bdb6aca4bb, re-enable cffi-dependent benchmakr diff --git a/benchmarks.py b/benchmarks.py --- a/benchmarks.py +++ b/benchmarks.py @@

[pypy-commit] pypy default: remove prefix from MSVC exe name, since prefix was not handled in driver.compute_exe_name

2015-06-24 Thread mattip
Author: mattip Branch: Changeset: r78304:81819d4b3f58 Date: 2015-06-24 22:33 +0300 http://bitbucket.org/pypy/pypy/changeset/81819d4b3f58/ Log:remove prefix from MSVC exe name, since prefix was not handled in driver.compute_exe_name diff --git a/rpython/translator/c/genc.py b/rpython

[pypy-commit] pypy default: be more consistent with win32 identification macro

2015-06-24 Thread mattip
Author: mattip Branch: Changeset: r78305:1ebb74733012 Date: 2015-06-25 01:06 +0300 http://bitbucket.org/pypy/pypy/changeset/1ebb74733012/ Log:be more consistent with win32 identification macro diff --git a/pypy/module/_cffi_backend/src/parse_c_type.c b/pypy/module/_cffi_backend/src/parse_c

[pypy-commit] pypy pypy3-release-2.6.x: small win32 fixes

2015-06-24 Thread mattip
Author: mattip Branch: pypy3-release-2.6.x Changeset: r78306:f3ccad00bee4 Date: 2015-06-25 01:55 +0300 http://bitbucket.org/pypy/pypy/changeset/f3ccad00bee4/ Log:small win32 fixes diff --git a/pypy/module/_codecs/locale_codec.c b/pypy/module/_codecs/locale_codec.c --- a/pypy/module/_codecs/