Lines Matching refs:addr

6 int atomic_inc(int *addr) {  in atomic_inc()  argument
9 OldVal = __builtin_arm_ldrex(addr); in atomic_inc()
10 Failure = __builtin_arm_strex(OldVal + 1, addr); in atomic_inc()
35 int test_ldrex(char *addr, long long *addr64, float *addrfloat) { in test_ldrex() argument
39 sum += __builtin_arm_ldrex(addr); in test_ldrex()
48 sum += __builtin_arm_ldrex((short *)addr); in test_ldrex()
60 sum += __builtin_arm_ldrex((int *)addr); in test_ldrex()
68 sum += __builtin_arm_ldrex((long long *)addr); in test_ldrex()
90 sum += __builtin_arm_ldrex((double *)addr); in test_ldrex()
103 sum += *__builtin_arm_ldrex((int **)addr); in test_ldrex()
110 sum += __builtin_arm_ldrex((struct Simple **)addr)->a; in test_ldrex()
119 int test_ldaex(char *addr, long long *addr64, float *addrfloat) { in test_ldaex() argument
123 sum += __builtin_arm_ldaex(addr); in test_ldaex()
132 sum += __builtin_arm_ldaex((short *)addr); in test_ldaex()
144 sum += __builtin_arm_ldaex((int *)addr); in test_ldaex()
152 sum += __builtin_arm_ldaex((long long *)addr); in test_ldaex()
174 sum += __builtin_arm_ldaex((double *)addr); in test_ldaex()
187 sum += *__builtin_arm_ldaex((int **)addr); in test_ldaex()
194 sum += __builtin_arm_ldaex((struct Simple **)addr)->a; in test_ldaex()
203 int test_strex(char *addr) { in test_strex() argument
208 res |= __builtin_arm_strex(4, addr); in test_strex()
213 res |= __builtin_arm_strex(42, (short *)addr); in test_strex()
220 res |= __builtin_arm_strex(42, (int *)addr); in test_strex()
227 res |= __builtin_arm_strex(42, (long long *)addr); in test_strex()
233 res |= __builtin_arm_strex(2.71828f, (float *)addr); in test_strex()
238 res |= __builtin_arm_strex(3.14159, (double *)addr); in test_strex()
243 res |= __builtin_arm_strex(&var, (struct Simple **)addr); in test_strex()
253 int test_stlex(char *addr) { in test_stlex() argument
258 res |= __builtin_arm_stlex(4, addr); in test_stlex()
263 res |= __builtin_arm_stlex(42, (short *)addr); in test_stlex()
270 res |= __builtin_arm_stlex(42, (int *)addr); in test_stlex()
277 res |= __builtin_arm_stlex(42, (long long *)addr); in test_stlex()
283 res |= __builtin_arm_stlex(2.71828f, (float *)addr); in test_stlex()
288 res |= __builtin_arm_stlex(3.14159, (double *)addr); in test_stlex()
293 res |= __builtin_arm_stlex(&var, (struct Simple **)addr); in test_stlex()
315 __int128 test_ldrex_128(__int128 *addr) { in test_ldrex_128() argument
318 return __builtin_arm_ldrex(addr); in test_ldrex_128()
330 int test_strex_128(__int128 *addr, __int128 val) { in test_strex_128() argument
333 return __builtin_arm_strex(val, addr); in test_strex_128()
341 __int128 test_ldaex_128(__int128 *addr) { in test_ldaex_128() argument
344 return __builtin_arm_ldaex(addr); in test_ldaex_128()
356 int test_stlex_128(__int128 *addr, __int128 val) { in test_stlex_128() argument
359 return __builtin_arm_stlex(val, addr); in test_stlex_128()