Skip to content

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 from 959908a to 6f60582 Compare February 28, 2023 16:28
@taiki-e taiki-e force-pushed the cmpxchg16b-target-feature branch from 6f60582 to 2abca5a Compare February 28, 2023 17:01
@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 force-pushed the cmpxchg16b-target-feature branch from b12c3af to 5e38444 Compare March 1, 2023 03:10
@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