bthread_make_fcontext and bthread_jump_fcontextsupport 64byte align for ARM64 #3389
Open
dwh110 wants to merge 1 commit into
Open
bthread_make_fcontext and bthread_jump_fcontextsupport 64byte align for ARM64 #3389dwh110 wants to merge 1 commit into
dwh110 wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
此 PR 针对 bthread 在 Linux ARM64(GCC/Clang 走 GNU 风格汇编)下的上下文切换汇编实现,调整 bthread_jump_fcontext 与 bthread_make_fcontext 的代码对齐方式,以满足/优化 64 字节对齐需求。
Changes:
- 将
bthread_jump_fcontext的汇编入口对齐从.align 2调整为.align 6。 - 将
bthread_make_fcontext的汇编入口对齐从.align 2调整为.align 6。
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
What problem does this PR solve?
Issue Number: resolve
Problem Summary:
bthread_make_fcontext和bthread_jump_fcontext在ARM64下适配64字节对齐
What is changed and the side effects?
Changed:
Side effects:
Performance effects:
Breaking backward compatibility:
Check List: