Nils pushed to branch branch/sqlite-need-adapt-optimization at PyPy / pypy


Commits:
48e08421 by fijal at 2022-05-24T13:38:37+02:00
remove old calls

- - - - -
cf27940b by Carl Friedrich Bolz-Tereick at 2022-05-26T12:28:10+02:00
a check for the problem of too much access_directly

--HG--
branch : fix-access-directly

- - - - -
0e97ae18 by Carl Friedrich Bolz-Tereick at 2022-05-26T12:43:26+02:00
have a way to turn access_directly off again

--HG--
branch : fix-access-directly

- - - - -
ba829a23 by Carl Friedrich Bolz-Tereick at 2022-05-26T14:55:51+02:00
fix typo

--HG--
branch : fix-access-directly

- - - - -
93bca5a8 by Carl Friedrich Bolz-Tereick at 2022-05-26T15:21:51+02:00
use the new hint and the new debug check to make sure that getclass does not
have variants

--HG--
branch : fix-access-directly

- - - - -
ebad51d8 by Carl Friedrich Bolz-Tereick at 2022-05-26T22:02:50+02:00
silence warning while we are at it

--HG--
branch : fix-access-directly

- - - - -
898cb143 by Carl Friedrich Bolz-Tereick at 2022-05-26T22:15:13+02:00
memoize the W_TypeObject that belongs to an instance with the RPython class as
a key, not the typedef. This saves one indirection in C: the W_TypeObject is
stored in a field on the W_Root vtable, without needing to go via the typedef
pbc.

--HG--
branch : fix-access-directly

- - - - -
e77b6e2a by Carl Friedrich Bolz-Tereick at 2022-05-27T07:36:36+02:00
use == of course

--HG--
branch : fix-access-directly

- - - - -
a951a97f by Carl Friedrich Bolz-Tereick at 2022-05-27T07:40:37+02:00
remove access directly flags from non-virtualizables too

--HG--
branch : fix-access-directly

- - - - -
148fd09d by Carl Friedrich Bolz-Tereick at 2022-05-27T13:25:50+02:00
test and fix

--HG--
branch : fix-access-directly

- - - - -
4f20dae5 by Carl Friedrich Bolz-Tereick at 2022-05-28T07:53:25+02:00
fix test

- - - - -
4e6f2b80 by Carl Friedrich Bolz-Tereick at 2022-05-28T09:04:21+02:00
fix error checking

- - - - -
d5af8c51 by Carl Friedrich Bolz-Tereick at 2022-05-28T09:55:44+02:00
add missing doc about flag

- - - - -
1a17490a by Armin Rigo at 2022-05-28T11:11:11+02:00
#3619

if pypy runs C code that itself tries to run a cffi embedded module, then we
crashed: rpython_startup_code was executed twice.

- - - - -
fad9ad6c by Carl Friedrich Bolz-Tereick at 2022-05-28T15:18:42+02:00
test is order dependent, make it very explicit

--HG--
branch : fix-access-directly

- - - - -
ffe6fa0e by Carl Friedrich Bolz-Tereick at 2022-05-28T17:59:11+02:00
fix test (don't know why this changed, does not matter)

--HG--
branch : fix-access-directly

- - - - -
bd36737b by Carl Friedrich Bolz-Tereick at 2022-05-28T18:10:26+02:00
merge fix-access-directly: make sure that W_Root.getclass does not exist in two
versions, one for access_directly=True, one regular (having two versions adds
an extra indirection and prevents the small func set optimization).

- - - - -
eaa78208 by Carl Friedrich Bolz-Tereick at 2022-05-28T20:29:27+02:00
clean up the number of w_obj.getclass variants in mapdict:

- the weird helper class Object in mapdict.py is not important and should not
  have its own
- otoh W_ObjectObjectUserDictWeakrefable *should* have one

- - - - -
23472c0a by Carl Friedrich Bolz-Tereick at 2022-05-28T22:40:27+02:00
change the way that space.lookup(w_obj, "<fixed string>") calls 
are cached:
don't do it on the w_type, but on the rpython class

--HG--
branch : space-lookup-cleanups

- - - - -
1db6eb2e by Carl Friedrich Bolz-Tereick at 2022-05-28T22:41:25+02:00
use %T instead of %N in error messages

--HG--
branch : space-lookup-cleanups

- - - - -
f53ff897 by Carl Friedrich Bolz-Tereick at 2022-05-28T22:42:31+02:00
specialize _call_binop_impl on the special method names to be able to use the
cache of space.lookup_in_type_where

--HG--
branch : space-lookup-cleanups

- - - - -
42b67db1 by Matti Picus at 2022-05-29T06:52:58+03:00
fix xmm scratch register on win64 (issue 3753)

- - - - -
294cc70d by Matti Picus at 2022-05-29T07:36:20+03:00
simplify reghint logic, this fixes a misfit of hints on win64

- - - - -
ee0f764d by Matti Picus at 2022-05-29T07:37:13+03:00
check existance before copying file

- - - - -
72f29b20 by Matti Picus at 2022-05-29T07:42:30+03:00
fix comment

- - - - -
40cebbf8 by Carl Friedrich Bolz-Tereick at 2022-05-29T09:18:24+02:00
remove debug print

--HG--
branch : space-lookup-cleanups

- - - - -
8ee22966 by Carl Friedrich Bolz-Tereick at 2022-05-29T17:25:43+02:00
micro-opt

--HG--
branch : space-lookup-cleanups

- - - - -
f6921414 by Carl Friedrich Bolz-Tereick at 2022-05-29T20:39:22+02:00
two improvements to space operations:
- rewrite the translation-time lookup caching to work on the *RPython* class
  instead of the W_TypeObjects. this makes the latter smaller and saves us
  having to call space.type(w_obj) first.
- fix caching of binary ops by using a @specialize

- - - - -
251929c6 by Carl Friedrich Bolz-Tereick at 2022-05-29T20:40:19+02:00
merge heads

- - - - -
55fc5e6e by Carl Friedrich Bolz-Tereick at 2022-05-29T21:20:07+02:00
clean up this somewhat weird piece of machinery that was producing lots of tiny 
functions returning constants

- - - - -
0a112867 by Carl Friedrich Bolz-Tereick at 2022-05-30T12:57:20+02:00
add an ad-hoc way to cound field reads and writes in generated C code

- - - - -
d2a79b6b by Carl Friedrich Bolz-Tereick at 2022-05-30T13:05:37+02:00
merge heads

- - - - -
ce12e57d by Matti Picus at 2022-05-30T22:30:53+03:00
convert http to https (Alex Gaynor on IRC)

- - - - -
c38dca2a by fijal at 2022-05-31T08:29:54+02:00
merge

- - - - -
2dfeecfa by Carl Friedrich Bolz-Tereick at 2022-05-31T15:31:29+02:00
use more efficient api

- - - - -
9e7d586d by Carl Friedrich Bolz-Tereick at 2022-05-31T21:33:59+02:00
another place missing an ascii shortcut

- - - - -
3835346a by Carl Friedrich Bolz-Tereick at 2022-05-31T22:15:47+02:00
nonsense, misread something

- - - - -
112b6e46 by Carl Friedrich Bolz-Tereick at 2022-06-02T15:12:08+02:00
#3759: fix corner cases in method and code __ne__

- - - - -
a06d3e09 by Carl Friedrich Bolz-Tereick at 2022-06-03T16:06:45+02:00
#3759: remove the wrong and now unused __total_ordering__='auto' feature

- - - - -
46bc103e by Nils Müller at 2022-06-04T15:46:40+02:00
Merge default branch

--HG--
branch : sqlite-need-adapt-optimization

- - - - -


30 changed files:

- lib_pypy/_structseq.py
- pypy/goal/targetpypystandalone.py
- pypy/interpreter/baseobjspace.py
- pypy/interpreter/executioncontext.py
- pypy/interpreter/function.py
- pypy/interpreter/pycode.py
- pypy/interpreter/test/apptest_function.py
- pypy/interpreter/test/test_code.py
- pypy/interpreter/test/test_typedef.py
- pypy/interpreter/typedef.py
- pypy/module/__pypy__/test/test_special.py
- pypy/module/_cffi_backend/embedding.py
- pypy/module/pypyjit/test_pypy_c/test_call.py
- pypy/module/test_lib_pypy/test_structseq.py
- pypy/objspace/descroperation.py
- pypy/objspace/std/mapdict.py
- pypy/objspace/std/objspace.py
- pypy/objspace/std/test/test_mapdict.py
- pypy/objspace/std/test/test_unicodeobject.py
- pypy/objspace/std/unicodeobject.py
- pypy/tool/ann_override.py
- pypy/tool/release/versions.json
- rpython/annotator/test/test_annrpython.py
- rpython/config/translationoption.py
- rpython/jit/backend/x86/regalloc.py
- rpython/jit/backend/x86/reghint.py
- rpython/jit/backend/x86/regloc.py
- rpython/jit/codewriter/jtransform.py
- rpython/jit/metainterp/warmstate.py
- rpython/rlib/debug.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/df81bd7f41fa2d5b5a492ee29d943db4f7482218...46bc103e29c9a01a3f2d7ac8b8527b78b035329d

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/df81bd7f41fa2d5b5a492ee29d943db4f7482218...46bc103e29c9a01a3f2d7ac8b8527b78b035329d
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