This commit was manufactured by cvs2svn to create branch
[external/binutils.git] / gas / testsuite / gas / ppc / power4.s
1         .section        ".data"
2 dsym0:  .llong  0xdeadbeef
3 dsym1:
4
5         .section        ".toc"
6 .L_tsym0:
7         .tc     ignored0[TC],dsym0
8 .L_tsym1:
9         .tc     ignored1[TC],dsym1
10 .L_tsym2:
11         .tc     ignored2[TC],usym0
12 .L_tsym3:
13         .tc     ignored3[TC],usym1
14 .L_tsym4:
15         .tc     ignored4[TC],esym0
16 .L_tsym5:
17         .tc     ignored5[TC],esym1
18
19         .section        ".text"
20         lq      4,dsym0@l(3)
21         lq      4,dsym1@l(3)
22         lq      4,usym0@l(3)
23         lq      4,usym1@l(3)
24         lq      4,esym0@l(3)
25         lq      4,esym1@l(3)
26         lq      4,.L_tsym0@toc(2)
27         lq      4,.L_tsym1@toc(2)
28         lq      4,.L_tsym2@toc(2)
29         lq      4,.L_tsym3@toc(2)
30         lq      4,.L_tsym4@toc(2)
31         lq      4,.L_tsym5@toc(2)
32         lq      6,.L_tsym5@toc@l(2)
33         lq      4,.text@l(0)    
34         lq      6,dsym0@got(3)
35         lq      6,dsym0@got@l(3)
36         lq      6,dsym0@plt@l(3)
37         lq      6,dsym1@sectoff(3)
38         lq      6,dsym1@sectoff@l(3)
39         lq      6,usym1-dsym0@l(4)
40         stq     6,0(7)
41         stq     6,16(7)
42         stq     6,-16(7)
43         stq     6,-32768(7)
44         stq     6,32752(7)
45
46         attn
47
48         mtcr    3
49         mtcrf   0xff,3
50         mtcrf   0x81,3
51         mtcrf   0x01,3
52         mtcrf   0x02,3
53         mtcrf   0x04,3
54         mtcrf   0x08,3
55         mtcrf   0x10,3
56         mtcrf   0x20,3
57         mtcrf   0x40,3
58         mtcrf   0x80,3
59         mfcr    3
60 #       mfcr    3,0xff  #Error, invalid mask
61 #       mfcr    3,0x81  #Error, invalid mask
62         mfcr    3,0x01
63         mfcr    3,0x02
64         mfcr    3,0x04
65         mfcr    3,0x08
66         mfcr    3,0x10
67         mfcr    3,0x20
68         mfcr    3,0x40
69         mfcr    3,0x80
70
71         .section        ".data"
72 usym0:  .llong  0xcafebabe
73 usym1:
74