Skip to content

Commit 77ee21e

Browse files
more spacing after label definitions (#246)
1 parent 1c02d2f commit 77ee21e

File tree

3 files changed

+30
-30
lines changed

3 files changed

+30
-30
lines changed

include/gcc/arm/ck_pr.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ ck_pr_md_store_##N(const T *target, T value) \
189189
{ \
190190
T tmp; \
191191
uint32_t flag; \
192-
__asm __volatile("1: \n" \
192+
__asm __volatile("1:; \n" \
193193
"ldrexd %0, %H0, [%2]\n" \
194194
"strexd %1, %3, %H3, [%2]\n" \
195195
"teq %1, #0\n" \
@@ -214,7 +214,7 @@ ck_pr_cas_##N##_value(T *target, T compare, T set, T *value) \
214214
T previous; \
215215
int tmp; \
216216
\
217-
__asm__ __volatile__("1:" \
217+
__asm__ __volatile__("1:;" \
218218
"ldrexd %0, %H0, [%4];" \
219219
"cmp %Q0, %Q2;" \
220220
"ittt eq;" \
@@ -258,7 +258,7 @@ ck_pr_cas_##N(T *target, T compare, T set) \
258258
int ret; \
259259
T tmp; \
260260
\
261-
__asm__ __volatile__("1:" \
261+
__asm__ __volatile__("1:;" \
262262
"mov %0, #0;" \
263263
"ldrexd %1, %H1, [%4];" \
264264
"cmp %Q1, %Q2;" \
@@ -299,7 +299,7 @@ CK_CC_INLINE static bool
299299
ck_pr_cas_ptr_value(void *target, void *compare, void *set, void *value)
300300
{
301301
void *previous, *tmp;
302-
__asm__ __volatile__("1:"
302+
__asm__ __volatile__("1:;"
303303
"ldrex %0, [%2];"
304304
"cmp %0, %4;"
305305
"itt eq;"
@@ -320,7 +320,7 @@ CK_CC_INLINE static bool
320320
ck_pr_cas_ptr(void *target, void *compare, void *set)
321321
{
322322
void *previous, *tmp;
323-
__asm__ __volatile__("1:"
323+
__asm__ __volatile__("1:;"
324324
"ldrex %0, [%2];"
325325
"cmp %0, %4;"
326326
"itt eq;"
@@ -341,7 +341,7 @@ ck_pr_cas_ptr(void *target, void *compare, void *set)
341341
ck_pr_cas_##N##_value(T *target, T compare, T set, T *value) \
342342
{ \
343343
T previous = 0, tmp = 0; \
344-
__asm__ __volatile__("1:" \
344+
__asm__ __volatile__("1:;" \
345345
"ldrex" W " %0, [%2];" \
346346
"cmp %0, %4;" \
347347
"itt eq;" \
@@ -365,7 +365,7 @@ ck_pr_cas_ptr(void *target, void *compare, void *set)
365365
ck_pr_cas_##N(T *target, T compare, T set) \
366366
{ \
367367
T previous = 0, tmp = 0; \
368-
__asm__ __volatile__("1:" \
368+
__asm__ __volatile__("1:;" \
369369
"ldrex" W " %0, [%2];" \
370370
"cmp %0, %4;" \
371371
"itt eq;" \
@@ -398,7 +398,7 @@ CK_PR_CAS(char, char, "b")
398398
{ \
399399
T previous = 0; \
400400
T tmp = 0; \
401-
__asm__ __volatile__("1:" \
401+
__asm__ __volatile__("1:;" \
402402
"ldrex" W " %0, [%2];" \
403403
"strex" W " %1, %3, [%2];" \
404404
"cmp %1, #0;" \
@@ -429,7 +429,7 @@ CK_PR_FAS(char, char, char, "b")
429429
{ \
430430
T previous = 0; \
431431
T tmp = 0; \
432-
__asm__ __volatile__("1:" \
432+
__asm__ __volatile__("1:;" \
433433
"ldrex" W " %0, [%2];" \
434434
I ";" \
435435
"strex" W " %1, %0, [%2];" \
@@ -470,7 +470,7 @@ CK_PR_UNARY_S(char, char, "b")
470470
{ \
471471
T previous = 0; \
472472
T tmp = 0; \
473-
__asm__ __volatile__("1:" \
473+
__asm__ __volatile__("1:;" \
474474
"ldrex" W " %0, [%2];" \
475475
I " %0, %0, %3;" \
476476
"strex" W " %1, %0, [%2];" \
@@ -513,7 +513,7 @@ ck_pr_faa_ptr(void *target, uintptr_t delta)
513513
{
514514
uintptr_t previous, r, tmp;
515515

516-
__asm__ __volatile__("1:"
516+
__asm__ __volatile__("1:;"
517517
"ldrex %0, [%3];"
518518
"add %1, %4, %0;"
519519
"strex %2, %1, [%3];"
@@ -534,7 +534,7 @@ ck_pr_faa_ptr(void *target, uintptr_t delta)
534534
ck_pr_faa_##S(T *target, T delta) \
535535
{ \
536536
T previous = 0, r = 0, tmp = 0; \
537-
__asm__ __volatile__("1:" \
537+
__asm__ __volatile__("1:;" \
538538
"ldrex" W " %0, [%3];" \
539539
"add %1, %4, %0;" \
540540
"strex" W " %2, %1, [%3];" \

include/gcc/ppc/ck_pr.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ CK_PR_STORE_S(char, char, "stb")
151151
ck_pr_cas_##N##_value(M *target, T compare, T set, M *value) \
152152
{ \
153153
T previous; \
154-
__asm__ __volatile__("1:" \
154+
__asm__ __volatile__("1:;" \
155155
"lwarx %0, 0, %1;" \
156156
"cmpw 0, %0, %3;" \
157157
"bne- 2f;" \
@@ -170,7 +170,7 @@ CK_PR_STORE_S(char, char, "stb")
170170
ck_pr_cas_##N(M *target, T compare, T set) \
171171
{ \
172172
T previous; \
173-
__asm__ __volatile__("1:" \
173+
__asm__ __volatile__("1:;" \
174174
"lwarx %0, 0, %1;" \
175175
"cmpw 0, %0, %3;" \
176176
"bne- 2f;" \
@@ -199,7 +199,7 @@ CK_PR_CAS_S(int, int)
199199
ck_pr_fas_##N(M *target, T v) \
200200
{ \
201201
T previous; \
202-
__asm__ __volatile__("1:" \
202+
__asm__ __volatile__("1:;" \
203203
"l" W "arx %0, 0, %1;" \
204204
"st" W "cx. %2, 0, %1;" \
205205
"bne- 1b;" \
@@ -222,7 +222,7 @@ CK_PR_FAS(uint, unsigned int, unsigned int, "w")
222222
ck_pr_##O##_##N(M *target) \
223223
{ \
224224
T previous; \
225-
__asm__ __volatile__("1:" \
225+
__asm__ __volatile__("1:;" \
226226
"l" W "arx %0, 0, %1;" \
227227
I ";" \
228228
"st" W "cx. %0, 0, %1;" \
@@ -256,7 +256,7 @@ CK_PR_UNARY_S(int, int, "w")
256256
ck_pr_##O##_##N(M *target, T delta) \
257257
{ \
258258
T previous; \
259-
__asm__ __volatile__("1:" \
259+
__asm__ __volatile__("1:;" \
260260
"l" W "arx %0, 0, %1;" \
261261
I " %0, %2, %0;" \
262262
"st" W "cx. %0, 0, %1;" \
@@ -293,7 +293,7 @@ ck_pr_faa_ptr(void *target, uintptr_t delta)
293293
{
294294
uintptr_t previous, r;
295295

296-
__asm__ __volatile__("1:"
296+
__asm__ __volatile__("1:;"
297297
"lwarx %0, 0, %2;"
298298
"add %1, %3, %0;"
299299
"stwcx. %1, 0, %2;"
@@ -312,7 +312,7 @@ ck_pr_faa_ptr(void *target, uintptr_t delta)
312312
ck_pr_faa_##S(T *target, T delta) \
313313
{ \
314314
T previous, r; \
315-
__asm__ __volatile__("1:" \
315+
__asm__ __volatile__("1:;" \
316316
"l" W "arx %0, 0, %2;" \
317317
"add %1, %3, %0;" \
318318
"st" W "cx. %1, 0, %2;" \

include/gcc/ppc64/ck_pr.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ ck_pr_cas_64_value(uint64_t *target, uint64_t compare, uint64_t set, uint64_t *v
154154
{
155155
uint64_t previous;
156156

157-
__asm__ __volatile__("1:"
157+
__asm__ __volatile__("1:;"
158158
"ldarx %0, 0, %1;"
159159
"cmpd 0, %0, %3;"
160160
"bne- 2f;"
@@ -176,7 +176,7 @@ ck_pr_cas_ptr_value(void *target, void *compare, void *set, void *value)
176176
{
177177
void *previous;
178178

179-
__asm__ __volatile__("1:"
179+
__asm__ __volatile__("1:;"
180180
"ldarx %0, 0, %1;"
181181
"cmpd 0, %0, %3;"
182182
"bne- 2f;"
@@ -198,7 +198,7 @@ ck_pr_cas_64(uint64_t *target, uint64_t compare, uint64_t set)
198198
{
199199
uint64_t previous;
200200

201-
__asm__ __volatile__("1:"
201+
__asm__ __volatile__("1:;"
202202
"ldarx %0, 0, %1;"
203203
"cmpd 0, %0, %3;"
204204
"bne- 2f;"
@@ -219,7 +219,7 @@ ck_pr_cas_ptr(void *target, void *compare, void *set)
219219
{
220220
void *previous;
221221

222-
__asm__ __volatile__("1:"
222+
__asm__ __volatile__("1:;"
223223
"ldarx %0, 0, %1;"
224224
"cmpd 0, %0, %3;"
225225
"bne- 2f;"
@@ -240,7 +240,7 @@ ck_pr_cas_ptr(void *target, void *compare, void *set)
240240
ck_pr_cas_##N##_value(T *target, T compare, T set, T *value) \
241241
{ \
242242
T previous; \
243-
__asm__ __volatile__("1:" \
243+
__asm__ __volatile__("1:;" \
244244
"lwarx %0, 0, %1;" \
245245
"cmpw 0, %0, %3;" \
246246
"bne- 2f;" \
@@ -259,7 +259,7 @@ ck_pr_cas_ptr(void *target, void *compare, void *set)
259259
ck_pr_cas_##N(T *target, T compare, T set) \
260260
{ \
261261
T previous; \
262-
__asm__ __volatile__("1:" \
262+
__asm__ __volatile__("1:;" \
263263
"lwarx %0, 0, %1;" \
264264
"cmpw 0, %0, %3;" \
265265
"bne- 2f;" \
@@ -285,7 +285,7 @@ CK_PR_CAS(int, int)
285285
ck_pr_fas_##N(M *target, T v) \
286286
{ \
287287
T previous; \
288-
__asm__ __volatile__("1:" \
288+
__asm__ __volatile__("1:;" \
289289
"l" W "arx %0, 0, %1;" \
290290
"st" W "cx. %2, 0, %1;" \
291291
"bne- 1b;" \
@@ -312,7 +312,7 @@ CK_PR_FAS(uint, unsigned int, unsigned int, "w")
312312
ck_pr_##O##_##N(M *target) \
313313
{ \
314314
T previous; \
315-
__asm__ __volatile__("1:" \
315+
__asm__ __volatile__("1:;" \
316316
"l" W "arx %0, 0, %1;" \
317317
I ";" \
318318
"st" W "cx. %0, 0, %1;" \
@@ -347,7 +347,7 @@ CK_PR_UNARY_S(int, int, "w")
347347
ck_pr_##O##_##N(M *target, T delta) \
348348
{ \
349349
T previous; \
350-
__asm__ __volatile__("1:" \
350+
__asm__ __volatile__("1:;" \
351351
"l" W "arx %0, 0, %1;" \
352352
I " %0, %2, %0;" \
353353
"st" W "cx. %0, 0, %1;" \
@@ -385,7 +385,7 @@ ck_pr_faa_ptr(void *target, uintptr_t delta)
385385
{
386386
uintptr_t previous, r;
387387

388-
__asm__ __volatile__("1:"
388+
__asm__ __volatile__("1:;"
389389
"ldarx %0, 0, %2;"
390390
"add %1, %3, %0;"
391391
"stdcx. %1, 0, %2;"
@@ -404,7 +404,7 @@ ck_pr_faa_ptr(void *target, uintptr_t delta)
404404
ck_pr_faa_##S(T *target, T delta) \
405405
{ \
406406
T previous, r; \
407-
__asm__ __volatile__("1:" \
407+
__asm__ __volatile__("1:;" \
408408
"l" W "arx %0, 0, %2;" \
409409
"add %1, %3, %0;" \
410410
"st" W "cx. %1, 0, %2;" \

0 commit comments

Comments
 (0)