Matti Picus pushed to branch branch/hpy-0.0.4 at PyPy / pypy


Commits:
ecc8dd42 by Manuel Jacob at 2022-06-30T05:38:12+02:00
Port 211c8c95037f to reverse_debugging.py.

--HG--
branch : py3.8

- - - - -
47ed3769 by Matti Picus at 2022-06-30T17:21:14+03:00
update openssl versions

- - - - -
fd014843 by Matti Picus at 2022-06-30T17:22:44+03:00
merge default

--HG--
branch : py3.8

- - - - -
bd63c59c by Antonio Cuni at 2022-06-30T16:33:19+01:00
merge heads

- - - - -
5b6751ca by Antonio Cuni at 2022-06-30T16:34:03+01:00
merge heads

--HG--
branch : py3.8

- - - - -
7a22f10c by fijal at 2022-07-01T14:43:06+02:00
make sure we have wrappers around variadic calls in the JIT, fixes #3762

- - - - -
0cc2aa62 by Carl Friedrich Bolz-Tereick at 2022-07-02T13:36:06+02:00
give lifetimes a repr

- - - - -
08469c94 by Carl Friedrich Bolz-Tereick at 2022-07-02T15:18:14+02:00
be a bit more debugger friendly

- - - - -
69be3d8f by Carl Friedrich Bolz-Tereick at 2022-07-02T18:14:29+02:00
use a more subtle condition to check whether aliasing is present when doing
malloc removal

so far, we simply checked whether an outgoing link of a block had the variable
that stores the to-be-malloc-removed value twice. that's not precise enough 
and
leads to broken graphs in complicated situations.

The new condition is the following:

- we only care about aliasing if there are two distinct creation points. if
  there is only one, it does not matter that we ship the same value around in
  different variables.

- if there is more than one creation point, it's not good enough to check
  whether a single variable is duplicated. instead, we check whether there are
  two variables passed along the link that share the same creation point (the
  variables might have been copied via same_as or a cast_pointer).

- - - - -
f804cef0 by Matti Picus at 2022-07-02T23:37:33+03:00
use os.open instead of rposix.open where possible for M1 untranslated tests

- - - - -
859bff32 by Matti Picus at 2022-07-03T14:08:52+03:00
tweak test, macos build documentation

- - - - -
f13c8d4d by Matti Picus at 2022-07-03T14:18:19+03:00
backport changes from py3.8

- - - - -
9153a5ab by Matti Picus at 2022-07-03T15:28:34+03:00
fix reordering of calls in pypyjit test after 0a8acf22983f changed something

- - - - -
e2f12d88 by Matti Picus at 2022-07-03T15:29:42+03:00
rearrange so untranslated tests fail only on darwin. A better fix is needed

- - - - -
7817f258 by Matti Picus at 2022-07-03T16:49:35+03:00
remove non-matchging redundant code to fix translation

- - - - -
52bf4302 by Matti Picus at 2022-07-05T09:35:43+03:00
skip test that hengs untranslated on macos arm64, issue 3774

- - - - -
61dab08e by Carl Friedrich Bolz-Tereick at 2022-07-05T11:22:33+02:00
two elidables, add some hypothesis tests for the shift methods

- - - - -
8df404da by Matti Picus at 2022-07-06T06:35:22+03:00
update embedded openssl to 1.1.1p, 3.0.5

- - - - -
600cb49d by Carl Friedrich Bolz-Tereick at 2022-07-06T11:17:33+02:00
all these optimize_* functions that just call "emit" are pointless, 
because the
default behaviour is to just call emit

- - - - -
4859d00f by fijal at 2022-07-06T12:25:39+02:00
add more natural arities

- - - - -
eedd062b by Matti Picus at 2022-07-06T17:51:10+03:00
do more name mangling for cpytext so untranslated tests on a pypy2 host run

- - - - -
d5e73b32 by Matti Picus at 2022-07-06T18:07:33+03:00
back out e64d144190c4, test no longer hangs

- - - - -
5e8d5052 by Carl Friedrich Bolz-Tereick at 2022-07-06T21:10:15+02:00
micro-optimize .next() to not allocate quite so many intermediate lists, it
appears relatively high in the profile of optimizeopt

- - - - -
c9a9f046 by Carl Friedrich Bolz-Tereick at 2022-07-06T21:11:07+02:00
only put OptimizationResults into the list for callbacks if the callback would
actually *do* anything

- - - - -
ab9cd9e7 by Matti Picus at 2022-07-07T08:02:25+03:00
mangle another name in cpyext

- - - - -
6cd20a20 by Matti Picus at 2022-07-07T09:10:08+03:00
patch openssl 1.1.1q for issue openssl/openssl/#18720

- - - - -
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

- - - - -
3a9006f5 by Matti Picus at 2022-07-08T09:50:58+03:00
sed on macos is different from gnused

- - - - -
8854a81d by Matti Picus at 2022-07-08T10:04:44+03:00
skip _cffi_backend test with a variadac fscanf on macOS

- - - - -
52b877ea by Matti Picus at 2022-07-08T14:44:36+03:00
semlock does not work untranslated on darwin

- - - - -
ef1ba811 by Carl Friedrich Bolz-Tereick at 2022-07-09T08:07:53+02:00
fix a potential leak: the temporary box in MIFrame can come from push_ref, in
which case it stores an aritrary object. clean it up when setting the other ref
registers to None

- - - - -
bada387e by Carl Friedrich Bolz-Tereick at 2022-07-09T08:27:14+02:00
kill dead import

- - - - -
75cfcb6a by Matti Picus at 2022-07-09T22:07:08+03:00
merge default into py3.8

--HG--
branch : py3.8

- - - - -
88e7a276 by Carl Friedrich Bolz-Tereick at 2022-07-11T09:41:31+02:00
merge heads

- - - - -
dd4df7a9 by Carl Friedrich Bolz-Tereick at 2022-07-11T09:40:52+02:00
rename variable, it's not a box

- - - - -
6d1f44e5 by Matti Picus at 2022-07-11T23:58:03+03:00
fix the compile flags. CPython takes this from the Makefile, determined by 
configure

--HG--
branch : py3.8

- - - - -
07b8da46 by Matti Picus at 2022-07-13T10:29:14+03:00
macos arm64 does not support ffi_prep_cif_var, we can just ignore it

- - - - -
d08e4185 by Matti Picus at 2022-07-14T14:31:38+03:00
revert rposix.open work-arounds, the problem was open()'s mode must be an 
int for variadic calls

- - - - -
1bc789ee by Matti Picus at 2022-07-14T15:17:46+03:00
typo

- - - - -
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

- - - - -
abfbaa82 by Carl Friedrich Bolz-Tereick at 2022-07-16T20:03:17+02:00
fix the flowspace tests when running on top of pypy

- - - - -
c5ff31af by Matti Picus at 2022-07-16T21:14:30+03:00
convert test_msvcrt to extra_test

--HG--
branch : py3.8

- - - - -
e10bcfb8 by Matti Picus at 2022-07-16T21:28:13+03:00
test, fix msvcrt.get* for python3 (issue 3779)

--HG--
branch : py3.8

- - - - -
d52a7395 by Matti Picus at 2022-07-16T21:37:09+03:00
merge default

--HG--
branch : py3.8

- - - - -
47f55d50 by Carl Friedrich Bolz-Tereick at 2022-07-17T14:11:18+02:00
#3778: use the name mapping when creating new hashes to pass the correct ssl
name to the C functions

--HG--
branch : py3.8

- - - - -
8ab5b393 by Matti Picus at 2022-07-17T15:31:22+03:00
merge default

--HG--
branch : py3.8

- - - - -
cb49f3c1 by Matti Picus at 2022-07-18T06:32:28+03:00
fix pytest skip

--HG--
branch : py3.8

- - - - -
9a5fd9ff by Matti Picus at 2022-07-19T11:42:35+03:00
expose os.sendfile on darwin, skip test that hangs untranslated on darwin

--HG--
branch : py3.8

- - - - -
dc7062d5 by Matti Picus at 2022-07-20T00:02:11+03:00
test, implement PyErr_SetFromErrnoWithFilenameObjects needed for HPy 0.0.4 tests

--HG--
branch : py3.8

- - - - -
e3ec1a23 by Matti Picus at 2022-07-20T16:42:29+03:00
merge py3.8

--HG--
branch : hpy-0.0.4

- - - - -


30 changed files:

- + extra_tests/test_hashlib.py
- pypy/module/test_lib_pypy/test_msvcrt.py → extra_tests/test_msvcrt.py
- lib_pypy/_hashlib/__init__.py
- lib_pypy/_sysconfigdata.py
- lib_pypy/msvcrt.py
- lib_pypy/pypy_tools/build_cffi_imports.py
- pypy/doc/build.rst
- pypy/interpreter/reverse_debugging.py
- pypy/module/_cffi_backend/test/_backend_test_c.py
- pypy/module/_io/interp_fileio.py
- pypy/module/_multiprocessing/test/test_interp_semaphore.py
- pypy/module/_multiprocessing/test/test_semaphore.py
- pypy/module/cpyext/api.py
- pypy/module/cpyext/pyerrors.py
- pypy/module/cpyext/src/intobject.c
- pypy/module/cpyext/src/missing.c
- pypy/module/cpyext/src/object.c
- pypy/module/cpyext/src/tupleobject.c
- pypy/module/cpyext/test/test_ndarrayobject.py
- pypy/module/cpyext/test/test_pyerrors.py
- pypy/module/fcntl/interp_fcntl.py
- pypy/module/posix/interp_posix.py
- pypy/module/posix/moduledef.py
- pypy/module/posix/test/test_posix2.py
- pypy/module/pypyjit/test_pypy_c/test_ffi.py
- rpython/flowspace/test/test_objspace.py
- rpython/jit/codewriter/call.py
- rpython/jit/metainterp/executor.py
- rpython/jit/metainterp/heapcache.py
- rpython/jit/metainterp/history.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/698f47c2d20f248bdb0c33ea9f72874f69cfd31a...e3ec1a2344d01dd615f401c264c32f33ed0a40cb

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/698f47c2d20f248bdb0c33ea9f72874f69cfd31a...e3ec1a2344d01dd615f401c264c32f33ed0a40cb
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