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


Commits:
b96de769 by Carl Friedrich Bolz-Tereick at 2023-08-10T19:22:08+02:00
implement rbigint.isqrt following Mark Dickinson in cpython's mathmodule.c

- - - - -
884f8c84 by Carl Friedrich Bolz-Tereick at 2023-08-21T19:16:13+02:00
Backed out changeset ee244dd71519

it seems to violate some invariants in unroll.py

- - - - -
85bc3030 by Carl Friedrich Bolz-Tereick at 2023-08-21T19:17:23+02:00
Backed out changeset f26fb5f97174

- - - - -
c9b12366 by Carl Friedrich Bolz-Tereick at 2023-08-21T19:30:55+02:00
a branch in which to improve the complexity problems of the flowspace for very
large graphs

--HG--
branch : flowspace-quadratic

- - - - -
61d99f2e by Carl Friedrich Bolz-Tereick at 2023-08-21T19:35:07+02:00
speedup FlowContext.getstate a lot by making FlowContext.STORE_FAST and
FlowContext.DELETE_FAST slightly slower. the former is much more common than
the latter (indeed, there is a call to getstate for every call of the
bytecodes)

--HG--
branch : flowspace-quadratic

- - - - -
829a3196 by Carl Friedrich Bolz-Tereick at 2023-08-21T22:12:34+02:00
don't recursively_flatten everything, only the stack, which is the only 
place
where unrollers can be

--HG--
branch : flowspace-quadratic

- - - - -
dd13d116 by Carl Friedrich Bolz-Tereick at 2023-08-22T08:51:18+02:00
more efficient hasjrel check

--HG--
branch : flowspace-quadratic

- - - - -
a08c0997 by Carl Friedrich Bolz-Tereick at 2023-08-22T09:04:15+02:00
promote the opnum if we're translating on pypy

this means we can constant-fold the self.opnames read and also it means the
subsequent method lookup using getattr in FlowContext.handle_bytecode is
constant-folded

bit of a weird check-in, but helps a lot

--HG--
branch : flowspace-quadratic

- - - - -
86c81cb8 by Carl Friedrich Bolz-Tereick at 2023-08-22T09:19:35+02:00
have special implementations for constfold for pure operations with one and two
arguments. this avoids the 'all' loop and the list comprehension in the 
general
version

--HG--
branch : flowspace-quadratic

- - - - -
1e8db00f by Carl Friedrich Bolz-Tereick at 2023-08-22T09:26:54+02:00
somewhat more efficient getoutputargs

--HG--
branch : flowspace-quadratic

- - - - -
9e6cd49e by Matti Picus at 2023-08-22T14:00:24+03:00
cleanups, set PyType_Type.tp_itemsize to sizeof(PyMemberDef) like on CPython

--HG--
branch : py3.9

- - - - -
da517fa2 by Matti Picus at 2023-08-22T14:01:30+03:00
test, fix PyType_FromSpecWithBases to correctly use Py_tp_doc, Py_tp_members in 
spec

--HG--
branch : py3.9

- - - - -
fca23e06 by Matti Picus at 2023-08-22T14:02:19+03:00
merge default

--HG--
branch : py3.9

- - - - -
980c80f9 by Carl Friedrich Bolz-Tereick at 2023-08-22T13:27:13+02:00
fix monkeypatching

--HG--
branch : flowspace-quadratic

- - - - -
5e93c89b by Matti Picus at 2023-08-22T18:25:40+03:00
fix annotation

- - - - -
7df07fe4 by Matti Picus at 2023-08-22T23:17:38+03:00
merge default

--HG--
branch : py3.9

- - - - -
58498658 by Matti Picus at 2023-08-22T23:23:08+03:00
fix translation, "leak" tp_doc

--HG--
branch : py3.9

- - - - -
bae0ba52 by Matti Picus at 2023-08-23T10:08:06+03:00
consolidate repetitive tests

--HG--
branch : py3.9

- - - - -
42009215 by Matti Picus at 2023-08-23T10:09:17+03:00
fix __module__ reassignment after PyType_Ready in PyType_FromSpec

--HG--
branch : py3.9

- - - - -
2abe08a2 by Matti Picus at 2023-08-23T11:24:48+03:00
Do not override tp_itemsize, it is set elsewhere

--HG--
branch : py3.9

- - - - -
4e3fe2f9 by Matti Picus at 2023-08-24T14:14:12+03:00
set tp_itemsize early on in type_realize

--HG--
branch : py3.9

- - - - -
72e67b0e by Matti Picus at 2023-08-24T16:14:00+03:00
set tp_itemsize for subtypes as well in type_attach

--HG--
branch : py3.9

- - - - -
98bf08b7 by Carl Friedrich Bolz-Tereick at 2023-08-24T19:35:36+02:00
merge flowspace-quadratic

speed up the flowspace a lot for huge functions

- - - - -
704337fe by Matti Picus at 2023-08-28T09:47:48+03:00
merge default

--HG--
branch : py3.9

- - - - -
ebebad54 by Matti Picus at 2023-08-28T09:48:18+03:00
merge py3.9

--HG--
branch : py3.10

- - - - -


20 changed files:

- pypy/module/cpyext/parse/cpyext_descrobject.h
- pypy/module/cpyext/parse/cpyext_object.h
- pypy/module/cpyext/pyobject.py
- pypy/module/cpyext/src/object.c
- + pypy/module/cpyext/test/test_func.c
- pypy/module/cpyext/test/test_methodobject.py
- pypy/module/cpyext/test/test_typeobject.py
- pypy/module/cpyext/typeobject.py
- rpython/flowspace/bytecode.py
- rpython/flowspace/flowcontext.py
- rpython/flowspace/framestate.py
- rpython/flowspace/operation.py
- rpython/flowspace/test/test_framestate.py
- rpython/flowspace/test/test_objspace.py
- rpython/jit/metainterp/optimizeopt/intbounds.py
- rpython/jit/metainterp/optimizeopt/test/test_optimizeintbound.py
- rpython/jit/metainterp/optimizeopt/test/test_optimizeopt.py
- rpython/rlib/rbigint.py
- rpython/rlib/test/test_rbigint.py
- rpython/rtyper/lltypesystem/rffi.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/18270fd45a576709d341db9c1a1f5a2c42071d8f...ebebad543145a6bb9736a7ab03e3d2040cbd4b4f

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/18270fd45a576709d341db9c1a1f5a2c42071d8f...ebebad543145a6bb9736a7ab03e3d2040cbd4b4f
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

Reply via email to