Skip to content

Commit ddb3022

Browse files
committed
Add stage0 guard for cmpxchg16b
1 parent b7b1a3f commit ddb3022

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coresimd/x86_64/cmpxchg16b.rs

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ use stdsimd_test::assert_instr;
4242
#[inline]
4343
#[cfg_attr(test, assert_instr(cmpxchg16b, success = Ordering::SeqCst, failure = Ordering::SeqCst))]
4444
#[target_feature(enable = "cmpxchg16b")]
45+
#[cfg(not(stage0))]
4546
pub unsafe fn cmpxchg16b(
4647
dst: *mut u128,
4748
old: u128,

0 commit comments

Comments
 (0)