I think this needs to handled all the way through the tools chain, including the code generator to avoid Clang generating the load instructions. Or it might be possible to fix that with different compiler flags. I'll need to experiment. Have you given this any thought?
Activity
brandtbucher commented on Oct 27, 2025
Is the plan to handle this in the textual assembly transformation step? Or by relaxing the relocations at runtime?
markshannon commented on Oct 28, 2025
I think this needs to handled all the way through the tools chain, including the code generator to avoid Clang generating the load instructions. Or it might be possible to fix that with different compiler flags. I'll need to experiment. Have you given this any thought?
GH-140683: JIT: Improve machine code for loading smaller constants on…
pythonGH-140683: JIT: Improve machine code for loading smaller consta…
sergey-miryanov commented on May 4, 2026
Completed via #142511