Commit | Line | Data |
---|---|---|
36591ba1 SL |
1 | # relaxing conditional jumps -- absolute |
2 | ||
3 | .globl text1 | |
4 | .section text1, "ax", @progbits | |
5 | beq r2, r3, on_border | |
6 | beq r2, r3, out_of_range | |
7 | nop | |
8 | nop | |
9 | ||
10 | .align 15 | |
11 | on_border: | |
12 | bne r2, r3, in_range | |
13 | nop | |
14 | nop | |
15 | nop | |
16 | nop | |
17 | nop | |
18 | out_of_range: | |
19 | in_range: | |
20 | nop | |
21 | ||
22 | .globl text2 | |
23 | .section text2, "ax", @progbits | |
24 | ||
25 | bge r2, r3, text1 | |
26 | blt r2, r3, out_of_range | |
27 | ble r2, r3, sym | |
28 | nop | |
29 | nop | |
30 | sym: | |
31 | nop | |
32 |