Lines Matching refs:sum
8 int sum = 0; in test_ldrex() local
9 sum += __builtin_arm_ldrex(addr); in test_ldrex()
10 sum += __builtin_arm_ldrex((short *)addr); in test_ldrex()
11 sum += __builtin_arm_ldrex((int *)addr); in test_ldrex()
12 sum += __builtin_arm_ldrex((long long *)addr); in test_ldrex()
13 sum += __builtin_arm_ldrex((float *)addr); in test_ldrex()
14 sum += __builtin_arm_ldrex((double *)addr); in test_ldrex()
15 sum += *__builtin_arm_ldrex((int **)addr); in test_ldrex()
16 sum += __builtin_arm_ldrex((struct Simple **)addr)->a; in test_ldrex()
17 sum += __builtin_arm_ldrex((volatile char *)addr); in test_ldrex()
18 sum += __builtin_arm_ldrex((const volatile char *)addr); in test_ldrex()
22 …sum += __builtin_arm_ldrex((struct Simple *)addr).a; // expected-error {{address argument to atomi… in test_ldrex()
24 …sum += __builtin_arm_ldrex((__int128 *)addr); // expected-error {{__int128 is not supported on thi… in test_ldrex()
28 return sum; in test_ldrex()
59 int sum = 0; in test_ldaex() local
60 sum += __builtin_arm_ldaex(addr); in test_ldaex()
61 sum += __builtin_arm_ldaex((short *)addr); in test_ldaex()
62 sum += __builtin_arm_ldaex((int *)addr); in test_ldaex()
63 sum += __builtin_arm_ldaex((long long *)addr); in test_ldaex()
64 sum += __builtin_arm_ldaex((float *)addr); in test_ldaex()
65 sum += __builtin_arm_ldaex((double *)addr); in test_ldaex()
66 sum += *__builtin_arm_ldaex((int **)addr); in test_ldaex()
67 sum += __builtin_arm_ldaex((struct Simple **)addr)->a; in test_ldaex()
68 sum += __builtin_arm_ldaex((volatile char *)addr); in test_ldaex()
69 sum += __builtin_arm_ldaex((const volatile char *)addr); in test_ldaex()
73 …sum += __builtin_arm_ldaex((struct Simple *)addr).a; // expected-error {{address argument to atomi… in test_ldaex()
75 …sum += __builtin_arm_ldaex((__int128 *)addr); // expected-error {{__int128 is not supported on thi… in test_ldaex()
79 return sum; in test_ldaex()