]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-139757: JIT: Remove redundant branches to jumps in the assembly optimizer (GH...
authorMark Shannon <mark@hotpy.org>
Mon, 8 Dec 2025 17:57:11 +0000 (17:57 +0000)
committerGitHub <noreply@github.com>
Mon, 8 Dec 2025 17:57:11 +0000 (17:57 +0000)
commite0451ceef8c18efbc378b959b59c4681d92cd686
tree196486f77674758fd600b80f29ab66db461107fd
parent37988c57ea244b0ed2f969e9c6039710dfe8f31d
GH-139757: JIT: Remove redundant branches to jumps in the assembly optimizer (GH-140800)

JIT: Remove redundant branches to jump in the assembly optimizer

* Refactor JIT assembly optimizer making instructions instances not just strings
* Remove redundant jumps and branches where legal to do so
* Modifies _BINARY_OP_SUBSCR_STR_INT to avoid excessive inlining depth
Python/bytecodes.c
Python/executor_cases.c.h
Python/generated_cases.c.h
Python/jit.c
Tools/cases_generator/analyzer.py
Tools/jit/_optimizers.py
Tools/jit/_stencils.py
Tools/jit/_targets.py