3 s390_test_generate(vab
, "vab %%v5, %%v1, %%v2")
4 s390_test_generate(vah
, "vah %%v5, %%v1, %%v2")
5 s390_test_generate(vaf
, "vaf %%v5, %%v1, %%v2")
6 s390_test_generate(vag
, "vag %%v5, %%v1, %%v2")
7 s390_test_generate(vaq
, "vaq %%v5, %%v1, %%v2")
9 s390_test_generate(vsb
, "vsb %%v5, %%v1, %%v2")
10 s390_test_generate(vsh
, "vsh %%v5, %%v1, %%v2")
11 s390_test_generate(vsf
, "vsf %%v5, %%v1, %%v2")
12 s390_test_generate(vsg
, "vsg %%v5, %%v1, %%v2")
13 s390_test_generate(vsq
, "vsq %%v5, %%v1, %%v2")
15 s390_test_generate(vn
, "vn %%v5, %%v1, %%v2")
16 s390_test_generate(vnc
, "vnc %%v5, %%v1, %%v2")
17 s390_test_generate(vx
, "vx %%v5, %%v1, %%v2")
18 s390_test_generate(vo
, "vo %%v5, %%v1, %%v2")
19 s390_test_generate(vno
, "vno %%v5, %%v1, %%v2")
21 s390_test_generate(vavgb
, "vavgb %%v5, %%v1, %%v2")
22 s390_test_generate(vavgh
, "vavgh %%v5, %%v1, %%v2")
23 s390_test_generate(vavgf
, "vavgf %%v5, %%v1, %%v2")
24 s390_test_generate(vavgg
, "vavgg %%v5, %%v1, %%v2")
25 s390_test_generate(vavglb
, "vavglb %%v5, %%v1, %%v2")
26 s390_test_generate(vavglh
, "vavglh %%v5, %%v1, %%v2")
27 s390_test_generate(vavglf
, "vavglf %%v5, %%v1, %%v2")
28 s390_test_generate(vavglg
, "vavglg %%v5, %%v1, %%v2")
30 s390_test_generate(vmxb
, "vmxb %%v5, %%v1, %%v2")
31 s390_test_generate(vmxh
, "vmxh %%v5, %%v1, %%v2")
32 s390_test_generate(vmxf
, "vmxf %%v5, %%v1, %%v2")
33 s390_test_generate(vmxg
, "vmxg %%v5, %%v1, %%v2")
34 s390_test_generate(vmxlb
, "vmxlb %%v5, %%v1, %%v2")
35 s390_test_generate(vmxlh
, "vmxlh %%v5, %%v1, %%v2")
36 s390_test_generate(vmxlf
, "vmxlf %%v5, %%v1, %%v2")
37 s390_test_generate(vmxlg
, "vmxlg %%v5, %%v1, %%v2")
39 s390_test_generate(vmnb
, "vmnb %%v5, %%v1, %%v2")
40 s390_test_generate(vmnh
, "vmnh %%v5, %%v1, %%v2")
41 s390_test_generate(vmnf
, "vmnf %%v5, %%v1, %%v2")
42 s390_test_generate(vmng
, "vmng %%v5, %%v1, %%v2")
43 s390_test_generate(vmnlb
, "vmnlb %%v5, %%v1, %%v2")
44 s390_test_generate(vmnlh
, "vmnlh %%v5, %%v1, %%v2")
45 s390_test_generate(vmnlf
, "vmnlf %%v5, %%v1, %%v2")
46 s390_test_generate(vmnlg
, "vmnlg %%v5, %%v1, %%v2")
48 s390_test_generate(vlcb
, "vlcb %%v5, %%v1")
49 s390_test_generate(vlch
, "vlch %%v5, %%v1")
50 s390_test_generate(vlcf
, "vlcf %%v5, %%v1")
51 s390_test_generate(vlcg
, "vlcg %%v5, %%v1")
53 s390_test_generate(vlpb
, "vlpb %%v5, %%v1")
54 s390_test_generate(vlph
, "vlph %%v5, %%v1")
55 s390_test_generate(vlpf
, "vlpf %%v5, %%v1")
56 s390_test_generate(vlpg
, "vlpg %%v5, %%v1")
58 s390_test_generate(vchb
, "vchb %%v5, %%v1, %%v2")
59 s390_test_generate(vchbs
, "vchbs %%v5, %%v1, %%v2\n" \
60 S390_TEST_PUT_CC_TO_RESULT
)
61 s390_test_generate(vchh
, "vchh %%v5, %%v1, %%v2")
62 s390_test_generate(vchhs
, "vchhs %%v5, %%v1, %%v2\n" \
63 S390_TEST_PUT_CC_TO_RESULT
)
64 s390_test_generate(vchf
, "vchf %%v5, %%v1, %%v2")
65 s390_test_generate(vchfs
, "vchfs %%v5, %%v1, %%v2\n" \
66 S390_TEST_PUT_CC_TO_RESULT
)
67 s390_test_generate(vchg
, "vchg %%v5, %%v1, %%v2")
68 s390_test_generate(vchgs
, "vchgs %%v5, %%v1, %%v2\n" \
69 S390_TEST_PUT_CC_TO_RESULT
)
70 s390_test_generate(vchlb
, "vchlb %%v5, %%v1, %%v2")
71 s390_test_generate(vchlbs
, "vchlbs %%v5, %%v1, %%v2\n" \
72 S390_TEST_PUT_CC_TO_RESULT
)
73 s390_test_generate(vchlh
, "vchlh %%v5, %%v1, %%v2")
74 s390_test_generate(vchlhs
, "vchlhs %%v5, %%v1, %%v2\n" \
75 S390_TEST_PUT_CC_TO_RESULT
)
76 s390_test_generate(vchlf
, "vchlf %%v5, %%v1, %%v2")
77 s390_test_generate(vchlfs
, "vchlfs %%v5, %%v1, %%v2\n" \
78 S390_TEST_PUT_CC_TO_RESULT
)
79 s390_test_generate(vchlg
, "vchlg %%v5, %%v1, %%v2")
80 s390_test_generate(vchlgs
, "vchlgs %%v5, %%v1, %%v2\n" \
81 S390_TEST_PUT_CC_TO_RESULT
)
83 s390_test_generate(vclzb
, "vclzb %%v5, %%v1")
84 s390_test_generate(vclzh
, "vclzh %%v5, %%v1")
85 s390_test_generate(vclzf
, "vclzf %%v5, %%v1")
86 s390_test_generate(vclzg
, "vclzg %%v5, %%v1")
88 s390_test_generate(vctzb
, "vctzb %%v5, %%v1")
89 s390_test_generate(vctzh
, "vctzh %%v5, %%v1")
90 s390_test_generate(vctzf
, "vctzf %%v5, %%v1")
91 s390_test_generate(vctzg
, "vctzg %%v5, %%v1")
93 s390_test_generate(vmhb
, "vmhb %%v5, %%v1, %%v2")
94 s390_test_generate(vmhh
, "vmhh %%v5, %%v1, %%v2")
95 s390_test_generate(vmhf
, "vmhf %%v5, %%v1, %%v2")
96 s390_test_generate(vmlhb
, "vmlhb %%v5, %%v1, %%v2")
97 s390_test_generate(vmlhh
, "vmlhh %%v5, %%v1, %%v2")
98 s390_test_generate(vmlhf
, "vmlhf %%v5, %%v1, %%v2")
100 s390_test_generate(vmlb
, "vmlb %%v5, %%v1, %%v2")
101 s390_test_generate(vmlhw
, "vmlhw %%v5, %%v1, %%v2")
102 s390_test_generate(vmlf
, "vmlf %%v5, %%v1, %%v2")
104 s390_test_generate(vmeb
, "vmeb %%v5, %%v1, %%v2")
105 s390_test_generate(vmeh
, "vmeh %%v5, %%v1, %%v2")
106 s390_test_generate(vmef
, "vmef %%v5, %%v1, %%v2")
107 s390_test_generate(vmleb
, "vmleb %%v5, %%v1, %%v2")
108 s390_test_generate(vmleh
, "vmleh %%v5, %%v1, %%v2")
109 s390_test_generate(vmlef
, "vmlef %%v5, %%v1, %%v2")
111 s390_test_generate(vpopct
, "vpopct %%v5, %%v1, 0")
113 s390_test_generate(veslb
, "veslb %%v5, %%v1, 4(%[r_arg1])")
114 s390_test_generate(veslh
, "veslh %%v5, %%v1, 3(%[r_arg2])")
115 s390_test_generate(veslf
, "veslf %%v5, %%v1, 2(%[r_arg3])")
116 s390_test_generate(veslg
, "veslg %%v5, %%v1, 1(%[r_arg1])")
117 s390_test_generate(veslvb
,"veslvb %%v5, %%v1, %%v2")
118 s390_test_generate(veslvh
,"veslvh %%v5, %%v1, %%v2")
119 s390_test_generate(veslvf
,"veslvf %%v5, %%v1, %%v2")
120 s390_test_generate(veslvg
,"veslvg %%v5, %%v1, %%v2")
122 s390_test_generate(vesrab
, "vesrab %%v5, %%v1, 4(%[r_arg1])")
123 s390_test_generate(vesrah
, "vesrah %%v5, %%v1, 3(%[r_arg2])")
124 s390_test_generate(vesraf
, "vesraf %%v5, %%v1, 2(%[r_arg3])")
125 s390_test_generate(vesrag
, "vesrag %%v5, %%v1, 1(%[r_arg1])")
126 s390_test_generate(vesravb
,"vesravb %%v5, %%v1, %%v2")
127 s390_test_generate(vesravh
,"vesravh %%v5, %%v1, %%v2")
128 s390_test_generate(vesravf
,"vesravf %%v5, %%v1, %%v2")
129 s390_test_generate(vesravg
,"vesravg %%v5, %%v1, %%v2")
131 s390_test_generate(vesrlb
, "vesrlb %%v5, %%v1, 4(%[r_arg1])")
132 s390_test_generate(vesrlh
, "vesrlh %%v5, %%v1, 3(%[r_arg2])")
133 s390_test_generate(vesrlf
, "vesrlf %%v5, %%v1, 2(%[r_arg3])")
134 s390_test_generate(vesrlg
, "vesrlg %%v5, %%v1, 1(%[r_arg1])")
135 s390_test_generate(vesrlvb
,"vesrlvb %%v5, %%v1, %%v2")
136 s390_test_generate(vesrlvh
,"vesrlvh %%v5, %%v1, %%v2")
137 s390_test_generate(vesrlvf
,"vesrlvf %%v5, %%v1, %%v2")
138 s390_test_generate(vesrlvg
,"vesrlvg %%v5, %%v1, %%v2")
140 s390_test_generate(verllb
, "verllb %%v5, %%v1, 4(%[r_arg1])")
141 s390_test_generate(verllh
, "verllh %%v5, %%v1, 3(%[r_arg2])")
142 s390_test_generate(verllf
, "verllf %%v5, %%v1, 2(%[r_arg3])")
143 s390_test_generate(verllg
, "verllg %%v5, %%v1, 1(%[r_arg1])")
144 s390_test_generate(verllvb
,"verllvb %%v5, %%v1, %%v2")
145 s390_test_generate(verllvh
,"verllvh %%v5, %%v1, %%v2")
146 s390_test_generate(verllvf
,"verllvf %%v5, %%v1, %%v2")
147 s390_test_generate(verllvg
,"verllvg %%v5, %%v1, %%v2")
149 s390_test_generate(vsl
, "vlrepb %%v2, %[m_arg1]\n" \
150 "vsl %%v5, %%v1, %%v2")
151 s390_test_generate(vsrl
, "vlrepb %%v2, %[m_arg1]\n" \
152 "vsrl %%v5, %%v1, %%v2")
153 s390_test_generate(vsra
, "vlrepb %%v2, %[m_arg1]\n" \
154 "vsra %%v5, %%v1, %%v2")
156 s390_test_generate(verimb
, "verimb %%v5, %%v1, %%v2, 5")
157 s390_test_generate(verimh
, "verimh %%v5, %%v1, %%v2, 13")
158 s390_test_generate(verimf
, "verimf %%v5, %%v1, %%v2, 27")
159 s390_test_generate(verimg
, "verimg %%v5, %%v1, %%v2, 45")
161 s390_test_generate(vecb
, "vecb %%v1, %%v2\n" \
162 S390_TEST_PUT_CC_TO_RESULT
)
163 s390_test_generate(vech
, "vech %%v1, %%v2\n" \
164 S390_TEST_PUT_CC_TO_RESULT
)
165 s390_test_generate(vecf
, "vecf %%v1, %%v2\n" \
166 S390_TEST_PUT_CC_TO_RESULT
)
167 s390_test_generate(vecg
, "vecg %%v1, %%v2\n" \
168 S390_TEST_PUT_CC_TO_RESULT
)
170 s390_test_generate(veclb
, "veclb %%v1, %%v2\n" \
171 S390_TEST_PUT_CC_TO_RESULT
)
172 s390_test_generate(veclh
, "veclh %%v1, %%v2\n" \
173 S390_TEST_PUT_CC_TO_RESULT
)
174 s390_test_generate(veclf
, "veclf %%v1, %%v2\n" \
175 S390_TEST_PUT_CC_TO_RESULT
)
176 s390_test_generate(veclg
, "veclg %%v1, %%v2\n" \
177 S390_TEST_PUT_CC_TO_RESULT
)
179 s390_test_generate(vceqb
, "vceqb %%v5, %%v1, %%v2")
180 s390_test_generate(vceqh
, "vceqh %%v5, %%v1, %%v2")
181 s390_test_generate(vceqf
, "vceqf %%v5, %%v1, %%v2")
182 s390_test_generate(vceqg
, "vceqg %%v5, %%v1, %%v2")
183 s390_test_generate(vceqbs
, "vceqbs %%v5, %%v1, %%v2\n" \
184 S390_TEST_PUT_CC_TO_RESULT
)
185 s390_test_generate(vceqhs
, "vceqhs %%v5, %%v1, %%v2\n" \
186 S390_TEST_PUT_CC_TO_RESULT
)
187 s390_test_generate(vceqfs
, "vceqfs %%v5, %%v1, %%v2\n" \
188 S390_TEST_PUT_CC_TO_RESULT
)
189 s390_test_generate(vceqgs
, "vceqgs %%v5, %%v1, %%v2\n" \
190 S390_TEST_PUT_CC_TO_RESULT
)
192 s390_test_generate(vslb
, "vslb %%v5, %%v1, %%v2")
193 s390_test_generate(vsrlb
, "vsrlb %%v5, %%v1, %%v2")
194 s390_test_generate(vsrab
, "vsrab %%v5, %%v1, %%v2")
196 s390_test_generate(vsldb0
, "vsldb %%v5, %%v1, %%v2, 0")
197 s390_test_generate(vsldb4
, "vsldb %%v5, %%v1, %%v2, 4")
198 s390_test_generate(vsldb16
, "vsldb %%v5, %%v1, %%v2, 16")
199 s390_test_generate(vsldb24
, "vsldb %%v5, %%v1, %%v2, 24")
201 s390_test_generate(vmob
, "vmob %%v5, %%v1, %%v2")
202 s390_test_generate(vmoh
, "vmoh %%v5, %%v1, %%v2")
203 s390_test_generate(vmof
, "vmof %%v5, %%v1, %%v2")
204 s390_test_generate(vmlob
, "vmlob %%v5, %%v1, %%v2")
205 s390_test_generate(vmloh
, "vmloh %%v5, %%v1, %%v2")
206 s390_test_generate(vmlof
, "vmlof %%v5, %%v1, %%v2")
208 s390_test_generate(vmaeb
, "vmaeb %%v5, %%v1, %%v2, %%v3")
209 s390_test_generate(vmaeh
, "vmaeh %%v5, %%v1, %%v2, %%v3")
210 s390_test_generate(vmaef
, "vmaef %%v5, %%v1, %%v2, %%v3")
211 s390_test_generate(vmaleb
, "vmaleb %%v5, %%v1, %%v2, %%v3")
212 s390_test_generate(vmaleh
, "vmaleh %%v5, %%v1, %%v2, %%v3")
213 s390_test_generate(vmalef
, "vmalef %%v5, %%v1, %%v2, %%v3")
215 s390_test_generate(vmaob
, "vmaob %%v5, %%v1, %%v2, %%v3")
216 s390_test_generate(vmaoh
, "vmaoh %%v5, %%v1, %%v2, %%v3")
217 s390_test_generate(vmaof
, "vmaof %%v5, %%v1, %%v2, %%v3")
218 s390_test_generate(vmalob
, "vmalob %%v5, %%v1, %%v2, %%v3")
219 s390_test_generate(vmaloh
, "vmaloh %%v5, %%v1, %%v2, %%v3")
220 s390_test_generate(vmalof
, "vmalof %%v5, %%v1, %%v2, %%v3")
222 s390_test_generate(vmalb
, "vmalb %%v5, %%v1, %%v2, %%v3")
223 s390_test_generate(vmalhw
, "vmalhw %%v5, %%v1, %%v2, %%v3")
224 s390_test_generate(vmalf
, "vmalf %%v5, %%v1, %%v2, %%v3")
226 s390_test_generate(vmahb
, "vmahb %%v5, %%v1, %%v2, %%v3")
227 s390_test_generate(vmahh
, "vmahh %%v5, %%v1, %%v2, %%v3")
228 s390_test_generate(vmahf
, "vmahf %%v5, %%v1, %%v2, %%v3")
229 s390_test_generate(vmalhb
, "vmalhb %%v5, %%v1, %%v2, %%v3")
230 s390_test_generate(vmalhh
, "vmalhh %%v5, %%v1, %%v2, %%v3")
231 s390_test_generate(vmalhf
, "vmalhf %%v5, %%v1, %%v2, %%v3")
233 s390_test_generate(vsumb
, "vsumb %%v5, %%v1, %%v2")
234 s390_test_generate(vsumh
, "vsumh %%v5, %%v1, %%v2")
236 s390_test_generate(vsumgh
, "vsumgh %%v5, %%v1, %%v2")
237 s390_test_generate(vsumgf
, "vsumgf %%v5, %%v1, %%v2")
239 s390_test_generate(vsumqf
, "vsumqf %%v5, %%v1, %%v2")
240 s390_test_generate(vsumqg
, "vsumqg %%v5, %%v1, %%v2")
242 s390_test_generate(vtm0
, "vone %%v3\n" \
243 "vx %%v2, %%v1, %%v3\n" \
245 S390_TEST_PUT_CC_TO_RESULT
)
246 s390_test_generate(vtm0_zeromask
, "vzero %%v2\n" \
248 S390_TEST_PUT_CC_TO_RESULT
)
249 s390_test_generate(vtm1
, "vone %%v2\n" \
251 S390_TEST_PUT_CC_TO_RESULT
)
252 s390_test_generate(vtm3_equalargs
, "vlr %%v2, %%v1\n" \
254 S390_TEST_PUT_CC_TO_RESULT
)
255 s390_test_generate(vtm3
, "vlr %%v2, %%v1\n" \
256 "vgbm %%v3, 0xff00\n" \
257 "vn %%v2, %%v2, %%v3\n" \
259 S390_TEST_PUT_CC_TO_RESULT
)
261 s390_test_generate(vacq
, "vacq %%v5, %%v1, %%v2, %%v3")
262 s390_test_generate(vaccb
, "vaccb %%v5, %%v1, %%v2")
263 s390_test_generate(vacch
, "vacch %%v5, %%v1, %%v2")
264 s390_test_generate(vaccf
, "vaccf %%v5, %%v1, %%v2")
265 s390_test_generate(vaccg
, "vaccg %%v5, %%v1, %%v2")
266 s390_test_generate(vaccq
, "vaccq %%v5, %%v1, %%v2")
267 s390_test_generate(vacccq
,"vacccq %%v5, %%v1, %%v2, %%v3")
269 s390_test_generate(vcksm
, "vcksm %%v5, %%v1, %%v2")
271 s390_test_generate(vgfmb
, "vgfmb %%v5, %%v1, %%v2")
272 s390_test_generate(vgfmh
, "vgfmh %%v5, %%v1, %%v2")
273 s390_test_generate(vgfmf
, "vgfmf %%v5, %%v1, %%v2")
274 s390_test_generate(vgfmg
, "vgfmg %%v5, %%v1, %%v2")
276 s390_test_generate(vgfmab
, "vgfmab %%v5, %%v1, %%v2, %%v3")
277 s390_test_generate(vgfmah
, "vgfmah %%v5, %%v1, %%v2, %%v3")
278 s390_test_generate(vgfmaf
, "vgfmaf %%v5, %%v1, %%v2, %%v3")
279 s390_test_generate(vgfmag
, "vgfmag %%v5, %%v1, %%v2, %%v3")
281 s390_test_generate(vsbiq
, "vsbiq %%v5, %%v1, %%v2, %%v3")
282 s390_test_generate(vscbib
, "vscbib %%v5, %%v1, %%v2")
283 s390_test_generate(vscbih
, "vscbih %%v5, %%v1, %%v2")
284 s390_test_generate(vscbif
, "vscbif %%v5, %%v1, %%v2")
285 s390_test_generate(vscbig
, "vscbig %%v5, %%v1, %%v2")
286 s390_test_generate(vscbiq
, "vscbiq %%v5, %%v1, %%v2")
287 s390_test_generate(vsbcbiq
,"vsbcbiq %%v5, %%v1, %%v2, %%v3")
290 size_t iteration
= 0;
504 test_once(vtm0_zeromask
);
506 test_once(vtm3_equalargs
);