Commit | Line | Data |
---|---|---|
ec0c61e3 CF |
1 | .text |
2 | foo: | |
3 | bz.b $w0, bar | |
4 | bz.h $w1, bar | |
5 | bz.w $w2, bar | |
6 | bz.d $w3, bar | |
7 | bnz.b $w4, bar | |
8 | bnz.h $w5, bar | |
9 | bnz.w $w6, bar | |
10 | bnz.d $w7, bar | |
11 | bz.v $w8, bar | |
12 | bnz.v $w9, bar | |
13 | ||
14 | .space 0x20000 # to make a 128kb loop body | |
15 | bar: | |
16 | bz.b $w10, foo | |
17 | bz.h $w11, foo | |
18 | bz.w $w12, foo | |
19 | bz.d $w13, foo | |
20 | bnz.b $w14, foo | |
21 | bnz.h $w15, foo | |
22 | bnz.w $w16, foo | |
23 | bnz.d $w17, foo | |
24 | bz.v $w18, foo | |
25 | bnz.v $w19, foo | |
26 | ||
27 | # Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ... | |
28 | .align 2 | |
29 | .space 8 |