Comment 2 for bug 1764595

Revision history for this message
fenugrec (fenugrec) wrote :

Just checking in for the yearly test. Still present in 10.2.0 ;

main:
 @ args = 0, pretend = 0, frame = 0
 @ frame_needed = 1, uses_anonymous_args = 0
 push {r7, lr} @
 add r7, sp, #0 @,,
.L3:
@ at.c:7: while (atomic_flag_test_and_set( &aflag));
 nop
.L2:
@ at.c:7: while (atomic_flag_test_and_set( &aflag));
 ldr r3, .L4 @ tmp115,
 ldrb r2, [r3] @ tmp116,
 movs r1, #1 @ tmp117,
 strb r1, [r3] @ tmp118,
 uxtb r3, r2 @ _1, tmp116
@ at.c:7: while (atomic_flag_test_and_set( &aflag));
 cmp r3, #0 @ _1,
 bne .L2 @,
@ at.c:8: atomic_flag_clear( &aflag);
 ldr r3, .L4 @ tmp119,
 dmb ish
 movs r2, #0 @ tmp120,
 strb r2, [r3] @ tmp121,
 dmb ish
@ at.c:7: while (atomic_flag_test_and_set( &aflag));
 b .L3 @
.L5:
 .align 2
.L4:
 .word aflag
 .size main, .-main
 .ident "GCC: (Arch Repository) 10.2.0"