This commit is contained in:
Matthew Parkinson
2019-01-17 18:18:18 +00:00
parent 4ad12f33cf
commit e9ab9e8e24

View File

@@ -97,7 +97,7 @@ namespace snmalloc
(__int64*)&expect);
# else
# if defined(__GNUC__) && !defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_16)
#error You must compile with -mcx16 to enable 16-bit atomic compare and swap.
#error You must compile with -mcx16 to enable 16-byte atomic compare and swap.
# endif
Cmp xchg{value, expect.aba + 1};