]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/testsuite/gas/ppc/power4.s
Add hwsync extended mnemonic.
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / ppc / power4.s
1 .data
2 .p2align 4
3 dsym0: .llong 0xdeadbeef
4 .llong 0xc0ffee
5 dsym1:
6
7 .section ".toc"
8 .p2align 4
9 .L_tsym0:
10 .tc ignored0[TC],dsym0
11 .tc ignored1[TC],dsym1
12 .L_tsym1:
13 .tc ignored2[TC],usym0
14 .tc ignored3[TC],usym1
15
16 .text
17 .p2align 4
18 lq 4,dsym0@l(3)
19 lq 4,dsym1@l(3)
20 lq 4,usym0@l(3)
21 lq 4,usym1@l(3)
22 lq 4,esym0@l(3)
23 lq 4,esym1@l(3)
24 lq 4,.L_tsym0@toc(2)
25 lq 4,.L_tsym1@toc(2)
26 lq 4,.text@l(0)
27 lq 6,dsym0@got(3)
28 lq 6,dsym0@got@l(3)
29 lq 6,dsym0@plt@l(3)
30 lq 6,dsym1@sectoff(3)
31 lq 6,dsym1@sectoff@l(3)
32 lq 6,usym1-dsym0@l(4)
33 stq 6,0(7)
34 stq 6,16(7)
35 stq 6,-16(7)
36 stq 6,-32768(7)
37 stq 6,32752(7)
38
39 attn
40
41 mtcr 3
42 mtcrf 0xff,3
43 mtcrf 0x81,3
44 mtcrf 0x01,3
45 mtcrf 0x02,3
46 mtcrf 0x04,3
47 mtcrf 0x08,3
48 mtcrf 0x10,3
49 mtcrf 0x20,3
50 mtcrf 0x40,3
51 mtcrf 0x80,3
52 mfcr 3
53 # mfcr 3,0xff #Error, invalid mask
54 # mfcr 3,0x81 #Error, invalid mask
55 mfcr 3,0x01
56 mfcr 3,0x02
57 mfcr 3,0x04
58 mfcr 3,0x08
59 mfcr 3,0x10
60 mfcr 3,0x20
61 mfcr 3,0x40
62 mfcr 3,0x80
63
64 dcbz 1, 2
65 dcbzl 3, 4
66 dcbz 5, 6
67
68 lq 2,16(0)
69 lq 0,16(5)
70 lq 2,16(5)
71 stq 2,16(0)
72 stq 0,16(5)
73 stq 2,16(5)
74 slbia
75 hwsync
76 sync
77 sync 0
78 lwsync
79 sync 1
80 ptesync
81 sync 2
82
83 .section ".data"
84 usym0: .llong 0xcafebabe
85 .llong 0xc0ffee
86 usym1:
87