-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-119726: JIT: re-use trampolines on AArch64 #120250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
When emitting AArch64 trampolines at the end of every data stencil, re-use existent ones fot the same symbol. Fix the disassebly to reflect the "bl" instruction without the relocation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! Just a few thoughts I had while looking it over:
Pretty sure the CI failures are preexisting (we should probably confirm that those tests pass on native hardware, and add them to the ones skipped under emulation in another PR). |
We've tested it on our internal CI and we didn't see any problems. We tested it against Linux AArch64/x86 and MacOS arm64. |
Awesome. Want to open a PR to update |
you have it: #120375 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Just two more suggestions:
When emitting AArch64 trampolines at the end of every data stencil, re-use existent ones fot the same symbol.