[pypy-commit] [Git][pypy/pypy][branch/py3.8] skip ztranslation for the posix module, it is too hard to make FakeObjSpace work

2022-05-11 Thread Matti Picus (@mattip)


Matti Picus pushed to branch branch/py3.8 at PyPy / pypy


Commits:
8463c90b by Matti Picus at 2022-05-11T12:08:25+03:00
skip ztranslation for the posix module, it is too hard to make FakeObjSpace work

--HG--
branch : py3.8

- - - - -


1 changed file:

- pypy/module/posix/test/test_ztranslation.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/commit/8463c90baa0ad853488429f8ea663f4f4b2288f0

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/commit/8463c90baa0ad853488429f8ea663f4f4b2288f0
You're receiving this email because of your account on foss.heptapod.net.


___
pypy-commit mailing list -- pypy-commit@python.org
To unsubscribe send an email to pypy-commit-le...@python.org
https://mail.python.org/mailman3/lists/pypy-commit.python.org/
Member address: arch...@mail-archive.com


[pypy-commit] [Git][pypy/pypy][branch/m1] 2 commits: bump min OS X version

2022-05-11 Thread Maciej Fijalkowski (@fijal)


Maciej Fijalkowski pushed to branch branch/m1 at PyPy / pypy


Commits:
89afccb8 by fijal at 2022-05-11T12:14:46+02:00
bump min OS X version

--HG--
branch : m1

- - - - -
7b9ba05a by fijal at 2022-05-11T12:14:56+02:00
use proper API for managing closures and not our own

--HG--
branch : m1

- - - - -


3 changed files:

- pypy/module/_cffi_backend/ccallback.py
- rpython/rlib/clibffi.py
- rpython/translator/platform/darwin.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/6c32161fdc7c6bd01ea6ca302d4e8971be85e558...7b9ba05aaf769fabae1fc19af67bbed78cb3982d

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/6c32161fdc7c6bd01ea6ca302d4e8971be85e558...7b9ba05aaf769fabae1fc19af67bbed78cb3982d
You're receiving this email because of your account on foss.heptapod.net.


___
pypy-commit mailing list -- pypy-commit@python.org
To unsubscribe send an email to pypy-commit-le...@python.org
https://mail.python.org/mailman3/lists/pypy-commit.python.org/
Member address: arch...@mail-archive.com


[pypy-commit] [Git][pypy/pypy][branch/default] try to revive this very old mechanism for understanding the amount of static

2022-05-11 Thread Carl Friedrich Bolz-Tereick (@cfbolz)


Carl Friedrich Bolz-Tereick pushed to branch branch/default at PyPy / pypy


Commits:
ced9ba84 by Carl Friedrich Bolz-Tereick at 2022-05-11T21:45:19+02:00
try to revive this very old mechanism for understanding the amount of static
data

- - - - -


1 changed file:

- rpython/translator/tool/staticsizereport.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/commit/ced9ba84b7c351b407c1d03be696da0bd7dee5f5

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/commit/ced9ba84b7c351b407c1d03be696da0bd7dee5f5
You're receiving this email because of your account on foss.heptapod.net.


___
pypy-commit mailing list -- pypy-commit@python.org
To unsubscribe send an email to pypy-commit-le...@python.org
https://mail.python.org/mailman3/lists/pypy-commit.python.org/
Member address: arch...@mail-archive.com


[pypy-commit] [Git][pypy/pypy][branch/py3.8] 14 commits: remove repeated live instructions

2022-05-11 Thread Ronan Lamy (@rlamy)


Ronan Lamy pushed to branch branch/py3.8 at PyPy / pypy


Commits:
f17e5a60 by Carl Friedrich Bolz-Tereick at 2022-05-03T12:23:30+02:00
remove repeated live instructions

--HG--
branch : liveness-as-instruction

- - - - -
fef49dd2 by Carl Friedrich Bolz-Tereick at 2022-05-03T21:34:22+02:00
switch the way that liveness is representend in the jitcodes. so far it is done
as a dict mapping pc to a shared triple of shared strings. Those dicts take up
a lot of static space, lookups in them show up in profiles of the jit.

instead, represent liveness as an instruction. the instruction is skipped when
tracing and blackholing, but is read when producing and consuming resume data.
The instruction's argument is an offset into a single global big string, 
that
compactly encodes the sets of live registers.

intermediate checkin

--HG--
branch : liveness-as-instruction

- - - - -
e725e0f8 by Carl Friedrich Bolz-Tereick at 2022-05-05T19:33:22+02:00
fix vmprof

--HG--
branch : liveness-as-instruction

- - - - -
d569179d by Carl Friedrich Bolz-Tereick at 2022-05-06T10:34:24+02:00
fix codewriter tests

--HG--
branch : liveness-as-instruction

- - - - -
ac241c2c by Carl Friedrich Bolz-Tereick at 2022-05-06T12:23:29+02:00
fix tests

--HG--
branch : liveness-as-instruction

- - - - -
6bdc7cc5 by Carl Friedrich Bolz-Tereick at 2022-05-06T12:38:07+02:00
more fixes

--HG--
branch : liveness-as-instruction

- - - - -
8c5b8a45 by Carl Friedrich Bolz-Tereick at 2022-05-08T20:54:47+02:00
remove debugging attributes

--HG--
branch : liveness-as-instruction

- - - - -
a12d2f1a by Carl Friedrich Bolz-Tereick at 2022-05-08T21:50:15+02:00
two byte offsets are big enough (the pypy liveness string is 9650 bytes, so
plenty of margin to 65536)

--HG--
branch : liveness-as-instruction

- - - - -
302adc8b by Carl Friedrich Bolz-Tereick at 2022-05-09T21:46:24+02:00
merge liveness-as-instructions:

instead of encoding the liveness of local registers in each jitcode as a dict
mapping pc to a (shared) instance of a class with three strings, do the
following: add a live instruction in the jitcode that that has as its argument
an offset into a string that compactly encodes liveness.

This makes the pypy binary about 7MB smaller, which is ~9% of its size: there
are about 15000 jitcodes, and 15k dicts take a lot of memory.

- - - - -
598a01f2 by Carl Friedrich Bolz-Tereick at 2022-05-10T21:28:09+02:00
issue #3732: jit calling the key function

(does not help enough, unfortunately. the profile shows the comparison being
the slow thing in my example benchmark)

- - - - -
e8bd5fbf by Ronan Lamy at 2022-05-11T03:14:34+01:00
rm obsolete code

- - - - -
f23f981b by Matti Picus at 2022-05-11T06:18:25+03:00
on releases, build OWN + JIT

- - - - -
ced9ba84 by Carl Friedrich Bolz-Tereick at 2022-05-11T21:45:19+02:00
try to revive this very old mechanism for understanding the amount of static
data

- - - - -
b5d939b4 by Ronan Lamy at 2022-05-11T23:17:47+01:00
hg merge default

--HG--
branch : py3.8

- - - - -


18 changed files:

- pypy/objspace/std/listobject.py
- pypy/tool/release/force-builds.py
- rpython/jit/codewriter/assembler.py
- rpython/jit/codewriter/codewriter.py
- rpython/jit/codewriter/jitcode.py
- rpython/jit/codewriter/liveness.py
- rpython/jit/codewriter/test/test_assembler.py
- rpython/jit/codewriter/test/test_codewriter.py
- rpython/jit/codewriter/test/test_flatten.py
- rpython/jit/codewriter/test/test_jitcode.py
- rpython/jit/codewriter/test/test_liveness.py
- rpython/jit/metainterp/blackhole.py
- rpython/jit/metainterp/opencoder.py
- rpython/jit/metainterp/pyjitpl.py
- rpython/jit/metainterp/resume.py
- rpython/jit/metainterp/test/test_opencoder.py
- rpython/jit/metainterp/test/test_resume.py
- rpython/translator/tool/staticsizereport.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/8463c90baa0ad853488429f8ea663f4f4b2288f0...b5d939b406d9646c1083f72be55cd16909c18c85

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/8463c90baa0ad853488429f8ea663f4f4b2288f0...b5d939b406d9646c1083f72be55cd16909c18c85
You're receiving this email because of your account on foss.heptapod.net.


___
pypy-commit mailing list -- pypy-commit@python.org
To unsubscribe send an email to pypy-commit-le...@python.org
https://mail.python.org/mailman3/lists/pypy-commit.python.org/
Member address: arch...@mail-archive.com


[pypy-commit] [Git][pypy/pypy] Pushed new branch branch/frozen-modules-py2

2022-05-11 Thread Ronan Lamy (@rlamy)


Ronan Lamy pushed new branch branch/frozen-modules-py2 at PyPy / pypy

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/tree/branch/frozen-modules-py2
You're receiving this email because of your account on foss.heptapod.net.


___
pypy-commit mailing list -- pypy-commit@python.org
To unsubscribe send an email to pypy-commit-le...@python.org
https://mail.python.org/mailman3/lists/pypy-commit.python.org/
Member address: arch...@mail-archive.com


[pypy-commit] [Git][pypy/pypy] Pushed new branch branch/frozen-modules

2022-05-11 Thread Ronan Lamy (@rlamy)


Ronan Lamy pushed new branch branch/frozen-modules at PyPy / pypy

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/tree/branch/frozen-modules
You're receiving this email because of your account on foss.heptapod.net.


___
pypy-commit mailing list -- pypy-commit@python.org
To unsubscribe send an email to pypy-commit-le...@python.org
https://mail.python.org/mailman3/lists/pypy-commit.python.org/
Member address: arch...@mail-archive.com