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