Home | History | Annotate | Download | only in Headers

Lines Matching refs:vector

1 /*===---- vecintrin.h - Vector intrinsics ----------------------------------===
60 vec_extract(vector signed char __vec, int __index) {
65 vec_extract(vector bool char __vec, int __index) {
70 vec_extract(vector unsigned char __vec, int __index) {
75 vec_extract(vector signed short __vec, int __index) {
80 vec_extract(vector bool short __vec, int __index) {
85 vec_extract(vector unsigned short __vec, int __index) {
90 vec_extract(vector signed int __vec, int __index) {
95 vec_extract(vector bool int __vec, int __index) {
100 vec_extract(vector unsigned int __vec, int __index) {
105 vec_extract(vector signed long long __vec, int __index) {
110 vec_extract(vector bool long long __vec, int __index) {
115 vec_extract(vector unsigned long long __vec, int __index) {
120 vec_extract(vector double __vec, int __index) {
126 static inline __ATTRS_o_ai vector signed char
127 vec_insert(signed char __scalar, vector signed char __vec, int __index) {
132 static inline __ATTRS_o_ai vector unsigned char
133 vec_insert(unsigned char __scalar, vector bool char __vec, int __index) {
134 vector unsigned char __newvec = (vector unsigned char)__vec;
139 static inline __ATTRS_o_ai vector unsigned char
140 vec_insert(unsigned char __scalar, vector unsigned char __vec, int __index) {
145 static inline __ATTRS_o_ai vector signed short
146 vec_insert(signed short __scalar, vector signed short __vec, int __index) {
151 static inline __ATTRS_o_ai vector unsigned short
152 vec_insert(unsigned short __scalar, vector bool short __vec, int __index) {
153 vector unsigned short __newvec = (vector unsigned short)__vec;
158 static inline __ATTRS_o_ai vector unsigned short
159 vec_insert(unsigned short __scalar, vector unsigned short __vec, int __index) {
164 static inline __ATTRS_o_ai vector signed int
165 vec_insert(signed int __scalar, vector signed int __vec, int __index) {
170 static inline __ATTRS_o_ai vector unsigned int
171 vec_insert(unsigned int __scalar, vector bool int __vec, int __index) {
172 vector unsigned int __newvec = (vector unsigned int)__vec;
177 static inline __ATTRS_o_ai vector unsigned int
178 vec_insert(unsigned int __scalar, vector unsigned int __vec, int __index) {
183 static inline __ATTRS_o_ai vector signed long long
184 vec_insert(signed long long __scalar, vector signed long long __vec,
190 static inline __ATTRS_o_ai vector unsigned long long
191 vec_insert(unsigned long long __scalar, vector bool long long __vec,
193 vector unsigned long long __newvec = (vector unsigned long long)__vec;
198 static inline __ATTRS_o_ai vector unsigned long long
199 vec_insert(unsigned long long __scalar, vector unsigned long long __vec,
205 static inline __ATTRS_o_ai vector double
206 vec_insert(double __scalar, vector double __vec, int __index) {
213 static inline __ATTRS_o_ai vector signed char
215 const vector signed char __zero = (vector signed char)0;
216 vector signed char __vec = __builtin_shufflevector(__zero, __zero,
222 static inline __ATTRS_o_ai vector unsigned char
224 const vector unsigned char __zero = (vector unsigned char)0;
225 vector unsigned char __vec = __builtin_shufflevector(__zero, __zero,
231 static inline __ATTRS_o_ai vector signed short
233 const vector signed short __zero = (vector signed short)0;
234 vector signed short __vec = __builtin_shufflevector(__zero, __zero,
240 static inline __ATTRS_o_ai vector unsigned short
242 const vector unsigned short __zero = (vector unsigned short)0;
243 vector unsigned short __vec = __builtin_shufflevector(__zero, __zero,
249 static inline __ATTRS_o_ai vector signed int
251 const vector signed int __zero = (vector signed int)0;
252 vector signed int __vec = __builtin_shufflevector(__zero, __zero,
258 static inline __ATTRS_o_ai vector unsigned int
260 const vector unsigned int __zero = (vector unsigned int)0;
261 vector unsigned int __vec = __builtin_shufflevector(__zero, __zero,
267 static inline __ATTRS_o_ai vector signed long long
269 const vector signed long long __zero = (vector signed long long)0;
270 vector signed long long __vec = __builtin_shufflevector(__zero, __zero,
276 static inline __ATTRS_o_ai vector unsigned long long
278 const vector unsigned long long __zero = (vector unsigned long long)0;
279 vector unsigned long long __vec = __builtin_shufflevector(__zero, __zero,
285 static inline __ATTRS_o_ai vector double
287 const vector double __zero = (vector double)0;
288 vector double __vec = __builtin_shufflevector(__zero, __zero, -1, -1);
295 static inline __ATTRS_o_ai vector signed char
297 vector signed char __vec = (vector signed char)0;
302 static inline __ATTRS_o_ai vector unsigned char
304 vector unsigned char __vec = (vector unsigned char)0;
309 static inline __ATTRS_o_ai vector signed short
311 vector signed short __vec = (vector signed short)0;
316 static inline __ATTRS_o_ai vector unsigned short
318 vector unsigned short __vec = (vector unsigned short)0;
323 static inline __ATTRS_o_ai vector signed int
325 vector signed int __vec = (vector signed int)0;
330 static inline __ATTRS_o_ai vector unsigned int
332 vector unsigned int __vec = (vector unsigned int)0;
337 static inline __ATTRS_o_ai vector signed long long
339 vector signed long long __vec = (vector signed long long)0;
344 static inline __ATTRS_o_ai vector unsigned long long
346 vector unsigned long long __vec = (vector unsigned long long)0;
351 static inline __ATTRS_o_ai vector double
353 vector double __vec = (vector double)0;
360 static inline __ATTRS_o_ai vector signed char
361 vec_perm(vector signed char __a, vector signed char __b,
362 vector unsigned char __c) {
363 return (vector signed char)__builtin_s390_vperm(
364 (vector unsigned char)__a, (vector unsigned char)__b, __c);
367 static inline __ATTRS_o_ai vector unsigned char
368 vec_perm(vector unsigned char __a, vector unsigned char __b,
369 vector unsigned char __c) {
370 return (vector unsigned char)__builtin_s390_vperm(
371 (vector unsigned char)__a, (vector unsigned char)__b, __c);
374 static inline __ATTRS_o_ai vector bool char
375 vec_perm(vector bool char __a, vector bool char __b,
376 vector unsigned char __c) {
377 return (vector bool char)__builtin_s390_vperm(
378 (vector unsigned char)__a, (vector unsigned char)__b, __c);
381 static inline __ATTRS_o_ai vector signed short
382 vec_perm(vector signed short __a, vector signed short __b,
383 vector unsigned char __c) {
384 return (vector signed short)__builtin_s390_vperm(
385 (vector unsigned char)__a, (vector unsigned char)__b, __c);
388 static inline __ATTRS_o_ai vector unsigned short
389 vec_perm(vector unsigned short __a, vector unsigned short __b,
390 vector unsigned char __c) {
391 return (vector unsigned short)__builtin_s390_vperm(
392 (vector unsigned char)__a, (vector unsigned char)__b, __c);
395 static inline __ATTRS_o_ai vector bool short
396 vec_perm(vector bool short __a, vector bool short __b,
397 vector unsigned char __c) {
398 return (vector bool short)__builtin_s390_vperm(
399 (vector unsigned char)__a, (vector unsigned char)__b, __c);
402 static inline __ATTRS_o_ai vector signed int
403 vec_perm(vector signed int __a, vector signed int __b,
404 vector unsigned char __c) {
405 return (vector signed int)__builtin_s390_vperm(
406 (vector unsigned char)__a, (vector unsigned char)__b, __c);
409 static inline __ATTRS_o_ai vector unsigned int
410 vec_perm(vector unsigned int __a, vector unsigned int __b,
411 vector unsigned char __c) {
412 return (vector unsigned int)__builtin_s390_vperm(
413 (vector unsigned char)__a, (vector unsigned char)__b, __c);
416 static inline __ATTRS_o_ai vector bool int
417 vec_perm(vector bool int __a, vector bool int __b,
418 vector unsigned char __c) {
419 return (vector bool int)__builtin_s390_vperm(
420 (vector unsigned char)__a, (vector unsigned char)__b, __c);
423 static inline __ATTRS_o_ai vector signed long long
424 vec_perm(vector signed long long __a, vector signed long long __b,
425 vector unsigned char __c) {
426 return (vector signed long long)__builtin_s390_vperm(
427 (vector unsigned char)__a, (vector unsigned char)__b, __c);
430 static inline __ATTRS_o_ai vector unsigned long long
431 vec_perm(vector unsigned long long __a, vector unsigned long long __b,
432 vector unsigned char __c) {
433 return (vector unsigned long long)__builtin_s390_vperm(
434 (vector unsigned char)__a, (vector unsigned char)__b, __c);
437 static inline __ATTRS_o_ai vector bool long long
438 vec_perm(vector bool long long __a, vector bool long long __b,
439 vector unsigned char __c) {
440 return (vector bool long long)__builtin_s390_vperm(
441 (vector unsigned char)__a, (vector unsigned char)__b, __c);
444 static inline __ATTRS_o_ai vector double
445 vec_perm(vector double __a, vector double __b,
446 vector unsigned char __c) {
447 return (vector double)__builtin_s390_vperm(
448 (vector unsigned char)__a, (vector unsigned char)__b, __c);
453 extern __ATTRS_o vector signed long long
454 vec_permi(vector signed long long __a, vector signed long long __b, int __c)
457 extern __ATTRS_o vector unsigned long long
458 vec_permi(vector unsigned long long __a, vector unsigned long long __b, int __c)
461 extern __ATTRS_o vector bool long long
462 vec_permi(vector bool long long __a, vector bool long long __b, int __c)
465 extern __ATTRS_o vector double
466 vec_permi(vector double __a, vector double __b, int __c)
470 __builtin_s390_vpdi((vector unsigned long long)(X), \
471 (vector unsigned long long)(Y), \
476 static inline __ATTRS_o_ai vector signed char
477 vec_sel(vector signed char __a, vector signed char __b,
478 vector unsigned char __c) {
479 return ((vector signed char)__c & __b) | (~(vector signed char)__c & __a);
482 static inline __ATTRS_o_ai vector signed char
483 vec_sel(vector signed char __a, vector signed char __b, vector bool char __c) {
484 return ((vector signed char)__c & __b) | (~(vector signed char)__c & __a);
487 static inline __ATTRS_o_ai vector bool char
488 vec_sel(vector bool char __a, vector bool char __b, vector unsigned char __c) {
489 return ((vector bool char)__c & __b) | (~(vector bool char)__c & __a);
492 static inline __ATTRS_o_ai vector bool char
493 vec_sel(vector bool char __a, vector bool char __b, vector bool char __c) {
497 static inline __ATTRS_o_ai vector unsigned char
498 vec_sel(vector unsigned char __a, vector unsigned char __b,
499 vector unsigned char __c) {
503 static inline __ATTRS_o_ai vector unsigned char
504 vec_sel(vector unsigned char __a, vector unsigned char __b,
505 vector bool char __c) {
506 return ((vector unsigned char)__c & __b) | (~(vector unsigned char)__c & __a);
509 static inline __ATTRS_o_ai vector signed short
510 vec_sel(vector signed short __a, vector signed short __b,
511 vector unsigned short __c) {
512 return ((vector signed short)__c & __b) | (~(vector signed short)__c & __a);
515 static inline __ATTRS_o_ai vector signed short
516 vec_sel(vector signed short __a, vector signed short __b,
517 vector bool short __c) {
518 return ((vector signed short)__c & __b) | (~(vector signed short)__c & __a);
521 static inline __ATTRS_o_ai vector bool short
522 vec_sel(vector bool short __a, vector bool short __b,
523 vector unsigned short __c) {
524 return ((vector bool short)__c & __b) | (~(vector bool short)__c & __a);
527 static inline __ATTRS_o_ai vector bool short
528 vec_sel(vector bool short __a, vector bool short __b, vector bool short __c) {
532 static inline __ATTRS_o_ai vector unsigned short
533 vec_sel(vector unsigned short __a, vector unsigned short __b,
534 vector unsigned short __c) {
538 static inline __ATTRS_o_ai vector unsigned short
539 vec_sel(vector unsigned short __a, vector unsigned short __b,
540 vector bool short __c) {
541 return (((vector unsigned short)__c & __b) |
542 (~(vector unsigned short)__c & __a));
545 static inline __ATTRS_o_ai vector signed int
546 vec_sel(vector signed int __a, vector signed int __b,
547 vector unsigned int __c) {
548 return ((vector signed int)__c & __b) | (~(vector signed int)__c & __a);
551 static inline __ATTRS_o_ai vector signed int
552 vec_sel(vector signed int __a, vector signed int __b, vector bool int __c) {
553 return ((vector signed int)__c & __b) | (~(vector signed int)__c & __a);
556 static inline __ATTRS_o_ai vector bool int
557 vec_sel(vector bool int __a, vector bool int __b, vector unsigned int __c) {
558 return ((vector bool int)__c & __b) | (~(vector bool int)__c & __a);
561 static inline __ATTRS_o_ai vector bool int
562 vec_sel(vector bool int __a, vector bool int __b, vector bool int __c) {
566 static inline __ATTRS_o_ai vector unsigned int
567 vec_sel(vector unsigned int __a, vector unsigned int __b,
568 vector unsigned int __c) {
572 static inline __ATTRS_o_ai vector unsigned int
573 vec_sel(vector unsigned int __a, vector unsigned int __b, vector bool int __c) {
574 return ((vector unsigned int)__c & __b) | (~(vector unsigned int)__c & __a);
577 static inline __ATTRS_o_ai vector signed long long
578 vec_sel(vector signed long long __a, vector signed long long __b,
579 vector unsigned long long __c) {
580 return (((vector signed long long)__c & __b) |
581 (~(vector signed long long)__c & __a));
584 static inline __ATTRS_o_ai vector signed long long
585 vec_sel(vector signed long long __a, vector signed long long __b,
586 vector bool long long __c) {
587 return (((vector signed long long)__c & __b) |
588 (~(vector signed long long)__c & __a));
591 static inline __ATTRS_o_ai vector bool long long
592 vec_sel(vector bool long long __a, vector bool long long __b,
593 vector unsigned long long __c) {
594 return (((vector bool long long)__c & __b) |
595 (~(vector bool long long)__c & __a));
598 static inline __ATTRS_o_ai vector bool long long
599 vec_sel(vector bool long long __a, vector bool long long __b,
600 vector bool long long __c) {
604 static inline __ATTRS_o_ai vector unsigned long long
605 vec_sel(vector unsigned long long __a, vector unsigned long long __b,
606 vector unsigned long long __c) {
610 static inline __ATTRS_o_ai vector unsigned long long
611 vec_sel(vector unsigned long long __a, vector unsigned long long __b,
612 vector bool long long __c) {
613 return (((vector unsigned long long)__c & __b) |
614 (~(vector unsigned long long)__c & __a));
617 static inline __ATTRS_o_ai vector double
618 vec_sel(vector double __a, vector double __b, vector unsigned long long __c) {
619 return (vector double)((__c & (vector unsigned long long)__b) |
620 (~__c & (vector unsigned long long)__a));
623 static inline __ATTRS_o_ai vector double
624 vec_sel(vector double __a, vector double __b, vector bool long long __c) {
625 vector unsigned long long __ac = (vector unsigned long long)__a;
626 vector unsigned long long __bc = (vector unsigned long long)__b;
627 vector unsigned long long __cc = (vector unsigned long long)__c;
628 return (vector double)((__cc & __bc) | (~__cc & __ac));
633 static inline __ATTRS_o_ai vector signed int
634 vec_gather_element(vector signed int __vec, vector unsigned int __offset,
642 static inline __ATTRS_o_ai vector bool int
643 vec_gather_element(vector bool int __vec, vector unsigned int __offset,
651 static inline __ATTRS_o_ai vector unsigned int
652 vec_gather_element(vector unsigned int __vec, vector unsigned int __offset,
660 static inline __ATTRS_o_ai vector signed long long
661 vec_gather_element(vector signed long long __vec,
662 vector unsigned long long __offset,
670 static inline __ATTRS_o_ai vector bool long long
671 vec_gather_element(vector bool long long __vec,
672 vector unsigned long long __offset,
680 static inline __ATTRS_o_ai vector unsigned long long
681 vec_gather_element(vector unsigned long long __vec,
682 vector unsigned long long __offset,
690 static inline __ATTRS_o_ai vector double
691 vec_gather_element(vector double __vec, vector unsigned long long __offset,
702 vec_scatter_element(vector signed int __vec, vector unsigned int __offset,
710 vec_scatter_element(vector bool int __vec, vector unsigned int __offset,
718 vec_scatter_element(vector unsigned int __vec, vector unsigned int __offset,
726 vec_scatter_element(vector signed long long __vec,
727 vector unsigned long long __offset,
735 vec_scatter_element(vector bool long long __vec,
736 vector unsigned long long __offset,
744 vec_scatter_element(vector unsigned long long __vec,
745 vector unsigned long long __offset,
753 vec_scatter_element(vector double __vec, vector unsigned long long __offset,
762 static inline __ATTRS_o_ai vector signed char
764 return *(const vector signed char *)((__INTPTR_TYPE__)__ptr + __offset);
767 static inline __ATTRS_o_ai vector unsigned char
769 return *(const vector unsigned char *)((__INTPTR_TYPE__)__ptr + __offset);
772 static inline __ATTRS_o_ai vector signed short
774 return *(const vector signed short *)((__INTPTR_TYPE__)__ptr + __offset);
777 static inline __ATTRS_o_ai vector unsigned short
779 return *(const vector unsigned short *)((__INTPTR_TYPE__)__ptr + __offset);
782 static inline __ATTRS_o_ai vector signed int
784 return *(const vector signed int *)((__INTPTR_TYPE__)__ptr + __offset);
787 static inline __ATTRS_o_ai vector unsigned int
789 return *(const vector unsigned int *)((__INTPTR_TYPE__)__ptr + __offset);
792 static inline __ATTRS_o_ai vector signed long long
794 return *(const vector signed long long *)((__INTPTR_TYPE__)__ptr + __offset);
797 static inline __ATTRS_o_ai vector unsigned long long
799 return *(const vector unsigned long long *)((__INTPTR_TYPE__)__ptr + __offset);
802 static inline __ATTRS_o_ai vector double
804 return *(const vector double *)((__INTPTR_TYPE__)__ptr + __offset);
809 static inline __ATTRS_o_ai vector signed char
811 return *(const vector signed char *)((__INTPTR_TYPE__)__ptr + __offset);
814 static inline __ATTRS_o_ai vector unsigned char
816 return *(const vector unsigned char *)((__INTPTR_TYPE__)__ptr + __offset);
819 static inline __ATTRS_o_ai vector signed short
821 return *(const vector signed short *)((__INTPTR_TYPE__)__ptr + __offset);
824 static inline __ATTRS_o_ai vector unsigned short
826 return *(const vector unsigned short *)((__INTPTR_TYPE__)__ptr + __offset);
829 static inline __ATTRS_o_ai vector signed int
831 return *(const vector signed int *)((__INTPTR_TYPE__)__ptr + __offset);
834 static inline __ATTRS_o_ai vector unsigned int
836 return *(const vector unsigned int *)((__INTPTR_TYPE__)__ptr + __offset);
842 vec_xstd2(vector signed char __vec, long __offset, signed char *__ptr) {
843 *(vector signed char *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
847 vec_xstd2(vector unsigned char __vec, long __offset, unsigned char *__ptr) {
848 *(vector unsigned char *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
852 vec_xstd2(vector signed short __vec, long __offset, signed short *__ptr) {
853 *(vector signed short *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
857 vec_xstd2(vector unsigned short __vec, long __offset, unsigned short *__ptr) {
858 *(vector unsigned short *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
862 vec_xstd2(vector signed int __vec, long __offset, signed int *__ptr) {
863 *(vector signed int *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
867 vec_xstd2(vector unsigned int __vec, long __offset, unsigned int *__ptr) {
868 *(vector unsigned int *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
872 vec_xstd2(vector signed long long __vec, long __offset,
874 *(vector signed long long *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
878 vec_xstd2(vector unsigned long long __vec, long __offset,
880 *(vector unsigned long long *)((__INTPTR_TYPE__)__ptr + __offset) =
885 vec_xstd2(vector double __vec, long __offset, double *__ptr) {
886 *(vector double *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
892 vec_xstw4(vector signed char __vec, long __offset, signed char *__ptr) {
893 *(vector signed char *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
897 vec_xstw4(vector unsigned char __vec, long __offset, unsigned char *__ptr) {
898 *(vector unsigned char *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
902 vec_xstw4(vector signed short __vec, long __offset, signed short *__ptr) {
903 *(vector signed short *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
907 vec_xstw4(vector unsigned short __vec, long __offset, unsigned short *__ptr) {
908 *(vector unsigned short *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
912 vec_xstw4(vector signed int __vec, long __offset, signed int *__ptr) {
913 *(vector signed int *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
917 vector unsigned int __vec, long __offset, unsigned int *__ptr) {
918 *(vector unsigned int *)((__INTPTR_TYPE__)__ptr + __offset) = __vec;
923 extern __ATTRS_o vector signed char
927 extern __ATTRS_o vector unsigned char
931 extern __ATTRS_o vector signed short
935 extern __ATTRS_o vector unsigned short
939 extern __ATTRS_o vector signed int
943 extern __ATTRS_o vector unsigned int
947 extern __ATTRS_o vector signed long long
951 extern __ATTRS_o vector unsigned long long
955 extern __ATTRS_o vector double
970 static inline __ATTRS_o_ai vector signed char
972 return (vector signed char)__builtin_s390_vll(__len, __ptr);
975 static inline __ATTRS_o_ai vector unsigned char
977 return (vector unsigned char)__builtin_s390_vll(__len, __ptr);
980 static inline __ATTRS_o_ai vector signed short
982 return (vector signed short)__builtin_s390_vll(__len, __ptr);
985 static inline __ATTRS_o_ai vector unsigned short
987 return (vector unsigned short)__builtin_s390_vll(__len, __ptr);
990 static inline __ATTRS_o_ai vector signed int
992 return (vector signed int)__builtin_s390_vll(__len, __ptr);
995 static inline __ATTRS_o_ai vector unsigned int
997 return (vector unsigned int)__builtin_s390_vll(__len, __ptr);
1000 static inline __ATTRS_o_ai vector signed long long
1002 return (vector signed long long)__builtin_s390_vll(__len, __ptr);
1005 static inline __ATTRS_o_ai vector unsigned long long
1007 return (vector unsigned long long)__builtin_s390_vll(__len, __ptr);
1010 static inline __ATTRS_o_ai vector double
1012 return (vector double)__builtin_s390_vll(__len, __ptr);
1018 vec_store_len(vector signed char __vec, signed char *__ptr,
1020 __builtin_s390_vstl((vector signed char)__vec, __len, __ptr);
1024 vec_store_len(vector unsigned char __vec, unsigned char *__ptr,
1026 __builtin_s390_vstl((vector signed char)__vec, __len, __ptr);
1030 vec_store_len(vector signed short __vec, signed short *__ptr,
1032 __builtin_s390_vstl((vector signed char)__vec, __len, __ptr);
1036 vec_store_len(vector unsigned short __vec, unsigned short *__ptr,
1038 __builtin_s390_vstl((vector signed char)__vec, __len, __ptr);
1042 vec_store_len(vector signed int __vec, signed int *__ptr,
1044 __builtin_s390_vstl((vector signed char)__vec, __len, __ptr);
1048 vec_store_len(vector unsigned int __vec, unsigned int *__ptr,
1050 __builtin_s390_vstl((vector signed char)__vec, __len, __ptr);
1054 vec_store_len(vector signed long long __vec, signed long long *__ptr,
1056 __builtin_s390_vstl((vector signed char)__vec, __len, __ptr);
1060 vec_store_len(vector unsigned long long __vec, unsigned long long *__ptr,
1062 __builtin_s390_vstl((vector signed char)__vec, __len, __ptr);
1066 vec_store_len(vector double __vec, double *__ptr,
1068 __builtin_s390_vstl((vector signed char)__vec, __len, __ptr);
1073 static inline __ATTRS_o_ai vector signed long long
1075 return (vector signed long long)(__a, __b);
1078 static inline __ATTRS_o_ai vector unsigned long long
1080 return (vector unsigned long long)(__a, __b);
1085 static inline __ATTRS_o_ai vector unsigned char
1088 return (vector unsigned char)(
1109 static inline __ATTRS_o_ai vector unsigned char
1119 return (vector unsigned char)__value;
1122 static inline __ATTRS_o_ai vector unsigned short
1132 return (vector unsigned short)__value;
1135 static inline __ATTRS_o_ai vector unsigned int
1145 return (vector unsigned int)__value;
1148 static inline __ATTRS_o_ai vector unsigned long long
1158 return (vector unsigned long long)__value;
1163 static inline __ATTRS_o_ai vector signed char
1164 vec_splat(vector signed char __vec, int __index)
1166 return (vector signed char)__vec[__index];
1169 static inline __ATTRS_o_ai vector bool char
1170 vec_splat(vector bool char __vec, int __index)
1172 return (vector bool char)(vector unsigned char)__vec[__index];
1175 static inline __ATTRS_o_ai vector unsigned char
1176 vec_splat(vector unsigned char __vec, int __index)
1178 return (vector unsigned char)__vec[__index];
1181 static inline __ATTRS_o_ai vector signed short
1182 vec_splat(vector signed short __vec, int __index)
1184 return (vector signed short)__vec[__index];
1187 static inline __ATTRS_o_ai vector bool short
1188 vec_splat(vector bool short __vec, int __index)
1190 return (vector bool short)(vector unsigned short)__vec[__index];
1193 static inline __ATTRS_o_ai vector unsigned short
1194 vec_splat(vector unsigned short __vec, int __index)
1196 return (vector unsigned short)__vec[__index];
1199 static inline __ATTRS_o_ai vector signed int
1200 vec_splat(vector signed int __vec, int __index)
1202 return (vector signed int)__vec[__index];
1205 static inline __ATTRS_o_ai vector bool int
1206 vec_splat(vector bool int __vec, int __index)
1208 return (vector bool int)(vector unsigned int)__vec[__index];
1211 static inline __ATTRS_o_ai vector unsigned int
1212 vec_splat(vector unsigned int __vec, int __index)
1214 return (vector unsigned int)__vec[__index];
1217 static inline __ATTRS_o_ai vector signed long long
1218 vec_splat(vector signed long long __vec, int __index)
1220 return (vector signed long long)__vec[__index];
1223 static inline __ATTRS_o_ai vector bool long long
1224 vec_splat(vector bool long long __vec, int __index)
1226 return (vector bool long long)(vector unsigned long long)__vec[__index];
1229 static inline __ATTRS_o_ai vector unsigned long long
1230 vec_splat(vector unsigned long long __vec, int __index)
1232 return (vector unsigned long long)__vec[__index];
1235 static inline __ATTRS_o_ai vector double
1236 vec_splat(vector double __vec, int __index)
1238 return (vector double)__vec[__index];
1243 static inline __ATTRS_ai vector signed char
1246 return (vector signed char)__scalar;
1249 static inline __ATTRS_ai vector signed short
1252 return (vector signed short)__scalar;
1255 static inline __ATTRS_ai vector signed int
1258 return (vector signed int)(signed int)__scalar;
1261 static inline __ATTRS_ai vector signed long long
1264 return (vector signed long long)(signed long)__scalar;
1269 static inline __ATTRS_ai vector unsigned char
1272 return (vector unsigned char)__scalar;
1275 static inline __ATTRS_ai vector unsigned short
1278 return (vector unsigned short)__scalar;
1281 static inline __ATTRS_ai vector unsigned int
1284 return (vector unsigned int)(signed int)__scalar;
1287 static inline __ATTRS_ai vector unsigned long long
1290 return (vector unsigned long long)(signed long long)__scalar;
1295 static inline __ATTRS_o_ai vector signed char
1297 return (vector signed char)__scalar;
1300 static inline __ATTRS_o_ai vector unsigned char
1302 return (vector unsigned char)__scalar;
1305 static inline __ATTRS_o_ai vector signed short
1307 return (vector signed short)__scalar;
1310 static inline __ATTRS_o_ai vector unsigned short
1312 return (vector unsigned short)__scalar;
1315 static inline __ATTRS_o_ai vector signed int
1317 return (vector signed int)__scalar;
1320 static inline __ATTRS_o_ai vector unsigned int
1322 return (vector unsigned int)__scalar;
1325 static inline __ATTRS_o_ai vector signed long long
1327 return (vector signed long long)__scalar;
1330 static inline __ATTRS_o_ai vector unsigned long long
1332 return (vector unsigned long long)__scalar;
1335 static inline __ATTRS_o_ai vector double
1337 return (vector double)__scalar;
1342 static inline __ATTRS_o_ai vector signed long long
1343 vec_extend_s64(vector signed char __a) {
1344 return (vector signed long long)(__a[7], __a[15]);
1347 static inline __ATTRS_o_ai vector signed long long
1348 vec_extend_s64(vector signed short __a) {
1349 return (vector signed long long)(__a[3], __a[7]);
1352 static inline __ATTRS_o_ai vector signed long long
1353 vec_extend_s64(vector signed int __a) {
1354 return (vector signed long long)(__a[1], __a[3]);
1359 static inline __ATTRS_o_ai vector signed char
1360 vec_mergeh(vector signed char __a, vector signed char __b) {
1361 return (vector signed char)(
1366 static inline __ATTRS_o_ai vector bool char
1367 vec_mergeh(vector bool char __a, vector bool char __b) {
1368 return (vector bool char)(
1373 static inline __ATTRS_o_ai vector unsigned char
1374 vec_mergeh(vector unsigned char __a, vector unsigned char __b) {
1375 return (vector unsigned char)(
1380 static inline __ATTRS_o_ai vector signed short
1381 vec_mergeh(vector signed short __a, vector signed short __b) {
1382 return (vector signed short)(
1386 static inline __ATTRS_o_ai vector bool short
1387 vec_mergeh(vector bool short __a, vector bool short __b) {
1388 return (vector bool short)(
1392 static inline __ATTRS_o_ai vector unsigned short
1393 vec_mergeh(vector unsigned short __a, vector unsigned short __b) {
1394 return (vector unsigned short)(
1398 static inline __ATTRS_o_ai vector signed int
1399 vec_mergeh(vector signed int __a, vector signed int __b) {
1400 return (vector signed int)(__a[0], __b[0], __a[1], __b[1]);
1403 static inline __ATTRS_o_ai vector bool int
1404 vector bool int __a, vector bool int __b) {
1405 return (vector bool int)(__a[0], __b[0], __a[1], __b[1]);
1408 static inline __ATTRS_o_ai vector unsigned int
1409 vec_mergeh(vector unsigned int __a, vector unsigned int __b) {
1410 return (vector unsigned int)(__a[0], __b[0], __a[1], __b[1]);
1413 static inline __ATTRS_o_ai vector signed long long
1414 vec_mergeh(vector signed long long __a, vector signed long long __b) {
1415 return (vector signed long long)(__a[0], __b[0]);
1418 static inline __ATTRS_o_ai vector bool long long
1419 vec_mergeh(vector bool long long __a, vector bool long long __b) {
1420 return (vector bool long long)(__a[0], __b[0]);
1423 static inline __ATTRS_o_ai vector unsigned long long
1424 vec_mergeh(vector unsigned long long __a, vector unsigned long long __b) {
1425 return (vector unsigned long long)(__a[0], __b[0]);
1428 static inline __ATTRS_o_ai vector double
1429 vec_mergeh(vector double __a, vector double __b) {
1430 return (vector double)(__a[0], __b[0]);
1435 static inline __ATTRS_o_ai vector signed char
1436 vec_mergel(vector signed char __a, vector signed char __b) {
1437 return (vector signed char)(
1442 static inline __ATTRS_o_ai vector bool char
1443 vec_mergel(vector bool char __a, vector bool char __b) {
1444 return (vector bool char)(
1449 static inline __ATTRS_o_ai vector unsigned char
1450 vec_mergel(vector unsigned char __a, vector unsigned char __b) {
1451 return (vector unsigned char)(
1456 static inline __ATTRS_o_ai vector signed short
1457 vec_mergel(vector signed short __a, vector signed short __b) {
1458 return (vector signed short)(
1462 static inline __ATTRS_o_ai vector bool short
1463 vec_mergel(vector bool short __a, vector bool short __b) {
1464 return (vector bool short)(
1468 static inline __ATTRS_o_ai vector unsigned short
1469 vec_mergel(vector unsigned short __a, vector unsigned short __b) {
1470 return (vector unsigned short)(
1474 static inline __ATTRS_o_ai vector signed int
1475 vec_mergel(vector signed int __a, vector signed int __b) {
1476 return (vector signed int)(__a[2], __b[2], __a[3], __b[3]);
1479 static inline __ATTRS_o_ai vector bool int
1480 vec_mergel(vector bool int __a, vector bool int __b) {
1481 return (vector bool int)(__a[2], __b[2], __a[3], __b[3]);
1484 static inline __ATTRS_o_ai vector unsigned int
1485 vec_mergel(vector unsigned int __a, vector unsigned int __b) {
1486 return (vector unsigned int)(__a[2], __b[2], __a[3], __b[3]);
1489 static inline __ATTRS_o_ai vector signed long long
1490 vec_mergel(vector signed long long __a, vector signed long long __b) {
1491 return (vector signed long long)(__a[1], __b[1]);
1494 static inline __ATTRS_o_ai vector bool long long
1495 vec_mergel(vector bool long long __a, vector bool long long __b) {
1496 return (vector bool long long)(__a[1], __b[1]);
1499 static inline __ATTRS_o_ai vector unsigned long long
1500 vec_mergel(vector unsigned long long __a, vector unsigned long long __b) {
1501 return (vector unsigned long long)(__a[1], __b[1]);
1504 static inline __ATTRS_o_ai vector double
1505 vec_mergel(vector double __a, vector double __b) {
1506 return (vector double)(__a[1], __b[1]);
1511 static inline __ATTRS_o_ai vector signed char
1512 vec_pack(vector signed short __a, vector signed short __b) {
1513 vector signed char __ac = (vector signed char)__a;
1514 vector signed char __bc = (vector signed char)__b;
1515 return (vector signed char)(
1520 static inline __ATTRS_o_ai vector bool char
1521 vec_pack(vector bool short __a, vector bool short __b) {
1522 vector bool char __ac = (vector bool char)__a;
1523 vector bool char __bc = (vector bool char)__b;
1524 return (vector bool char)(
1529 static inline __ATTRS_o_ai vector unsigned char
1530 vec_pack(vector unsigned short __a, vector unsigned short __b) {
1531 vector unsigned char __ac = (vector unsigned char)__a;
1532 vector unsigned char __bc = (vector unsigned char)__b;
1533 return (vector unsigned char)(
1538 static inline __ATTRS_o_ai vector signed short
1539 vec_pack(vector signed int __a, vector signed int __b) {
1540 vector signed short __ac = (vector signed short)__a;
1541 vector signed short __bc = (vector signed short)__b;
1542 return (vector signed short)(
1547 static inline __ATTRS_o_ai vector bool short
1548 vec_pack(vector bool int __a, vector bool int __b) {
1549 vector bool short __ac = (vector bool short)__a;
1550 vector bool short __bc = (vector bool short)__b;
1551 return (vector bool short)(
1556 static inline __ATTRS_o_ai vector unsigned short
1557 vec_pack(vector unsigned int __a, vector unsigned int __b) {
1558 vector unsigned short __ac = (vector unsigned short)__a;
1559 vector unsigned short __bc = (vector unsigned short)__b;
1560 return (vector unsigned short)(
1565 static inline __ATTRS_o_ai vector signed int
1566 vec_pack(vector signed long long __a, vector signed long long __b) {
1567 vector signed int __ac = (vector signed int)__a;
1568 vector signed int __bc = (vector signed int)__b;
1569 return (vector signed int)(__ac[1], __ac[3], __bc[1], __bc[3]);
1572 static inline __ATTRS_o_ai vector bool int
1573 vec_pack(vector bool long long __a, vector bool long long __b) {
1574 vector bool int __ac = (vector bool int)__a;
1575 vector bool int __bc = (vector bool int)__b;
1576 return (vector bool int)(__ac[1], __ac[3], __bc[1], __bc[3]);
1579 static inline __ATTRS_o_ai vector unsigned int
1580 vec_pack(vector unsigned long long __a, vector unsigned long long __b) {
1581 vector unsigned int __ac = (vector unsigned int)__a;
1582 vector unsigned int __bc = (vector unsigned int)__b;
1583 return (vector unsigned int)(__ac[1], __ac[3], __bc[1], __bc[3]);
1588 static inline __ATTRS_o_ai vector signed char
1589 vec_packs(vector signed short __a, vector signed short __b) {
1593 static inline __ATTRS_o_ai vector unsigned char
1594 vec_packs(vector unsigned short __a, vector unsigned short __b) {
1598 static inline __ATTRS_o_ai vector signed short
1599 vec_packs(vector signed int __a, vector signed int __b) {
1603 static inline __ATTRS_o_ai vector unsigned short
1604 vec_packs(vector unsigned int __a, vector unsigned int __b) {
1608 static inline __ATTRS_o_ai vector signed int
1609 vec_packs(vector signed long long __a, vector signed long long __b) {
1613 static inline __ATTRS_o_ai vector unsigned int
1614 vec_packs(vector unsigned long long __a, vector unsigned long long __b) {
1620 static inline __ATTRS_o_ai vector signed char
1621 vec_packs_cc(vector signed short __a, vector signed short __b, int *__cc) {
1625 static inline __ATTRS_o_ai vector unsigned char
1626 vec_packs_cc(vector unsigned short __a, vector unsigned short __b, int *__cc) {
1630 static inline __ATTRS_o_ai vector signed short
1631 vec_packs_cc(vector signed int __a, vector signed int __b, int *__cc) {
1635 static inline __ATTRS_o_ai vector unsigned short
1636 vec_packs_cc(vector unsigned int __a, vector unsigned int __b, int *__cc) {
1640 static inline __ATTRS_o_ai vector signed int
1641 vec_packs_cc(vector signed long long __a, vector signed long long __b,
1646 static inline __ATTRS_o_ai vector unsigned int
1647 vec_packs_cc(vector unsigned long long __a, vector unsigned long long __b,
1654 static inline __ATTRS_o_ai vector unsigned char
1655 vec_packsu(vector signed short __a, vector signed short __b) {
1656 const vector signed short __zero = (vector signed short)0;
1658 (vector unsigned short)(__a >= __zero) & (vector unsigned short)__a,
1659 (vector unsigned short)(__b >= __zero) & (vector unsigned short)__b);
1662 static inline __ATTRS_o_ai vector unsigned char
1663 vec_packsu(vector unsigned short __a, vector unsigned short __b) {
1667 static inline __ATTRS_o_ai vector unsigned short
1668 vec_packsu(vector signed int __a, vector signed int __b) {
1669 const vector signed int __zero = (vector signed int)0;
1671 (vector unsigned int)(__a >= __zero) & (vector unsigned int)__a,
1672 (vector unsigned int)(__b >= __zero) & (vector unsigned int)__b);
1675 static inline __ATTRS_o_ai vector unsigned short
1676 vec_packsu(vector unsigned int __a, vector unsigned int __b) {
1680 static inline __ATTRS_o_ai vector unsigned int
1681 vec_packsu(vector signed long long __a, vector signed long long __b) {
1682 const vector signed long long __zero = (vector signed long long)0;
1684 (vector unsigned long long)(__a >= __zero) &
1685 (vector unsigned long long)__a,
1686 (vector unsigned long long)(__b >= __zero) &
1687 (vector unsigned long long)__b);
1690 static inline __ATTRS_o_ai vector unsigned int
1691 vec_packsu(vector unsigned long long __a, vector unsigned long long __b) {
1697 static inline __ATTRS_o_ai vector unsigned char
1698 vec_packsu_cc(vector unsigned short __a, vector unsigned short __b, int *__cc) {
1702 static inline __ATTRS_o_ai vector unsigned short
1703 vec_packsu_cc(vector unsigned int __a, vector unsigned int __b, int *__cc) {
1707 static inline __ATTRS_o_ai vector unsigned int
1708 vec_packsu_cc(vector unsigned long long __a, vector unsigned long long __b,
1715 static inline __ATTRS_o_ai vector signed short
1716 vec_unpackh(vector signed char __a) {
1720 static inline __ATTRS_o_ai vector bool short
1721 vec_unpackh(vector bool char __a) {
1722 return (vector bool short)__builtin_s390_vuphb((vector signed char)__a);
1725 static inline __ATTRS_o_ai vector unsigned short
1726 vec_unpackh(vector unsigned char __a) {
1730 static inline __ATTRS_o_ai vector signed int
1731 vec_unpackh(vector signed short __a) {
1735 static inline __ATTRS_o_ai vector bool int
1736 vec_unpackh(vector bool short __a) {
1737 return (vector bool int)__builtin_s390_vuphh((vector signed short)__a);
1740 static inline __ATTRS_o_ai vector unsigned int
1741 vec_unpackh(vector unsigned short __a) {
1745 static inline __ATTRS_o_ai vector signed long long
1746 vec_unpackh(vector signed int __a) {
1750 static inline __ATTRS_o_ai vector bool long long
1751 vec_unpackh(vector bool int __a) {
1752 return (vector bool long long)__builtin_s390_vuphf((vector signed int)__a);
1755 static inline __ATTRS_o_ai vector unsigned long long
1756 vec_unpackh(vector unsigned int __a) {
1762 static inline __ATTRS_o_ai vector signed short
1763 vec_unpackl(vector signed char __a) {
1767 static inline __ATTRS_o_ai vector bool short
1768 vec_unpackl(vector bool char __a) {
1769 return (vector bool short)__builtin_s390_vuplb((vector signed char)__a);
1772 static inline __ATTRS_o_ai vector unsigned short
1773 vec_unpackl(vector unsigned char __a) {
1777 static inline __ATTRS_o_ai vector signed int
1778 vec_unpackl(vector signed short __a) {
1782 static inline __ATTRS_o_ai vector bool int
1783 vec_unpackl(vector bool short __a) {
1784 return (vector bool int)__builtin_s390_vuplhw((vector signed short)__a);
1787 static inline __ATTRS_o_ai vector unsigned int
1788 vec_unpackl(vector unsigned short __a) {
1792 static inline __ATTRS_o_ai vector signed long long
1793 vec_unpackl(vector signed int __a) {
1797 static inline __ATTRS_o_ai vector bool long long
1798 vec_unpackl(vector bool int __a) {
1799 return (vector bool long long)__builtin_s390_vuplf((vector signed int)__a);
1802 static inline __ATTRS_o_ai vector unsigned long long
1803 vec_unpackl(vector unsigned int __a) {
1809 static inline __ATTRS_o_ai vector bool char
1810 vec_cmpeq(vector bool char __a, vector bool char __b) {
1811 return (vector bool char)(__a == __b);
1814 static inline __ATTRS_o_ai vector bool char
1815 vec_cmpeq(vector signed char __a, vector signed char __b) {
1816 return (vector bool char)(__a == __b);
1819 static inline __ATTRS_o_ai vector bool char
1820 vec_cmpeq(vector unsigned char __a, vector unsigned char __b) {
1821 return (vector bool char)(__a == __b);
1824 static inline __ATTRS_o_ai vector bool short
1825 vec_cmpeq(vector bool short __a, vector bool short __b) {
1826 return (vector bool short)(__a == __b);
1829 static inline __ATTRS_o_ai vector bool short
1830 vec_cmpeq(vector signed short __a, vector signed short __b) {
1831 return (vector bool short)(__a == __b);
1834 static inline __ATTRS_o_ai vector bool short
1835 vec_cmpeq(vector unsigned short __a, vector unsigned short __b) {
1836 return (vector bool short)(__a == __b);
1839 static inline __ATTRS_o_ai vector bool int
1840 vec_cmpeq(vector bool int __a, vector bool int __b) {
1841 return (vector bool int)(__a == __b);
1844 static inline __ATTRS_o_ai vector bool int
1845 vec_cmpeq(vector signed int __a, vector signed int __b) {
1846 return (vector bool int)(__a == __b);
1849 static inline __ATTRS_o_ai vector bool int
1850 vec_cmpeq(vector unsigned int __a, vector unsigned int __b) {
1851 return (vector bool int)(__a == __b);
1854 static inline __ATTRS_o_ai vector bool long long
1855 vec_cmpeq(vector bool long long __a, vector bool long long __b) {
1856 return (vector bool long long)(__a == __b);
1859 static inline __ATTRS_o_ai vector bool long long
1860 vec_cmpeq(vector signed long long __a, vector signed long long __b) {
1861 return (vector bool long long)(__a == __b);
1864 static inline __ATTRS_o_ai vector bool long long
1865 vec_cmpeq(vector unsigned long long __a, vector unsigned long long __b) {
1866 return (vector bool long long)(__a == __b);
1869 static inline __ATTRS_o_ai vector bool long long
1870 vec_cmpeq(vector double __a, vector double __b) {
1871 return (vector bool long long)(__a == __b);
1876 static inline __ATTRS_o_ai vector bool char
1877 vec_cmpge(vector signed char __a, vector signed char __b) {
1878 return (vector bool char)(__a >= __b);
1881 static inline __ATTRS_o_ai vector bool char
1882 vec_cmpge(vectorvector unsigned char __b) {
1883 return (vector bool char)(__a >= __b);
1886 static inline __ATTRS_o_ai vector bool short
1887 vec_cmpge(vector signed short __a, vector signed short __b) {
1888 return (vector bool short)(__a >= __b);
1891 static inline __ATTRS_o_ai vector bool short
1892 vec_cmpge(vector unsigned short __a, vector unsigned short __b) {
1893 return (vector bool short)(__a >= __b);
1896 static inline __ATTRS_o_ai vector bool int
1897 vec_cmpge(vector signed int __a, vector signed int __b) {
1898 return (vector bool int)(__a >= __b);
1901 static inline __ATTRS_o_ai vector bool int
1902 vec_cmpge(vector unsigned int __a, vector unsigned int __b) {
1903 return (vector bool int)(__a >= __b);
1906 static inline __ATTRS_o_ai vector bool long long
1907 vec_cmpge(vector signed long long __a, vector signed long long __b) {
1908 return (vector bool long long)(__a >= __b);
1911 static inline __ATTRS_o_ai vector bool long long
1912 vec_cmpge(vector unsigned long long __a, vector unsigned long long __b) {
1913 return (vector bool long long)(__a >= __b);
1916 static inline __ATTRS_o_ai vector bool long long
1917 vec_cmpge(vector double __a, vector double __b) {
1918 return (vector bool long long)(__a >= __b);
1923 static inline __ATTRS_o_ai vector bool char
1924 vec_cmpgt(vector signed char __a, vector signed char __b) {
1925 return (vector bool char)(__a > __b);
1928 static inline __ATTRS_o_ai vector bool char
1929 vec_cmpgt(vector unsigned char __a, vector unsigned char __b) {
1930 return (vector bool char)(__a > __b);
1933 static inline __ATTRS_o_ai vector bool short
1934 vec_cmpgt(vector signed short __a, vector signed short __b) {
1935 return (vector bool short)(__a > __b);
1938 static inline __ATTRS_o_ai vector bool short
1939 vec_cmpgt(vector unsigned short __a, vector unsigned short __b) {
1940 return (vector bool short)(__a > __b);
1943 static inline __ATTRS_o_ai vector bool int
1944 vec_cmpgt(vector signed int __a, vector signed int __b) {
1945 return (vector bool int)(__a > __b);
1948 static inline __ATTRS_o_ai vector bool int
1949 vec_cmpgt(vector unsigned int __a, vector unsigned int __b) {
1950 return (vector bool int)(__a > __b);
1953 static inline __ATTRS_o_ai vector bool long long
1954 vec_cmpgt(vector signed long long __a, vector signed long long __b) {
1955 return (vector bool long long)(__a > __b);
1958 static inline __ATTRS_o_ai vector bool long long
1959 vec_cmpgt(vector unsigned long long __a, vector unsigned long long __b) {
1960 return (vector bool long long)(__a > __b);
1963 static inline __ATTRS_o_ai vector bool long long
1964 vec_cmpgt(vector double __a, vector double __b) {
1965 return (vector bool long long)(__a > __b);
1970 static inline __ATTRS_o_ai vector bool char
1971 vec_cmple(vector signed char __a, vector signed char __b) {
1972 return (vector bool char)(__a <= __b);
1975 static inline __ATTRS_o_ai vector bool char
1976 vec_cmple(vector unsigned char __a, vector unsigned char __b) {
1977 return (vector bool char)(__a <= __b);
1980 static inline __ATTRS_o_ai vector bool short
1981 vec_cmple(vector signed short __a, vector signed short __b) {
1982 return (vector bool short)(__a <= __b);
1985 static inline __ATTRS_o_ai vector bool short
1986 vec_cmple(vector unsigned short __a, vector unsigned short __b) {
1987 return (vector bool short)(__a <= __b);
1990 static inline __ATTRS_o_ai vector bool int
1991 vec_cmple(vector signed int __a, vector signed int __b) {
1992 return (vector bool int)(__a <= __b);
1995 static inline __ATTRS_o_ai vector bool int
1996 vec_cmple(vector unsigned int __a, vector unsigned int __b) {
1997 return (vector bool int)(__a <= __b);
2000 static inline __ATTRS_o_ai vector bool long long
2001 vec_cmple(vector signed long long __a, vector signed long long __b) {
2002 return (vector bool long long)(__a <= __b);
2005 static inline __ATTRS_o_ai vector bool long long
2006 vec_cmple(vector unsigned long long __a, vector unsigned long long __b) {
2007 return (vector bool long long)(__a <= __b);
2010 static inline __ATTRS_o_ai vector bool long long
2011 vec_cmple(vector double __a, vector double __b) {
2012 return (vector bool long long)(__a <= __b);
2017 static inline __ATTRS_o_ai vector bool char
2018 vec_cmplt(vector signed char __a, vector signed char __b) {
2019 return (vector bool char)(__a < __b);
2022 static inline __ATTRS_o_ai vector bool char
2023 vec_cmplt(vector unsigned char __a, vector unsigned char __b) {
2024 return (vector bool char)(__a < __b);
2027 static inline __ATTRS_o_ai vector bool short
2028 vec_cmplt(vector signed short __a, vector signed short __b) {
2029 return (vector bool short)(__a < __b);
2032 static inline __ATTRS_o_ai vector bool short
2033 vec_cmplt(vector unsigned short __a, vector unsigned short __b) {
2034 return (vector bool short)(__a < __b);
2037 static inline __ATTRS_o_ai vector bool int
2038 vec_cmplt(vector signed int __a, vector signed int __b) {
2039 return (vector bool int)(__a < __b);
2042 static inline __ATTRS_o_ai vector bool int
2043 vec_cmplt(vector unsigned int __a, vector unsigned int __b) {
2044 return (vector bool int)(__a < __b);
2047 static inline __ATTRS_o_ai vector bool long long
2048 vec_cmplt(vector signed long long __a, vector signed long long __b) {
2049 return (vector bool long long)(__a < __b);
2052 static inline __ATTRS_o_ai vector bool long long
2053 vec_cmplt(vector unsigned long long __a, vector unsigned long long __b) {
2054 return (vector bool long long)(__a < __b);
2057 static inline __ATTRS_o_ai vector bool long long
2058 vec_cmplt(vector double __a, vector double __b) {
2059 return (vector bool long long)(__a < __b);
2065 vec_all_eq(vector signed char __a, vector signed char __b) {
2072 vec_all_eq(vector signed char __a, vector bool char __b) {
2074 __builtin_s390_vceqbs(__a, (vector signed char)__b, &__cc);
2079 vec_all_eq(vector bool char __a, vector signed char __b) {
2081 __builtin_s390_vceqbs((vector signed char)__a, __b, &__cc);
2086 vec_all_eq(vector unsigned char __a, vector unsigned char __b) {
2088 __builtin_s390_vceqbs((vector signed char)__a,
2089 (vector signed char)__b, &__cc);
2094 vec_all_eq(vector unsigned char __a, vector bool char __b) {
2096 __builtin_s390_vceqbs((vector signed char)__a,
2097 (vector signed char)__b, &__cc);
2102 vec_all_eq(vector bool char __a, vector unsigned char __b) {
2104 __builtin_s390_vceqbs((vector signed char)__a,
2105 (vector signed char)__b, &__cc);
2110 vec_all_eq(vector bool char __a, vector bool char __b) {
2112 __builtin_s390_vceqbs((vector signed char)__a,
2113 (vector signed char)__b, &__cc);
2118 vec_all_eq(vector signed short __a, vector signed short __b) {
2125 vec_all_eq(vector signed short __a, vector bool short __b) {
2127 __builtin_s390_vceqhs(__a, (vector signed short)__b, &__cc);
2132 vec_all_eq(vector bool short __a, vector signed short __b) {
2134 __builtin_s390_vceqhs((vector signed short)__a, __b, &__cc);
2139 vec_all_eq(vector unsigned short __a, vector unsigned short __b) {
2141 __builtin_s390_vceqhs((vector signed short)__a,
2142 (vector signed short)__b, &__cc);
2147 vec_all_eq(vector unsigned short __a, vector bool short __b) {
2149 __builtin_s390_vceqhs((vector signed short)__a,
2150 (vector signed short)__b, &__cc);
2155 vec_all_eq(vector bool short __a, vector unsigned short __b) {
2157 __builtin_s390_vceqhs((vector signed short)__a,
2158 (vector signed short)__b, &__cc);
2163 vec_all_eq(vector bool short __a, vector bool short __b) {
2165 __builtin_s390_vceqhs((vector signed short)__a,
2166 (vector signed short)__b, &__cc);
2171 vec_all_eq(vector signed int __a, vector signed int __b) {
2178 vec_all_eq(vector signed int __a, vector bool int __b) {
2180 __builtin_s390_vceqfs(__a, (vector signed int)__b, &__cc);
2185 vec_all_eq(vector bool int __a, vector signed int __b) {
2187 __builtin_s390_vceqfs((vector signed int)__a, __b, &__cc);
2192 vec_all_eq(vector unsigned int __a, vector unsigned int __b) {
2194 __builtin_s390_vceqfs((vector signed int)__a,
2195 (vector signed int)__b, &__cc);
2200 vec_all_eq(vector unsigned int __a, vector bool int __b) {
2202 __builtin_s390_vceqfs((vector signed int)__a,
2203 (vector signed int)__b, &__cc);
2208 vec_all_eq(vector bool int __a, vector unsigned int __b) {
2210 __builtin_s390_vceqfs((vector signed int)__a,
2211 (vector signed int)__b, &__cc);
2216 vec_all_eq(vector bool int __a, vector bool int __b) {
2218 __builtin_s390_vceqfs((vector signed int)__a,
2219 (vector signed int)__b, &__cc);
2224 vec_all_eq(vector signed long long __a, vector signed long long __b) {
2231 vec_all_eq(vector signed long long __a, vector bool long long __b) {
2233 __builtin_s390_vceqgs(__a, (vector signed long long)__b, &__cc);
2238 vec_all_eq(vector bool long long __a, vector signed long long __b) {
2240 __builtin_s390_vceqgs((vector signed long long)__a, __b, &__cc);
2245 vec_all_eq(vector unsigned long long __a, vector unsigned long long __b) {
2247 __builtin_s390_vceqgs((vector signed long long)__a,
2248 (vector signed long long)__b, &__cc);
2253 vec_all_eq(vector unsigned long long __a, vector bool long long __b) {
2255 __builtin_s390_vceqgs((vector signed long long)__a,
2256 (vector signed long long)__b, &__cc);
2261 vec_all_eq(vector bool long long __a, vector unsigned long long __b) {
2263 __builtin_s390_vceqgs((vector signed long long)__a,
2264 (vector signed long long)__b, &__cc);
2269 vec_all_eq(vector bool long long __a, vector bool long long __b) {
2271 __builtin_s390_vceqgs((vector signed long long)__a,
2272 (vector signed long long)__b, &__cc);
2277 vec_all_eq(vector double __a, vector double __b) {
2286 vec_all_ne(vector signed char __a, vector signed char __b) {
2293 vec_all_ne(vector signed char __a, vector bool char __b) {
2295 __builtin_s390_vceqbs(__a, (vector signed char)__b, &__cc);
2300 vec_all_ne(vector bool char __a, vector signed char __b) {
2302 __builtin_s390_vceqbs((vector signed char)__a, __b, &__cc);
2307 vec_all_ne(vector unsigned char __a, vector unsigned char __b) {
2309 __builtin_s390_vceqbs((vector signed char)__a,
2310 (vector signed char)__b, &__cc);
2315 vec_all_ne(vector unsigned char __a, vector bool char __b) {
2317 __builtin_s390_vceqbs((vector signed char)__a,
2318 (vector signed char)__b, &__cc);
2323 vec_all_ne(vector bool char __a, vector unsigned char __b) {
2325 __builtin_s390_vceqbs((vector signed char)__a,
2326 (vector signed char)__b, &__cc);
2331 vec_all_ne(vector bool char __a, vector bool char __b) {
2333 __builtin_s390_vceqbs((vector signed char)__a,
2334 (vector signed char)__b, &__cc);
2339 vec_all_ne(vector signed short __a, vector signed short __b) {
2346 vec_all_ne(vector signed short __a, vector bool short __b) {
2348 __builtin_s390_vceqhs(__a, (vector signed short)__b, &__cc);
2353 vec_all_ne(vector bool short __a, vector signed short __b) {
2355 __builtin_s390_vceqhs((vector signed short)__a, __b, &__cc);
2360 vec_all_ne(vector unsigned short __a, vector unsigned short __b) {
2362 __builtin_s390_vceqhs((vector signed short)__a,
2363 (vector signed short)__b, &__cc);
2368 vec_all_ne(vector unsigned short __a, vector bool short __b) {
2370 __builtin_s390_vceqhs((vector signed short)__a,
2371 (vector signed short)__b, &__cc);
2376 vec_all_ne(vector bool short __a, vector unsigned short __b) {
2378 __builtin_s390_vceqhs((vector signed short)__a,
2379 (vector signed short)__b, &__cc);
2384 vec_all_ne(vector bool short __a, vector bool short __b) {
2386 __builtin_s390_vceqhs((vector signed short)__a,
2387 (vector signed short)__b, &__cc);
2392 vec_all_ne(vector signed int __a, vector signed int __b) {
2399 vec_all_ne(vector signed int __a, vector bool int __b) {
2401 __builtin_s390_vceqfs(__a, (vector signed int)__b, &__cc);
2406 vec_all_ne(vector bool int __a, vector signed int __b) {
2408 __builtin_s390_vceqfs((vector signed int)__a, __b, &__cc);
2413 vec_all_ne(vector unsigned int __a, vector unsigned int __b) {
2415 __builtin_s390_vceqfs((vector signed int)__a,
2416 (vector signed int)__b, &__cc);
2421 vec_all_ne(vector unsigned int __a, vector bool int __b) {
2423 __builtin_s390_vceqfs((vector signed int)__a,
2424 (vector signed int)__b, &__cc);
2429 vec_all_ne(vector bool int __a, vector unsigned int __b) {
2431 __builtin_s390_vceqfs((vector signed int)__a,
2432 (vector signed int)__b, &__cc);
2437 vec_all_ne(vector bool int __a, vector bool int __b) {
2439 __builtin_s390_vceqfs((vector signed int)__a,
2440 (vector signed int)__b, &__cc);
2445 vec_all_ne(vectorvector signed long long __b) {
2452 vec_all_ne(vector signed long long __a, vector bool long long __b) {
2454 __builtin_s390_vceqgs(__a, (vector signed long long)__b, &__cc);
2459 vec_all_ne(vector bool long long __a, vector signed long long __b) {
2461 __builtin_s390_vceqgs((vector signed long long)__a, __b, &__cc);
2466 vec_all_ne(vector unsigned long long __a, vector unsigned long long __b) {
2468 __builtin_s390_vceqgs((vector signed long long)__a,
2469 (vector signed long long)__b, &__cc);
2474 vec_all_ne(vector unsigned long long __a, vector bool long long __b) {
2476 __builtin_s390_vceqgs((vector signed long long)__a,
2477 (vector signed long long)__b, &__cc);
2482 vec_all_ne(vector bool long long __a, vector unsigned long long __b) {
2484 __builtin_s390_vceqgs((vector signed long long)__a,
2485 (vector signed long long)__b, &__cc);
2490 vec_all_ne(vector bool long long __a, vector bool long long __b) {
2492 __builtin_s390_vceqgs((vector signed long long)__a,
2493 (vector signed long long)__b, &__cc);
2498 vec_all_ne(vector double __a, vector double __b) {
2507 vec_all_ge(vector signed char __a, vector signed char __b) {
2514 vec_all_ge(vector signed char __a, vector bool char __b) {
2516 __builtin_s390_vchbs((vector signed char)__b, __a, &__cc);
2521 vec_all_ge(vector bool char __a, vector signed char __b) {
2523 __builtin_s390_vchbs(__b, (vector signed char)__a, &__cc);
2528 vec_all_ge(vector unsigned char __a, vector unsigned char __b) {
2535 vec_all_ge(vector unsigned char __a, vector bool char __b) {
2537 __builtin_s390_vchlbs((vector unsigned char)__b, __a, &__cc);
2542 vec_all_ge(vector bool char __a, vector unsigned char __b) {
2544 __builtin_s390_vchlbs(__b, (vector unsigned char)__a, &__cc);
2549 vec_all_ge(vector bool char __a, vector bool char __b) {
2551 __builtin_s390_vchlbs((vector unsigned char)__b,
2552 (vector unsigned char)__a, &__cc);
2557 vec_all_ge(vector signed short __a, vector signed short __b) {
2564 vec_all_ge(vector signed short __a, vector bool short __b) {
2566 __builtin_s390_vchhs((vector signed short)__b, __a, &__cc);
2571 vec_all_ge(vector bool short __a, vector signed short __b) {
2573 __builtin_s390_vchhs(__b, (vector signed short)__a, &__cc);
2578 vec_all_ge(vector unsigned short __a, vector unsigned short __b) {
2585 vec_all_ge(vector unsigned short __a, vector bool short __b) {
2587 __builtin_s390_vchlhs((vector unsigned short)__b, __a, &__cc);
2592 vec_all_ge(vector bool short __a, vector unsigned short __b) {
2594 __builtin_s390_vchlhs(__b, (vector unsigned short)__a, &__cc);
2599 vec_all_ge(vector bool short __a, vector bool short __b) {
2601 __builtin_s390_vchlhs((vector unsigned short)__b,
2602 (vector unsigned short)__a, &__cc);
2607 vec_all_ge(vector signed int __a, vector signed int __b) {
2614 vec_all_ge(vector signed int __a, vector bool int __b) {
2616 __builtin_s390_vchfs((vector signed int)__b, __a, &__cc);
2621 vec_all_ge(vector bool int __a, vector signed int __b) {
2623 __builtin_s390_vchfs(__b, (vector signed int)__a, &__cc);
2628 vec_all_ge(vector unsigned int __a, vector unsigned int __b) {
2635 vec_all_ge(vector unsigned int __a, vector bool int __b) {
2637 __builtin_s390_vchlfs((vector unsigned int)__b, __a, &__cc);
2642 vec_all_ge(vector bool int __a, vector unsigned int __b) {
2644 __builtin_s390_vchlfs(__b, (vector unsigned int)__a, &__cc);
2649 vec_all_ge(vector bool int __a, vector bool int __b) {
2651 __builtin_s390_vchlfs((vector unsigned int)__b,
2652 (vector unsigned int)__a, &__cc);
2657 vec_all_ge(vector signed long long __a, vector signed long long __b) {
2664 vec_all_ge(vector signed long long __a, vector bool long long __b) {
2666 __builtin_s390_vchgs((vector signed long long)__b, __a, &__cc);
2671 vec_all_ge(vector bool long long __a, vector signed long long __b) {
2673 __builtin_s390_vchgs(__b, (vector signed long long)__a, &__cc);
2678 vec_all_ge(vector unsigned long long __a, vector unsigned long long __b) {
2685 vec_all_ge(vector unsigned long long __a, vector bool long long __b) {
2687 __builtin_s390_vchlgs((vector unsigned long long)__b, __a, &__cc);
2692 vec_all_ge(vector bool long long __a, vector unsigned long long __b) {
2694 __builtin_s390_vchlgs(__b, (vector unsigned long long)__a, &__cc);
2699 vec_all_ge(vector bool long long __a, vector bool long long __b) {
2701 __builtin_s390_vchlgs((vector unsigned long long)__b,
2702 (vector unsigned long long)__a, &__cc);
2707 vec_all_ge(vector double __a, vector double __b) {
2716 vec_all_gt(vector signed char __a, vector signed char __b) {
2723 vec_all_gt(vector signed char __a, vector bool char __b) {
2725 __builtin_s390_vchbs(__a, (vector signed char)__b, &__cc);
2730 vec_all_gt(vector bool char __a, vector signed char __b) {
2732 __builtin_s390_vchbs((vector signed char)__a, __b, &__cc);
2737 vec_all_gt(vector unsigned char __a, vector unsigned char __b) {
2744 vec_all_gt(vector unsigned char __a, vector bool char __b) {
2746 __builtin_s390_vchlbs(__a, (vector unsigned char)__b, &__cc);
2751 vec_all_gt(vector bool char __a, vector unsigned char __b) {
2753 __builtin_s390_vchlbs((vector unsigned char)__a, __b, &__cc);
2758 vec_all_gt(vector bool char __a, vector bool char __b) {
2760 __builtin_s390_vchlbs((vector unsigned char)__a,
2761 (vector unsigned char)__b, &__cc);
2766 vec_all_gt(vector signed short __a, vector signed short __b) {
2773 vec_all_gt(vector signed short __a, vector bool short __b) {
2775 __builtin_s390_vchhs(__a, (vector signed short)__b, &__cc);
2780 vec_all_gt(vector bool short __a, vector signed short __b) {
2782 __builtin_s390_vchhs((vector signed short)__a, __b, &__cc);
2787 vec_all_gt(vector unsigned short __a, vector unsigned short __b) {
2794 vec_all_gt(vector unsigned short __a, vector bool short __b) {
2796 __builtin_s390_vchlhs(__a, (vector unsigned short)__b, &__cc);
2801 vec_all_gt(vector bool short __a, vector unsigned short __b) {
2803 __builtin_s390_vchlhs((vector unsigned short)__a, __b, &__cc);
2808 vec_all_gt(vector bool short __a, vector bool short __b) {
2810 __builtin_s390_vchlhs((vector unsigned short)__a,
2811 (vector unsigned short)__b, &__cc);
2816 vec_all_gt(vector signed int __a, vector signed int __b) {
2823 vec_all_gt(vector signed int __a, vector bool int __b) {
2825 __builtin_s390_vchfs(__a, (vector signed int)__b, &__cc);
2830 vec_all_gt(vector bool int __a, vector signed int __b) {
2832 __builtin_s390_vchfs((vector signed int)__a, __b, &__cc);
2837 vec_all_gt(vector unsigned int __a, vector unsigned int __b) {
2844 vec_all_gt(vector unsigned int __a, vector bool int __b) {
2846 __builtin_s390_vchlfs(__a, (vector unsigned int)__b, &__cc);
2851 vec_all_gt(vector bool int __a, vector unsigned int __b) {
2853 __builtin_s390_vchlfs((vector unsigned int)__a, __b, &__cc);
2858 vec_all_gt(vector bool int __a, vector bool int __b) {
2860 __builtin_s390_vchlfs((vector unsigned int)__a,
2861 (vector unsigned int)__b, &__cc);
2866 vec_all_gt(vector signed long long __a, vector signed long long __b) {
2873 vec_all_gt(vector signed long long __a, vector bool long long __b) {
2875 __builtin_s390_vchgs(__a, (vector signed long long)__b, &__cc);
2880 vec_all_gt(vector bool long long __a, vector signed long long __b) {
2882 __builtin_s390_vchgs((vector signed long long)__a, __b, &__cc);
2887 vec_all_gt(vector unsigned long long __a, vector unsigned long long __b) {
2894 vec_all_gt(vector unsigned long long __a, vector bool long long __b) {
2896 __builtin_s390_vchlgs(__a, (vector unsigned long long)__b, &__cc);
2901 vec_all_gt(vector bool long long __a, vector unsigned long long __b) {
2903 __builtin_s390_vchlgs((vector unsigned long long)__a, __b, &__cc);
2908 vec_all_gt(vector bool long long __a, vector bool long long __b) {
2910 __builtin_s390_vchlgs((vector unsigned long long)__a,
2911 (vector unsigned long long)__b, &__cc);
2916 vec_all_gt(vector double __a, vector double __b) {
2925 vec_all_le(vector signed char __a, vector signed char __b) {
2932 vec_all_le(vector signed char __a, vector bool char __b) {
2934 __builtin_s390_vchbs(__a, (vector signed char)__b, &__cc);
2939 vec_all_le(vector bool char __a, vector signed char __b) {
2941 __builtin_s390_vchbs((vector signed char)__a, __b, &__cc);
2946 vec_all_le(vector unsigned char __a, vector unsigned char __b) {
2953 vec_all_le(vector unsigned char __a, vector bool char __b) {
2955 __builtin_s390_vchlbs(__a, (vector unsigned char)__b, &__cc);
2960 vec_all_le(vector bool char __a, vector unsigned char __b) {
2962 __builtin_s390_vchlbs((vector unsigned char)__a, __b, &__cc);
2967 vec_all_le(vector bool char __a, vector bool char __b) {
2969 __builtin_s390_vchlbs((vector unsigned char)__a,
2970 (vector unsigned char)__b, &__cc);
2975 vec_all_le(vector signed short __a, vector signed short __b) {
2982 vec_all_le(vector signed short __a, vector bool short __b) {
2984 __builtin_s390_vchhs(__a, (vector signed short)__b, &__cc);
2989 vec_all_le(vector bool short __a, vector signed short __b) {
2991 __builtin_s390_vchhs((vector signed short)__a, __b, &__cc);
2996 vec_all_le(vector unsigned short __a, vector unsigned short __b) {
3003 vec_all_le(vector unsigned short __a, vector bool short __b) {
3005 __builtin_s390_vchlhs(__a, (vector unsigned short)__b, &__cc);
3010 vec_all_le(vector bool short __a, vector unsigned short __b) {
3012 __builtin_s390_vchlhs((vector unsigned short)__a, __b, &__cc);
3017 vec_all_le(vector bool short __a, vector bool short __b) {
3019 __builtin_s390_vchlhs((vector unsigned short)__a,
3020 (vector unsigned short)__b, &__cc);
3025 vec_all_le(vector signed int __a, vector signed int __b) {
3032 vec_all_le(vector signed int __a, vector bool int __b) {
3034 __builtin_s390_vchfs(__a, (vector signed int)__b, &__cc);
3039 vec_all_le(vector bool int __a, vector signed int __b) {
3041 __builtin_s390_vchfs((vector signed int)__a, __b, &__cc);
3046 vec_all_le(vector unsigned int __a, vector
3053 vec_all_le(vector unsigned int __a, vector bool int __b) {
3055 __builtin_s390_vchlfs(__a, (vector unsigned int)__b, &__cc);
3060 vec_all_le(vector bool int __a, vector unsigned int __b) {
3062 __builtin_s390_vchlfs((vector unsigned int)__a, __b, &__cc);
3067 vec_all_le(vector bool int __a, vector bool int __b) {
3069 __builtin_s390_vchlfs((vector unsigned int)__a,
3070 (vector unsigned int)__b, &__cc);
3075 vec_all_le(vector signed long long __a, vector signed long long __b) {
3082 vec_all_le(vector signed long long __a, vector bool long long __b) {
3084 __builtin_s390_vchgs(__a, (vector signed long long)__b, &__cc);
3089 vec_all_le(vector bool long long __a, vector signed long long __b) {
3091 __builtin_s390_vchgs((vector signed long long)__a, __b, &__cc);
3096 vec_all_le(vector unsigned long long __a, vector unsigned long long __b) {
3103 vec_all_le(vector unsigned long long __a, vector bool long long __b) {
3105 __builtin_s390_vchlgs(__a, (vector unsigned long long)__b, &__cc);
3110 vec_all_le(vector bool long long __a, vector unsigned long long __b) {
3112 __builtin_s390_vchlgs((vector unsigned long long)__a, __b, &__cc);
3117 vec_all_le(vector bool long long __a, vector bool long long __b) {
3119 __builtin_s390_vchlgs((vector unsigned long long)__a,
3120 (vector unsigned long long)__b, &__cc);
3125 vec_all_le(vector double __a, vector double __b) {
3134 vec_all_lt(vector signed char __a, vector signed char __b) {
3141 vec_all_lt(vector signed char __a, vector bool char __b) {
3143 __builtin_s390_vchbs((vector signed char)__b, __a, &__cc);
3148 vec_all_lt(vector bool char __a, vector signed char __b) {
3150 __builtin_s390_vchbs(__b, (vector signed char)__a, &__cc);
3155 vec_all_lt(vector unsigned char __a, vector unsigned char __b) {
3162 vec_all_lt(vector unsigned char __a, vector bool char __b) {
3164 __builtin_s390_vchlbs((vector unsigned char)__b, __a, &__cc);
3169 vec_all_lt(vector bool char __a, vector unsigned char __b) {
3171 __builtin_s390_vchlbs(__b, (vector unsigned char)__a, &__cc);
3176 vec_all_lt(vector bool char __a, vector bool char __b) {
3178 __builtin_s390_vchlbs((vector unsigned char)__b,
3179 (vector unsigned char)__a, &__cc);
3184 vec_all_lt(vector signed short __a, vector signed short __b) {
3191 vec_all_lt(vector signed short __a, vector bool short __b) {
3193 __builtin_s390_vchhs((vector signed short)__b, __a, &__cc);
3198 vec_all_lt(vector bool short __a, vector signed short __b) {
3200 __builtin_s390_vchhs(__b, (vector signed short)__a, &__cc);
3205 vec_all_lt(vector unsigned short __a, vector unsigned short __b) {
3212 vec_all_lt(vector unsigned short __a, vector bool short __b) {
3214 __builtin_s390_vchlhs((vector unsigned short)__b, __a, &__cc);
3219 vec_all_lt(vector bool short __a, vector unsigned short __b) {
3221 __builtin_s390_vchlhs(__b, (vector unsigned short)__a, &__cc);
3226 vec_all_lt(vector bool short __a, vector bool short __b) {
3228 __builtin_s390_vchlhs((vector unsigned short)__b,
3229 (vector unsigned short)__a, &__cc);
3234 vec_all_lt(vector signed int __a, vector signed int __b) {
3241 vec_all_lt(vector signed int __a, vector bool int __b) {
3243 __builtin_s390_vchfs((vector signed int)__b, __a, &__cc);
3248 vec_all_lt(vector bool int __a, vector signed int __b) {
3250 __builtin_s390_vchfs(__b, (vector signed int)__a, &__cc);
3255 vec_all_lt(vector unsigned int __a, vector unsigned int __b) {
3262 vec_all_lt(vector unsigned int __a, vector bool int __b) {
3264 __builtin_s390_vchlfs((vector unsigned int)__b, __a, &__cc);
3269 vec_all_lt(vector bool int __a, vector unsigned int __b) {
3271 __builtin_s390_vchlfs(__b, (vector unsigned int)__a, &__cc);
3276 vec_all_lt(vector bool int __a, vector bool int __b) {
3278 __builtin_s390_vchlfs((vector unsigned int)__b,
3279 (vector unsigned int)__a, &__cc);
3284 vec_all_lt(vector signed long long __a, vector signed long long __b) {
3291 vec_all_lt(vector signed long long __a, vector bool long long __b) {
3293 __builtin_s390_vchgs((vector signed long long)__b, __a, &__cc);
3298 vec_all_lt(vector bool long long __a, vector signed long long __b) {
3300 __builtin_s390_vchgs(__b, (vector signed long long)__a, &__cc);
3305 vec_all_lt(vector unsigned long long __a, vector unsigned long long __b) {
3312 vec_all_lt(vector unsigned long long __a, vector bool long long __b) {
3314 __builtin_s390_vchlgs((vector unsigned long long)__b, __a, &__cc);
3319 vec_all_lt(vector bool long long __a, vector unsigned long long __b) {
3321 __builtin_s390_vchlgs(__b, (vector unsigned long long)__a, &__cc);
3326 vec_all_lt(vector bool long long __a, vector bool long long __b) {
3328 __builtin_s390_vchlgs((vector unsigned long long)__b,
3329 (vector unsigned long long)__a, &__cc);
3334 vec_all_lt(vector double __a, vector double __b) {
3343 vec_all_nge(vector double __a, vector double __b) {
3352 vec_all_ngt(vector double __a, vector double __b) {
3361 vec_all_nle(vector double __a, vector double __b) {
3370 vec_all_nlt(vector double __a, vector double __b) {
3379 vec_all_nan(vector double __a) {
3388 vec_all_numeric(vector double __a) {
3397 vec_any_eq(vector signed char __a, vector signed char __b) {
3404 vec_any_eq(vector signed char __a, vector bool char __b) {
3406 __builtin_s390_vceqbs(__a, (vector signed char)__b, &__cc);
3411 vec_any_eq(vector bool char __a, vector signed char __b) {
3413 __builtin_s390_vceqbs((vector signed char)__a, __b, &__cc);
3418 vec_any_eq(vector unsigned char __a, vector unsigned char __b) {
3420 __builtin_s390_vceqbs((vector signed char)__a,
3421 (vector signed char)__b, &__cc);
3426 vec_any_eq(vector unsigned char __a, vector bool char __b) {
3428 __builtin_s390_vceqbs((vector signed char)__a,
3429 (vector signed char)__b, &__cc);
3434 vec_any_eq(vector bool char __a, vector unsigned char __b) {
3436 __builtin_s390_vceqbs((vector signed char)__a,
3437 (vector signed char)__b, &__cc);
3442 vec_any_eq(vector bool char __a, vector bool char __b) {
3444 __builtin_s390_vceqbs((vector signed char)__a,
3445 (vector signed char)__b, &__cc);
3450 vec_any_eq(vector signed short __a, vector signed short __b) {
3457 vec_any_eq(vector signed short __a, vector bool short __b) {
3459 __builtin_s390_vceqhs(__a, (vector signed short)__b, &__cc);
3464 vec_any_eq(vector bool short __a, vector signed short __b) {
3466 __builtin_s390_vceqhs((vector signed short)__a, __b, &__cc);
3471 vec_any_eq(vector unsigned short __a, vector unsigned short __b) {
3473 __builtin_s390_vceqhs((vector signed short)__a,
3474 (vector signed short)__b, &__cc);
3479 vec_any_eq(vector unsigned short __a, vector bool short __b) {
3481 __builtin_s390_vceqhs((vector signed short)__a,
3482 (vector signed short)__b, &__cc);
3487 vec_any_eq(vector bool short __a, vector unsigned short __b) {
3489 __builtin_s390_vceqhs((vector signed short)__a,
3490 (vector signed short)__b, &__cc);
3495 vec_any_eq(vector bool short __a, vector bool short __b) {
3497 __builtin_s390_vceqhs((vector signed short)__a,
3498 (vector signed short)__b, &__cc);
3503 vec_any_eq(vector signed int __a, vector signed int __b) {
3510 vec_any_eq(vector signed int __a, vector bool int __b) {
3512 __builtin_s390_vceqfs(__a, (vector signed int)__b, &__cc);
3517 vec_any_eq(vector bool int __a, vector signed int __b) {
3519 __builtin_s390_vceqfs((vector signed int)__a, __b, &__cc);
3524 vec_any_eq(vector unsigned int __a, vector unsigned int __b) {
3526 __builtin_s390_vceqfs((vector signed int)__a,
3527 (vector signed int)__b, &__cc);
3532 vec_any_eq(vector unsigned int __a, vector bool int __b) {
3534 __builtin_s390_vceqfs((vector signed int)__a,
3535 (vector signed int)__b, &__cc);
3540 vec_any_eq(vector bool int __a, vector unsigned int __b) {
3542 __builtin_s390_vceqfs((vector signed int)__a,
3543 (vector signed int)__b, &__cc);
3548 vec_any_eq(vector bool int __a, vector bool int __b) {
3550 __builtin_s390_vceqfs((vector signed int)__a,
3551 (vector signed int)__b, &__cc);
3556 vec_any_eq(vector signed long long __a, vector signed long long __b) {
3563 vec_any_eq(vector signed long long __a, vector bool long long __b) {
3565 __builtin_s390_vceqgs(__a, (vector signed long long)__b, &__cc);
3570 vec_any_eq(vector bool long long __a, vector signed long long __b) {
3572 __builtin_s390_vceqgs((vector signed long long)__a, __b, &__cc);
3577 vec_any_eq(vector unsigned long long __a, vector unsigned long long __b) {
3579 __builtin_s390_vceqgs((vector signed long long)__a,
3580 (vector signed long long)__b, &__cc);
3585 vec_any_eq(vector unsigned long long __a, vector bool long long __b) {
3587 __builtin_s390_vceqgs((vector signed long long)__a,
3588 (vector signed long long)__b, &__cc);
3593 vec_any_eq(vector bool long long __a, vector unsigned long long __b) {
3595 __builtin_s390_vceqgs((vector signed long long)__a,
3596 (vector signed long long)__b, &__cc);
3601 vec_any_eq(vector bool long long __a, vector bool long long __b) {
3603 __builtin_s390_vceqgs((vector signed long long)__a,
3604 (vector signed long long)__b, &__cc);
3609 vec_any_eq(vector double __a, vector double __b) {
3618 vec_any_ne(vector signed char __a, vector signed char __b) {
3625 vec_any_ne(vector signed char __a, vector bool char __b) {
3627 __builtin_s390_vceqbs(__a, (vector signed char)__b, &__cc);
3632 vec_any_ne(vector bool char __a, vector signed char __b) {
3634 __builtin_s390_vceqbs((vector signed char)__a, __b, &__cc);
3639 vec_any_ne(vector unsigned char __a, vector unsigned char __b) {
3641 __builtin_s390_vceqbs((vector signed char)__a,
3642 vector signed char)__b, &__cc);
3647 vec_any_ne(vector unsigned char __a, vector bool char __b) {
3649 __builtin_s390_vceqbs((vector signed char)__a,
3650 (vector signed char)__b, &__cc);
3655 vec_any_ne(vector bool char __a, vector unsigned char __b) {
3657 __builtin_s390_vceqbs((vector signed char)__a,
3658 (vector signed char)__b, &__cc);
3663 vec_any_ne(vector bool char __a, vector bool char __b) {
3665 __builtin_s390_vceqbs((vector signed char)__a,
3666 (vector signed char)__b, &__cc);
3671 vec_any_ne(vector signed short __a, vector signed short __b) {
3678 vec_any_ne(vector signed short __a, vector bool short __b) {
3680 __builtin_s390_vceqhs(__a, (vector signed short)__b, &__cc);
3685 vec_any_ne(vector bool short __a, vector signed short __b) {
3687 __builtin_s390_vceqhs((vector signed short)__a, __b, &__cc);
3692 vec_any_ne(vector unsigned short __a, vector unsigned short __b) {
3694 __builtin_s390_vceqhs((vector signed short)__a,
3695 (vector signed short)__b, &__cc);
3700 vec_any_ne(vector unsigned short __a, vector bool short __b) {
3702 __builtin_s390_vceqhs((vector signed short)__a,
3703 (vector signed short)__b, &__cc);
3708 vec_any_ne(vector bool short __a, vector unsigned short __b) {
3710 __builtin_s390_vceqhs((vector signed short)__a,
3711 (vector signed short)__b, &__cc);
3716 vec_any_ne(vector bool short __a, vector bool short __b) {
3718 __builtin_s390_vceqhs((vector signed short)__a,
3719 (vector signed short)__b, &__cc);
3724 vec_any_ne(vector signed int __a, vector signed int __b) {
3731 vec_any_ne(vector signed int __a, vector bool int __b) {
3733 __builtin_s390_vceqfs(__a, (vector signed int)__b, &__cc);
3738 vec_any_ne(vector bool int __a, vector signed int __b) {
3740 __builtin_s390_vceqfs((vector signed int)__a, __b, &__cc);
3745 vec_any_ne(vector unsigned int __a, vector unsigned int __b) {
3747 __builtin_s390_vceqfs((vector signed int)__a,
3748 (vector signed int)__b, &__cc);
3753 vec_any_ne(vector unsigned int __a, vector bool int __b) {
3755 __builtin_s390_vceqfs((vector signed int)__a,
3756 (vector signed int)__b, &__cc);
3761 vec_any_ne(vector bool int __a, vector unsigned int __b) {
3763 __builtin_s390_vceqfs((vector signed int)__a,
3764 (vector signed int)__b, &__cc);
3769 vec_any_ne(vector bool int __a, vector bool int __b) {
3771 __builtin_s390_vceqfs((vector signed int)__a,
3772 (vector signed int)__b, &__cc);
3777 vec_any_ne(vector signed long long __a, vector signed long long __b) {
3784 vec_any_ne(vector signed long long __a, vector bool long long __b) {
3786 __builtin_s390_vceqgs(__a, (vector signed long long)__b, &__cc);
3791 vec_any_ne(vector bool long long __a, vector signed long long __b) {
3793 __builtin_s390_vceqgs((vector signed long long)__a, __b, &__cc);
3798 vec_any_ne(vector unsigned long long __a, vector unsigned long long __b) {
3800 __builtin_s390_vceqgs((vector signed long long)__a,
3801 (vector signed long long)__b, &__cc);
3806 vec_any_ne(vector unsigned long long __a, vector bool long long __b) {
3808 __builtin_s390_vceqgs((vector signed long long)__a,
3809 (vector signed long long)__b, &__cc);
3814 vec_any_ne(vector bool long long __a, vector unsigned long long __b) {
3816 __builtin_s390_vceqgs((vector signed long long)__a,
3817 (vector signed long long)__b, &__cc);
3822 vec_any_ne(vector bool long long __a, vector bool long long __b) {
3824 __builtin_s390_vceqgs((vector signed long long)__a,
3825 (vector signed long long)__b, &__cc);
3830 vec_any_ne(vector double __a, vector double __b) {
3839 vec_any_ge(vector signed char __a, vector signed char __b) {
3846 vec_any_ge(vector signed char __a, vector bool char __b) {
3848 __builtin_s390_vchbs((vector signed char)__b, __a, &__cc);
3853 vec_any_ge(vector bool char __a, vector signed char __b) {
3855 __builtin_s390_vchbs(__b, (vector signed char)__a, &__cc);
3860 vec_any_ge(vector unsigned char __a, vector unsigned char __b) {
3867 vec_any_ge(vector unsigned char __a, vector bool char __b) {
3869 __builtin_s390_vchlbs((vector unsigned char)__b, __a, &__cc);
3874 vec_any_ge(vector bool char __a, vector unsigned char __b) {
3876 __builtin_s390_vchlbs(__b, (vector unsigned char)__a, &__cc);
3881 vec_any_ge(vector bool char __a, vector bool char __b) {
3883 __builtin_s390_vchlbs((vector unsigned char)__b,
3884 (vector unsigned char)__a, &__cc);
3889 vec_any_ge(vector signed short __a, vector signed short __b) {
3896 vec_any_ge(vector signed short __a, vector bool short __b) {
3898 __builtin_s390_vchhs((vector signed short)__b, __a, &__cc);
3903 vec_any_ge(vector bool short __a, vector signed short __b) {
3905 __builtin_s390_vchhs(__b, (vector signed short)__a, &__cc);
3910 vec_any_ge(vector unsigned short __a, vector unsigned short __b) {
3917 vec_any_ge(vector unsigned short __a, vector bool short __b) {
3919 __builtin_s390_vchlhs((vector unsigned short)__b, __a, &__cc);
3924 vec_any_ge(vector bool short __a, vector unsigned short __b) {
3926 __builtin_s390_vchlhs(__b, (vector unsigned short)__a, &__cc);
3931 vec_any_ge(vector bool short __a, vector bool short __b) {
3933 __builtin_s390_vchlhs((vector unsigned short)__b,
3934 (vector unsigned short)__a, &__cc);
3939 vec_any_ge(vector signed int __a, vector signed int __b) {
3946 vec_any_ge(vector signed int __a, vector bool int __b) {
3948 __builtin_s390_vchfs((vector signed int)__b, __a, &__cc);
3953 vec_any_ge(vector bool int __a, vector signed int __b) {
3955 __builtin_s390_vchfs(__b, (vector signed int)__a, &__cc);
3960 vec_any_ge(vector unsigned int __a, vector unsigned int __b) {
3967 vec_any_ge(vector unsigned int __a, vector bool int __b) {
3969 __builtin_s390_vchlfs((vector unsigned int)__b, __a, &__cc);
3974 vec_any_ge(vector bool int __a, vector unsigned int __b) {
3976 __builtin_s390_vchlfs(__b, (vector unsigned int)__a, &__cc);
3981 vec_any_ge(vector bool int __a, vector bool int __b) {
3983 __builtin_s390_vchlfs((vector unsigned int)__b,
3984 (vector unsigned int)__a, &__cc);
3989 vec_any_ge(vector signed long long __a, vector signed long long __b) {
3996 vec_any_ge(vector signed long long __a, vector bool long long __b) {
3998 __builtin_s390_vchgs((vector signed long long)__b, __a, &__cc);
4003 vec_any_ge(vector bool long long __a, vector signed long long __b) {
4005 __builtin_s390_vchgs(__b, (vector signed long long)__a, &__cc);
4010 vec_any_ge(vector unsigned long long __a, vector unsigned long long __b) {
4017 vec_any_ge(vector unsigned long long __a, vector bool long long __b) {
4019 __builtin_s390_vchlgs((vector unsigned long long)__b, __a, &__cc);
4024 vec_any_ge(vector bool long long __a, vector unsigned long long __b) {
4026 __builtin_s390_vchlgs(__b, (vector unsigned long long)__a, &__cc);
4031 vec_any_ge(vector bool long long __a, vector bool long long __b) {
4033 __builtin_s390_vchlgs((vector unsigned long long)__b,
4034 (vector unsigned long long)__a, &__cc);
4039 vec_any_ge(vector double __a, vector double __b) {
4048 vec_any_gt(vector signed char __a, vector signed char __b) {
4055 vec_any_gt(vector signed char __a, vector bool char __b) {
4057 __builtin_s390_vchbs(__a, (vector signed char)__b, &__cc);
4062 vec_any_gt(vector bool char __a, vector signed char __b) {
4064 __builtin_s390_vchbs((vector signed char)__a, __b, &__cc);
4069 vec_any_gt(vector unsigned char __a, vector unsigned char __b) {
4076 vec_any_gt(vector unsigned char __a, vector bool char __b) {
4078 __builtin_s390_vchlbs(__a, (vector unsigned char)__b, &__cc);
4083 vec_any_gt(vector bool char __a, vector unsigned char __b) {
4085 __builtin_s390_vchlbs((vector unsigned char)__a, __b, &__cc);
4090 vec_any_gt(vector bool char __a, vector bool char __b) {
4092 __builtin_s390_vchlbs((vector unsigned char)__a,
4093 (vector unsigned char)__b, &__cc);
4098 vec_any_gt(vector signed short __a, vector signed short __b) {
4105 vec_any_gt(vector signed short __a, vector bool short __b) {
4107 __builtin_s390_vchhs(__a, (vector signed short)__b, &__cc);
4112 vec_any_gt(vector bool short __a, vector signed short __b) {
4114 __builtin_s390_vchhs((vector signed short)__a, __b, &__cc);
4119 vec_any_gt(vector unsigned short __a, vector unsigned short __b) {
4126 vec_any_gt(vector unsigned short __a, vector bool short __b) {
4128 __builtin_s390_vchlhs(__a, (vector unsigned short)__b, &__cc);
4133 vec_any_gt(vector bool short __a, vector unsigned short __b) {
4135 __builtin_s390_vchlhs((vector unsigned short)__a, __b, &__cc);
4140 vec_any_gt(vector bool short __a, vector bool short __b) {
4142 __builtin_s390_vchlhs((vector unsigned short)__a,
4143 (vector unsigned short)__b, &__cc);
4148 vec_any_gt(vector signed int __a, vector signed int __b) {
4155 vec_any_gt(vector signed int __a, vector bool int __b) {
4157 __builtin_s390_vchfs(__a, (vector signed int)__b, &__cc);
4162 vec_any_gt(vector bool int __a, vector signed int __b) {
4164 __builtin_s390_vchfs((vector signed int)__a, __b, &__cc);
4169 vec_any_gt(vector unsigned int __a, vector unsigned int __b) {
4176 vec_any_gt(vector unsigned int __a, vector bool int __b) {
4178 __builtin_s390_vchlfs(__a, (vector unsigned int)__b, &__cc);
4183 vec_any_gt(vector bool int __a, vector unsigned int __b) {
4185 __builtin_s390_vchlfs((vector unsigned int)__a, __b, &__cc);
4190 vec_any_gt(vector bool int __a, vector bool int __b) {
4192 __builtin_s390_vchlfs((vector unsigned int)__a,
4193 (vector unsigned int)__b, &__cc);
4198 vec_any_gt(vector signed long long __a, vector signed long long __b) {
4205 vec_any_gt(vector signed long long __a, vector bool long long __b) {
4207 __builtin_s390_vchgs(__a, (vector signed long long)__b, &__cc);
4212 vec_any_gt(vector bool long long __a, vector signed long long __b) {
4214 __builtin_s390_vchgs((vector signed long long)__a, __b, &__cc);
4219 vec_any_gt(vector unsigned long long __a, vector unsigned long long __b) {
4226 vec_any_gt(vector unsigned long long __a, vector bool long long __b) {
4228 __builtin_s390_vchlgs(__a, (vector unsigned long long)__b, &__cc);
4233 vec_any_gt(vector bool long long __a, vector unsigned long long __b) {
4235 __builtin_s390_vchlgs((vector unsigned long long)__a, __b, &__cc);
4240 vec_any_gt(vector bool long long __a, vector bool long long __b) {
4242 __builtin_s390_vchlgs((vector unsigned long long)__a,
4243 (vector unsigned long long)__b, &__cc);
4248 vec_any_gt(vector double __a, vector double __b) {
4257 vec_any_le(vector signed char __a, vector signed char __b) {
4264 vec_any_le(vector signed char __a, vector bool char __b) {
4266 __builtin_s390_vchbs(__a, (vector signed char)__b, &__cc);
4271 vec_any_le(vector bool char __a, vector signed char __b) {
4273 __builtin_s390_vchbs((vector signed char)__a, __b, &__cc);
4278 vec_any_le(vector unsigned char __a, vector unsigned char __b) {
4285 vec_any_le(vector unsigned char __a, vector bool char __b) {
4287 __builtin_s390_vchlbs(__a, (vector unsigned char)__b, &__cc);
4292 vec_any_le(vector bool char __a, vector unsigned char __b) {
4294 __builtin_s390_vchlbs((vector unsigned char)__a, __b, &__cc);
4299 vec_any_le(vector bool char __a, vector bool char __b) {
4301 __builtin_s390_vchlbs((vector unsigned char)__a,
4302 (vector unsigned char)__b, &__cc);
4307 vec_any_le(vector signed short __a, vector signed short __b) {
4314 vec_any_le(vector signed short __a, vector bool short __b) {
4316 __builtin_s390_vchhs(__a, (vector signed short)__b, &__cc);
4321 vec_any_le(vector bool short __a, vector signed short __b) {
4323 __builtin_s390_vchhs((vector signed short)__a, __b, &__cc);
4328 vec_any_le(vector unsigned short __a, vector unsigned short __b) {
4335 vec_any_le(vector unsigned short __a, vector bool short __b) {
4337 __builtin_s390_vchlhs(__a, (vector unsigned short)__b, &__cc);
4342 vec_any_le(vector bool short __a, vector unsigned short __b) {
4344 __builtin_s390_vchlhs((vector unsigned short)__a, __b, &__cc);
4349 vec_any_le(vector bool short __a, vector bool short __b) {
4351 __builtin_s390_vchlhs((vector unsigned short)__a,
4352 (vector unsigned short)__b, &__cc);
4357 vec_any_le(vector signed int __a, vector signed int __b) {
4364 vec_any_le(vector signed int __a, vector bool int __b) {
4366 __builtin_s390_vchfs(__a, (vector signed int)__b, &__cc);
4371 vec_any_le(vector bool int __a, vector signed int __b) {
4373 __builtin_s390_vchfs((vector signed int)__a, __b, &__cc);
4378 vec_any_le(vector unsigned int __a, vector unsigned int __b) {
4385 vec_any_le(vector unsigned int __a, vector bool int __b) {
4387 __builtin_s390_vchlfs(__a, (vector unsigned int)__b, &__cc);
4392 vec_any_le(vector bool int __a, vector unsigned int __b) {
4394 __builtin_s390_vchlfs((vector unsigned int)__a, __b, &__cc);
4399 vec_any_le(vector bool int __a, vector bool int __b) {
4401 __builtin_s390_vchlfs((vector unsigned int)__a,
4402 (vector unsigned int)__b, &__cc);
4407 vec_any_le(vector signed long long __a, vector signed long long __b) {
4414 vec_any_le(vector signed long long __a, vector bool long long __b) {
4416 __builtin_s390_vchgs(__a, (vector signed long long)__b, &__cc);
4421 vec_any_le(vector bool long long __a, vector signed long long __b) {
4423 __builtin_s390_vchgs((vector signed long long)__a, __b, &__cc);
4428 vec_any_le(vector unsigned long long __a, vector unsigned long long __b) {
4435 vec_any_le(vector unsigned long long __a, vector bool long long __b) {
4437 __builtin_s390_vchlgs(__a, (vector unsigned long long)__b, &__cc);
4442 vec_any_le(vector bool long long __a, vector unsigned long long __b) {
4444 __builtin_s390_vchlgs((vector unsigned long long)__a, __b, &__cc);
4449 vec_any_le(vector bool long long __a, vector bool long long __b) {
4451 __builtin_s390_vchlgs((vector unsigned long long)__a,
4452 (vector unsigned long long)__b, &__cc);
4457 vec_any_le(vector double __a, vector double __b) {
4466 vec_any_lt(vector signed char __a, vector signed char __b) {
4473 vec_any_lt(vector signed char __a, vector bool char __b) {
4475 __builtin_s390_vchbs((vector signed char)__b, __a, &__cc);
4480 vec_any_lt(vector bool char __a, vector signed char __b) {
4482 __builtin_s390_vchbs(__b, (vector signed char)__a, &__cc);
4487 vec_any_lt(vector unsigned char __a, vector unsigned char __b) {
4494 vec_any_lt(vector unsigned char __a, vector bool char __b) {
4496 __builtin_s390_vchlbs((vector unsigned char)__b, __a, &__cc);
4501 vec_any_lt(vector bool char __a, vector unsigned char __b) {
4503 __builtin_s390_vchlbs(__b, (vector unsigned char)__a, &__cc);
4508 vec_any_lt(vector bool char __a, vector bool char __b) {
4510 __builtin_s390_vchlbs((vector unsigned char)__b,
4511 (vector unsigned char)__a, &__cc);
4516 vec_any_lt(vector signed short __a, vector signed short __b) {
4523 vec_any_lt(vector signed short __a, vector bool short __b) {
4525 __builtin_s390_vchhs((vector signed short)__b, __a, &__cc);
4530 vec_any_lt(vector bool short __a, vector signed short __b) {
4532 __builtin_s390_vchhs(__b, (vector signed short)__a, &__cc);
4537 vec_any_lt(vector unsigned short __a, vector unsigned short __b) {
4544 vec_any_lt(vector unsigned short __a, vector bool short __b) {
4546 __builtin_s390_vchlhs((vector unsigned short)__b, __a, &__cc);
4551 vec_any_lt(vector bool short __a, vector unsigned short __b) {
4553 __builtin_s390_vchlhs(__b, (vector unsigned short)__a, &__cc);
4558 vec_any_lt(vector bool short __a, vector bool short __b) {
4560 __builtin_s390_vchlhs((vector unsigned short)__b,
4561 (vector unsigned short)__a, &__cc);
4566 vec_any_lt(vector signed int __a, vector signed int __b) {
4573 vec_any_lt(vector signed int __a, vector bool int __b) {
4575 __builtin_s390_vchfs((vector signed int)__b, __a, &__cc);
4580 vec_any_lt(vector bool int __a, vector signed int __b) {
4582 __builtin_s390_vchfs(__b, (vector signed int)__a, &__cc);
4587 vec_any_lt(vector unsigned int __a, vector unsigned int __b) {
4594 vec_any_lt(vector unsigned int __a, vector bool int __b) {
4596 __builtin_s390_vchlfs((vector unsigned int)__b, __a, &__cc);
4601 vec_any_lt(vector bool int __a, vector unsigned int __b) {
4603 __builtin_s390_vchlfs(__b, (vector unsigned int)__a, &__cc);
4608 vec_any_lt(vector bool int __a, vector bool int __b) {
4610 __builtin_s390_vchlfs((vector unsigned int)__b,
4611 (vector unsigned int)__a, &__cc);
4616 vec_any_lt(vector signed long long __a, vector signed long long __b) {
4623 vec_any_lt(vector signed long long __a, vector bool long long __b) {
4625 __builtin_s390_vchgs((vector signed long long)__b, __a, &__cc);
4630 vec_any_lt(vector bool long long __a, vector signed long long __b) {
4632 __builtin_s390_vchgs(__b, (vector signed long long)__a, &__cc);
4637 vec_any_lt(vector unsigned long long __a, vector unsigned long long __b) {
4644 vec_any_lt(vector unsigned long long __a, vector bool long long __b) {
4646 __builtin_s390_vchlgs((vector unsigned long long)__b, __a, &__cc);
4651 vec_any_lt(vector bool long long __a, vector unsigned long long __b) {
4653 __builtin_s390_vchlgs(__b, (vector unsigned long long)__a, &__cc);
4658 vec_any_lt(vector bool long long __a, vector bool long long __b) {
4660 __builtin_s390_vchlgs((vector unsigned long long)__b,
4661 (vector unsigned long long)__a, &__cc);
4666 vec_any_lt(vector double __a, vector double __b) {
4675 vec_any_nge(vector double __a, vector double __b) {
4684 vec_any_ngt(vector double __a, vector double __b) {
4693 vec_any_nle(vector double __a, vector double __b) {
4702 vec_any_nlt(vector double __a, vector double __b) {
4711 vec_any_nan(vector double __a) {
4720 vec_any_numeric(vector double __a) {
4728 static inline __ATTRS_o_ai vector bool char
4729 vec_andc(vector bool char __a, vector bool char __b) {
4733 static inline __ATTRS_o_ai vector signed char
4734 vec_andc(vector signed char __a, vector signed char __b) {
4738 static inline __ATTRS_o_ai vector signed char
4739 vec_andc(vector bool char __a, vector signed char __b) {
4743 static inline __ATTRS_o_ai vector signed char
4744 vec_andc(vector signed char __a, vector bool char __b) {
4748 static inline __ATTRS_o_ai vector unsigned char
4749 vec_andc(vector unsigned char __a, vector unsigned char __b) {
4753 static inline __ATTRS_o_ai vector unsigned char
4754 vec_andc(vector bool char __a, vector unsigned char __b) {
4758 static inline __ATTRS_o_ai vector unsigned char
4759 vec_andc(vector unsigned char __a, vector bool char __b) {
4763 static inline __ATTRS_o_ai vector bool short
4764 vec_andc(vector bool short __a, vector bool short __b) {
4768 static inline __ATTRS_o_ai vector signed short
4769 vec_andc(vector signed short __a, vector signed short __b) {
4773 static inline __ATTRS_o_ai vector signed short
4774 vec_andc(vector bool short __a, vector signed short __b) {
4778 static inline __ATTRS_o_ai vector signed short
4779 vec_andc(vector signed short __a, vector bool short __b) {
4783 static inline __ATTRS_o_ai vector unsigned short
4784 vec_andc(vector unsigned short __a, vector unsigned short __b) {
4788 static inline __ATTRS_o_ai vector unsigned short
4789 vec_andc(vector bool short __a, vector unsigned short __b) {
4793 static inline __ATTRS_o_ai vector unsigned short
4794 vec_andc(vector unsigned short __a, vector bool short __b) {
4798 static inline __ATTRS_o_ai vector bool int
4799 vec_andc(vector bool int __a, vector bool int __b) {
4803 static inline __ATTRS_o_ai vector signed int
4804 vec_andc(vector signed int __a, vector signed int __b) {
4808 static inline __ATTRS_o_ai vector signed int
4809 vec_andc(vector bool int __a, vector signed int __b) {
4813 static inline __ATTRS_o_ai vector signed int
4814 vec_andc(vector signed int __a, vector bool int __b) {
4818 static inline __ATTRS_o_ai vector unsigned int
4819 vec_andc(vector unsigned int __a, vector unsigned int __b) {
4823 static inline __ATTRS_o_ai vector unsigned int
4824 vec_andc(vector bool int __a, vector unsigned int __b) {
4828 static inline __ATTRS_o_ai vector unsigned int
4829 vec_andc(vector unsigned int __a, vector bool int __b) {
4833 static inline __ATTRS_o_ai vector bool long long
4834 vec_andc(vector bool long long __a, vector bool long long __b) {
4838 static inline __ATTRS_o_ai vector signed long long
4839 vec_andc(vector signed long long __a, vector signed long long __b) {
4843 static inline __ATTRS_o_ai vector signed long long
4844 vec_andc(vector bool long long __a, vector signed long long __b) {
4848 static inline __ATTRS_o_ai vector signed long long
4849 vector signed long long __a, vector bool long long __b) {
4853 static inline __ATTRS_o_ai vector unsigned long long
4854 vec_andc(vector unsigned long long __a, vector unsigned long long __b) {
4858 static inline __ATTRS_o_ai vector unsigned long long
4859 vec_andc(vector bool long long __a, vector unsigned long long __b) {
4863 static inline __ATTRS_o_ai vector unsigned long long
4864 vec_andc(vector unsigned long long __a, vector bool long long __b) {
4868 static inline __ATTRS_o_ai vector double
4869 vec_andc(vector double __a, vector double __b) {
4870 return (vector double)((vector unsigned long long)__a &
4871 ~(vector unsigned long long)__b);
4874 static inline __ATTRS_o_ai vector double
4875 vec_andc(vector bool long long __a, vector double __b) {
4876 return (vector double)((vector unsigned long long)__a &
4877 ~(vector unsigned long long)__b);
4880 static inline __ATTRS_o_ai vector double
4881 vec_andc(vector double __a, vector bool long long __b) {
4882 return (vector double)((vector unsigned long long)__a &
4883 ~(vector unsigned long long)__b);
4888 static inline __ATTRS_o_ai vector bool char
4889 vec_nor(vector bool char __a, vector bool char __b) {
4893 static inline __ATTRS_o_ai vector signed char
4894 vec_nor(vector signed char __a, vector signed char __b) {
4898 static inline __ATTRS_o_ai vector signed char
4899 vec_nor(vector bool char __a, vector signed char __b) {
4903 static inline __ATTRS_o_ai vector signed char
4904 vec_nor(vector signed char __a, vector bool char __b) {
4908 static inline __ATTRS_o_ai vector unsigned char
4909 vec_nor(vector unsigned char __a, vector unsigned char __b) {
4913 static inline __ATTRS_o_ai vector unsigned char
4914 vec_nor(vector bool char __a, vector unsigned char __b) {
4918 static inline __ATTRS_o_ai vector unsigned char
4919 vec_nor(vector unsigned char __a, vector bool char __b) {
4923 static inline __ATTRS_o_ai vector bool short
4924 vec_nor(vector bool short __a, vector bool short __b) {
4928 static inline __ATTRS_o_ai vector signed short
4929 vec_nor(vector signed short __a, vector signed short __b) {
4933 static inline __ATTRS_o_ai vector signed short
4934 vec_nor(vector bool short __a, vector signed short __b) {
4938 static inline __ATTRS_o_ai vector signed short
4939 vec_nor(vector signed short __a, vector bool short __b) {
4943 static inline __ATTRS_o_ai vector unsigned short
4944 vec_nor(vector unsigned short __a, vector unsigned short __b) {
4948 static inline __ATTRS_o_ai vector unsigned short
4949 vec_nor(vector bool short __a, vector unsigned short __b) {
4953 static inline __ATTRS_o_ai vector unsigned short
4954 vec_nor(vector unsigned short __a, vector bool short __b) {
4958 static inline __ATTRS_o_ai vector bool int
4959 vec_nor(vector bool int __a, vector bool int __b) {
4963 static inline __ATTRS_o_ai vector signed int
4964 vec_nor(vector signed int __a, vector signed int __b) {
4968 static inline __ATTRS_o_ai vector signed int
4969 vec_nor(vector bool int __a, vector signed int __b) {
4973 static inline __ATTRS_o_ai vector signed int
4974 vec_nor(vector signed int __a, vector bool int __b) {
4978 static inline __ATTRS_o_ai vector unsigned int
4979 vec_nor(vector unsigned int __a, vector unsigned int __b) {
4983 static inline __ATTRS_o_ai vector unsigned int
4984 vec_nor(vector bool int __a, vector unsigned int __b) {
4988 static inline __ATTRS_o_ai vector unsigned int
4989 vec_nor(vector unsigned int __a, vector bool int __b) {
4993 static inline __ATTRS_o_ai vector bool long long
4994 vec_nor(vector bool long long __a, vector bool long long __b) {
4998 static inline __ATTRS_o_ai vector signed long long
4999 vec_nor(vector signed long long __a, vector signed long long __b) {
5003 static inline __ATTRS_o_ai vector signed long long
5004 vec_nor(vector bool long long __a, vector signed long long __b) {
5008 static inline __ATTRS_o_ai vector signed long long
5009 vec_nor(vector signed long long __a, vector bool long long __b) {
5013 static inline __ATTRS_o_ai vector unsigned long long
5014 vec_nor(vector unsigned long long __a, vector unsigned long long __b) {
5018 static inline __ATTRS_o_ai vector unsigned long long
5019 vec_nor(vector bool long long __a, vector unsigned long long __b) {
5023 static inline __ATTRS_o_ai vector unsigned long long
5024 vec_nor(vector unsigned long long __a, vector bool long long __b) {
5028 static inline __ATTRS_o_ai vector double
5029 vec_nor(vector double __a, vector double __b) {
5030 return (vector double)~((vector unsigned long long)__a |
5031 (vector unsigned long long)__b);
5034 static inline __ATTRS_o_ai vector double
5035 vec_nor(vector bool long long __a, vector double __b) {
5036 return (vector double)~((vector unsigned long long)__a |
5037 (vector unsigned long long)__b);
5040 static inline __ATTRS_o_ai vector double
5041 vec_nor(vector double __a, vector bool long long __b) {
5042 return (vector double)~((vector unsigned long long)__a |
5043 (vector unsigned long long)__b);
5048 static inline __ATTRS_o_ai vector unsigned char
5049 vec_cntlz(vector signed char __a) {
5050 return __builtin_s390_vclzb((vector unsigned char)__a);
5053 static inline __ATTRS_o_ai vector unsigned char
5054 vec_cntlz(vector unsigned char __a) {
5058 static inline __ATTRS_o_ai vector unsigned short
5059 vec_cntlz(vector signed short __a) {
5060 return __builtin_s390_vclzh((vector unsigned short)__a);
5063 static inline __ATTRS_o_ai vector unsigned short
5064 vec_cntlz(vector unsigned short __a) {
5068 static inline __ATTRS_o_ai vector unsigned int
5069 vec_cntlz(vector signed int __a) {
5070 return __builtin_s390_vclzf((vector unsigned int)__a);
5073 static inline __ATTRS_o_ai vector unsigned int
5074 vec_cntlz(vector unsigned int __a) {
5078 static inline __ATTRS_o_ai vector unsigned long long
5079 vec_cntlz(vector signed long long __a) {
5080 return __builtin_s390_vclzg((vector unsigned long long)__a);
5083 static inline __ATTRS_o_ai vector unsigned long long
5084 vec_cntlz(vector unsigned long long __a) {
5090 static inline __ATTRS_o_ai vector unsigned char
5091 vec_cnttz(vector signed char __a) {
5092 return __builtin_s390_vctzb((vector unsigned char)__a);
5095 static inline __ATTRS_o_ai vector unsigned char
5096 vec_cnttz(vector unsigned char __a) {
5100 static inline __ATTRS_o_ai vector unsigned short
5101 vec_cnttz(vector signed short __a) {
5102 return __builtin_s390_vctzh((vector unsigned short)__a);
5105 static inline __ATTRS_o_ai vector unsigned short
5106 vec_cnttz(vector unsigned short __a) {
5110 static inline __ATTRS_o_ai vector unsigned int
5111 vec_cnttz(vector signed int __a) {
5112 return __builtin_s390_vctzf((vector unsigned int)__a);
5115 static inline __ATTRS_o_ai vector unsigned int
5116 vec_cnttz(vector unsigned int __a) {
5120 static inline __ATTRS_o_ai vector unsigned long long
5121 vec_cnttz(vector signed long long __a) {
5122 return __builtin_s390_vctzg((vector unsigned long long)__a);
5125 static inline __ATTRS_o_ai vector unsigned long long
5126 vec_cnttz(vector unsigned long long __a) {
5132 static inline __ATTRS_o_ai vector unsigned char
5133 vec_popcnt(vector signed char __a) {
5134 return __builtin_s390_vpopctb((vector unsigned char)__a);
5137 static inline __ATTRS_o_ai vector unsigned char
5138 vec_popcnt(vector unsigned char __a) {
5142 static inline __ATTRS_o_ai vector unsigned short
5143 vec_popcnt(vector signed short __a) {
5144 return __builtin_s390_vpopcth((vector unsigned short)__a);
5147 static inline __ATTRS_o_ai vector unsigned short
5148 vec_popcnt(vector unsigned short __a) {
5152 static inline __ATTRS_o_ai vector unsigned int
5153 vec_popcnt(vector signed int __a) {
5154 return __builtin_s390_vpopctf((vector unsigned int)__a);
5157 static inline __ATTRS_o_ai vector unsigned int
5158 vec_popcnt(vector unsigned int __a) {
5162 static inline __ATTRS_o_ai vector unsigned long long
5163 vec_popcnt(vector signed long long __a) {
5164 return __builtin_s390_vpopctg((vector unsigned long long)__a);
5167 static inline __ATTRS_o_ai vector unsigned long long
5168 vec_popcnt(vector unsigned long long __a) {
5174 static inline __ATTRS_o_ai vector signed char
5175 vec_rl(vector signed char __a, vector unsigned char __b) {
5176 return (vector signed char)__builtin_s390_verllvb(
5177 (vector unsigned char)__a, __b);
5180 static inline __ATTRS_o_ai vector unsigned char
5181 vec_rl(vector unsigned char __a, vector unsigned char __b) {
5185 static inline __ATTRS_o_ai vector signed short
5186 vec_rl(vector signed short __a, vector unsigned short __b) {
5187 return (vector signed short)__builtin_s390_verllvh(
5188 (vector unsigned short)__a, __b);
5191 static inline __ATTRS_o_ai vector unsigned short
5192 vec_rl(vector unsigned short __a, vector unsigned short __b) {
5196 static inline __ATTRS_o_ai vector signed int
5197 vec_rl(vector signed int __a, vector unsigned int __b) {
5198 return (vector signed int)__builtin_s390_verllvf(
5199 (vector unsigned int)__a, __b);
5202 static inline __ATTRS_o_ai vector unsigned int
5203 vec_rl(vector unsigned int __a, vector unsigned int __b) {
5207 static inline __ATTRS_o_ai vector signed long long
5208 vec_rl(vector signed long long __a, vector unsigned long long __b) {
5209 return (vector signed long long)__builtin_s390_verllvg(
5210 (vector unsigned long long)__a, __b);
5213 static inline __ATTRS_o_ai vector unsigned long long
5214 vec_rl(vector unsigned long long __a, vector unsigned long long __b) {
5220 static inline __ATTRS_o_ai vector signed char
5221 vec_rli(vector signed char __a, unsigned long __b) {
5222 return (vector signed char)__builtin_s390_verllb(
5223 (vector unsigned char)__a, (int)__b);
5226 static inline __ATTRS_o_ai vector unsigned char
5227 vec_rli(vector unsigned char __a, unsigned long __b) {
5231 static inline __ATTRS_o_ai vector signed short
5232 vec_rli(vector signed short __a, unsigned long __b) {
5233 return (vector signed short)__builtin_s390_verllh(
5234 (vector unsigned short)__a, (int)__b);
5237 static inline __ATTRS_o_ai vector unsigned short
5238 vec_rli(vector unsigned short __a, unsigned long __b) {
5242 static inline __ATTRS_o_ai vector signed int
5243 vec_rli(vector signed int __a, unsigned long __b) {
5244 return (vector signed int)__builtin_s390_verllf(
5245 (vector unsigned int)__a, (int)__b);
5248 static inline __ATTRS_o_ai vector unsigned int
5249 vec_rli(vector unsigned int __a, unsigned long __b) {
5253 static inline __ATTRS_o_ai vector signed long long
5254 vec_rli(vector signed long long __a, unsigned long __b) {
5255 return (vector signed long long)__builtin_s390_verllg(
5256 (vector unsigned long long)__a, (int)__b);
5259 static inline __ATTRS_o_ai vector unsigned long long
5260 vec_rli(vector unsigned long long __a, unsigned long __b) {
5266 extern __ATTRS_o vector signed char
5267 vec_rl_mask(vector signed char __a, vector unsigned char __b,
5270 extern __ATTRS_o vector unsigned char
5271 vec_rl_mask(vector unsigned char __a, vector unsigned char __b,
5274 extern __ATTRS_o vector signed short
5275 vec_rl_mask(vector signed short __a, vector unsigned short __b,
5278 extern __ATTRS_o vector unsigned short
5279 vec_rl_mask(vector unsigned short __a, vector unsigned short __b,
5282 extern __ATTRS_o vector signed int
5283 vec_rl_mask(vector signed int __a, vector unsigned int __b,
5286 extern __ATTRS_o vector unsigned int
5287 vec_rl_mask(vector unsigned int __a, vector unsigned int __b,
5290 extern __ATTRS_o vector signed long long
5291 vec_rl_mask(vector signed long long __a, vector unsigned long long __b,
5294 extern __ATTRS_o vector unsigned long long
5295 vec_rl_mask(vector unsigned long long __a, vector unsigned long long __b,
5300 vector unsigned char __res; \
5301 vector unsigned char __x = (vector unsigned char)(X); \
5302 vector unsigned char __y = (vector unsigned char)(Y); \
5304 case 1: __res = (vector unsigned char) __builtin_s390_verimb( \
5305 (vector unsigned char)__x, (vector unsigned char)__x, \
5306 (vector unsigned char)__y, (Z)); break; \
5307 case 2: __res = (vector unsigned char) __builtin_s390_verimh( \
5308 (vector unsigned short)__x, (vector unsigned short)__x, \
5309 (vector unsigned short)__y, (Z)); break; \
5310 case 4: __res = (vector unsigned char) __builtin_s390_verimf( \
5311 (vector unsigned int)__x, (vector unsigned int)__x, \
5312 (vector unsigned int)__y, (Z)); break; \
5313 default: __res = (vector unsigned char) __builtin_s390_verimg( \
5314 (vector unsigned long long)__x, (vector unsigned long long)__x, \
5315 (vector unsigned long long)__y, (Z)); break; \
5320 static inline __ATTRS_o_ai vector signed char
5321 vec_sll(vector signed char __a, vector unsigned char __b) {
5322 return (vector signed char)__builtin_s390_vsl(
5323 (vector unsigned char)__a, __b);
5326 static inline __ATTRS_o_ai vector signed char
5327 vec_sll(vector signed char __a, vector unsigned short __b) {
5328 return (vector signed char)__builtin_s390_vsl(
5329 (vector unsigned char)__a, (vector unsigned char)__b);
5332 static inline __ATTRS_o_ai vector signed char
5333 vec_sll(vector signed char __a, vector unsigned int __b) {
5334 return (vector signed char)__builtin_s390_vsl(
5335 (vector unsigned char)__a, (vector unsigned char)__b);
5338 static inline __ATTRS_o_ai vector bool char
5339 vec_sll(vector bool char __a, vector unsigned char __b) {
5340 return (vector bool char)__builtin_s390_vsl(
5341 (vector unsigned char)__a, __b);
5344 static inline __ATTRS_o_ai vector bool char
5345 vec_sll(vector bool char __a, vector unsigned short __b) {
5346 return (vector bool char)__builtin_s390_vsl(
5347 (vector unsigned char)__a, (vector unsigned char)__b);
5350 static inline __ATTRS_o_ai vector bool char
5351 vec_sll(vector bool char __a, vector unsigned int __b) {
5352 return (vector bool char)__builtin_s390_vsl(
5353 (vector unsigned char)__a, (vector unsigned char)__b);
5356 static inline __ATTRS_o_ai vector unsigned char
5357 vec_sll(vector unsigned char __a, vector unsigned char __b) {
5361 static inline __ATTRS_o_ai vector unsigned char
5362 vec_sll(vector unsigned char __a, vector unsigned short __b) {
5363 return __builtin_s390_vsl(__a, (vector unsigned char)__b);
5366 static inline __ATTRS_o_ai vector unsigned char
5367 vec_sll(vectorvector unsigned int __b) {
5368 return __builtin_s390_vsl(__a, (vector unsigned char)__b);
5371 static inline __ATTRS_o_ai vector signed short
5372 vec_sll(vector signed short __a, vector unsigned char __b) {
5373 return (vector signed short)__builtin_s390_vsl(
5374 (vector unsigned char)__a, __b);
5377 static inline __ATTRS_o_ai vector signed short
5378 vec_sll(vector signed short __a, vector unsigned short __b) {
5379 return (vector signed short)__builtin_s390_vsl(
5380 (vector unsigned char)__a, (vector unsigned char)__b);
5383 static inline __ATTRS_o_ai vector signed short
5384 vec_sll(vector signed short __a, vector unsigned int __b) {
5385 return (vector signed short)__builtin_s390_vsl(
5386 (vector unsigned char)__a, (vector unsigned char)__b);
5389 static inline __ATTRS_o_ai vector bool short
5390 vec_sll(vector bool short __a, vector unsigned char __b) {
5391 return (vector bool short)__builtin_s390_vsl(
5392 (vector unsigned char)__a, __b);
5395 static inline __ATTRS_o_ai vector bool short
5396 vec_sll(vector bool short __a, vector unsigned short __b) {
5397 return (vector bool short)__builtin_s390_vsl(
5398 (vector unsigned char)__a, (vector unsigned char)__b);
5401 static inline __ATTRS_o_ai vector bool short
5402 vec_sll(vector bool short __a, vector unsigned int __b) {
5403 return (vector bool short)__builtin_s390_vsl(
5404 (vector unsigned char)__a, (vector unsigned char)__b);
5407 static inline __ATTRS_o_ai vector unsigned short
5408 vec_sll(vector unsigned short __a, vector unsigned char __b) {
5409 return (vector unsigned short)__builtin_s390_vsl(
5410 (vector unsigned char)__a, __b);
5413 static inline __ATTRS_o_ai vector unsigned short
5414 vec_sll(vector unsigned short __a, vector unsigned short __b) {
5415 return (vector unsigned short)__builtin_s390_vsl(
5416 (vector unsigned char)__a, (vector unsigned char)__b);
5419 static inline __ATTRS_o_ai vector unsigned short
5420 vec_sll(vector unsigned short __a, vector unsigned int __b) {
5421 return (vector unsigned short)__builtin_s390_vsl(
5422 (vector unsigned char)__a, (vector unsigned char)__b);
5425 static inline __ATTRS_o_ai vector signed int
5426 vec_sll(vector signed int __a, vector unsigned char __b) {
5427 return (vector signed int)__builtin_s390_vsl(
5428 (vector unsigned char)__a, __b);
5431 static inline __ATTRS_o_ai vector signed int
5432 vec_sll(vector signed int __a, vector unsigned short __b) {
5433 return (vector signed int)__builtin_s390_vsl(
5434 (vector unsigned char)__a, (vector unsigned char)__b);
5437 static inline __ATTRS_o_ai vector signed int
5438 vec_sll(vector signed int __a, vector unsigned int __b) {
5439 return (vector signed int)__builtin_s390_vsl(
5440 (vector unsigned char)__a, (vector unsigned char)__b);
5443 static inline __ATTRS_o_ai vector bool int
5444 vec_sll(vector bool int __a, vector unsigned char __b) {
5445 return (vector bool int)__builtin_s390_vsl(
5446 (vector unsigned char)__a, __b);
5449 static inline __ATTRS_o_ai vector bool int
5450 vec_sll(vector bool int __a, vector unsigned short __b) {
5451 return (vector bool int)__builtin_s390_vsl(
5452 (vector unsigned char)__a, (vector unsigned char)__b);
5455 static inline __ATTRS_o_ai vector bool int
5456 vec_sll(vector bool int __a, vector unsigned int __b) {
5457 return (vector bool int)__builtin_s390_vsl(
5458 (vector unsigned char)__a, (vector unsigned char)__b);
5461 static inline __ATTRS_o_ai vector unsigned int
5462 vec_sll(vector unsigned int __a, vector unsigned char __b) {
5463 return (vector unsigned int)__builtin_s390_vsl(
5464 (vector unsigned char)__a, __b);
5467 static inline __ATTRS_o_ai vector unsigned int
5468 vec_sll(vector unsigned int __a, vector unsigned short __b) {
5469 return (vector unsigned int)__builtin_s390_vsl(
5470 (vector unsigned char)__a, (vector unsigned char)__b);
5473 static inline __ATTRS_o_ai vector unsigned int
5474 vec_sll(vector unsigned int __a, vector unsigned int __b) {
5475 return (vector unsigned int)__builtin_s390_vsl(
5476 (vector unsigned char)__a, (vector unsigned char)__b);
5479 static inline __ATTRS_o_ai vector signed long long
5480 vec_sll(vector signed long long __a, vector unsigned char __b) {
5481 return (vector signed long long)__builtin_s390_vsl(
5482 (vector unsigned char)__a, __b);
5485 static inline __ATTRS_o_ai vector signed long long
5486 vec_sll(vector signed long long __a, vector unsigned short __b) {
5487 return (vector signed long long)__builtin_s390_vsl(
5488 (vector unsigned char)__a, (vector unsigned char)__b);
5491 static inline __ATTRS_o_ai vector signed long long
5492 vec_sll(vector signed long long __a, vector unsigned int __b) {
5493 return (vector signed long long)__builtin_s390_vsl(
5494 (vector unsigned char)__a, (vector unsigned char)__b);
5497 static inline __ATTRS_o_ai vector bool long long
5498 vec_sll(vector bool long long __a, vector unsigned char __b) {
5499 return (vector bool long long)__builtin_s390_vsl(
5500 (vector unsigned char)__a, __b);
5503 static inline __ATTRS_o_ai vector bool long long
5504 vec_sll(vector bool long long __a, vector unsigned short __b) {
5505 return (vector bool long long)__builtin_s390_vsl(
5506 (vector unsigned char)__a, (vector unsigned char)__b);
5509 static inline __ATTRS_o_ai vector bool long long
5510 vec_sll(vector bool long long __a, vector unsigned int __b) {
5511 return (vector bool long long)__builtin_s390_vsl(
5512 (vector unsigned char)__a, (vector unsigned char)__b);
5515 static inline __ATTRS_o_ai vector unsigned long long
5516 vec_sll(vector unsigned long long __a, vector unsigned char __b) {
5517 return (vector unsigned long long)__builtin_s390_vsl(
5518 (vector unsigned char)__a, __b);
5521 static inline __ATTRS_o_ai vector unsigned long long
5522 vec_sll(vector unsigned long long __a, vector unsigned short __b) {
5523 return (vector unsigned long long)__builtin_s390_vsl(
5524 (vector unsigned char)__a, (vector unsigned char)__b);
5527 static inline __ATTRS_o_ai vector unsigned long long
5528 vec_sll(vector unsigned long long __a, vector unsigned int __b) {
5529 return (vector unsigned long long)__builtin_s390_vsl(
5530 (vector unsigned char)__a, (vector unsigned char)__b);
5535 static inline __ATTRS_o_ai vector signed char
5536 vec_slb(vector signed char __a, vector signed char __b) {
5537 return (vector signed char)__builtin_s390_vslb(
5538 (vector unsigned char)__a, (vector unsigned char)__b);
5541 static inline __ATTRS_o_ai vector signed char
5542 vec_slb(vector signed char __a, vector unsigned char __b) {
5543 return (vector signed char)__builtin_s390_vslb(
5544 (vector unsigned char)__a, __b);
5547 static inline __ATTRS_o_ai vector unsigned char
5548 vec_slb(vector unsigned char __a, vector signed char __b) {
5549 return __builtin_s390_vslb(__a, (vector unsigned char)__b);
5552 static inline __ATTRS_o_ai vector unsigned char
5553 vec_slb(vector unsigned char __a, vector unsigned char __b) {
5557 static inline __ATTRS_o_ai vector signed short
5558 vec_slb(vector signed short __a, vector signed short __b) {
5559 return (vector signed short)__builtin_s390_vslb(
5560 (vector unsigned char)__a, (vector unsigned char)__b);
5563 static inline __ATTRS_o_ai vector signed short
5564 vec_slb(vector signed short __a, vector unsigned short __b) {
5565 return (vector signed short)__builtin_s390_vslb(
5566 (vector unsigned char)__a, (vector unsigned char)__b);
5569 static inline __ATTRS_o_ai vector unsigned short
5570 vec_slb(vector unsigned short __a, vector signed short __b) {
5571 return (vector unsigned short)__builtin_s390_vslb(
5572 (vector unsigned char)__a, (vector unsigned char)__b);
5575 static inline __ATTRS_o_ai vector unsigned short
5576 vec_slb(vector unsigned short __a, vector unsigned short __b) {
5577 return (vector unsigned short)__builtin_s390_vslb(
5578 (vector unsigned char)__a, (vector unsigned char)__b);
5581 static inline __ATTRS_o_ai vector signed int
5582 vec_slb(vector signed int __a, vector signed int __b) {
5583 return (vector signed int)__builtin_s390_vslb(
5584 (vector unsigned char)__a, (vector unsigned char)__b);
5587 static inline __ATTRS_o_ai vector signed int
5588 vec_slb(vector signed int __a, vector unsigned int __b) {
5589 return (vector signed int)__builtin_s390_vslb(
5590 (vector unsigned char)__a, (vector unsigned char)__b);
5593 static inline __ATTRS_o_ai vector unsigned int
5594 vec_slb(vector unsigned int __a, vector signed int __b) {
5595 return (vector unsigned int)__builtin_s390_vslb(
5596 (vector unsigned char)__a, (vector unsigned char)__b);
5599 static inline __ATTRS_o_ai vector unsigned int
5600 vec_slb(vector unsigned int __a, vector unsigned int __b) {
5601 return (vector unsigned int)__builtin_s390_vslb(
5602 (vector unsigned char)__a, (vector unsigned char)__b);
5605 static inline __ATTRS_o_ai vector signed long long
5606 vec_slb(vector signed long long __a, vector signed long long __b) {
5607 return (vector signed long long)__builtin_s390_vslb(
5608 (vector unsigned char)__a, (vector unsigned char)__b);
5611 static inline __ATTRS_o_ai vector signed long long
5612 vec_slb(vector signed long long __a, vector unsigned long long __b) {
5613 return (vector signed long long)__builtin_s390_vslb(
5614 (vector unsigned char)__a, (vector unsigned char)__b);
5617 static inline __ATTRS_o_ai vector unsigned long long
5618 vec_slb(vector unsigned long long __a, vector signed long long __b) {
5619 return (vector unsigned long long)__builtin_s390_vslb(
5620 (vector unsigned char)__a, (vector unsigned char)__b);
5623 static inline __ATTRS_o_ai vector unsigned long long
5624 vec_slb(vector unsigned long long __a, vector unsigned long long __b) {
5625 return (vector unsigned long long)__builtin_s390_vslb(
5626 (vector unsigned char)__a, (vector unsigned char)__b);
5629 static inline __ATTRS_o_ai vector double
5630 vec_slb(vector double __a, vector signed long long __b) {
5631 return (vector double)__builtin_s390_vslb(
5632 (vector unsigned char)__a, (vector unsigned char)__b);
5635 static inline __ATTRS_o_ai vector double
5636 vec_slb(vector double __a, vector unsigned long long __b) {
5637 return (vector double)__builtin_s390_vslb(
5638 (vector unsigned char)__a, (vector unsigned char)__b);
5643 extern __ATTRS_o vector signed char
5644 vec_sld(vector signed char __a, vector signed char __b, int __c)
5647 extern __ATTRS_o vector unsigned char
5648 vec_sld(vector unsigned char __a, vector unsigned char __b, int __c)
5651 extern __ATTRS_o vector signed short
5652 vec_sld(vector signed short __a, vector signed short __b, int __c)
5655 extern __ATTRS_o vector unsigned short
5656 vec_sld(vector unsigned short __a, vector unsigned short __b, int __c)
5659 extern __ATTRS_o vector signed int
5660 vec_sld(vector signed int __a, vector signed int __b, int __c)
5663 extern __ATTRS_o vector unsigned int
5664 vec_sld(vector unsigned int __a, vector unsigned int __b, int __c)
5667 extern __ATTRS_o vector signed long long
5668 vec_sld(vector signed long long __a, vector signed long long __b, int __c)
5671 extern __ATTRS_o vector unsigned long long
5672 vec_sld(vector unsigned long long __a, vector unsigned long long __b, int __c)
5675 extern __ATTRS_o vector double
5676 vec_sld(vector double __a, vector double __b, int __c)
5680 __builtin_s390_vsldb((vector unsigned char)(X), \
5681 (vector unsigned char)(Y), (Z)))
5685 extern __ATTRS_o vector signed char
5686 vec_sldw(vector signed char __a, vector signed char __b, int __c)
5689 extern __ATTRS_o vector unsigned char
5690 vec_sldw(vector unsigned char __a, vector unsigned char __b, int __c)
5693 extern __ATTRS_o vector signed short
5694 vec_sldw(vector signed short __a, vector signed short __b, int __c)
5697 extern __ATTRS_o vector unsigned short
5698 vec_sldw(vector unsigned short __a, vector unsigned short __b, int __c)
5701 extern __ATTRS_o vector signed int
5702 vec_sldw(vector signed int __a, vector signed int __b, int __c)
5705 extern __ATTRS_o vector unsigned int
5706 vec_sldw(vector unsigned int __a, vector unsigned int __b, int __c)
5709 extern __ATTRS_o vector signed long long
5710 vec_sldw(vector signed long long __a, vector signed long long __b, int __c)
5713 extern __ATTRS_o vector unsigned long long
5714 vec_sldw(vector unsigned long long __a, vector unsigned long long __b, int __c)
5717 extern __ATTRS_o vector double
5718 vec_sldw(vector double __a, vector double __b, int __c)
5722 __builtin_s390_vsldb((vector unsigned char)(X), \
5723 (vector unsigned char)(Y), (Z) * 4))
5727 static inline __ATTRS_o_ai vector signed char
5728 vec_sral(vector signed char __a, vector unsigned char __b) {
5729 return (vector signed char)__builtin_s390_vsra(
5730 (vector unsigned char)__a, __b);
5733 static inline __ATTRS_o_ai vector signed char
5734 vec_sral(vector signed char __a, vector unsigned short __b) {
5735 return (vector signed char)__builtin_s390_vsra(
5736 (vector unsigned char)__a, (vector unsigned char)__b);
5739 static inline __ATTRS_o_ai vector signed char
5740 vec_sral(vector signed char __a, vector unsigned int __b) {
5741 return (vector signed char)__builtin_s390_vsra(
5742 (vector unsigned char)__a, (vector unsigned char)__b);
5745 static inline __ATTRS_o_ai vector bool char
5746 vec_sral(vector bool char __a, vector unsigned char __b) {
5747 return (vector bool char)__builtin_s390_vsra(
5748 (vector unsigned char)__a, __b);
5751 static inline __ATTRS_o_ai vector bool char
5752 vec_sral(vector bool char __a, vector unsigned short __b) {
5753 return (vector bool char)__builtin_s390_vsra(
5754 (vector unsigned char)__a, (vector unsigned char)__b);
5757 static inline __ATTRS_o_ai vector bool char
5758 vec_sral(vector bool char __a, vector unsigned int __b) {
5759 return (vector bool char)__builtin_s390_vsra(
5760 (vector unsigned char)__a, (vector unsigned char)__b);
5763 static inline __ATTRS_o_ai vector unsigned char
5764 vec_sral(vector unsigned char __a, vector unsigned char __b) {
5768 static inline __ATTRS_o_ai vector unsigned char
5769 vec_sral(vector unsigned char __a, vector unsigned short __b) {
5770 return __builtin_s390_vsra(__a, (vector unsigned char)__b);
5773 static inline __ATTRS_o_ai vector unsigned char
5774 vec_sral(vector unsigned char __a, vector unsigned int __b) {
5775 return __builtin_s390_vsra(__a, (vector unsigned char)__b);
5778 static inline __ATTRS_o_ai vector signed short
5779 vec_sral(vector signed short __a, vector unsigned char __b) {
5780 return (vector signed short)__builtin_s390_vsra(
5781 (vector unsigned char)__a, __b);
5784 static inline __ATTRS_o_ai vector signed short
5785 vec_sral(vector signed short __a, vector unsigned short __b) {
5786 return (vector signed short)__builtin_s390_vsra(
5787 (vector unsigned char)__a, (vector unsigned char)__b);
5790 static inline __ATTRS_o_ai vector signed short
5791 vec_sral(vector signed short __a, vector unsigned int __b) {
5792 return (vector signed short)__builtin_s390_vsra(
5793 (vector unsigned char)__a, (vector unsigned char)__b);
5796 static inline __ATTRS_o_ai vector bool short
5797 vec_sral(vector bool short __a, vector unsigned char __b) {
5798 return (vector bool short)__builtin_s390_vsra(
5799 (vector unsigned char)__a, __b);
5802 static inline __ATTRS_o_ai vector bool short
5803 vec_sral(vector bool short __a, vector unsigned short __b) {
5804 return (vector bool short)__builtin_s390_vsra(
5805 (vector unsigned char)__a, (vector unsigned char)__b);
5808 static inline __ATTRS_o_ai vector bool short
5809 vec_sral(vector bool short __a, vector unsigned int __b) {
5810 return (vector bool short)__builtin_s390_vsra(
5811 (vector unsigned char)__a, (vector unsigned char)__b);
5814 static inline __ATTRS_o_ai vector unsigned short
5815 vec_sral(vector unsigned short __a, vector unsigned char __b) {
5816 return (vector unsigned short)__builtin_s390_vsra(
5817 (vector unsigned char)__a, __b);
5820 static inline __ATTRS_o_ai vector unsigned short
5821 vec_sral(vector unsigned short __a, vector unsigned short __b) {
5822 return (vector unsigned short)__builtin_s390_vsra(
5823 (vector unsigned char)__a, (vector
5826 static inline __ATTRS_o_ai vector unsigned short
5827 vec_sral(vector unsigned short __a, vector unsigned int __b) {
5828 return (vector unsigned short)__builtin_s390_vsra(
5829 (vector unsigned char)__a, (vector unsigned char)__b);
5832 static inline __ATTRS_o_ai vector signed int
5833 vec_sral(vector signed int __a, vector unsigned char __b) {
5834 return (vector signed int)__builtin_s390_vsra(
5835 (vector unsigned char)__a, __b);
5838 static inline __ATTRS_o_ai vector signed int
5839 vec_sral(vector signed int __a, vector unsigned short __b) {
5840 return (vector signed int)__builtin_s390_vsra(
5841 (vector unsigned char)__a, (vector unsigned char)__b);
5844 static inline __ATTRS_o_ai vector signed int
5845 vec_sral(vector signed int __a, vector unsigned int __b) {
5846 return (vector signed int)__builtin_s390_vsra(
5847 (vector unsigned char)__a, (vector unsigned char)__b);
5850 static inline __ATTRS_o_ai vector bool int
5851 vec_sral(vector bool int __a, vector unsigned char __b) {
5852 return (vector bool int)__builtin_s390_vsra(
5853 (vector unsigned char)__a, __b);
5856 static inline __ATTRS_o_ai vector bool int
5857 vec_sral(vector bool int __a, vector unsigned short __b) {
5858 return (vector bool int)__builtin_s390_vsra(
5859 (vector unsigned char)__a, (vector unsigned char)__b);
5862 static inline __ATTRS_o_ai vector bool int
5863 vec_sral(vector bool int __a, vector unsigned int __b) {
5864 return (vector bool int)__builtin_s390_vsra(
5865 (vector unsigned char)__a, (vector unsigned char)__b);
5868 static inline __ATTRS_o_ai vector unsigned int
5869 vec_sral(vector unsigned int __a, vector unsigned char __b) {
5870 return (vector unsigned int)__builtin_s390_vsra(
5871 (vector unsigned char)__a, __b);
5874 static inline __ATTRS_o_ai vector unsigned int
5875 vec_sral(vector unsigned int __a, vector unsigned short __b) {
5876 return (vector unsigned int)__builtin_s390_vsra(
5877 (vector unsigned char)__a, (vector unsigned char)__b);
5880 static inline __ATTRS_o_ai vector unsigned int
5881 vec_sral(vector unsigned int __a, vector unsigned int __b) {
5882 return (vector unsigned int)__builtin_s390_vsra(
5883 (vector unsigned char)__a, (vector unsigned char)__b);
5886 static inline __ATTRS_o_ai vector signed long long
5887 vec_sral(vector signed long long __a, vector unsigned char __b) {
5888 return (vector signed long long)__builtin_s390_vsra(
5889 (vector unsigned char)__a, __b);
5892 static inline __ATTRS_o_ai vector signed long long
5893 vec_sral(vector signed long long __a, vector unsigned short __b) {
5894 return (vector signed long long)__builtin_s390_vsra(
5895 (vector unsigned char)__a, (vector unsigned char)__b);
5898 static inline __ATTRS_o_ai vector signed long long
5899 vec_sral(vector signed long long __a, vector unsigned int __b) {
5900 return (vector signed long long)__builtin_s390_vsra(
5901 (vector unsigned char)__a, (vector unsigned char)__b);
5904 static inline __ATTRS_o_ai vector bool long long
5905 vec_sral(vector bool long long __a, vector unsigned char __b) {
5906 return (vector bool long long)__builtin_s390_vsra(
5907 (vector unsigned char)__a, __b);
5910 static inline __ATTRS_o_ai vector bool long long
5911 vec_sral(vector bool long long __a, vector unsigned short __b) {
5912 return (vector bool long long)__builtin_s390_vsra(
5913 (vector unsigned char)__a, (vector unsigned char)__b);
5916 static inline __ATTRS_o_ai vector bool long long
5917 vec_sral(vector bool long long __a, vector unsigned int __b) {
5918 return (vector bool long long)__builtin_s390_vsra(
5919 (vector unsigned char)__a, (vector unsigned char)__b);
5922 static inline __ATTRS_o_ai vector unsigned long long
5923 vec_sral(vector unsigned long long __a, vector unsigned char __b) {
5924 return (vector unsigned long long)__builtin_s390_vsra(
5925 (vector unsigned char)__a, __b);
5928 static inline __ATTRS_o_ai vector unsigned long long
5929 vec_sral(vector unsigned long long __a, vector unsigned short __b) {
5930 return (vector unsigned long long)__builtin_s390_vsra(
5931 (vector unsigned char)__a, (vector unsigned char)__b);
5934 static inline __ATTRS_o_ai vector unsigned long long
5935 vec_sral(vector unsigned long long __a, vector unsigned int __b) {
5936 return (vector unsigned long long)__builtin_s390_vsra(
5937 (vector unsigned char)__a, (vector unsigned char)__b);
5942 static inline __ATTRS_o_ai vector signed char
5943 vec_srab(vector signed char __a, vector signed char __b) {
5944 return (vector signed char)__builtin_s390_vsrab(
5945 (vector unsigned char)__a, (vector unsigned char)__b);
5948 static inline __ATTRS_o_ai vector signed char
5949 vec_srab(vector signed char __a, vector unsigned char __b) {
5950 return (vector signed char)__builtin_s390_vsrab(
5951 (vector unsigned char)__a, __b);
5954 static inline __ATTRS_o_ai vector unsigned char
5955 vec_srab(vector unsigned char __a, vector signed char __b) {
5956 return __builtin_s390_vsrab(__a, (vector unsigned char)__b);
5959 static inline __ATTRS_o_ai vector unsigned char
5960 vec_srab(vector unsigned char __a, vector unsigned char __b) {
5964 static inline __ATTRS_o_ai vector signed short
5965 vec_srab(vector signed short __a, vector signed short __b) {
5966 return (vector signed short)__builtin_s390_vsrab(
5967 (vector unsigned char)__a, (vector unsigned char)__b);
5970 static inline __ATTRS_o_ai vector signed short
5971 vec_srab(vector signed short __a, vector unsigned short __b) {
5972 return (vector signed short)__builtin_s390_vsrab(
5973 (vector unsigned char)__a, (vector unsigned char)__b);
5976 static inline __ATTRS_o_ai vector unsigned short
5977 vec_srab(vector unsigned short __a, vector signed short __b) {
5978 return (vector unsigned short)__builtin_s390_vsrab(
5979 (vector unsigned char)__a, (vector unsigned char)__b);
5982 static inline __ATTRS_o_ai vector unsigned short
5983 vec_srab(vector unsigned short __a, vector unsigned short __b) {
5984 return (vector unsigned short)__builtin_s390_vsrab(
5985 (vector unsigned char)__a, (vector unsigned char)__b);
5988 static inline __ATTRS_o_ai vector signed int
5989 vec_srab(vector signed int __a, vector signed int __b) {
5990 return (vector signed int)__builtin_s390_vsrab(
5991 (vector unsigned char)__a, (vector unsigned char)__b);
5994 static inline __ATTRS_o_ai vector signed int
5995 vec_srab(vector signed int __a, vector unsigned int __b) {
5996 return (vector signed int)__builtin_s390_vsrab(
5997 (vector unsigned char)__a, (vector unsigned char)__b);
6000 static inline __ATTRS_o_ai vector unsigned int
6001 vec_srab(vector unsigned int __a, vector signed int __b) {
6002 return (vector unsigned int)__builtin_s390_vsrab(
6003 (vector unsigned char)__a, (vector unsigned char)__b);
6006 static inline __ATTRS_o_ai vector unsigned int
6007 vec_srab(vector unsigned int __a, vector unsigned int __b) {
6008 return (vector unsigned int)__builtin_s390_vsrab(
6009 (vector unsigned char)__a, (vector unsigned char)__b);
6012 static inline __ATTRS_o_ai vector signed long long
6013 vec_srab(vector signed long long __a, vector signed long long __b) {
6014 return (vector signed long long)__builtin_s390_vsrab(
6015 (vector unsigned char)__a, (vector unsigned char)__b);
6018 static inline __ATTRS_o_ai vector signed long long
6019 vec_srab(vector signed long long __a, vector unsigned long long __b) {
6020 return (vector signed long long)__builtin_s390_vsrab(
6021 (vector unsigned char)__a, (vector unsigned char)__b);
6024 static inline __ATTRS_o_ai vector unsigned long long
6025 vec_srab(vector unsigned long long __a, vector signed long long __b) {
6026 return (vector unsigned long long)__builtin_s390_vsrab(
6027 (vector unsigned char)__a, (vector unsigned char)__b);
6030 static inline __ATTRS_o_ai vector unsigned long long
6031 vec_srab(vector unsigned long long __a, vector unsigned long long __b) {
6032 return (vector unsigned long long)__builtin_s390_vsrab(
6033 (vector unsigned char)__a, (vector unsigned char)__b);
6036 static inline __ATTRS_o_ai vector double
6037 vec_srab(vector double __a, vector signed long long __b) {
6038 return (vector double)__builtin_s390_vsrab(
6039 (vector unsigned char)__a, (vector unsigned char)__b);
6042 static inline __ATTRS_o_ai vector double
6043 vec_srab(vector double __a, vector unsigned long long __b) {
6044 return (vector double)__builtin_s390_vsrab(
6045 (vector unsigned char)__a, (vector unsigned char)__b);
6050 static inline __ATTRS_o_ai vector signed char
6051 vec_srl(vector signed char __a, vector unsigned char __b) {
6052 return (vector signed char)__builtin_s390_vsrl(
6053 (vector unsigned char)__a, __b);
6056 static inline __ATTRS_o_ai vector signed char
6057 vec_srl(vector signed char __a, vector unsigned short __b) {
6058 return (vector signed char)__builtin_s390_vsrl(
6059 (vector unsigned char)__a, (vector unsigned char)__b);
6062 static inline __ATTRS_o_ai vector signed char
6063 vec_srl(vector signed char __a, vector unsigned int __b) {
6064 return (vector signed char)__builtin_s390_vsrl(
6065 (vector unsigned char)__a, (vector unsigned char)__b);
6068 static inline __ATTRS_o_ai vector bool char
6069 vec_srl(vector bool char __a, vector unsigned char __b) {
6070 return (vector bool char)__builtin_s390_vsrl(
6071 (vector unsigned char)__a, __b);
6074 static inline __ATTRS_o_ai vector bool char
6075 vec_srl(vector bool char __a, vector unsigned short __b) {
6076 return (vector bool char)__builtin_s390_vsrl(
6077 (vector unsigned char)__a, (vector unsigned char)__b);
6080 static inline __ATTRS_o_ai vector bool char
6081 vec_srl(vector bool char __a, vector unsigned int __b) {
6082 return (vector bool char)__builtin_s390_vsrl(
6083 (vector unsigned char)__a, (vector unsigned char)__b);
6086 static inline __ATTRS_o_ai vector unsigned char
6087 vec_srl(vector unsigned char __a, vector unsigned char __b) {
6091 static inline __ATTRS_o_ai vector unsigned char
6092 vec_srl(vector unsigned char __a, vector unsigned short __b) {
6093 return __builtin_s390_vsrl(__a, (vector unsigned char)__b);
6096 static inline __ATTRS_o_ai vector unsigned char
6097 vec_srl(vector unsigned char __a, vector unsigned int __b) {
6098 return __builtin_s390_vsrl(__a, (vector unsigned char)__b);
6101 static inline __ATTRS_o_ai vector signed short
6102 vec_srl(vector signed short __a, vector unsigned char __b) {
6103 return (vector signed short)__builtin_s390_vsrl(
6104 (vector unsigned char)__a, __b);
6107 static inline __ATTRS_o_ai vector signed short
6108 vec_srl(vector signed short __a, vector unsigned short __b) {
6109 return (vector signed short)__builtin_s390_vsrl(
6110 (vector unsigned char)__a, (vector unsigned char)__b);
6113 static inline __ATTRS_o_ai vector signed short
6114 vec_srl(vector signed short __a, vector unsigned int __b) {
6115 return (vector signed short)__builtin_s390_vsrl(
6116 (vector unsigned char)__a, (vector unsigned char)__b);
6119 static inline __ATTRS_o_ai vector bool short
6120 vec_srl(vector bool short __a, vector unsigned char __b) {
6121 return (vector bool short)__builtin_s390_vsrl(
6122 (vector unsigned char)__a, __b);
6125 static inline __ATTRS_o_ai vector bool short
6126 vec_srl(vector bool short __a, vector unsigned short __b) {
6127 return (vector bool short)__builtin_s390_vsrl(
6128 (vector unsigned char)__a, (vector unsigned char)__b);
6131 static inline __ATTRS_o_ai vector bool short
6132 vec_srl(vector bool short __a, vector unsigned int __b) {
6133 return (vector bool short)__builtin_s390_vsrl(
6134 (vector unsigned char)__a, (vector unsigned char)__b);
6137 static inline __ATTRS_o_ai vector unsigned short
6138 vec_srl(vector unsigned short __a, vector unsigned char __b) {
6139 return (vector unsigned short)__builtin_s390_vsrl(
6140 (vector unsigned char)__a, __b);
6143 static inline __ATTRS_o_ai vector unsigned short
6144 vec_srl(vector unsigned short __a, vector unsigned short __b) {
6145 return (vector unsigned short)__builtin_s390_vsrl(
6146 (vector unsigned char)__a, (vector unsigned char)__b);
6149 static inline __ATTRS_o_ai vector unsigned short
6150 vec_srl(vector unsigned short __a, vector unsigned int __b) {
6151 return (vector unsigned short)__builtin_s390_vsrl(
6152 (vector unsigned char)__a, (vector unsigned char)__b);
6155 static inline __ATTRS_o_ai vector signed int
6156 vec_srl(vector signed int __a, vector unsigned char __b) {
6157 return (vector signed int)__builtin_s390_vsrl(
6158 (vector unsigned char)__a, __b);
6161 static inline __ATTRS_o_ai vector signed int
6162 vec_srl(vector signed int __a, vector unsigned short __b) {
6163 return (vector signed int)__builtin_s390_vsrl(
6164 (vector unsigned char)__a, (vector unsigned char)__b);
6167 static inline __ATTRS_o_ai vector signed int
6168 vec_srl(vector signed int __a, vector unsigned int __b) {
6169 return (vector signed int)__builtin_s390_vsrl(
6170 (vector unsigned char)__a, (vector unsigned char)__b);
6173 static inline __ATTRS_o_ai vector bool int
6174 vec_srl(vector bool int __a, vector unsigned char __b) {
6175 return (vector bool int)__builtin_s390_vsrl(
6176 (vector unsigned char)__a, __b);
6179 static inline __ATTRS_o_ai vector bool int
6180 vec_srl(vector bool int __a, vector unsigned short __b) {
6181 return (vector bool int)__builtin_s390_vsrl(
6182 (vector unsigned char)__a, (vector unsigned char)__b);
6185 static inline __ATTRS_o_ai vector bool int
6186 vec_srl(vector bool int __a, vector unsigned int __b) {
6187 return (vector bool int)__builtin_s390_vsrl(
6188 (vector unsigned char)__a, (vector unsigned char)__b);
6191 static inline __ATTRS_o_ai vector unsigned int
6192 vec_srl(vector unsigned int __a, vector unsigned char __b) {
6193 return (vector unsigned int)__builtin_s390_vsrl(
6194 (vector unsigned char)__a, __b);
6197 static inline __ATTRS_o_ai vector unsigned int
6198 vec_srl(vector unsigned int __a, vector unsigned short __b) {
6199 return (vector unsigned int)__builtin_s390_vsrl(
6200 (vector unsigned char)__a, (vector unsigned char)__b);
6203 static inline __ATTRS_o_ai vector unsigned int
6204 vec_srl(vector unsigned int __a, vector unsigned int __b) {
6205 return (vector unsigned int)__builtin_s390_vsrl(
6206 (vector unsigned char)__a, (vector unsigned char)__b);
6209 static inline __ATTRS_o_ai vector signed long long
6210 vec_srl(vector signed long long __a, vector unsigned char __b) {
6211 return (vector signed long long)__builtin_s390_vsrl(
6212 (vector unsigned char)__a, __b);
6215 static inline __ATTRS_o_ai vector signed long long
6216 vec_srl(vector signed long long __a, vector unsigned short __b) {
6217 return (vector signed long long)__builtin_s390_vsrl(
6218 (vector unsigned char)__a, (vector unsigned char)__b);
6221 static inline __ATTRS_o_ai vector signed long long
6222 vec_srl(vector signed long long __a, vector unsigned int __b) {
6223 return (vector signed long long)__builtin_s390_vsrl(
6224 (vector unsigned char)__a, (vector unsigned char)__b);
6227 static inline __ATTRS_o_ai vector bool long long
6228 vec_srl(vector bool long long __a, vector unsigned char __b) {
6229 return (vector bool long long)__builtin_s390_vsrl(
6230 (vector unsigned char)__a, __b);
6233 static inline __ATTRS_o_ai vector bool long long
6234 vec_srl(vector bool long long __a, vector unsigned short __b) {
6235 return (vector bool long long)__builtin_s390_vsrl(
6236 (vector unsigned char)__a, (vector unsigned char)__b);
6239 static inline __ATTRS_o_ai vector bool long long
6240 vec_srl(vector bool long long __a, vector unsigned int __b) {
6241 return (vector bool long long)__builtin_s390_vsrl(
6242 (vector unsigned char)__a, (vector unsigned char)__b);
6245 static inline __ATTRS_o_ai vector unsigned long long
6246 vec_srl(vector unsigned long long __a, vector unsigned char __b) {
6247 return (vector unsigned long long)__builtin_s390_vsrl(
6248 (vector unsigned char)__a, __b);
6251 static inline __ATTRS_o_ai vector unsigned long long
6252 vec_srl(vector unsigned long long __a, vector unsigned short __b) {
6253 return (vector unsigned long long)__builtin_s390_vsrl(
6254 (vector unsigned char)__a, (vector unsigned char)__b);
6257 static inline __ATTRS_o_ai vector unsigned long long
6258 vec_srl(vector unsigned long long __a, vector unsigned int __b) {
6259 return (vector unsigned long long)__builtin_s390_vsrl(
6260 (vector unsigned char)__a, (vector unsigned char)__b);
6265 static inline __ATTRS_o_ai vector signed char
6266 vec_srb(vector signed char __a, vector signed char __b) {
6267 return (vector signed char)__builtin_s390_vsrlb(
6268 (vector unsigned char)__a, (vector unsigned char)__b);
6271 static inline __ATTRS_o_ai vector signed char
6272 vec_srb(vector signed char __a, vector unsigned char __b) {
6273 return (vector signed char)__builtin_s390_vsrlb(
6274 (vector unsigned char)__a, __b);
6277 static inline __ATTRS_o_ai vector unsigned char
6278 vec_srb(vectorvector signed char __b) {
6279 return __builtin_s390_vsrlb(__a, (vector unsigned char)__b);
6282 static inline __ATTRS_o_ai vector unsigned char
6283 vec_srb(vector unsigned char __a, vector unsigned char __b) {
6287 static inline __ATTRS_o_ai vector signed short
6288 vec_srb(vector signed short __a, vector signed short __b) {
6289 return (vector signed short)__builtin_s390_vsrlb(
6290 (vector unsigned char)__a, (vector unsigned char)__b);
6293 static inline __ATTRS_o_ai vector signed short
6294 vec_srb(vector signed short __a, vector unsigned short __b) {
6295 return (vector signed short)__builtin_s390_vsrlb(
6296 (vector unsigned char)__a, (vector unsigned char)__b);
6299 static inline __ATTRS_o_ai vector unsigned short
6300 vec_srb(vector unsigned short __a, vector signed short __b) {
6301 return (vector unsigned short)__builtin_s390_vsrlb(
6302 (vector unsigned char)__a, (vector unsigned char)__b);
6305 static inline __ATTRS_o_ai vector unsigned short
6306 vec_srb(vector unsigned short __a, vector unsigned short __b) {
6307 return (vector unsigned short)__builtin_s390_vsrlb(
6308 (vector unsigned char)__a, (vector unsigned char)__b);
6311 static inline __ATTRS_o_ai vector signed int
6312 vec_srb(vector signed int __a, vector signed int __b) {
6313 return (vector signed int)__builtin_s390_vsrlb(
6314 (vector unsigned char)__a, (vector unsigned char)__b);
6317 static inline __ATTRS_o_ai vector signed int
6318 vec_srb(vector signed int __a, vector unsigned int __b) {
6319 return (vector signed int)__builtin_s390_vsrlb(
6320 (vector unsigned char)__a, (vector unsigned char)__b);
6323 static inline __ATTRS_o_ai vector unsigned int
6324 vec_srb(vector unsigned int __a, vector signed int __b) {
6325 return (vector unsigned int)__builtin_s390_vsrlb(
6326 (vector unsigned char)__a, (vector unsigned char)__b);
6329 static inline __ATTRS_o_ai vector unsigned int
6330 vec_srb(vector unsigned int __a, vector unsigned int __b) {
6331 return (vector unsigned int)__builtin_s390_vsrlb(
6332 (vector unsigned char)__a, (vector unsigned char)__b);
6335 static inline __ATTRS_o_ai vector signed long long
6336 vec_srb(vector signed long long __a, vector signed long long __b) {
6337 return (vector signed long long)__builtin_s390_vsrlb(
6338 (vector unsigned char)__a, (vector unsigned char)__b);
6341 static inline __ATTRS_o_ai vector signed long long
6342 vec_srb(vector signed long long __a, vector unsigned long long __b) {
6343 return (vector signed long long)__builtin_s390_vsrlb(
6344 (vector unsigned char)__a, (vector unsigned char)__b);
6347 static inline __ATTRS_o_ai vector unsigned long long
6348 vec_srb(vector unsigned long long __a, vector signed long long __b) {
6349 return (vector unsigned long long)__builtin_s390_vsrlb(
6350 (vector unsigned char)__a, (vector unsigned char)__b);
6353 static inline __ATTRS_o_ai vector unsigned long long
6354 vec_srb(vector unsigned long long __a, vector unsigned long long __b) {
6355 return (vector unsigned long long)__builtin_s390_vsrlb(
6356 (vector unsigned char)__a, (vector unsigned char)__b);
6359 static inline __ATTRS_o_ai vector double
6360 vec_srb(vector double __a, vector signed long long __b) {
6361 return (vector double)__builtin_s390_vsrlb(
6362 (vector unsigned char)__a, (vector unsigned char)__b);
6365 static inline __ATTRS_o_ai vector double
6366 vec_srb(vector double __a, vector unsigned long long __b) {
6367 return (vector double)__builtin_s390_vsrlb(
6368 (vector unsigned char)__a, (vector unsigned char)__b);
6373 static inline __ATTRS_o_ai vector signed char
6374 vec_abs(vector signed char __a) {
6375 return vec_sel(__a, -__a, vec_cmplt(__a, (vector signed char)0));
6378 static inline __ATTRS_o_ai vector signed short
6379 vec_abs(vector signed short __a) {
6380 return vec_sel(__a, -__a, vec_cmplt(__a, (vector signed short)0));
6383 static inline __ATTRS_o_ai vector signed int
6384 vec_abs(vector signed int __a) {
6385 return vec_sel(__a, -__a, vec_cmplt(__a, (vector signed int)0));
6388 static inline __ATTRS_o_ai vector signed long long
6389 vec_abs(vector signed long long __a) {
6390 return vec_sel(__a, -__a, vec_cmplt(__a, (vector signed long long)0));
6393 static inline __ATTRS_o_ai vector double
6394 vec_abs(vector double __a) {
6400 static inline __ATTRS_ai vector double
6401 vec_nabs(vector double __a) {
6407 static inline __ATTRS_o_ai vector signed char
6408 vec_max(vector signed char __a, vector signed char __b) {
6412 static inline __ATTRS_o_ai vector signed char
6413 vec_max(vector signed char __a, vector bool char __b) {
6414 vector signed char __bc = (vector signed char)__b;
6418 static inline __ATTRS_o_ai vector signed char
6419 vec_max(vector bool char __a, vector signed char __b) {
6420 vector signed char __ac = (vector signed char)__a;
6424 static inline __ATTRS_o_ai vector unsigned char
6425 vec_max(vector unsigned char __a, vector unsigned char __b) {
6429 static inline __ATTRS_o_ai vector unsigned char
6430 vec_max(vector unsigned char __a, vector bool char __b) {
6431 vector unsigned char __bc = (vector unsigned char)__b;
6435 static inline __ATTRS_o_ai vector unsigned char
6436 vec_max(vector bool char __a, vector unsigned char __b) {
6437 vector unsigned char __ac = (vector unsigned char)__a;
6441 static inline __ATTRS_o_ai vector signed short
6442 vec_max(vector signed short __a, vector signed short __b) {
6446 static inline __ATTRS_o_ai vector signed short
6447 vec_max(vector signed short __a, vector bool short __b) {
6448 vector signed short __bc = (vector signed short)__b;
6452 static inline __ATTRS_o_ai vector signed short
6453 vec_max(vector bool short __a, vector signed short __b) {
6454 vector signed short __ac = (vector signed short)__a;
6458 static inline __ATTRS_o_ai vector unsigned short
6459 vec_max(vector unsigned short __a, vector unsigned short __b) {
6463 static inline __ATTRS_o_ai vector unsigned short
6464 vec_max(vector unsigned short __a, vector bool short __b) {
6465 vector unsigned short __bc = (vector unsigned short)__b;
6469 static inline __ATTRS_o_ai vector unsigned short
6470 vec_max(vector bool short __a, vector unsigned short __b) {
6471 vector unsigned short __ac = (vector unsigned short)__a;
6475 static inline __ATTRS_o_ai vector signed int
6476 vec_max(vector signed int __a, vector signed int __b) {
6480 static inline __ATTRS_o_ai vector signed int
6481 vec_max(vector signed int __a, vector bool int __b) {
6482 vector signed int __bc = (vector signed int)__b;
6486 static inline __ATTRS_o_ai vector signed int
6487 vec_max(vector bool int __a, vector signed int __b) {
6488 vector signed int __ac = (vector signed int)__a;
6492 static inline __ATTRS_o_ai vector unsigned int
6493 vec_max(vector unsigned int __a, vector unsigned int __b) {
6497 static inline __ATTRS_o_ai vector unsigned int
6498 vec_max(vector unsigned int __a, vector bool int __b) {
6499 vector unsigned int __bc = (vector unsigned int)__b;
6503 static inline __ATTRS_o_ai vector unsigned int
6504 vec_max(vector bool int __a, vector unsigned int __b) {
6505 vector unsigned int __ac = (vector unsigned int)__a;
6509 static inline __ATTRS_o_ai vector signed long long
6510 vec_max(vector signed long long __a, vector signed long long __b) {
6514 static inline __ATTRS_o_ai vector signed long long
6515 vec_max(vector signed long long __a, vector bool long long __b) {
6516 vector signed long long __bc = (vector signed long long)__b;
6520 static inline __ATTRS_o_ai vector signed long long
6521 vec_max(vector bool long long __a, vector signed long long __b) {
6522 vector signed long long __ac = (vector signed long long)__a;
6526 static inline __ATTRS_o_ai vector unsigned long long
6527 vec_max(vector unsigned long long __a, vector unsigned long long __b) {
6531 static inline __ATTRS_o_ai vector unsigned long long
6532 vec_max(vector unsigned long long __a, vector bool long long __b) {
6533 vector unsigned long long __bc = (vector unsigned long long)__b;
6537 static inline __ATTRS_o_ai vector unsigned long long
6538 vec_max(vector bool long long __a, vector unsigned long long __b) {
6539 vector unsigned long long __ac = (vector unsigned long long)__a;
6543 static inline __ATTRS_o_ai vector double
6544 vec_max(vector double __a, vector double __b) {
6550 static inline __ATTRS_o_ai vector signed char
6551 vec_min(vector signed char __a, vector signed char __b) {
6555 static inline __ATTRS_o_ai vector signed char
6556 vec_min(vector signed char __a, vector bool char __b) {
6557 vector signed char __bc = (vector signed char)__b;
6561 static inline __ATTRS_o_ai vector signed char
6562 vec_min(vector bool char __a, vector signed char __b) {
6563 vector signed char __ac = (vector signed char)__a;
6567 static inline __ATTRS_o_ai vector unsigned char
6568 vec_min(vector unsigned char __a, vector unsigned char __b) {
6572 static inline __ATTRS_o_ai vector unsigned char
6573 vec_min(vector unsigned char __a, vector bool char __b) {
6574 vector unsigned char __bc = (vector unsigned char)__b;
6578 static inline __ATTRS_o_ai vector unsigned char
6579 vec_min(vector bool char __a, vector unsigned char __b) {
6580 vector unsigned char __ac = (vector unsigned char)__a;
6584 static inline __ATTRS_o_ai vector signed short
6585 vec_min(vector signed short __a, vector signed short __b) {
6589 static inline __ATTRS_o_ai vector signed short
6590 vec_min(vector signed short __a, vector bool short __b) {
6591 vector signed short __bc = (vector signed short)__b;
6595 static inline __ATTRS_o_ai vector signed short
6596 vec_min(vector bool short __a, vector signed short __b) {
6597 vector signed short __ac = (vector signed short)__a;
6601 static inline __ATTRS_o_ai vector unsigned short
6602 vec_min(vector unsigned short __a, vector unsigned short __b) {
6606 static inline __ATTRS_o_ai vector unsigned short
6607 vec_min(vector unsigned short __a, vector bool short __b) {
6608 vector unsigned short __bc = (vector unsigned short)__b;
6612 static inline __ATTRS_o_ai vector unsigned short
6613 vec_min(vector bool short __a, vector unsigned short __b) {
6614 vector unsigned short __ac = (vector unsigned short)__a;
6618 static inline __ATTRS_o_ai vector signed int
6619 vec_min(vector signed int __a, vector signed int __b) {
6623 static inline __ATTRS_o_ai vector signed int
6624 vec_min(vector signed int __a, vector bool int __b) {
6625 vector signed int __bc = (vector signed int)__b;
6629 static inline __ATTRS_o_ai vector signed int
6630 vec_min(vector bool int __a, vector signed int __b) {
6631 vector signed int __ac = (vector signed int)__a;
6635 static inline __ATTRS_o_ai vector unsigned int
6636 vec_min(vector unsigned int __a, vector unsigned int __b) {
6640 static inline __ATTRS_o_ai vector unsigned int
6641 vec_min(vector unsigned int __a, vector bool int __b) {
6642 vector unsigned int __bc = (vector unsigned int)__b;
6646 static inline __ATTRS_o_ai vector unsigned int
6647 vec_min(vector bool int __a, vector unsigned int __b) {
6648 vector unsigned int __ac = (vector unsigned int)__a;
6652 static inline __ATTRS_o_ai vector signed long long
6653 vec_min(vector signed long long __a, vector signed long long __b) {
6657 static inline __ATTRS_o_ai vector signed long long
6658 vec_min(vector signed long long __a, vector bool long long __b) {
6659 vector signed long long __bc = (vector signed long long)__b;
6663 static inline __ATTRS_o_ai vector signed long long
6664 vec_min(vector bool long long __a, vector signed long long __b) {
6665 vector signed long long __ac = (vector signed long long)__a;
6669 static inline __ATTRS_o_ai vector unsigned long long
6670 vec_min(vector unsigned long long __a, vector unsigned long long __b) {
6674 static inline __ATTRS_o_ai vector unsigned long long
6675 vec_min(vector unsigned long long __a, vector bool long long __b) {
6676 vector unsigned long long __bc = (vector unsigned long long)__b;
6680 static inline __ATTRS_o_ai vector unsigned long long
6681 vec_min(vector bool long long __a, vector unsigned long long __b) {
6682 vector unsigned long long __ac = (vector unsigned long long)__a;
6686 static inline __ATTRS_o_ai vector double
6687 vec_min(vector double __a, vector double __b) {
6693 static inline __ATTRS_ai vector unsigned char
6694 vec_add_u128(vector unsigned char __a, vector unsigned char __b) {
6700 static inline __ATTRS_o_ai vector unsigned char
6701 vec_addc(vector unsigned char __a, vector unsigned char __b) {
6705 static inline __ATTRS_o_ai vector unsigned short
6706 vec_addc(vector unsigned short __a, vector unsigned short __b) {
6710 static inline __ATTRS_o_ai vector unsigned int
6711 vec_addc(vector unsigned int __a, vector unsigned int __b) {
6715 static inline __ATTRS_o_ai vector unsigned long long
6716 vec_addc(vector unsigned long long __a, vector unsigned long long __b) {
6722 static inline __ATTRS_ai vector unsigned char
6723 vec_addc_u128(vector unsigned char __a, vector unsigned char __b) {
6729 static inline __ATTRS_ai vector unsigned char
6730 vec_adde_u128(vector unsigned char __a, vector unsigned char __b,
6731 vector unsigned char __c) {
6737 static inline __ATTRS_ai vector unsigned char
6738 vec_addec_u128(vector unsigned char __a, vector unsigned char __b,
6739 vector unsigned char __c) {
6745 static inline __ATTRS_o_ai vector signed char
6746 vec_avg(vectorvector signed char __b) {
6750 static inline __ATTRS_o_ai vector signed short
6751 vec_avg(vector signed short __a, vector signed short __b) {
6755 static inline __ATTRS_o_ai vector signed int
6756 vec_avg(vector signed int __a, vector signed int __b) {
6760 static inline __ATTRS_o_ai vector signed long long
6761 vec_avg(vector signed long long __a, vector signed long long __b) {
6765 static inline __ATTRS_o_ai vector unsigned char
6766 vec_avg(vector unsigned char __a, vector unsigned char __b) {
6770 static inline __ATTRS_o_ai vector unsigned short
6771 vec_avg(vector unsigned short __a, vector unsigned short __b) {
6775 static inline __ATTRS_o_ai vector unsigned int
6776 vec_avg(vector unsigned int __a, vector unsigned int __b) {
6780 static inline __ATTRS_o_ai vector unsigned long long
6781 vec_avg(vector unsigned long long __a, vector unsigned long long __b) {
6787 static inline __ATTRS_ai vector unsigned int
6788 vec_checksum(vector unsigned int __a, vector unsigned int __b) {
6794 static inline __ATTRS_o_ai vector unsigned short
6795 vec_gfmsum(vector unsigned char __a, vector unsigned char __b) {
6799 static inline __ATTRS_o_ai vector unsigned int
6800 vec_gfmsum(vector unsigned short __a, vector unsigned short __b) {
6804 static inline __ATTRS_o_ai vector unsigned long long
6805 vec_gfmsum(vector unsigned int __a, vector unsigned int __b) {
6811 static inline __ATTRS_o_ai vector unsigned char
6812 vec_gfmsum_128(vector unsigned long long __a, vector unsigned long long __b) {
6818 static inline __ATTRS_o_ai vector unsigned short
6819 vec_gfmsum_accum(vector unsigned char __a, vector unsigned char __b,
6820 vector unsigned short __c) {
6824 static inline __ATTRS_o_ai vector unsigned int
6825 vec_gfmsum_accum(vector unsigned short __a, vector unsigned short __b,
6826 vector unsigned int __c) {
6830 static inline __ATTRS_o_ai vector unsigned long long
6831 vec_gfmsum_accum(vector unsigned int __a, vector unsigned int __b,
6832 vector unsigned long long __c) {
6838 static inline __ATTRS_o_ai vector unsigned char
6839 vec_gfmsum_accum_128(vector unsigned long long __a,
6840 vector unsigned long long __b,
6841 vector unsigned char __c) {
6847 static inline __ATTRS_o_ai vector signed char
6848 vec_mladd(vector signed char __a, vector signed char __b,
6849 vector signed char __c) {
6853 static inline __ATTRS_o_ai vector signed char
6854 vec_mladd(vector unsigned char __a, vector signed char __b,
6855 vector signed char __c) {
6856 return (vector signed char)__a * __b + __c;
6859 static inline __ATTRS_o_ai vector signed char
6860 vec_mladd(vector signed char __a, vector unsigned char __b,
6861 vector unsigned char __c) {
6862 return __a * (vector signed char)__b + (vector signed char)__c;
6865 static inline __ATTRS_o_ai vector unsigned char
6866 vec_mladd(vector unsigned char __a, vector unsigned char __b,
6867 vector unsigned char __c) {
6871 static inline __ATTRS_o_ai vector signed short
6872 vec_mladd(vector signed short __a, vector signed short __b,
6873 vector signed short __c) {
6877 static inline __ATTRS_o_ai vector signed short
6878 vec_mladd(vector unsigned short __a, vector signed short __b,
6879 vector signed short __c) {
6880 return (vector signed short)__a * __b + __c;
6883 static inline __ATTRS_o_ai vector signed short
6884 vec_mladd(vector signed short __a, vector unsigned short __b,
6885 vector unsigned short __c) {
6886 return __a * (vector signed short)__b + (vector signed short)__c;
6889 static inline __ATTRS_o_ai vector unsigned short
6890 vec_mladd(vector unsigned short __a, vector unsigned short __b,
6891 vector unsigned short __c) {
6895 static inline __ATTRS_o_ai vector signed int
6896 vec_mladd(vector signed int __a, vector signed int __b,
6897 vector signed int __c) {
6901 static inline __ATTRS_o_ai vector signed int
6902 vec_mladd(vector unsigned int __a, vector signed int __b,
6903 vector signed int __c) {
6904 return (vector signed int)__a * __b + __c;
6907 static inline __ATTRS_o_ai vector signed int
6908 vec_mladd(vector signed int __a, vector unsigned int __b,
6909 vector unsigned int __c) {
6910 return __a * (vector signed int)__b + (vector signed int)__c;
6913 static inline __ATTRS_o_ai vector unsigned int
6914 vec_mladd(vector unsigned int __a, vector unsigned int __b,
6915 vector unsigned int __c) {
6921 static inline __ATTRS_o_ai vector signed char
6922 vec_mhadd(vector signed char __a, vector signed char __b,
6923 vector signed char __c) {
6927 static inline __ATTRS_o_ai vector unsigned char
6928 vec_mhadd(vector unsigned char __a, vector unsigned char __b,
6929 vector unsigned char __c) {
6933 static inline __ATTRS_o_ai vector signed short
6934 vec_mhadd(vector signed short __a, vector signed short __b,
6935 vector signed short __c) {
6939 static inline __ATTRS_o_ai vector unsigned short
6940 vec_mhadd(vector unsigned short __a, vector unsigned short __b,
6941 vector unsigned short __c) {
6945 static inline __ATTRS_o_ai vector signed int
6946 vec_mhadd(vector signed int __a, vector signed int __b,
6947 vector signed int __c) {
6951 static inline __ATTRS_o_ai vector unsigned int
6952 vec_mhadd(vector unsigned int __a, vector unsigned int __b,
6953 vector unsigned int __c) {
6959 static inline __ATTRS_o_ai vector signed short
6960 vec_meadd(vector signed char __a, vector signed char __b,
6961 vector signed short __c) {
6965 static inline __ATTRS_o_ai vector unsigned short
6966 vec_meadd(vector unsigned char __a, vector unsigned char __b,
6967 vector unsigned short __c) {
6971 static inline __ATTRS_o_ai vector signed int
6972 vec_meadd(vector signed short __a, vector signed short __b,
6973 vector signed int __c) {
6977 static inline __ATTRS_o_ai vector unsigned int
6978 vec_meadd(vector unsigned short __a, vector unsigned short __b,
6979 vector unsigned int __c) {
6983 static inline __ATTRS_o_ai vector signed long long
6984 vec_meadd(vector signed int __a, vector signed int __b,
6985 vector signed long long __c) {
6989 static inline __ATTRS_o_ai vector unsigned long long
6990 vec_meadd(vector unsigned int __a, vector unsigned int __b,
6991 vector unsigned long long __c) {
6997 static inline __ATTRS_o_ai vector signed short
6998 vec_moadd(vector signed char __a, vector signed char __b,
6999 vector signed short __c) {
7003 static inline __ATTRS_o_ai vector unsigned short
7004 vec_moadd(vector unsigned char __a, vector unsigned char __b,
7005 vector unsigned short __c) {
7009 static inline __ATTRS_o_ai vector signed int
7010 vec_moadd(vector signed short __a, vector signed short __b,
7011 vector signed int __c) {
7015 static inline __ATTRS_o_ai vector unsigned int
7016 vec_moadd(vector unsigned short __a, vector unsigned short __b,
7017 vector unsigned int __c) {
7021 static inline __ATTRS_o_ai vector signed long long
7022 vec_moadd(vector signed int __a, vector signed int __b,
7023 vector signed long long __c) {
7027 static inline __ATTRS_o_ai vector unsigned long long
7028 vec_moadd(vector unsigned int __a, vector unsigned int __b,
7029 vector unsigned long long __c) {
7035 static inline __ATTRS_o_ai vector signed char
7036 vec_mulh(vector signed char __a, vector signed char __b) {
7040 static inline __ATTRS_o_ai vector unsigned char
7041 vec_mulh(vector unsigned char __a, vector unsigned char __b) {
7045 static inline __ATTRS_o_ai vector signed short
7046 vec_mulh(vector signed short __a, vector signed short __b) {
7050 static inline __ATTRS_o_ai vector unsigned short
7051 vec_mulh(vector unsigned short __a, vector unsigned short __b) {
7055 static inline __ATTRS_o_ai vector signed int
7056 vec_mulh(vector signed int __a, vector signed int __b) {
7060 static inline __ATTRS_o_ai vector unsigned int
7061 vec_mulh(vector unsigned int __a, vector unsigned int __b) {
7067 static inline __ATTRS_o_ai vector signed short
7068 vec_mule(vector signed char __a, vector signed char __b) {
7072 static inline __ATTRS_o_ai vector unsigned short
7073 vec_mule(vector unsigned char __a, vector unsigned char __b) {
7077 static inline __ATTRS_o_ai vector signed int
7078 vec_mule(vector signed short __a, vector signed short __b) {
7082 static inline __ATTRS_o_ai vector unsigned int
7083 vec_mule(vector unsigned short __a, vector unsigned short __b) {
7087 static inline __ATTRS_o_ai vector signed long long
7088 vec_mule(vector signed int __a, vector signed int __b) {
7092 static inline __ATTRS_o_ai vector unsigned long long
7093 vec_mule(vector unsigned int __a, vector unsigned int __b) {
7099 static inline __ATTRS_o_ai vector signed short
7100 vec_mulo(vector signed char __a, vector signed char __b) {
7104 static inline __ATTRS_o_ai vector unsigned short
7105 vec_mulo(vector unsigned char __a, vector unsigned char __b) {
7109 static inline __ATTRS_o_ai vector signed int
7110 vec_mulo(vector signed short __a, vector signed short __b) {
7114 static inline __ATTRS_o_ai vector unsigned int
7115 vec_mulo(vector unsigned short __a, vector unsigned short __b) {
7119 static inline __ATTRS_o_ai vector signed long long
7120 vec_mulo(vector signed int __a, vector signed int __b) {
7124 static inline __ATTRS_o_ai vector unsigned long long
7125 vec_mulo(vector unsigned int __a, vector unsigned int __b) {
7131 static inline __ATTRS_ai vector unsigned char
7132 vec_sub_u128(vector unsigned char __a, vector unsigned char __b) {
7138 static inline __ATTRS_o_ai vector unsigned char
7139 vec_subc(vector unsigned char __a, vector unsigned char __b) {
7143 static inline __ATTRS_o_ai vector unsigned short
7144 vec_subc(vector unsigned short __a, vector unsigned short __b) {
7148 static inline __ATTRS_o_ai vector unsigned int
7149 vec_subc(vector unsigned int __a, vector unsigned int __b) {
7153 static inline __ATTRS_o_ai vector unsigned long long
7154 vec_subc(vector unsigned long long __a, vector unsigned long long __b) {
7160 static inline __ATTRS_ai vector unsigned char
7161 vec_subc_u128(vector unsigned char __a, vector unsigned char __b) {
7167 static inline __ATTRS_ai vector unsigned char
7168 vec_sube_u128(vector unsigned char __a, vector unsigned char __b,
7169 vector unsigned char __c) {
7175 static inline __ATTRS_ai vector unsigned char
7176 vec_subec_u128(vector unsigned char __a, vector unsigned char __b,
7177 vector unsigned char __c) {
7183 static inline __ATTRS_o_ai vector unsigned long long
7184 vec_sum2(vector unsigned short __a, vector unsigned short __b) {
7188 static inline __ATTRS_o_ai vector unsigned long long
7189 vec_sum2(vector unsigned int __a, vector unsigned int __b) {
7195 static inline __ATTRS_o_ai vector unsigned char
7196 vec_sum_u128(vector unsigned int __a, vector unsigned int __b) {
7200 static inline __ATTRS_o_ai vector unsigned char
7201 vec_sum_u128(vector unsigned long long __a, vector unsigned long long __b) {
7207 static inline __ATTRS_o_ai vector unsigned int
7208 vec_sum4(vector unsigned char __a, vector unsigned char __b) {
7212 static inline __ATTRS_o_ai vector unsigned int
7213 vec_sum4(vector unsigned short __a, vector unsigned short __b) {
7220 vec_test_mask(vector signed char __a, vector unsigned char __b) {
7221 return __builtin_s390_vtm((vector unsigned char)__a,
7222 (vector unsigned char)__b);
7226 vec_test_mask(vector unsigned char __a, vector unsigned char __b) {
7231 vec_test_mask(vector signed short __a, vector unsigned short __b) {
7232 return __builtin_s390_vtm((vector unsigned char)__a,
7233 (vector unsigned char)__b);
7237 vec_test_mask(vector unsigned short __a, vector unsigned short __b) {
7238 return __builtin_s390_vtm((vector unsigned char)__a,
7239 (vector unsigned char)__b);
7243 vec_test_mask(vector signed int __a, vector unsigned int __b) {
7244 return __builtin_s390_vtm((vector unsigned char)__a,
7245 (vector
7249 vec_test_mask(vector unsigned int __a, vector unsigned int __b) {
7250 return __builtin_s390_vtm((vector unsigned char)__a,
7251 (vector unsigned char)__b);
7255 vec_test_mask(vector signed long long __a, vector unsigned long long __b) {
7256 return __builtin_s390_vtm((vector unsigned char)__a,
7257 (vector unsigned char)__b);
7261 vec_test_mask(vector unsigned long long __a, vector unsigned long long __b) {
7262 return __builtin_s390_vtm((vector unsigned char)__a,
7263 (vector unsigned char)__b);
7267 vec_test_mask(vector double __a, vector unsigned long long __b) {
7268 return __builtin_s390_vtm((vector unsigned char)__a,
7269 (vector unsigned char)__b);
7274 static inline __ATTRS_ai vector double
7275 vec_madd(vector double __a, vector double __b, vector double __c) {
7281 static inline __ATTRS_ai vector double
7282 vec_msub(vector double __a, vector double __b, vector double __c) {
7288 static inline __ATTRS_ai vector double
7289 vec_sqrt(vector double __a) {
7295 static inline __ATTRS_ai vector double
7298 return __builtin_convertvector(*(const __v2f32 *)__ptr, vector double);
7304 vec_st2f(vector double __a, float *__ptr) {
7311 static inline __ATTRS_o_ai vector double
7312 vec_ctd(vector signed long long __a, int __b)
7314 vector double __conv = __builtin_convertvector(__a, vector double);
7315 __conv *= (vector double)(vector unsigned long long)((0x3ffULL - __b) << 52);
7319 static inline __ATTRS_o_ai vector double
7320 vec_ctd(vector unsigned long long __a, int __b)
7322 vector double __conv = __builtin_convertvector(__a, vector double);
7323 __conv *= (vector double)(vector unsigned long long)((0x3ffULL - __b) << 52);
7329 static inline __ATTRS_o_ai vector signed long long
7330 vec_ctsl(vector double __a, int __b)
7332 __a *= (vector double)(vector unsigned long long)((0x3ffULL + __b) << 52);
7333 return __builtin_convertvector(__a, vector signed long long);
7338 static inline __ATTRS_o_ai vector unsigned long long
7339 vec_ctul(vector double __a, int __b)
7341 __a *= (vector double)(vector unsigned long long)((0x3ffULL + __b) << 52);
7342 return __builtin_convertvector(__a, vector unsigned long long);
7347 static inline __ATTRS_ai vector double
7348 vec_roundp(vector double __a) {
7354 static inline __ATTRS_ai vector double
7355 vec_ceil(vector double __a) {
7362 static inline __ATTRS_ai vector double
7363 vec_roundm(vector double __a) {
7369 static inline __ATTRS_ai vector double
7370 vec_floor(vector double __a) {
7377 static inline __ATTRS_ai vector double
7378 vec_roundz(vector double __a) {
7384 static inline __ATTRS_ai vector double
7385 vec_trunc(vector double __a) {
7392 static inline __ATTRS_ai vector double
7393 vec_roundc(vector double __a) {
7399 static inline __ATTRS_ai vector double
7400 vec_round(vector double __a) {
7407 ((vector bool long long)__builtin_s390_vftcidb((X), (Y), (Z)))
7411 static inline __ATTRS_o_ai vector signed char
7412 vec_cp_until_zero(vector signed char __a) {
7413 return (vector signed char)__builtin_s390_vistrb((vector unsigned char)__a);
7416 static inline __ATTRS_o_ai vector bool char
7417 vec_cp_until_zero(vector bool char __a) {
7418 return (vector bool char)__builtin_s390_vistrb((vector unsigned char)__a);
7421 static inline __ATTRS_o_ai vector unsigned char
7422 vec_cp_until_zero(vector unsigned char __a) {
7426 static inline __ATTRS_o_ai vector signed short
7427 vec_cp_until_zero(vector signed short __a) {
7428 return (vector signed short)__builtin_s390_vistrh((vector unsigned short)__a);
7431 static inline __ATTRS_o_ai vector bool short
7432 vec_cp_until_zero(vector bool short __a) {
7433 return (vector bool short)__builtin_s390_vistrh((vector unsigned short)__a);
7436 static inline __ATTRS_o_ai vector unsigned short
7437 vec_cp_until_zero(vector unsigned short __a) {
7441 static inline __ATTRS_o_ai vector signed int
7442 vec_cp_until_zero(vector signed int __a) {
7443 return (vector signed int)__builtin_s390_vistrf((vector unsigned int)__a);
7446 static inline __ATTRS_o_ai vector bool int
7447 vec_cp_until_zero(vector bool int __a) {
7448 return (vector bool int)__builtin_s390_vistrf((vector unsigned int)__a);
7451 static inline __ATTRS_o_ai vector unsigned int
7452 vec_cp_until_zero(vector unsigned int __a) {
7458 static inline __ATTRS_o_ai vector signed char
7459 vec_cp_until_zero_cc(vector signed char __a, int *__cc) {
7460 return (vector signed char)
7461 __builtin_s390_vistrbs((vector unsigned char)__a, __cc);
7464 static inline __ATTRS_o_ai vector bool char
7465 vec_cp_until_zero_cc(vector bool char __a, int *__cc) {
7466 return (vector bool char)
7467 __builtin_s390_vistrbs((vector unsigned char)__a, __cc);
7470 static inline __ATTRS_o_ai vector unsigned char
7471 vec_cp_until_zero_cc(vector unsigned char __a, int *__cc) {
7475 static inline __ATTRS_o_ai vector signed short
7476 vec_cp_until_zero_cc(vector signed short __a, int *__cc) {
7477 return (vector signed short)
7478 __builtin_s390_vistrhs((vector unsigned short)__a, __cc);
7481 static inline __ATTRS_o_ai vector bool short
7482 vec_cp_until_zero_cc(vector bool short __a, int *__cc) {
7483 return (vector bool short)
7484 __builtin_s390_vistrhs((vector unsigned short)__a, __cc);
7487 static inline __ATTRS_o_ai vector unsigned short
7488 vec_cp_until_zero_cc(vector unsigned short __a, int *__cc) {
7492 static inline __ATTRS_o_ai vector signed int
7493 vec_cp_until_zero_cc(vector signed int __a, int *__cc) {
7494 return (vector signed int)
7495 __builtin_s390_vistrfs((vector unsigned int)__a, __cc);
7498 static inline __ATTRS_o_ai vector bool int
7499 vec_cp_until_zero_cc(vector bool int __a, int *__cc) {
7500 return (vector bool int)__builtin_s390_vistrfs((vector unsigned int)__a,
7504 static inline __ATTRS_o_ai vector unsigned int
7505 vec_cp_until_zero_cc(vector unsigned int __a, int *__cc) {
7511 static inline __ATTRS_o_ai vector signed char
7512 vec_cmpeq_idx(vector signed char __a, vector signed char __b) {
7513 return (vector signed char)
7514 __builtin_s390_vfeeb((vector unsigned char)__a,
7515 (vector unsigned char)__b);
7518 static inline __ATTRS_o_ai vector unsigned char
7519 vec_cmpeq_idx(vector bool char __a, vector bool char __b) {
7520 return __builtin_s390_vfeeb((vector unsigned char)__a,
7521 (vector unsigned char)__b);
7524 static inline __ATTRS_o_ai vector unsigned char
7525 vec_cmpeq_idx(vector unsigned char __a, vector unsigned char __b) {
7529 static inline __ATTRS_o_ai vector signed short
7530 vec_cmpeq_idx(vector signed short __a, vector signed short __b) {
7531 return (vector signed short)
7532 __builtin_s390_vfeeh((vector unsigned short)__a,
7533 (vector unsigned short)__b);
7536 static inline __ATTRS_o_ai vector unsigned short
7537 vec_cmpeq_idx(vector bool short __a, vector bool short __b) {
7538 return __builtin_s390_vfeeh((vector unsigned short)__a,
7539 (vector unsigned short)__b);
7542 static inline __ATTRS_o_ai vector unsigned short
7543 vec_cmpeq_idx(vector unsigned short __a, vector unsigned short __b) {
7547 static inline __ATTRS_o_ai vector signed int
7548 vec_cmpeq_idx(vector signed int __a, vector signed int __b) {
7549 return (vector signed int)
7550 __builtin_s390_vfeef((vector unsigned int)__a,
7551 (vector unsigned int)__b);
7554 static inline __ATTRS_o_ai vector unsigned int
7555 vec_cmpeq_idx(vector bool int __a, vector bool int __b) {
7556 return __builtin_s390_vfeef((vector unsigned int)__a,
7557 (vector unsigned int)__b);
7560 static inline __ATTRS_o_ai vector unsigned int
7561 vec_cmpeq_idx(vector unsigned int __a, vector unsigned int __b) {
7567 static inline __ATTRS_o_ai vector signed char
7568 vec_cmpeq_idx_cc(vector signed char __a, vector signed char __b, int *__cc) {
7569 return (vector signed char)
7570 __builtin_s390_vfeebs((vector unsigned char)__a,
7571 (vector unsigned char)__b, __cc);
7574 static inline __ATTRS_o_ai vector unsigned char
7575 vec_cmpeq_idx_cc(vector bool char __a, vector bool char __b, int *__cc) {
7576 return __builtin_s390_vfeebs((vector unsigned char)__a,
7577 (vector unsigned char)__b, __cc);
7580 static inline __ATTRS_o_ai vector unsigned char
7581 vec_cmpeq_idx_cc(vector unsigned char __a, vector unsigned char __b,
7586 static inline __ATTRS_o_ai vector signed short
7587 vec_cmpeq_idx_cc(vector signed short __a, vector signed short __b, int *__cc) {
7588 return (vector signed short)
7589 __builtin_s390_vfeehs((vector unsigned short)__a,
7590 (vector unsigned short)__b, __cc);
7593 static inline __ATTRS_o_ai vector unsigned short
7594 vec_cmpeq_idx_cc(vector bool short __a, vector bool short __b, int *__cc) {
7595 return __builtin_s390_vfeehs((vector unsigned short)__a,
7596 (vector unsigned short)__b, __cc);
7599 static inline __ATTRS_o_ai vector unsigned short
7600 vec_cmpeq_idx_cc(vector unsigned short __a, vector unsigned short __b,
7605 static inline __ATTRS_o_ai vector signed int
7606 vec_cmpeq_idx_cc(vector signed int __a, vector signed int __b, int *__cc) {
7607 return (vector signed int)
7608 __builtin_s390_vfeefs((vector unsigned int)__a,
7609 (vector unsigned int)__b, __cc);
7612 static inline __ATTRS_o_ai vector unsigned int
7613 vec_cmpeq_idx_cc(vector bool int __a, vector bool int __b, int *__cc) {
7614 return __builtin_s390_vfeefs((vector unsigned int)__a,
7615 (vector unsigned int)__b, __cc);
7618 static inline __ATTRS_o_ai vector unsigned int
7619 vec_cmpeq_idx_cc(vector unsigned int __a, vector unsigned int __b, int *__cc) {
7625 static inline __ATTRS_o_ai vector signed char
7626 vec_cmpeq_or_0_idx(vector signed char __a, vector signed char __b) {
7627 return (vector signed char)
7628 __builtin_s390_vfeezb((vector unsigned char)__a,
7629 (vector unsigned char)__b);
7632 static inline __ATTRS_o_ai vector unsigned char
7633 vec_cmpeq_or_0_idx(vector bool char __a, vector bool char __b) {
7634 return __builtin_s390_vfeezb((vector unsigned char)__a,
7635 (vector unsigned char)__b);
7638 static inline __ATTRS_o_ai vector unsigned char
7639 vec_cmpeq_or_0_idx(vector unsigned char __a, vector unsigned char __b) {
7643 static inline __ATTRS_o_ai vector signed short
7644 vec_cmpeq_or_0_idx(vector signed short __a, vector signed short __b) {
7645 return (vector signed short)
7646 __builtin_s390_vfeezh((vector unsigned short)__a,
7647 (vector unsigned short)__b);
7650 static inline __ATTRS_o_ai vector unsigned short
7651 vec_cmpeq_or_0_idx(vector bool short __a, vector bool short __b) {
7652 return __builtin_s390_vfeezh((vector unsigned short)__a,
7653 (vector unsigned short)__b);
7656 static inline __ATTRS_o_ai vector unsigned short
7657 vec_cmpeq_or_0_idx(vector unsigned short __a, vector unsigned short __b) {
7661 static inline __ATTRS_o_ai vector signed int
7662 vec_cmpeq_or_0_idx(vector signed int __a, vector signed int __b) {
7663 return (vector signed int)
7664 __builtin_s390_vfeezf((vector unsigned int)__a,
7665 (vector unsigned int)__b);
7668 static inline __ATTRS_o_ai vector unsigned int
7669 vec_cmpeq_or_0_idx(vector bool int __a, vector bool int __b) {
7670 return __builtin_s390_vfeezf((vector unsigned int)__a,
7671 (vector unsigned int)__b);
7674 static inline __ATTRS_o_ai vector unsigned int
7675 vec_cmpeq_or_0_idx(vector unsigned int __a, vector unsigned int __b) {
7681 static inline __ATTRS_o_ai vector signed char
7682 vec_cmpeq_or_0_idx_cc(vector signed char __a, vector signed char __b,
7684 return (vector signed char)
7685 __builtin_s390_vfeezbs((vector unsigned char)__a,
7686 (vector unsigned char)__b, __cc);
7689 static inline __ATTRS_o_ai vector unsigned char
7690 vec_cmpeq_or_0_idx_cc(vector bool char __a, vector bool char __b, int *__cc) {
7691 return __builtin_s390_vfeezbs((vector unsigned char)__a,
7692 (vector unsigned char)__b, __cc);
7695 static inline __ATTRS_o_ai vector unsigned char
7696 vec_cmpeq_or_0_idx_cc(vector unsigned char __a, vector unsigned char __b,
7701 static inline __ATTRS_o_ai vector signed short
7702 vec_cmpeq_or_0_idx_cc(vector signed short __a, vector signed short __b,
7704 return (vector signed short)
7705 __builtin_s390_vfeezhs((vector unsigned short)__a,
7706 (vector unsigned short)__b, __cc);
7709 static inline __ATTRS_o_ai vector unsigned short
7710 vec_cmpeq_or_0_idx_cc(vector bool short __a, vector bool short __b, int *__cc) {
7711 return __builtin_s390_vfeezhs((vector unsigned short)__a,
7712 (vector unsigned short)__b, __cc);
7715 vector unsigned short
7716 vec_cmpeq_or_0_idx_cc(vector unsigned short __a, vector unsigned short __b,
7721 static inline __ATTRS_o_ai vector signed int
7722 vec_cmpeq_or_0_idx_cc(vector signed int __a, vector signed int __b, int *__cc) {
7723 return (vector signed int)
7724 __builtin_s390_vfeezfs((vector unsigned int)__a,
7725 (vector unsigned int)__b, __cc);
7728 static inline __ATTRS_o_ai vector unsigned int
7729 vec_cmpeq_or_0_idx_cc(vector bool int __a, vector bool int __b, int *__cc) {
7730 return __builtin_s390_vfeezfs((vector unsigned int)__a,
7731 (vector unsigned int)__b, __cc);
7734 static inline __ATTRS_o_ai vector unsigned int
7735 vec_cmpeq_or_0_idx_cc(vector unsigned int __a, vector unsigned int __b,
7742 static inline __ATTRS_o_ai vector signed char
7743 vec_cmpne_idx(vector signed char __a, vector signed char __b) {
7744 return (vector signed char)
7745 __builtin_s390_vfeneb((vector unsigned char)__a,
7746 (vector unsigned char)__b);
7749 static inline __ATTRS_o_ai vector unsigned char
7750 vec_cmpne_idx(vector bool char __a, vector bool char __b) {
7751 return __builtin_s390_vfeneb((vector unsigned char)__a,
7752 (vector unsigned char)__b);
7755 static inline __ATTRS_o_ai vector unsigned char
7756 vec_cmpne_idx(vector unsigned char __a, vector unsigned char __b) {
7760 static inline __ATTRS_o_ai vector signed short
7761 vec_cmpne_idx(vector signed short __a, vector signed short __b) {
7762 return (vector signed short)
7763 __builtin_s390_vfeneh((vector unsigned short)__a,
7764 (vector unsigned short)__b);
7767 static inline __ATTRS_o_ai vector unsigned short
7768 vec_cmpne_idx(vector bool short __a, vector bool short __b) {
7769 return __builtin_s390_vfeneh((vector unsigned short)__a,
7770 (vector unsigned short)__b);
7773 static inline __ATTRS_o_ai vector unsigned short
7774 vec_cmpne_idx(vector unsigned short __a, vector unsigned short __b) {
7778 static inline __ATTRS_o_ai vector signed int
7779 vec_cmpne_idx(vector signed int __a, vector signed int __b) {
7780 return (vector signed int)
7781 __builtin_s390_vfenef((vector unsigned int)__a,
7782 (vector unsigned int)__b);
7785 static inline __ATTRS_o_ai vector unsigned int
7786 vec_cmpne_idx(vector bool int __a, vector bool int __b) {
7787 return __builtin_s390_vfenef((vector unsigned int)__a,
7788 (vector unsigned int)__b);
7791 static inline __ATTRS_o_ai vector unsigned int
7792 vec_cmpne_idx(vector unsigned int __a, vector unsigned int __b) {
7798 static inline __ATTRS_o_ai vector signed char
7799 vec_cmpne_idx_cc(vector signed char __a, vector signed char __b, int *__cc) {
7800 return (vector signed char)
7801 __builtin_s390_vfenebs((vector unsigned char)__a,
7802 (vector unsigned char)__b, __cc);
7805 static inline __ATTRS_o_ai vector unsigned char
7806 vec_cmpne_idx_cc(vector bool char __a, vector bool char __b, int *__cc) {
7807 return __builtin_s390_vfenebs((vector unsigned char)__a,
7808 (vector unsigned char)__b, __cc);
7811 static inline __ATTRS_o_ai vector unsigned char
7812 vec_cmpne_idx_cc(vector unsigned char __a, vector unsigned char __b,
7817 static inline __ATTRS_o_ai vector signed short
7818 vec_cmpne_idx_cc(vector signed short __a, vector signed short __b, int *__cc) {
7819 return (vector signed short)
7820 __builtin_s390_vfenehs((vector unsigned short)__a,
7821 (vector unsigned short)__b, __cc);
7824 static inline __ATTRS_o_ai vector unsigned short
7825 vec_cmpne_idx_cc(vector bool short __a, vector bool short __b, int *__cc) {
7826 return __builtin_s390_vfenehs((vector unsigned short)__a,
7827 (vector unsigned short)__b, __cc);
7830 static inline __ATTRS_o_ai vector unsigned short
7831 vec_cmpne_idx_cc(vector unsigned short __a, vector unsigned short __b,
7836 static inline __ATTRS_o_ai vector signed int
7837 vec_cmpne_idx_cc(vector signed int __a, vector signed int __b, int *__cc) {
7838 return (vector signed int)
7839 __builtin_s390_vfenefs((vector unsigned int)__a,
7840 (vector unsigned int)__b, __cc);
7843 static inline __ATTRS_o_ai vector unsigned int
7844 vec_cmpne_idx_cc(vector bool int __a, vector bool int __b, int *__cc) {
7845 return __builtin_s390_vfenefs((vector unsigned int)__a,
7846 (vector unsigned int)__b, __cc);
7849 static inline __ATTRS_o_ai vector unsigned int
7850 vec_cmpne_idx_cc(vector unsigned int __a, vector unsigned int __b, int *__cc) {
7856 static inline __ATTRS_o_ai vector signed char
7857 vec_cmpne_or_0_idx(vector signed char __a, vector signed char __b) {
7858 return (vector signed char)
7859 __builtin_s390_vfenezb((vector unsigned char)__a,
7860 (vector unsigned char)__b);
7863 static inline __ATTRS_o_ai vector unsigned char
7864 vec_cmpne_or_0_idx(vector bool char __a, vector bool char __b) {
7865 return __builtin_s390_vfenezb((vector unsigned char)__a,
7866 (vector unsigned char)__b);
7869 static inline __ATTRS_o_ai vector unsigned char
7870 vec_cmpne_or_0_idx(vector unsigned char __a, vector unsigned char __b) {
7874 static inline __ATTRS_o_ai vector signed short
7875 vec_cmpne_or_0_idx(vector signed short __a, vector signed short __b) {
7876 return (vector signed short)
7877 __builtin_s390_vfenezh((vector unsigned short)__a,
7878 (vector unsigned short)__b);
7881 static inline __ATTRS_o_ai vector unsigned short
7882 vec_cmpne_or_0_idx(vector bool short __a, vector bool short __b) {
7883 return __builtin_s390_vfenezh((vector unsigned short)__a,
7884 (vector unsigned short)__b);
7887 static inline __ATTRS_o_ai vector unsigned short
7888 vec_cmpne_or_0_idx(vector unsigned short __a, vector unsigned short __b) {
7892 static inline __ATTRS_o_ai vector signed int
7893 vec_cmpne_or_0_idx(vector signed int __a, vector signed int __b) {
7894 return (vector signed int)
7895 __builtin_s390_vfenezf((vector unsigned int)__a,
7896 (vector unsigned int)__b);
7899 static inline __ATTRS_o_ai vector unsigned int
7900 vec_cmpne_or_0_idx(vector bool int __a, vector bool int __b) {
7901 return __builtin_s390_vfenezf((vector unsigned int)__a,
7902 (vector unsigned int)__b);
7905 static inline __ATTRS_o_ai vector unsigned int
7906 vec_cmpne_or_0_idx(vector unsigned int __a, vector unsigned int __b) {
7912 static inline __ATTRS_o_ai vector signed char
7913 vec_cmpne_or_0_idx_cc(vector signed char __a, vector signed char __b,
7915 return (vector signed char)
7916 __builtin_s390_vfenezbs((vector unsigned char)__a,
7917 (vector unsigned char)__b, __cc);
7920 static inline __ATTRS_o_ai vector unsigned char
7921 vec_cmpne_or_0_idx_cc(vector bool char __a, vector bool char __b, int *__cc) {
7922 return __builtin_s390_vfenezbs((vector unsigned char)__a,
7923 (vector unsigned char)__b, __cc);
7926 static inline __ATTRS_o_ai vector unsigned char
7927 vec_cmpne_or_0_idx_cc(vector unsigned char __a, vector unsigned char __b,
7932 static inline __ATTRS_o_ai vector signed short
7933 vec_cmpne_or_0_idx_cc(vector signed short __a, vector signed short __b,
7935 return (vector signed short)
7936 __builtin_s390_vfenezhs((vector unsigned short)__a,
7937 (vector unsigned short)__b, __cc);
7940 static inline __ATTRS_o_ai vector unsigned short
7941 vec_cmpne_or_0_idx_cc(vector bool short __a, vector bool short __b, int *__cc) {
7942 return __builtin_s390_vfenezhs((vector unsigned short)__a,
7943 (vector unsigned short)__b, __cc);
7946 static inline __ATTRS_o_ai vector unsigned short
7947 vec_cmpne_or_0_idx_cc(vector unsigned short __a, vector unsigned short __b,
7952 static inline __ATTRS_o_ai vector signed int
7953 vec_cmpne_or_0_idx_cc(vector signed int __a, vector signed int __b, int *__cc) {
7954 return (vector signed int)
7955 __builtin_s390_vfenezfs((vector unsigned int)__a,
7956 (vector unsigned int)__b, __cc);
7959 static inline __ATTRS_o_ai vector unsigned int
7960 vec_cmpne_or_0_idx_cc(vector bool int __a, vector bool int __b, int *__cc) {
7961 return __builtin_s390_vfenezfs((vector unsigned int)__a,
7962 (vector unsigned int)__b, __cc);
7965 static inline __ATTRS_o_ai vector unsigned int
7966 vec_cmpne_or_0_idx_cc(vector unsigned int __a, vector unsigned int __b,
7973 static inline __ATTRS_o_ai vector bool char
7974 vec_cmprg(vector unsigned char __a, vector unsigned char __b,
7975 vector unsigned char __c) {
7976 return (vector bool char)__builtin_s390_vstrcb(__a, __b, __c, 4);
7979 static inline __ATTRS_o_ai vector bool short
7980 vec_cmprg(vector unsigned short __a, vector unsigned short __b,
7981 vector unsigned short __c) {
7982 return (vector bool short)__builtin_s390_vstrch(__a, __b, __c, 4);
7985 static inline __ATTRS_o_ai vector bool int
7986 vec_cmprg(vector unsigned int __a, vector unsigned int __b,
7987 vector unsigned int __c) {
7988 return (vector bool int)__builtin_s390_vstrcf(__a, __b, __c, 4);
7993 static inline __ATTRS_o_ai vector bool char
7994 vec_cmprg_cc(vector unsigned char __a, vector unsigned char __b,
7995 vector unsigned char __c, int *__cc) {
7996 return (vector bool char)__builtin_s390_vstrcbs(__a, __b, __c, 4, __cc);
7999 static inline __ATTRS_o_ai vector bool short
8000 vec_cmprg_cc(vector unsigned short __a, vector unsigned short __b,
8001 vector unsigned short __c, int *__cc) {
8002 return (vector bool short)__builtin_s390_vstrchs(__a, __b, __c, 4, __cc);
8005 static inline __ATTRS_o_ai vector bool int
8006 vec_cmprg_cc(vector unsigned int __a, vector unsigned int __b,
8007 vector unsigned int __c, int *__cc) {
8008 return (vector bool int)__builtin_s390_vstrcfs(__a, __b, __c, 4, __cc);
8013 static inline __ATTRS_o_ai vector unsigned char
8014 vec_cmprg_idx(vector unsigned char __a, vector unsigned char __b,
8015 vector unsigned char __c) {
8019 static inline __ATTRS_o_ai vector unsigned short
8020 vec_cmprg_idx(vector unsigned short __a, vector unsigned short __b,
8021 vector unsigned short __c) {
8025 static inline __ATTRS_o_ai vector unsigned int
8026 vec_cmprg_idx(vector unsigned int __a, vector unsigned int __b,
8027 vector unsigned int __c) {
8033 static inline __ATTRS_o_ai vector unsigned char
8034 vec_cmprg_idx_cc(vector unsigned char __a, vector unsigned char __b,
8035 vector unsigned char __c, int *__cc) {
8039 static inline __ATTRS_o_ai vector unsigned short
8040 vec_cmprg_idx_cc(vector unsigned short __a, vector unsigned short __b,
8041 vector unsigned short __c, int *__cc) {
8045 static inline __ATTRS_o_ai vector unsigned int
8046 vec_cmprg_idx_cc(vector unsigned int __a, vector unsigned int __b,
8047 vector unsigned int __c, int *__cc) {
8053 static inline __ATTRS_o_ai vector unsigned char
8054 vec_cmprg_or_0_idx(vector unsigned char __a, vector unsigned char __b,
8055 vector unsigned char __c) {
8059 static inline __ATTRS_o_ai vector unsigned short
8060 vec_cmprg_or_0_idx(vector unsigned short __a, vector unsigned short __b,
8061 vector unsigned short __c) {
8065 static inline __ATTRS_o_ai vector unsigned int
8066 vec_cmprg_or_0_idx(vector unsigned int __a, vector unsigned int __b,
8067 vector unsigned int __c) {
8073 static inline __ATTRS_o_ai vector unsigned char
8074 vec_cmprg_or_0_idx_cc(vector unsigned char __a, vector unsigned char __b,
8075 vector unsigned char __c, int *__cc) {
8079 static inline __ATTRS_o_ai vector unsigned short
8080 vec_cmprg_or_0_idx_cc(vector unsigned short __a, vector unsigned short __b,
8081 vector unsigned short __c, int *__cc) {
8085 static inline __ATTRS_o_ai vector unsigned int
8086 vec_cmprg_or_0_idx_cc(vector unsigned int __a, vector unsigned int __b,
8087 vector unsigned int __c, int *__cc) {
8093 static inline __ATTRS_o_ai vector bool char
8094 vec_cmpnrg(vector unsigned char __a, vector unsigned char __b,
8095 vector unsigned char __c) {
8096 return (vector bool char)__builtin_s390_vstrcb(__a, __b, __c, 12);
8099 static inline __ATTRS_o_ai vector bool short
8100 vec_cmpnrg(vector unsigned short __a, vector unsigned short __b,
8101 vector unsigned short __c) {
8102 return (vector bool short)__builtin_s390_vstrch(__a, __b, __c, 12);
8105 static inline __ATTRS_o_ai vector bool int
8106 vec_cmpnrg(vector unsigned int __a, vector unsigned int __b,
8107 vector unsigned int __c) {
8108 return (vector bool int)__builtin_s390_vstrcf(__a, __b, __c, 12);
8113 static inline __ATTRS_o_ai vector bool char
8114 vec_cmpnrg_cc(vector unsigned char __a, vector unsigned char __b,
8115 vector unsigned char __c, int *__cc) {
8116 return (vector bool char)__builtin_s390_vstrcbs(__a, __b, __c, 12, __cc);
8119 static inline __ATTRS_o_ai vector bool short
8120 vec_cmpnrg_cc(vector unsigned short __a, vector unsigned short __b,
8121 vector unsigned short __c, int *__cc) {
8122 return (vector bool short)__builtin_s390_vstrchs(__a, __b, __c, 12, __cc);
8125 static inline __ATTRS_o_ai vector bool int
8126 vec_cmpnrg_cc(vector unsigned int __a, vector unsigned int __b,
8127 vector unsigned int __c, int *__cc) {
8128 return (vector bool int)__builtin_s390_vstrcfs(__a, __b, __c, 12, __cc);
8133 static inline __ATTRS_o_ai vector unsigned char
8134 vec_cmpnrg_idx(vector unsigned char __a, vector unsigned char __b,
8135 vector unsigned char __c) {
8139 static inline __ATTRS_o_ai vector unsigned short
8140 vec_cmpnrg_idx(vector unsigned short __a, vector unsigned short __b,
8141 vector unsigned short __c) {
8145 static inline __ATTRS_o_ai vector unsigned int
8146 vec_cmpnrg_idx(vector unsigned int __a, vector unsigned int __b,
8147 vector unsigned int __c) {
8153 static inline __ATTRS_o_ai vector unsigned char
8154 vec_cmpnrg_idx_cc(vector unsigned char __a, vector unsigned char __b,
8155 vector unsigned char __c, int *__cc) {
8159 static inline __ATTRS_o_ai vector unsigned short
8160 vec_cmpnrg_idx_cc(vector unsigned short __a, vector unsigned short __b,
8161 vector unsigned short __c, int *__cc) {
8165 static inline __ATTRS_o_ai vector unsigned int
8166 vec_cmpnrg_idx_cc(vector unsigned int __a, vector unsigned int __b,
8167 vector unsigned int __c, int *__cc) {
8173 static inline __ATTRS_o_ai vector unsigned char
8174 vec_cmpnrg_or_0_idx(vector unsigned char __a, vector unsigned char __b,
8175 vector unsigned char __c) {
8179 static inline __ATTRS_o_ai vector unsigned short
8180 vec_cmpnrg_or_0_idx(vector unsigned short __a, vector unsigned short __b,
8181 vector unsigned short __c) {
8185 static inline __ATTRS_o_ai vector unsigned int
8186 vec_cmpnrg_or_0_idx(vector unsigned int __a, vector unsigned int __b,
8187 vector unsigned int __c) {
8193 static inline __ATTRS_o_ai vector unsigned char
8194 vec_cmpnrg_or_0_idx_cc(vector unsigned char __a, vector unsigned char __b,
8195 vector unsigned char __c, int *__cc) {
8199 static inline __ATTRS_o_ai vector unsigned short
8200 vec_cmpnrg_or_0_idx_cc(vector unsigned short __a, vector unsigned short __b,
8201 vector unsigned short __c, int *__cc) {
8205 static inline __ATTRS_o_ai vector unsigned int
8206 vec_cmpnrg_or_0_idx_cc(vector unsigned int __a, vector unsigned int __b,
8207 vector unsigned int __c, int *__cc) {
8213 static inline __ATTRS_o_ai vector bool char
8214 vec_find_any_eq(vector signed char __a, vector signed char __b) {
8215 return (vector bool char)
8216 __builtin_s390_vfaeb((vector unsigned char)__a,
8217 (vector unsigned char)__b, 4);
8220 static inline __ATTRS_o_ai vector bool char
8221 vec_find_any_eq(vector bool char __a, vector bool char __b) {
8222 return (vector bool char)
8223 __builtin_s390_vfaeb((vector unsigned char)__a,
8224 (vector unsigned char)__b, 4);
8227 static inline __ATTRS_o_ai vector bool char
8228 vec_find_any_eq(vector unsigned char __a, vector unsigned char __b) {
8229 return (vector bool char)__builtin_s390_vfaeb(__a, __b, 4);
8232 static inline __ATTRS_o_ai vector bool short
8233 vec_find_any_eq(vector signed short __a, vector signed short __b) {
8234 return (vector bool short)
8235 __builtin_s390_vfaeh((vector unsigned short)__a,
8236 (vector unsigned short)__b, 4);
8239 static inline __ATTRS_o_ai vector bool short
8240 vec_find_any_eq(vector bool short __a, vector bool short __b) {
8241 return (vector bool short)
8242 __builtin_s390_vfaeh((vector unsigned short)__a,
8243 (vector unsigned short)__b, 4);
8246 static inline __ATTRS_o_ai vector bool short
8247 vec_find_any_eq(vector unsigned short __a, vector unsigned short __b) {
8248 return (vector bool short)__builtin_s390_vfaeh(__a, __b, 4);
8251 static inline __ATTRS_o_ai vector bool int
8252 vec_find_any_eq(vector signed int __a, vector signed int __b) {
8253 return (vector bool int)
8254 __builtin_s390_vfaef((vector unsigned int)__a,
8255 (vector unsigned int)__b, 4);
8258 static inline __ATTRS_o_ai vector bool int
8259 vec_find_any_eq(vector bool int __a, vector bool int __b) {
8260 return (vector bool int)
8261 __builtin_s390_vfaef((vector unsigned int)__a,
8262 (vector unsigned int)__b, 4);
8265 static inline __ATTRS_o_ai vector bool int
8266 vec_find_any_eq(vector unsigned int __a, vector unsigned int __b) {
8267 return (vector bool int)__builtin_s390_vfaef(__a, __b, 4);
8272 static inline __ATTRS_o_ai vector bool char
8273 vec_find_any_eq_cc(vector signed char __a, vector signed char __b, int *__cc) {
8274 return (vector bool char)
8275 __builtin_s390_vfaebs((vector unsigned char)__a,
8276 (vector unsigned char)__b, 4, __cc);
8279 static inline __ATTRS_o_ai vector bool char
8280 vec_find_any_eq_cc(vector bool char __a, vector bool char __b, int *__cc) {
8281 return (vector bool char)
8282 __builtin_s390_vfaebs((vector unsigned char)__a,
8283 (vector unsigned char)__b, 4, __cc);
8286 static inline __ATTRS_o_ai vector bool char
8287 vec_find_any_eq_cc(vector unsigned char __a, vector unsigned char __b,
8289 return (vector bool char)__builtin_s390_vfaebs(__a, __b, 4, __cc);
8292 static inline __ATTRS_o_ai vector bool short
8293 vec_find_any_eq_cc(vector signed short __a, vector signed short __b,
8295 return (vector bool short)
8296 __builtin_s390_vfaehs((vector unsigned short)__a,
8297 (vector unsigned short)__b, 4, __cc);
8300 static inline __ATTRS_o_ai vector bool short
8301 vec_find_any_eq_cc(vector bool short __a, vector bool short __b, int *__cc) {
8302 return (vector bool short)
8303 __builtin_s390_vfaehs((vector unsigned short)__a,
8304 (vector unsigned short)__b, 4, __cc);
8307 static inline __ATTRS_o_ai vector bool short
8308 vec_find_any_eq_cc(vector unsigned short __a, vector unsigned short __b,
8310 return (vector bool short)__builtin_s390_vfaehs(__a, __b, 4, __cc);
8313 static inline __ATTRS_o_ai vector bool int
8314 vec_find_any_eq_cc(vector signed int __a, vector signed int __b, int *__cc) {
8315 return (vector bool int)
8316 __builtin_s390_vfaefs((vector unsigned int)__a,
8317 (vector unsigned int)__b, 4, __cc);
8320 static inline __ATTRS_o_ai vector bool int
8321 vec_find_any_eq_cc(vector bool int __a, vector bool int __b, int *__cc) {
8322 return (vector bool int)
8323 __builtin_s390_vfaefs((vector unsigned int)__a,
8324 (vector unsigned int)__b, 4, __cc);
8327 static inline __ATTRS_o_ai vector bool int
8328 vec_find_any_eq_cc(vector unsigned int __a, vector unsigned int __b,
8330 return (vector bool int)__builtin_s390_vfaefs(__a, __b, 4, __cc);
8335 static inline __ATTRS_o_ai vector signed char
8336 vec_find_any_eq_idx(vector signed char __a, vector signed char __b) {
8337 return (vector signed char)
8338 __builtin_s390_vfaeb((vector unsigned char)__a,
8339 (vector unsigned char)__b, 0);
8342 static inline __ATTRS_o_ai vector unsigned char
8343 vec_find_any_eq_idx(vector bool char __a, vector bool char __b) {
8344 return __builtin_s390_vfaeb((vector unsigned char)__a,
8345 (vector unsigned char)__b, 0);
8348 static inline __ATTRS_o_ai vector unsigned char
8349 vec_find_any_eq_idx(vector unsigned char __a, vector unsigned char __b) {
8353 static inline __ATTRS_o_ai vector signed short
8354 vec_find_any_eq_idx(vector signed short __a, vector signed short __b) {
8355 return (vector signed short)
8356 __builtin_s390_vfaeh((vector unsigned short)__a,
8357 (vector unsigned short)__b, 0);
8360 static inline __ATTRS_o_ai vector unsigned short
8361 vec_find_any_eq_idx(vector bool short __a, vector bool short __b) {
8362 return __builtin_s390_vfaeh((vector unsigned short)__a,
8363 (vector unsigned short)__b, 0);
8366 static inline __ATTRS_o_ai vector unsigned short
8367 vec_find_any_eq_idx(vector unsigned short __a, vector unsigned short __b) {
8371 static inline __ATTRS_o_ai vector signed int
8372 vec_find_any_eq_idx(vector signed int __a, vector signed int __b) {
8373 return (vector signed int)
8374 __builtin_s390_vfaef((vector unsigned int)__a,
8375 (vector unsigned int)__b, 0);
8378 static inline __ATTRS_o_ai vector unsigned int
8379 vec_find_any_eq_idx(vector bool int __a, vector bool int __b) {
8380 return __builtin_s390_vfaef((vector unsigned int)__a,
8381 (vector unsigned int)__b, 0);
8384 static inline __ATTRS_o_ai vector unsigned int
8385 vec_find_any_eq_idx(vector unsigned int __a, vector unsigned int __b) {
8391 static inline __ATTRS_o_ai vector signed char
8392 vec_find_any_eq_idx_cc(vector signed char __a, vector signed char __b,
8394 return (vector signed char)
8395 __builtin_s390_vfaebs((vector unsigned char)__a,
8396 (vector unsigned char)__b, 0, __cc);
8399 static inline __ATTRS_o_ai vector unsigned char
8400 vec_find_any_eq_idx_cc(vector bool char __a, vector bool char __b, int *__cc) {
8401 return __builtin_s390_vfaebs((vector unsigned char)__a,
8402 (vector unsigned char)__b, 0, __cc);
8405 static inline __ATTRS_o_ai vector unsigned char
8406 vec_find_any_eq_idx_cc(vector unsigned char __a, vector unsigned char __b,
8411 static inline __ATTRS_o_ai vector signed short
8412 vec_find_any_eq_idx_cc(vector signed short __a, vector signed short __b,
8414 return (vector signed short)
8415 __builtin_s390_vfaehs((vector unsigned short)__a,
8416 (vector unsigned short)__b, 0, __cc);
8419 static inline __ATTRS_o_ai vector unsigned short
8420 vec_find_any_eq_idx_cc(vector bool short __a, vector bool short __b,
8422 return __builtin_s390_vfaehs((vector unsigned short)__a,
8423 (vector unsigned short)__b, 0, __cc);
8426 static inline __ATTRS_o_ai vector unsigned short
8427 vec_find_any_eq_idx_cc(vector unsigned short __a, vector unsigned short __b,
8432 static inline __ATTRS_o_ai vector signed int
8433 vec_find_any_eq_idx_cc(vector signed int __a, vector signed int __b,
8435 return (vector signed int)
8436 __builtin_s390_vfaefs((vector unsigned int)__a,
8437 (vector unsigned int)__b, 0, __cc);
8440 static inline __ATTRS_o_ai vector unsigned int
8441 vec_find_any_eq_idx_cc(vector bool int __a, vector bool int __b, int *__cc) {
8442 return __builtin_s390_vfaefs((vector unsigned int)__a,
8443 (vector unsigned int)__b, 0, __cc);
8446 static inline __ATTRS_o_ai vector unsigned int
8447 vec_find_any_eq_idx_cc(vector unsigned int __a, vector unsigned int __b,
8454 static inline __ATTRS_o_ai vector signed char
8455 vec_find_any_eq_or_0_idx(vector signed char __a, vector signed char __b) {
8456 return (vector signed char)
8457 __builtin_s390_vfaezb((vector unsigned char)__a,
8458 (vector unsigned char)__b, 0);
8461 static inline __ATTRS_o_ai vector unsigned char
8462 vec_find_any_eq_or_0_idx(vector bool char __a, vector bool char __b) {
8463 return __builtin_s390_vfaezb((vector unsigned char)__a,
8464 (vector unsigned char)__b, 0);
8467 static inline __ATTRS_o_ai vector unsigned char
8468 vec_find_any_eq_or_0_idx(vector unsigned char __a, vector unsigned char __b) {
8472 static inline __ATTRS_o_ai vector signed short
8473 vec_find_any_eq_or_0_idx(vector signed short __a, vector signed short __b) {
8474 return (vector signed short)
8475 __builtin_s390_vfaezh((vector unsigned short)__a,
8476 (vector unsigned short)__b, 0);
8479 static inline __ATTRS_o_ai vector unsigned short
8480 vec_find_any_eq_or_0_idx(vector bool short __a, vector bool short __b) {
8481 return __builtin_s390_vfaezh((vector unsigned short)__a,
8482 (vector unsigned short)__b, 0);
8485 static inline __ATTRS_o_ai vector unsigned short
8486 vec_find_any_eq_or_0_idx(vector unsigned short __a, vector unsigned short __b) {
8490 static inline __ATTRS_o_ai vector signed int
8491 vec_find_any_eq_or_0_idx(vector signed int __a, vector signed int __b) {
8492 return (vector signed int)
8493 __builtin_s390_vfaezf((vector unsigned int)__a,
8494 (vector unsigned int)__b, 0);
8497 static inline __ATTRS_o_ai vector unsigned int
8498 vec_find_any_eq_or_0_idx(vector bool int __a, vector bool int __b) {
8499 return __builtin_s390_vfaezf((vector unsigned int)__a,
8500 (vector unsigned int)__b, 0);
8503 static inline __ATTRS_o_ai vector unsigned int
8504 vec_find_any_eq_or_0_idx(vector unsigned int __a, vector unsigned int __b) {
8510 static inline __ATTRS_o_ai vector signed char
8511 vec_find_any_eq_or_0_idx_cc(vector signed char __a, vector signed char __b,
8513 return (vector signed char)
8514 __builtin_s390_vfaezbs((vector unsigned char)__a,
8515 (vector unsigned char)__b, 0, __cc);
8518 static inline __ATTRS_o_ai vector unsigned char
8519 vec_find_any_eq_or_0_idx_cc(vector bool char __a, vector bool char __b,
8521 return __builtin_s390_vfaezbs((vector unsigned char)__a,
8522 (vector unsigned char)__b, 0, __cc);
8525 static inline __ATTRS_o_ai vector unsigned char
8526 vec_find_any_eq_or_0_idx_cc(vector unsigned char __a, vector unsigned char __b,
8531 static inline __ATTRS_o_ai vector signed short
8532 vec_find_any_eq_or_0_idx_cc(vector signed short __a, vector signed short __b,
8534 return (vector signed short)
8535 __builtin_s390_vfaezhs((vector unsigned short)__a,
8536 (vector unsigned short)__b, 0, __cc);
8539 static inline __ATTRS_o_ai vector unsigned short
8540 vec_find_any_eq_or_0_idx_cc(vector bool short __a, vector bool short __b,
8542 return __builtin_s390_vfaezhs((vector unsigned short)__a,
8543 (vector unsigned short)__b, 0, __cc);
8546 static inline __ATTRS_o_ai vector unsigned short
8547 vec_find_any_eq_or_0_idx_cc(vector unsigned short __a,
8548 vector unsigned short __b, int *__cc) {
8552 static inline __ATTRS_o_ai vector signed int
8553 vec_find_any_eq_or_0_idx_cc(vector signed int __a, vector signed int __b,
8555 return (vector signed int)
8556 __builtin_s390_vfaezfs((vector unsigned int)__a,
8557 (vector unsigned int)__b, 0, __cc);
8560 static inline __ATTRS_o_ai vector unsigned int
8561 vec_find_any_eq_or_0_idx_cc(vector bool int __a, vector bool int __b,
8563 return __builtin_s390_vfaezfs((vector unsigned int)__a,
8564 (vector unsigned int)__b, 0, __cc);
8567 static inline __ATTRS_o_ai vector unsigned int
8568 vec_find_any_eq_or_0_idx_cc(vector unsigned int __a, vector unsigned int __b,
8575 static inline __ATTRS_o_ai vector bool char
8576 vec_find_any_ne(vector signed char __a, vector signed char __b) {
8577 return (vector bool char)
8578 __builtin_s390_vfaeb((vector unsigned char)__a,
8579 (vector unsigned char)__b, 12);
8582 static inline __ATTRS_o_ai vector
8583 vec_find_any_ne(vector bool char __a, vector bool char __b) {
8584 return (vector bool char)
8585 __builtin_s390_vfaeb((vector unsigned char)__a,
8586 (vector unsigned char)__b, 12);
8589 static inline __ATTRS_o_ai vector bool char
8590 vec_find_any_ne(vector unsigned char __a, vector unsigned char __b) {
8591 return (vector bool char)__builtin_s390_vfaeb(__a, __b, 12);
8594 static inline __ATTRS_o_ai vector bool short
8595 vec_find_any_ne(vector signed short __a, vector signed short __b) {
8596 return (vector bool short)
8597 __builtin_s390_vfaeh((vector unsigned short)__a,
8598 (vector unsigned short)__b, 12);
8601 static inline __ATTRS_o_ai vector bool short
8602 vec_find_any_ne(vector bool short __a, vector bool short __b) {
8603 return (vector bool short)
8604 __builtin_s390_vfaeh((vector unsigned short)__a,
8605 (vector unsigned short)__b, 12);
8608 static inline __ATTRS_o_ai vector bool short
8609 vec_find_any_ne(vector unsigned short __a, vector unsigned short __b) {
8610 return (vector bool short)__builtin_s390_vfaeh(__a, __b, 12);
8613 static inline __ATTRS_o_ai vector bool int
8614 vec_find_any_ne(vector signed int __a, vector signed int __b) {
8615 return (vector bool int)
8616 __builtin_s390_vfaef((vector unsigned int)__a,
8617 (vector unsigned int)__b, 12);
8620 static inline __ATTRS_o_ai vector bool int
8621 vec_find_any_ne(vector bool int __a, vector bool int __b) {
8622 return (vector bool int)
8623 __builtin_s390_vfaef((vector unsigned int)__a,
8624 (vector unsigned int)__b, 12);
8627 static inline __ATTRS_o_ai vector bool int
8628 vec_find_any_ne(vector unsigned int __a, vector unsigned int __b) {
8629 return (vector bool int)__builtin_s390_vfaef(__a, __b, 12);
8634 static inline __ATTRS_o_ai vector bool char
8635 vec_find_any_ne_cc(vector signed char __a, vector signed char __b, int *__cc) {
8636 return (vector bool char)
8637 __builtin_s390_vfaebs((vector unsigned char)__a,
8638 (vector unsigned char)__b, 12, __cc);
8641 static inline __ATTRS_o_ai vector bool char
8642 vec_find_any_ne_cc(vector bool char __a, vector bool char __b, int *__cc) {
8643 return (vector bool char)
8644 __builtin_s390_vfaebs((vector unsigned char)__a,
8645 (vector unsigned char)__b, 12, __cc);
8648 static inline __ATTRS_o_ai vector bool char
8649 vec_find_any_ne_cc(vector unsigned char __a, vector unsigned char __b,
8651 return (vector bool char)__builtin_s390_vfaebs(__a, __b, 12, __cc);
8654 static inline __ATTRS_o_ai vector bool short
8655 vec_find_any_ne_cc(vector signed short __a, vector signed short __b,
8657 return (vector bool short)
8658 __builtin_s390_vfaehs((vector unsigned short)__a,
8659 (vector unsigned short)__b, 12, __cc);
8662 static inline __ATTRS_o_ai vector bool short
8663 vec_find_any_ne_cc(vector bool short __a, vector bool short __b, int *__cc) {
8664 return (vector bool short)
8665 __builtin_s390_vfaehs((vector unsigned short)__a,
8666 (vector unsigned short)__b, 12, __cc);
8669 static inline __ATTRS_o_ai vector bool short
8670 vec_find_any_ne_cc(vector unsigned short __a, vector unsigned short __b,
8672 return (vector bool short)__builtin_s390_vfaehs(__a, __b, 12, __cc);
8675 static inline __ATTRS_o_ai vector bool int
8676 vec_find_any_ne_cc(vector signed int __a, vector signed int __b, int *__cc) {
8677 return (vector bool int)
8678 __builtin_s390_vfaefs((vector unsigned int)__a,
8679 (vector unsigned int)__b, 12, __cc);
8682 static inline __ATTRS_o_ai vector bool int
8683 vec_find_any_ne_cc(vector bool int __a, vector bool int __b, int *__cc) {
8684 return (vector bool int)
8685 __builtin_s390_vfaefs((vector unsigned int)__a,
8686 (vector unsigned int)__b, 12, __cc);
8689 static inline __ATTRS_o_ai vector bool int
8690 vec_find_any_ne_cc(vector unsigned int __a, vector unsigned int __b,
8692 return (vector bool int)__builtin_s390_vfaefs(__a, __b, 12, __cc);
8697 static inline __ATTRS_o_ai vector signed char
8698 vec_find_any_ne_idx(vector signed char __a, vector signed char __b) {
8699 return (vector signed char)
8700 __builtin_s390_vfaeb((vector unsigned char)__a,
8701 (vector unsigned char)__b, 8);
8704 static inline __ATTRS_o_ai vector unsigned char
8705 vec_find_any_ne_idx(vector bool char __a, vector bool char __b) {
8706 return __builtin_s390_vfaeb((vector unsigned char)__a,
8707 (vector unsigned char)__b, 8);
8710 static inline __ATTRS_o_ai vector unsigned char
8711 vec_find_any_ne_idx(vector unsigned char __a, vector unsigned char __b) {
8715 static inline __ATTRS_o_ai vector signed short
8716 vec_find_any_ne_idx(vector signed short __a, vector signed short __b) {
8717 return (vector signed short)
8718 __builtin_s390_vfaeh((vector unsigned short)__a,
8719 (vector unsigned short)__b, 8);
8722 static inline __ATTRS_o_ai vector unsigned short
8723 vec_find_any_ne_idx(vector bool short __a, vector bool short __b) {
8724 return __builtin_s390_vfaeh((vector unsigned short)__a,
8725 (vector unsigned short)__b, 8);
8728 static inline __ATTRS_o_ai vector unsigned short
8729 vec_find_any_ne_idx(vector unsigned short __a, vector unsigned short __b) {
8733 static inline __ATTRS_o_ai vector signed int
8734 vec_find_any_ne_idx(vector signed int __a, vector signed int __b) {
8735 return (vector signed int)
8736 __builtin_s390_vfaef((vector unsigned int)__a,
8737 (vector unsigned int)__b, 8);
8740 static inline __ATTRS_o_ai vector unsigned int
8741 vec_find_any_ne_idx(vector bool int __a, vector bool int __b) {
8742 return __builtin_s390_vfaef((vector unsigned int)__a,
8743 (vector unsigned int)__b, 8);
8746 static inline __ATTRS_o_ai vector unsigned int
8747 vec_find_any_ne_idx(vector unsigned int __a, vector unsigned int __b) {
8753 static inline __ATTRS_o_ai vector signed char
8754 vec_find_any_ne_idx_cc(vector signed char __a, vector signed char __b,
8756 return (vector signed char)
8757 __builtin_s390_vfaebs((vector unsigned char)__a,
8758 (vector unsigned char)__b, 8, __cc);
8761 static inline __ATTRS_o_ai vector unsigned char
8762 vec_find_any_ne_idx_cc(vector bool char __a, vector bool char __b, int *__cc) {
8763 return __builtin_s390_vfaebs((vector unsigned char)__a,
8764 (vector unsigned char)__b, 8, __cc);
8767 static inline __ATTRS_o_ai vector unsigned char
8768 vec_find_any_ne_idx_cc(vector unsigned char __a, vector unsigned char __b,
8773 static inline __ATTRS_o_ai vector signed short
8774 vec_find_any_ne_idx_cc(vector signed short __a, vector signed short __b,
8776 return (vector signed short)
8777 __builtin_s390_vfaehs((vector unsigned short)__a,
8778 (vector unsigned short)__b, 8, __cc);
8781 static inline __ATTRS_o_ai vector unsigned short
8782 vec_find_any_ne_idx_cc(vector bool short __a, vector bool short __b,
8784 return __builtin_s390_vfaehs((vector unsigned short)__a,
8785 (vector unsigned short)__b, 8, __cc);
8788 static inline __ATTRS_o_ai vector unsigned short
8789 vec_find_any_ne_idx_cc(vector unsigned short __a, vector unsigned short __b,
8794 static inline __ATTRS_o_ai vector signed int
8795 vec_find_any_ne_idx_cc(vector signed int __a, vector signed int __b,
8797 return (vector signed int)
8798 __builtin_s390_vfaefs((vector unsigned int)__a,
8799 (vector unsigned int)__b, 8, __cc);
8802 static inline __ATTRS_o_ai vector unsigned int
8803 vec_find_any_ne_idx_cc(vector bool int __a, vector bool int __b, int *__cc) {
8804 return __builtin_s390_vfaefs((vector unsigned int)__a,
8805 (vector unsigned int)__b, 8, __cc);
8808 static inline __ATTRS_o_ai vector unsigned int
8809 vec_find_any_ne_idx_cc(vector unsigned int __a, vector unsigned int __b,
8816 static inline __ATTRS_o_ai vector signed char
8817 vec_find_any_ne_or_0_idx(vector signed char __a, vector signed char __b) {
8818 return (vector signed char)
8819 __builtin_s390_vfaezb((vector unsigned char)__a,
8820 (vector unsigned char)__b, 8);
8823 static inline __ATTRS_o_ai vector unsigned char
8824 vec_find_any_ne_or_0_idx(vector bool char __a, vector bool char __b) {
8825 return __builtin_s390_vfaezb((vector unsigned char)__a,
8826 (vector unsigned char)__b, 8);
8829 static inline __ATTRS_o_ai vector unsigned char
8830 vec_find_any_ne_or_0_idx(vector unsigned char __a, vector unsigned char __b) {
8834 static inline __ATTRS_o_ai vector signed short
8835 vec_find_any_ne_or_0_idx(vector signed short __a, vector signed short __b) {
8836 return (vector signed short)
8837 __builtin_s390_vfaezh((vector unsigned short)__a,
8838 (vector unsigned short)__b, 8);
8841 static inline __ATTRS_o_ai vector unsigned short
8842 vec_find_any_ne_or_0_idx(vector bool short __a, vector bool short __b) {
8843 return __builtin_s390_vfaezh((vector unsigned short)__a,
8844 (vector unsigned short)__b, 8);
8847 static inline __ATTRS_o_ai vector unsigned short
8848 vec_find_any_ne_or_0_idx(vector unsigned short __a, vector unsigned short __b) {
8852 static inline __ATTRS_o_ai vector signed int
8853 vec_find_any_ne_or_0_idx(vector signed int __a, vector signed int __b) {
8854 return (vector signed int)
8855 __builtin_s390_vfaezf((vector unsigned int)__a,
8856 (vector unsigned int)__b, 8);
8859 static inline __ATTRS_o_ai vector unsigned int
8860 vec_find_any_ne_or_0_idx(vector bool int __a, vector bool int __b) {
8861 return __builtin_s390_vfaezf((vector unsigned int)__a,
8862 (vector unsigned int)__b, 8);
8865 static inline __ATTRS_o_ai vector unsigned int
8866 vec_find_any_ne_or_0_idx(vector unsigned int __a, vector unsigned int __b) {
8872 static inline __ATTRS_o_ai vector signed char
8873 vec_find_any_ne_or_0_idx_cc(vector signed char __a, vector signed char __b,
8875 return (vector signed char)
8876 __builtin_s390_vfaezbs((vector unsigned char)__a,
8877 (vector unsigned char)__b, 8, __cc);
8880 static inline __ATTRS_o_ai vector unsigned char
8881 vec_find_any_ne_or_0_idx_cc(vector bool char __a, vector bool char __b,
8883 return __builtin_s390_vfaezbs((vector unsigned char)__a,
8884 (vector unsigned char)__b, 8, __cc);
8887 static inline __ATTRS_o_ai vector unsigned char
8888 vec_find_any_ne_or_0_idx_cc(vector unsigned char __a, vector unsigned char __b,
8893 static inline __ATTRS_o_ai vector signed short
8894 vec_find_any_ne_or_0_idx_cc(vector signed short __a, vector signed short __b,
8896 return (vector signed short)
8897 __builtin_s390_vfaezhs((vector unsigned short)__a,
8898 (vector unsigned short)__b, 8, __cc);
8901 static inline __ATTRS_o_ai vector unsigned short
8902 vec_find_any_ne_or_0_idx_cc(vector bool short __a, vector bool short __b,
8904 return __builtin_s390_vfaezhs((vector unsigned short)__a,
8905 (vector unsigned short)__b, 8, __cc);
8908 static inline __ATTRS_o_ai vector unsigned short
8909 vec_find_any_ne_or_0_idx_cc(vector unsigned short __a,
8910 vector unsigned short __b, int *__cc) {
8914 static inline __ATTRS_o_ai vector signed int
8915 vec_find_any_ne_or_0_idx_cc(vector signed int __a, vector signed int __b,
8917 return (vector signed int)
8918 __builtin_s390_vfaezfs((vector unsigned int)__a,
8919 (vector unsigned int)__b, 8, __cc);
8922 static inline __ATTRS_o_ai vector unsigned int
8923 vec_find_any_ne_or_0_idx_cc(vector bool int __a, vector bool int __b,
8925 return __builtin_s390_vfaezfs((vector unsigned int)__a,
8926 (vector unsigned int)__b, 8, __cc);
8929 static inline __ATTRS_o_ai vector unsigned int
8930 vec_find_any_ne_or_0_idx_cc(vector unsigned int __a, vector unsigned int __b,
8944 #error "Use -fzvector to enable vector extensions"