Skip to content

Fix x86/x64 performance regression with platform-specific atomics#6503

Merged
OBattler merged 1 commit into
86Box:masterfrom
AITUS95:master
Nov 24, 2025
Merged

Fix x86/x64 performance regression with platform-specific atomics#6503
OBattler merged 1 commit into
86Box:masterfrom
AITUS95:master

Conversation

@OBattler

Copy link
Copy Markdown
Member

Use volatile on x86/x64 (native atomic guarantees) and C11 atomics on ARM (explicit synchronization needed). Restores performance on x86 while keeping ARM stability.

Summary

Briefly describe what you are submitting.

Checklist

References

Provide links to datasheets or other documentation that helped you implement this pull request.

Use volatile on x86/x64 (native atomic guarantees) and C11 atomics
on ARM (explicit synchronization needed). Restores performance on
x86 while keeping ARM stability.
@OBattler
OBattler merged commit 195affb into 86Box:master Nov 24, 2025
44 checks passed
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.

2 participants