The Wayback Machine - https://web.archive.org/web/20260223165514/https://github.com/python/cpython/pull/121001
Skip to content

Comments

gh-119726: replace AArch64 trampolines with LDR#121001

Merged
brandtbucher merged 4 commits intopython:mainfrom
diegorusso:gh-119726-trampolines-ldr
Jul 1, 2024
Merged

gh-119726: replace AArch64 trampolines with LDR#121001
brandtbucher merged 4 commits intopython:mainfrom
diegorusso:gh-119726-trampolines-ldr

Conversation

@diegorusso
Copy link
Contributor

@diegorusso diegorusso commented Jun 25, 2024 •

Replace AArch64 trampolines with LDR of a PC relative literal. It saves 8 bytes in code size per trampoline and decreases the number of patches functions from 4 to 1 per stencil.
It decreases by 17% the size of the stencil header file generated.

Replace AArch64 trampolines with LDR of a PC relative literal.
It saves 8 bytes in code size per trampoline and decreases the number
of patches functions from 4 to 1 per stencil.
It decreases by 17% the size of the stencil header file generated.
@brandtbucher brandtbucher self-assigned this Jun 25, 2024
Copy link
Member

@brandtbucher brandtbucher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks!

@brandtbucher brandtbucher merged commit 9662608 into python:main Jul 1, 2024
@diegorusso diegorusso deleted the gh-119726-trampolines-ldr branch July 2, 2024 13:02
Akasurde pushed a commit to Akasurde/cpython that referenced this pull request Jul 3, 2024
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request Jul 11, 2024
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants