1# PowerPC AltiVec tests
2#as: -m601 -maltivec
3	.text
4start:
5	dss	3
6	dssall
7	dst	5,4,1
8	dstt	8,7,0
9	dstst	5,6,3
10	dststt	4,5,2
11	lvebx    30,22,24
12	lvebx    21,0,24
13	lvehx    10,16,2
14	lvehx    20,0,23
15	lvewx    17,4,18
16	lvewx    23,0,8
17	lvsl     6,0,25
18	lvsl     2,0,6
19	lvsr     22,16,12
20	lvsr     0,0,29
21	lvxl     15,5,13
22	lvxl     19,0,23
23	lvx      22,1,2
24	lvx      18,0,17
25	mfvrsave 31
26	mfvscr   24
27	mtvrsave 10
28	mtvscr   25
29	stvebx   18,27,10
30	stvebx   16,0,6
31	stvehx   17,13,16
32	stvehx   23,0,20
33	stvewx   11,19,31
34	stvewx   31,0,1
35	stvxl    26,21,17
36	stvxl    13,0,22
37	stvx     11,31,31
38	stvx     30,0,16
39	vaddcuw  24,7,28
40	vaddfp   3,30,11
41	vaddsbs  8,28,9
42	vaddshs  7,5,4
43	vaddsws  22,26,27
44	vaddubm  16,14,28
45	vaddubs  6,1,25
46	vadduhm  2,4,6
47	vadduhs  26,21,8
48	vadduwm  29,31,1
49	vadduws  23,13,4
50	vandc    30,16,9
51	vand     3,13,27
52	vavgsb   4,6,17
53	vavgsh   23,28,19
54	vavgsw   8,15,31
55	vavgub   6,7,25
56	vavguh   25,22,10
57	vavguw   3,23,29
58	vcfpsxws 14,2,6
59	vcfpuxws 9,31,20
60	vcfsx    24,30,3
61	vcfux    17,21,29
62	vcmpbfp  18,28,0
63	vcmpbfp. 19,26,3
64	vcmpeqfp 16,2,11
65	vcmpeqfp. 23,13,13
66	vcmpequb 25,19,10
67	vcmpequb. 18,11,2
68	vcmpequh 9,25,7
69	vcmpequh. 14,24,21
70	vcmpequw 24,12,5
71	vcmpequw. 19,16,1
72	vcmpgefp 23,17,16
73	vcmpgefp. 19,29,17
74	vcmpgtfp 16,28,13
75	vcmpgtfp. 14,24,7
76	vcmpgtsb 16,22,6
77	vcmpgtsb. 2,12,14
78	vcmpgtsh 28,3,29
79	vcmpgtsh. 16,19,13
80	vcmpgtsw 15,0,5
81	vcmpgtsw. 21,13,0
82	vcmpgtub 5,10,30
83	vcmpgtub. 7,13,10
84	vcmpgtuh 24,15,16
85	vcmpgtuh. 25,21,27
86	vcmpgtuw 17,27,6
87	vcmpgtuw. 8,21,27
88	vcsxwfp  1,1,14
89	vctsxs   4,15,25
90	vctuxs   28,23,14
91	vcuxwfp  6,6,0
92	vexptefp 0,8
93	vlogefp  22,27
94	vmaddfp  23,18,5,18
95	vmaxfp   13,13,27
96	vmaxsb   8,23,14
97	vmaxsh   19,17,0
98	vmaxsw   19,3,22
99	vmaxub   23,30,28
100	vmaxuh   9,20,23
101	vmaxuw   21,19,1
102	vmhaddshs 22,13,5,22
103	vmhraddshs 31,0,3,18
104	vminfp   2,21,24
105	vminsb   20,6,10
106	vminsh   18,27,26
107	vminsw   3,4,1
108	vminub   7,0,13
109	vminuh   0,12,6
110	vminuw   6,3,1
111	vmladduhm 3,29,3,26
112	vmrghb   21,5,31
113	vmrghh   21,24,0
114	vmrghw   16,0,22
115	vmrglb   1,17,16
116	vmrglh   14,8,15
117	vmrglw   31,21,5
118	vmr      24,9,
119	vor      24,9,9
120	vmsummbm 0,24,15,23
121	vmsumshm 1,4,7,25
122	vmsumshs 9,8,13,31
123	vmsumubm 23,31,12,30
124	vmsumuhm 29,0,26,21
125	vmsumuhs 27,14,25,5
126	vmulesb  10,25,14
127	vmulesh  1,18,8
128	vmuleub  17,14,9
129	vmuleuh  5,26,9
130	vmulosb  21,18,6
131	vmulosh  4,5,8
132	vmuloub  2,9,19
133	vmulouh  29,5,4
134	vnmsubfp 8,2,6,5
135	vnor     31,9,10
136	vnor     25,31,31
137	vnot     25,31,
138	vor      23,7,2
139	vperm    0,28,22,25
140	vpkpx    16,25,17
141	vpkshss  12,16,17
142	vpkshus  1,19,23
143	vpkswss  25,7,13
144	vpkswus  4,24,10
145	vpkuhum  9,27,12
146	vpkuhus  22,10,25
147	vpkuwum  30,18,0
148	vpkuwus  7,3,22
149	vrefp    24,28
150	vrfim    17,19
151	vrfin    24,25
152	vrfip    3,5
153	vrfiz    8,10
154	vrlb     26,18,30
155	vrlh     16,17,25
156	vrlw     23,30,9
157	vrsqrtefp 2,18
158	vsel     20,14,18,10
159	vslb     25,25,12
160	vsldoi   9,9,12,7
161	vslh     14,2,11
162	vslo     30,5,6
163	vsl      22,30,9
164	vslw     26,26,3
165	vspltb   1,20,6
166	vsplth   16,18,3
167	vspltisb 25,-13
168	vspltish 22,10
169	vspltisw 13,13
170	vspltw   9,18,2
171	vsrab    14,22,0
172	vsrah    12,12,18
173	vsraw    2,2,13
174	vsrb     7,27,5
175	vsrh     7,11,29
176	vsro     18,30,31
177	vsr      2,9,28
178	vsrw     0,25,0
179	vsubcuw  24,2,10
180	vsubfp   22,24,20
181	vsubsbs  10,22,13
182	vsubshs  24,17,28
183	vsubsws  10,26,0
184	vsububm  16,11,24
185	vsububs  11,21,1
186	vsubuhm  6,12,24
187	vsubuhs  30,11,9
188	vsubuwm  19,20,13
189	vsubuws  18,25,6
190	vsum2sws 25,10,18
191	vsum4sbs 13,16,21
192	vsum4shs 23,8,4
193	vsum4ubs 28,13,30
194	vsumsws  22,10,8
195	vupkhpx  24,14
196	vupkhsb  2,22
197	vupkhsh  16,2
198	vupklpx  10,26
199	vupklsb  15,28
200	vupklsh  8,8
201	vxor     25,0,3
202