[pypy-commit] extradoc extradoc: more slides

2016-04-02 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5620:e0d0635116b3 Date: 2016-04-02 15:32 +0200 http://bitbucket.org/pypy/extradoc/changeset/e0d0635116b3/ Log:more slides diff --git a/talk/bucharest2016/jit-frontend/diagrams/architecture.svg b/talk/bucharest2016/jit-frontend/diagrams/archi

[pypy-commit] extradoc extradoc: more slides

2016-04-02 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5621:5bbdec29c586 Date: 2016-04-02 16:03 +0200 http://bitbucket.org/pypy/extradoc/changeset/5bbdec29c586/ Log:more slides diff --git a/talk/bucharest2016/jit-frontend/talk.rst b/talk/bucharest2016/jit-frontend/talk.rst --- a/talk/bucharest20

[pypy-commit] extradoc extradoc: add some slides

2016-04-02 Thread antocuni
100644 --- /dev/null +++ b/talk/bucharest2016/jit-frontend/Makefile @@ -0,0 +1,32 @@ +# you can find rst2beamer.py and inkscapeslide.py here: +# http://bitbucket.org/antocuni/env/src/619f486c4fad/bin/rst2beamer.py +# http://bitbucket.org/antocuni/env/src/619f486c4fad/bin/inkscapeslide.py + + +talk.pdf

[pypy-commit] extradoc extradoc: fix makefile

2016-04-02 Thread antocuni
/bucharest2016/jit-frontend/Makefile +++ b/talk/bucharest2016/jit-frontend/Makefile @@ -3,7 +3,7 @@ # http://bitbucket.org/antocuni/env/src/619f486c4fad/bin/inkscapeslide.py -talk.pdf: talk.rst author.latex stylesheet.latex diagrams/tracing-phases-p0.pdf diagrams/trace-p0.pdf diagrams/tracetree-p0.pdf

[pypy-commit] extradoc extradoc: start my talk

2016-04-02 Thread antocuni
mode 100644 --- /dev/null +++ b/talk/bucharest2016/jit-frontend/author.latex @@ -0,0 +1,8 @@ +\definecolor{rrblitbackground}{rgb}{0.0, 0.0, 0.0} + +\title[PyPy Intro]{PyPy Intro and JIT Frontend} +\author[antocuni] +{Antonio Cuni} + +\institute{Intel@Bucharest} +\date{April 4 2016} diff --git a/talk

[pypy-commit] extradoc extradoc: split into two slides

2016-04-02 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5623:3bd035f4d6ec Date: 2016-04-02 16:07 +0200 http://bitbucket.org/pypy/extradoc/changeset/3bd035f4d6ec/ Log:split into two slides diff --git a/talk/bucharest2016/jit-frontend/talk.rst b/talk/bucharest2016/jit-frontend/talk.rst --- a/talk/b

[pypy-commit] extradoc extradoc: generate talk.pdf

2016-04-02 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5624:bd451b255eab Date: 2016-04-02 16:08 +0200 http://bitbucket.org/pypy/extradoc/changeset/bd451b255eab/ Log:generate talk.pdf diff --git a/talk/bucharest2016/jit-frontend/talk.pdf b/talk/bucharest2016/jit-frontend/talk.pdf new file mode 10

[pypy-commit] extradoc extradoc: write the slides about trace trees

2016-04-03 Thread antocuni
/Makefile --- a/talk/bucharest2016/jit-frontend/Makefile +++ b/talk/bucharest2016/jit-frontend/Makefile @@ -3,7 +3,7 @@ # http://bitbucket.org/antocuni/env/src/619f486c4fad/bin/inkscapeslide.py -talk.pdf: talk.rst author.latex stylesheet.latex diagrams/tracing-phases-p0.pdf diagrams/architecture-p0

[pypy-commit] extradoc extradoc: regenerate pdf

2016-04-03 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5629:bb172b3eaf26 Date: 2016-04-04 00:20 +0200 http://bitbucket.org/pypy/extradoc/changeset/bb172b3eaf26/ Log:regenerate pdf diff --git a/talk/bucharest2016/jit-frontend/talk.pdf b/talk/bucharest2016/jit-frontend/talk.pdf index 4ad802263742

[pypy-commit] extradoc extradoc: add an XXX

2016-04-03 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5630:8de7beaf20d3 Date: 2016-04-04 00:25 +0200 http://bitbucket.org/pypy/extradoc/changeset/8de7beaf20d3/ Log:add an XXX diff --git a/blog/draft/jit-leaner-frontend.rst b/blog/draft/jit-leaner-frontend.rst --- a/blog/draft/jit-leaner-fronten

[pypy-commit] pypy resource_warning: move the logic from __del__ to destructor, because we are not allowed to call arbitrary code from the interp-level __del__

2016-04-06 Thread antocuni
Author: Antonio Cuni Branch: resource_warning Changeset: r83551:110eae852734 Date: 2016-04-06 19:39 + http://bitbucket.org/pypy/pypy/changeset/110eae852734/ Log:move the logic from __del__ to destructor, because we are not allowed to call arbitrary code from the interp-level __del

[pypy-commit] pypy resource_warning: (antocuni, florinpapa): fix the test, it was because we returned None from space.format_traceback and the following appexec in space.resource_warning got confused

2016-04-07 Thread antocuni
Author: Antonio Cuni Branch: resource_warning Changeset: r83559:67909a688ba0 Date: 2016-04-07 10:37 +0200 http://bitbucket.org/pypy/pypy/changeset/67909a688ba0/ Log:(antocuni, florinpapa): fix the test, it was because we returned None from space.format_traceback and the following

[pypy-commit] pypy resource_warning: (antocuni, florinpapa): make the test better by checking the output with a regexp

2016-04-07 Thread antocuni
Author: Antonio Cuni Branch: resource_warning Changeset: r83560:b20b7e966a24 Date: 2016-04-07 11:04 +0200 http://bitbucket.org/pypy/pypy/changeset/b20b7e966a24/ Log:(antocuni, florinpapa): make the test better by checking the output with a regexp diff --git a/pypy/module/_file/test

[pypy-commit] pypy resource_warning: (antocuni, florinpapa): make the test even better

2016-04-07 Thread antocuni
Author: Antonio Cuni Branch: resource_warning Changeset: r83561:a2e023d51866 Date: 2016-04-07 11:10 +0200 http://bitbucket.org/pypy/pypy/changeset/a2e023d51866/ Log:(antocuni, florinpapa): make the test even better diff --git a/pypy/module/_file/test/test_file.py b/pypy/module/_file/test

[pypy-commit] pypy resource_warning: enable resource-tracking for socket objects

2016-04-07 Thread antocuni
Author: Antonio Cuni Branch: resource_warning Changeset: r83568:777b0214d3a8 Date: 2016-04-07 16:08 +0200 http://bitbucket.org/pypy/pypy/changeset/777b0214d3a8/ Log:enable resource-tracking for socket objects diff --git a/pypy/interpreter/test/test_app_main.py b/pypy/interpreter/test/test_a

[pypy-commit] pypy resource_warning: improve the test and check that we don't get the warning if we explicitly close the file

2016-04-07 Thread antocuni
Author: Antonio Cuni Branch: resource_warning Changeset: r83569:3649155837b6 Date: 2016-04-07 16:09 +0200 http://bitbucket.org/pypy/pypy/changeset/3649155837b6/ Log:improve the test and check that we don't get the warning if we explicitly close the file diff --git a/pypy/module/_file

[pypy-commit] pypy resource_warning: don't import re, it's not needed

2016-04-07 Thread antocuni
Author: Antonio Cuni Branch: resource_warning Changeset: r83567:17a9af6e11a3 Date: 2016-04-07 15:46 +0200 http://bitbucket.org/pypy/pypy/changeset/17a9af6e11a3/ Log:don't import re, it's not needed diff --git a/pypy/module/_file/test/test_file.py b/pypy/module/_file/test/test_file.py --- a/

[pypy-commit] pypy resource_warning: failing test and corresponding fix

2016-04-07 Thread antocuni
Author: Antonio Cuni Branch: resource_warning Changeset: r83577:9ba84d112325 Date: 2016-04-07 21:54 +0200 http://bitbucket.org/pypy/pypy/changeset/9ba84d112325/ Log:failing test and corresponding fix diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py --- a/pypy/

[pypy-commit] pypy resource_warning: don't show the 'anonymous' frame corresponding to the appexec when calling format_traceback

2016-04-07 Thread antocuni
Author: Antonio Cuni Branch: resource_warning Changeset: r83578:005ca768df30 Date: 2016-04-07 22:18 +0200 http://bitbucket.org/pypy/pypy/changeset/005ca768df30/ Log:don't show the 'anonymous' frame corresponding to the appexec when calling format_traceback diff --git a/pypy/interpret

[pypy-commit] pypy resource_warning: exit if you don't specify the correct -X option; in theory you should continue and put it in sys._Xoptions, but since it's not implemented it's better to just exit

2016-04-07 Thread antocuni
Author: Antonio Cuni Branch: resource_warning Changeset: r83580:5de70e252eef Date: 2016-04-07 23:00 +0200 http://bitbucket.org/pypy/pypy/changeset/5de70e252eef/ Log:exit if you don't specify the correct -X option; in theory you should continue and put it in sys._Xoptions, but since it

[pypy-commit] pypy resource_warning: don't crash if we enable track_resources at the early startup (in particular, if we pass the -X track-resources option). It is a bit impossible to write an app-lev

2016-04-07 Thread antocuni
Author: Antonio Cuni Branch: resource_warning Changeset: r83579:e1647e262594 Date: 2016-04-07 21:54 + http://bitbucket.org/pypy/pypy/changeset/e1647e262594/ Log:don't crash if we enable track_resources at the early startup (in particular, if we pass the -X track-resources option).

[pypy-commit] pypy fix-struct-unpack-Q: a failing test and the fix: on CPython, struct.unpack('Q', ...) tries hard to return an int, while PyPy always returned a long

2016-10-27 Thread antocuni
Author: Antonio Cuni Branch: fix-struct-unpack-Q Changeset: r87960:0fc23c94e459 Date: 2016-10-27 18:08 +0200 http://bitbucket.org/pypy/pypy/changeset/0fc23c94e459/ Log:a failing test and the fix: on CPython, struct.unpack('Q',...) tries hard to return an int, while PyPy always returne

[pypy-commit] pypy fix-struct-unpack-Q: rpython fix

2016-10-28 Thread antocuni
Author: Antonio Cuni Branch: fix-struct-unpack-Q Changeset: r87975:adfab214048f Date: 2016-10-28 18:35 +0200 http://bitbucket.org/pypy/pypy/changeset/adfab214048f/ Log:rpython fix diff --git a/pypy/module/struct/formatiterator.py b/pypy/module/struct/formatiterator.py --- a/pypy/module/stru

[pypy-commit] pypy fix-struct-unpack-Q: generalize the test and the fix: it's not only about Q, but about all the unsigned types; this also fix it on 32bit

2016-10-28 Thread antocuni
Author: Antonio Cuni Branch: fix-struct-unpack-Q Changeset: r87974:cced34dd6dde Date: 2016-10-28 18:33 +0200 http://bitbucket.org/pypy/pypy/changeset/cced34dd6dde/ Log:generalize the test and the fix: it's not only about Q, but about all the unsigned types; this also fix it on 32bit

[pypy-commit] pypy fix-struct-unpack-Q: make sure that we return an int even when we use 'q' on 32bit

2016-10-31 Thread antocuni
Author: Antonio Cuni Branch: fix-struct-unpack-Q Changeset: r87999:08ad056ff621 Date: 2016-10-31 15:29 +0100 http://bitbucket.org/pypy/pypy/changeset/08ad056ff621/ Log:make sure that we return an int even when we use 'q' on 32bit diff --git a/pypy/module/struct/formatiterator.py b/pypy/modu

[pypy-commit] pypy default: merge branch fix-struct-unpack-Q: make sure that we return an int whenever we can, instead of a long

2016-11-01 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r88015:6b78c0c00c1c Date: 2016-11-01 10:47 +0100 http://bitbucket.org/pypy/pypy/changeset/6b78c0c00c1c/ Log:merge branch fix-struct-unpack-Q: make sure that we return an int whenever we can, instead of a long diff --git a/pypy/module/struct/fo

[pypy-commit] pypy default: document this branch

2016-11-02 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r88062:c8fcf9b35525 Date: 2016-11-02 11:33 +0100 http://bitbucket.org/pypy/pypy/changeset/c8fcf9b35525/ Log:document this branch diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head.rst +++ b/pypy/doc/whats

[pypy-commit] pypy faster-rstruct: introduce rawstorage.str_storage_getitem{, _unaligned}, which works as rawstorage.raw_storage_* but operates on RPython strings instead of raw buffers: since strings

2015-11-13 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80668:84c49eed1754 Date: 2015-05-15 22:38 +0200 http://bitbucket.org/pypy/pypy/changeset/84c49eed1754/ Log:introduce rawstorage.str_storage_getitem{,_unaligned}, which works as rawstorage.raw_storage_* but operates on RPython str

[pypy-commit] pypy faster-rstruct: a branch where to improve the performance of rstruct

2015-11-13 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80667:d9628e7cafa0 Date: 2015-11-13 17:20 +0100 http://bitbucket.org/pypy/pypy/changeset/d9628e7cafa0/ Log:a branch where to improve the performance of rstruct ___ pypy-commit mailing list pyp

[pypy-commit] pypy faster-rstruct: use the fast raw_storage way to read doubles and floats when rstruct is using native formats

2015-11-13 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80669:b790b4f590e3 Date: 2015-11-13 17:18 +0100 http://bitbucket.org/pypy/pypy/changeset/b790b4f590e3/ Log:use the fast raw_storage way to read doubles and floats when rstruct is using native formats diff --git a/rpython/rlib/ra

[pypy-commit] pypy faster-rstruct: use the fast raw_storage unpacking also for integer types, when possible

2015-11-13 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80670:9972a7f270d5 Date: 2015-11-13 19:01 +0100 http://bitbucket.org/pypy/pypy/changeset/9972a7f270d5/ Log:use the fast raw_storage unpacking also for integer types, when possible diff --git a/rpython/rlib/rstruct/nativefmttable

[pypy-commit] pypy faster-rstruct: hg merge default

2015-11-13 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80671:ec2db01088b1 Date: 2015-11-14 02:08 +0100 http://bitbucket.org/pypy/pypy/changeset/ec2db01088b1/ Log:hg merge default diff --git a/pypy/module/cpyext/pystrtod.py b/pypy/module/cpyext/pystrtod.py --- a/pypy/module/cpyext/pystrtod.p

[pypy-commit] pypy faster-rstruct: fix

2015-11-14 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80673:e7449f376b4e Date: 2015-11-14 13:08 + http://bitbucket.org/pypy/pypy/changeset/e7449f376b4e/ Log:fix diff --git a/rpython/rtyper/lltypesystem/rbytearray.py b/rpython/rtyper/lltypesystem/rbytearray.py --- a/rpython/rtyper/llty

[pypy-commit] pypy faster-rstruct: IN-PROGRESS: we would like this test to pass, failing so far

2015-11-17 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80725:6fbe291f9f9b Date: 2015-11-17 11:24 +0100 http://bitbucket.org/pypy/pypy/changeset/6fbe291f9f9b/ Log:IN-PROGRESS: we would like this test to pass, failing so far diff --git a/rpython/jit/metainterp/test/test_rawmem.py b/rpython/j

[pypy-commit] pypy faster-rstruct: move str_storage_getitem into its own module, as it's no longer based on rawstorage. Refactor, and re-implement based on casting. Add JIT support for force_cast betw

2015-11-17 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80736:2294ad1228f5 Date: 2015-11-18 07:21 +0100 http://bitbucket.org/pypy/pypy/changeset/2294ad1228f5/ Log:move str_storage_getitem into its own module, as it's no longer based on rawstorage. Refactor, and re-implement based on c

[pypy-commit] pypy faster-rstruct: move strstorage tests into their own file, and refactor to avoid duplication

2015-11-17 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80737:f92d64d0ed7e Date: 2015-11-18 07:54 +0100 http://bitbucket.org/pypy/pypy/changeset/f92d64d0ed7e/ Log:move strstorage tests into their own file, and refactor to avoid duplication diff --git a/rpython/rlib/rawstorage.py b/rp

[pypy-commit] pypy faster-rstruct: re-use BaseStrStorage to implement JIT tests; test_float is failing, as expected

2015-11-17 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80738:35a943788bea Date: 2015-11-18 08:16 +0100 http://bitbucket.org/pypy/pypy/changeset/35a943788bea/ Log:re-use BaseStrStorage to implement JIT tests; test_float is failing, as expected diff --git a/rpython/jit/metainterp/test

[pypy-commit] pypy faster-rstruct: support str_storage_getitem(lltype.Float, ...)

2015-11-17 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80740:b5ebdf19edb4 Date: 2015-11-18 08:27 +0100 http://bitbucket.org/pypy/pypy/changeset/b5ebdf19edb4/ Log:support str_storage_getitem(lltype.Float, ...) diff --git a/rpython/jit/codewriter/jtransform.py b/rpython/jit/codewriter/jtrans

[pypy-commit] pypy faster-rstruct: aargh, forgot to add the default case. Thanks arigato

2015-11-17 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80741:86622dc58965 Date: 2015-11-18 08:27 +0100 http://bitbucket.org/pypy/pypy/changeset/86622dc58965/ Log:aargh, forgot to add the default case. Thanks arigato diff --git a/rpython/jit/codewriter/jtransform.py b/rpython/jit/codewriter

[pypy-commit] pypy faster-rstruct: add a passing test for singlefloats

2015-11-18 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80745:85c3b26dea8a Date: 2015-11-18 09:29 +0100 http://bitbucket.org/pypy/pypy/changeset/85c3b26dea8a/ Log:add a passing test for singlefloats diff --git a/rpython/jit/metainterp/test/test_strstorage.py b/rpython/jit/metainterp/test/te

[pypy-commit] pypy faster-rstruct: add a passing test for shorts

2015-11-18 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80744:7f76146cee2a Date: 2015-11-18 09:00 +0100 http://bitbucket.org/pypy/pypy/changeset/7f76146cee2a/ Log:add a passing test for shorts diff --git a/rpython/rlib/test/test_strstorage.py b/rpython/rlib/test/test_strstorage.py --- a/rpy

[pypy-commit] pypy faster-rstruct: restore rawstorage.py as it is on default

2015-11-18 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80742:2b3a2c2f3640 Date: 2015-11-18 08:32 +0100 http://bitbucket.org/pypy/pypy/changeset/2b3a2c2f3640/ Log:restore rawstorage.py as it is on default diff --git a/rpython/rlib/rawstorage.py b/rpython/rlib/rawstorage.py --- a/rpython/rlib

[pypy-commit] pypy faster-rstruct: run the strstorage tests also on top of the x86 backed

2015-11-18 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80746:d528df864b73 Date: 2015-11-18 09:30 +0100 http://bitbucket.org/pypy/pypy/changeset/d528df864b73/ Log:run the strstorage tests also on top of the x86 backed diff --git a/rpython/jit/backend/x86/test/test_strstorage.py b/rpython/ji

[pypy-commit] pypy faster-rstruct: we no longer need @rgc.nocollect

2015-11-18 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80743:5f6a7b8eaf84 Date: 2015-11-18 08:59 +0100 http://bitbucket.org/pypy/pypy/changeset/5f6a7b8eaf84/ Log:we no longer need @rgc.nocollect diff --git a/rpython/rlib/strstorage.py b/rpython/rlib/strstorage.py --- a/rpython/rlib/strstora

[pypy-commit] pypy faster-rstruct: fix imports

2015-11-18 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80749:4c362a658da5 Date: 2015-11-18 10:01 +0100 http://bitbucket.org/pypy/pypy/changeset/4c362a658da5/ Log:fix imports diff --git a/rpython/rlib/rstruct/nativefmttable.py b/rpython/rlib/rstruct/nativefmttable.py --- a/rpython/rlib/rstr

[pypy-commit] pypy faster-rstruct: fix the optimizer, which gets confused when we pass a virtual string to getarrayitem_gc

2015-11-18 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80762:4fb804c3e5fe Date: 2015-11-18 17:33 +0100 http://bitbucket.org/pypy/pypy/changeset/4fb804c3e5fe/ Log:fix the optimizer, which gets confused when we pass a virtual string to getarrayitem_gc diff --git a/rpython/jit/metainte

[pypy-commit] pypy faster-rstruct: reverse the logic to distinguish virtual arrays and strings, and most importantly remove the weird ConstPtrInfo.is_array()==True

2015-11-19 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80784:d8b23469f91f Date: 2015-11-20 00:36 +0100 http://bitbucket.org/pypy/pypy/changeset/d8b23469f91f/ Log:reverse the logic to distinguish virtual arrays and strings, and most importantly remove the weird ConstPtrInfo.is_array()

[pypy-commit] pypy faster-rstruct: add a fast-path to unpack_double, which reads directly from the input string instead of taking a slice. There are still some rough edges, but I commit this anyway so

2015-11-19 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80785:7cf0a0cef3b5 Date: 2015-11-20 01:01 +0100 http://bitbucket.org/pypy/pypy/changeset/7cf0a0cef3b5/ Log:add a fast-path to unpack_double, which reads directly from the input string instead of taking a slice. There are still so

[pypy-commit] pypy faster-rstruct: make sure that struct.unpack_from uses the fast path as well

2015-11-20 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80808:f2275be59406 Date: 2015-11-20 17:37 +0100 http://bitbucket.org/pypy/pypy/changeset/f2275be59406/ Log:make sure that struct.unpack_from uses the fast path as well diff --git a/pypy/module/struct/formatiterator.py b/pypy/module/str

[pypy-commit] pypy faster-rstruct: use the str_storage_getitem fastpath to unpack ints and floats by reading them directly from within the buffer, is it's properly aligned. Add tests which disallow th

2015-11-20 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80805:7b525c75f558 Date: 2015-11-20 16:21 +0100 http://bitbucket.org/pypy/pypy/changeset/7b525c75f558/ Log:use the str_storage_getitem fastpath to unpack ints and floats by reading them directly from within the buffer, is it's pr

[pypy-commit] pypy faster-rstruct: adapt the applevel struct to the new interface for the fast path

2015-11-20 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80806:913f469cb07b Date: 2015-11-20 16:27 +0100 http://bitbucket.org/pypy/pypy/changeset/913f469cb07b/ Log:adapt the applevel struct to the new interface for the fast path diff --git a/pypy/module/struct/formatiterator.py b/pypy/module

[pypy-commit] pypy faster-rstruct: try hard to run the rstruct code when calling runpack before the translation

2015-11-20 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80804:5c33c457e1ac Date: 2015-11-20 15:41 +0100 http://bitbucket.org/pypy/pypy/changeset/5c33c457e1ac/ Log:try hard to run the rstruct code when calling runpack before the translation diff --git a/rpython/rlib/rstruct/runpack.py

[pypy-commit] pypy faster-rstruct: change the inteface: now get_buffer_as_string_maybe also return the position inside the string: this will allow to support sub-buffers

2015-11-20 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80807:c4eb83d8e88f Date: 2015-11-20 16:52 +0100 http://bitbucket.org/pypy/pypy/changeset/c4eb83d8e88f/ Log:change the inteface: now get_buffer_as_string_maybe also return the position inside the string: this will allow to support

[pypy-commit] pypy faster-rstruct: translation fix; I didn't find a better way to express specialize.arg0_and_argtype1

2015-11-20 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80811:ec447791f752 Date: 2015-11-20 18:34 +0100 http://bitbucket.org/pypy/pypy/changeset/ec447791f752/ Log:translation fix; I didn't find a better way to express specialize.arg0_and_argtype1 diff --git a/rpython/rlib/rstruct/nat

[pypy-commit] pypy faster-rstruct: there is no distinction between native and standard float/double formats: the Python struct module requires that the format is ieee754 in both cases. However, in cas

2015-11-21 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80814:8f216a415954 Date: 2015-11-21 11:34 +0100 http://bitbucket.org/pypy/pypy/changeset/8f216a415954/ Log:there is no distinction between native and standard float/double formats: the Python struct module requires that the forma

[pypy-commit] pypy faster-rstruct: blindly try to make this test passing on big-endian machines

2015-11-21 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80816:8846f2974ae5 Date: 2015-11-21 15:51 +0100 http://bitbucket.org/pypy/pypy/changeset/8846f2974ae5/ Log:blindly try to make this test passing on big-endian machines diff --git a/rpython/jit/metainterp/test/test_strstorage.py b/rpyth

[pypy-commit] pypy faster-rstruct: hg merge default-at-the-latest-green-revision

2015-11-21 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80815:a256226d8bce Date: 2015-11-21 15:48 +0100 http://bitbucket.org/pypy/pypy/changeset/a256226d8bce/ Log:hg merge default-at-the-latest-green-revision diff --git a/.hgtags b/.hgtags --- a/.hgtags +++ b/.hgtags @@ -17,3 +17,4 @@ 295ee

[pypy-commit] pypy faster-rstruct: sanity check to ensure that the cast we do is actually valid. Currently it fails e.g. on win32 and 32bit ARM

2015-11-23 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80869:0a7af3c17db0 Date: 2015-11-23 18:35 +0100 http://bitbucket.org/pypy/pypy/changeset/0a7af3c17db0/ Log:sanity check to ensure that the cast we do is actually valid. Currently it fails e.g. on win32 and 32bit ARM diff --git a

[pypy-commit] pypy faster-rstruct: fix rstruct.unpack q and Q on systems which do not support str_storage_getitem, such as win32 and probably ARM 32 bit

2015-11-23 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80870:f856371c182b Date: 2015-11-23 20:56 +0100 http://bitbucket.org/pypy/pypy/changeset/f856371c182b/ Log:fix rstruct.unpack q and Q on systems which do not support str_storage_getitem, such as win32 and probably ARM 32 bit dif

[pypy-commit] pypy faster-rstruct: fix runpack('d') on win32 and 32bit ARM. I tried to keep the fix and the implementation as least invasive as possible, because it will go away as soon as we have gc_

2015-11-23 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80871:59a4b706d487 Date: 2015-11-23 21:37 +0100 http://bitbucket.org/pypy/pypy/changeset/59a4b706d487/ Log:fix runpack('d') on win32 and 32bit ARM. I tried to keep the fix and the implementation as least invasive as possible, bec

[pypy-commit] pypy faster-rstruct: skip this test on some platforms

2015-11-23 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80872:783361f5f31e Date: 2015-11-23 21:40 +0100 http://bitbucket.org/pypy/pypy/changeset/783361f5f31e/ Log:skip this test on some platforms diff --git a/rpython/rlib/test/test_strstorage.py b/rpython/rlib/test/test_strstorage.py --- a/

[pypy-commit] pypy faster-rstruct: merge heads

2015-11-23 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80875:c9ab4be2f15b Date: 2015-11-24 00:59 +0100 http://bitbucket.org/pypy/pypy/changeset/c9ab4be2f15b/ Log:merge heads diff --git a/rpython/rlib/rstruct/standardfmttable.py b/rpython/rlib/rstruct/standardfmttable.py --- a/rpython/rlib/

[pypy-commit] pypy faster-rstruct: fix test_pypy_c/test_struct, to reflect the new optimization

2015-11-23 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80874:c32ced64c29f Date: 2015-11-24 00:58 +0100 http://bitbucket.org/pypy/pypy/changeset/c32ced64c29f/ Log:fix test_pypy_c/test_struct, to reflect the new optimization diff --git a/pypy/module/pypyjit/test_pypy_c/test_struct.py b/pypy/

[pypy-commit] pypy faster-rstruct: in case of cross-compilation we need to delay the comparison of offsets until compile time (where FieldOffset is a symbolic correctly handled by the C compiler). How

2015-11-24 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80898:89a3ecaf0b2d Date: 2015-11-24 18:05 +0100 http://bitbucket.org/pypy/pypy/changeset/89a3ecaf0b2d/ Log:in case of cross-compilation we need to delay the comparison of offsets until compile time (where FieldOffset is a symboli

[pypy-commit] pypy faster-rstruct: fix

2015-11-24 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80899:82d45be90c37 Date: 2015-11-24 18:09 +0100 http://bitbucket.org/pypy/pypy/changeset/82d45be90c37/ Log:fix diff --git a/rpython/jit/metainterp/test/test_strstorage.py b/rpython/jit/metainterp/test/test_strstorage.py --- a/rpython/j

[pypy-commit] pypy faster-rstruct: hg merge default

2015-11-24 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80900:ce2d724dad21 Date: 2015-11-24 18:12 +0100 http://bitbucket.org/pypy/pypy/changeset/ce2d724dad21/ Log:hg merge default diff too long, truncating to 2000 out of 2119 lines diff --git a/lib_pypy/greenlet.py b/lib_pypy/greenlet.py --

[pypy-commit] pypy faster-rstruct: dismiss the offsetof approach, as it's too complicate to make it working reliably in presence of cross-compilation. Simply disallow str_storage_getitem for types >=

2015-11-24 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80901:02f4fd70c0bb Date: 2015-11-24 18:44 +0100 http://bitbucket.org/pypy/pypy/changeset/02f4fd70c0bb/ Log:dismiss the offsetof approach, as it's too complicate to make it working reliably in presence of cross-compilation. Simply

[pypy-commit] pypy faster-rstruct: this is now unsupported on linux x86_32

2015-11-24 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80902:a70875ac8f0e Date: 2015-11-24 18:46 +0100 http://bitbucket.org/pypy/pypy/changeset/a70875ac8f0e/ Log:this is now unsupported on linux x86_32 diff --git a/rpython/rlib/test/test_strstorage.py b/rpython/rlib/test/test_strstorage.py

[pypy-commit] pypy faster-rstruct: hg merge default

2015-11-24 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80903:56589ed1776a Date: 2015-11-24 18:57 +0100 http://bitbucket.org/pypy/pypy/changeset/56589ed1776a/ Log:hg merge default diff --git a/lib_pypy/datetime.py b/lib_pypy/datetime.py --- a/lib_pypy/datetime.py +++ b/lib_pypy/datetime.py @

[pypy-commit] pypy faster-rstruct: temporarily disable micronumpy as it causes translation to fail

2015-11-24 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80904:ffe06132bdbc Date: 2015-11-24 19:00 +0100 http://bitbucket.org/pypy/pypy/changeset/ffe06132bdbc/ Log:temporarily disable micronumpy as it causes translation to fail diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.p

[pypy-commit] pypy faster-rstruct: try to disable this as well

2015-11-24 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80906:74414c3c9204 Date: 2015-11-24 19:21 +0100 http://bitbucket.org/pypy/pypy/changeset/74414c3c9204/ Log:try to disable this as well diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py ++

[pypy-commit] pypy faster-rstruct: try harder to disable cpyext

2015-11-24 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80909:1bf434a1141d Date: 2015-11-24 20:39 +0100 http://bitbucket.org/pypy/pypy/changeset/1bf434a1141d/ Log:try harder to disable cpyext diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py +

[pypy-commit] pypy faster-rstruct: re-enable cpyext and micronumpy. The failure due to micronumpy seems to be random

2015-11-24 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80918:7f3a328c275d Date: 2015-11-25 00:55 +0100 http://bitbucket.org/pypy/pypy/changeset/7f3a328c275d/ Log:re-enable cpyext and micronumpy. The failure due to micronumpy seems to be random diff --git a/pypy/config/pypyoption.py

[pypy-commit] pypy faster-rstruct: hg merge default

2015-11-24 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80919:246229cd7f49 Date: 2015-11-25 00:57 +0100 http://bitbucket.org/pypy/pypy/changeset/246229cd7f49/ Log:hg merge default diff --git a/lib_pypy/cffi/api.py b/lib_pypy/cffi/api.py --- a/lib_pypy/cffi/api.py +++ b/lib_pypy/cffi/api.py @

[pypy-commit] pypy faster-rstruct: partial backout of 89a3ecaf0b2d, we no longer need to compare field offsets before translation

2015-11-25 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80934:909baa7fdb8e Date: 2015-11-25 11:09 +0100 http://bitbucket.org/pypy/pypy/changeset/909baa7fdb8e/ Log:partial backout of 89a3ecaf0b2d, we no longer need to compare field offsets before translation diff --git a/rpython/rtype

[pypy-commit] pypy faster-rstruct: close merged branch

2015-11-25 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80936:ac9b475d8326 Date: 2015-11-25 11:20 +0100 http://bitbucket.org/pypy/pypy/changeset/ac9b475d8326/ Log:close merged branch ___ pypy-commit mailing list pypy-commit@python.org https://mail.

[pypy-commit] pypy faster-rstruct: pro-actively fix test_whatsnews

2015-11-25 Thread antocuni
Author: Antonio Cuni Branch: faster-rstruct Changeset: r80935:4dfc49434925 Date: 2015-11-25 11:19 +0100 http://bitbucket.org/pypy/pypy/changeset/4dfc49434925/ Log:pro-actively fix test_whatsnews diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head

[pypy-commit] pypy default: Merge the faster-rstruct branch, which improves the performace of

2015-11-25 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r80937:cdc2cea532d1 Date: 2015-11-25 11:22 +0100 http://bitbucket.org/pypy/pypy/changeset/cdc2cea532d1/ Log:Merge the faster-rstruct branch, which improves the performace of struct.unpack, which now directly reads inside the string buffer and

[pypy-commit] pypy default: improve comment, as per fijal's request

2015-11-25 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r80938:fdfae75d80b9 Date: 2015-11-25 11:47 +0100 http://bitbucket.org/pypy/pypy/changeset/fdfae75d80b9/ Log:improve comment, as per fijal's request diff --git a/rpython/jit/metainterp/optimizeopt/heap.py b/rpython/jit/metainterp/optimizeopt/heap.py -

[pypy-commit] this is a test

2015-12-16 Thread antocuni
This is a test to see if the bitbucket hook can send emails to the pypy-commit mailing list ___ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit

[pypy-commit] this is a test

2015-12-16 Thread antocuni
This is a test to see if the bitbucket hook can send emails to the pypy-commit mailing list ___ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit

[pypy-commit] this is another test

2015-12-16 Thread antocuni
This is a test to see if the bitbucket hook can send emails to the pypy-commit mailing list ___ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit

[pypy-commit] buildbot default: ignore the file with the password

2015-12-16 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r973:cb78fa21e8ed Date: 2015-12-16 15:41 +0100 http://bitbucket.org/pypy/buildbot/changeset/cb78fa21e8ed/ Log:ignore the file with the password diff --git a/.hgignore b/.hgignore --- a/.hgignore +++ b/.hgignore @@ -7,6 +7,7 @@ # master/slaveinfo.py

[pypy-commit] pypy default: extract libpypy-c.so too now that it's needed

2015-03-17 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r76435:d0354c8dfeb8 Date: 2015-03-17 17:17 +0100 http://bitbucket.org/pypy/pypy/changeset/d0354c8dfeb8/ Log:extract libpypy-c.so too now that it's needed diff --git a/pypy/goal/getnightly.py b/pypy/goal/getnightly.py --- a/pypy/goal/getnightly.py +++

[pypy-commit] pypy default: fix issue #2000, which was caused by 2e4e36c84077: partially revert it, by keeping the AST transformation but also allow the possibility to pass a tuple to it

2015-03-17 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r76436:9159bcc2b0d0 Date: 2015-03-17 17:20 +0100 http://bitbucket.org/pypy/pypy/changeset/9159bcc2b0d0/ Log:fix issue #2000, which was caused by 2e4e36c84077: partially revert it, by keeping the AST transformation but also allow the possibility

[pypy-commit] pypy vmprof: disable vmprof around fork(), and re-enable it only in the parent process

2015-03-24 Thread antocuni
Author: Antonio Cuni Branch: vmprof Changeset: r76540:78914547f680 Date: 2015-03-24 19:01 +0100 http://bitbucket.org/pypy/pypy/changeset/78914547f680/ Log:disable vmprof around fork(), and re-enable it only in the parent process diff --git a/pypy/module/_vmprof/src/vmprof.c b/pypy/mo

[pypy-commit] extradoc extradoc: abstract for my EP talk

2015-04-13 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5526:92dbb3dfe86f Date: 2015-04-13 18:08 +0200 http://bitbucket.org/pypy/extradoc/changeset/92dbb3dfe86f/ Log:abstract for my EP talk diff --git a/talk/ep2015/performance-abstract.txt b/talk/ep2015/performance-abstract.txt new file mode 1006

[pypy-commit] extradoc extradoc: tweaks

2015-04-14 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5528:5bb398128d9a Date: 2015-04-14 12:30 + http://bitbucket.org/pypy/extradoc/changeset/5bb398128d9a/ Log:tweaks diff --git a/talk/ep2015/performance-abstract.txt b/talk/ep2015/performance-abstract.txt --- a/talk/ep2015/performance-abstr

[pypy-commit] extradoc extradoc: more slides

2015-04-16 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5531:9b1bfdbddfa5 Date: 2015-04-16 17:52 +0200 http://bitbucket.org/pypy/extradoc/changeset/9b1bfdbddfa5/ Log:more slides diff --git a/talk/pycon-italy-2015/jit-overview.odg b/talk/pycon-italy-2015/jit-overview.odg new file mode 100644 index

[pypy-commit] extradoc extradoc: merge

2015-04-16 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5532:2403b934d742 Date: 2015-04-16 17:52 +0200 http://bitbucket.org/pypy/extradoc/changeset/2403b934d742/ Log:merge diff --git a/talk/ep2015/performance-abstract.txt b/talk/ep2015/performance-abstract.txt --- a/talk/ep2015/performance-abstra

[pypy-commit] extradoc extradoc: first part of the slides

2015-04-16 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5530:5d0633b2f4f8 Date: 2015-04-16 17:29 +0200 http://bitbucket.org/pypy/extradoc/changeset/5d0633b2f4f8/ Log:first part of the slides diff --git a/talk/pycon-italy-2015/speed.png b/talk/pycon-italy-2015/speed.png new file mode 100644 index

[pypy-commit] extradoc extradoc: template for my talk

2015-04-16 Thread antocuni
/null +++ b/talk/pycon-italy-2015/Makefile @@ -0,0 +1,18 @@ +# you can find rst2beamer.py here: +# http://codespeak.net/svn/user/antocuni/bin/rst2beamer.py + +# WARNING: to work, it needs this patch for docutils +# https://sourceforge.net/tracker/?func=detail&atid=422032&aid=1459707&gr

[pypy-commit] extradoc extradoc: more slides

2015-04-16 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5533:5ff800bfd872 Date: 2015-04-17 00:40 +0200 http://bitbucket.org/pypy/extradoc/changeset/5ff800bfd872/ Log:more slides diff --git a/talk/pycon-italy-2015/talk.rst b/talk/pycon-italy-2015/talk.rst --- a/talk/pycon-italy-2015/talk.rst +++ b/

[pypy-commit] extradoc extradoc: introduce a real world example

2015-04-17 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5534:14123b4ae075 Date: 2015-04-17 12:55 +0200 http://bitbucket.org/pypy/extradoc/changeset/14123b4ae075/ Log:introduce a real world example diff --git a/talk/pycon-italy-2015/src/decode0.py b/talk/pycon-italy-2015/src/decode0.py new file mo

[pypy-commit] extradoc extradoc: add pdf

2015-04-17 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5537:0769e28550ef Date: 2015-04-17 13:19 +0200 http://bitbucket.org/pypy/extradoc/changeset/0769e28550ef/ Log:add pdf diff --git a/talk/pycon-italy-2015/talk.pdf b/talk/pycon-italy-2015/talk.pdf new file mode 100644 index 000

[pypy-commit] extradoc extradoc: more slides

2015-04-17 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5535:60dd04fca106 Date: 2015-04-17 13:10 +0200 http://bitbucket.org/pypy/extradoc/changeset/60dd04fca106/ Log:more slides diff --git a/talk/pycon-italy-2015/src/decode2.py b/talk/pycon-italy-2015/src/decode2.py new file mode 100644 --- /dev/

[pypy-commit] extradoc extradoc: expand virtuals

2015-04-17 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5536:673c2a4346a1 Date: 2015-04-17 13:13 +0200 http://bitbucket.org/pypy/extradoc/changeset/673c2a4346a1/ Log:expand virtuals diff --git a/talk/pycon-italy-2015/talk.rst b/talk/pycon-italy-2015/talk.rst --- a/talk/pycon-italy-2015/talk.rst ++

[pypy-commit] pyrepl default: fix this bug, which has been around unnoticed forever

2014-08-02 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r258:cef132a7e464 Date: 2014-08-02 10:15 +0100 http://bitbucket.org/pypy/pyrepl/changeset/cef132a7e464/ Log:fix this bug, which has been around unnoticed forever diff --git a/pyrepl/completing_reader.py b/pyrepl/completing_reader.py --- a/pyrepl/compl

[pypy-commit] extradoc extradoc: add myself

2014-10-03 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5420:523d967e3386 Date: 2014-10-03 18:35 +0200 http://bitbucket.org/pypy/extradoc/changeset/523d967e3386/ Log:add myself diff --git a/sprintinfo/warsaw-2014/people.txt b/sprintinfo/warsaw-2014/people.txt --- a/sprintinfo/warsaw-2014/people.t

[pypy-commit] extradoc extradoc: copy all the stuff needed to produce the pdf, expand the slides

2015-07-17 Thread antocuni
/performance/Makefile new file mode 100644 --- /dev/null +++ b/talk/ep2015/performance/Makefile @@ -0,0 +1,18 @@ +# you can find rst2beamer.py here: +# http://codespeak.net/svn/user/antocuni/bin/rst2beamer.py + +# WARNING: to work, it needs this patch for docutils +# https://sourceforge.net/tracker/?func

  1   2   3   4   5   6   7   8   9   10   >