Skip to content

fix: preserve SSE state in x86_64 bthread context switch - #30

Closed
Spicy-cream wants to merge 5 commits into
LinQuickDev:masterfrom
Spicy-cream:fix_clang
Closed

fix: preserve SSE state in x86_64 bthread context switch#30
Spicy-cream wants to merge 5 commits into
LinQuickDev:masterfrom
Spicy-cream:fix_clang

Conversation

@Spicy-cream

Copy link
Copy Markdown

Follow-up to #21.

Changes since the previous internal review:

  • Add a standalone bthread_context_unittest.cpp without modifying existing UTs.
  • Verify preservation of XMM6-XMM15 across context switches.
  • Replace TaskTracer magic register indices with named frame-layout constants.
  • Guard the optional RSP slot constant for older libunwind versions.

Verification:

  • The complete private CI matrix passed.
  • The new XMM context test passed with Clang on Linux x86_64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant