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
manjaro-user has joined #pypy
lehmrob has joined #pypy
jacob22 has quit [Ping timeout: 246 seconds]
dmalcolm_ has joined #pypy
dmalcolm has quit [Ping timeout: 268 seconds]
[Arfrever] has quit [Ping timeout: 272 seconds]
stkrdknmibalz has quit [Ping timeout: 252 seconds]
jacob22 has joined #pypy
manjaro-user has quit [Ping timeout: 272 seconds]
lehmrob has quit [Ping timeout: 252 seconds]
lehmrob has joined #pypy
Julian has joined #pypy
Julian has quit [Ping timeout: 268 seconds]
Julian has joined #pypy
<mattip> about the need for a patch to numpy + windows + pypy to prevent passing 16-byte structs by value:
<mattip> it seems wrong to me. Something else is going on, but what?
lehmrob has quit [Ping timeout: 246 seconds]
lehmrob has joined #pypy
<arigo> mattip: I would start with trying to make a small reproducer
<arigo> Compile file1.c which implements func(struct s)
<arigo> Then compile file
<arigo> File2.c which calls it
<arigo> And try to get the same problem
<arigo> Maybe compile both files with a different compiler or something?
Julian has quit [Ping timeout: 252 seconds]
Julian has joined #pypy
manjaro-user- has joined #pypy
<mattip> arigo: this gist demonstrates the problem, but only when run with the full test suite
<mattip> in the same file, ufunc_generic_fastcall calls replace_with_wrapped_result_and_return
<mattip> in the first one full_args is OK, in the second it is not
<mattip> ahh, no, now I have confused myself again
<mattip> ignore this
lehmrob has quit [Quit: Konversation terminated!]
[Arfrever] has joined #pypy
Julian has quit [Ping timeout: 272 seconds]
smarr has joined #pypy
Julian has joined #pypy
<smarr> Hi: To improve interpreter performance, I added a few specializations for method calls with 1,2, and 3 arguments. So, I do now have specialized classes to to handle these cases, and the n-ary standard case. Previously, everything was the n-ary case, and the calling convention was to simply pass an array/list with the arguments. This specialization gives a good speedup of 25% in the interpreter, so, is rather valuable.
<smarr> Unfortunately, the recursive benchmarks do not seem to like it when JIT compiled. I see them getting 2-5x slower. Is there possibly something I could be doing wrong with the JitDrivers? Instead of having a single one, for each arity specialization, I have a separate one, to be able to name the `reds` explicitly.
<smarr> The functions perviously had different `self` identifies already (listed as `greens`). So, by my understanding, I would not expect the JIT compiler to trigger much differently. The difference I can think of is that some traces should now be a little shorter, because the specialized versions need to do fewer work. But perhaps I am missing something the JitDriver is doing, which now doesn't happen anymore, and it triggers differently?
stkrdknmibalz has joined #pypy
Julian has quit [Ping timeout: 255 seconds]
Julian has joined #pypy
Julian has quit [Ping timeout: 255 seconds]
Julian has joined #pypy
Julian has quit [Ping timeout: 252 seconds]
Julian has joined #pypy
Julian has quit [Client Quit]
Dejan has quit [Quit: Leaving]
<smarr> trying to use the same jitdriver with 'reds = 'auto'` in multiple methods fails with an assertion. So, I guess, that's not supported then.
greedom has joined #pypy
greedom has quit [Remote host closed the connection]
greedom has joined #pypy
jacob22 has quit [Ping timeout: 252 seconds]
greedom has quit [Remote host closed the connection]
greedom has joined #pypy
jerith has joined #pypy
bbot2 has quit [Ping timeout: 268 seconds]
bbot2 has joined #pypy
greedom has quit [Quit: Konversation terminated!]
greedom has joined #pypy
jacob22 has joined #pypy
jacob22 has quit [Ping timeout: 252 seconds]
greedom has quit [Quit: Konversation terminated!]
greedom has joined #pypy
greedom has quit [Remote host closed the connection]