gh-119726: generate and patch AArch64 trampolines#123872
Merged
brandtbucher merged 15 commits intoOct 2, 2024
Merged
Conversation
5 tasks
diegorusso
marked this pull request as draft
September 9, 2024 16:16
diegorusso
force-pushed
the
gh-119726-generate-and-patch-AArch64-trampolines
branch
2 times, most recently
from
September 10, 2024 15:37
a7a04fc to
8cbca05
Compare
brandtbucher
left a comment
Member
There was a problem hiding this comment.
This is great! I'd like to see this mechanism used across all platforms for symbols in the "global offset table" too (but that can be a separate project).
It's a clear improvement for the affected platforms:
aarch64-unknown-linux-gnu: 0.8% faster, 0.6% less memory.aarch64-apple-darwin: 1.5% faster, 0.8% less memory.
Here's an initial review of the Python code. I'll dig into the C code tomorrow.
Contributor
Author
Well better than nothing :) |
diegorusso
force-pushed
the
gh-119726-generate-and-patch-AArch64-trampolines
branch
2 times, most recently
from
September 19, 2024 16:37
7bdf9f0 to
ffd74bd
Compare
diegorusso
marked this pull request as ready for review
September 19, 2024 16:41
diegorusso
force-pushed
the
gh-119726-generate-and-patch-AArch64-trampolines
branch
from
September 26, 2024 13:36
f523e6a to
43c6f98
Compare
brandtbucher
left a comment
Member
There was a problem hiding this comment.
Thanks for your patience! This is looking really good.
A few thoughts I had reading the C code:
diegorusso
force-pushed
the
gh-119726-generate-and-patch-AArch64-trampolines
branch
from
September 30, 2024 12:39
94a2c1e to
bf3b14f
Compare
AArch64 trampolines are now generated at runtime at the end of every trace.
diegorusso
force-pushed
the
gh-119726-generate-and-patch-AArch64-trampolines
branch
from
October 2, 2024 10:18
ca75436 to
6723f87
Compare
Member
|
Thanks! |
diegorusso
deleted the
gh-119726-generate-and-patch-AArch64-trampolines
branch
October 3, 2024 08:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AArch64 trampolines are now generated at runtime at the end of every trace.