Debian Codegraph @

gcc/testsuite/gcc.target/loongarch/vector/lasx/lasx-xvfsqrt_s.c

raw
1 /* { dg-options "-mlasx -w -fno-strict-aliasing" } */
2 #include "../simd_correctness_check.h"
3 #include <lasxintrin.h>
4
5 int
6 main ()
7 {
8 __m256i __m256i_op0, __m256i_op1, __m256i_op2, __m256i_out, __m256i_result;
9 __m256 __m256_op0, __m256_op1, __m256_op2, __m256_out, __m256_result;
10 __m256d __m256d_op0, __m256d_op1, __m256d_op2, __m256d_out, __m256d_result;
11
12 int int_op0, int_op1, int_op2, int_out, int_result, i = 1, fail;
13 long int long_op0, long_op1, long_op2, lont_out, lont_result;
14 long int long_int_out, long_int_result;
15 unsigned int unsigned_int_out, unsigned_int_result;
16 unsigned long int unsigned_long_int_out, unsigned_long_int_result;
17
18 *((int *)&__m256_op0[7]) = 0xffffffff;
19 *((int *)&__m256_op0[6]) = 0xffffffff;
20 *((int *)&__m256_op0[5]) = 0xffffffff;
21 *((int *)&__m256_op0[4]) = 0xffffffff;
22 *((int *)&__m256_op0[3]) = 0xffffffff;
23 *((int *)&__m256_op0[2]) = 0xffffffff;
24 *((int *)&__m256_op0[1]) = 0xffffffff;
25 *((int *)&__m256_op0[0]) = 0x00000000;
26 *((int *)&__m256_result[7]) = 0xffffffff;
27 *((int *)&__m256_result[6]) = 0xffffffff;
28 *((int *)&__m256_result[5]) = 0xffffffff;
29 *((int *)&__m256_result[4]) = 0xffffffff;
30 *((int *)&__m256_result[3]) = 0xffffffff;
31 *((int *)&__m256_result[2]) = 0xffffffff;
32 *((int *)&__m256_result[1]) = 0xffffffff;
33 *((int *)&__m256_result[0]) = 0x00000000;
34 __m256_out = __lasx_xvfsqrt_s (__m256_op0);
35 ASSERTEQ_32 (__LINE__, __m256_result, __m256_out);
36
37 *((int *)&__m256_op0[7]) = 0x00000000;
38 *((int *)&__m256_op0[6]) = 0x00000000;
39 *((int *)&__m256_op0[5]) = 0x00000000;
40 *((int *)&__m256_op0[4]) = 0x00000000;
41 *((int *)&__m256_op0[3]) = 0x00000000;
42 *((int *)&__m256_op0[2]) = 0x00000000;
43 *((int *)&__m256_op0[1]) = 0x00000000;
44 *((int *)&__m256_op0[0]) = 0x00000000;
45 *((int *)&__m256_result[7]) = 0x00000000;
46 *((int *)&__m256_result[6]) = 0x00000000;
47 *((int *)&__m256_result[5]) = 0x00000000;
48 *((int *)&__m256_result[4]) = 0x00000000;
49 *((int *)&__m256_result[3]) = 0x00000000;
50 *((int *)&__m256_result[2]) = 0x00000000;
51 *((int *)&__m256_result[1]) = 0x00000000;
52 *((int *)&__m256_result[0]) = 0x00000000;
53 __m256_out = __lasx_xvfsqrt_s (__m256_op0);
54 ASSERTEQ_32 (__LINE__, __m256_result, __m256_out);
55
56 *((int *)&__m256_op0[7]) = 0x00000000;
57 *((int *)&__m256_op0[6]) = 0x00000000;
58 *((int *)&__m256_op0[5]) = 0x00000000;
59 *((int *)&__m256_op0[4]) = 0x00000000;
60 *((int *)&__m256_op0[3]) = 0x00000000;
61 *((int *)&__m256_op0[2]) = 0x00000000;
62 *((int *)&__m256_op0[1]) = 0x00000000;
63 *((int *)&__m256_op0[0]) = 0x00000000;
64 *((int *)&__m256_result[7]) = 0x00000000;
65 *((int *)&__m256_result[6]) = 0x00000000;
66 *((int *)&__m256_result[5]) = 0x00000000;
67 *((int *)&__m256_result[4]) = 0x00000000;
68 *((int *)&__m256_result[3]) = 0x00000000;
69 *((int *)&__m256_result[2]) = 0x00000000;
70 *((int *)&__m256_result[1]) = 0x00000000;
71 *((int *)&__m256_result[0]) = 0x00000000;
72 __m256_out = __lasx_xvfsqrt_s (__m256_op0);
73 ASSERTEQ_32 (__LINE__, __m256_result, __m256_out);
74
75 *((int *)&__m256_op0[7]) = 0x00000000;
76 *((int *)&__m256_op0[6]) = 0x00000000;
77 *((int *)&__m256_op0[5]) = 0x00000000;
78 *((int *)&__m256_op0[4]) = 0x0000ff80;
79 *((int *)&__m256_op0[3]) = 0x00000000;
80 *((int *)&__m256_op0[2]) = 0x00000000;
81 *((int *)&__m256_op0[1]) = 0x00000000;
82 *((int *)&__m256_op0[0]) = 0x0000ffff;
83 *((int *)&__m256_result[7]) = 0x7f800000;
84 *((int *)&__m256_result[6]) = 0x7f800000;
85 *((int *)&__m256_result[5]) = 0x7f800000;
86 *((int *)&__m256_result[4]) = 0x60b53246;
87 *((int *)&__m256_result[3]) = 0x7f800000;
88 *((int *)&__m256_result[2]) = 0x7f800000;
89 *((int *)&__m256_result[1]) = 0x7f800000;
90 *((int *)&__m256_result[0]) = 0x60b5054d;
91 __m256_out = __lasx_xvfrsqrt_s (__m256_op0);
92 ASSERTEQ_32 (__LINE__, __m256_result, __m256_out);
93
94 *((int *)&__m256_op0[7]) = 0xffffffff;
95 *((int *)&__m256_op0[6]) = 0xffffffff;
96 *((int *)&__m256_op0[5]) = 0xffffffff;
97 *((int *)&__m256_op0[4]) = 0x0060005a;
98 *((int *)&__m256_op0[3]) = 0xffffffff;
99 *((int *)&__m256_op0[2]) = 0xffffffff;
100 *((int *)&__m256_op0[1]) = 0xffffffff;
101 *((int *)&__m256_op0[0]) = 0x0060005a;
102 *((int *)&__m256_result[7]) = 0xffffffff;
103 *((int *)&__m256_result[6]) = 0xffffffff;
104 *((int *)&__m256_result[5]) = 0xffffffff;
105 *((int *)&__m256_result[4]) = 0x5f13ccf5;
106 *((int *)&__m256_result[3]) = 0xffffffff;
107 *((int *)&__m256_result[2]) = 0xffffffff;
108 *((int *)&__m256_result[1]) = 0xffffffff;
109 *((int *)&__m256_result[0]) = 0x5f13ccf5;
110 __m256_out = __lasx_xvfrsqrt_s (__m256_op0);
111 ASSERTEQ_32 (__LINE__, __m256_result, __m256_out);
112
113 *((int *)&__m256_op0[7]) = 0x00000000;
114 *((int *)&__m256_op0[6]) = 0x00000000;
115 *((int *)&__m256_op0[5]) = 0x00000000;
116 *((int *)&__m256_op0[4]) = 0x00000000;
117 *((int *)&__m256_op0[3]) = 0x00000000;
118 *((int *)&__m256_op0[2]) = 0x00000000;
119 *((int *)&__m256_op0[1]) = 0x00000000;
120 *((int *)&__m256_op0[0]) = 0x00000000;
121 *((int *)&__m256_result[7]) = 0x7f800000;
122 *((int *)&__m256_result[6]) = 0x7f800000;
123 *((int *)&__m256_result[5]) = 0x7f800000;
124 *((int *)&__m256_result[4]) = 0x7f800000;
125 *((int *)&__m256_result[3]) = 0x7f800000;
126 *((int *)&__m256_result[2]) = 0x7f800000;
127 *((int *)&__m256_result[1]) = 0x7f800000;
128 *((int *)&__m256_result[0]) = 0x7f800000;
129 __m256_out = __lasx_xvfrsqrt_s (__m256_op0);
130 ASSERTEQ_32 (__LINE__, __m256_result, __m256_out);
131
132 *((int *)&__m256_op0[7]) = 0x00000000;
133 *((int *)&__m256_op0[6]) = 0x00000000;
134 *((int *)&__m256_op0[5]) = 0x00000000;
135 *((int *)&__m256_op0[4]) = 0x00000000;
136 *((int *)&__m256_op0[3]) = 0x00000000;
137 *((int *)&__m256_op0[2]) = 0x00000000;
138 *((int *)&__m256_op0[1]) = 0x00000000;
139 *((int *)&__m256_op0[0]) = 0x00000000;
140 *((int *)&__m256_result[7]) = 0x7f800000;
141 *((int *)&__m256_result[6]) = 0x7f800000;
142 *((int *)&__m256_result[5]) = 0x7f800000;
143 *((int *)&__m256_result[4]) = 0x7f800000;
144 *((int *)&__m256_result[3]) = 0x7f800000;
145 *((int *)&__m256_result[2]) = 0x7f800000;
146 *((int *)&__m256_result[1]) = 0x7f800000;
147 *((int *)&__m256_result[0]) = 0x7f800000;
148 __m256_out = __lasx_xvfrsqrt_s (__m256_op0);
149 ASSERTEQ_32 (__LINE__, __m256_result, __m256_out);
150
151 *((int *)&__m256_op0[7]) = 0x00000000;
152 *((int *)&__m256_op0[6]) = 0x00000000;
153 *((int *)&__m256_op0[5]) = 0x00000000;
154 *((int *)&__m256_op0[4]) = 0x00000000;
155 *((int *)&__m256_op0[3]) = 0x00000000;
156 *((int *)&__m256_op0[2]) = 0x00000000;
157 *((int *)&__m256_op0[1]) = 0x00000000;
158 *((int *)&__m256_op0[0]) = 0x00000000;
159 *((int *)&__m256_result[7]) = 0x7f800000;
160 *((int *)&__m256_result[6]) = 0x7f800000;
161 *((int *)&__m256_result[5]) = 0x7f800000;
162 *((int *)&__m256_result[4]) = 0x7f800000;
163 *((int *)&__m256_result[3]) = 0x7f800000;
164 *((int *)&__m256_result[2]) = 0x7f800000;
165 *((int *)&__m256_result[1]) = 0x7f800000;
166 *((int *)&__m256_result[0]) = 0x7f800000;
167 __m256_out = __lasx_xvfrsqrt_s (__m256_op0);
168 ASSERTEQ_32 (__LINE__, __m256_result, __m256_out);
169
170 *((int *)&__m256_op0[7]) = 0x00000000;
171 *((int *)&__m256_op0[6]) = 0x00000000;
172 *((int *)&__m256_op0[5]) = 0x00000000;
173 *((int *)&__m256_op0[4]) = 0x00000000;
174 *((int *)&__m256_op0[3]) = 0x00000000;
175 *((int *)&__m256_op0[2]) = 0x00000000;
176 *((int *)&__m256_op0[1]) = 0x00000000;
177 *((int *)&__m256_op0[0]) = 0x00000000;
178 *((int *)&__m256_result[7]) = 0x7f800000;
179 *((int *)&__m256_result[6]) = 0x7f800000;
180 *((int *)&__m256_result[5]) = 0x7f800000;
181 *((int *)&__m256_result[4]) = 0x7f800000;
182 *((int *)&__m256_result[3]) = 0x7f800000;
183 *((int *)&__m256_result[2]) = 0x7f800000;
184 *((int *)&__m256_result[1]) = 0x7f800000;
185 *((int *)&__m256_result[0]) = 0x7f800000;
186 __m256_out = __lasx_xvfrsqrt_s (__m256_op0);
187 ASSERTEQ_32 (__LINE__, __m256_result, __m256_out);
188
189 *((int *)&__m256_op0[7]) = 0x00000000;
190 *((int *)&__m256_op0[6]) = 0x00000000;
191 *((int *)&__m256_op0[5]) = 0x00000000;
192 *((int *)&__m256_op0[4]) = 0x00000000;
193 *((int *)&__m256_op0[3]) = 0x00000000;
194 *((int *)&__m256_op0[2]) = 0x00000000;
195 *((int *)&__m256_op0[1]) = 0x00000000;
196 *((int *)&__m256_op0[0]) = 0x00000000;
197 *((int *)&__m256_result[7]) = 0x7f800000;
198 *((int *)&__m256_result[6]) = 0x7f800000;
199 *((int *)&__m256_result[5]) = 0x7f800000;
200 *((int *)&__m256_result[4]) = 0x7f800000;
201 *((int *)&__m256_result[3]) = 0x7f800000;
202 *((int *)&__m256_result[2]) = 0x7f800000;
203 *((int *)&__m256_result[1]) = 0x7f800000;
204 *((int *)&__m256_result[0]) = 0x7f800000;
205 __m256_out = __lasx_xvfrsqrt_s (__m256_op0);
206 ASSERTEQ_32 (__LINE__, __m256_result, __m256_out);
207
208 *((int *)&__m256_op0[7]) = 0x00000000;
209 *((int *)&__m256_op0[6]) = 0x00000000;
210 *((int *)&__m256_op0[5]) = 0x00000002;
211 *((int *)&__m256_op0[4]) = 0x00000008;
212 *((int *)&__m256_op0[3]) = 0x00000000;
213 *((int *)&__m256_op0[2]) = 0x00000000;
214 *((int *)&__m256_op0[1]) = 0x00000002;
215 *((int *)&__m256_op0[0]) = 0x00000008;
216 *((int *)&__m256_result[7]) = 0x7f800000;
217 *((int *)&__m256_result[6]) = 0x7f800000;
218 *((int *)&__m256_result[5]) = 0x64800000;
219 *((int *)&__m256_result[4]) = 0x64000000;
220 *((int *)&__m256_result[3]) = 0x7f800000;
221 *((int *)&__m256_result[2]) = 0x7f800000;
222 *((int *)&__m256_result[1]) = 0x64800000;
223 *((int *)&__m256_result[0]) = 0x64000000;
224 __m256_out = __lasx_xvfrsqrt_s (__m256_op0);
225 ASSERTEQ_32 (__LINE__, __m256_result, __m256_out);
226
227 *((int *)&__m256_op0[7]) = 0x00000000;
228 *((int *)&__m256_op0[6]) = 0x00000000;
229 *((int *)&__m256_op0[5]) = 0x000000bd;
230 *((int *)&__m256_op0[4]) = 0xfef907bc;
231 *((int *)&__m256_op0[3]) = 0x00000000;
232 *((int *)&__m256_op0[2]) = 0x00000000;
233 *((int *)&__m256_op0[1]) = 0x000000bd;
234 *((int *)&__m256_op0[0]) = 0xfef907bc;
235 *((int *)&__m256_result[7]) = 0x7f800000;
236 *((int *)&__m256_result[6]) = 0x7f800000;
237 *((int *)&__m256_result[5]) = 0x62d2acee;
238 *((int *)&__m256_result[4]) = 0x7fc00000;
239 *((int *)&__m256_result[3]) = 0x7f800000;
240 *((int *)&__m256_result[2]) = 0x7f800000;
241 *((int *)&__m256_result[1]) = 0x62d2acee;
242 *((int *)&__m256_result[0]) = 0x7fc00000;
243 __m256_out = __lasx_xvfrsqrt_s (__m256_op0);
244 ASSERTEQ_32 (__LINE__, __m256_result, __m256_out);
245
246 *((int *)&__m256_op0[7]) = 0xffffffff;
247 *((int *)&__m256_op0[6]) = 0xffffffff;
248 *((int *)&__m256_op0[5]) = 0xffffffff;
249 *((int *)&__m256_op0[4]) = 0xffffffff;
250 *((int *)&__m256_op0[3]) = 0xffffffff;
251 *((int *)&__m256_op0[2]) = 0xffffffff;
252 *((int *)&__m256_op0[1]) = 0xffffffff;
253 *((int *)&__m256_op0[0]) = 0xffffffff;
254 *((int *)&__m256_result[7]) = 0xffffffff;
255 *((int *)&__m256_result[6]) = 0xffffffff;
256 *((int *)&__m256_result[5]) = 0xffffffff;
257 *((int *)&__m256_result[4]) = 0xffffffff;
258 *((int *)&__m256_result[3]) = 0xffffffff;
259 *((int *)&__m256_result[2]) = 0xffffffff;
260 *((int *)&__m256_result[1]) = 0xffffffff;
261 *((int *)&__m256_result[0]) = 0xffffffff;
262 __m256_out = __lasx_xvfrsqrt_s (__m256_op0);
263 ASSERTEQ_32 (__LINE__, __m256_result, __m256_out);
264
265 *((int *)&__m256_op0[7]) = 0x04e8296f;
266 *((int *)&__m256_op0[6]) = 0x18181818;
267 *((int *)&__m256_op0[5]) = 0x132feea9;
268 *((int *)&__m256_op0[4]) = 0x00000000;
269 *((int *)&__m256_op0[3]) = 0x04e8296f;
270 *((int *)&__m256_op0[2]) = 0x18181818;
271 *((int *)&__m256_op0[1]) = 0x132feea9;
272 *((int *)&__m256_op0[0]) = 0x00000000;
273 *((int *)&__m256_result[7]) = 0x5cbe15f2;
274 *((int *)&__m256_result[6]) = 0x53261036;
275 *((int *)&__m256_result[5]) = 0x559a674d;
276 *((int *)&__m256_result[4]) = 0x7f800000;
277 *((int *)&__m256_result[3]) = 0x5cbe15f2;
278 *((int *)&__m256_result[2]) = 0x53261036;
279 *((int *)&__m256_result[1]) = 0x559a674d;
280 *((int *)&__m256_result[0]) = 0x7f800000;
281 __m256_out = __lasx_xvfrsqrt_s (__m256_op0);
282 ASSERTEQ_32 (__LINE__, __m256_result, __m256_out);
283
284 *((int *)&__m256_op0[7]) = 0x00000000;
285 *((int *)&__m256_op0[6]) = 0x00000000;
286 *((int *)&__m256_op0[5]) = 0x00000000;
287 *((int *)&__m256_op0[4]) = 0x00000000;
288 *((int *)&__m256_op0[3]) = 0x00000000;
289 *((int *)&__m256_op0[2]) = 0x00000000;
290 *((int *)&__m256_op0[1]) = 0x00000000;
291 *((int *)&__m256_op0[0]) = 0x00000000;
292 *((int *)&__m256_result[7]) = 0x7f800000;
293 *((int *)&__m256_result[6]) = 0x7f800000;
294 *((int *)&__m256_result[5]) = 0x7f800000;
295 *((int *)&__m256_result[4]) = 0x7f800000;
296 *((int *)&__m256_result[3]) = 0x7f800000;
297 *((int *)&__m256_result[2]) = 0x7f800000;
298 *((int *)&__m256_result[1]) = 0x7f800000;
299 *((int *)&__m256_result[0]) = 0x7f800000;
300 __m256_out = __lasx_xvfrecip_s (__m256_op0);
301 ASSERTEQ_32 (__LINE__, __m256_result, __m256_out);
302
303 *((int *)&__m256_op0[7]) = 0x00000000;
304 *((int *)&__m256_op0[6]) = 0x00000000;
305 *((int *)&__m256_op0[5]) = 0x00000000;
306 *((int *)&__m256_op0[4]) = 0x000000ff;
307 *((int *)&__m256_op0[3]) = 0x00000000;
308 *((int *)&__m256_op0[2]) = 0x00000000;
309 *((int *)&__m256_op0[1]) = 0x00000000;
310 *((int *)&__m256_op0[0]) = 0x0000ff00;
311 *((int *)&__m256_result[7]) = 0x7f800000;
312 *((int *)&__m256_result[6]) = 0x7f800000;
313 *((int *)&__m256_result[5]) = 0x7f800000;
314 *((int *)&__m256_result[4]) = 0x7f800000;
315 *((int *)&__m256_result[3]) = 0x7f800000;
316 *((int *)&__m256_result[2]) = 0x7f800000;
317 *((int *)&__m256_result[1]) = 0x7f800000;
318 *((int *)&__m256_result[0]) = 0x7f800000;
319 __m256_out = __lasx_xvfrecip_s (__m256_op0);
320 ASSERTEQ_32 (__LINE__, __m256_result, __m256_out);
321
322 *((int *)&__m256_op0[7]) = 0xffffffff;
323 *((int *)&__m256_op0[6]) = 0xffffffff;
324 *((int *)&__m256_op0[5]) = 0xffffffff;
325 *((int *)&__m256_op0[4]) = 0xffffffff;
326 *((int *)&__m256_op0[3]) = 0xffffffff;
327 *((int *)&__m256_op0[2]) = 0xffffffff;
328 *((int *)&__m256_op0[1]) = 0xffffffff;
329 *((int *)&__m256_op0[0]) = 0xffffffff;
330 *((int *)&__m256_result[7]) = 0xffffffff;
331 *((int *)&__m256_result[6]) = 0xffffffff;
332 *((int *)&__m256_result[5]) = 0xffffffff;
333 *((int *)&__m256_result[4]) = 0xffffffff;
334 *((int *)&__m256_result[3]) = 0xffffffff;
335 *((int *)&__m256_result[2]) = 0xffffffff;
336 *((int *)&__m256_result[1]) = 0xffffffff;
337 *((int *)&__m256_result[0]) = 0xffffffff;
338 __m256_out = __lasx_xvfrecip_s (__m256_op0);
339 ASSERTEQ_32 (__LINE__, __m256_result, __m256_out);
340
341 *((int *)&__m256_op0[7]) = 0x00000000;
342 *((int *)&__m256_op0[6]) = 0x00000000;
343 *((int *)&__m256_op0[5]) = 0x00000000;
344 *((int *)&__m256_op0[4]) = 0x00000000;
345 *((int *)&__m256_op0[3]) = 0x00000000;
346 *((int *)&__m256_op0[2]) = 0x00000000;
347 *((int *)&__m256_op0[1]) = 0x00000000;
348 *((int *)&__m256_op0[0]) = 0x00000000;
349 *((int *)&__m256_result[7]) = 0x7f800000;
350 *((int *)&__m256_result[6]) = 0x7f800000;
351 *((int *)&__m256_result[5]) = 0x7f800000;
352 *((int *)&__m256_result[4]) = 0x7f800000;
353 *((int *)&__m256_result[3]) = 0x7f800000;
354 *((int *)&__m256_result[2]) = 0x7f800000;
355 *((int *)&__m256_result[1]) = 0x7f800000;
356 *((int *)&__m256_result[0]) = 0x7f800000;
357 __m256_out = __lasx_xvfrecip_s (__m256_op0);
358 ASSERTEQ_32 (__LINE__, __m256_result, __m256_out);
359
360 *((int *)&__m256_op0[7]) = 0x00000000;
361 *((int *)&__m256_op0[6]) = 0x00000000;
362 *((int *)&__m256_op0[5]) = 0x00000000;
363 *((int *)&__m256_op0[4]) = 0x00000000;
364 *((int *)&__m256_op0[3]) = 0x00000000;
365 *((int *)&__m256_op0[2]) = 0x00000000;
366 *((int *)&__m256_op0[1]) = 0x00000000;
367 *((int *)&__m256_op0[0]) = 0x00000000;
368 *((int *)&__m256_result[7]) = 0x7f800000;
369 *((int *)&__m256_result[6]) = 0x7f800000;
370 *((int *)&__m256_result[5]) = 0x7f800000;
371 *((int *)&__m256_result[4]) = 0x7f800000;
372 *((int *)&__m256_result[3]) = 0x7f800000;
373 *((int *)&__m256_result[2]) = 0x7f800000;
374 *((int *)&__m256_result[1]) = 0x7f800000;
375 *((int *)&__m256_result[0]) = 0x7f800000;
376 __m256_out = __lasx_xvfrecip_s (__m256_op0);
377 ASSERTEQ_32 (__LINE__, __m256_result, __m256_out);
378
379 *((int *)&__m256_op0[7]) = 0xfc003802;
380 *((int *)&__m256_op0[6]) = 0xfc000000;
381 *((int *)&__m256_op0[5]) = 0x00000000;
382 *((int *)&__m256_op0[4]) = 0xfc00fc00;
383 *((int *)&__m256_op0[3]) = 0xfc003802;
384 *((int *)&__m256_op0[2]) = 0xfc000000;
385 *((int *)&__m256_op0[1]) = 0x00000000;
386 *((int *)&__m256_op0[0]) = 0xfc00fc00;
387 *((int *)&__m256_result[7]) = 0x82ff902d;
388 *((int *)&__m256_result[6]) = 0x83000000;
389 *((int *)&__m256_result[5]) = 0x7f800000;
390 *((int *)&__m256_result[4]) = 0x82fe0bd9;
391 *((int *)&__m256_result[3]) = 0x82ff902d;
392 *((int *)&__m256_result[2]) = 0x83000000;
393 *((int *)&__m256_result[1]) = 0x7f800000;
394 *((int *)&__m256_result[0]) = 0x82fe0bd9;
395 __m256_out = __lasx_xvfrecip_s (__m256_op0);
396 ASSERTEQ_32 (__LINE__, __m256_result, __m256_out);
397
398 *((int *)&__m256_op0[7]) = 0x00000000;
399 *((int *)&__m256_op0[6]) = 0x00000000;
400 *((int *)&__m256_op0[5]) = 0x00000000;
401 *((int *)&__m256_op0[4]) = 0x00000000;
402 *((int *)&__m256_op0[3]) = 0x00000000;
403 *((int *)&__m256_op0[2]) = 0x00000000;
404 *((int *)&__m256_op0[1]) = 0x00000000;
405 *((int *)&__m256_op0[0]) = 0x00000000;
406 *((int *)&__m256_result[7]) = 0x7f800000;
407 *((int *)&__m256_result[6]) = 0x7f800000;
408 *((int *)&__m256_result[5]) = 0x7f800000;
409 *((int *)&__m256_result[4]) = 0x7f800000;
410 *((int *)&__m256_result[3]) = 0x7f800000;
411 *((int *)&__m256_result[2]) = 0x7f800000;
412 *((int *)&__m256_result[1]) = 0x7f800000;
413 *((int *)&__m256_result[0]) = 0x7f800000;
414 __m256_out = __lasx_xvfrecip_s (__m256_op0);
415 ASSERTEQ_32 (__LINE__, __m256_result, __m256_out);
416
417 *((int *)&__m256_op0[7]) = 0x00000000;
418 *((int *)&__m256_op0[6]) = 0x00000000;
419 *((int *)&__m256_op0[5]) = 0x00000000;
420 *((int *)&__m256_op0[4]) = 0x00000000;
421 *((int *)&__m256_op0[3]) = 0x00000000;
422 *((int *)&__m256_op0[2]) = 0x00000000;
423 *((int *)&__m256_op0[1]) = 0x00000000;
424 *((int *)&__m256_op0[0]) = 0x00000000;
425 *((int *)&__m256_result[7]) = 0x7f800000;
426 *((int *)&__m256_result[6]) = 0x7f800000;
427 *((int *)&__m256_result[5]) = 0x7f800000;
428 *((int *)&__m256_result[4]) = 0x7f800000;
429 *((int *)&__m256_result[3]) = 0x7f800000;
430 *((int *)&__m256_result[2]) = 0x7f800000;
431 *((int *)&__m256_result[1]) = 0x7f800000;
432 *((int *)&__m256_result[0]) = 0x7f800000;
433 __m256_out = __lasx_xvfrecip_s (__m256_op0);
434 ASSERTEQ_32 (__LINE__, __m256_result, __m256_out);
435
436 *((int *)&__m256_op0[7]) = 0xfd02fd02;
437 *((int *)&__m256_op0[6]) = 0xfd02fd02;
438 *((int *)&__m256_op0[5]) = 0xfd02fd02;
439 *((int *)&__m256_op0[4]) = 0xfd02fd02;
440 *((int *)&__m256_op0[3]) = 0xfd02fd02;
441 *((int *)&__m256_op0[2]) = 0xfd02fd02;
442 *((int *)&__m256_op0[1]) = 0xfd02fd02;
443 *((int *)&__m256_op0[0]) = 0xfd02fd02;
444 *((int *)&__m256_result[7]) = 0x81fa28e4;
445 *((int *)&__m256_result[6]) = 0x81fa28e4;
446 *((int *)&__m256_result[5]) = 0x81fa28e4;
447 *((int *)&__m256_result[4]) = 0x81fa28e4;
448 *((int *)&__m256_result[3]) = 0x81fa28e4;
449 *((int *)&__m256_result[2]) = 0x81fa28e4;
450 *((int *)&__m256_result[1]) = 0x81fa28e4;
451 *((int *)&__m256_result[0]) = 0x81fa28e4;
452 __m256_out = __lasx_xvfrecip_s (__m256_op0);
453 ASSERTEQ_32 (__LINE__, __m256_result, __m256_out);
454
455 return 0;
456 }