Lines Matching refs:ptrlock
35 gomp_ptrlock_get_slow (gomp_ptrlock_t *ptrlock)
40 __atomic_compare_exchange_n (ptrlock, &oldval, 2, false,
47 __asm volatile ("" : "=r" (intptr) : "0" (ptrlock));
49 if (sizeof (*ptrlock) > sizeof (int))
50 intptr += (sizeof (*ptrlock) / sizeof (int)) - 1;
56 return (void *) __atomic_load_n (ptrlock, MEMMODEL_ACQUIRE);
60 gomp_ptrlock_set_slow (gomp_ptrlock_t *ptrlock)
64 __asm volatile ("" : "=r" (intptr) : "0" (ptrlock));
66 if (sizeof (*ptrlock) > sizeof (int))
67 intptr += (sizeof (*ptrlock) / sizeof (int)) - 1;