]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-140683: JIT: Improve machine code for loading smaller constants on AArch64. (GH...
authorMark Shannon <mark@hotpy.org>
Thu, 11 Dec 2025 12:33:39 +0000 (12:33 +0000)
committerGitHub <noreply@github.com>
Thu, 11 Dec 2025 12:33:39 +0000 (12:33 +0000)
commit4eab90f4f33e1c072faf9d2e231d310bdc90ec97
treefd8268175910ec590c830806a6a6b4860ba5d9a2
parent469f191a8501dfcad37c0d70480090733623842d
GH-140683: JIT: Improve machine code for loading smaller constants on AArch64. (GH-142511)

* Use movz and movk instructions for loading 16 and 32 bit operands and oparg.
* Loading of 64 bit operands is unchanged.
Python/bytecodes.c
Python/ceval_macros.h
Python/executor_cases.c.h
Python/generated_cases.c.h
Tools/cases_generator/tier2_generator.py
Tools/jit/_optimizers.py
Tools/jit/_schema.py
Tools/jit/_stencils.py
Tools/jit/_targets.py
Tools/jit/template.c