-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Open
Labels
3.15new features, bugs and security fixesnew features, bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)topic-JITtype-featureA feature request or enhancementA feature request or enhancement
Description
The patch_aarch64_33rx relaxation only improves offsets <1MB.
If the offset is >1MB we can't save any instructions, but we can save the load from the data section.
Instead of:
adrp address of data holding value (hi bits)
ldr address of data holding value (lo bits)
we can get the value directly, as long as it is within 4GB
adrp value (hi bits)
add value (lo bits)
Linked PRs
Metadata
Metadata
Assignees
Labels
3.15new features, bugs and security fixesnew features, bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)topic-JITtype-featureA feature request or enhancementA feature request or enhancement