Non-PLT control-point calls#2060
Merged
ltratt merged 1 commit intoykjit:masterfrom Feb 1, 2026
Merged
Conversation
Contributor
|
Does this rely on https://github.com/ykjit/ykllvm/pulls or ... ? |
Contributor
Author
Yes, it rely on PR ykjit/ykllvm#300 (in the description). |
Contributor
|
Please squash. |
Reduce call overhead for yk controlpoint calls by eliminating PLT indirection in llvm patchpoints.
db1ac65 to
5312013
Compare
Contributor
Author
|
Squashed 5312013 |
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.
Summary
This change optimises control point calls by removing Procedure Linkage Table (PLT) overhead, without introducing regressions in JIT‑compiled execution. It mainly improves interpreter execution time, and the effect is most visible when the JIT is disabled.
Benchmarks with disabled jit:
Benchmarks with enabled jit:
The change is insignificant when JIT is enabled.
Perf stats
__ykrt_control_point@pltRuntime Overhead__ykrt_control_point@pltSamples__ykrt_control_point@pltRuntime Overhead__ykrt_control_point@pltSamples__ykrt_control_point@pltRuntime Overhead__ykrt_control_point@pltSamplesRelated ykllvm PR ykjit/ykllvm#300