Skip to content
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

Optimize Atomic{I,U}*::{fetch_not,not} #62

Merged
merged 1 commit into from
Jan 21, 2023
Merged

Optimize Atomic{I,U}*::{fetch_not,not} #62

merged 1 commit into from
Jan 21, 2023

Conversation

taiki-e
Copy link
Owner

@taiki-e taiki-e commented Jan 21, 2023

Replace CAS loop with fetch_xor(-1i*)/fetch_xor(u*::MAX).

cc #48

@taiki-e taiki-e force-pushed the opt-not branch 2 times, most recently from 076b0a3 to 0ba9d58 Compare January 21, 2023 08:57
@taiki-e
Copy link
Owner Author

taiki-e commented Jan 21, 2023

bors r+

@bors
Copy link
Contributor

bors bot commented Jan 21, 2023

@bors bors bot merged commit cad9892 into main Jan 21, 2023
@bors bors bot deleted the opt-not branch January 21, 2023 10:30
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