gh-143092: Make CALL_LIST_APPEND and BINARY_OP_INPLACE_ADD_UNICODE normal instructions#143124
Conversation
…ner/cpython into remove_deopt_for_no_progress
|
The changes to
We can make Note: Adding the extra |
This requires an |
|
Wait I think I misunderstood you, let me implement this. |
|
@markshannon I converted both of them to normal instructions. Again, I highly doubt any of them will show up on benchmarks considering how few super instructions we have, and also IIRC the original superinstructions PR only added at most 1% speedup, and that contained LOAD_FAST_LOAD_FAST and friends as well. |
markshannon
left a comment
There was a problem hiding this comment.
Thanks, that looks good. I like the way it simplifies both the JIT and the specializer.
BINARY_OP_INPLACE_ADD_UNICODE is a bit weird, but I think it is the best we can do given the constraints.
|
🤖 New build scheduled with the buildbot fleet by @Fidget-Spinner for commit 880b48d 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F143124%2Fmerge If you want to schedule another build, you need to add the 🔨 test-with-refleak-buildbots label again. |
Fixes #143092
These super instructions need many special cases in the interpreter and JIT. It's best we convert them to normal instructions.
_PyTier2Interpreter#143092