bfd/
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mips / relax.s
1 # Source file used to test relaxation.
2
3 .text
4 foo:
5 b bar
6 bal bar
7 beq $2, $3, bar
8 bne $4, $5, bar
9 blez $2, bar
10 bgtz $3, bar
11 bltz $4, bar
12 bgez $5, bar
13 bc1f bar
14 bc1t bar
15
16 bltzal $2, bar
17 bgezal $3, bar
18
19 beql $2, $3, bar
20 bnel $4, $5, bar
21 blezl $2, bar
22 bgtzl $3, bar
23 bltzl $4, bar
24 bgezl $5, bar
25 bc1fl bar
26 bc1tl bar
27
28 bltzall $2, bar
29 bgezall $3, bar
30
31 .space 0x20000 # to make a 128kb loop body
32 bar:
33 b foo
34 bal foo
35 beq $2, $3, foo
36 bne $4, $5, foo
37 blez $2, foo
38 bgtz $3, foo
39 bltz $4, foo
40 bgez $5, foo
41 bc1f foo
42 bc1t foo
43
44 bltzal $2, foo
45 bgezal $3, foo
46
47 beql $2, $3, foo
48 bnel $4, $5, foo
49 blezl $2, foo
50 bgtzl $3, foo
51 bltzl $4, foo
52 bgezl $5, foo
53 bc1fl foo
54 bc1tl foo
55
56 bltzall $2, foo
57 bgezall $3, foo
This page took 0.030133 seconds and 4 git commands to generate.