clang  6.0.0svn
vecintrin.h
Go to the documentation of this file.
1 /*===---- vecintrin.h - Vector intrinsics ----------------------------------===
2  *
3  * Permission is hereby granted, free of charge, to any person obtaining a copy
4  * of this software and associated documentation files (the "Software"), to deal
5  * in the Software without restriction, including without limitation the rights
6  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7  * copies of the Software, and to permit persons to whom the Software is
8  * furnished to do so, subject to the following conditions:
9  *
10  * The above copyright notice and this permission notice shall be included in
11  * all copies or substantial portions of the Software.
12  *
13  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19  * THE SOFTWARE.
20  *
21  *===-----------------------------------------------------------------------===
22  */
23 
24 #if defined(__s390x__) && defined(__VEC__)
25 
26 #define __ATTRS_ai __attribute__((__always_inline__))
27 #define __ATTRS_o __attribute__((__overloadable__))
28 #define __ATTRS_o_ai __attribute__((__overloadable__, __always_inline__))
29 
30 #define __constant(PARM) \
31  __attribute__((__enable_if__ ((PARM) == (PARM), \
32  "argument must be a constant integer")))
33 #define __constant_range(PARM, LOW, HIGH) \
34  __attribute__((__enable_if__ ((PARM) >= (LOW) && (PARM) <= (HIGH), \
35  "argument must be a constant integer from " #LOW " to " #HIGH)))
36 #define __constant_pow2_range(PARM, LOW, HIGH) \
37  __attribute__((__enable_if__ ((PARM) >= (LOW) && (PARM) <= (HIGH) && \
38  ((PARM) & ((PARM) - 1)) == 0, \
39  "argument must be a constant power of 2 from " #LOW " to " #HIGH)))
40 
41 /*-- __lcbb -----------------------------------------------------------------*/
42 
43 extern __ATTRS_o unsigned int
44 __lcbb(const void *__ptr, unsigned short __len)
45  __constant_pow2_range(__len, 64, 4096);
46 
47 #define __lcbb(X, Y) ((__typeof__((__lcbb)((X), (Y)))) \
48  __builtin_s390_lcbb((X), __builtin_constant_p((Y))? \
49  ((Y) == 64 ? 0 : \
50  (Y) == 128 ? 1 : \
51  (Y) == 256 ? 2 : \
52  (Y) == 512 ? 3 : \
53  (Y) == 1024 ? 4 : \
54  (Y) == 2048 ? 5 : \
55  (Y) == 4096 ? 6 : 0) : 0))
56 
57 /*-- vec_extract ------------------------------------------------------------*/
58 
59 static inline __ATTRS_o_ai signed char
60 vec_extract(vector signed char __vec, int __index) {
61  return __vec[__index & 15];
62 }
63 
64 static inline __ATTRS_o_ai unsigned char
65 vec_extract(vector bool char __vec, int __index) {
66  return __vec[__index & 15];
67 }
68 
69 static inline __ATTRS_o_ai unsigned char
70 vec_extract(vector unsigned char __vec, int __index) {
71  return __vec[__index & 15];
72 }
73 
74 static inline __ATTRS_o_ai signed short
75 vec_extract(vector signed short __vec, int __index) {
76  return __vec[__index & 7];
77 }
78 
79 static inline __ATTRS_o_ai unsigned short
80 vec_extract(vector bool short __vec, int __index) {
81  return __vec[__index & 7];
82 }
83 
84 static inline __ATTRS_o_ai unsigned short
85 vec_extract(vector unsigned short __vec, int __index) {
86  return __vec[__index & 7];
87 }
88 
89 static inline __ATTRS_o_ai signed int
90 vec_extract(vector signed int __vec, int __index) {
91  return __vec[__index & 3];
92 }
93 
94 static inline __ATTRS_o_ai unsigned int
95 vec_extract(vector bool int __vec, int __index) {
96  return __vec[__index & 3];
97 }
98 
99 static inline __ATTRS_o_ai unsigned int
100 vec_extract(vector unsigned int __vec, int __index) {
101  return __vec[__index & 3];
102 }
103 
104 static inline __ATTRS_o_ai signed long long
105 vec_extract(vector signed long long __vec, int __index) {
106  return __vec[__index & 1];
107 }
108 
109 static inline __ATTRS_o_ai unsigned long long
110 vec_extract(vector bool long long __vec, int __index) {
111  return __vec[__index & 1];
112 }
113 
114 static inline __ATTRS_o_ai unsigned long long
115 vec_extract(vector unsigned long long __vec, int __index) {
116  return __vec[__index & 1];
117 }
118 
119 #if __ARCH__ >= 12
120 static inline __ATTRS_o_ai float
121 vec_extract(vector float __vec, int __index) {
122  return __vec[__index & 3];
123 }
124 #endif
125 
126 static inline __ATTRS_o_ai double
127 vec_extract(vector double __vec, int __index) {
128  return __vec[__index & 1];
129 }
130 
131 /*-- vec_insert -------------------------------------------------------------*/
132 
133 static inline __ATTRS_o_ai vector signed char
134 vec_insert(signed char __scalar, vector signed char __vec, int __index) {
135  __vec[__index & 15] = __scalar;
136  return __vec;
137 }
138 
139 // This prototype is deprecated.
140 static inline __ATTRS_o_ai vector unsigned char
141 vec_insert(unsigned char __scalar, vector bool char __vec, int __index) {
142  vector unsigned char __newvec = (vector unsigned char)__vec;
143  __newvec[__index & 15] = (unsigned char)__scalar;
144  return __newvec;
145 }
146 
147 static inline __ATTRS_o_ai vector unsigned char
148 vec_insert(unsigned char __scalar, vector unsigned char __vec, int __index) {
149  __vec[__index & 15] = __scalar;
150  return __vec;
151 }
152 
153 static inline __ATTRS_o_ai vector signed short
154 vec_insert(signed short __scalar, vector signed short __vec, int __index) {
155  __vec[__index & 7] = __scalar;
156  return __vec;
157 }
158 
159 // This prototype is deprecated.
160 static inline __ATTRS_o_ai vector unsigned short
161 vec_insert(unsigned short __scalar, vector bool short __vec, int __index) {
162  vector unsigned short __newvec = (vector unsigned short)__vec;
163  __newvec[__index & 7] = (unsigned short)__scalar;
164  return __newvec;
165 }
166 
167 static inline __ATTRS_o_ai vector unsigned short
168 vec_insert(unsigned short __scalar, vector unsigned short __vec, int __index) {
169  __vec[__index & 7] = __scalar;
170  return __vec;
171 }
172 
173 static inline __ATTRS_o_ai vector signed int
174 vec_insert(signed int __scalar, vector signed int __vec, int __index) {
175  __vec[__index & 3] = __scalar;
176  return __vec;
177 }
178 
179 // This prototype is deprecated.
180 static inline __ATTRS_o_ai vector unsigned int
181 vec_insert(unsigned int __scalar, vector bool int __vec, int __index) {
182  vector unsigned int __newvec = (vector unsigned int)__vec;
183  __newvec[__index & 3] = __scalar;
184  return __newvec;
185 }
186 
187 static inline __ATTRS_o_ai vector unsigned int
188 vec_insert(unsigned int __scalar, vector unsigned int __vec, int __index) {
189  __vec[__index & 3] = __scalar;
190  return __vec;
191 }
192 
193 static inline __ATTRS_o_ai vector signed long long
194 vec_insert(signed long long __scalar, vector signed long long __vec,
195  int __index) {
196  __vec[__index & 1] = __scalar;
197  return __vec;
198 }
199 
200 // This prototype is deprecated.
201 static inline __ATTRS_o_ai vector unsigned long long
202 vec_insert(unsigned long long __scalar, vector bool long long __vec,
203  int __index) {
204  vector unsigned long long __newvec = (vector unsigned long long)__vec;
205  __newvec[__index & 1] = __scalar;
206  return __newvec;
207 }
208 
209 static inline __ATTRS_o_ai vector unsigned long long
210 vec_insert(unsigned long long __scalar, vector unsigned long long __vec,
211  int __index) {
212  __vec[__index & 1] = __scalar;
213  return __vec;
214 }
215 
216 #if __ARCH__ >= 12
217 static inline __ATTRS_o_ai vector float
218 vec_insert(float __scalar, vector float __vec, int __index) {
219  __vec[__index & 1] = __scalar;
220  return __vec;
221 }
222 #endif
223 
224 static inline __ATTRS_o_ai vector double
225 vec_insert(double __scalar, vector double __vec, int __index) {
226  __vec[__index & 1] = __scalar;
227  return __vec;
228 }
229 
230 /*-- vec_promote ------------------------------------------------------------*/
231 
232 static inline __ATTRS_o_ai vector signed char
233 vec_promote(signed char __scalar, int __index) {
234  const vector signed char __zero = (vector signed char)0;
235  vector signed char __vec = __builtin_shufflevector(__zero, __zero,
236  -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1);
237  __vec[__index & 15] = __scalar;
238  return __vec;
239 }
240 
241 static inline __ATTRS_o_ai vector unsigned char
242 vec_promote(unsigned char __scalar, int __index) {
243  const vector unsigned char __zero = (vector unsigned char)0;
244  vector unsigned char __vec = __builtin_shufflevector(__zero, __zero,
245  -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1);
246  __vec[__index & 15] = __scalar;
247  return __vec;
248 }
249 
250 static inline __ATTRS_o_ai vector signed short
251 vec_promote(signed short __scalar, int __index) {
252  const vector signed short __zero = (vector signed short)0;
253  vector signed short __vec = __builtin_shufflevector(__zero, __zero,
254  -1, -1, -1, -1, -1, -1, -1, -1);
255  __vec[__index & 7] = __scalar;
256  return __vec;
257 }
258 
259 static inline __ATTRS_o_ai vector unsigned short
260 vec_promote(unsigned short __scalar, int __index) {
261  const vector unsigned short __zero = (vector unsigned short)0;
262  vector unsigned short __vec = __builtin_shufflevector(__zero, __zero,
263  -1, -1, -1, -1, -1, -1, -1, -1);
264  __vec[__index & 7] = __scalar;
265  return __vec;
266 }
267 
268 static inline __ATTRS_o_ai vector signed int
269 vec_promote(signed int __scalar, int __index) {
270  const vector signed int __zero = (vector signed int)0;
271  vector signed int __vec = __builtin_shufflevector(__zero, __zero,
272  -1, -1, -1, -1);
273  __vec[__index & 3] = __scalar;
274  return __vec;
275 }
276 
277 static inline __ATTRS_o_ai vector unsigned int
278 vec_promote(unsigned int __scalar, int __index) {
279  const vector unsigned int __zero = (vector unsigned int)0;
280  vector unsigned int __vec = __builtin_shufflevector(__zero, __zero,
281  -1, -1, -1, -1);
282  __vec[__index & 3] = __scalar;
283  return __vec;
284 }
285 
286 static inline __ATTRS_o_ai vector signed long long
287 vec_promote(signed long long __scalar, int __index) {
288  const vector signed long long __zero = (vector signed long long)0;
289  vector signed long long __vec = __builtin_shufflevector(__zero, __zero,
290  -1, -1);
291  __vec[__index & 1] = __scalar;
292  return __vec;
293 }
294 
295 static inline __ATTRS_o_ai vector unsigned long long
296 vec_promote(unsigned long long __scalar, int __index) {
297  const vector unsigned long long __zero = (vector unsigned long long)0;
298  vector unsigned long long __vec = __builtin_shufflevector(__zero, __zero,
299  -1, -1);
300  __vec[__index & 1] = __scalar;
301  return __vec;
302 }
303 
304 #if __ARCH__ >= 12
305 static inline __ATTRS_o_ai vector float
306 vec_promote(float __scalar, int __index) {
307  const vector float __zero = (vector float)0;
308  vector float __vec = __builtin_shufflevector(__zero, __zero, -1, -1, -1, -1);
309  __vec[__index & 3] = __scalar;
310  return __vec;
311 }
312 #endif
313 
314 static inline __ATTRS_o_ai vector double
315 vec_promote(double __scalar, int __index) {
316  const vector double __zero = (vector double)0;
317  vector double __vec = __builtin_shufflevector(__zero, __zero, -1, -1);
318  __vec[__index & 1] = __scalar;
319  return __vec;
320 }
321 
322 /*-- vec_insert_and_zero ----------------------------------------------------*/
323 
324 static inline __ATTRS_o_ai vector signed char
325 vec_insert_and_zero(const signed char *__ptr) {
326  vector signed char __vec = (vector signed char)0;
327  __vec[7] = *__ptr;
328  return __vec;
329 }
330 
331 static inline __ATTRS_o_ai vector unsigned char
332 vec_insert_and_zero(const unsigned char *__ptr) {
333  vector unsigned char __vec = (vector unsigned char)0;
334  __vec[7] = *__ptr;
335  return __vec;
336 }
337 
338 static inline __ATTRS_o_ai vector signed short
339 vec_insert_and_zero(const signed short *__ptr) {
340  vector signed short __vec = (vector signed short)0;
341  __vec[3] = *__ptr;
342  return __vec;
343 }
344 
345 static inline __ATTRS_o_ai vector unsigned short
346 vec_insert_and_zero(const unsigned short *__ptr) {
347  vector unsigned short __vec = (vector unsigned short)0;
348  __vec[3] = *__ptr;
349  return __vec;
350 }
351 
352 static inline __ATTRS_o_ai vector signed int
353 vec_insert_and_zero(const signed int *__ptr) {
354  vector signed int __vec = (vector signed int)0;
355  __vec[1] = *__ptr;
356  return __vec;
357 }
358 
359 static inline __ATTRS_o_ai vector unsigned int
360 vec_insert_and_zero(const unsigned int *__ptr) {
361  vector unsigned int __vec = (vector unsigned int)0;
362  __vec[1] = *__ptr;
363  return __vec;
364 }
365 
366 static inline __ATTRS_o_ai vector signed long long
367 vec_insert_and_zero(const signed long long *__ptr) {
368  vector signed long long __vec = (vector signed long long)0;
369  __vec[0] = *__ptr;
370  return __vec;
371 }
372 
373 static inline __ATTRS_o_ai vector unsigned long long
374 vec_insert_and_zero(const unsigned long long *__ptr) {
375  vector unsigned long long __vec = (vector unsigned long long)0;
376  __vec[0] = *__ptr;
377  return __vec;
378 }
379 
380 #if __ARCH__ >= 12
381 static inline __ATTRS_o_ai vector float
382 vec_insert_and_zero(const float *__ptr) {
383  vector float __vec = (vector float)0;
384  __vec[0] = *__ptr;
385  return __vec;
386 }
387 #endif
388 
389 static inline __ATTRS_o_ai vector double
390 vec_insert_and_zero(const double *__ptr) {
391  vector double __vec = (vector double)0;
392  __vec[0] = *__ptr;
393  return __vec;
394 }
395 
396 /*-- vec_perm ---------------------------------------------------------------*/
397 
398 static inline __ATTRS_o_ai vector signed char
399 vec_perm(vector signed char __a, vector signed char __b,
400  vector unsigned char __c) {
401  return (vector signed char)__builtin_s390_vperm(
402  (vector unsigned char)__a, (vector unsigned char)__b, __c);
403 }
404 
405 static inline __ATTRS_o_ai vector unsigned char
406 vec_perm(vector unsigned char __a, vector unsigned char __b,
407  vector unsigned char __c) {
408  return (vector unsigned char)__builtin_s390_vperm(
409  (vector unsigned char)__a, (vector unsigned char)__b, __c);
410 }
411 
412 static inline __ATTRS_o_ai vector bool char
413 vec_perm(vector bool char __a, vector bool char __b,
414  vector unsigned char __c) {
415  return (vector bool char)__builtin_s390_vperm(
416  (vector unsigned char)__a, (vector unsigned char)__b, __c);
417 }
418 
419 static inline __ATTRS_o_ai vector signed short
420 vec_perm(vector signed short __a, vector signed short __b,
421  vector unsigned char __c) {
422  return (vector signed short)__builtin_s390_vperm(
423  (vector unsigned char)__a, (vector unsigned char)__b, __c);
424 }
425 
426 static inline __ATTRS_o_ai vector unsigned short
427 vec_perm(vector unsigned short __a, vector unsigned short __b,
428  vector unsigned char __c) {
429  return (vector unsigned short)__builtin_s390_vperm(
430  (vector unsigned char)__a, (vector unsigned char)__b, __c);
431 }
432 
433 static inline __ATTRS_o_ai vector bool short
434 vec_perm(vector bool short __a, vector bool short __b,
435  vector unsigned char __c) {
436  return (vector bool short)__builtin_s390_vperm(
437  (vector unsigned char)__a, (vector unsigned char)__b, __c);
438 }
439 
440 static inline __ATTRS_o_ai vector signed int
441 vec_perm(vector signed int __a, vector signed int __b,
442  vector unsigned char __c) {
443  return (vector signed int)__builtin_s390_vperm(
444  (vector unsigned char)__a, (vector unsigned char)__b, __c);
445 }
446 
447 static inline __ATTRS_o_ai vector unsigned int
448 vec_perm(vector unsigned int __a, vector unsigned int __b,
449  vector unsigned char __c) {
450  return (vector unsigned int)__builtin_s390_vperm(
451  (vector unsigned char)__a, (vector unsigned char)__b, __c);
452 }
453 
454 static inline __ATTRS_o_ai vector bool int
455 vec_perm(vector bool int __a, vector bool int __b,
456  vector unsigned char __c) {
457  return (vector bool int)__builtin_s390_vperm(
458  (vector unsigned char)__a, (vector unsigned char)__b, __c);
459 }
460 
461 static inline __ATTRS_o_ai vector signed long long
462 vec_perm(vector signed long long __a, vector signed long long __b,
463  vector unsigned char __c) {
464  return (vector signed long long)__builtin_s390_vperm(
465  (vector unsigned char)__a, (vector unsigned char)__b, __c);
466 }
467 
468 static inline __ATTRS_o_ai vector unsigned long long
469 vec_perm(vector unsigned long long __a, vector unsigned long long __b,
470  vector unsigned char __c) {
471  return (vector unsigned long long)__builtin_s390_vperm(
472  (vector unsigned char)__a, (vector unsigned char)__b, __c);
473 }
474 
475 static inline __ATTRS_o_ai vector bool long long
476 vec_perm(vector bool long long __a, vector bool long long __b,
477  vector unsigned char __c) {
478  return (vector bool long long)__builtin_s390_vperm(
479  (vector unsigned char)__a, (vector unsigned char)__b, __c);
480 }
481 
482 #if __ARCH__ >= 12
483 static inline __ATTRS_o_ai vector float
484 vec_perm(vector float __a, vector float __b,
485  vector unsigned char __c) {
486  return (vector float)__builtin_s390_vperm(
487  (vector unsigned char)__a, (vector unsigned char)__b, __c);
488 }
489 #endif
490 
491 static inline __ATTRS_o_ai vector double
492 vec_perm(vector double __a, vector double __b,
493  vector unsigned char __c) {
494  return (vector double)__builtin_s390_vperm(
495  (vector unsigned char)__a, (vector unsigned char)__b, __c);
496 }
497 
498 /*-- vec_permi --------------------------------------------------------------*/
499 
500 // This prototype is deprecated.
501 extern __ATTRS_o vector signed long long
502 vec_permi(vector signed long long __a, vector signed long long __b, int __c)
503  __constant_range(__c, 0, 3);
504 
505 // This prototype is deprecated.
506 extern __ATTRS_o vector unsigned long long
507 vec_permi(vector unsigned long long __a, vector unsigned long long __b, int __c)
508  __constant_range(__c, 0, 3);
509 
510 // This prototype is deprecated.
511 extern __ATTRS_o vector bool long long
512 vec_permi(vector bool long long __a, vector bool long long __b, int __c)
513  __constant_range(__c, 0, 3);
514 
515 // This prototype is deprecated.
516 extern __ATTRS_o vector double
517 vec_permi(vector double __a, vector double __b, int __c)
518  __constant_range(__c, 0, 3);
519 
520 #define vec_permi(X, Y, Z) ((__typeof__((vec_permi)((X), (Y), (Z)))) \
521  __builtin_s390_vpdi((vector unsigned long long)(X), \
522  (vector unsigned long long)(Y), \
523  (((Z) & 2) << 1) | ((Z) & 1)))
524 
525 /*-- vec_bperm_u128 ---------------------------------------------------------*/
526 
527 #if __ARCH__ >= 12
528 static inline __ATTRS_ai vector unsigned long long
529 vec_bperm_u128(vector unsigned char __a, vector unsigned char __b) {
530  return __builtin_s390_vbperm(__a, __b);
531 }
532 #endif
533 
534 /*-- vec_sel ----------------------------------------------------------------*/
535 
536 static inline __ATTRS_o_ai vector signed char
537 vec_sel(vector signed char __a, vector signed char __b,
538  vector unsigned char __c) {
539  return ((vector signed char)__c & __b) | (~(vector signed char)__c & __a);
540 }
541 
542 static inline __ATTRS_o_ai vector signed char
543 vec_sel(vector signed char __a, vector signed char __b, vector bool char __c) {
544  return ((vector signed char)__c & __b) | (~(vector signed char)__c & __a);
545 }
546 
547 static inline __ATTRS_o_ai vector bool char
548 vec_sel(vector bool char __a, vector bool char __b, vector unsigned char __c) {
549  return ((vector bool char)__c & __b) | (~(vector bool char)__c & __a);
550 }
551 
552 static inline __ATTRS_o_ai vector bool char
553 vec_sel(vector bool char __a, vector bool char __b, vector bool char __c) {
554  return (__c & __b) | (~__c & __a);
555 }
556 
557 static inline __ATTRS_o_ai vector unsigned char
558 vec_sel(vector unsigned char __a, vector unsigned char __b,
559  vector unsigned char __c) {
560  return (__c & __b) | (~__c & __a);
561 }
562 
563 static inline __ATTRS_o_ai vector unsigned char
564 vec_sel(vector unsigned char __a, vector unsigned char __b,
565  vector bool char __c) {
566  return ((vector unsigned char)__c & __b) | (~(vector unsigned char)__c & __a);
567 }
568 
569 static inline __ATTRS_o_ai vector signed short
570 vec_sel(vector signed short __a, vector signed short __b,
571  vector unsigned short __c) {
572  return ((vector signed short)__c & __b) | (~(vector signed short)__c & __a);
573 }
574 
575 static inline __ATTRS_o_ai vector signed short
576 vec_sel(vector signed short __a, vector signed short __b,
577  vector bool short __c) {
578  return ((vector signed short)__c & __b) | (~(vector signed short)__c & __a);
579 }
580 
581 static inline __ATTRS_o_ai vector bool short
582 vec_sel(vector bool short __a, vector bool short __b,
583  vector unsigned short __c) {
584  return ((vector bool short)__c & __b) | (~(vector bool short)__c & __a);
585 }
586 
587 static inline __ATTRS_o_ai vector bool short
588 vec_sel(vector bool short __a, vector bool short __b, vector bool short __c) {
589  return (__c & __b) | (~__c & __a);
590 }
591 
592 static inline __ATTRS_o_ai vector unsigned short
593 vec_sel(vector unsigned short __a, vector unsigned short __b,
594  vector unsigned short __c) {
595  return (__c & __b) | (~__c & __a);
596 }
597 
598 static inline __ATTRS_o_ai vector unsigned short
599 vec_sel(vector unsigned short __a, vector unsigned short __b,
600  vector bool short __c) {
601  return (((vector unsigned short)__c & __b) |
602  (~(vector unsigned short)__c & __a));
603 }
604 
605 static inline __ATTRS_o_ai vector signed int
606 vec_sel(vector signed int __a, vector signed int __b,
607  vector unsigned int __c) {
608  return ((vector signed int)__c & __b) | (~(vector signed int)__c & __a);
609 }
610 
611 static inline __ATTRS_o_ai vector signed int
612 vec_sel(vector signed int __a, vector signed int __b, vector bool int __c) {
613  return ((vector signed int)__c & __b) | (~(vector signed int)__c & __a);
614 }
615 
616 static inline __ATTRS_o_ai vector bool int
617 vec_sel(vector bool int __a, vector bool int __b, vector unsigned int __c) {
618  return ((vector bool int)__c & __b) | (~(vector bool int)__c & __a);
619 }
620 
621 static inline __ATTRS_o_ai vector bool int
622 vec_sel(vector bool int __a, vector bool int __b, vector bool int __c) {
623  return (__c & __b) | (~__c & __a);
624 }
625 
626 static inline __ATTRS_o_ai vector unsigned int
627 vec_sel(vector unsigned int __a, vector unsigned int __b,
628  vector unsigned int __c) {
629  return (__c & __b) | (~__c & __a);
630 }
631 
632 static inline __ATTRS_o_ai vector unsigned int
633 vec_sel(vector unsigned int __a, vector unsigned int __b, vector bool int __c) {
634  return ((vector unsigned int)__c & __b) | (~(vector unsigned int)__c & __a);
635 }
636 
637 static inline __ATTRS_o_ai vector signed long long
638 vec_sel(vector signed long long __a, vector signed long long __b,
639  vector unsigned long long __c) {
640  return (((vector signed long long)__c & __b) |
641  (~(vector signed long long)__c & __a));
642 }
643 
644 static inline __ATTRS_o_ai vector signed long long
645 vec_sel(vector signed long long __a, vector signed long long __b,
646  vector bool long long __c) {
647  return (((vector signed long long)__c & __b) |
648  (~(vector signed long long)__c & __a));
649 }
650 
651 static inline __ATTRS_o_ai vector bool long long
652 vec_sel(vector bool long long __a, vector bool long long __b,
653  vector unsigned long long __c) {
654  return (((vector bool long long)__c & __b) |
655  (~(vector bool long long)__c & __a));
656 }
657 
658 static inline __ATTRS_o_ai vector bool long long
659 vec_sel(vector bool long long __a, vector bool long long __b,
660  vector bool long long __c) {
661  return (__c & __b) | (~__c & __a);
662 }
663 
664 static inline __ATTRS_o_ai vector unsigned long long
665 vec_sel(vector unsigned long long __a, vector unsigned long long __b,
666  vector unsigned long long __c) {
667  return (__c & __b) | (~__c & __a);
668 }
669 
670 static inline __ATTRS_o_ai vector unsigned long long
671 vec_sel(vector unsigned long long __a, vector unsigned long long __b,
672  vector bool long long __c) {
673  return (((vector unsigned long long)__c & __b) |
674  (~(vector unsigned long long)__c & __a));
675 }
676 
677 #if __ARCH__ >= 12
678 static inline __ATTRS_o_ai vector float
679 vec_sel(vector float __a, vector float __b, vector unsigned int __c) {
680  return (vector float)((__c & (vector unsigned int)__b) |
681  (~__c & (vector unsigned int)__a));
682 }
683 
684 static inline __ATTRS_o_ai vector float
685 vec_sel(vector float __a, vector float __b, vector bool int __c) {
686  vector unsigned int __ac = (vector unsigned int)__a;
687  vector unsigned int __bc = (vector unsigned int)__b;
688  vector unsigned int __cc = (vector unsigned int)__c;
689  return (vector float)((__cc & __bc) | (~__cc & __ac));
690 }
691 #endif
692 
693 static inline __ATTRS_o_ai vector double
694 vec_sel(vector double __a, vector double __b, vector unsigned long long __c) {
695  return (vector double)((__c & (vector unsigned long long)__b) |
696  (~__c & (vector unsigned long long)__a));
697 }
698 
699 static inline __ATTRS_o_ai vector double
700 vec_sel(vector double __a, vector double __b, vector bool long long __c) {
701  vector unsigned long long __ac = (vector unsigned long long)__a;
702  vector unsigned long long __bc = (vector unsigned long long)__b;
703  vector unsigned long long __cc = (vector unsigned long long)__c;
704  return (vector double)((__cc & __bc) | (~__cc & __ac));
705 }
706 
707 /*-- vec_gather_element -----------------------------------------------------*/
708 
709 static inline __ATTRS_o_ai vector signed int
710 vec_gather_element(vector signed int __vec, vector unsigned int __offset,
711  const signed int *__ptr, int __index)
712  __constant_range(__index, 0, 3) {
713  __vec[__index] = *(const signed int *)(
714  (__INTPTR_TYPE__)__ptr + (__INTPTR_TYPE__)__offset[__index]);
715  return __vec;
716 }
717 
718 static inline __ATTRS_o_ai vector bool int
719 vec_gather_element(vector bool int __vec, vector unsigned int __offset,
720  const unsigned int *__ptr, int __index)
721  __constant_range(__index, 0, 3) {
722  __vec[__index] = *(const unsigned int *)(
723  (__INTPTR_TYPE__)__ptr + (__INTPTR_TYPE__)__offset[__index]);
724  return __vec;
725 }
726 
727 static inline __ATTRS_o_ai vector unsigned int
728 vec_gather_element(vector unsigned int __vec, vector unsigned int __offset,
729  const unsigned int *__ptr, int __index)
730  __constant_range(__index, 0, 3) {
731  __vec[__index] = *(const unsigned int *)(
732  (__INTPTR_TYPE__)__ptr + (__INTPTR_TYPE__)__offset[__index]);
733  return __vec;
734 }
735 
736 static inline __ATTRS_o_ai vector signed long long
737 vec_gather_element(vector signed long long __vec,
738  vector unsigned long long __offset,
739  const signed long long *__ptr, int __index)
740  __constant_range(__index, 0, 1) {
741  __vec[__index] = *(const signed long long *)(
742  (__INTPTR_TYPE__)__ptr + (__INTPTR_TYPE__)__offset[__index]);
743  return __vec;
744 }
745 
746 static inline __ATTRS_o_ai vector bool long long
747 vec_gather_element(vector bool long long __vec,
748  vector unsigned long long __offset,
749  const unsigned long long *__ptr, int __index)
750  __constant_range(__index, 0, 1) {
751  __vec[__index] = *(const unsigned long long *)(
752  (__INTPTR_TYPE__)__ptr + (__INTPTR_TYPE__)__offset[__index]);
753  return __vec;
754 }
755 
756 static inline __ATTRS_o_ai vector unsigned long long
757 vec_gather_element(vector unsigned long long __vec,
758  vector unsigned long long __offset,
759  const unsigned long long *__ptr, int __index)
760  __constant_range(__index, 0, 1) {
761  __vec[__index] = *(const unsigned long long *)(
762  (__INTPTR_TYPE__)__ptr + (__INTPTR_TYPE__)__offset[__index]);
763  return __vec;
764 }
765 
766 #if __ARCH__ >= 12
767 static inline __ATTRS_o_ai vector float
768 vec_gather_element(vector float __vec, vector unsigned int __offset,
769  const float *__ptr, int __index)
770  __constant_range(__index, 0, 3) {
771  __vec[__index] = *(const float *)(
772  (__INTPTR_TYPE__)__ptr + (__INTPTR_TYPE__)__offset[__index]);
773  return __vec;
774 }
775 #endif
776 
777 static inline __ATTRS_o_ai vector double
778 vec_gather_element(vector double __vec, vector unsigned long long __offset,
779  const double *__ptr, int __index)
780  __constant_range(__index, 0, 1) {
781  __vec[__index] = *(const double *)(
782  (__INTPTR_TYPE__)__ptr + (__INTPTR_TYPE__)__offset[__index]);
783  return __vec;
784 }
785 
786 /*-- vec_scatter_element ----------------------------------------------------*/
787 
788 static inline __ATTRS_o_ai void
789 vec_scatter_element(vector signed int __vec, vector unsigned int __offset,
790  signed int *__ptr, int __index)
791  __constant_range(__index, 0, 3) {
792  *(signed int *)((__INTPTR_TYPE__)__ptr + __offset[__index]) =
793  __vec[__index];
794 }
795 
796 static inline __ATTRS_o_ai void
797 vec_scatter_element(vector bool int __vec, vector unsigned int __offset,
798  unsigned int *__ptr, int __index)
799  __constant_range(__index, 0, 3) {
800  *(unsigned int *)((__INTPTR_TYPE__)__ptr + __offset[__index]) =
801  __vec[__index];
802 }
803 
804 static inline __ATTRS_o_ai void
805 vec_scatter_element(vector unsigned int __vec, vector unsigned int __offset,
806  unsigned int *__ptr, int __index)
807  __constant_range(__index, 0, 3) {
808  *(unsigned int *)((__INTPTR_TYPE__)__ptr + __offset[__index]) =
809  __vec[__index];
810 }
811 
812 static inline __ATTRS_o_ai void
813 vec_scatter_element(vector signed long long __vec,
814  vector unsigned long long __offset,
815  signed long long *__ptr, int __index)
816  __constant_range(__index, 0, 1) {
817  *(signed long long *)((__INTPTR_TYPE__)__ptr + __offset[__index]) =
818  __vec[__index];
819 }
820 
821 static inline __ATTRS_o_ai void
822 vec_scatter_element(vector bool long long __vec,
823  vector unsigned long long __offset,
824  unsigned long long *__ptr, int __index)
825  __constant_range(__index, 0, 1) {
826  *(unsigned long long *)((__INTPTR_TYPE__)__ptr + __offset[__index]) =
827  __vec[__index];
828 }
829 
830 static inline __ATTRS_o_ai void
831 vec_scatter_element(vector unsigned long long __vec,
832  vector unsigned long long __offset,
833  unsigned long long *__ptr, int __index)
834  __constant_range(__index, 0, 1) {
835  *(unsigned long long *)((__INTPTR_TYPE__)__ptr + __offset[__index]) =
836  __vec[__index];
837 }
838 
839 #if __ARCH__ >= 12
840 static inline __ATTRS_o_ai void
841 vec_scatter_element(vector float __vec, vector unsigned int __offset,
842  float *__ptr, int __index)
843  __constant_range(__index, 0, 3) {
844  *(float *)((__INTPTR_TYPE__)__ptr + __offset[__index]) =
845  __vec[__index];
846 }
847 #endif
848 
849 static inline __ATTRS_o_ai void
850 vec_scatter_element(vector double __vec, vector unsigned long long __offset,
851  double *__ptr, int __index)
852  __constant_range(__index, 0, 1) {
853  *(double *)((__INTPTR_TYPE__)__ptr + __offset[__index]) =
854  __vec[__index];
855 }
856 
857 /*-- vec_xl -----------------------------------------------------------------*/
858 
859 static inline __ATTRS_o_ai vector signed char
860 vec_xl(long __offset, const signed char *__ptr) {
861  return *(const vector signed char *)((__INTPTR_TYPE__)__ptr + __offset);
862 }
863 
864 static inline __ATTRS_o_ai vector unsigned char
865 vec_xl(long __offset, const unsigned char *__ptr) {
866  return *(const vector unsigned char *)((__INTPTR_TYPE__)__ptr + __offset);
867 }
868 
869 static inline __ATTRS_o_ai vector signed short
870 vec_xl(long __offset, const signed short *__ptr) {
871  return *(const vector signed short *)((__INTPTR_TYPE__)__ptr + __offset);
872 }
873 
874 static inline __ATTRS_o_ai vector unsigned short
875 vec_xl(long __offset, const unsigned short *__ptr) {
876  return *(const vector unsigned short *)((__INTPTR_TYPE__)__ptr + __offset);
877 }
878 
879 static inline __ATTRS_o_ai vector signed int
880 vec_xl(long __offset, const signed int *__ptr) {
881  return *(const vector signed int *)((__INTPTR_TYPE__)__ptr + __offset);
882 }
883 
884 static inline __ATTRS_o_ai vector unsigned int
885 vec_xl(long __offset, const unsigned int *__ptr) {
886  return *(const vector unsigned int *)((__INTPTR_TYPE__)__ptr + __offset);
887 }
888 
889 static inline __ATTRS_o_ai vector signed long long
890 vec_xl(long __offset, const signed long long *__ptr) {
891  return *(const vector signed long long *)((__INTPTR_TYPE__)__ptr + __offset);
892 }
893 
894 static inline __ATTRS_o_ai vector unsigned long long
895 vec_xl(long __offset, const unsigned long long *__ptr) {
896  return *(const vector unsigned long long *)((__INTPTR_TYPE__)__ptr + __offset);
897 }
898 
899 #if __ARCH__ >= 12
900 static inline __ATTRS_o_ai vector float
901 vec_xl(long __offset, const float *__ptr) {
902  return *(const vector float *)((__INTPTR_TYPE__)__ptr + __offset);
903 }
904 #endif
905 
906 static inline __ATTRS_o_ai vector double
907 vec_xl(long __offset, const double *__ptr) {
908  return *(const vector double *)((__INTPTR_TYPE__)__ptr + __offset);
909 }
910 
911 /*-- vec_xld2 ---------------------------------------------------------------*/
912 
913 // This prototype is deprecated.
914 static inline __ATTRS_o_ai vector signed char
915 vec_xld2(long __offset, const signed char *__ptr) {
916  return *(const vector signed char *)((__INTPTR_TYPE__)__ptr + __offset);
917 }
918 
919 // This prototype is deprecated.
920 static inline __ATTRS_o_ai vector unsigned char
921 vec_xld2(long __offset, const unsigned char *__ptr) {
922  return *(const vector unsigned char *)((__INTPTR_TYPE__)__ptr + __offset);
923 }
924 
925 // This prototype is deprecated.
926 static inline __ATTRS_o_ai vector signed short
927 vec_xld2(long __offset, const signed short *__ptr) {
928  return *(const vector signed short *)((__INTPTR_TYPE__)__ptr + __offset);
929 }
930 
931 // This prototype is deprecated.
932 static inline __ATTRS_o_ai vector unsigned short
933 vec_xld2(long __offset, const unsigned short *__ptr) {
934  return *(const vector unsigned short *)((__INTPTR_TYPE__)__ptr + __offset);
935 }
936 
937 // This prototype is deprecated.
938 static inline __ATTRS_o_ai vector signed int
939 vec_xld2(long __offset, const signed int *__ptr) {
940  return *(const vector signed int *)((__INTPTR_TYPE__)__ptr + __offset);
941 }
942 
943 // This prototype is deprecated.
944 static inline __ATTRS_o_ai vector unsigned int
945 vec_xld2(long __offset, const unsigned int *__ptr) {
946  return *(const vector unsigned int *)((__INTPTR_TYPE__)__ptr + __offset);
947 }
948 
949 // This prototype is deprecated.
950 static inline __ATTRS_o_ai vector signed long long
951 vec_xld2(long __offset, const signed long long *__ptr) {
952  return *(const vector signed long long *)((__INTPTR_TYPE__)__ptr + __offset);
953 }
954 
955 // This prototype is deprecated.
956 static inline __ATTRS_o_ai vector unsigned long long
957 vec_xld2(long __offset, const unsigned long long *__ptr) {
958  return *(const vector unsigned long long *)((__INTPTR_TYPE__)__ptr + __offset);
959 }
960 
961 // This prototype is deprecated.
962 static inline __ATTRS_o_ai vector double
963 vec_xld2(long __offset, const double *__ptr) {
964  return *(const vector double *)((__INTPTR_TYPE__)__ptr + __offset);
965 }
966 
967 /*-- vec_xlw4 ---------------------------------------------------------------*/
968 
969 // This prototype is deprecated.
970 static inline __ATTRS_o_ai vector signed char
971 vec_xlw4(long __offset, const signed char *__ptr) {
972  return *(const vector signed char *)((__INTPTR_TYPE__)__ptr + __offset);
973 }
974 
975 // This prototype is deprecated.
976 static inline __ATTRS_o_ai vector unsigned char
977 vec_xlw4(long __offset, const unsigned char *__ptr) {
978  return *(const vector unsigned char *)((__INTPTR_TYPE__)__ptr + __offset);
979 }
980 
981 // This prototype is deprecated.
982 static inline __ATTRS_o_ai vector signed short
983 vec_xlw4(long __offset, const signed short *__ptr) {
984  return *(const vector signed short *)((__INTPTR_TYPE__)__ptr + __offset);
985 }
986 
987 // This prototype is deprecated.
988 static inline __ATTRS_o_ai vector unsigned short
989 vec_xlw4(long __offset, const unsigned short *__ptr) {
990  return *(const vector unsigned short *)((__INTPTR_TYPE__)__ptr + __offset);
991 }
992 
993 // This prototype is deprecated.
994 static inline __ATTRS_o_ai vector signed int
995 vec_xlw4(long __offset, const signed int *__ptr) {
996  return *(const vector signed int *)((__INTPTR_TYPE__)__ptr + __offset);
997 }
998 
999 // This prototype is deprecated.
1000 static inline __ATTRS_o_ai vector unsigned int
1001 vec_xlw4(long __offset, const unsigned int *__ptr) {
1002  return *(const vector unsigned int *)((__INTPTR_TYPE__)__ptr + __offset);
1003 }
1004 
1005 /*-- vec_xst ----------------------------------------------------------------*/
1006 
1007 static inline __ATTRS_o_ai void
1008 vec_xst(vector signed char __vec, long __offset, signed char *__ptr) {
1009  *(vector signed char *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
1010 }
1011 
1012 static inline __ATTRS_o_ai void
1013 vec_xst(vector unsigned char __vec, long __offset, unsigned char *__ptr) {
1014  *(vector unsigned char *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
1015 }
1016 
1017 static inline __ATTRS_o_ai void
1018 vec_xst(vector signed short __vec, long __offset, signed short *__ptr) {
1019  *(vector signed short *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
1020 }
1021 
1022 static inline __ATTRS_o_ai void
1023 vec_xst(vector unsigned short __vec, long __offset, unsigned short *__ptr) {
1024  *(vector unsigned short *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
1025 }
1026 
1027 static inline __ATTRS_o_ai void
1028 vec_xst(vector signed int __vec, long __offset, signed int *__ptr) {
1029  *(vector signed int *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
1030 }
1031 
1032 static inline __ATTRS_o_ai void
1033 vec_xst(vector unsigned int __vec, long __offset, unsigned int *__ptr) {
1034  *(vector unsigned int *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
1035 }
1036 
1037 static inline __ATTRS_o_ai void
1038 vec_xst(vector signed long long __vec, long __offset,
1039  signed long long *__ptr) {
1040  *(vector signed long long *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
1041 }
1042 
1043 static inline __ATTRS_o_ai void
1044 vec_xst(vector unsigned long long __vec, long __offset,
1045  unsigned long long *__ptr) {
1046  *(vector unsigned long long *)((__INTPTR_TYPE__)__ptr + __offset) =
1047  __vec;
1048 }
1049 
1050 #if __ARCH__ >= 12
1051 static inline __ATTRS_o_ai void
1052 vec_xst(vector float __vec, long __offset, float *__ptr) {
1053  *(vector float *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
1054 }
1055 #endif
1056 
1057 static inline __ATTRS_o_ai void
1058 vec_xst(vector double __vec, long __offset, double *__ptr) {
1059  *(vector double *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
1060 }
1061 
1062 /*-- vec_xstd2 --------------------------------------------------------------*/
1063 
1064 // This prototype is deprecated.
1065 static inline __ATTRS_o_ai void
1066 vec_xstd2(vector signed char __vec, long __offset, signed char *__ptr) {
1067  *(vector signed char *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
1068 }
1069 
1070 // This prototype is deprecated.
1071 static inline __ATTRS_o_ai void
1072 vec_xstd2(vector unsigned char __vec, long __offset, unsigned char *__ptr) {
1073  *(vector unsigned char *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
1074 }
1075 
1076 // This prototype is deprecated.
1077 static inline __ATTRS_o_ai void
1078 vec_xstd2(vector signed short __vec, long __offset, signed short *__ptr) {
1079  *(vector signed short *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
1080 }
1081 
1082 // This prototype is deprecated.
1083 static inline __ATTRS_o_ai void
1084 vec_xstd2(vector unsigned short __vec, long __offset, unsigned short *__ptr) {
1085  *(vector unsigned short *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
1086 }
1087 
1088 // This prototype is deprecated.
1089 static inline __ATTRS_o_ai void
1090 vec_xstd2(vector signed int __vec, long __offset, signed int *__ptr) {
1091  *(vector signed int *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
1092 }
1093 
1094 // This prototype is deprecated.
1095 static inline __ATTRS_o_ai void
1096 vec_xstd2(vector unsigned int __vec, long __offset, unsigned int *__ptr) {
1097  *(vector unsigned int *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
1098 }
1099 
1100 // This prototype is deprecated.
1101 static inline __ATTRS_o_ai void
1102 vec_xstd2(vector signed long long __vec, long __offset,
1103  signed long long *__ptr) {
1104  *(vector signed long long *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
1105 }
1106 
1107 // This prototype is deprecated.
1108 static inline __ATTRS_o_ai void
1109 vec_xstd2(vector unsigned long long __vec, long __offset,
1110  unsigned long long *__ptr) {
1111  *(vector unsigned long long *)((__INTPTR_TYPE__)__ptr + __offset) =
1112  __vec;
1113 }
1114 
1115 // This prototype is deprecated.
1116 static inline __ATTRS_o_ai void
1117 vec_xstd2(vector double __vec, long __offset, double *__ptr) {
1118  *(vector double *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
1119 }
1120 
1121 /*-- vec_xstw4 --------------------------------------------------------------*/
1122 
1123 // This prototype is deprecated.
1124 static inline __ATTRS_o_ai void
1125 vec_xstw4(vector signed char __vec, long __offset, signed char *__ptr) {
1126  *(vector signed char *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
1127 }
1128 
1129 // This prototype is deprecated.
1130 static inline __ATTRS_o_ai void
1131 vec_xstw4(vector unsigned char __vec, long __offset, unsigned char *__ptr) {
1132  *(vector unsigned char *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
1133 }
1134 
1135 // This prototype is deprecated.
1136 static inline __ATTRS_o_ai void
1137 vec_xstw4(vector signed short __vec, long __offset, signed short *__ptr) {
1138  *(vector signed short *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
1139 }
1140 
1141 // This prototype is deprecated.
1142 static inline __ATTRS_o_ai void
1143 vec_xstw4(vector unsigned short __vec, long __offset, unsigned short *__ptr) {
1144  *(vector unsigned short *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
1145 }
1146 
1147 // This prototype is deprecated.
1148 static inline __ATTRS_o_ai void
1149 vec_xstw4(vector signed int __vec, long __offset, signed int *__ptr) {
1150  *(vector signed int *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
1151 }
1152 
1153 // This prototype is deprecated.
1154 static inline __ATTRS_o_ai void
1155 vec_xstw4(vector unsigned int __vec, long __offset, unsigned int *__ptr) {
1156  *(vector unsigned int *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
1157 }
1158 
1159 /*-- vec_load_bndry ---------------------------------------------------------*/
1160 
1161 extern __ATTRS_o vector signed char
1162 vec_load_bndry(const signed char *__ptr, unsigned short __len)
1163  __constant_pow2_range(__len, 64, 4096);
1164 
1165 extern __ATTRS_o vector unsigned char
1166 vec_load_bndry(const unsigned char *__ptr, unsigned short __len)
1167  __constant_pow2_range(__len, 64, 4096);
1168 
1169 extern __ATTRS_o vector signed short
1170 vec_load_bndry(const signed short *__ptr, unsigned short __len)
1171  __constant_pow2_range(__len, 64, 4096);
1172 
1173 extern __ATTRS_o vector unsigned short
1174 vec_load_bndry(const unsigned short *__ptr, unsigned short __len)
1175  __constant_pow2_range(__len, 64, 4096);
1176 
1177 extern __ATTRS_o vector signed int
1178 vec_load_bndry(const signed int *__ptr, unsigned short __len)
1179  __constant_pow2_range(__len, 64, 4096);
1180 
1181 extern __ATTRS_o vector unsigned int
1182 vec_load_bndry(const unsigned int *__ptr, unsigned short __len)
1183  __constant_pow2_range(__len, 64, 4096);
1184 
1185 extern __ATTRS_o vector signed long long
1186 vec_load_bndry(const signed long long *__ptr, unsigned short __len)
1187  __constant_pow2_range(__len, 64, 4096);
1188 
1189 extern __ATTRS_o vector unsigned long long
1190 vec_load_bndry(const unsigned long long *__ptr, unsigned short __len)
1191  __constant_pow2_range(__len, 64, 4096);
1192 
1193 #if __ARCH__ >= 12
1194 extern __ATTRS_o vector float
1195 vec_load_bndry(const float *__ptr, unsigned short __len)
1196  __constant_pow2_range(__len, 64, 4096);
1197 #endif
1198 
1199 extern __ATTRS_o vector double
1200 vec_load_bndry(const double *__ptr, unsigned short __len)
1201  __constant_pow2_range(__len, 64, 4096);
1202 
1203 #define vec_load_bndry(X, Y) ((__typeof__((vec_load_bndry)((X), (Y)))) \
1204  __builtin_s390_vlbb((X), ((Y) == 64 ? 0 : \
1205  (Y) == 128 ? 1 : \
1206  (Y) == 256 ? 2 : \
1207  (Y) == 512 ? 3 : \
1208  (Y) == 1024 ? 4 : \
1209  (Y) == 2048 ? 5 : \
1210  (Y) == 4096 ? 6 : -1)))
1211 
1212 /*-- vec_load_len -----------------------------------------------------------*/
1213 
1214 static inline __ATTRS_o_ai vector signed char
1215 vec_load_len(const signed char *__ptr, unsigned int __len) {
1216  return (vector signed char)__builtin_s390_vll(__len, __ptr);
1217 }
1218 
1219 static inline __ATTRS_o_ai vector unsigned char
1220 vec_load_len(const unsigned char *__ptr, unsigned int __len) {
1221  return (vector unsigned char)__builtin_s390_vll(__len, __ptr);
1222 }
1223 
1224 static inline __ATTRS_o_ai vector signed short
1225 vec_load_len(const signed short *__ptr, unsigned int __len) {
1226  return (vector signed short)__builtin_s390_vll(__len, __ptr);
1227 }
1228 
1229 static inline __ATTRS_o_ai vector unsigned short
1230 vec_load_len(const unsigned short *__ptr, unsigned int __len) {
1231  return (vector unsigned short)__builtin_s390_vll(__len, __ptr);
1232 }
1233 
1234 static inline __ATTRS_o_ai vector signed int
1235 vec_load_len(const signed int *__ptr, unsigned int __len) {
1236  return (vector signed int)__builtin_s390_vll(__len, __ptr);
1237 }
1238 
1239 static inline __ATTRS_o_ai vector unsigned int
1240 vec_load_len(const unsigned int *__ptr, unsigned int __len) {
1241  return (vector unsigned int)__builtin_s390_vll(__len, __ptr);
1242 }
1243 
1244 static inline __ATTRS_o_ai vector signed long long
1245 vec_load_len(const signed long long *__ptr, unsigned int __len) {
1246  return (vector signed long long)__builtin_s390_vll(__len, __ptr);
1247 }
1248 
1249 static inline __ATTRS_o_ai vector unsigned long long
1250 vec_load_len(const unsigned long long *__ptr, unsigned int __len) {
1251  return (vector unsigned long long)__builtin_s390_vll(__len, __ptr);
1252 }
1253 
1254 #if __ARCH__ >= 12
1255 static inline __ATTRS_o_ai vector float
1256 vec_load_len(const float *__ptr, unsigned int __len) {
1257  return (vector float)__builtin_s390_vll(__len, __ptr);
1258 }
1259 #endif
1260 
1261 static inline __ATTRS_o_ai vector double
1262 vec_load_len(const double *__ptr, unsigned int __len) {
1263  return (vector double)__builtin_s390_vll(__len, __ptr);
1264 }
1265 
1266 /*-- vec_load_len_r ---------------------------------------------------------*/
1267 
1268 #if __ARCH__ >= 12
1269 static inline __ATTRS_ai vector unsigned char
1270 vec_load_len_r(const unsigned char *__ptr, unsigned int __len) {
1271  return (vector unsigned char)__builtin_s390_vlrl(__len, __ptr);
1272 }
1273 #endif
1274 
1275 /*-- vec_store_len ----------------------------------------------------------*/
1276 
1277 static inline __ATTRS_o_ai void
1278 vec_store_len(vector signed char __vec, signed char *__ptr,
1279  unsigned int __len) {
1280  __builtin_s390_vstl((vector signed char)__vec, __len, __ptr);
1281 }
1282 
1283 static inline __ATTRS_o_ai void
1284 vec_store_len(vector unsigned char __vec, unsigned char *__ptr,
1285  unsigned int __len) {
1286  __builtin_s390_vstl((vector signed char)__vec, __len, __ptr);
1287 }
1288 
1289 static inline __ATTRS_o_ai void
1290 vec_store_len(vector signed short __vec, signed short *__ptr,
1291  unsigned int __len) {
1292  __builtin_s390_vstl((vector signed char)__vec, __len, __ptr);
1293 }
1294 
1295 static inline __ATTRS_o_ai void
1296 vec_store_len(vector unsigned short __vec, unsigned short *__ptr,
1297  unsigned int __len) {
1298  __builtin_s390_vstl((vector signed char)__vec, __len, __ptr);
1299 }
1300 
1301 static inline __ATTRS_o_ai void
1302 vec_store_len(vector signed int __vec, signed int *__ptr,
1303  unsigned int __len) {
1304  __builtin_s390_vstl((vector signed char)__vec, __len, __ptr);
1305 }
1306 
1307 static inline __ATTRS_o_ai void
1308 vec_store_len(vector unsigned int __vec, unsigned int *__ptr,
1309  unsigned int __len) {
1310  __builtin_s390_vstl((vector signed char)__vec, __len, __ptr);
1311 }
1312 
1313 static inline __ATTRS_o_ai void
1314 vec_store_len(vector signed long long __vec, signed long long *__ptr,
1315  unsigned int __len) {
1316  __builtin_s390_vstl((vector signed char)__vec, __len, __ptr);
1317 }
1318 
1319 static inline __ATTRS_o_ai void
1320 vec_store_len(vector unsigned long long __vec, unsigned long long *__ptr,
1321  unsigned int __len) {
1322  __builtin_s390_vstl((vector signed char)__vec, __len, __ptr);
1323 }
1324 
1325 #if __ARCH__ >= 12
1326 static inline __ATTRS_o_ai void
1327 vec_store_len(vector float __vec, float *__ptr,
1328  unsigned int __len) {
1329  __builtin_s390_vstl((vector signed char)__vec, __len, __ptr);
1330 }
1331 #endif
1332 
1333 static inline __ATTRS_o_ai void
1334 vec_store_len(vector double __vec, double *__ptr,
1335  unsigned int __len) {
1336  __builtin_s390_vstl((vector signed char)__vec, __len, __ptr);
1337 }
1338 
1339 /*-- vec_store_len_r --------------------------------------------------------*/
1340 
1341 #if __ARCH__ >= 12
1342 static inline __ATTRS_ai void
1343 vec_store_len_r(vector unsigned char __vec, unsigned char *__ptr,
1344  unsigned int __len) {
1345  __builtin_s390_vstrl((vector signed char)__vec, __len, __ptr);
1346 }
1347 #endif
1348 
1349 /*-- vec_load_pair ----------------------------------------------------------*/
1350 
1351 static inline __ATTRS_o_ai vector signed long long
1352 vec_load_pair(signed long long __a, signed long long __b) {
1353  return (vector signed long long)(__a, __b);
1354 }
1355 
1356 static inline __ATTRS_o_ai vector unsigned long long
1357 vec_load_pair(unsigned long long __a, unsigned long long __b) {
1358  return (vector unsigned long long)(__a, __b);
1359 }
1360 
1361 /*-- vec_genmask ------------------------------------------------------------*/
1362 
1363 static inline __ATTRS_o_ai vector unsigned char
1364 vec_genmask(unsigned short __mask)
1365  __constant(__mask) {
1366  return (vector unsigned char)(
1367  __mask & 0x8000 ? 0xff : 0,
1368  __mask & 0x4000 ? 0xff : 0,
1369  __mask & 0x2000 ? 0xff : 0,
1370  __mask & 0x1000 ? 0xff : 0,
1371  __mask & 0x0800 ? 0xff : 0,
1372  __mask & 0x0400 ? 0xff : 0,
1373  __mask & 0x0200 ? 0xff : 0,
1374  __mask & 0x0100 ? 0xff : 0,
1375  __mask & 0x0080 ? 0xff : 0,
1376  __mask & 0x0040 ? 0xff : 0,
1377  __mask & 0x0020 ? 0xff : 0,
1378  __mask & 0x0010 ? 0xff : 0,
1379  __mask & 0x0008 ? 0xff : 0,
1380  __mask & 0x0004 ? 0xff : 0,
1381  __mask & 0x0002 ? 0xff : 0,
1382  __mask & 0x0001 ? 0xff : 0);
1383 }
1384 
1385 /*-- vec_genmasks_* ---------------------------------------------------------*/
1386 
1387 static inline __ATTRS_o_ai vector unsigned char
1388 vec_genmasks_8(unsigned char __first, unsigned char __last)
1389  __constant(__first) __constant(__last) {
1390  unsigned char __bit1 = __first & 7;
1391  unsigned char __bit2 = __last & 7;
1392  unsigned char __mask1 = (unsigned char)(1U << (7 - __bit1) << 1) - 1;
1393  unsigned char __mask2 = (unsigned char)(1U << (7 - __bit2)) - 1;
1394  unsigned char __value = (__bit1 <= __bit2 ?
1395  __mask1 & ~__mask2 :
1396  __mask1 | ~__mask2);
1397  return (vector unsigned char)__value;
1398 }
1399 
1400 static inline __ATTRS_o_ai vector unsigned short
1401 vec_genmasks_16(unsigned char __first, unsigned char __last)
1402  __constant(__first) __constant(__last) {
1403  unsigned char __bit1 = __first & 15;
1404  unsigned char __bit2 = __last & 15;
1405  unsigned short __mask1 = (unsigned short)(1U << (15 - __bit1) << 1) - 1;
1406  unsigned short __mask2 = (unsigned short)(1U << (15 - __bit2)) - 1;
1407  unsigned short __value = (__bit1 <= __bit2 ?
1408  __mask1 & ~__mask2 :
1409  __mask1 | ~__mask2);
1410  return (vector unsigned short)__value;
1411 }
1412 
1413 static inline __ATTRS_o_ai vector unsigned int
1414 vec_genmasks_32(unsigned char __first, unsigned char __last)
1415  __constant(__first) __constant(__last) {
1416  unsigned char __bit1 = __first & 31;
1417  unsigned char __bit2 = __last & 31;
1418  unsigned int __mask1 = (1U << (31 - __bit1) << 1) - 1;
1419  unsigned int __mask2 = (1U << (31 - __bit2)) - 1;
1420  unsigned int __value = (__bit1 <= __bit2 ?
1421  __mask1 & ~__mask2 :
1422  __mask1 | ~__mask2);
1423  return (vector unsigned int)__value;
1424 }
1425 
1426 static inline __ATTRS_o_ai vector unsigned long long
1427 vec_genmasks_64(unsigned char __first, unsigned char __last)
1428  __constant(__first) __constant(__last) {
1429  unsigned char __bit1 = __first & 63;
1430  unsigned char __bit2 = __last & 63;
1431  unsigned long long __mask1 = (1ULL << (63 - __bit1) << 1) - 1;
1432  unsigned long long __mask2 = (1ULL << (63 - __bit2)) - 1;
1433  unsigned long long __value = (__bit1 <= __bit2 ?
1434  __mask1 & ~__mask2 :
1435  __mask1 | ~__mask2);
1436  return (vector unsigned long long)__value;
1437 }
1438 
1439 /*-- vec_splat --------------------------------------------------------------*/
1440 
1441 static inline __ATTRS_o_ai vector signed char
1442 vec_splat(vector signed char __vec, int __index)
1443  __constant_range(__index, 0, 15) {
1444  return (vector signed char)__vec[__index];
1445 }
1446 
1447 static inline __ATTRS_o_ai vector bool char
1448 vec_splat(vector bool char __vec, int __index)
1449  __constant_range(__index, 0, 15) {
1450  return (vector bool char)(vector unsigned char)__vec[__index];
1451 }
1452 
1453 static inline __ATTRS_o_ai vector unsigned char
1454 vec_splat(vector unsigned char __vec, int __index)
1455  __constant_range(__index, 0, 15) {
1456  return (vector unsigned char)__vec[__index];
1457 }
1458 
1459 static inline __ATTRS_o_ai vector signed short
1460 vec_splat(vector signed short __vec, int __index)
1461  __constant_range(__index, 0, 7) {
1462  return (vector signed short)__vec[__index];
1463 }
1464 
1465 static inline __ATTRS_o_ai vector bool short
1466 vec_splat(vector bool short __vec, int __index)
1467  __constant_range(__index, 0, 7) {
1468  return (vector bool short)(vector unsigned short)__vec[__index];
1469 }
1470 
1471 static inline __ATTRS_o_ai vector unsigned short
1472 vec_splat(vector unsigned short __vec, int __index)
1473  __constant_range(__index, 0, 7) {
1474  return (vector unsigned short)__vec[__index];
1475 }
1476 
1477 static inline __ATTRS_o_ai vector signed int
1478 vec_splat(vector signed int __vec, int __index)
1479  __constant_range(__index, 0, 3) {
1480  return (vector signed int)__vec[__index];
1481 }
1482 
1483 static inline __ATTRS_o_ai vector bool int
1484 vec_splat(vector bool int __vec, int __index)
1485  __constant_range(__index, 0, 3) {
1486  return (vector bool int)(vector unsigned int)__vec[__index];
1487 }
1488 
1489 static inline __ATTRS_o_ai vector unsigned int
1490 vec_splat(vector unsigned int __vec, int __index)
1491  __constant_range(__index, 0, 3) {
1492  return (vector unsigned int)__vec[__index];
1493 }
1494 
1495 static inline __ATTRS_o_ai vector signed long long
1496 vec_splat(vector signed long long __vec, int __index)
1497  __constant_range(__index, 0, 1) {
1498  return (vector signed long long)__vec[__index];
1499 }
1500 
1501 static inline __ATTRS_o_ai vector bool long long
1502 vec_splat(vector bool long long __vec, int __index)
1503  __constant_range(__index, 0, 1) {
1504  return (vector bool long long)(vector unsigned long long)__vec[__index];
1505 }
1506 
1507 static inline __ATTRS_o_ai vector unsigned long long
1508 vec_splat(vector unsigned long long __vec, int __index)
1509  __constant_range(__index, 0, 1) {
1510  return (vector unsigned long long)__vec[__index];
1511 }
1512 
1513 #if __ARCH__ >= 12
1514 static inline __ATTRS_o_ai vector float
1515 vec_splat(vector float __vec, int __index)
1516  __constant_range(__index, 0, 3) {
1517  return (vector float)__vec[__index];
1518 }
1519 #endif
1520 
1521 static inline __ATTRS_o_ai vector double
1522 vec_splat(vector double __vec, int __index)
1523  __constant_range(__index, 0, 1) {
1524  return (vector double)__vec[__index];
1525 }
1526 
1527 /*-- vec_splat_s* -----------------------------------------------------------*/
1528 
1529 static inline __ATTRS_ai vector signed char
1530 vec_splat_s8(signed char __scalar)
1531  __constant(__scalar) {
1532  return (vector signed char)__scalar;
1533 }
1534 
1535 static inline __ATTRS_ai vector signed short
1536 vec_splat_s16(signed short __scalar)
1537  __constant(__scalar) {
1538  return (vector signed short)__scalar;
1539 }
1540 
1541 static inline __ATTRS_ai vector signed int
1542 vec_splat_s32(signed short __scalar)
1543  __constant(__scalar) {
1544  return (vector signed int)(signed int)__scalar;
1545 }
1546 
1547 static inline __ATTRS_ai vector signed long long
1548 vec_splat_s64(signed short __scalar)
1549  __constant(__scalar) {
1550  return (vector signed long long)(signed long)__scalar;
1551 }
1552 
1553 /*-- vec_splat_u* -----------------------------------------------------------*/
1554 
1555 static inline __ATTRS_ai vector unsigned char
1556 vec_splat_u8(unsigned char __scalar)
1557  __constant(__scalar) {
1558  return (vector unsigned char)__scalar;
1559 }
1560 
1561 static inline __ATTRS_ai vector unsigned short
1562 vec_splat_u16(unsigned short __scalar)
1563  __constant(__scalar) {
1564  return (vector unsigned short)__scalar;
1565 }
1566 
1567 static inline __ATTRS_ai vector unsigned int
1568 vec_splat_u32(signed short __scalar)
1569  __constant(__scalar) {
1570  return (vector unsigned int)(signed int)__scalar;
1571 }
1572 
1573 static inline __ATTRS_ai vector unsigned long long
1574 vec_splat_u64(signed short __scalar)
1575  __constant(__scalar) {
1576  return (vector unsigned long long)(signed long long)__scalar;
1577 }
1578 
1579 /*-- vec_splats -------------------------------------------------------------*/
1580 
1581 static inline __ATTRS_o_ai vector signed char
1582 vec_splats(signed char __scalar) {
1583  return (vector signed char)__scalar;
1584 }
1585 
1586 static inline __ATTRS_o_ai vector unsigned char
1587 vec_splats(unsigned char __scalar) {
1588  return (vector unsigned char)__scalar;
1589 }
1590 
1591 static inline __ATTRS_o_ai vector signed short
1592 vec_splats(signed short __scalar) {
1593  return (vector signed short)__scalar;
1594 }
1595 
1596 static inline __ATTRS_o_ai vector unsigned short
1597 vec_splats(unsigned short __scalar) {
1598  return (vector unsigned short)__scalar;
1599 }
1600 
1601 static inline __ATTRS_o_ai vector signed int
1602 vec_splats(signed int __scalar) {
1603  return (vector signed int)__scalar;
1604 }
1605 
1606 static inline __ATTRS_o_ai vector unsigned int
1607 vec_splats(unsigned int __scalar) {
1608  return (vector unsigned int)__scalar;
1609 }
1610 
1611 static inline __ATTRS_o_ai vector signed long long
1612 vec_splats(signed long long __scalar) {
1613  return (vector signed long long)__scalar;
1614 }
1615 
1616 static inline __ATTRS_o_ai vector unsigned long long
1617 vec_splats(unsigned long long __scalar) {
1618  return (vector unsigned long long)__scalar;
1619 }
1620 
1621 #if __ARCH__ >= 12
1622 static inline __ATTRS_o_ai vector float
1623 vec_splats(float __scalar) {
1624  return (vector float)__scalar;
1625 }
1626 #endif
1627 
1628 static inline __ATTRS_o_ai vector double
1629 vec_splats(double __scalar) {
1630  return (vector double)__scalar;
1631 }
1632 
1633 /*-- vec_extend_s64 ---------------------------------------------------------*/
1634 
1635 static inline __ATTRS_o_ai vector signed long long
1636 vec_extend_s64(vector signed char __a) {
1637  return (vector signed long long)(__a[7], __a[15]);
1638 }
1639 
1640 static inline __ATTRS_o_ai vector signed long long
1641 vec_extend_s64(vector signed short __a) {
1642  return (vector signed long long)(__a[3], __a[7]);
1643 }
1644 
1645 static inline __ATTRS_o_ai vector signed long long
1646 vec_extend_s64(vector signed int __a) {
1647  return (vector signed long long)(__a[1], __a[3]);
1648 }
1649 
1650 /*-- vec_mergeh -------------------------------------------------------------*/
1651 
1652 static inline __ATTRS_o_ai vector signed char
1653 vec_mergeh(vector signed char __a, vector signed char __b) {
1654  return (vector signed char)(
1655  __a[0], __b[0], __a[1], __b[1], __a[2], __b[2], __a[3], __b[3],
1656  __a[4], __b[4], __a[5], __b[5], __a[6], __b[6], __a[7], __b[7]);
1657 }
1658 
1659 static inline __ATTRS_o_ai vector bool char
1660 vec_mergeh(vector bool char __a, vector bool char __b) {
1661  return (vector bool char)(
1662  __a[0], __b[0], __a[1], __b[1], __a[2], __b[2], __a[3], __b[3],
1663  __a[4], __b[4], __a[5], __b[5], __a[6], __b[6], __a[7], __b[7]);
1664 }
1665 
1666 static inline __ATTRS_o_ai vector unsigned char
1667 vec_mergeh(vector unsigned char __a, vector unsigned char __b) {
1668  return (vector unsigned char)(
1669  __a[0], __b[0], __a[1], __b[1], __a[2], __b[2], __a[3], __b[3],
1670  __a[4], __b[4], __a[5], __b[5], __a[6], __b[6], __a[7], __b[7]);
1671 }
1672 
1673 static inline __ATTRS_o_ai vector signed short
1674 vec_mergeh(vector signed short __a, vector signed short __b) {
1675  return (vector signed short)(
1676  __a[0], __b[0], __a[1], __b[1], __a[2], __b[2], __a[3], __b[3]);
1677 }
1678 
1679 static inline __ATTRS_o_ai vector bool short
1680 vec_mergeh(vector bool short __a, vector bool short __b) {
1681  return (vector bool short)(
1682  __a[0], __b[0], __a[1], __b[1], __a[2], __b[2], __a[3], __b[3]);
1683 }
1684 
1685 static inline __ATTRS_o_ai vector unsigned short
1686 vec_mergeh(vector unsigned short __a, vector unsigned short __b) {
1687  return (vector unsigned short)(
1688  __a[0], __b[0], __a[1], __b[1], __a[2], __b[2], __a[3], __b[3]);
1689 }
1690 
1691 static inline __ATTRS_o_ai vector signed int
1692 vec_mergeh(vector signed int __a, vector signed int __b) {
1693  return (vector signed int)(__a[0], __b[0], __a[1], __b[1]);
1694 }
1695 
1696 static inline __ATTRS_o_ai vector bool int
1697 vec_mergeh(vector bool int __a, vector bool int __b) {
1698  return (vector bool int)(__a[0], __b[0], __a[1], __b[1]);
1699 }
1700 
1701 static inline __ATTRS_o_ai vector unsigned int
1702 vec_mergeh(vector unsigned int __a, vector unsigned int __b) {
1703  return (vector unsigned int)(__a[0], __b[0], __a[1], __b[1]);
1704 }
1705 
1706 static inline __ATTRS_o_ai vector signed long long
1707 vec_mergeh(vector signed long long __a, vector signed long long __b) {
1708  return (vector signed long long)(__a[0], __b[0]);
1709 }
1710 
1711 static inline __ATTRS_o_ai vector bool long long
1712 vec_mergeh(vector bool long long __a, vector bool long long __b) {
1713  return (vector bool long long)(__a[0], __b[0]);
1714 }
1715 
1716 static inline __ATTRS_o_ai vector unsigned long long
1717 vec_mergeh(vector unsigned long long __a, vector unsigned long long __b) {
1718  return (vector unsigned long long)(__a[0], __b[0]);
1719 }
1720 
1721 #if __ARCH__ >= 12
1722 static inline __ATTRS_o_ai vector float
1723 vec_mergeh(vector float __a, vector float __b) {
1724  return (vector float)(__a[0], __b[0], __a[1], __b[1]);
1725 }
1726 #endif
1727 
1728 static inline __ATTRS_o_ai vector double
1729 vec_mergeh(vector double __a, vector double __b) {
1730  return (vector double)(__a[0], __b[0]);
1731 }
1732 
1733 /*-- vec_mergel -------------------------------------------------------------*/
1734 
1735 static inline __ATTRS_o_ai vector signed char
1736 vec_mergel(vector signed char __a, vector signed char __b) {
1737  return (vector signed char)(
1738  __a[8], __b[8], __a[9], __b[9], __a[10], __b[10], __a[11], __b[11],
1739  __a[12], __b[12], __a[13], __b[13], __a[14], __b[14], __a[15], __b[15]);
1740 }
1741 
1742 static inline __ATTRS_o_ai vector bool char
1743 vec_mergel(vector bool char __a, vector bool char __b) {
1744  return (vector bool char)(
1745  __a[8], __b[8], __a[9], __b[9], __a[10], __b[10], __a[11], __b[11],
1746  __a[12], __b[12], __a[13], __b[13], __a[14], __b[14], __a[15], __b[15]);
1747 }
1748 
1749 static inline __ATTRS_o_ai vector unsigned char
1750 vec_mergel(vector unsigned char __a, vector unsigned char __b) {
1751  return (vector unsigned char)(
1752  __a[8], __b[8], __a[9], __b[9], __a[10], __b[10], __a[11], __b[11],
1753  __a[12], __b[12], __a[13], __b[13], __a[14], __b[14], __a[15], __b[15]);
1754 }
1755 
1756 static inline __ATTRS_o_ai vector signed short
1757 vec_mergel(vector signed short __a, vector signed short __b) {
1758  return (vector signed short)(
1759  __a[4], __b[4], __a[5], __b[5], __a[6], __b[6], __a[7], __b[7]);
1760 }
1761 
1762 static inline __ATTRS_o_ai vector bool short
1763 vec_mergel(vector bool short __a, vector bool short __b) {
1764  return (vector bool short)(
1765  __a[4], __b[4], __a[5], __b[5], __a[6], __b[6], __a[7], __b[7]);
1766 }
1767 
1768 static inline __ATTRS_o_ai vector unsigned short
1769 vec_mergel(vector unsigned short __a, vector unsigned short __b) {
1770  return (vector unsigned short)(
1771  __a[4], __b[4], __a[5], __b[5], __a[6], __b[6], __a[7], __b[7]);
1772 }
1773 
1774 static inline __ATTRS_o_ai vector signed int
1775 vec_mergel(vector signed int __a, vector signed int __b) {
1776  return (vector signed int)(__a[2], __b[2], __a[3], __b[3]);
1777 }
1778 
1779 static inline __ATTRS_o_ai vector bool int
1780 vec_mergel(vector bool int __a, vector bool int __b) {
1781  return (vector bool int)(__a[2], __b[2], __a[3], __b[3]);
1782 }
1783 
1784 static inline __ATTRS_o_ai vector unsigned int
1785 vec_mergel(vector unsigned int __a, vector unsigned int __b) {
1786  return (vector unsigned int)(__a[2], __b[2], __a[3], __b[3]);
1787 }
1788 
1789 static inline __ATTRS_o_ai vector signed long long
1790 vec_mergel(vector signed long long __a, vector signed long long __b) {
1791  return (vector signed long long)(__a[1], __b[1]);
1792 }
1793 
1794 static inline __ATTRS_o_ai vector bool long long
1795 vec_mergel(vector bool long long __a, vector bool long long __b) {
1796  return (vector bool long long)(__a[1], __b[1]);
1797 }
1798 
1799 static inline __ATTRS_o_ai vector unsigned long long
1800 vec_mergel(vector unsigned long long __a, vector unsigned long long __b) {
1801  return (vector unsigned long long)(__a[1], __b[1]);
1802 }
1803 
1804 #if __ARCH__ >= 12
1805 static inline __ATTRS_o_ai vector float
1806 vec_mergel(vector float __a, vector float __b) {
1807  return (vector float)(__a[2], __b[2], __a[3], __b[3]);
1808 }
1809 #endif
1810 
1811 static inline __ATTRS_o_ai vector double
1812 vec_mergel(vector double __a, vector double __b) {
1813  return (vector double)(__a[1], __b[1]);
1814 }
1815 
1816 /*-- vec_pack ---------------------------------------------------------------*/
1817 
1818 static inline __ATTRS_o_ai vector signed char
1819 vec_pack(vector signed short __a, vector signed short __b) {
1820  vector signed char __ac = (vector signed char)__a;
1821  vector signed char __bc = (vector signed char)__b;
1822  return (vector signed char)(
1823  __ac[1], __ac[3], __ac[5], __ac[7], __ac[9], __ac[11], __ac[13], __ac[15],
1824  __bc[1], __bc[3], __bc[5], __bc[7], __bc[9], __bc[11], __bc[13], __bc[15]);
1825 }
1826 
1827 static inline __ATTRS_o_ai vector bool char
1828 vec_pack(vector bool short __a, vector bool short __b) {
1829  vector bool char __ac = (vector bool char)__a;
1830  vector bool char __bc = (vector bool char)__b;
1831  return (vector bool char)(
1832  __ac[1], __ac[3], __ac[5], __ac[7], __ac[9], __ac[11], __ac[13], __ac[15],
1833  __bc[1], __bc[3], __bc[5], __bc[7], __bc[9], __bc[11], __bc[13], __bc[15]);
1834 }
1835 
1836 static inline __ATTRS_o_ai vector unsigned char
1837 vec_pack(vector unsigned short __a, vector unsigned short __b) {
1838  vector unsigned char __ac = (vector unsigned char)__a;
1839  vector unsigned char __bc = (vector unsigned char)__b;
1840  return (vector unsigned char)(
1841  __ac[1], __ac[3], __ac[5], __ac[7], __ac[9], __ac[11], __ac[13], __ac[15],
1842  __bc[1], __bc[3], __bc[5], __bc[7], __bc[9], __bc[11], __bc[13], __bc[15]);
1843 }
1844 
1845 static inline __ATTRS_o_ai vector signed short
1846 vec_pack(vector signed int __a, vector signed int __b) {
1847  vector signed short __ac = (vector signed short)__a;
1848  vector signed short __bc = (vector signed short)__b;
1849  return (vector signed short)(
1850  __ac[1], __ac[3], __ac[5], __ac[7],
1851  __bc[1], __bc[3], __bc[5], __bc[7]);
1852 }
1853 
1854 static inline __ATTRS_o_ai vector bool short
1855 vec_pack(vector bool int __a, vector bool int __b) {
1856  vector bool short __ac = (vector bool short)__a;
1857  vector bool short __bc = (vector bool short)__b;
1858  return (vector bool short)(
1859  __ac[1], __ac[3], __ac[5], __ac[7],
1860  __bc[1], __bc[3], __bc[5], __bc[7]);
1861 }
1862 
1863 static inline __ATTRS_o_ai vector unsigned short
1864 vec_pack(vector unsigned int __a, vector unsigned int __b) {
1865  vector unsigned short __ac = (vector unsigned short)__a;
1866  vector unsigned short __bc = (vector unsigned short)__b;
1867  return (vector unsigned short)(
1868  __ac[1], __ac[3], __ac[5], __ac[7],
1869  __bc[1], __bc[3], __bc[5], __bc[7]);
1870 }
1871 
1872 static inline __ATTRS_o_ai vector signed int
1873 vec_pack(vector signed long long __a, vector signed long long __b) {
1874  vector signed int __ac = (vector signed int)__a;
1875  vector signed int __bc = (vector signed int)__b;
1876  return (vector signed int)(__ac[1], __ac[3], __bc[1], __bc[3]);
1877 }
1878 
1879 static inline __ATTRS_o_ai vector bool int
1880 vec_pack(vector bool long long __a, vector bool long long __b) {
1881  vector bool int __ac = (vector bool int)__a;
1882  vector bool int __bc = (vector bool int)__b;
1883  return (vector bool int)(__ac[1], __ac[3], __bc[1], __bc[3]);
1884 }
1885 
1886 static inline __ATTRS_o_ai vector unsigned int
1887 vec_pack(vector unsigned long long __a, vector unsigned long long __b) {
1888  vector unsigned int __ac = (vector unsigned int)__a;
1889  vector unsigned int __bc = (vector unsigned int)__b;
1890  return (vector unsigned int)(__ac[1], __ac[3], __bc[1], __bc[3]);
1891 }
1892 
1893 /*-- vec_packs --------------------------------------------------------------*/
1894 
1895 static inline __ATTRS_o_ai vector signed char
1896 vec_packs(vector signed short __a, vector signed short __b) {
1897  return __builtin_s390_vpksh(__a, __b);
1898 }
1899 
1900 static inline __ATTRS_o_ai vector unsigned char
1901 vec_packs(vector unsigned short __a, vector unsigned short __b) {
1902  return __builtin_s390_vpklsh(__a, __b);
1903 }
1904 
1905 static inline __ATTRS_o_ai vector signed short
1906 vec_packs(vector signed int __a, vector signed int __b) {
1907  return __builtin_s390_vpksf(__a, __b);
1908 }
1909 
1910 static inline __ATTRS_o_ai vector unsigned short
1911 vec_packs(vector unsigned int __a, vector unsigned int __b) {
1912  return __builtin_s390_vpklsf(__a, __b);
1913 }
1914 
1915 static inline __ATTRS_o_ai vector signed int
1916 vec_packs(vector signed long long __a, vector signed long long __b) {
1917  return __builtin_s390_vpksg(__a, __b);
1918 }
1919 
1920 static inline __ATTRS_o_ai vector unsigned int
1921 vec_packs(vector unsigned long long __a, vector unsigned long long __b) {
1922  return __builtin_s390_vpklsg(__a, __b);
1923 }
1924 
1925 /*-- vec_packs_cc -----------------------------------------------------------*/
1926 
1927 static inline __ATTRS_o_ai vector signed char
1928 vec_packs_cc(vector signed short __a, vector signed short __b, int *__cc) {
1929  return __builtin_s390_vpkshs(__a, __b, __cc);
1930 }
1931 
1932 static inline __ATTRS_o_ai vector unsigned char
1933 vec_packs_cc(vector unsigned short __a, vector unsigned short __b, int *__cc) {
1934  return __builtin_s390_vpklshs(__a, __b, __cc);
1935 }
1936 
1937 static inline __ATTRS_o_ai vector signed short
1938 vec_packs_cc(vector signed int __a, vector signed int __b, int *__cc) {
1939  return __builtin_s390_vpksfs(__a, __b, __cc);
1940 }
1941 
1942 static inline __ATTRS_o_ai vector unsigned short
1943 vec_packs_cc(vector unsigned int __a, vector unsigned int __b, int *__cc) {
1944  return __builtin_s390_vpklsfs(__a, __b, __cc);
1945 }
1946 
1947 static inline __ATTRS_o_ai vector signed int
1948 vec_packs_cc(vector signed long long __a, vector signed long long __b,
1949  int *__cc) {
1950  return __builtin_s390_vpksgs(__a, __b, __cc);
1951 }
1952 
1953 static inline __ATTRS_o_ai vector unsigned int
1954 vec_packs_cc(vector unsigned long long __a, vector unsigned long long __b,
1955  int *__cc) {
1956  return __builtin_s390_vpklsgs(__a, __b, __cc);
1957 }
1958 
1959 /*-- vec_packsu -------------------------------------------------------------*/
1960 
1961 static inline __ATTRS_o_ai vector unsigned char
1962 vec_packsu(vector signed short __a, vector signed short __b) {
1963  const vector signed short __zero = (vector signed short)0;
1964  return __builtin_s390_vpklsh(
1965  (vector unsigned short)(__a >= __zero) & (vector unsigned short)__a,
1966  (vector unsigned short)(__b >= __zero) & (vector unsigned short)__b);
1967 }
1968 
1969 static inline __ATTRS_o_ai vector unsigned char
1970 vec_packsu(vector unsigned short __a, vector unsigned short __b) {
1971  return __builtin_s390_vpklsh(__a, __b);
1972 }
1973 
1974 static inline __ATTRS_o_ai vector unsigned short
1975 vec_packsu(vector signed int __a, vector signed int __b) {
1976  const vector signed int __zero = (vector signed int)0;
1977  return __builtin_s390_vpklsf(
1978  (vector unsigned int)(__a >= __zero) & (vector unsigned int)__a,
1979  (vector unsigned int)(__b >= __zero) & (vector unsigned int)__b);
1980 }
1981 
1982 static inline __ATTRS_o_ai vector unsigned short
1983 vec_packsu(vector unsigned int __a, vector unsigned int __b) {
1984  return __builtin_s390_vpklsf(__a, __b);
1985 }
1986 
1987 static inline __ATTRS_o_ai vector unsigned int
1988 vec_packsu(vector signed long long __a, vector signed long long __b) {
1989  const vector signed long long __zero = (vector signed long long)0;
1990  return __builtin_s390_vpklsg(
1991  (vector unsigned long long)(__a >= __zero) &
1992  (vector unsigned long long)__a,
1993  (vector unsigned long long)(__b >= __zero) &
1994  (vector unsigned long long)__b);
1995 }
1996 
1997 static inline __ATTRS_o_ai vector unsigned int
1998 vec_packsu(vector unsigned long long __a, vector unsigned long long __b) {
1999  return __builtin_s390_vpklsg(__a, __b);
2000 }
2001 
2002 /*-- vec_packsu_cc ----------------------------------------------------------*/
2003 
2004 static inline __ATTRS_o_ai vector unsigned char
2005 vec_packsu_cc(vector unsigned short __a, vector unsigned short __b, int *__cc) {
2006  return __builtin_s390_vpklshs(__a, __b, __cc);
2007 }
2008 
2009 static inline __ATTRS_o_ai vector unsigned short
2010 vec_packsu_cc(vector unsigned int __a, vector unsigned int __b, int *__cc) {
2011  return __builtin_s390_vpklsfs(__a, __b, __cc);
2012 }
2013 
2014 static inline __ATTRS_o_ai vector unsigned int
2015 vec_packsu_cc(vector unsigned long long __a, vector unsigned long long __b,
2016  int *__cc) {
2017  return __builtin_s390_vpklsgs(__a, __b, __cc);
2018 }
2019 
2020 /*-- vec_unpackh ------------------------------------------------------------*/
2021 
2022 static inline __ATTRS_o_ai vector signed short
2023 vec_unpackh(vector signed char __a) {
2024  return __builtin_s390_vuphb(__a);
2025 }
2026 
2027 static inline __ATTRS_o_ai vector bool short
2028 vec_unpackh(vector bool char __a) {
2029  return (vector bool short)__builtin_s390_vuphb((vector signed char)__a);
2030 }
2031 
2032 static inline __ATTRS_o_ai vector unsigned short
2033 vec_unpackh(vector unsigned char __a) {
2034  return __builtin_s390_vuplhb(__a);
2035 }
2036 
2037 static inline __ATTRS_o_ai vector signed int
2038 vec_unpackh(vector signed short __a) {
2039  return __builtin_s390_vuphh(__a);
2040 }
2041 
2042 static inline __ATTRS_o_ai vector bool int
2043 vec_unpackh(vector bool short __a) {
2044  return (vector bool int)__builtin_s390_vuphh((vector signed short)__a);
2045 }
2046 
2047 static inline __ATTRS_o_ai vector unsigned int
2048 vec_unpackh(vector unsigned short __a) {
2049  return __builtin_s390_vuplhh(__a);
2050 }
2051 
2052 static inline __ATTRS_o_ai vector signed long long
2053 vec_unpackh(vector signed int __a) {
2054  return __builtin_s390_vuphf(__a);
2055 }
2056 
2057 static inline __ATTRS_o_ai vector bool long long
2058 vec_unpackh(vector bool int __a) {
2059  return (vector bool long long)__builtin_s390_vuphf((vector signed int)__a);
2060 }
2061 
2062 static inline __ATTRS_o_ai vector unsigned long long
2063 vec_unpackh(vector unsigned int __a) {
2064  return __builtin_s390_vuplhf(__a);
2065 }
2066 
2067 /*-- vec_unpackl ------------------------------------------------------------*/
2068 
2069 static inline __ATTRS_o_ai vector signed short
2070 vec_unpackl(vector signed char __a) {
2071  return __builtin_s390_vuplb(__a);
2072 }
2073 
2074 static inline __ATTRS_o_ai vector bool short
2075 vec_unpackl(vector bool char __a) {
2076  return (vector bool short)__builtin_s390_vuplb((vector signed char)__a);
2077 }
2078 
2079 static inline __ATTRS_o_ai vector unsigned short
2080 vec_unpackl(vector unsigned char __a) {
2081  return __builtin_s390_vupllb(__a);
2082 }
2083 
2084 static inline __ATTRS_o_ai vector signed int
2085 vec_unpackl(vector signed short __a) {
2086  return __builtin_s390_vuplhw(__a);
2087 }
2088 
2089 static inline __ATTRS_o_ai vector bool int
2090 vec_unpackl(vector bool short __a) {
2091  return (vector bool int)__builtin_s390_vuplhw((vector signed short)__a);
2092 }
2093 
2094 static inline __ATTRS_o_ai vector unsigned int
2095 vec_unpackl(vector unsigned short __a) {
2096  return __builtin_s390_vupllh(__a);
2097 }
2098 
2099 static inline __ATTRS_o_ai vector signed long long
2100 vec_unpackl(vector signed int __a) {
2101  return __builtin_s390_vuplf(__a);
2102 }
2103 
2104 static inline __ATTRS_o_ai vector bool long long
2105 vec_unpackl(vector bool int __a) {
2106  return (vector bool long long)__builtin_s390_vuplf((vector signed int)__a);
2107 }
2108 
2109 static inline __ATTRS_o_ai vector unsigned long long
2110 vec_unpackl(vector unsigned int __a) {
2111  return __builtin_s390_vupllf(__a);
2112 }
2113 
2114 /*-- vec_cmpeq --------------------------------------------------------------*/
2115 
2116 static inline __ATTRS_o_ai vector bool char
2117 vec_cmpeq(vector bool char __a, vector bool char __b) {
2118  return (vector bool char)(__a == __b);
2119 }
2120 
2121 static inline __ATTRS_o_ai vector bool char
2122 vec_cmpeq(vector signed char __a, vector signed char __b) {
2123  return (vector bool char)(__a == __b);
2124 }
2125 
2126 static inline __ATTRS_o_ai vector bool char
2127 vec_cmpeq(vector unsigned char __a, vector unsigned char __b) {
2128  return (vector bool char)(__a == __b);
2129 }
2130 
2131 static inline __ATTRS_o_ai vector bool short
2132 vec_cmpeq(vector bool short __a, vector bool short __b) {
2133  return (vector bool short)(__a == __b);
2134 }
2135 
2136 static inline __ATTRS_o_ai vector bool short
2137 vec_cmpeq(vector signed short __a, vector signed short __b) {
2138  return (vector bool short)(__a == __b);
2139 }
2140 
2141 static inline __ATTRS_o_ai vector bool short
2142 vec_cmpeq(vector unsigned short __a, vector unsigned short __b) {
2143  return (vector bool short)(__a == __b);
2144 }
2145 
2146 static inline __ATTRS_o_ai vector bool int
2147 vec_cmpeq(vector bool int __a, vector bool int __b) {
2148  return (vector bool int)(__a == __b);
2149 }
2150 
2151 static inline __ATTRS_o_ai vector bool int
2152 vec_cmpeq(vector signed int __a, vector signed int __b) {
2153  return (vector bool int)(__a == __b);
2154 }
2155 
2156 static inline __ATTRS_o_ai vector bool int
2157 vec_cmpeq(vector unsigned int __a, vector unsigned int __b) {
2158  return (vector bool int)(__a == __b);
2159 }
2160 
2161 static inline __ATTRS_o_ai vector bool long long
2162 vec_cmpeq(vector bool long long __a, vector bool long long __b) {
2163  return (vector bool long long)(__a == __b);
2164 }
2165 
2166 static inline __ATTRS_o_ai vector bool long long
2167 vec_cmpeq(vector signed long long __a, vector signed long long __b) {
2168  return (vector bool long long)(__a == __b);
2169 }
2170 
2171 static inline __ATTRS_o_ai vector bool long long
2172 vec_cmpeq(vector unsigned long long __a, vector unsigned long long __b) {
2173  return (vector bool long long)(__a == __b);
2174 }
2175 
2176 #if __ARCH__ >= 12
2177 static inline __ATTRS_o_ai vector bool int
2178 vec_cmpeq(vector float __a, vector float __b) {
2179  return (vector bool int)(__a == __b);
2180 }
2181 #endif
2182 
2183 static inline __ATTRS_o_ai vector bool long long
2184 vec_cmpeq(vector double __a, vector double __b) {
2185  return (vector bool long long)(__a == __b);
2186 }
2187 
2188 /*-- vec_cmpge --------------------------------------------------------------*/
2189 
2190 static inline __ATTRS_o_ai vector bool char
2191 vec_cmpge(vector signed char __a, vector signed char __b) {
2192  return (vector bool char)(__a >= __b);
2193 }
2194 
2195 static inline __ATTRS_o_ai vector bool char
2196 vec_cmpge(vector unsigned char __a, vector unsigned char __b) {
2197  return (vector bool char)(__a >= __b);
2198 }
2199 
2200 static inline __ATTRS_o_ai vector bool short
2201 vec_cmpge(vector signed short __a, vector signed short __b) {
2202  return (vector bool short)(__a >= __b);
2203 }
2204 
2205 static inline __ATTRS_o_ai vector bool short
2206 vec_cmpge(vector unsigned short __a, vector unsigned short __b) {
2207  return (vector bool short)(__a >= __b);
2208 }
2209 
2210 static inline __ATTRS_o_ai vector bool int
2211 vec_cmpge(vector signed int __a, vector signed int __b) {
2212  return (vector bool int)(__a >= __b);
2213 }
2214 
2215 static inline __ATTRS_o_ai vector bool int
2216 vec_cmpge(vector unsigned int __a, vector unsigned int __b) {
2217  return (vector bool int)(__a >= __b);
2218 }
2219 
2220 static inline __ATTRS_o_ai vector bool long long
2221 vec_cmpge(vector signed long long __a, vector signed long long __b) {
2222  return (vector bool long long)(__a >= __b);
2223 }
2224 
2225 static inline __ATTRS_o_ai vector bool long long
2226 vec_cmpge(vector unsigned long long __a, vector unsigned long long __b) {
2227  return (vector bool long long)(__a >= __b);
2228 }
2229 
2230 #if __ARCH__ >= 12
2231 static inline __ATTRS_o_ai vector bool int
2232 vec_cmpge(vector float __a, vector float __b) {
2233  return (vector bool int)(__a >= __b);
2234 }
2235 #endif
2236 
2237 static inline __ATTRS_o_ai vector bool long long
2238 vec_cmpge(vector double __a, vector double __b) {
2239  return (vector bool long long)(__a >= __b);
2240 }
2241 
2242 /*-- vec_cmpgt --------------------------------------------------------------*/
2243 
2244 static inline __ATTRS_o_ai vector bool char
2245 vec_cmpgt(vector signed char __a, vector signed char __b) {
2246  return (vector bool char)(__a > __b);
2247 }
2248 
2249 static inline __ATTRS_o_ai vector bool char
2250 vec_cmpgt(vector unsigned char __a, vector unsigned char __b) {
2251  return (vector bool char)(__a > __b);
2252 }
2253 
2254 static inline __ATTRS_o_ai vector bool short
2255 vec_cmpgt(vector signed short __a, vector signed short __b) {
2256  return (vector bool short)(__a > __b);
2257 }
2258 
2259 static inline __ATTRS_o_ai vector bool short
2260 vec_cmpgt(vector unsigned short __a, vector unsigned short __b) {
2261  return (vector bool short)(__a > __b);
2262 }
2263 
2264 static inline __ATTRS_o_ai vector bool int
2265 vec_cmpgt(vector signed int __a, vector signed int __b) {
2266  return (vector bool int)(__a > __b);
2267 }
2268 
2269 static inline __ATTRS_o_ai vector bool int
2270 vec_cmpgt(vector unsigned int __a, vector unsigned int __b) {
2271  return (vector bool int)(__a > __b);
2272 }
2273 
2274 static inline __ATTRS_o_ai vector bool long long
2275 vec_cmpgt(vector signed long long __a, vector signed long long __b) {
2276  return (vector bool long long)(__a > __b);
2277 }
2278 
2279 static inline __ATTRS_o_ai vector bool long long
2280 vec_cmpgt(vector unsigned long long __a, vector unsigned long long __b) {
2281  return (vector bool long long)(__a > __b);
2282 }
2283 
2284 #if __ARCH__ >= 12
2285 static inline __ATTRS_o_ai vector bool int
2286 vec_cmpgt(vector float __a, vector float __b) {
2287  return (vector bool int)(__a > __b);
2288 }
2289 #endif
2290 
2291 static inline __ATTRS_o_ai vector bool long long
2292 vec_cmpgt(vector double __a, vector double __b) {
2293  return (vector bool long long)(__a > __b);
2294 }
2295 
2296 /*-- vec_cmple --------------------------------------------------------------*/
2297 
2298 static inline __ATTRS_o_ai vector bool char
2299 vec_cmple(vector signed char __a, vector signed char __b) {
2300  return (vector bool char)(__a <= __b);
2301 }
2302 
2303 static inline __ATTRS_o_ai vector bool char
2304 vec_cmple(vector unsigned char __a, vector unsigned char __b) {
2305  return (vector bool char)(__a <= __b);
2306 }
2307 
2308 static inline __ATTRS_o_ai vector bool short
2309 vec_cmple(vector signed short __a, vector signed short __b) {
2310  return (vector bool short)(__a <= __b);
2311 }
2312 
2313 static inline __ATTRS_o_ai vector bool short
2314 vec_cmple(vector unsigned short __a, vector unsigned short __b) {
2315  return (vector bool short)(__a <= __b);
2316 }
2317 
2318 static inline __ATTRS_o_ai vector bool int
2319 vec_cmple(vector signed int __a, vector signed int __b) {
2320  return (vector bool int)(__a <= __b);
2321 }
2322 
2323 static inline __ATTRS_o_ai vector bool int
2324 vec_cmple(vector unsigned int __a, vector unsigned int __b) {
2325  return (vector bool int)(__a <= __b);
2326 }
2327 
2328 static inline __ATTRS_o_ai vector bool long long
2329 vec_cmple(vector signed long long __a, vector signed long long __b) {
2330  return (vector bool long long)(__a <= __b);
2331 }
2332 
2333 static inline __ATTRS_o_ai vector bool long long
2334 vec_cmple(vector unsigned long long __a, vector unsigned long long __b) {
2335  return (vector bool long long)(__a <= __b);
2336 }
2337 
2338 #if __ARCH__ >= 12
2339 static inline __ATTRS_o_ai vector bool int
2340 vec_cmple(vector float __a, vector float __b) {
2341  return (vector bool int)(__a <= __b);
2342 }
2343 #endif
2344 
2345 static inline __ATTRS_o_ai vector bool long long
2346 vec_cmple(vector double __a, vector double __b) {
2347  return (vector bool long long)(__a <= __b);
2348 }
2349 
2350 /*-- vec_cmplt --------------------------------------------------------------*/
2351 
2352 static inline __ATTRS_o_ai vector bool char
2353 vec_cmplt(vector signed char __a, vector signed char __b) {
2354  return (vector bool char)(__a < __b);
2355 }
2356 
2357 static inline __ATTRS_o_ai vector bool char
2358 vec_cmplt(vector unsigned char __a, vector unsigned char __b) {
2359  return (vector bool char)(__a < __b);
2360 }
2361 
2362 static inline __ATTRS_o_ai vector bool short
2363 vec_cmplt(vector signed short __a, vector signed short __b) {
2364  return (vector bool short)(__a < __b);
2365 }
2366 
2367 static inline __ATTRS_o_ai vector bool short
2368 vec_cmplt(vector unsigned short __a, vector unsigned short __b) {
2369  return (vector bool short)(__a < __b);
2370 }
2371 
2372 static inline __ATTRS_o_ai vector bool int
2373 vec_cmplt(vector signed int __a, vector signed int __b) {
2374  return (vector bool int)(__a < __b);
2375 }
2376 
2377 static inline __ATTRS_o_ai vector bool int
2378 vec_cmplt(vector unsigned int __a, vector unsigned int __b) {
2379  return (vector bool int)(__a < __b);
2380 }
2381 
2382 static inline __ATTRS_o_ai vector bool long long
2383 vec_cmplt(vector signed long long __a, vector signed long long __b) {
2384  return (vector bool long long)(__a < __b);
2385 }
2386 
2387 static inline __ATTRS_o_ai vector bool long long
2388 vec_cmplt(vector unsigned long long __a, vector unsigned long long __b) {
2389  return (vector bool long long)(__a < __b);
2390 }
2391 
2392 #if __ARCH__ >= 12
2393 static inline __ATTRS_o_ai vector bool int
2394 vec_cmplt(vector float __a, vector float __b) {
2395  return (vector bool int)(__a < __b);
2396 }
2397 #endif
2398 
2399 static inline __ATTRS_o_ai vector bool long long
2400 vec_cmplt(vector double __a, vector double __b) {
2401  return (vector bool long long)(__a < __b);
2402 }
2403 
2404 /*-- vec_all_eq -------------------------------------------------------------*/
2405 
2406 static inline __ATTRS_o_ai int
2407 vec_all_eq(vector signed char __a, vector signed char __b) {
2408  int __cc;
2409  __builtin_s390_vceqbs(__a, __b, &__cc);
2410  return __cc == 0;
2411 }
2412 
2413 // This prototype is deprecated.
2414 static inline __ATTRS_o_ai int
2415 vec_all_eq(vector signed char __a, vector bool char __b) {
2416  int __cc;
2417  __builtin_s390_vceqbs(__a, (vector signed char)__b, &__cc);
2418  return __cc == 0;
2419 }
2420 
2421 // This prototype is deprecated.
2422 static inline __ATTRS_o_ai int
2423 vec_all_eq(vector bool char __a, vector signed char __b) {
2424  int __cc;
2425  __builtin_s390_vceqbs((vector signed char)__a, __b, &__cc);
2426  return __cc == 0;
2427 }
2428 
2429 static inline __ATTRS_o_ai int
2430 vec_all_eq(vector unsigned char __a, vector unsigned char __b) {
2431  int __cc;
2432  __builtin_s390_vceqbs((vector signed char)__a,
2433  (vector signed char)__b, &__cc);
2434  return __cc == 0;
2435 }
2436 
2437 // This prototype is deprecated.
2438 static inline __ATTRS_o_ai int
2439 vec_all_eq(vector unsigned char __a, vector bool char __b) {
2440  int __cc;
2441  __builtin_s390_vceqbs((vector signed char)__a,
2442  (vector signed char)__b, &__cc);
2443  return __cc == 0;
2444 }
2445 
2446 // This prototype is deprecated.
2447 static inline __ATTRS_o_ai int
2448 vec_all_eq(vector bool char __a, vector unsigned char __b) {
2449  int __cc;
2450  __builtin_s390_vceqbs((vector signed char)__a,
2451  (vector signed char)__b, &__cc);
2452  return __cc == 0;
2453 }
2454 
2455 static inline __ATTRS_o_ai int
2456 vec_all_eq(vector bool char __a, vector bool char __b) {
2457  int __cc;
2458  __builtin_s390_vceqbs((vector signed char)__a,
2459  (vector signed char)__b, &__cc);
2460  return __cc == 0;
2461 }
2462 
2463 static inline __ATTRS_o_ai int
2464 vec_all_eq(vector signed short __a, vector signed short __b) {
2465  int __cc;
2466  __builtin_s390_vceqhs(__a, __b, &__cc);
2467  return __cc == 0;
2468 }
2469 
2470 // This prototype is deprecated.
2471 static inline __ATTRS_o_ai int
2472 vec_all_eq(vector signed short __a, vector bool short __b) {
2473  int __cc;
2474  __builtin_s390_vceqhs(__a, (vector signed short)__b, &__cc);
2475  return __cc == 0;
2476 }
2477 
2478 // This prototype is deprecated.
2479 static inline __ATTRS_o_ai int
2480 vec_all_eq(vector bool short __a, vector signed short __b) {
2481  int __cc;
2482  __builtin_s390_vceqhs((vector signed short)__a, __b, &__cc);
2483  return __cc == 0;
2484 }
2485 
2486 static inline __ATTRS_o_ai int
2487 vec_all_eq(vector unsigned short __a, vector unsigned short __b) {
2488  int __cc;
2489  __builtin_s390_vceqhs((vector signed short)__a,
2490  (vector signed short)__b, &__cc);
2491  return __cc == 0;
2492 }
2493 
2494 // This prototype is deprecated.
2495 static inline __ATTRS_o_ai int
2496 vec_all_eq(vector unsigned short __a, vector bool short __b) {
2497  int __cc;
2498  __builtin_s390_vceqhs((vector signed short)__a,
2499  (vector signed short)__b, &__cc);
2500  return __cc == 0;
2501 }
2502 
2503 // This prototype is deprecated.
2504 static inline __ATTRS_o_ai int
2505 vec_all_eq(vector bool short __a, vector unsigned short __b) {
2506  int __cc;
2507  __builtin_s390_vceqhs((vector signed short)__a,
2508  (vector signed short)__b, &__cc);
2509  return __cc == 0;
2510 }
2511 
2512 static inline __ATTRS_o_ai int
2513 vec_all_eq(vector bool short __a, vector bool short __b) {
2514  int __cc;
2515  __builtin_s390_vceqhs((vector signed short)__a,
2516  (vector signed short)__b, &__cc);
2517  return __cc == 0;
2518 }
2519 
2520 static inline __ATTRS_o_ai int
2521 vec_all_eq(vector signed int __a, vector signed int __b) {
2522  int __cc;
2523  __builtin_s390_vceqfs(__a, __b, &__cc);
2524  return __cc == 0;
2525 }
2526 
2527 // This prototype is deprecated.
2528 static inline __ATTRS_o_ai int
2529 vec_all_eq(vector signed int __a, vector bool int __b) {
2530  int __cc;
2531  __builtin_s390_vceqfs(__a, (vector signed int)__b, &__cc);
2532  return __cc == 0;
2533 }
2534 
2535 // This prototype is deprecated.
2536 static inline __ATTRS_o_ai int
2537 vec_all_eq(vector bool int __a, vector signed int __b) {
2538  int __cc;
2539  __builtin_s390_vceqfs((vector signed int)__a, __b, &__cc);
2540  return __cc == 0;
2541 }
2542 
2543 static inline __ATTRS_o_ai int
2544 vec_all_eq(vector unsigned int __a, vector unsigned int __b) {
2545  int __cc;
2546  __builtin_s390_vceqfs((vector signed int)__a,
2547  (vector signed int)__b, &__cc);
2548  return __cc == 0;
2549 }
2550 
2551 // This prototype is deprecated.
2552 static inline __ATTRS_o_ai int
2553 vec_all_eq(vector unsigned int __a, vector bool int __b) {
2554  int __cc;
2555  __builtin_s390_vceqfs((vector signed int)__a,
2556  (vector signed int)__b, &__cc);
2557  return __cc == 0;
2558 }
2559 
2560 // This prototype is deprecated.
2561 static inline __ATTRS_o_ai int
2562 vec_all_eq(vector bool int __a, vector unsigned int __b) {
2563  int __cc;
2564  __builtin_s390_vceqfs((vector signed int)__a,
2565  (vector signed int)__b, &__cc);
2566  return __cc == 0;
2567 }
2568 
2569 static inline __ATTRS_o_ai int
2570 vec_all_eq(vector bool int __a, vector bool int __b) {
2571  int __cc;
2572  __builtin_s390_vceqfs((vector signed int)__a,
2573  (vector signed int)__b, &__cc);
2574  return __cc == 0;
2575 }
2576 
2577 static inline __ATTRS_o_ai int
2578 vec_all_eq(vector signed long long __a, vector signed long long __b) {
2579  int __cc;
2580  __builtin_s390_vceqgs(__a, __b, &__cc);
2581  return __cc == 0;
2582 }
2583 
2584 // This prototype is deprecated.
2585 static inline __ATTRS_o_ai int
2586 vec_all_eq(vector signed long long __a, vector bool long long __b) {
2587  int __cc;
2588  __builtin_s390_vceqgs(__a, (vector signed long long)__b, &__cc);
2589  return __cc == 0;
2590 }
2591 
2592 // This prototype is deprecated.
2593 static inline __ATTRS_o_ai int
2594 vec_all_eq(vector bool long long __a, vector signed long long __b) {
2595  int __cc;
2596  __builtin_s390_vceqgs((vector signed long long)__a, __b, &__cc);
2597  return __cc == 0;
2598 }
2599 
2600 static inline __ATTRS_o_ai int
2601 vec_all_eq(vector unsigned long long __a, vector unsigned long long __b) {
2602  int __cc;
2603  __builtin_s390_vceqgs((vector signed long long)__a,
2604  (vector signed long long)__b, &__cc);
2605  return __cc == 0;
2606 }
2607 
2608 // This prototype is deprecated.
2609 static inline __ATTRS_o_ai int
2610 vec_all_eq(vector unsigned long long __a, vector bool long long __b) {
2611  int __cc;
2612  __builtin_s390_vceqgs((vector signed long long)__a,
2613  (vector signed long long)__b, &__cc);
2614  return __cc == 0;
2615 }
2616 
2617 // This prototype is deprecated.
2618 static inline __ATTRS_o_ai int
2619 vec_all_eq(vector bool long long __a, vector unsigned long long __b) {
2620  int __cc;
2621  __builtin_s390_vceqgs((vector signed long long)__a,
2622  (vector signed long long)__b, &__cc);
2623  return __cc == 0;
2624 }
2625 
2626 static inline __ATTRS_o_ai int
2627 vec_all_eq(vector bool long long __a, vector bool long long __b) {
2628  int __cc;
2629  __builtin_s390_vceqgs((vector signed long long)__a,
2630  (vector signed long long)__b, &__cc);
2631  return __cc == 0;
2632 }
2633 
2634 #if __ARCH__ >= 12
2635 static inline __ATTRS_o_ai int
2636 vec_all_eq(vector float __a, vector float __b) {
2637  int __cc;
2638  __builtin_s390_vfcesbs(__a, __b, &__cc);
2639  return __cc == 0;
2640 }
2641 #endif
2642 
2643 static inline __ATTRS_o_ai int
2644 vec_all_eq(vector double __a, vector double __b) {
2645  int __cc;
2646  __builtin_s390_vfcedbs(__a, __b, &__cc);
2647  return __cc == 0;
2648 }
2649 
2650 /*-- vec_all_ne -------------------------------------------------------------*/
2651 
2652 static inline __ATTRS_o_ai int
2653 vec_all_ne(vector signed char __a, vector signed char __b) {
2654  int __cc;
2655  __builtin_s390_vceqbs(__a, __b, &__cc);
2656  return __cc == 3;
2657 }
2658 
2659 // This prototype is deprecated.
2660 static inline __ATTRS_o_ai int
2661 vec_all_ne(vector signed char __a, vector bool char __b) {
2662  int __cc;
2663  __builtin_s390_vceqbs(__a, (vector signed char)__b, &__cc);
2664  return __cc == 3;
2665 }
2666 
2667 // This prototype is deprecated.
2668 static inline __ATTRS_o_ai int
2669 vec_all_ne(vector bool char __a, vector signed char __b) {
2670  int __cc;
2671  __builtin_s390_vceqbs((vector signed char)__a, __b, &__cc);
2672  return __cc == 3;
2673 }
2674 
2675 static inline __ATTRS_o_ai int
2676 vec_all_ne(vector unsigned char __a, vector unsigned char __b) {
2677  int __cc;
2678  __builtin_s390_vceqbs((vector signed char)__a,
2679  (vector signed char)__b, &__cc);
2680  return __cc == 3;
2681 }
2682 
2683 // This prototype is deprecated.
2684 static inline __ATTRS_o_ai int
2685 vec_all_ne(vector unsigned char __a, vector bool char __b) {
2686  int __cc;
2687  __builtin_s390_vceqbs((vector signed char)__a,
2688  (vector signed char)__b, &__cc);
2689  return __cc == 3;
2690 }
2691 
2692 // This prototype is deprecated.
2693 static inline __ATTRS_o_ai int
2694 vec_all_ne(vector bool char __a, vector unsigned char __b) {
2695  int __cc;
2696  __builtin_s390_vceqbs((vector signed char)__a,
2697  (vector signed char)__b, &__cc);
2698  return __cc == 3;
2699 }
2700 
2701 static inline __ATTRS_o_ai int
2702 vec_all_ne(vector bool char __a, vector bool char __b) {
2703  int __cc;
2704  __builtin_s390_vceqbs((vector signed char)__a,
2705  (vector signed char)__b, &__cc);
2706  return __cc == 3;
2707 }
2708 
2709 static inline __ATTRS_o_ai int
2710 vec_all_ne(vector signed short __a, vector signed short __b) {
2711  int __cc;
2712  __builtin_s390_vceqhs(__a, __b, &__cc);
2713  return __cc == 3;
2714 }
2715 
2716 // This prototype is deprecated.
2717 static inline __ATTRS_o_ai int
2718 vec_all_ne(vector signed short __a, vector bool short __b) {
2719  int __cc;
2720  __builtin_s390_vceqhs(__a, (vector signed short)__b, &__cc);
2721  return __cc == 3;
2722 }
2723 
2724 // This prototype is deprecated.
2725 static inline __ATTRS_o_ai int
2726 vec_all_ne(vector bool short __a, vector signed short __b) {
2727  int __cc;
2728  __builtin_s390_vceqhs((vector signed short)__a, __b, &__cc);
2729  return __cc == 3;
2730 }
2731 
2732 static inline __ATTRS_o_ai int
2733 vec_all_ne(vector unsigned short __a, vector unsigned short __b) {
2734  int __cc;
2735  __builtin_s390_vceqhs((vector signed short)__a,
2736  (vector signed short)__b, &__cc);
2737  return __cc == 3;
2738 }
2739 
2740 // This prototype is deprecated.
2741 static inline __ATTRS_o_ai int
2742 vec_all_ne(vector unsigned short __a, vector bool short __b) {
2743  int __cc;
2744  __builtin_s390_vceqhs((vector signed short)__a,
2745  (vector signed short)__b, &__cc);
2746  return __cc == 3;
2747 }
2748 
2749 // This prototype is deprecated.
2750 static inline __ATTRS_o_ai int
2751 vec_all_ne(vector bool short __a, vector unsigned short __b) {
2752  int __cc;
2753  __builtin_s390_vceqhs((vector signed short)__a,
2754  (vector signed short)__b, &__cc);
2755  return __cc == 3;
2756 }
2757 
2758 static inline __ATTRS_o_ai int
2759 vec_all_ne(vector bool short __a, vector bool short __b) {
2760  int __cc;
2761  __builtin_s390_vceqhs((vector signed short)__a,
2762  (vector signed short)__b, &__cc);
2763  return __cc == 3;
2764 }
2765 
2766 static inline __ATTRS_o_ai int
2767 vec_all_ne(vector signed int __a, vector signed int __b) {
2768  int __cc;
2769  __builtin_s390_vceqfs(__a, __b, &__cc);
2770  return __cc == 3;
2771 }
2772 
2773 // This prototype is deprecated.
2774 static inline __ATTRS_o_ai int
2775 vec_all_ne(vector signed int __a, vector bool int __b) {
2776  int __cc;
2777  __builtin_s390_vceqfs(__a, (vector signed int)__b, &__cc);
2778  return __cc == 3;
2779 }
2780 
2781 // This prototype is deprecated.
2782 static inline __ATTRS_o_ai int
2783 vec_all_ne(vector bool int __a, vector signed int __b) {
2784  int __cc;
2785  __builtin_s390_vceqfs((vector signed int)__a, __b, &__cc);
2786  return __cc == 3;
2787 }
2788 
2789 static inline __ATTRS_o_ai int
2790 vec_all_ne(vector unsigned int __a, vector unsigned int __b) {
2791  int __cc;
2792  __builtin_s390_vceqfs((vector signed int)__a,
2793  (vector signed int)__b, &__cc);
2794  return __cc == 3;
2795 }
2796 
2797 // This prototype is deprecated.
2798 static inline __ATTRS_o_ai int
2799 vec_all_ne(vector unsigned int __a, vector bool int __b) {
2800  int __cc;
2801  __builtin_s390_vceqfs((vector signed int)__a,
2802  (vector signed int)__b, &__cc);
2803  return __cc == 3;
2804 }
2805 
2806 // This prototype is deprecated.
2807 static inline __ATTRS_o_ai int
2808 vec_all_ne(vector bool int __a, vector unsigned int __b) {
2809  int __cc;
2810  __builtin_s390_vceqfs((vector signed int)__a,
2811  (vector signed int)__b, &__cc);
2812  return __cc == 3;
2813 }
2814 
2815 static inline __ATTRS_o_ai int
2816 vec_all_ne(vector bool int __a, vector bool int __b) {
2817  int __cc;
2818  __builtin_s390_vceqfs((vector signed int)__a,
2819  (vector signed int)__b, &__cc);
2820  return __cc == 3;
2821 }
2822 
2823 static inline __ATTRS_o_ai int
2824 vec_all_ne(vector signed long long __a, vector signed long long __b) {
2825  int __cc;
2826  __builtin_s390_vceqgs(__a, __b, &__cc);
2827  return __cc == 3;
2828 }
2829 
2830 // This prototype is deprecated.
2831 static inline __ATTRS_o_ai int
2832 vec_all_ne(vector signed long long __a, vector bool long long __b) {
2833  int __cc;
2834  __builtin_s390_vceqgs(__a, (vector signed long long)__b, &__cc);
2835  return __cc == 3;
2836 }
2837 
2838 // This prototype is deprecated.
2839 static inline __ATTRS_o_ai int
2840 vec_all_ne(vector bool long long __a, vector signed long long __b) {
2841  int __cc;
2842  __builtin_s390_vceqgs((vector signed long long)__a, __b, &__cc);
2843  return __cc == 3;
2844 }
2845 
2846 static inline __ATTRS_o_ai int
2847 vec_all_ne(vector unsigned long long __a, vector unsigned long long __b) {
2848  int __cc;
2849  __builtin_s390_vceqgs((vector signed long long)__a,
2850  (vector signed long long)__b, &__cc);
2851  return __cc == 3;
2852 }
2853 
2854 // This prototype is deprecated.
2855 static inline __ATTRS_o_ai int
2856 vec_all_ne(vector unsigned long long __a, vector bool long long __b) {
2857  int __cc;
2858  __builtin_s390_vceqgs((vector signed long long)__a,
2859  (vector signed long long)__b, &__cc);
2860  return __cc == 3;
2861 }
2862 
2863 // This prototype is deprecated.
2864 static inline __ATTRS_o_ai int
2865 vec_all_ne(vector bool long long __a, vector unsigned long long __b) {
2866  int __cc;
2867  __builtin_s390_vceqgs((vector signed long long)__a,
2868  (vector signed long long)__b, &__cc);
2869  return __cc == 3;
2870 }
2871 
2872 static inline __ATTRS_o_ai int
2873 vec_all_ne(vector bool long long __a, vector bool long long __b) {
2874  int __cc;
2875  __builtin_s390_vceqgs((vector signed long long)__a,
2876  (vector signed long long)__b, &__cc);
2877  return __cc == 3;
2878 }
2879 
2880 #if __ARCH__ >= 12
2881 static inline __ATTRS_o_ai int
2882 vec_all_ne(vector float __a, vector float __b) {
2883  int __cc;
2884  __builtin_s390_vfcesbs(__a, __b, &__cc);
2885  return __cc == 3;
2886 }
2887 #endif
2888 
2889 static inline __ATTRS_o_ai int
2890 vec_all_ne(vector double __a, vector double __b) {
2891  int __cc;
2892  __builtin_s390_vfcedbs(__a, __b, &__cc);
2893  return __cc == 3;
2894 }
2895 
2896 /*-- vec_all_ge -------------------------------------------------------------*/
2897 
2898 static inline __ATTRS_o_ai int
2899 vec_all_ge(vector signed char __a, vector signed char __b) {
2900  int __cc;
2901  __builtin_s390_vchbs(__b, __a, &__cc);
2902  return __cc == 3;
2903 }
2904 
2905 // This prototype is deprecated.
2906 static inline __ATTRS_o_ai int
2907 vec_all_ge(vector signed char __a, vector bool char __b) {
2908  int __cc;
2909  __builtin_s390_vchbs((vector signed char)__b, __a, &__cc);
2910  return __cc == 3;
2911 }
2912 
2913 // This prototype is deprecated.
2914 static inline __ATTRS_o_ai int
2915 vec_all_ge(vector bool char __a, vector signed char __b) {
2916  int __cc;
2917  __builtin_s390_vchbs(__b, (vector signed char)__a, &__cc);
2918  return __cc == 3;
2919 }
2920 
2921 static inline __ATTRS_o_ai int
2922 vec_all_ge(vector unsigned char __a, vector unsigned char __b) {
2923  int __cc;
2924  __builtin_s390_vchlbs(__b, __a, &__cc);
2925  return __cc == 3;
2926 }
2927 
2928 // This prototype is deprecated.
2929 static inline __ATTRS_o_ai int
2930 vec_all_ge(vector unsigned char __a, vector bool char __b) {
2931  int __cc;
2932  __builtin_s390_vchlbs((vector unsigned char)__b, __a, &__cc);
2933  return __cc == 3;
2934 }
2935 
2936 // This prototype is deprecated.
2937 static inline __ATTRS_o_ai int
2938 vec_all_ge(vector bool char __a, vector unsigned char __b) {
2939  int __cc;
2940  __builtin_s390_vchlbs(__b, (vector unsigned char)__a, &__cc);
2941  return __cc == 3;
2942 }
2943 
2944 // This prototype is deprecated.
2945 static inline __ATTRS_o_ai int
2946 vec_all_ge(vector bool char __a, vector bool char __b) {
2947  int __cc;
2948  __builtin_s390_vchlbs((vector unsigned char)__b,
2949  (vector unsigned char)__a, &__cc);
2950  return __cc == 3;
2951 }
2952 
2953 static inline __ATTRS_o_ai int
2954 vec_all_ge(vector signed short __a, vector signed short __b) {
2955  int __cc;
2956  __builtin_s390_vchhs(__b, __a, &__cc);
2957  return __cc == 3;
2958 }
2959 
2960 // This prototype is deprecated.
2961 static inline __ATTRS_o_ai int
2962 vec_all_ge(vector signed short __a, vector bool short __b) {
2963  int __cc;
2964  __builtin_s390_vchhs((vector signed short)__b, __a, &__cc);
2965  return __cc == 3;
2966 }
2967 
2968 // This prototype is deprecated.
2969 static inline __ATTRS_o_ai int
2970 vec_all_ge(vector bool short __a, vector signed short __b) {
2971  int __cc;
2972  __builtin_s390_vchhs(__b, (vector signed short)__a, &__cc);
2973  return __cc == 3;
2974 }
2975 
2976 static inline __ATTRS_o_ai int
2977 vec_all_ge(vector unsigned short __a, vector unsigned short __b) {
2978  int __cc;
2979  __builtin_s390_vchlhs(__b, __a, &__cc);
2980  return __cc == 3;
2981 }
2982 
2983 // This prototype is deprecated.
2984 static inline __ATTRS_o_ai int
2985 vec_all_ge(vector unsigned short __a, vector bool short __b) {
2986  int __cc;
2987  __builtin_s390_vchlhs((vector unsigned short)__b, __a, &__cc);
2988  return __cc == 3;
2989 }
2990 
2991 // This prototype is deprecated.
2992 static inline __ATTRS_o_ai int
2993 vec_all_ge(vector bool short __a, vector unsigned short __b) {
2994  int __cc;
2995  __builtin_s390_vchlhs(__b, (vector unsigned short)__a, &__cc);
2996  return __cc == 3;
2997 }
2998 
2999 // This prototype is deprecated.
3000 static inline __ATTRS_o_ai int
3001 vec_all_ge(vector bool short __a, vector bool short __b) {
3002  int __cc;
3003  __builtin_s390_vchlhs((vector unsigned short)__b,
3004  (vector unsigned short)__a, &__cc);
3005  return __cc == 3;
3006 }
3007 
3008 static inline __ATTRS_o_ai int
3009 vec_all_ge(vector signed int __a, vector signed int __b) {
3010  int __cc;
3011  __builtin_s390_vchfs(__b, __a, &__cc);
3012  return __cc == 3;
3013 }
3014 
3015 // This prototype is deprecated.
3016 static inline __ATTRS_o_ai int
3017 vec_all_ge(vector signed int __a, vector bool int __b) {
3018  int __cc;
3019  __builtin_s390_vchfs((vector signed int)__b, __a, &__cc);
3020  return __cc == 3;
3021 }
3022 
3023 // This prototype is deprecated.
3024 static inline __ATTRS_o_ai int
3025 vec_all_ge(vector bool int __a, vector signed int __b) {
3026  int __cc;
3027  __builtin_s390_vchfs(__b, (vector signed int)__a, &__cc);
3028  return __cc == 3;
3029 }
3030 
3031 static inline __ATTRS_o_ai int
3032 vec_all_ge(vector unsigned int __a, vector unsigned int __b) {
3033  int __cc;
3034  __builtin_s390_vchlfs(__b, __a, &__cc);
3035  return __cc == 3;
3036 }
3037 
3038 // This prototype is deprecated.
3039 static inline __ATTRS_o_ai int
3040 vec_all_ge(vector unsigned int __a, vector bool int __b) {
3041  int __cc;
3042  __builtin_s390_vchlfs((vector unsigned int)__b, __a, &__cc);
3043  return __cc == 3;
3044 }
3045 
3046 // This prototype is deprecated.
3047 static inline __ATTRS_o_ai int
3048 vec_all_ge(vector bool int __a, vector unsigned int __b) {
3049  int __cc;
3050  __builtin_s390_vchlfs(__b, (vector unsigned int)__a, &__cc);
3051  return __cc == 3;
3052 }
3053 
3054 // This prototype is deprecated.
3055 static inline __ATTRS_o_ai int
3056 vec_all_ge(vector bool int __a, vector bool int __b) {
3057  int __cc;
3058  __builtin_s390_vchlfs((vector unsigned int)__b,
3059  (vector unsigned int)__a, &__cc);
3060  return __cc == 3;
3061 }
3062 
3063 static inline __ATTRS_o_ai int
3064 vec_all_ge(vector signed long long __a, vector signed long long __b) {
3065  int __cc;
3066  __builtin_s390_vchgs(__b, __a, &__cc);
3067  return __cc == 3;
3068 }
3069 
3070 // This prototype is deprecated.
3071 static inline __ATTRS_o_ai int
3072 vec_all_ge(vector signed long long __a, vector bool long long __b) {
3073  int __cc;
3074  __builtin_s390_vchgs((vector signed long long)__b, __a, &__cc);
3075  return __cc == 3;
3076 }
3077 
3078 // This prototype is deprecated.
3079 static inline __ATTRS_o_ai int
3080 vec_all_ge(vector bool long long __a, vector signed long long __b) {
3081  int __cc;
3082  __builtin_s390_vchgs(__b, (vector signed long long)__a, &__cc);
3083  return __cc == 3;
3084 }
3085 
3086 static inline __ATTRS_o_ai int
3087 vec_all_ge(vector unsigned long long __a, vector unsigned long long __b) {
3088  int __cc;
3089  __builtin_s390_vchlgs(__b, __a, &__cc);
3090  return __cc == 3;
3091 }
3092 
3093 // This prototype is deprecated.
3094 static inline __ATTRS_o_ai int
3095 vec_all_ge(vector unsigned long long __a, vector bool long long __b) {
3096  int __cc;
3097  __builtin_s390_vchlgs((vector unsigned long long)__b, __a, &__cc);
3098  return __cc == 3;
3099 }
3100 
3101 // This prototype is deprecated.
3102 static inline __ATTRS_o_ai int
3103 vec_all_ge(vector bool long long __a, vector unsigned long long __b) {
3104  int __cc;
3105  __builtin_s390_vchlgs(__b, (vector unsigned long long)__a, &__cc);
3106  return __cc == 3;
3107 }
3108 
3109 // This prototype is deprecated.
3110 static inline __ATTRS_o_ai int
3111 vec_all_ge(vector bool long long __a, vector bool long long __b) {
3112  int __cc;
3113  __builtin_s390_vchlgs((vector unsigned long long)__b,
3114  (vector unsigned long long)__a, &__cc);
3115  return __cc == 3;
3116 }
3117 
3118 #if __ARCH__ >= 12
3119 static inline __ATTRS_o_ai int
3120 vec_all_ge(vector float __a, vector float __b) {
3121  int __cc;
3122  __builtin_s390_vfchesbs(__a, __b, &__cc);
3123  return __cc == 0;
3124 }
3125 #endif
3126 
3127 static inline __ATTRS_o_ai int
3128 vec_all_ge(vector double __a, vector double __b) {
3129  int __cc;
3130  __builtin_s390_vfchedbs(__a, __b, &__cc);
3131  return __cc == 0;
3132 }
3133 
3134 /*-- vec_all_gt -------------------------------------------------------------*/
3135 
3136 static inline __ATTRS_o_ai int
3137 vec_all_gt(vector signed char __a, vector signed char __b) {
3138  int __cc;
3139  __builtin_s390_vchbs(__a, __b, &__cc);
3140  return __cc == 0;
3141 }
3142 
3143 // This prototype is deprecated.
3144 static inline __ATTRS_o_ai int
3145 vec_all_gt(vector signed char __a, vector bool char __b) {
3146  int __cc;
3147  __builtin_s390_vchbs(__a, (vector signed char)__b, &__cc);
3148  return __cc == 0;
3149 }
3150 
3151 // This prototype is deprecated.
3152 static inline __ATTRS_o_ai int
3153 vec_all_gt(vector bool char __a, vector signed char __b) {
3154  int __cc;
3155  __builtin_s390_vchbs((vector signed char)__a, __b, &__cc);
3156  return __cc == 0;
3157 }
3158 
3159 static inline __ATTRS_o_ai int
3160 vec_all_gt(vector unsigned char __a, vector unsigned char __b) {
3161  int __cc;
3162  __builtin_s390_vchlbs(__a, __b, &__cc);
3163  return __cc == 0;
3164 }
3165 
3166 // This prototype is deprecated.
3167 static inline __ATTRS_o_ai int
3168 vec_all_gt(vector unsigned char __a, vector bool char __b) {
3169  int __cc;
3170  __builtin_s390_vchlbs(__a, (vector unsigned char)__b, &__cc);
3171  return __cc == 0;
3172 }
3173 
3174 // This prototype is deprecated.
3175 static inline __ATTRS_o_ai int
3176 vec_all_gt(vector bool char __a, vector unsigned char __b) {
3177  int __cc;
3178  __builtin_s390_vchlbs((vector unsigned char)__a, __b, &__cc);
3179  return __cc == 0;
3180 }
3181 
3182 // This prototype is deprecated.
3183 static inline __ATTRS_o_ai int
3184 vec_all_gt(vector bool char __a, vector bool char __b) {
3185  int __cc;
3186  __builtin_s390_vchlbs((vector unsigned char)__a,
3187  (vector unsigned char)__b, &__cc);
3188  return __cc == 0;
3189 }
3190 
3191 static inline __ATTRS_o_ai int
3192 vec_all_gt(vector signed short __a, vector signed short __b) {
3193  int __cc;
3194  __builtin_s390_vchhs(__a, __b, &__cc);
3195  return __cc == 0;
3196 }
3197 
3198 // This prototype is deprecated.
3199 static inline __ATTRS_o_ai int
3200 vec_all_gt(vector signed short __a, vector bool short __b) {
3201  int __cc;
3202  __builtin_s390_vchhs(__a, (vector signed short)__b, &__cc);
3203  return __cc == 0;
3204 }
3205 
3206 // This prototype is deprecated.
3207 static inline __ATTRS_o_ai int
3208 vec_all_gt(vector bool short __a, vector signed short __b) {
3209  int __cc;
3210  __builtin_s390_vchhs((vector signed short)__a, __b, &__cc);
3211  return __cc == 0;
3212 }
3213 
3214 static inline __ATTRS_o_ai int
3215 vec_all_gt(vector unsigned short __a, vector unsigned short __b) {
3216  int __cc;
3217  __builtin_s390_vchlhs(__a, __b, &__cc);
3218  return __cc == 0;
3219 }
3220 
3221 // This prototype is deprecated.
3222 static inline __ATTRS_o_ai int
3223 vec_all_gt(vector unsigned short __a, vector bool short __b) {
3224  int __cc;
3225  __builtin_s390_vchlhs(__a, (vector unsigned short)__b, &__cc);
3226  return __cc == 0;
3227 }
3228 
3229 // This prototype is deprecated.
3230 static inline __ATTRS_o_ai int
3231 vec_all_gt(vector bool short __a, vector unsigned short __b) {
3232  int __cc;
3233  __builtin_s390_vchlhs((vector unsigned short)__a, __b, &__cc);
3234  return __cc == 0;
3235 }
3236 
3237 // This prototype is deprecated.
3238 static inline __ATTRS_o_ai int
3239 vec_all_gt(vector bool short __a, vector bool short __b) {
3240  int __cc;
3241  __builtin_s390_vchlhs((vector unsigned short)__a,
3242  (vector unsigned short)__b, &__cc);
3243  return __cc == 0;
3244 }
3245 
3246 static inline __ATTRS_o_ai int
3247 vec_all_gt(vector signed int __a, vector signed int __b) {
3248  int __cc;
3249  __builtin_s390_vchfs(__a, __b, &__cc);
3250  return __cc == 0;
3251 }
3252 
3253 // This prototype is deprecated.
3254 static inline __ATTRS_o_ai int
3255 vec_all_gt(vector signed int __a, vector bool int __b) {
3256  int __cc;
3257  __builtin_s390_vchfs(__a, (vector signed int)__b, &__cc);
3258  return __cc == 0;
3259 }
3260 
3261 // This prototype is deprecated.
3262 static inline __ATTRS_o_ai int
3263 vec_all_gt(vector bool int __a, vector signed int __b) {
3264  int __cc;
3265  __builtin_s390_vchfs((vector signed int)__a, __b, &__cc);
3266  return __cc == 0;
3267 }
3268 
3269 static inline __ATTRS_o_ai int
3270 vec_all_gt(vector unsigned int __a, vector unsigned int __b) {
3271  int __cc;
3272  __builtin_s390_vchlfs(__a, __b, &__cc);
3273  return __cc == 0;
3274 }
3275 
3276 // This prototype is deprecated.
3277 static inline __ATTRS_o_ai int
3278 vec_all_gt(vector unsigned int __a, vector bool int __b) {
3279  int __cc;
3280  __builtin_s390_vchlfs(__a, (vector unsigned int)__b, &__cc);
3281  return __cc == 0;
3282 }
3283 
3284 // This prototype is deprecated.
3285 static inline __ATTRS_o_ai int
3286 vec_all_gt(vector bool int __a, vector unsigned int __b) {
3287  int __cc;
3288  __builtin_s390_vchlfs((vector unsigned int)__a, __b, &__cc);
3289  return __cc == 0;
3290 }
3291 
3292 // This prototype is deprecated.
3293 static inline __ATTRS_o_ai int
3294 vec_all_gt(vector bool int __a, vector bool int __b) {
3295  int __cc;
3296  __builtin_s390_vchlfs((vector unsigned int)__a,
3297  (vector unsigned int)__b, &__cc);
3298  return __cc == 0;
3299 }
3300 
3301 static inline __ATTRS_o_ai int
3302 vec_all_gt(vector signed long long __a, vector signed long long __b) {
3303  int __cc;
3304  __builtin_s390_vchgs(__a, __b, &__cc);
3305  return __cc == 0;
3306 }
3307 
3308 // This prototype is deprecated.
3309 static inline __ATTRS_o_ai int
3310 vec_all_gt(vector signed long long __a, vector bool long long __b) {
3311  int __cc;
3312  __builtin_s390_vchgs(__a, (vector signed long long)__b, &__cc);
3313  return __cc == 0;
3314 }
3315 
3316 // This prototype is deprecated.
3317 static inline __ATTRS_o_ai int
3318 vec_all_gt(vector bool long long __a, vector signed long long __b) {
3319  int __cc;
3320  __builtin_s390_vchgs((vector signed long long)__a, __b, &__cc);
3321  return __cc == 0;
3322 }
3323 
3324 static inline __ATTRS_o_ai int
3325 vec_all_gt(vector unsigned long long __a, vector unsigned long long __b) {
3326  int __cc;
3327  __builtin_s390_vchlgs(__a, __b, &__cc);
3328  return __cc == 0;
3329 }
3330 
3331 // This prototype is deprecated.
3332 static inline __ATTRS_o_ai int
3333 vec_all_gt(vector unsigned long long __a, vector bool long long __b) {
3334  int __cc;
3335  __builtin_s390_vchlgs(__a, (vector unsigned long long)__b, &__cc);
3336  return __cc == 0;
3337 }
3338 
3339 // This prototype is deprecated.
3340 static inline __ATTRS_o_ai int
3341 vec_all_gt(vector bool long long __a, vector unsigned long long __b) {
3342  int __cc;
3343  __builtin_s390_vchlgs((vector unsigned long long)__a, __b, &__cc);
3344  return __cc == 0;
3345 }
3346 
3347 // This prototype is deprecated.
3348 static inline __ATTRS_o_ai int
3349 vec_all_gt(vector bool long long __a, vector bool long long __b) {
3350  int __cc;
3351  __builtin_s390_vchlgs((vector unsigned long long)__a,
3352  (vector unsigned long long)__b, &__cc);
3353  return __cc == 0;
3354 }
3355 
3356 #if __ARCH__ >= 12
3357 static inline __ATTRS_o_ai int
3358 vec_all_gt(vector float __a, vector float __b) {
3359  int __cc;
3360  __builtin_s390_vfchsbs(__a, __b, &__cc);
3361  return __cc == 0;
3362 }
3363 #endif
3364 
3365 static inline __ATTRS_o_ai int
3366 vec_all_gt(vector double __a, vector double __b) {
3367  int __cc;
3368  __builtin_s390_vfchdbs(__a, __b, &__cc);
3369  return __cc == 0;
3370 }
3371 
3372 /*-- vec_all_le -------------------------------------------------------------*/
3373 
3374 static inline __ATTRS_o_ai int
3375 vec_all_le(vector signed char __a, vector signed char __b) {
3376  int __cc;
3377  __builtin_s390_vchbs(__a, __b, &__cc);
3378  return __cc == 3;
3379 }
3380 
3381 // This prototype is deprecated.
3382 static inline __ATTRS_o_ai int
3383 vec_all_le(vector signed char __a, vector bool char __b) {
3384  int __cc;
3385  __builtin_s390_vchbs(__a, (vector signed char)__b, &__cc);
3386  return __cc == 3;
3387 }
3388 
3389 // This prototype is deprecated.
3390 static inline __ATTRS_o_ai int
3391 vec_all_le(vector bool char __a, vector signed char __b) {
3392  int __cc;
3393  __builtin_s390_vchbs((vector signed char)__a, __b, &__cc);
3394  return __cc == 3;
3395 }
3396 
3397 static inline __ATTRS_o_ai int
3398 vec_all_le(vector unsigned char __a, vector unsigned char __b) {
3399  int __cc;
3400  __builtin_s390_vchlbs(__a, __b, &__cc);
3401  return __cc == 3;
3402 }
3403 
3404 // This prototype is deprecated.
3405 static inline __ATTRS_o_ai int
3406 vec_all_le(vector unsigned char __a, vector bool char __b) {
3407  int __cc;
3408  __builtin_s390_vchlbs(__a, (vector unsigned char)__b, &__cc);
3409  return __cc == 3;
3410 }
3411 
3412 // This prototype is deprecated.
3413 static inline __ATTRS_o_ai int
3414 vec_all_le(vector bool char __a, vector unsigned char __b) {
3415  int __cc;
3416  __builtin_s390_vchlbs((vector unsigned char)__a, __b, &__cc);
3417  return __cc == 3;
3418 }
3419 
3420 // This prototype is deprecated.
3421 static inline __ATTRS_o_ai int
3422 vec_all_le(vector bool char __a, vector bool char __b) {
3423  int __cc;
3424  __builtin_s390_vchlbs((vector unsigned char)__a,
3425  (vector unsigned char)__b, &__cc);
3426  return __cc == 3;
3427 }
3428 
3429 static inline __ATTRS_o_ai int
3430 vec_all_le(vector signed short __a, vector signed short __b) {
3431  int __cc;
3432  __builtin_s390_vchhs(__a, __b, &__cc);
3433  return __cc == 3;
3434 }
3435 
3436 // This prototype is deprecated.
3437 static inline __ATTRS_o_ai int
3438 vec_all_le(vector signed short __a, vector bool short __b) {
3439  int __cc;
3440  __builtin_s390_vchhs(__a, (vector signed short)__b, &__cc);
3441  return __cc == 3;
3442 }
3443 
3444 // This prototype is deprecated.
3445 static inline __ATTRS_o_ai int
3446 vec_all_le(vector bool short __a, vector signed short __b) {
3447  int __cc;
3448  __builtin_s390_vchhs((vector signed short)__a, __b, &__cc);
3449  return __cc == 3;
3450 }
3451 
3452 static inline __ATTRS_o_ai int
3453 vec_all_le(vector unsigned short __a, vector unsigned short __b) {
3454  int __cc;
3455  __builtin_s390_vchlhs(__a, __b, &__cc);
3456  return __cc == 3;
3457 }
3458 
3459 // This prototype is deprecated.
3460 static inline __ATTRS_o_ai int
3461 vec_all_le(vector unsigned short __a, vector bool short __b) {
3462  int __cc;
3463  __builtin_s390_vchlhs(__a, (vector unsigned short)__b, &__cc);
3464  return __cc == 3;
3465 }
3466 
3467 // This prototype is deprecated.
3468 static inline __ATTRS_o_ai int
3469 vec_all_le(vector bool short __a, vector unsigned short __b) {
3470  int __cc;
3471  __builtin_s390_vchlhs((vector unsigned short)__a, __b, &__cc);
3472  return __cc == 3;
3473 }
3474 
3475 // This prototype is deprecated.
3476 static inline __ATTRS_o_ai int
3477 vec_all_le(vector bool short __a, vector bool short __b) {
3478  int __cc;
3479  __builtin_s390_vchlhs((vector unsigned short)__a,
3480  (vector unsigned short)__b, &__cc);
3481  return __cc == 3;
3482 }
3483 
3484 static inline __ATTRS_o_ai int
3485 vec_all_le(vector signed int __a, vector signed int __b) {
3486  int __cc;
3487  __builtin_s390_vchfs(__a, __b, &__cc);
3488  return __cc == 3;
3489 }
3490 
3491 // This prototype is deprecated.
3492 static inline __ATTRS_o_ai int
3493 vec_all_le(vector signed int __a, vector bool int __b) {
3494  int __cc;
3495  __builtin_s390_vchfs(__a, (vector signed int)__b, &__cc);
3496  return __cc == 3;
3497 }
3498 
3499 // This prototype is deprecated.
3500 static inline __ATTRS_o_ai int
3501 vec_all_le(vector bool int __a, vector signed int __b) {
3502  int __cc;
3503  __builtin_s390_vchfs((vector signed int)__a, __b, &__cc);
3504  return __cc == 3;
3505 }
3506 
3507 static inline __ATTRS_o_ai int
3508 vec_all_le(vector unsigned int __a, vector unsigned int __b) {
3509  int __cc;
3510  __builtin_s390_vchlfs(__a, __b, &__cc);
3511  return __cc == 3;
3512 }
3513 
3514 // This prototype is deprecated.
3515 static inline __ATTRS_o_ai int
3516 vec_all_le(vector unsigned int __a, vector bool int __b) {
3517  int __cc;
3518  __builtin_s390_vchlfs(__a, (vector unsigned int)__b, &__cc);
3519  return __cc == 3;
3520 }
3521 
3522 // This prototype is deprecated.
3523 static inline __ATTRS_o_ai int
3524 vec_all_le(vector bool int __a, vector unsigned int __b) {
3525  int __cc;
3526  __builtin_s390_vchlfs((vector unsigned int)__a, __b, &__cc);
3527  return __cc == 3;
3528 }
3529 
3530 // This prototype is deprecated.
3531 static inline __ATTRS_o_ai int
3532 vec_all_le(vector bool int __a, vector bool int __b) {
3533  int __cc;
3534  __builtin_s390_vchlfs((vector unsigned int)__a,
3535  (vector unsigned int)__b, &__cc);
3536  return __cc == 3;
3537 }
3538 
3539 static inline __ATTRS_o_ai int
3540 vec_all_le(vector signed long long __a, vector signed long long __b) {
3541  int __cc;
3542  __builtin_s390_vchgs(__a, __b, &__cc);
3543  return __cc == 3;
3544 }
3545 
3546 // This prototype is deprecated.
3547 static inline __ATTRS_o_ai int
3548 vec_all_le(vector signed long long __a, vector bool long long __b) {
3549  int __cc;
3550  __builtin_s390_vchgs(__a, (vector signed long long)__b, &__cc);
3551  return __cc == 3;
3552 }
3553 
3554 // This prototype is deprecated.
3555 static inline __ATTRS_o_ai int
3556 vec_all_le(vector bool long long __a, vector signed long long __b) {
3557  int __cc;
3558  __builtin_s390_vchgs((vector signed long long)__a, __b, &__cc);
3559  return __cc == 3;
3560 }
3561 
3562 static inline __ATTRS_o_ai int
3563 vec_all_le(vector unsigned long long __a, vector unsigned long long __b) {
3564  int __cc;
3565  __builtin_s390_vchlgs(__a, __b, &__cc);
3566  return __cc == 3;
3567 }
3568 
3569 // This prototype is deprecated.
3570 static inline __ATTRS_o_ai int
3571 vec_all_le(vector unsigned long long __a, vector bool long long __b) {
3572  int __cc;
3573  __builtin_s390_vchlgs(__a, (vector unsigned long long)__b, &__cc);
3574  return __cc == 3;
3575 }
3576 
3577 // This prototype is deprecated.
3578 static inline __ATTRS_o_ai int
3579 vec_all_le(vector bool long long __a, vector unsigned long long __b) {
3580  int __cc;
3581  __builtin_s390_vchlgs((vector unsigned long long)__a, __b, &__cc);
3582  return __cc == 3;
3583 }
3584 
3585 // This prototype is deprecated.
3586 static inline __ATTRS_o_ai int
3587 vec_all_le(vector bool long long __a, vector bool long long __b) {
3588  int __cc;
3589  __builtin_s390_vchlgs((vector unsigned long long)__a,
3590  (vector unsigned long long)__b, &__cc);
3591  return __cc == 3;
3592 }
3593 
3594 #if __ARCH__ >= 12
3595 static inline __ATTRS_o_ai int
3596 vec_all_le(vector float __a, vector float __b) {
3597  int __cc;
3598  __builtin_s390_vfchesbs(__b, __a, &__cc);
3599  return __cc == 0;
3600 }
3601 #endif
3602 
3603 static inline __ATTRS_o_ai int
3604 vec_all_le(vector double __a, vector double __b) {
3605  int __cc;
3606  __builtin_s390_vfchedbs(__b, __a, &__cc);
3607  return __cc == 0;
3608 }
3609 
3610 /*-- vec_all_lt -------------------------------------------------------------*/
3611 
3612 static inline __ATTRS_o_ai int
3613 vec_all_lt(vector signed char __a, vector signed char __b) {
3614  int __cc;
3615  __builtin_s390_vchbs(__b, __a, &__cc);
3616  return __cc == 0;
3617 }
3618 
3619 // This prototype is deprecated.
3620 static inline __ATTRS_o_ai int
3621 vec_all_lt(vector signed char __a, vector bool char __b) {
3622  int __cc;
3623  __builtin_s390_vchbs((vector signed char)__b, __a, &__cc);
3624  return __cc == 0;
3625 }
3626 
3627 // This prototype is deprecated.
3628 static inline __ATTRS_o_ai int
3629 vec_all_lt(vector bool char __a, vector signed char __b) {
3630  int __cc;
3631  __builtin_s390_vchbs(__b, (vector signed char)__a, &__cc);
3632  return __cc == 0;
3633 }
3634 
3635 static inline __ATTRS_o_ai int
3636 vec_all_lt(vector unsigned char __a, vector unsigned char __b) {
3637  int __cc;
3638  __builtin_s390_vchlbs(__b, __a, &__cc);
3639  return __cc == 0;
3640 }
3641 
3642 // This prototype is deprecated.
3643 static inline __ATTRS_o_ai int
3644 vec_all_lt(vector unsigned char __a, vector bool char __b) {
3645  int __cc;
3646  __builtin_s390_vchlbs((vector unsigned char)__b, __a, &__cc);
3647  return __cc == 0;
3648 }
3649 
3650 // This prototype is deprecated.
3651 static inline __ATTRS_o_ai int
3652 vec_all_lt(vector bool char __a, vector unsigned char __b) {
3653  int __cc;
3654  __builtin_s390_vchlbs(__b, (vector unsigned char)__a, &__cc);
3655  return __cc == 0;
3656 }
3657 
3658 // This prototype is deprecated.
3659 static inline __ATTRS_o_ai int
3660 vec_all_lt(vector bool char __a, vector bool char __b) {
3661  int __cc;
3662  __builtin_s390_vchlbs((vector unsigned char)__b,
3663  (vector unsigned char)__a, &__cc);
3664  return __cc == 0;
3665 }
3666 
3667 static inline __ATTRS_o_ai int
3668 vec_all_lt(vector signed short __a, vector signed short __b) {
3669  int __cc;
3670  __builtin_s390_vchhs(__b, __a, &__cc);
3671  return __cc == 0;
3672 }
3673 
3674 // This prototype is deprecated.
3675 static inline __ATTRS_o_ai int
3676 vec_all_lt(vector signed short __a, vector bool short __b) {
3677  int __cc;
3678  __builtin_s390_vchhs((vector signed short)__b, __a, &__cc);
3679  return __cc == 0;
3680 }
3681 
3682 // This prototype is deprecated.
3683 static inline __ATTRS_o_ai int
3684 vec_all_lt(vector bool short __a, vector signed short __b) {
3685  int __cc;
3686  __builtin_s390_vchhs(__b, (vector signed short)__a, &__cc);
3687  return __cc == 0;
3688 }
3689 
3690 static inline __ATTRS_o_ai int
3691 vec_all_lt(vector unsigned short __a, vector unsigned short __b) {
3692  int __cc;
3693  __builtin_s390_vchlhs(__b, __a, &__cc);
3694  return __cc == 0;
3695 }
3696 
3697 // This prototype is deprecated.
3698 static inline __ATTRS_o_ai int
3699 vec_all_lt(vector unsigned short __a, vector bool short __b) {
3700  int __cc;
3701  __builtin_s390_vchlhs((vector unsigned short)__b, __a, &__cc);
3702  return __cc == 0;
3703 }
3704 
3705 // This prototype is deprecated.
3706 static inline __ATTRS_o_ai int
3707 vec_all_lt(vector bool short __a, vector unsigned short __b) {
3708  int __cc;
3709  __builtin_s390_vchlhs(__b, (vector unsigned short)__a, &__cc);
3710  return __cc == 0;
3711 }
3712 
3713 // This prototype is deprecated.
3714 static inline __ATTRS_o_ai int
3715 vec_all_lt(vector bool short __a, vector bool short __b) {
3716  int __cc;
3717  __builtin_s390_vchlhs((vector unsigned short)__b,
3718  (vector unsigned short)__a, &__cc);
3719  return __cc == 0;
3720 }
3721 
3722 static inline __ATTRS_o_ai int
3723 vec_all_lt(vector signed int __a, vector signed int __b) {
3724  int __cc;
3725  __builtin_s390_vchfs(__b, __a, &__cc);
3726  return __cc == 0;
3727 }
3728 
3729 // This prototype is deprecated.
3730 static inline __ATTRS_o_ai int
3731 vec_all_lt(vector signed int __a, vector bool int __b) {
3732  int __cc;
3733  __builtin_s390_vchfs((vector signed int)__b, __a, &__cc);
3734  return __cc == 0;
3735 }
3736 
3737 // This prototype is deprecated.
3738 static inline __ATTRS_o_ai int
3739 vec_all_lt(vector bool int __a, vector signed int __b) {
3740  int __cc;
3741  __builtin_s390_vchfs(__b, (vector signed int)__a, &__cc);
3742  return __cc == 0;
3743 }
3744 
3745 static inline __ATTRS_o_ai int
3746 vec_all_lt(vector unsigned int __a, vector unsigned int __b) {
3747  int __cc;
3748  __builtin_s390_vchlfs(__b, __a, &__cc);
3749  return __cc == 0;
3750 }
3751 
3752 // This prototype is deprecated.
3753 static inline __ATTRS_o_ai int
3754 vec_all_lt(vector unsigned int __a, vector bool int __b) {
3755  int __cc;
3756  __builtin_s390_vchlfs((vector unsigned int)__b, __a, &__cc);
3757  return __cc == 0;
3758 }
3759 
3760 // This prototype is deprecated.
3761 static inline __ATTRS_o_ai int
3762 vec_all_lt(vector bool int __a, vector unsigned int __b) {
3763  int __cc;
3764  __builtin_s390_vchlfs(__b, (vector unsigned int)__a, &__cc);
3765  return __cc == 0;
3766 }
3767 
3768 // This prototype is deprecated.
3769 static inline __ATTRS_o_ai int
3770 vec_all_lt(vector bool int __a, vector bool int __b) {
3771  int __cc;
3772  __builtin_s390_vchlfs((vector unsigned int)__b,
3773  (vector unsigned int)__a, &__cc);
3774  return __cc == 0;
3775 }
3776 
3777 static inline __ATTRS_o_ai int
3778 vec_all_lt(vector signed long long __a, vector signed long long __b) {
3779  int __cc;
3780  __builtin_s390_vchgs(__b, __a, &__cc);
3781  return __cc == 0;
3782 }
3783 
3784 // This prototype is deprecated.
3785 static inline __ATTRS_o_ai int
3786 vec_all_lt(vector signed long long __a, vector bool long long __b) {
3787  int __cc;
3788  __builtin_s390_vchgs((vector signed long long)__b, __a, &__cc);
3789  return __cc == 0;
3790 }
3791 
3792 // This prototype is deprecated.
3793 static inline __ATTRS_o_ai int
3794 vec_all_lt(vector bool long long __a, vector signed long long __b) {
3795  int __cc;
3796  __builtin_s390_vchgs(__b, (vector signed long long)__a, &__cc);
3797  return __cc == 0;
3798 }
3799 
3800 static inline __ATTRS_o_ai int
3801 vec_all_lt(vector unsigned long long __a, vector unsigned long long __b) {
3802  int __cc;
3803  __builtin_s390_vchlgs(__b, __a, &__cc);
3804  return __cc == 0;
3805 }
3806 
3807 // This prototype is deprecated.
3808 static inline __ATTRS_o_ai int
3809 vec_all_lt(vector unsigned long long __a, vector bool long long __b) {
3810  int __cc;
3811  __builtin_s390_vchlgs((vector unsigned long long)__b, __a, &__cc);
3812  return __cc == 0;
3813 }
3814 
3815 // This prototype is deprecated.
3816 static inline __ATTRS_o_ai int
3817 vec_all_lt(vector bool long long __a, vector unsigned long long __b) {
3818  int __cc;
3819  __builtin_s390_vchlgs(__b, (vector unsigned long long)__a, &__cc);
3820  return __cc == 0;
3821 }
3822 
3823 // This prototype is deprecated.
3824 static inline __ATTRS_o_ai int
3825 vec_all_lt(vector bool long long __a, vector bool long long __b) {
3826  int __cc;
3827  __builtin_s390_vchlgs((vector unsigned long long)__b,
3828  (vector unsigned long long)__a, &__cc);
3829  return __cc == 0;
3830 }
3831 
3832 #if __ARCH__ >= 12
3833 static inline __ATTRS_o_ai int
3834 vec_all_lt(vector float __a, vector float __b) {
3835  int __cc;
3836  __builtin_s390_vfchsbs(__b, __a, &__cc);
3837  return __cc == 0;
3838 }
3839 #endif
3840 
3841 static inline __ATTRS_o_ai int
3842 vec_all_lt(vector double __a, vector double __b) {
3843  int __cc;
3844  __builtin_s390_vfchdbs(__b, __a, &__cc);
3845  return __cc == 0;
3846 }
3847 
3848 /*-- vec_all_nge ------------------------------------------------------------*/
3849 
3850 #if __ARCH__ >= 12
3851 static inline __ATTRS_o_ai int
3852 vec_all_nge(vector float __a, vector float __b) {
3853  int __cc;
3854  __builtin_s390_vfchesbs(__a, __b, &__cc);
3855  return __cc == 3;
3856 }
3857 #endif
3858 
3859 static inline __ATTRS_o_ai int
3860 vec_all_nge(vector double __a, vector double __b) {
3861  int __cc;
3862  __builtin_s390_vfchedbs(__a, __b, &__cc);
3863  return __cc == 3;
3864 }
3865 
3866 /*-- vec_all_ngt ------------------------------------------------------------*/
3867 
3868 #if __ARCH__ >= 12
3869 static inline __ATTRS_o_ai int
3870 vec_all_ngt(vector float __a, vector float __b) {
3871  int __cc;
3872  __builtin_s390_vfchsbs(__a, __b, &__cc);
3873  return __cc == 3;
3874 }
3875 #endif
3876 
3877 static inline __ATTRS_o_ai int
3878 vec_all_ngt(vector double __a, vector double __b) {
3879  int __cc;
3880  __builtin_s390_vfchdbs(__a, __b, &__cc);
3881  return __cc == 3;
3882 }
3883 
3884 /*-- vec_all_nle ------------------------------------------------------------*/
3885 
3886 #if __ARCH__ >= 12
3887 static inline __ATTRS_o_ai int
3888 vec_all_nle(vector float __a, vector float __b) {
3889  int __cc;
3890  __builtin_s390_vfchesbs(__b, __a, &__cc);
3891  return __cc == 3;
3892 }
3893 #endif
3894 
3895 static inline __ATTRS_o_ai int
3896 vec_all_nle(vector double __a, vector double __b) {
3897  int __cc;
3898  __builtin_s390_vfchedbs(__b, __a, &__cc);
3899  return __cc == 3;
3900 }
3901 
3902 /*-- vec_all_nlt ------------------------------------------------------------*/
3903 
3904 #if __ARCH__ >= 12
3905 static inline __ATTRS_o_ai int
3906 vec_all_nlt(vector float __a, vector float __b) {
3907  int __cc;
3908  __builtin_s390_vfchsbs(__b, __a, &__cc);
3909  return __cc == 3;
3910 }
3911 #endif
3912 
3913 static inline __ATTRS_o_ai int
3914 vec_all_nlt(vector double __a, vector double __b) {
3915  int __cc;
3916  __builtin_s390_vfchdbs(__b, __a, &__cc);
3917  return __cc == 3;
3918 }
3919 
3920 /*-- vec_all_nan ------------------------------------------------------------*/
3921 
3922 #if __ARCH__ >= 12
3923 static inline __ATTRS_o_ai int
3924 vec_all_nan(vector float __a) {
3925  int __cc;
3926  __builtin_s390_vftcisb(__a, 15, &__cc);
3927  return __cc == 0;
3928 }
3929 #endif
3930 
3931 static inline __ATTRS_o_ai int
3932 vec_all_nan(vector double __a) {
3933  int __cc;
3934  __builtin_s390_vftcidb(__a, 15, &__cc);
3935  return __cc == 0;
3936 }
3937 
3938 /*-- vec_all_numeric --------------------------------------------------------*/
3939 
3940 #if __ARCH__ >= 12
3941 static inline __ATTRS_o_ai int
3942 vec_all_numeric(vector float __a) {
3943  int __cc;
3944  __builtin_s390_vftcisb(__a, 15, &__cc);
3945  return __cc == 3;
3946 }
3947 #endif
3948 
3949 static inline __ATTRS_o_ai int
3950 vec_all_numeric(vector double __a) {
3951  int __cc;
3952  __builtin_s390_vftcidb(__a, 15, &__cc);
3953  return __cc == 3;
3954 }
3955 
3956 /*-- vec_any_eq -------------------------------------------------------------*/
3957 
3958 static inline __ATTRS_o_ai int
3959 vec_any_eq(vector signed char __a, vector signed char __b) {
3960  int __cc;
3961  __builtin_s390_vceqbs(__a, __b, &__cc);
3962  return __cc <= 1;
3963 }
3964 
3965 // This prototype is deprecated.
3966 static inline __ATTRS_o_ai int
3967 vec_any_eq(vector signed char __a, vector bool char __b) {
3968  int __cc;
3969  __builtin_s390_vceqbs(__a, (vector signed char)__b, &__cc);
3970  return __cc <= 1;
3971 }
3972 
3973 // This prototype is deprecated.
3974 static inline __ATTRS_o_ai int
3975 vec_any_eq(vector bool char __a, vector signed char __b) {
3976  int __cc;
3977  __builtin_s390_vceqbs((vector signed char)__a, __b, &__cc);
3978  return __cc <= 1;
3979 }
3980 
3981 static inline __ATTRS_o_ai int
3982 vec_any_eq(vector unsigned char __a, vector unsigned char __b) {
3983  int __cc;
3984  __builtin_s390_vceqbs((vector signed char)__a,
3985  (vector signed char)__b, &__cc);
3986  return __cc <= 1;
3987 }
3988 
3989 // This prototype is deprecated.
3990 static inline __ATTRS_o_ai int
3991 vec_any_eq(vector unsigned char __a, vector bool char __b) {
3992  int __cc;
3993  __builtin_s390_vceqbs((vector signed char)__a,
3994  (vector signed char)__b, &__cc);
3995  return __cc <= 1;
3996 }
3997 
3998 // This prototype is deprecated.
3999 static inline __ATTRS_o_ai int
4000 vec_any_eq(vector bool char __a, vector unsigned char __b) {
4001  int __cc;
4002  __builtin_s390_vceqbs((vector signed char)__a,
4003  (vector signed char)__b, &__cc);
4004  return __cc <= 1;
4005 }
4006 
4007 static inline __ATTRS_o_ai int
4008 vec_any_eq(vector bool char __a, vector bool char __b) {
4009  int __cc;
4010  __builtin_s390_vceqbs((vector signed char)__a,
4011  (vector signed char)__b, &__cc);
4012  return __cc <= 1;
4013 }
4014 
4015 static inline __ATTRS_o_ai int
4016 vec_any_eq(vector signed short __a, vector signed short __b) {
4017  int __cc;
4018  __builtin_s390_vceqhs(__a, __b, &__cc);
4019  return __cc <= 1;
4020 }
4021 
4022 // This prototype is deprecated.
4023 static inline __ATTRS_o_ai int
4024 vec_any_eq(vector signed short __a, vector bool short __b) {
4025  int __cc;
4026  __builtin_s390_vceqhs(__a, (vector signed short)__b, &__cc);
4027  return __cc <= 1;
4028 }
4029 
4030 // This prototype is deprecated.
4031 static inline __ATTRS_o_ai int
4032 vec_any_eq(vector bool short __a, vector signed short __b) {
4033  int __cc;
4034  __builtin_s390_vceqhs((vector signed short)__a, __b, &__cc);
4035  return __cc <= 1;
4036 }
4037 
4038 static inline __ATTRS_o_ai int
4039 vec_any_eq(vector unsigned short __a, vector unsigned short __b) {
4040  int __cc;
4041  __builtin_s390_vceqhs((vector signed short)__a,
4042  (vector signed short)__b, &__cc);
4043  return __cc <= 1;
4044 }
4045 
4046 // This prototype is deprecated.
4047 static inline __ATTRS_o_ai int
4048 vec_any_eq(vector unsigned short __a, vector bool short __b) {
4049  int __cc;
4050  __builtin_s390_vceqhs((vector signed short)__a,
4051  (vector signed short)__b, &__cc);
4052  return __cc <= 1;
4053 }
4054 
4055 // This prototype is deprecated.
4056 static inline __ATTRS_o_ai int
4057 vec_any_eq(vector bool short __a, vector unsigned short __b) {
4058  int __cc;
4059  __builtin_s390_vceqhs((vector signed short)__a,
4060  (vector signed short)__b, &__cc);
4061  return __cc <= 1;
4062 }
4063 
4064 static inline __ATTRS_o_ai int
4065 vec_any_eq(vector bool short __a, vector bool short __b) {
4066  int __cc;
4067  __builtin_s390_vceqhs((vector signed short)__a,
4068  (vector signed short)__b, &__cc);
4069  return __cc <= 1;
4070 }
4071 
4072 static inline __ATTRS_o_ai int
4073 vec_any_eq(vector signed int __a, vector signed int __b) {
4074  int __cc;
4075  __builtin_s390_vceqfs(__a, __b, &__cc);
4076  return __cc <= 1;
4077 }
4078 
4079 // This prototype is deprecated.
4080 static inline __ATTRS_o_ai int
4081 vec_any_eq(vector signed int __a, vector bool int __b) {
4082  int __cc;
4083  __builtin_s390_vceqfs(__a, (vector signed int)__b, &__cc);
4084  return __cc <= 1;
4085 }
4086 
4087 // This prototype is deprecated.
4088 static inline __ATTRS_o_ai int
4089 vec_any_eq(vector bool int __a, vector signed int __b) {
4090  int __cc;
4091  __builtin_s390_vceqfs((vector signed int)__a, __b, &__cc);
4092  return __cc <= 1;
4093 }
4094 
4095 static inline __ATTRS_o_ai int
4096 vec_any_eq(vector unsigned int __a, vector unsigned int __b) {
4097  int __cc;
4098  __builtin_s390_vceqfs((vector signed int)__a,
4099  (vector signed int)__b, &__cc);
4100  return __cc <= 1;
4101 }
4102 
4103 // This prototype is deprecated.
4104 static inline __ATTRS_o_ai int
4105 vec_any_eq(vector unsigned int __a, vector bool int __b) {
4106  int __cc;
4107  __builtin_s390_vceqfs((vector signed int)__a,
4108  (vector signed int)__b, &__cc);
4109  return __cc <= 1;
4110 }
4111 
4112 // This prototype is deprecated.
4113 static inline __ATTRS_o_ai int
4114 vec_any_eq(vector bool int __a, vector unsigned int __b) {
4115  int __cc;
4116  __builtin_s390_vceqfs((vector signed int)__a,
4117  (vector signed int)__b, &__cc);
4118  return __cc <= 1;
4119 }
4120 
4121 static inline __ATTRS_o_ai int
4122 vec_any_eq(vector bool int __a, vector bool int __b) {
4123  int __cc;
4124  __builtin_s390_vceqfs((vector signed int)__a,
4125  (vector signed int)__b, &__cc);
4126  return __cc <= 1;
4127 }
4128 
4129 static inline __ATTRS_o_ai int
4130 vec_any_eq(vector signed long long __a, vector signed long long __b) {
4131  int __cc;
4132  __builtin_s390_vceqgs(__a, __b, &__cc);
4133  return __cc <= 1;
4134 }
4135 
4136 // This prototype is deprecated.
4137 static inline __ATTRS_o_ai int
4138 vec_any_eq(vector signed long long __a, vector bool long long __b) {
4139  int __cc;
4140  __builtin_s390_vceqgs(__a, (vector signed long long)__b, &__cc);
4141  return __cc <= 1;
4142 }
4143 
4144 // This prototype is deprecated.
4145 static inline __ATTRS_o_ai int
4146 vec_any_eq(vector bool long long __a, vector signed long long __b) {
4147  int __cc;
4148  __builtin_s390_vceqgs((vector signed long long)__a, __b, &__cc);
4149  return __cc <= 1;
4150 }
4151 
4152 static inline __ATTRS_o_ai int
4153 vec_any_eq(vector unsigned long long __a, vector unsigned long long __b) {
4154  int __cc;
4155  __builtin_s390_vceqgs((vector signed long long)__a,
4156  (vector signed long long)__b, &__cc);
4157  return __cc <= 1;
4158 }
4159 
4160 // This prototype is deprecated.
4161 static inline __ATTRS_o_ai int
4162 vec_any_eq(vector unsigned long long __a, vector bool long long __b) {
4163  int __cc;
4164  __builtin_s390_vceqgs((vector signed long long)__a,
4165  (vector signed long long)__b, &__cc);
4166  return __cc <= 1;
4167 }
4168 
4169 // This prototype is deprecated.
4170 static inline __ATTRS_o_ai int
4171 vec_any_eq(vector bool long long __a, vector unsigned long long __b) {
4172  int __cc;
4173  __builtin_s390_vceqgs((vector signed long long)__a,
4174  (vector signed long long)__b, &__cc);
4175  return __cc <= 1;
4176 }
4177 
4178 static inline __ATTRS_o_ai int
4179 vec_any_eq(vector bool long long __a, vector bool long long __b) {
4180  int __cc;
4181  __builtin_s390_vceqgs((vector signed long long)__a,
4182  (vector signed long long)__b, &__cc);
4183  return __cc <= 1;
4184 }
4185 
4186 #if __ARCH__ >= 12
4187 static inline __ATTRS_o_ai int
4188 vec_any_eq(vector float __a, vector float __b) {
4189  int __cc;
4190  __builtin_s390_vfcesbs(__a, __b, &__cc);
4191  return __cc <= 1;
4192 }
4193 #endif
4194 
4195 static inline __ATTRS_o_ai int
4196 vec_any_eq(vector double __a, vector double __b) {
4197  int __cc;
4198  __builtin_s390_vfcedbs(__a, __b, &__cc);
4199  return __cc <= 1;
4200 }
4201 
4202 /*-- vec_any_ne -------------------------------------------------------------*/
4203 
4204 static inline __ATTRS_o_ai int
4205 vec_any_ne(vector signed char __a, vector signed char __b) {
4206  int __cc;
4207  __builtin_s390_vceqbs(__a, __b, &__cc);
4208  return __cc != 0;
4209 }
4210 
4211 // This prototype is deprecated.
4212 static inline __ATTRS_o_ai int
4213 vec_any_ne(vector signed char __a, vector bool char __b) {
4214  int __cc;
4215  __builtin_s390_vceqbs(__a, (vector signed char)__b, &__cc);
4216  return __cc != 0;
4217 }
4218 
4219 // This prototype is deprecated.
4220 static inline __ATTRS_o_ai int
4221 vec_any_ne(vector bool char __a, vector signed char __b) {
4222  int __cc;
4223  __builtin_s390_vceqbs((vector signed char)__a, __b, &__cc);
4224  return __cc != 0;
4225 }
4226 
4227 static inline __ATTRS_o_ai int
4228 vec_any_ne(vector unsigned char __a, vector unsigned char __b) {
4229  int __cc;
4230  __builtin_s390_vceqbs((vector signed char)__a,
4231  (vector signed char)__b, &__cc);
4232  return __cc != 0;
4233 }
4234 
4235 // This prototype is deprecated.
4236 static inline __ATTRS_o_ai int
4237 vec_any_ne(vector unsigned char __a, vector bool char __b) {
4238  int __cc;
4239  __builtin_s390_vceqbs((vector signed char)__a,
4240  (vector signed char)__b, &__cc);
4241  return __cc != 0;
4242 }
4243 
4244 // This prototype is deprecated.
4245 static inline __ATTRS_o_ai int
4246 vec_any_ne(vector bool char __a, vector unsigned char __b) {
4247  int __cc;
4248  __builtin_s390_vceqbs((vector signed char)__a,
4249  (vector signed char)__b, &__cc);
4250  return __cc != 0;
4251 }
4252 
4253 static inline __ATTRS_o_ai int
4254 vec_any_ne(vector bool char __a, vector bool char __b) {
4255  int __cc;
4256  __builtin_s390_vceqbs((vector signed char)__a,
4257  (vector signed char)__b, &__cc);
4258  return __cc != 0;
4259 }
4260 
4261 static inline __ATTRS_o_ai int
4262 vec_any_ne(vector signed short __a, vector signed short __b) {
4263  int __cc;
4264  __builtin_s390_vceqhs(__a, __b, &__cc);
4265  return __cc != 0;
4266 }
4267 
4268 // This prototype is deprecated.
4269 static inline __ATTRS_o_ai int
4270 vec_any_ne(vector signed short __a, vector bool short __b) {
4271  int __cc;
4272  __builtin_s390_vceqhs(__a, (vector signed short)__b, &__cc);
4273  return __cc != 0;
4274 }
4275 
4276 // This prototype is deprecated.
4277 static inline __ATTRS_o_ai int
4278 vec_any_ne(vector bool short __a, vector signed short __b) {
4279  int __cc;
4280  __builtin_s390_vceqhs((vector signed short)__a, __b, &__cc);
4281  return __cc != 0;
4282 }
4283 
4284 static inline __ATTRS_o_ai int
4285 vec_any_ne(vector unsigned short __a, vector unsigned short __b) {
4286  int __cc;
4287  __builtin_s390_vceqhs((vector signed short)__a,
4288  (vector signed short)__b, &__cc);
4289  return __cc != 0;
4290 }
4291 
4292 // This prototype is deprecated.
4293 static inline __ATTRS_o_ai int
4294 vec_any_ne(vector unsigned short __a, vector bool short __b) {
4295  int __cc;
4296  __builtin_s390_vceqhs((vector signed short)__a,
4297  (vector signed short)__b, &__cc);
4298  return __cc != 0;
4299 }
4300 
4301 // This prototype is deprecated.
4302 static inline __ATTRS_o_ai int
4303 vec_any_ne(vector bool short __a, vector unsigned short __b) {
4304  int __cc;
4305  __builtin_s390_vceqhs((vector signed short)__a,
4306  (vector signed short)__b, &__cc);
4307  return __cc != 0;
4308 }
4309 
4310 static inline __ATTRS_o_ai int
4311 vec_any_ne(vector bool short __a, vector bool short __b) {
4312  int __cc;
4313  __builtin_s390_vceqhs((vector signed short)__a,
4314  (vector signed short)__b, &__cc);
4315  return __cc != 0;
4316 }
4317 
4318 static inline __ATTRS_o_ai int
4319 vec_any_ne(vector signed int __a, vector signed int __b) {
4320  int __cc;
4321  __builtin_s390_vceqfs(__a, __b, &__cc);
4322  return __cc != 0;
4323 }
4324 
4325 // This prototype is deprecated.
4326 static inline __ATTRS_o_ai int
4327 vec_any_ne(vector signed int __a, vector bool int __b) {
4328  int __cc;
4329  __builtin_s390_vceqfs(__a, (vector signed int)__b, &__cc);
4330  return __cc != 0;
4331 }
4332 
4333 // This prototype is deprecated.
4334 static inline __ATTRS_o_ai int
4335 vec_any_ne(vector bool int __a, vector signed int __b) {
4336  int __cc;
4337  __builtin_s390_vceqfs((vector signed int)__a, __b, &__cc);
4338  return __cc != 0;
4339 }
4340 
4341 static inline __ATTRS_o_ai int
4342 vec_any_ne(vector unsigned int __a, vector unsigned int __b) {
4343  int __cc;
4344  __builtin_s390_vceqfs((vector signed int)__a,
4345  (vector signed int)__b, &__cc);
4346  return __cc != 0;
4347 }
4348 
4349 // This prototype is deprecated.
4350 static inline __ATTRS_o_ai int
4351 vec_any_ne(vector unsigned int __a, vector bool int __b) {
4352  int __cc;
4353  __builtin_s390_vceqfs((vector signed int)__a,
4354  (vector signed int)__b, &__cc);
4355  return __cc != 0;
4356 }
4357 
4358 // This prototype is deprecated.
4359 static inline __ATTRS_o_ai int
4360 vec_any_ne(vector bool int __a, vector unsigned int __b) {
4361  int __cc;
4362  __builtin_s390_vceqfs((vector signed int)__a,
4363  (vector signed int)__b, &__cc);
4364  return __cc != 0;
4365 }
4366 
4367 static inline __ATTRS_o_ai int
4368 vec_any_ne(vector bool int __a, vector bool int __b) {
4369  int __cc;
4370  __builtin_s390_vceqfs((vector signed int)__a,
4371  (vector signed int)__b, &__cc);
4372  return __cc != 0;
4373 }
4374 
4375 static inline __ATTRS_o_ai int
4376 vec_any_ne(vector signed long long __a, vector signed long long __b) {
4377  int __cc;
4378  __builtin_s390_vceqgs(__a, __b, &__cc);
4379  return __cc != 0;
4380 }
4381 
4382 // This prototype is deprecated.
4383 static inline __ATTRS_o_ai int
4384 vec_any_ne(vector signed long long __a, vector bool long long __b) {
4385  int __cc;
4386  __builtin_s390_vceqgs(__a, (vector signed long long)__b, &__cc);
4387  return __cc != 0;
4388 }
4389 
4390 // This prototype is deprecated.
4391 static inline __ATTRS_o_ai int
4392 vec_any_ne(vector bool long long __a, vector signed long long __b) {
4393  int __cc;
4394  __builtin_s390_vceqgs((vector signed long long)__a, __b, &__cc);
4395  return __cc != 0;
4396 }
4397 
4398 static inline __ATTRS_o_ai int
4399 vec_any_ne(vector unsigned long long __a, vector unsigned long long __b) {
4400  int __cc;
4401  __builtin_s390_vceqgs((vector signed long long)__a,
4402  (vector signed long long)__b, &__cc);
4403  return __cc != 0;
4404 }
4405 
4406 // This prototype is deprecated.
4407 static inline __ATTRS_o_ai int
4408 vec_any_ne(vector unsigned long long __a, vector bool long long __b) {
4409  int __cc;
4410  __builtin_s390_vceqgs((vector signed long long)__a,
4411  (vector signed long long)__b, &__cc);
4412  return __cc != 0;
4413 }
4414 
4415 // This prototype is deprecated.
4416 static inline __ATTRS_o_ai int
4417 vec_any_ne(vector bool long long __a, vector unsigned long long __b) {
4418  int __cc;
4419  __builtin_s390_vceqgs((vector signed long long)__a,
4420  (vector signed long long)__b, &__cc);
4421  return __cc != 0;
4422 }
4423 
4424 static inline __ATTRS_o_ai int
4425 vec_any_ne(vector bool long long __a, vector bool long long __b) {
4426  int __cc;
4427  __builtin_s390_vceqgs((vector signed long long)__a,
4428  (vector signed long long)__b, &__cc);
4429  return __cc != 0;
4430 }
4431 
4432 #if __ARCH__ >= 12
4433 static inline __ATTRS_o_ai int
4434 vec_any_ne(vector float __a, vector float __b) {
4435  int __cc;
4436  __builtin_s390_vfcesbs(__a, __b, &__cc);
4437  return __cc != 0;
4438 }
4439 #endif
4440 
4441 static inline __ATTRS_o_ai int
4442 vec_any_ne(vector double __a, vector double __b) {
4443  int __cc;
4444  __builtin_s390_vfcedbs(__a, __b, &__cc);
4445  return __cc != 0;
4446 }
4447 
4448 /*-- vec_any_ge -------------------------------------------------------------*/
4449 
4450 static inline __ATTRS_o_ai int
4451 vec_any_ge(vector signed char __a, vector signed char __b) {
4452  int __cc;
4453  __builtin_s390_vchbs(__b, __a, &__cc);
4454  return __cc != 0;
4455 }
4456 
4457 // This prototype is deprecated.
4458 static inline __ATTRS_o_ai int
4459 vec_any_ge(vector signed char __a, vector bool char __b) {
4460  int __cc;
4461  __builtin_s390_vchbs((vector signed char)__b, __a, &__cc);
4462  return __cc != 0;
4463 }
4464 
4465 // This prototype is deprecated.
4466 static inline __ATTRS_o_ai int
4467 vec_any_ge(vector bool char __a, vector signed char __b) {
4468  int __cc;
4469  __builtin_s390_vchbs(__b, (vector signed char)__a, &__cc);
4470  return __cc != 0;
4471 }
4472 
4473 static inline __ATTRS_o_ai int
4474 vec_any_ge(vector unsigned char __a, vector unsigned char __b) {
4475  int __cc;
4476  __builtin_s390_vchlbs(__b, __a, &__cc);
4477  return __cc != 0;
4478 }
4479 
4480 // This prototype is deprecated.
4481 static inline __ATTRS_o_ai int
4482 vec_any_ge(vector unsigned char __a, vector bool char __b) {
4483  int __cc;
4484  __builtin_s390_vchlbs((vector unsigned char)__b, __a, &__cc);
4485  return __cc != 0;
4486 }
4487 
4488 // This prototype is deprecated.
4489 static inline __ATTRS_o_ai int
4490 vec_any_ge(vector bool char __a, vector unsigned char __b) {
4491  int __cc;
4492  __builtin_s390_vchlbs(__b, (vector unsigned char)__a, &__cc);
4493  return __cc != 0;
4494 }
4495 
4496 // This prototype is deprecated.
4497 static inline __ATTRS_o_ai int
4498 vec_any_ge(vector bool char __a, vector bool char __b) {
4499  int __cc;
4500  __builtin_s390_vchlbs((vector unsigned char)__b,
4501  (vector unsigned char)__a, &__cc);
4502  return __cc != 0;
4503 }
4504 
4505 static inline __ATTRS_o_ai int
4506 vec_any_ge(vector signed short __a, vector signed short __b) {
4507  int __cc;
4508  __builtin_s390_vchhs(__b, __a, &__cc);
4509  return __cc != 0;
4510 }
4511 
4512 // This prototype is deprecated.
4513 static inline __ATTRS_o_ai int
4514 vec_any_ge(vector signed short __a, vector bool short __b) {
4515  int __cc;
4516  __builtin_s390_vchhs((vector signed short)__b, __a, &__cc);
4517  return __cc != 0;
4518 }
4519 
4520 // This prototype is deprecated.
4521 static inline __ATTRS_o_ai int
4522 vec_any_ge(vector bool short __a, vector signed short __b) {
4523  int __cc;
4524  __builtin_s390_vchhs(__b, (vector signed short)__a, &__cc);
4525  return __cc != 0;
4526 }
4527 
4528 static inline __ATTRS_o_ai int
4529 vec_any_ge(vector unsigned short __a, vector unsigned short __b) {
4530  int __cc;
4531  __builtin_s390_vchlhs(__b, __a, &__cc);
4532  return __cc != 0;
4533 }
4534 
4535 // This prototype is deprecated.
4536 static inline __ATTRS_o_ai int
4537 vec_any_ge(vector unsigned short __a, vector bool short __b) {
4538  int __cc;
4539  __builtin_s390_vchlhs((vector unsigned short)__b, __a, &__cc);
4540  return __cc != 0;
4541 }
4542 
4543 // This prototype is deprecated.
4544 static inline __ATTRS_o_ai int
4545 vec_any_ge(vector bool short __a, vector unsigned short __b) {
4546  int __cc;
4547  __builtin_s390_vchlhs(__b, (vector unsigned short)__a, &__cc);
4548  return __cc != 0;
4549 }
4550 
4551 // This prototype is deprecated.
4552 static inline __ATTRS_o_ai int
4553 vec_any_ge(vector bool short __a, vector bool short __b) {
4554  int __cc;
4555  __builtin_s390_vchlhs((vector unsigned short)__b,
4556  (vector unsigned short)__a, &__cc);
4557  return __cc != 0;
4558 }
4559 
4560 static inline __ATTRS_o_ai int
4561 vec_any_ge(vector signed int __a, vector signed int __b) {
4562  int __cc;
4563  __builtin_s390_vchfs(__b, __a, &__cc);
4564  return __cc != 0;
4565 }
4566 
4567 // This prototype is deprecated.
4568 static inline __ATTRS_o_ai int
4569 vec_any_ge(vector signed int __a, vector bool int __b) {
4570  int __cc;
4571  __builtin_s390_vchfs((vector signed int)__b, __a, &__cc);
4572  return __cc != 0;
4573 }
4574 
4575 // This prototype is deprecated.
4576 static inline __ATTRS_o_ai int
4577 vec_any_ge(vector bool int __a, vector signed int __b) {
4578  int __cc;
4579  __builtin_s390_vchfs(__b, (vector signed int)__a, &__cc);
4580  return __cc != 0;
4581 }
4582 
4583 static inline __ATTRS_o_ai int
4584 vec_any_ge(vector unsigned int __a, vector unsigned int __b) {
4585  int __cc;
4586  __builtin_s390_vchlfs(__b, __a, &__cc);
4587  return __cc != 0;
4588 }
4589 
4590 // This prototype is deprecated.
4591 static inline __ATTRS_o_ai int
4592 vec_any_ge(vector unsigned int __a, vector bool int __b) {
4593  int __cc;
4594  __builtin_s390_vchlfs((vector unsigned int)__b, __a, &__cc);
4595  return __cc != 0;
4596 }
4597 
4598 // This prototype is deprecated.
4599 static inline __ATTRS_o_ai int
4600 vec_any_ge(vector bool int __a, vector unsigned int __b) {
4601  int __cc;
4602  __builtin_s390_vchlfs(__b, (vector unsigned int)__a, &__cc);
4603  return __cc != 0;
4604 }
4605 
4606 // This prototype is deprecated.
4607 static inline __ATTRS_o_ai int
4608 vec_any_ge(vector bool int __a, vector bool int __b) {
4609  int __cc;
4610  __builtin_s390_vchlfs((vector unsigned int)__b,
4611  (vector unsigned int)__a, &__cc);
4612  return __cc != 0;
4613 }
4614 
4615 static inline __ATTRS_o_ai int
4616 vec_any_ge(vector signed long long __a, vector signed long long __b) {
4617  int __cc;
4618  __builtin_s390_vchgs(__b, __a, &__cc);
4619  return __cc != 0;
4620 }
4621 
4622 // This prototype is deprecated.
4623 static inline __ATTRS_o_ai int
4624 vec_any_ge(vector signed long long __a, vector bool long long __b) {
4625  int __cc;
4626  __builtin_s390_vchgs((vector signed long long)__b, __a, &__cc);
4627  return __cc != 0;
4628 }
4629 
4630 // This prototype is deprecated.
4631 static inline __ATTRS_o_ai int
4632 vec_any_ge(vector bool long long __a, vector signed long long __b) {
4633  int __cc;
4634  __builtin_s390_vchgs(__b, (vector signed long long)__a, &__cc);
4635  return __cc != 0;
4636 }
4637 
4638 static inline __ATTRS_o_ai int
4639 vec_any_ge(vector unsigned long long __a, vector unsigned long long __b) {
4640  int __cc;
4641  __builtin_s390_vchlgs(__b, __a, &__cc);
4642  return __cc != 0;
4643 }
4644 
4645 // This prototype is deprecated.
4646 static inline __ATTRS_o_ai int
4647 vec_any_ge(vector unsigned long long __a, vector bool long long __b) {
4648  int __cc;
4649  __builtin_s390_vchlgs((vector unsigned long long)__b, __a, &__cc);
4650  return __cc != 0;
4651 }
4652 
4653 // This prototype is deprecated.
4654 static inline __ATTRS_o_ai int
4655 vec_any_ge(vector bool long long __a, vector unsigned long long __b) {
4656  int __cc;
4657  __builtin_s390_vchlgs(__b, (vector unsigned long long)__a, &__cc);
4658  return __cc != 0;
4659 }
4660 
4661 // This prototype is deprecated.
4662 static inline __ATTRS_o_ai int
4663 vec_any_ge(vector bool long long __a, vector bool long long __b) {
4664  int __cc;
4665  __builtin_s390_vchlgs((vector unsigned long long)__b,
4666  (vector unsigned long long)__a, &__cc);
4667  return __cc != 0;
4668 }
4669 
4670 #if __ARCH__ >= 12
4671 static inline __ATTRS_o_ai int
4672 vec_any_ge(vector float __a, vector float __b) {
4673  int __cc;
4674  __builtin_s390_vfchesbs(__a, __b, &__cc);
4675  return __cc <= 1;
4676 }
4677 #endif
4678 
4679 static inline __ATTRS_o_ai int
4680 vec_any_ge(vector double __a, vector double __b) {
4681  int __cc;
4682  __builtin_s390_vfchedbs(__a, __b, &__cc);
4683  return __cc <= 1;
4684 }
4685 
4686 /*-- vec_any_gt -------------------------------------------------------------*/
4687 
4688 static inline __ATTRS_o_ai int
4689 vec_any_gt(vector signed char __a, vector signed char __b) {
4690  int __cc;
4691  __builtin_s390_vchbs(__a, __b, &__cc);
4692  return __cc <= 1;
4693 }
4694 
4695 // This prototype is deprecated.
4696 static inline __ATTRS_o_ai int
4697 vec_any_gt(vector signed char __a, vector bool char __b) {
4698  int __cc;
4699  __builtin_s390_vchbs(__a, (vector signed char)__b, &__cc);
4700  return __cc <= 1;
4701 }
4702 
4703 // This prototype is deprecated.
4704 static inline __ATTRS_o_ai int
4705 vec_any_gt(vector bool char __a, vector signed char __b) {
4706  int __cc;
4707  __builtin_s390_vchbs((vector signed char)__a, __b, &__cc);
4708  return __cc <= 1;
4709 }
4710 
4711 static inline __ATTRS_o_ai int
4712 vec_any_gt(vector unsigned char __a, vector unsigned char __b) {
4713  int __cc;
4714  __builtin_s390_vchlbs(__a, __b, &__cc);
4715  return __cc <= 1;
4716 }
4717 
4718 // This prototype is deprecated.
4719 static inline __ATTRS_o_ai int
4720 vec_any_gt(vector unsigned char __a, vector bool char __b) {
4721  int __cc;
4722  __builtin_s390_vchlbs(__a, (vector unsigned char)__b, &__cc);
4723  return __cc <= 1;
4724 }
4725 
4726 // This prototype is deprecated.
4727 static inline __ATTRS_o_ai int
4728 vec_any_gt(vector bool char __a, vector unsigned char __b) {
4729  int __cc;
4730  __builtin_s390_vchlbs((vector unsigned char)__a, __b, &__cc);
4731  return __cc <= 1;
4732 }
4733 
4734 // This prototype is deprecated.
4735 static inline __ATTRS_o_ai int
4736 vec_any_gt(vector bool char __a, vector bool char __b) {
4737  int __cc;
4738  __builtin_s390_vchlbs((vector unsigned char)__a,
4739  (vector unsigned char)__b, &__cc);
4740  return __cc <= 1;
4741 }
4742 
4743 static inline __ATTRS_o_ai int
4744 vec_any_gt(vector signed short __a, vector signed short __b) {
4745  int __cc;
4746  __builtin_s390_vchhs(__a, __b, &__cc);
4747  return __cc <= 1;
4748 }
4749 
4750 // This prototype is deprecated.
4751 static inline __ATTRS_o_ai int
4752 vec_any_gt(vector signed short __a, vector bool short __b) {
4753  int __cc;
4754  __builtin_s390_vchhs(__a, (vector signed short)__b, &__cc);
4755  return __cc <= 1;
4756 }
4757 
4758 // This prototype is deprecated.
4759 static inline __ATTRS_o_ai int
4760 vec_any_gt(vector bool short __a, vector signed short __b) {
4761  int __cc;
4762  __builtin_s390_vchhs((vector signed short)__a, __b, &__cc);
4763  return __cc <= 1;
4764 }
4765 
4766 static inline __ATTRS_o_ai int
4767 vec_any_gt(vector unsigned short __a, vector unsigned short __b) {
4768  int __cc;
4769  __builtin_s390_vchlhs(__a, __b, &__cc);
4770  return __cc <= 1;
4771 }
4772 
4773 // This prototype is deprecated.
4774 static inline __ATTRS_o_ai int
4775 vec_any_gt(vector unsigned short __a, vector bool short __b) {
4776  int __cc;
4777  __builtin_s390_vchlhs(__a, (vector unsigned short)__b, &__cc);
4778  return __cc <= 1;
4779 }
4780 
4781 // This prototype is deprecated.
4782 static inline __ATTRS_o_ai int
4783 vec_any_gt(vector bool short __a, vector unsigned short __b) {
4784  int __cc;
4785  __builtin_s390_vchlhs((vector unsigned short)__a, __b, &__cc);
4786  return __cc <= 1;
4787 }
4788 
4789 // This prototype is deprecated.
4790 static inline __ATTRS_o_ai int
4791 vec_any_gt(vector bool short __a, vector bool short __b) {
4792  int __cc;
4793  __builtin_s390_vchlhs((vector unsigned short)__a,
4794  (vector unsigned short)__b, &__cc);
4795  return __cc <= 1;
4796 }
4797 
4798 static inline __ATTRS_o_ai int
4799 vec_any_gt(vector signed int __a, vector signed int __b) {
4800  int __cc;
4801  __builtin_s390_vchfs(__a, __b, &__cc);
4802  return __cc <= 1;
4803 }
4804 
4805 // This prototype is deprecated.
4806 static inline __ATTRS_o_ai int
4807 vec_any_gt(vector signed int __a, vector bool int __b) {
4808  int __cc;
4809  __builtin_s390_vchfs(__a, (vector signed int)__b, &__cc);
4810  return __cc <= 1;
4811 }
4812 
4813 // This prototype is deprecated.
4814 static inline __ATTRS_o_ai int
4815 vec_any_gt(vector bool int __a, vector signed int __b) {
4816  int __cc;
4817  __builtin_s390_vchfs((vector signed int)__a, __b, &__cc);
4818  return __cc <= 1;
4819 }
4820 
4821 static inline __ATTRS_o_ai int
4822 vec_any_gt(vector unsigned int __a, vector unsigned int __b) {
4823  int __cc;
4824  __builtin_s390_vchlfs(__a, __b, &__cc);
4825  return __cc <= 1;
4826 }
4827 
4828 // This prototype is deprecated.
4829 static inline __ATTRS_o_ai int
4830 vec_any_gt(vector unsigned int __a, vector bool int __b) {
4831  int __cc;
4832  __builtin_s390_vchlfs(__a, (vector unsigned int)__b, &__cc);
4833  return __cc <= 1;
4834 }
4835 
4836 // This prototype is deprecated.
4837 static inline __ATTRS_o_ai int
4838 vec_any_gt(vector bool int __a, vector unsigned int __b) {
4839  int __cc;
4840  __builtin_s390_vchlfs((vector unsigned int)__a, __b, &__cc);
4841  return __cc <= 1;
4842 }
4843 
4844 // This prototype is deprecated.
4845 static inline __ATTRS_o_ai int
4846 vec_any_gt(vector bool int __a, vector bool int __b) {
4847  int __cc;
4848  __builtin_s390_vchlfs((vector unsigned int)__a,
4849  (vector unsigned int)__b, &__cc);
4850  return __cc <= 1;
4851 }
4852 
4853 static inline __ATTRS_o_ai int
4854 vec_any_gt(vector signed long long __a, vector signed long long __b) {
4855  int __cc;
4856  __builtin_s390_vchgs(__a, __b, &__cc);
4857  return __cc <= 1;
4858 }
4859 
4860 // This prototype is deprecated.
4861 static inline __ATTRS_o_ai int
4862 vec_any_gt(vector signed long long __a, vector bool long long __b) {
4863  int __cc;
4864  __builtin_s390_vchgs(__a, (vector signed long long)__b, &__cc);
4865  return __cc <= 1;
4866 }
4867 
4868 // This prototype is deprecated.
4869 static inline __ATTRS_o_ai int
4870 vec_any_gt(vector bool long long __a, vector signed long long __b) {
4871  int __cc;
4872  __builtin_s390_vchgs((vector signed long long)__a, __b, &__cc);
4873  return __cc <= 1;
4874 }
4875 
4876 static inline __ATTRS_o_ai int
4877 vec_any_gt(vector unsigned long long __a, vector unsigned long long __b) {
4878  int __cc;
4879  __builtin_s390_vchlgs(__a, __b, &__cc);
4880  return __cc <= 1;
4881 }
4882 
4883 // This prototype is deprecated.
4884 static inline __ATTRS_o_ai int
4885 vec_any_gt(vector unsigned long long __a, vector bool long long __b) {
4886  int __cc;
4887  __builtin_s390_vchlgs(__a, (vector unsigned long long)__b, &__cc);
4888  return __cc <= 1;
4889 }
4890 
4891 // This prototype is deprecated.
4892 static inline __ATTRS_o_ai int
4893 vec_any_gt(vector bool long long __a, vector unsigned long long __b) {
4894  int __cc;
4895  __builtin_s390_vchlgs((vector unsigned long long)__a, __b, &__cc);
4896  return __cc <= 1;
4897 }
4898 
4899 // This prototype is deprecated.
4900 static inline __ATTRS_o_ai int
4901 vec_any_gt(vector bool long long __a, vector bool long long __b) {
4902  int __cc;
4903  __builtin_s390_vchlgs((vector unsigned long long)__a,
4904  (vector unsigned long long)__b, &__cc);
4905  return __cc <= 1;
4906 }
4907 
4908 #if __ARCH__ >= 12
4909 static inline __ATTRS_o_ai int
4910 vec_any_gt(vector float __a, vector float __b) {
4911  int __cc;
4912  __builtin_s390_vfchsbs(__a, __b, &__cc);
4913  return __cc <= 1;
4914 }
4915 #endif
4916 
4917 static inline __ATTRS_o_ai int
4918 vec_any_gt(vector double __a, vector double __b) {
4919  int __cc;
4920  __builtin_s390_vfchdbs(__a, __b, &__cc);
4921  return __cc <= 1;
4922 }
4923 
4924 /*-- vec_any_le -------------------------------------------------------------*/
4925 
4926 static inline __ATTRS_o_ai int
4927 vec_any_le(vector signed char __a, vector signed char __b) {
4928  int __cc;
4929  __builtin_s390_vchbs(__a, __b, &__cc);
4930  return __cc != 0;
4931 }
4932 
4933 // This prototype is deprecated.
4934 static inline __ATTRS_o_ai int
4935 vec_any_le(vector signed char __a, vector bool char __b) {
4936  int __cc;
4937  __builtin_s390_vchbs(__a, (vector signed char)__b, &__cc);
4938  return __cc != 0;
4939 }
4940 
4941 // This prototype is deprecated.
4942 static inline __ATTRS_o_ai int
4943 vec_any_le(vector bool char __a, vector signed char __b) {
4944  int __cc;
4945  __builtin_s390_vchbs((vector signed char)__a, __b, &__cc);
4946  return __cc != 0;
4947 }
4948 
4949 static inline __ATTRS_o_ai int
4950 vec_any_le(vector unsigned char __a, vector unsigned char __b) {
4951  int __cc;
4952  __builtin_s390_vchlbs(__a, __b, &__cc);
4953  return __cc != 0;
4954 }
4955 
4956 // This prototype is deprecated.
4957 static inline __ATTRS_o_ai int
4958 vec_any_le(vector unsigned char __a, vector bool char __b) {
4959  int __cc;
4960  __builtin_s390_vchlbs(__a, (vector unsigned char)__b, &__cc);
4961  return __cc != 0;
4962 }
4963 
4964 // This prototype is deprecated.
4965 static inline __ATTRS_o_ai int
4966 vec_any_le(vector bool char __a, vector unsigned char __b) {
4967  int __cc;
4968  __builtin_s390_vchlbs((vector unsigned char)__a, __b, &__cc);
4969  return __cc != 0;
4970 }
4971 
4972 // This prototype is deprecated.
4973 static inline __ATTRS_o_ai int
4974 vec_any_le(vector bool char __a, vector bool char __b) {
4975  int __cc;
4976  __builtin_s390_vchlbs((vector unsigned char)__a,
4977  (vector unsigned char)__b, &__cc);
4978  return __cc != 0;
4979 }
4980 
4981 static inline __ATTRS_o_ai int
4982 vec_any_le(vector signed short __a, vector signed short __b) {
4983  int __cc;
4984  __builtin_s390_vchhs(__a, __b, &__cc);
4985  return __cc != 0;
4986 }
4987 
4988 // This prototype is deprecated.
4989 static inline __ATTRS_o_ai int
4990 vec_any_le(vector signed short __a, vector bool short __b) {
4991  int __cc;
4992  __builtin_s390_vchhs(__a, (vector signed short)__b, &__cc);
4993  return __cc != 0;
4994 }
4995 
4996 // This prototype is deprecated.
4997 static inline __ATTRS_o_ai int
4998 vec_any_le(vector bool short __a, vector signed short __b) {
4999  int __cc;
5000  __builtin_s390_vchhs((vector signed short)__a, __b, &__cc);
5001  return __cc != 0;
5002 }
5003 
5004 static inline __ATTRS_o_ai int
5005 vec_any_le(vector unsigned short __a, vector unsigned short __b) {
5006  int __cc;
5007  __builtin_s390_vchlhs(__a, __b, &__cc);
5008  return __cc != 0;
5009 }
5010 
5011 // This prototype is deprecated.
5012 static inline __ATTRS_o_ai int
5013 vec_any_le(vector unsigned short __a, vector bool short __b) {
5014  int __cc;
5015  __builtin_s390_vchlhs(__a, (vector unsigned short)__b, &__cc);
5016  return __cc != 0;
5017 }
5018 
5019 // This prototype is deprecated.
5020 static inline __ATTRS_o_ai int
5021 vec_any_le(vector bool short __a, vector unsigned short __b) {
5022  int __cc;
5023  __builtin_s390_vchlhs((vector unsigned short)__a, __b, &__cc);
5024  return __cc != 0;
5025 }
5026 
5027 // This prototype is deprecated.
5028 static inline __ATTRS_o_ai int
5029 vec_any_le(vector bool short __a, vector bool short __b) {
5030  int __cc;
5031  __builtin_s390_vchlhs((vector unsigned short)__a,
5032  (vector unsigned short)__b, &__cc);
5033  return __cc != 0;
5034 }
5035 
5036 static inline __ATTRS_o_ai int
5037 vec_any_le(vector signed int __a, vector signed int __b) {
5038  int __cc;
5039  __builtin_s390_vchfs(__a, __b, &__cc);
5040  return __cc != 0;
5041 }
5042 
5043 // This prototype is deprecated.
5044 static inline __ATTRS_o_ai int
5045 vec_any_le(vector signed int __a, vector bool int __b) {
5046  int __cc;
5047  __builtin_s390_vchfs(__a, (vector signed int)__b, &__cc);
5048  return __cc != 0;
5049 }
5050 
5051 // This prototype is deprecated.
5052 static inline __ATTRS_o_ai int
5053 vec_any_le(vector bool int __a, vector signed int __b) {
5054  int __cc;
5055  __builtin_s390_vchfs((vector signed int)__a, __b, &__cc);
5056  return __cc != 0;
5057 }
5058 
5059 static inline __ATTRS_o_ai int
5060 vec_any_le(vector unsigned int __a, vector unsigned int __b) {
5061  int __cc;
5062  __builtin_s390_vchlfs(__a, __b, &__cc);
5063  return __cc != 0;
5064 }
5065 
5066 // This prototype is deprecated.
5067 static inline __ATTRS_o_ai int
5068 vec_any_le(vector unsigned int __a, vector bool int __b) {
5069  int __cc;
5070  __builtin_s390_vchlfs(__a, (vector unsigned int)__b, &__cc);
5071  return __cc != 0;
5072 }
5073 
5074 // This prototype is deprecated.
5075 static inline __ATTRS_o_ai int
5076 vec_any_le(vector bool int __a, vector unsigned int __b) {
5077  int __cc;
5078  __builtin_s390_vchlfs((vector unsigned int)__a, __b, &__cc);
5079  return __cc != 0;
5080 }
5081 
5082 // This prototype is deprecated.
5083 static inline __ATTRS_o_ai int
5084 vec_any_le(vector bool int __a, vector bool int __b) {
5085  int __cc;
5086  __builtin_s390_vchlfs((vector unsigned int)__a,
5087  (vector unsigned int)__b, &__cc);
5088  return __cc != 0;
5089 }
5090 
5091 static inline __ATTRS_o_ai int
5092 vec_any_le(vector signed long long __a, vector signed long long __b) {
5093  int __cc;
5094  __builtin_s390_vchgs(__a, __b, &__cc);
5095  return __cc != 0;
5096 }
5097 
5098 // This prototype is deprecated.
5099 static inline __ATTRS_o_ai int
5100 vec_any_le(vector signed long long __a, vector bool long long __b) {
5101  int __cc;
5102  __builtin_s390_vchgs(__a, (vector signed long long)__b, &__cc);
5103  return __cc != 0;
5104 }
5105 
5106 // This prototype is deprecated.
5107 static inline __ATTRS_o_ai int
5108 vec_any_le(vector bool long long __a, vector signed long long __b) {
5109  int __cc;
5110  __builtin_s390_vchgs((vector signed long long)__a, __b, &__cc);
5111  return __cc != 0;
5112 }
5113 
5114 static inline __ATTRS_o_ai int
5115 vec_any_le(vector unsigned long long __a, vector unsigned long long __b) {
5116  int __cc;
5117  __builtin_s390_vchlgs(__a, __b, &__cc);
5118  return __cc != 0;
5119 }
5120 
5121 // This prototype is deprecated.
5122 static inline __ATTRS_o_ai int
5123 vec_any_le(vector unsigned long long __a, vector bool long long __b) {
5124  int __cc;
5125  __builtin_s390_vchlgs(__a, (vector unsigned long long)__b, &__cc);
5126  return __cc != 0;
5127 }
5128 
5129 // This prototype is deprecated.
5130 static inline __ATTRS_o_ai int
5131 vec_any_le(vector bool long long __a, vector unsigned long long __b) {
5132  int __cc;
5133  __builtin_s390_vchlgs((vector unsigned long long)__a, __b, &__cc);
5134  return __cc != 0;
5135 }
5136 
5137 // This prototype is deprecated.
5138 static inline __ATTRS_o_ai int
5139 vec_any_le(vector bool long long __a, vector bool long long __b) {
5140  int __cc;
5141  __builtin_s390_vchlgs((vector unsigned long long)__a,
5142  (vector unsigned long long)__b, &__cc);
5143  return __cc != 0;
5144 }
5145 
5146 #if __ARCH__ >= 12
5147 static inline __ATTRS_o_ai int
5148 vec_any_le(vector float __a, vector float __b) {
5149  int __cc;
5150  __builtin_s390_vfchesbs(__b, __a, &__cc);
5151  return __cc <= 1;
5152 }
5153 #endif
5154 
5155 static inline __ATTRS_o_ai int
5156 vec_any_le(vector double __a, vector double __b) {
5157  int __cc;
5158  __builtin_s390_vfchedbs(__b, __a, &__cc);
5159  return __cc <= 1;
5160 }
5161 
5162 /*-- vec_any_lt -------------------------------------------------------------*/
5163 
5164 static inline __ATTRS_o_ai int
5165 vec_any_lt(vector signed char __a, vector signed char __b) {
5166  int __cc;
5167  __builtin_s390_vchbs(__b, __a, &__cc);
5168  return __cc <= 1;
5169 }
5170 
5171 // This prototype is deprecated.
5172 static inline __ATTRS_o_ai int
5173 vec_any_lt(vector signed char __a, vector bool char __b) {
5174  int __cc;
5175  __builtin_s390_vchbs((vector signed char)__b, __a, &__cc);
5176  return __cc <= 1;
5177 }
5178 
5179 // This prototype is deprecated.
5180 static inline __ATTRS_o_ai int
5181 vec_any_lt(vector bool char __a, vector signed char __b) {
5182  int __cc;
5183  __builtin_s390_vchbs(__b, (vector signed char)__a, &__cc);
5184  return __cc <= 1;
5185 }
5186 
5187 static inline __ATTRS_o_ai int
5188 vec_any_lt(vector unsigned char __a, vector unsigned char __b) {
5189  int __cc;
5190  __builtin_s390_vchlbs(__b, __a, &__cc);
5191  return __cc <= 1;
5192 }
5193 
5194 // This prototype is deprecated.
5195 static inline __ATTRS_o_ai int
5196 vec_any_lt(vector unsigned char __a, vector bool char __b) {
5197  int __cc;
5198  __builtin_s390_vchlbs((vector unsigned char)__b, __a, &__cc);
5199  return __cc <= 1;
5200 }
5201 
5202 // This prototype is deprecated.
5203 static inline __ATTRS_o_ai int
5204 vec_any_lt(vector bool char __a, vector unsigned char __b) {
5205  int __cc;
5206  __builtin_s390_vchlbs(__b, (vector unsigned char)__a, &__cc);
5207  return __cc <= 1;
5208 }
5209 
5210 // This prototype is deprecated.
5211 static inline __ATTRS_o_ai int
5212 vec_any_lt(vector bool char __a, vector bool char __b) {
5213  int __cc;
5214  __builtin_s390_vchlbs((vector unsigned char)__b,
5215  (vector unsigned char)__a, &__cc);
5216  return __cc <= 1;
5217 }
5218 
5219 static inline __ATTRS_o_ai int
5220 vec_any_lt(vector signed short __a, vector signed short __b) {
5221  int __cc;
5222  __builtin_s390_vchhs(__b, __a, &__cc);
5223  return __cc <= 1;
5224 }
5225 
5226 // This prototype is deprecated.
5227 static inline __ATTRS_o_ai int
5228 vec_any_lt(vector signed short __a, vector bool short __b) {
5229  int __cc;
5230  __builtin_s390_vchhs((vector signed short)__b, __a, &__cc);
5231  return __cc <= 1;
5232 }
5233 
5234 // This prototype is deprecated.
5235 static inline __ATTRS_o_ai int
5236 vec_any_lt(vector bool short __a, vector signed short __b) {
5237  int __cc;
5238  __builtin_s390_vchhs(__b, (vector signed short)__a, &__cc);
5239  return __cc <= 1;
5240 }
5241 
5242 static inline __ATTRS_o_ai int
5243 vec_any_lt(vector unsigned short __a, vector unsigned short __b) {
5244  int __cc;
5245  __builtin_s390_vchlhs(__b, __a, &__cc);
5246  return __cc <= 1;
5247 }
5248 
5249 // This prototype is deprecated.
5250 static inline __ATTRS_o_ai int
5251 vec_any_lt(vector unsigned short __a, vector bool short __b) {
5252  int __cc;
5253  __builtin_s390_vchlhs((vector unsigned short)__b, __a, &__cc);
5254  return __cc <= 1;
5255 }
5256 
5257 // This prototype is deprecated.
5258 static inline __ATTRS_o_ai int
5259 vec_any_lt(vector bool short __a, vector unsigned short __b) {
5260  int __cc;
5261  __builtin_s390_vchlhs(__b, (vector unsigned short)__a, &__cc);
5262  return __cc <= 1;
5263 }
5264 
5265 // This prototype is deprecated.
5266 static inline __ATTRS_o_ai int
5267 vec_any_lt(vector bool short __a, vector bool short __b) {
5268  int __cc;
5269  __builtin_s390_vchlhs((vector unsigned short)__b,
5270  (vector unsigned short)__a, &__cc);
5271  return __cc <= 1;
5272 }
5273 
5274 static inline __ATTRS_o_ai int
5275 vec_any_lt(vector signed int __a, vector signed int __b) {
5276  int __cc;
5277  __builtin_s390_vchfs(__b, __a, &__cc);
5278  return __cc <= 1;
5279 }
5280 
5281 // This prototype is deprecated.
5282 static inline __ATTRS_o_ai int
5283 vec_any_lt(vector signed int __a, vector bool int __b) {
5284  int __cc;
5285  __builtin_s390_vchfs((vector signed int)__b, __a, &__cc);
5286  return __cc <= 1;
5287 }
5288 
5289 // This prototype is deprecated.
5290 static inline __ATTRS_o_ai int
5291 vec_any_lt(vector bool int __a, vector signed int __b) {
5292  int __cc;
5293  __builtin_s390_vchfs(__b, (vector signed int)__a, &__cc);
5294  return __cc <= 1;
5295 }
5296 
5297 static inline __ATTRS_o_ai int
5298 vec_any_lt(vector unsigned int __a, vector unsigned int __b) {
5299  int __cc;
5300  __builtin_s390_vchlfs(__b, __a, &__cc);
5301  return __cc <= 1;
5302 }
5303 
5304 // This prototype is deprecated.
5305 static inline __ATTRS_o_ai int
5306 vec_any_lt(vector unsigned int __a, vector bool int __b) {
5307  int __cc;
5308  __builtin_s390_vchlfs((vector unsigned int)__b, __a, &__cc);
5309  return __cc <= 1;
5310 }
5311 
5312 // This prototype is deprecated.
5313 static inline __ATTRS_o_ai int
5314 vec_any_lt(vector bool int __a, vector unsigned int __b) {
5315  int __cc;
5316  __builtin_s390_vchlfs(__b, (vector unsigned int)__a, &__cc);
5317  return __cc <= 1;
5318 }
5319 
5320 // This prototype is deprecated.
5321 static inline __ATTRS_o_ai int
5322 vec_any_lt(vector bool int __a, vector bool int __b) {
5323  int __cc;
5324  __builtin_s390_vchlfs((vector unsigned int)__b,
5325  (vector unsigned int)__a, &__cc);
5326  return __cc <= 1;
5327 }
5328 
5329 static inline __ATTRS_o_ai int
5330 vec_any_lt(vector signed long long __a, vector signed long long __b) {
5331  int __cc;
5332  __builtin_s390_vchgs(__b, __a, &__cc);
5333  return __cc <= 1;
5334 }
5335 
5336 // This prototype is deprecated.
5337 static inline __ATTRS_o_ai int
5338 vec_any_lt(vector signed long long __a, vector bool long long __b) {
5339  int __cc;
5340  __builtin_s390_vchgs((vector signed long long)__b, __a, &__cc);
5341  return __cc <= 1;
5342 }
5343 
5344 // This prototype is deprecated.
5345 static inline __ATTRS_o_ai int
5346 vec_any_lt(vector bool long long __a, vector signed long long __b) {
5347  int __cc;
5348  __builtin_s390_vchgs(__b, (vector signed long long)__a, &__cc);
5349  return __cc <= 1;
5350 }
5351 
5352 static inline __ATTRS_o_ai int
5353 vec_any_lt(vector unsigned long long __a, vector unsigned long long __b) {
5354  int __cc;
5355  __builtin_s390_vchlgs(__b, __a, &__cc);
5356  return __cc <= 1;
5357 }
5358 
5359 // This prototype is deprecated.
5360 static inline __ATTRS_o_ai int
5361 vec_any_lt(vector unsigned long long __a, vector bool long long __b) {
5362  int __cc;
5363  __builtin_s390_vchlgs((vector unsigned long long)__b, __a, &__cc);
5364  return __cc <= 1;
5365 }
5366 
5367 // This prototype is deprecated.
5368 static inline __ATTRS_o_ai int
5369 vec_any_lt(vector bool long long __a, vector unsigned long long __b) {
5370  int __cc;
5371  __builtin_s390_vchlgs(__b, (vector unsigned long long)__a, &__cc);
5372  return __cc <= 1;
5373 }
5374 
5375 // This prototype is deprecated.
5376 static inline __ATTRS_o_ai int
5377 vec_any_lt(vector bool long long __a, vector bool long long __b) {
5378  int __cc;
5379  __builtin_s390_vchlgs((vector unsigned long long)__b,
5380  (vector unsigned long long)__a, &__cc);
5381  return __cc <= 1;
5382 }
5383 
5384 #if __ARCH__ >= 12
5385 static inline __ATTRS_o_ai int
5386 vec_any_lt(vector float __a, vector float __b) {
5387  int __cc;
5388  __builtin_s390_vfchsbs(__b, __a, &__cc);
5389  return __cc <= 1;
5390 }
5391 #endif
5392 
5393 static inline __ATTRS_o_ai int
5394 vec_any_lt(vector double __a, vector double __b) {
5395  int __cc;
5396  __builtin_s390_vfchdbs(__b, __a, &__cc);
5397  return __cc <= 1;
5398 }
5399 
5400 /*-- vec_any_nge ------------------------------------------------------------*/
5401 
5402 #if __ARCH__ >= 12
5403 static inline __ATTRS_o_ai int
5404 vec_any_nge(vector float __a, vector float __b) {
5405  int __cc;
5406  __builtin_s390_vfchesbs(__a, __b, &__cc);
5407  return __cc != 0;
5408 }
5409 #endif
5410 
5411 static inline __ATTRS_o_ai int
5412 vec_any_nge(vector double __a, vector double __b) {
5413  int __cc;
5414  __builtin_s390_vfchedbs(__a, __b, &__cc);
5415  return __cc != 0;
5416 }
5417 
5418 /*-- vec_any_ngt ------------------------------------------------------------*/
5419 
5420 #if __ARCH__ >= 12
5421 static inline __ATTRS_o_ai int
5422 vec_any_ngt(vector float __a, vector float __b) {
5423  int __cc;
5424  __builtin_s390_vfchsbs(__a, __b, &__cc);
5425  return __cc != 0;
5426 }
5427 #endif
5428 
5429 static inline __ATTRS_o_ai int
5430 vec_any_ngt(vector double __a, vector double __b) {
5431  int __cc;
5432  __builtin_s390_vfchdbs(__a, __b, &__cc);
5433  return __cc != 0;
5434 }
5435 
5436 /*-- vec_any_nle ------------------------------------------------------------*/
5437 
5438 #if __ARCH__ >= 12
5439 static inline __ATTRS_o_ai int
5440 vec_any_nle(vector float __a, vector float __b) {
5441  int __cc;
5442  __builtin_s390_vfchesbs(__b, __a, &__cc);
5443  return __cc != 0;
5444 }
5445 #endif
5446 
5447 static inline __ATTRS_o_ai int
5448 vec_any_nle(vector double __a, vector double __b) {
5449  int __cc;
5450  __builtin_s390_vfchedbs(__b, __a, &__cc);
5451  return __cc != 0;
5452 }
5453 
5454 /*-- vec_any_nlt ------------------------------------------------------------*/
5455 
5456 #if __ARCH__ >= 12
5457 static inline __ATTRS_o_ai int
5458 vec_any_nlt(vector float __a, vector float __b) {
5459  int __cc;
5460  __builtin_s390_vfchsbs(__b, __a, &__cc);
5461  return __cc != 0;
5462 }
5463 #endif
5464 
5465 static inline __ATTRS_o_ai int
5466 vec_any_nlt(vector double __a, vector double __b) {
5467  int __cc;
5468  __builtin_s390_vfchdbs(__b, __a, &__cc);
5469  return __cc != 0;
5470 }
5471 
5472 /*-- vec_any_nan ------------------------------------------------------------*/
5473 
5474 #if __ARCH__ >= 12
5475 static inline __ATTRS_o_ai int
5476 vec_any_nan(vector float __a) {
5477  int __cc;
5478  __builtin_s390_vftcisb(__a, 15, &__cc);
5479  return __cc != 3;
5480 }
5481 #endif
5482 
5483 static inline __ATTRS_o_ai int
5484 vec_any_nan(vector double __a) {
5485  int __cc;
5486  __builtin_s390_vftcidb(__a, 15, &__cc);
5487  return __cc != 3;
5488 }
5489 
5490 /*-- vec_any_numeric --------------------------------------------------------*/
5491 
5492 #if __ARCH__ >= 12
5493 static inline __ATTRS_o_ai int
5494 vec_any_numeric(vector float __a) {
5495  int __cc;
5496  __builtin_s390_vftcisb(__a, 15, &__cc);
5497  return __cc != 0;
5498 }
5499 #endif
5500 
5501 static inline __ATTRS_o_ai int
5502 vec_any_numeric(vector double __a) {
5503  int __cc;
5504  __builtin_s390_vftcidb(__a, 15, &__cc);
5505  return __cc != 0;
5506 }
5507 
5508 /*-- vec_andc ---------------------------------------------------------------*/
5509 
5510 static inline __ATTRS_o_ai vector bool char
5511 vec_andc(vector bool char __a, vector bool char __b) {
5512  return __a & ~__b;
5513 }
5514 
5515 static inline __ATTRS_o_ai vector signed char
5516 vec_andc(vector signed char __a, vector signed char __b) {
5517  return __a & ~__b;
5518 }
5519 
5520 // This prototype is deprecated.
5521 static inline __ATTRS_o_ai vector signed char
5522 vec_andc(vector bool char __a, vector signed char __b) {
5523  return __a & ~__b;
5524 }
5525 
5526 // This prototype is deprecated.
5527 static inline __ATTRS_o_ai vector signed char
5528 vec_andc(vector signed char __a, vector bool char __b) {
5529  return __a & ~__b;
5530 }
5531 
5532 static inline __ATTRS_o_ai vector unsigned char
5533 vec_andc(vector unsigned char __a, vector unsigned char __b) {
5534  return __a & ~__b;
5535 }
5536 
5537 // This prototype is deprecated.
5538 static inline __ATTRS_o_ai vector unsigned char
5539 vec_andc(vector bool char __a, vector unsigned char __b) {
5540  return __a & ~__b;
5541 }
5542 
5543 // This prototype is deprecated.
5544 static inline __ATTRS_o_ai vector unsigned char
5545 vec_andc(vector unsigned char __a, vector bool char __b) {
5546  return __a & ~__b;
5547 }
5548 
5549 static inline __ATTRS_o_ai vector bool short
5550 vec_andc(vector bool short __a, vector bool short __b) {
5551  return __a & ~__b;
5552 }
5553 
5554 static inline __ATTRS_o_ai vector signed short
5555 vec_andc(vector signed short __a, vector signed short __b) {
5556  return __a & ~__b;
5557 }
5558 
5559 // This prototype is deprecated.
5560 static inline __ATTRS_o_ai vector signed short
5561 vec_andc(vector bool short __a, vector signed short __b) {
5562  return __a & ~__b;
5563 }
5564 
5565 // This prototype is deprecated.
5566 static inline __ATTRS_o_ai vector signed short
5567 vec_andc(vector signed short __a, vector bool short __b) {
5568  return __a & ~__b;
5569 }
5570 
5571 static inline __ATTRS_o_ai vector unsigned short
5572 vec_andc(vector unsigned short __a, vector unsigned short __b) {
5573  return __a & ~__b;
5574 }
5575 
5576 // This prototype is deprecated.
5577 static inline __ATTRS_o_ai vector unsigned short
5578 vec_andc(vector bool short __a, vector unsigned short __b) {
5579  return __a & ~__b;
5580 }
5581 
5582 // This prototype is deprecated.
5583 static inline __ATTRS_o_ai vector unsigned short
5584 vec_andc(vector unsigned short __a, vector bool short __b) {
5585  return __a & ~__b;
5586 }
5587 
5588 static inline __ATTRS_o_ai vector bool int
5589 vec_andc(vector bool int __a, vector bool int __b) {
5590  return __a & ~__b;
5591 }
5592 
5593 static inline __ATTRS_o_ai vector signed int
5594 vec_andc(vector signed int __a, vector signed int __b) {
5595  return __a & ~__b;
5596 }
5597 
5598 // This prototype is deprecated.
5599 static inline __ATTRS_o_ai vector signed int
5600 vec_andc(vector bool int __a, vector signed int __b) {
5601  retur