You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The code generated by the JIT for loading 16 bit and 32 bit constants is inefficient. #140683
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 commentedon Oct 27, 2025
Is the plan to handle this in the textual assembly transformation step? Or by relaxing the relocations at runtime?
markshannon commentedon 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 commentedon May 4, 2026
Completed via #142511