Commit | Line | Data |
---|---|---|
0dd132b6 NC |
1 | .text |
2 | .align 0 | |
3 | ||
4 | label: | |
5 | # ARMV6K instructions | |
6 | clrex | |
c19d1205 ZW |
7 | ldrexb r4, [r12] |
8 | ldrexbne r12, [r4] | |
9 | ldrexd r4, [r12] | |
10 | ldrexdne r12, [r4] | |
11 | ldrexh r4, [r12] | |
12 | ldrexhne r12, [r4] | |
13 | nop {128} | |
14 | nopne {127} | |
0dd132b6 | 15 | sev |
c19d1205 ZW |
16 | strexb r4, r12, [r7] |
17 | strexbne r12, r4, [r8] | |
18 | strexd r4, r12, [r7] | |
19 | strexdne r12, r4, [r8] | |
20 | strexh r4, r12, [r7] | |
21 | strexhne r12, r4, [r8] | |
0dd132b6 NC |
22 | wfe |
23 | wfi | |
24 | yield | |
25 | # ARMV6Z instructions | |
3eb17e6b PB |
26 | smc 0xec31 |
27 | smcne 0x13ce | |
f991b11e NC |
28 | |
29 | # Add three nop instructions to ensure that the | |
30 | # output is 32-byte aligned as required for arm-aout. | |
31 | nop | |
32 | nop | |
33 | nop |