]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-146128: Fix AArch64 multi-instruction constants and relocations (GH-148598)
authorMark Shannon <Mark.Shannon@arm.com>
Thu, 16 Apr 2026 14:33:09 +0000 (15:33 +0100)
committerGitHub <noreply@github.com>
Thu, 16 Apr 2026 14:33:09 +0000 (15:33 +0100)
commitcecf564073f898809bf10d7e555d64fdd764f060
treed205e7d258efbe12bdc1aaf16ad0b7332482ed88
parent600f4dbd54bb35f56ecf1430134d2072b0520aa3
GH-146128: Fix AArch64 multi-instruction constants and relocations (GH-148598)

Fix AArch64 multi-instruction constants and relocations

* Elimates rendundant orr xN, xN, 0xffff after 16 or 32 bit loads
* Merges adrp (21rx) and ldr (12) relocations into single 33rx relocation, when safe to do so.
Python/jit.c
Tools/jit/_optimizers.py
Tools/jit/_stencils.py
Tools/jit/_targets.py