cfbolz changed the topic of #pypy to: #pypy PyPy, the flexible snake https://pypy.org | IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end and https://libera.irclog.whitequark.org/pypy | insert pithy quote here
stkrdknmibalz has joined #pypy
lritter has quit [Ping timeout: 255 seconds]
lritter_ has joined #pypy
stkrdknmibalz has quit [Remote host closed the connection]
stkrdknmibalz has joined #pypy
fotis has joined #pypy
fotis has quit [Ping timeout: 255 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 265 seconds]
gef has quit [Ping timeout: 255 seconds]
gef has joined #pypy
gef_ has joined #pypy
gef_ has quit [Ping timeout: 245 seconds]
gef has quit [Ping timeout: 245 seconds]
lritter_ has quit [Ping timeout: 246 seconds]
smarr has quit [Quit: Connection closed for inactivity]
fotis has joined #pypy
fotis has quit [Ping timeout: 255 seconds]
<mattip> broke the world, sorry
gef has joined #pypy
kor1 has quit [Quit: Leaving.]
kor1 has joined #pypy
kor1 has quit [Quit: Leaving.]
gef has quit [Ping timeout: 255 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 255 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 272 seconds]
gef has joined #pypy
gef_ has joined #pypy
Julian has joined #pypy
Corbin has quit [Ping timeout: 255 seconds]
gef_ has quit [Ping timeout: 265 seconds]
gef has quit [Ping timeout: 265 seconds]
yuiza has joined #pypy
fotis has joined #pypy
fotis has quit [Ping timeout: 245 seconds]
gef has joined #pypy
ambv has joined #pypy
stkrdknmibalz has quit [Quit: WeeChat 3.0.1]
Julian has quit [Ping timeout: 245 seconds]
Julian has joined #pypy
smarr has joined #pypy
yuiza has quit [Remote host closed the connection]
Julian has quit [Ping timeout: 258 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 255 seconds]
gef has quit [Ping timeout: 272 seconds]
gef has joined #pypy
Dejan has joined #pypy
Julian has joined #pypy
gef has quit [Ping timeout: 255 seconds]
gef has joined #pypy
otisolsen70 has joined #pypy
Julian has quit [Ping timeout: 272 seconds]
<mattip> gettting closer to a smoking gun with the numpy + win64 failures: it seems everything works with --jit off
Julian has joined #pypy
<mattip> of course it only happens on avx512 hardware (11th generation intel ) so it will take me a while to replicate locally
Julian has quit [Ping timeout: 265 seconds]
Julian has joined #pypy
<mattip> arigato: any other ideas what might be off with the JIT and registers on win64 ?
<arigato> Looking, I seem to remember some issue but it doesn't really make sense to me so far
<mattip> there is this sentence "Consider volatile registers destroyed on function calls unless otherwise safety-provable by analysis such as whole program optimization."
<mattip> and I NumPy uses the /LTCG flag for linking
<mattip> which comes from the pypy/3/lib-python distutils, if not overridden by setuptools
otisolsen70 has quit [Quit: Leaving]
gef has quit [Ping timeout: 272 seconds]
gef has joined #pypy
<mattip> back to jit/backend/llsupport/codemap.py, the reason it fails on win64 is that it uses Signed in python but long in C
<mattip> so the INT_LIST_PTR does not work
<mattip> but I think win64 does not use codemap anyway
<mattip> so what would be better: skip the test or change lltype.Signed to rffi.LONG in codemap.py ?
<mattip> arigato ^^^
gef has quit [Write error: Connection reset by peer]
gef has joined #pypy
gef_ has joined #pypy
<arigato> Mattip :
<arigato> mattip just skip the test
kor1 has joined #pypy
gef_ has quit [Ping timeout: 255 seconds]
gef has quit [Ping timeout: 255 seconds]
stkrdknmibalz has joined #pypy
Dejan has quit [Quit: Leaving]
Julian has quit [Quit: leaving]
lritter_ has joined #pypy
ambv has quit [Quit: Textual IRC Client: www.textualapp.com]
<smarr> I have `-O1` and `-O2` compilations segfault on me, `-O0 --no-gcremovetypeptr --gc=minimark` doesn't segfault. What's the best way to debug this? Especially with access to the source code so that I can avoid doing everything in assembly
<smarr> ok, figured it out. found the `Makefile` in the tmp folder with the produced code, and managed to get source level debugging doing
<smarr> I have some issues with RPython seemingly constant folding something to `NULL`, which shouldn't be `NULL` and works fine when executing normally.
<smarr> The specific code looks something like this:
<smarr> ```
<smarr> def get_class(self, universe):
<smarr> return universe.array_class
<smarr> ```
<smarr> return universe.array_layout
<smarr> def get_object_layout(self, universe):
<smarr> `get_class` compiles correctly to a read
<smarr> but `get_object_layout` doesn't compile to a read. It compiles to simply returning `NULL`. both fields are marked as named in `_immutable_fields_` to be immutable
<smarr> this is all very mysterious. the same code compiles to a proper read when I compiler the interpreter with my AST instead of my bytecode interpreter.
<smarr> hmm, I think the main difference is that the `universe` object is directly read from the global, when things are constant folded to `NULL`