Skip to content

add std.atomic.Op for feature detection #24548

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

silversquirl
Copy link
Contributor

re: #24528

@andrewrk how's this? :)

I've not reviewed the logic for most targets - it's just copied across verbatim - but I did go through wasm fairly thoroughly, and I added a feature detection for x86 cx8 (equivalent of cx16 on x86_64)

I wasn't entirely sure whether to put this in std.atomic or std.Target - let me know your thoughts!

@silversquirl silversquirl force-pushed the atomic_feature_detection branch 4 times, most recently from 4eb8efd to 02c7ba7 Compare July 24, 2025 15:53
@silversquirl silversquirl force-pushed the atomic_feature_detection branch from 97d4c08 to d3a1085 Compare July 24, 2025 23:51
@silversquirl silversquirl force-pushed the atomic_feature_detection branch from d3a1085 to 55876b4 Compare July 25, 2025 01:41
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