You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
void inc128(__int128 *p)
{
__int128 n, nn;
do {
__atomic_load(p, &n, __ATOMIC_RELAXED);
n = n + 1;
} while (!__sync_bool_compare_and_swap(p, n, nn));
}
The text was updated successfully, but these errors were encountered:
Extended Description
Fails on 8.0.0-rc2 at -O1 or higher (-O0 is ok).
clang -O2 --target=aarch64-linux-gnu -march=armv8.1a
void inc128(__int128 *p)
{
__int128 n, nn;
do {
__atomic_load(p, &n, __ATOMIC_RELAXED);
n = n + 1;
} while (!__sync_bool_compare_and_swap(p, n, nn));
}
The text was updated successfully, but these errors were encountered: