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

x86_64: Update to stabilized cmpxchg16b_target_feature #80

Merged
merged 3 commits into from
Mar 1, 2023

Conversation

taiki-e
Copy link
Owner

@taiki-e taiki-e commented Feb 28, 2023

cmpxchg16b_target_feature has been stabilized in rust-lang/rust#106774.

@taiki-e taiki-e added the O-x86 Target: x86/x64 processors label Feb 28, 2023
@taiki-e taiki-e force-pushed the cmpxchg16b-target-feature branch 2 times, most recently from a1ae85e to b12c3af Compare March 1, 2023 02:41
…ailable

SGX doesn't support CPUID. Currently, on this target, if the cmpxchg16b
feature is not enabled at compile time, detect::has_cmpxchg16b will
always return false.

So, enabling outline-atomics on this target does not make sense since
the fallback implementation is always used.
@taiki-e taiki-e merged commit 625ff1e into main Mar 1, 2023
@taiki-e taiki-e deleted the cmpxchg16b-target-feature branch March 1, 2023 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-x86 Target: x86/x64 processors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant