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


Commits:
073ab68c by Carl Friedrich Bolz-Tereick at 2022-07-07T15:37:14+02:00
stop allocating lists for all the arguments of operations in the frontend

--HG--
branch : tracing-speedup-minor

- - - - -
2fa0186d by Carl Friedrich Bolz-Tereick at 2022-07-07T16:17:43+02:00
specialize these

--HG--
branch : tracing-speedup-minor

- - - - -
00bdcc8c by Carl Friedrich Bolz-Tereick at 2022-07-07T16:17:46+02:00
a comment

--HG--
branch : tracing-speedup-minor

- - - - -
4dd26b6e by Carl Friedrich Bolz-Tereick at 2022-07-07T18:22:57+02:00
rename IntBount.getint to get_constant_int

having it share the metho name with ConstantInt means the method moves up to
AbstractValue. Then IntBount.getint shows up as a case that is inlined all over
the metainterp.

--HG--
branch : tracing-speedup-minor

- - - - -
49cefd7e by Carl Friedrich Bolz-Tereick at 2022-07-07T18:39:39+02:00
for constant pointers that come out of jitcodes, use a subclass of ConstPtr
that has a field to cache the position the constant has in the opencoder

--HG--
branch : tracing-speedup-minor

- - - - -
5a7ca928 by Carl Friedrich Bolz-Tereick at 2022-07-07T18:50:49+02:00
use decorator

--HG--
branch : tracing-speedup-minor

- - - - -
3fa5fd8a by Carl Friedrich Bolz-Tereick at 2022-07-07T19:50:00+02:00
renaming and consolidation of pure/nonpure variants

--HG--
branch : tracing-speedup-minor

- - - - -
74897eea by Carl Friedrich Bolz-Tereick at 2022-07-16T17:30:54+02:00
a few small optimizations to tracing speed
- have special versions of various record functions that take a fixed number of
  arguments. this makes it possible to not allocate arguments lists
- don't lookup constant pointers that come from the jitcode in a dictionary
  again and again in opencoder

- - - - -


14 changed files:

- rpython/jit/metainterp/executor.py
- rpython/jit/metainterp/heapcache.py
- rpython/jit/metainterp/history.py
- rpython/jit/metainterp/opencoder.py
- rpython/jit/metainterp/optimizeopt/heap.py
- rpython/jit/metainterp/optimizeopt/intbounds.py
- rpython/jit/metainterp/optimizeopt/intutils.py
- rpython/jit/metainterp/optimizeopt/optimizer.py
- rpython/jit/metainterp/optimizeopt/rewrite.py
- rpython/jit/metainterp/optimizeopt/vstring.py
- rpython/jit/metainterp/pyjitpl.py
- rpython/jit/metainterp/resoperation.py
- rpython/jit/metainterp/test/test_heapcache.py
- rpython/jit/metainterp/test/test_opencoder.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/1bc789ee14b08b1af4d8a84f20337357c92aeb6d...74897eea5ae97fada7917ae3b8aa2c332efc5f2c

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/1bc789ee14b08b1af4d8a84f20337357c92aeb6d...74897eea5ae97fada7917ae3b8aa2c332efc5f2c
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