Lines Matching full:unsigned

29 extern __ATTRS_o unsigned int
30 __lcbb(const void *__ptr, unsigned short __len)
50 static inline __ATTRS_o_ai unsigned char
55 static inline __ATTRS_o_ai unsigned char
56 vec_extract(__vector unsigned char __vec, int __index) {
65 static inline __ATTRS_o_ai unsigned short
70 static inline __ATTRS_o_ai unsigned short
71 vec_extract(__vector unsigned short __vec, int __index) {
80 static inline __ATTRS_o_ai unsigned int
85 static inline __ATTRS_o_ai unsigned int
86 vec_extract(__vector unsigned int __vec, int __index) {
95 static inline __ATTRS_o_ai unsigned long long
100 static inline __ATTRS_o_ai unsigned long long
101 vec_extract(__vector unsigned long long __vec, int __index) {
126 static inline __ATTRS_o_ai __vector unsigned char
127 vec_insert(unsigned char __scalar, __vector __bool char __vec, int __index) {
128 __vector unsigned char __newvec = (__vector unsigned char)__vec;
129 __newvec[__index & 15] = (unsigned char)__scalar;
133 static inline __ATTRS_o_ai __vector unsigned char
134 vec_insert(unsigned char __scalar, __vector unsigned char __vec, int __index) {
146 static inline __ATTRS_o_ai __vector unsigned short
147 vec_insert(unsigned short __scalar, __vector __bool short __vec,
149 __vector unsigned short __newvec = (__vector unsigned short)__vec;
150 __newvec[__index & 7] = (unsigned short)__scalar;
154 static inline __ATTRS_o_ai __vector unsigned short
155 vec_insert(unsigned short __scalar, __vector unsigned short __vec,
168 static inline __ATTRS_o_ai __vector unsigned int
169 vec_insert(unsigned int __scalar, __vector __bool int __vec, int __index) {
170 __vector unsigned int __newvec = (__vector unsigned int)__vec;
175 static inline __ATTRS_o_ai __vector unsigned int
176 vec_insert(unsigned int __scalar, __vector unsigned int __vec, int __index) {
189 static inline __ATTRS_o_ai __vector unsigned long long
190 vec_insert(unsigned long long __scalar, __vector __bool long long __vec,
192 __vector unsigned long long __newvec = (__vector unsigned long long)__vec;
197 static inline __ATTRS_o_ai __vector unsigned long long
198 vec_insert(unsigned long long __scalar, __vector unsigned long long __vec,
229 static inline __ATTRS_o_ai __vector unsigned char
230 vec_promote(unsigned char __scalar, int __index) {
231 const __vector unsigned char __zero = (__vector unsigned char)0;
232 __vector unsigned char __vec = __builtin_shufflevector(__zero, __zero,
247 static inline __ATTRS_o_ai __vector unsigned short
248 vec_promote(unsigned short __scalar, int __index) {
249 const __vector unsigned short __zero = (__vector unsigned short)0;
250 __vector unsigned short __vec = __builtin_shufflevector(__zero, __zero,
265 static inline __ATTRS_o_ai __vector unsigned int
266 vec_promote(unsigned int __scalar, int __index) {
267 const __vector unsigned int __zero = (__vector unsigned int)0;
268 __vector unsigned int __vec = __builtin_shufflevector(__zero, __zero,
283 static inline __ATTRS_o_ai __vector unsigned long long
284 vec_promote(unsigned long long __scalar, int __index) {
285 const __vector unsigned long long __zero = (__vector unsigned long long)0;
286 __vector unsigned long long __vec = __builtin_shufflevector(__zero, __zero,
320 static inline __ATTRS_o_ai __vector unsigned char
321 vec_insert_and_zero(const unsigned char *__ptr) {
322 __vector unsigned char __vec = (__vector unsigned char)0;
334 static inline __ATTRS_o_ai __vector unsigned short
335 vec_insert_and_zero(const unsigned short *__ptr) {
336 __vector unsigned short __vec = (__vector unsigned short)0;
348 static inline __ATTRS_o_ai __vector unsigned int
349 vec_insert_and_zero(const unsigned int *__ptr) {
350 __vector unsigned int __vec = (__vector unsigned int)0;
362 static inline __ATTRS_o_ai __vector unsigned long long
363 vec_insert_and_zero(const unsigned long long *__ptr) {
364 __vector unsigned long long __vec = (__vector unsigned long long)0;
389 __vector unsigned char __c) {
391 (__vector unsigned char)__a, (__vector unsigned char)__b, __c);
394 static inline __ATTRS_o_ai __vector unsigned char
395 vec_perm(__vector unsigned char __a, __vector unsigned char __b,
396 __vector unsigned char __c) {
397 return (__vector unsigned char)__builtin_s390_vperm(
398 (__vector unsigned char)__a, (__vector unsigned char)__b, __c);
403 __vector unsigned char __c) {
405 (__vector unsigned char)__a, (__vector unsigned char)__b, __c);
410 __vector unsigned char __c) {
412 (__vector unsigned char)__a, (__vector unsigned char)__b, __c);
415 static inline __ATTRS_o_ai __vector unsigned short
416 vec_perm(__vector unsigned short __a, __vector unsigned short __b,
417 __vector unsigned char __c) {
418 return (__vector unsigned short)__builtin_s390_vperm(
419 (__vector unsigned char)__a, (__vector unsigned char)__b, __c);
424 __vector unsigned char __c) {
426 (__vector unsigned char)__a, (__vector unsigned char)__b, __c);
431 __vector unsigned char __c) {
433 (__vector unsigned char)__a, (__vector unsigned char)__b, __c);
436 static inline __ATTRS_o_ai __vector unsigned int
437 vec_perm(__vector unsigned int __a, __vector unsigned int __b,
438 __vector unsigned char __c) {
439 return (__vector unsigned int)__builtin_s390_vperm(
440 (__vector unsigned char)__a, (__vector unsigned char)__b, __c);
445 __vector unsigned char __c) {
447 (__vector unsigned char)__a, (__vector unsigned char)__b, __c);
452 __vector unsigned char __c) {
454 (__vector unsigned char)__a, (__vector unsigned char)__b, __c);
457 static inline __ATTRS_o_ai __vector unsigned long long
458 vec_perm(__vector unsigned long long __a, __vector unsigned long long __b,
459 __vector unsigned char __c) {
460 return (__vector unsigned long long)__builtin_s390_vperm(
461 (__vector unsigned char)__a, (__vector unsigned char)__b, __c);
466 __vector unsigned char __c) {
468 (__vector unsigned char)__a, (__vector unsigned char)__b, __c);
473 __vector unsigned char __c) {
475 (__vector unsigned char)__a, (__vector unsigned char)__b, __c);
478 static inline __ATTRS_o_ai __vector unsigned __int128
479 vec_perm(__vector unsigned __int128 __a, __vector unsigned __int128 __b,
480 __vector unsigned char __c) {
481 return (__vector unsigned __int128)__builtin_s390_vperm(
482 (__vector unsigned char)__a, (__vector unsigned char)__b, __c);
487 __vector unsigned char __c) {
489 (__vector unsigned char)__a, (__vector unsigned char)__b, __c);
495 __vector unsigned char __c) {
497 (__vector unsigned char)__a, (__vector unsigned char)__b, __c);
503 __vector unsigned char __c) {
505 (__vector unsigned char)__a, (__vector unsigned char)__b, __c);
517 extern __ATTRS_o __vector unsigned long long
518 vec_permi(__vector unsigned long long __a, __vector unsigned long long __b,
534 __builtin_s390_vpdi((__vector unsigned long long)(X), \
535 (__vector unsigned long long)(Y), \
541 static inline __ATTRS_ai __vector unsigned long long
542 vec_bperm(__vector unsigned __int128 __a, __vector unsigned char __b) {
543 return __builtin_s390_vbperm((__vector unsigned char)__a, __b);
551 static inline __ATTRS_ai __vector unsigned long long
552 vec_bperm_u128(__vector unsigned char __a, __vector unsigned char __b) {
562 __builtin_s390_vlbrh((__vector unsigned short)__vec);
565 static inline __ATTRS_o_ai __vector unsigned short
566 vec_revb(__vector unsigned short __vec) {
573 __builtin_s390_vlbrf((__vector unsigned int)__vec);
576 static inline __ATTRS_o_ai __vector unsigned int
577 vec_revb(__vector unsigned int __vec) {
584 __builtin_s390_vlbrg((__vector unsigned long long)__vec);
587 static inline __ATTRS_o_ai __vector unsigned long long
588 vec_revb(__vector unsigned long long __vec) {
595 __builtin_s390_vlbrq((unsigned __int128)__vec);
598 static inline __ATTRS_o_ai __vector unsigned __int128
599 vec_revb(__vector unsigned __int128 __vec) {
600 return (__vector unsigned __int128)
601 __builtin_s390_vlbrq((unsigned __int128)__vec);
608 __builtin_s390_vlbrf((__vector unsigned int)__vec);
615 __builtin_s390_vlbrg((__vector unsigned long long)__vec);
628 static inline __ATTRS_o_ai __vector unsigned char
629 vec_reve(__vector unsigned char __vec) {
630 return (__vector unsigned char) { __vec[15], __vec[14], __vec[13], __vec[12],
650 static inline __ATTRS_o_ai __vector unsigned short
651 vec_reve(__vector unsigned short __vec) {
652 return (__vector unsigned short) { __vec[7], __vec[6], __vec[5], __vec[4],
667 static inline __ATTRS_o_ai __vector unsigned int
668 vec_reve(__vector unsigned int __vec) {
669 return (__vector unsigned int) { __vec[3], __vec[2], __vec[1], __vec[0] };
682 static inline __ATTRS_o_ai __vector unsigned long long
683 vec_reve(__vector unsigned long long __vec) {
684 return (__vector unsigned long long) { __vec[1], __vec[0] };
708 __vector unsigned char __c) {
722 __vector unsigned char __c) {
733 static inline __ATTRS_o_ai __vector unsigned char
734 vec_sel(__vector unsigned char __a, __vector unsigned char __b,
735 __vector unsigned char __c) {
739 static inline __ATTRS_o_ai __vector unsigned char
740 vec_sel(__vector unsigned char __a, __vector unsigned char __b,
742 return (((__vector unsigned char)__c & __b) |
743 (~(__vector unsigned char)__c & __a));
748 __vector unsigned short __c) {
762 __vector unsigned short __c) {
773 static inline __ATTRS_o_ai __vector unsigned short
774 vec_sel(__vector unsigned short __a, __vector unsigned short __b,
775 __vector unsigned short __c) {
779 static inline __ATTRS_o_ai __vector unsigned short
780 vec_sel(__vector unsigned short __a, __vector unsigned short __b,
782 return (((__vector unsigned short)__c & __b) |
783 (~(__vector unsigned short)__c & __a));
788 __vector unsigned int __c) {
802 __vector unsigned int __c) {
813 static inline __ATTRS_o_ai __vector unsigned int
814 vec_sel(__vector unsigned int __a, __vector unsigned int __b,
815 __vector unsigned int __c) {
819 static inline __ATTRS_o_ai __vector unsigned int
820 vec_sel(__vector unsigned int __a, __vector unsigned int __b,
822 return (((__vector unsigned int)__c & __b) |
823 (~(__vector unsigned int)__c & __a));
828 __vector unsigned long long __c) {
842 __vector unsigned long long __c) {
853 static inline __ATTRS_o_ai __vector unsigned long long
854 vec_sel(__vector unsigned long long __a, __vector unsigned long long __b,
855 __vector unsigned long long __c) {
859 static inline __ATTRS_o_ai __vector unsigned long long
860 vec_sel(__vector unsigned long long __a, __vector unsigned long long __b,
862 return (((__vector unsigned long long)__c & __b) |
863 (~(__vector unsigned long long)__c & __a));
868 __vector unsigned __int128 __c) {
882 __vector unsigned __int128 __c) {
893 static inline __ATTRS_o_ai __vector unsigned __int128
894 vec_sel(__vector unsigned __int128 __a, __vector unsigned __int128 __b,
895 __vector unsigned __int128 __c) {
899 static inline __ATTRS_o_ai __vector unsigned __int128
900 vec_sel(__vector unsigned __int128 __a, __vector unsigned __int128 __b,
902 return (((__vector unsigned __int128)__c & __b) |
903 (~(__vector unsigned __int128)__c & __a));
908 vec_sel(__vector float __a, __vector float __b, __vector unsigned int __c) {
909 return (__vector float)((__c & (__vector unsigned int)__b) |
910 (~__c & (__vector unsigned int)__a));
915 __vector unsigned int __ac = (__vector unsigned int)__a;
916 __vector unsigned int __bc = (__vector unsigned int)__b;
917 __vector unsigned int __cc = (__vector unsigned int)__c;
924 __vector unsigned long long __c) {
925 return (__vector double)((__c & (__vector unsigned long long)__b) |
926 (~__c & (__vector unsigned long long)__a));
932 __vector unsigned long long __ac = (__vector unsigned long long)__a;
933 __vector unsigned long long __bc = (__vector unsigned long long)__b;
934 __vector unsigned long long __cc = (__vector unsigned long long)__c;
942 __vector unsigned int __offset,
952 __vector unsigned int __offset,
953 const unsigned int *__ptr, int __index)
955 __vec[__index] = *(const unsigned int *)(
960 static inline __ATTRS_o_ai __vector unsigned int
961 vec_gather_element(__vector unsigned int __vec,
962 __vector unsigned int __offset,
963 const unsigned int *__ptr, int __index)
965 __vec[__index] = *(const unsigned int *)(
972 __vector unsigned long long __offset,
982 __vector unsigned long long __offset,
983 const unsigned long long *__ptr, int __index)
985 __vec[__index] = *(const unsigned long long *)(
990 static inline __ATTRS_o_ai __vector unsigned long long
991 vec_gather_element(__vector unsigned long long __vec,
992 __vector unsigned long long __offset,
993 const unsigned long long *__ptr, int __index)
995 __vec[__index] = *(const unsigned long long *)(
1003 __vector unsigned int __offset,
1014 __vector unsigned long long __offset,
1026 __vector unsigned int __offset,
1035 __vector unsigned int __offset,
1036 unsigned int *__ptr, int __index)
1038 *(unsigned int *)((char *)__ptr + __offset[__index]) =
1043 vec_scatter_element(__vector unsigned int __vec,
1044 __vector unsigned int __offset,
1045 unsigned int *__ptr, int __index)
1047 *(unsigned int *)((char *)__ptr + __offset[__index]) =
1053 __vector unsigned long long __offset,
1062 __vector unsigned long long __offset,
1063 unsigned long long *__ptr, int __index)
1065 *(unsigned long long *)((char *)__ptr + __offset[__index]) =
1070 vec_scatter_element(__vector unsigned long long __vec,
1071 __vector unsigned long long __offset,
1072 unsigned long long *__ptr, int __index)
1074 *(unsigned long long *)((char *)__ptr + __offset[__index]) =
1081 __vector unsigned int __offset,
1091 __vector unsigned long long __offset,
1108 static inline __ATTRS_o_ai __vector unsigned char
1109 vec_xl(long __offset, const unsigned char *__ptr) {
1110 __vector unsigned char V;
1112 sizeof(__vector unsigned char));
1124 static inline __ATTRS_o_ai __vector unsigned short
1125 vec_xl(long __offset, const unsigned short *__ptr) {
1126 __vector unsigned short V;
1128 sizeof(__vector unsigned short));
1140 static inline __ATTRS_o_ai __vector unsigned int
1141 vec_xl(long __offset, const unsigned int *__ptr) {
1142 __vector unsigned int V;
1144 sizeof(__vector unsigned int));
1156 static inline __ATTRS_o_ai __vector unsigned long long
1157 vec_xl(long __offset, const unsigned long long *__ptr) {
1158 __vector unsigned long long V;
1160 sizeof(__vector unsigned long long));
1172 static inline __ATTRS_o_ai __vector unsigned __int128
1173 vec_xl(long __offset, const unsigned __int128 *__ptr) {
1174 __vector unsigned __int128 V;
1176 sizeof(__vector unsigned __int128));
1210 static inline __ATTRS_o_ai __vector unsigned char
1211 vec_xld2(long __offset, const unsigned char *__ptr) {
1212 __vector unsigned char V;
1214 sizeof(__vector unsigned char));
1228 static inline __ATTRS_o_ai __vector unsigned short
1229 vec_xld2(long __offset, const unsigned short *__ptr) {
1230 __vector unsigned short V;
1232 sizeof(__vector unsigned short));
1246 static inline __ATTRS_o_ai __vector unsigned int
1247 vec_xld2(long __offset, const unsigned int *__ptr) {
1248 __vector unsigned int V;
1250 sizeof(__vector unsigned int));
1264 static inline __ATTRS_o_ai __vector unsigned long long
1265 vec_xld2(long __offset, const unsigned long long *__ptr) {
1266 __vector unsigned long long V;
1268 sizeof(__vector unsigned long long));
1293 static inline __ATTRS_o_ai __vector unsigned char
1294 vec_xlw4(long __offset, const unsigned char *__ptr) {
1295 __vector unsigned char V;
1297 sizeof(__vector unsigned char));
1311 static inline __ATTRS_o_ai __vector unsigned short
1312 vec_xlw4(long __offset, const unsigned short *__ptr) {
1313 __vector unsigned short V;
1315 sizeof(__vector unsigned short));
1329 static inline __ATTRS_o_ai __vector unsigned int
1330 vec_xlw4(long __offset, const unsigned int *__ptr) {
1331 __vector unsigned int V;
1333 sizeof(__vector unsigned int));
1347 vec_xst(__vector unsigned char __vec, long __offset, unsigned char *__ptr) {
1348 __vector unsigned char V = __vec;
1350 sizeof(__vector unsigned char));
1361 vec_xst(__vector unsigned short __vec, long __offset, unsigned short *__ptr) {
1362 __vector unsigned short V = __vec;
1364 sizeof(__vector unsigned short));
1374 vec_xst(__vector unsigned int __vec, long __offset, unsigned int *__ptr) {
1375 __vector unsigned int V = __vec;
1377 sizeof(__vector unsigned int));
1389 vec_xst(__vector unsigned long long __vec, long __offset,
1390 unsigned long long *__ptr) {
1391 __vector unsigned long long V = __vec;
1393 sizeof(__vector unsigned long long));
1405 vec_xst(__vector unsigned __int128 __vec, long __offset,
1406 unsigned __int128 *__ptr) {
1407 __vector unsigned __int128 V = __vec;
1409 sizeof(__vector unsigned __int128));
1438 vec_xstd2(__vector unsigned char __vec, long __offset, unsigned char *__ptr) {
1439 __vector unsigned char V = __vec;
1441 sizeof(__vector unsigned char));
1454 vec_xstd2(__vector unsigned short __vec, long __offset, unsigned short *__ptr) {
1455 __vector unsigned short V = __vec;
1457 sizeof(__vector unsigned short));
1469 vec_xstd2(__vector unsigned int __vec, long __offset, unsigned int *__ptr) {
1470 __vector unsigned int V = __vec;
1472 sizeof(__vector unsigned int));
1486 vec_xstd2(__vector unsigned long long __vec, long __offset,
1487 unsigned long long *__ptr) {
1488 __vector unsigned long long V = __vec;
1490 sizeof(__vector unsigned long long));
1512 vec_xstw4(__vector unsigned char __vec, long __offset, unsigned char *__ptr) {
1513 __vector unsigned char V = __vec;
1515 sizeof(__vector unsigned char));
1528 vec_xstw4(__vector unsigned short __vec, long __offset, unsigned short *__ptr) {
1529 __vector unsigned short V = __vec;
1531 sizeof(__vector unsigned short));
1543 vec_xstw4(__vector unsigned int __vec, long __offset, unsigned int *__ptr) {
1544 __vector unsigned int V = __vec;
1546 sizeof(__vector unsigned int));
1552 vec_load_bndry(const signed char *__ptr, unsigned short __len)
1555 extern __ATTRS_o __vector unsigned char
1556 vec_load_bndry(const unsigned char *__ptr, unsigned short __len)
1560 vec_load_bndry(const signed short *__ptr, unsigned short __len)
1563 extern __ATTRS_o __vector unsigned short
1564 vec_load_bndry(const unsigned short *__ptr, unsigned short __len)
1568 vec_load_bndry(const signed int *__ptr, unsigned short __len)
1571 extern __ATTRS_o __vector unsigned int
1572 vec_load_bndry(const unsigned int *__ptr, unsigned short __len)
1576 vec_load_bndry(const signed long long *__ptr, unsigned short __len)
1579 extern __ATTRS_o __vector unsigned long long
1580 vec_load_bndry(const unsigned long long *__ptr, unsigned short __len)
1584 vec_load_bndry(const signed __int128 *__ptr, unsigned short __len)
1587 extern __ATTRS_o __vector unsigned __int128
1588 vec_load_bndry(const unsigned __int128 *__ptr, unsigned short __len)
1593 vec_load_bndry(const float *__ptr, unsigned short __len)
1598 vec_load_bndry(const double *__ptr, unsigned short __len)
1613 vec_load_len(const signed char *__ptr, unsigned int __len) {
1617 static inline __ATTRS_o_ai __vector unsigned char
1618 vec_load_len(const unsigned char *__ptr, unsigned int __len) {
1619 return (__vector unsigned char)__builtin_s390_vll(__len, __ptr);
1624 vec_load_len(const signed short *__ptr, unsigned int __len) {
1629 static inline __ATTRS_o_ai __vector unsigned short
1630 vec_load_len(const unsigned short *__ptr, unsigned int __len) {
1631 return (__vector unsigned short)__builtin_s390_vll(__len, __ptr);
1636 vec_load_len(const signed int *__ptr, unsigned int __len) {
1641 static inline __ATTRS_o_ai __vector unsigned int
1642 vec_load_len(const unsigned int *__ptr, unsigned int __len) {
1643 return (__vector unsigned int)__builtin_s390_vll(__len, __ptr);
1648 vec_load_len(const signed long long *__ptr, unsigned int __len) {
1653 static inline __ATTRS_o_ai __vector unsigned long long
1654 vec_load_len(const unsigned long long *__ptr, unsigned int __len) {
1655 return (__vector unsigned long long)__builtin_s390_vll(__len, __ptr);
1661 vec_load_len(const float *__ptr, unsigned int __len) {
1668 vec_load_len(const double *__ptr, unsigned int __len) {
1676 vec_load_len_r(const signed char *__ptr, unsigned int __len) {
1680 static inline __ATTRS_o_ai __vector unsigned char
1681 vec_load_len_r(const unsigned char *__ptr, unsigned int __len) {
1682 return (__vector unsigned char)__builtin_s390_vlrlr(__len, __ptr);
1690 unsigned int __len) {
1695 vec_store_len(__vector unsigned char __vec, unsigned char *__ptr,
1696 unsigned int __len) {
1703 unsigned int __len) {
1709 vec_store_len(__vector unsigned short __vec, unsigned short *__ptr,
1710 unsigned int __len) {
1717 unsigned int __len) {
1723 vec_store_len(__vector unsigned int __vec, unsigned int *__ptr,
1724 unsigned int __len) {
1731 unsigned int __len) {
1737 vec_store_len(__vector unsigned long long __vec, unsigned long long *__ptr,
1738 unsigned int __len) {
1746 unsigned int __len) {
1754 unsigned int __len) {
1763 unsigned int __len) {
1768 vec_store_len_r(__vector unsigned char __vec, unsigned char *__ptr,
1769 unsigned int __len) {
1781 static inline __ATTRS_o_ai __vector unsigned long long
1782 vec_load_pair(unsigned long long __a, unsigned long long __b) {
1783 return (__vector unsigned long long)(__a, __b);
1788 static inline __ATTRS_o_ai __vector unsigned char
1789 vec_genmask(unsigned short __mask)
1791 return (__vector unsigned char)(
1812 static inline __ATTRS_o_ai __vector unsigned char
1813 vec_genmasks_8(unsigned char __first, unsigned char __last)
1815 unsigned char __bit1 = __first & 7;
1816 unsigned char __bit2 = __last & 7;
1817 unsigned char __mask1 = (unsigned char)(1U << (7 - __bit1) << 1) - 1;
1818 unsigned char __mask2 = (unsigned char)(1U << (7 - __bit2)) - 1;
1819 unsigned char __value = (__bit1 <= __bit2 ?
1822 return (__vector unsigned char)__value;
1825 static inline __ATTRS_o_ai __vector unsigned short
1826 vec_genmasks_16(unsigned char __first, unsigned char __last)
1828 unsigned char __bit1 = __first & 15;
1829 unsigned char __bit2 = __last & 15;
1830 unsigned short __mask1 = (unsigned short)(1U << (15 - __bit1) << 1) - 1;
1831 unsigned short __mask2 = (unsigned short)(1U << (15 - __bit2)) - 1;
1832 unsigned short __value = (__bit1 <= __bit2 ?
1835 return (__vector unsigned short)__value;
1838 static inline __ATTRS_o_ai __vector unsigned int
1839 vec_genmasks_32(unsigned char __first, unsigned char __last)
1841 unsigned char __bit1 = __first & 31;
1842 unsigned char __bit2 = __last & 31;
1843 unsigned int __mask1 = (1U << (31 - __bit1) << 1) - 1;
1844 unsigned int __mask2 = (1U << (31 - __bit2)) - 1;
1845 unsigned int __value = (__bit1 <= __bit2 ?
1848 return (__vector unsigned int)__value;
1851 static inline __ATTRS_o_ai __vector unsigned long long
1852 vec_genmasks_64(unsigned char __first, unsigned char __last)
1854 unsigned char __bit1 = __first & 63;
1855 unsigned char __bit2 = __last & 63;
1856 unsigned long long __mask1 = (1ULL << (63 - __bit1) << 1) - 1;
1857 unsigned long long __mask2 = (1ULL << (63 - __bit2)) - 1;
1858 unsigned long long __value = (__bit1 <= __bit2 ?
1861 return (__vector unsigned long long)__value;
1867 static inline __ATTRS_ai __vector unsigned char
1868 vec_gen_element_masks_8(__vector unsigned short __mask) {
1872 static inline __ATTRS_ai __vector unsigned short
1873 vec_gen_element_masks_16(__vector unsigned char __mask) {
1877 static inline __ATTRS_ai __vector unsigned int
1878 vec_gen_element_masks_32(__vector unsigned char __mask) {
1882 static inline __ATTRS_ai __vector unsigned long long
1883 vec_gen_element_masks_64(__vector unsigned char __mask) {
1887 static inline __ATTRS_ai __vector unsigned __int128
1888 vec_gen_element_masks_128(__vector unsigned char __mask) {
1889 return (__vector unsigned __int128)__builtin_s390_vgemq(__mask);
1904 return (__vector __bool char)(__vector unsigned char)__vec[__index];
1907 static inline __ATTRS_o_ai __vector unsigned char
1908 vec_splat(__vector unsigned char __vec, int __index)
1910 return (__vector unsigned char)__vec[__index];
1922 return (__vector __bool short)(__vector unsigned short)__vec[__index];
1925 static inline __ATTRS_o_ai __vector unsigned short
1926 vec_splat(__vector unsigned short __vec, int __index)
1928 return (__vector unsigned short)__vec[__index];
1940 return (__vector __bool int)(__vector unsigned int)__vec[__index];
1943 static inline __ATTRS_o_ai __vector unsigned int
1944 vec_splat(__vector unsigned int __vec, int __index)
1946 return (__vector unsigned int)__vec[__index];
1959 (__vector unsigned long long)__vec[__index]);
1962 static inline __ATTRS_o_ai __vector unsigned long long
1963 vec_splat(__vector unsigned long long __vec, int __index)
1965 return (__vector unsigned long long)__vec[__index];
2010 static inline __ATTRS_ai __vector unsigned char
2011 vec_splat_u8(unsigned char __scalar)
2013 return (__vector unsigned char)__scalar;
2016 static inline __ATTRS_ai __vector unsigned short
2017 vec_splat_u16(unsigned short __scalar)
2019 return (__vector unsigned short)__scalar;
2022 static inline __ATTRS_ai __vector unsigned int
2025 return (__vector unsigned int)(signed int)__scalar;
2028 static inline __ATTRS_ai __vector unsigned long long
2031 return (__vector unsigned long long)(signed long long)__scalar;
2041 static inline __ATTRS_o_ai __vector unsigned char
2042 vec_splats(unsigned char __scalar) {
2043 return (__vector unsigned char)__scalar;
2051 static inline __ATTRS_o_ai __vector unsigned short
2052 vec_splats(unsigned short __scalar) {
2053 return (__vector unsigned short)__scalar;
2061 static inline __ATTRS_o_ai __vector unsigned int
2062 vec_splats(unsigned int __scalar) {
2063 return (__vector unsigned int)__scalar;
2071 static inline __ATTRS_o_ai __vector unsigned long long
2072 vec_splats(unsigned long long __scalar) {
2073 return (__vector unsigned long long)__scalar;
2081 static inline __ATTRS_o_ai __vector unsigned __int128
2082 vec_splats(unsigned __int128 __scalar) {
2083 return (__vector unsigned __int128)__scalar;
2131 static inline __ATTRS_o_ai __vector unsigned char
2132 vec_mergeh(__vector unsigned char __a, __vector unsigned char __b) {
2133 return (__vector unsigned char)(
2150 static inline __ATTRS_o_ai __vector unsigned short
2151 vec_mergeh(__vector unsigned short __a, __vector unsigned short __b) {
2152 return (__vector unsigned short)(
2166 static inline __ATTRS_o_ai __vector unsigned int
2167 vec_mergeh(__vector unsigned int __a, __vector unsigned int __b) {
2168 return (__vector unsigned int)(__a[0], __b[0], __a[1], __b[1]);
2181 static inline __ATTRS_o_ai __vector unsigned long long
2182 vec_mergeh(__vector unsigned long long __a, __vector unsigned long long __b) {
2183 return (__vector unsigned long long)(__a[0], __b[0]);
2214 static inline __ATTRS_o_ai __vector unsigned char
2215 vec_mergel(__vector unsigned char __a, __vector unsigned char __b) {
2216 return (__vector unsigned char)(
2233 static inline __ATTRS_o_ai __vector unsigned short
2234 vec_mergel(__vector unsigned short __a, __vector unsigned short __b) {
2235 return (__vector unsigned short)(
2249 static inline __ATTRS_o_ai __vector unsigned int
2250 vec_mergel(__vector unsigned int __a, __vector unsigned int __b) {
2251 return (__vector unsigned int)(__a[2], __b[2], __a[3], __b[3]);
2264 static inline __ATTRS_o_ai __vector unsigned long long
2265 vec_mergel(__vector unsigned long long __a, __vector unsigned long long __b) {
2266 return (__vector unsigned long long)(__a[1], __b[1]);
2301 static inline __ATTRS_o_ai __vector unsigned char
2302 vec_pack(__vector unsigned short __a, __vector unsigned short __b) {
2303 __vector unsigned char __ac = (__vector unsigned char)__a;
2304 __vector unsigned char __bc = (__vector unsigned char)__b;
2305 return (__vector unsigned char)(
2328 static inline __ATTRS_o_ai __vector unsigned short
2329 vec_pack(__vector unsigned int __a, __vector unsigned int __b) {
2330 __vector unsigned short __ac = (__vector unsigned short)__a;
2331 __vector unsigned short __bc = (__vector unsigned short)__b;
2332 return (__vector unsigned short)(
2351 static inline __ATTRS_o_ai __vector unsigned int
2352 vec_pack(__vector unsigned long long __a, __vector unsigned long long __b) {
2353 __vector unsigned int __ac = (__vector unsigned int)__a;
2354 __vector unsigned int __bc = (__vector unsigned int)__b;
2355 return (__vector unsigned int)(__ac[1], __ac[3], __bc[1], __bc[3]);
2372 static inline __ATTRS_o_ai __vector unsigned long long
2373 vec_pack(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
2374 __vector unsigned long long __ac = (__vector unsigned long long)__a;
2375 __vector unsigned long long __bc = (__vector unsigned long long)__b;
2376 return (__vector unsigned long long)(__ac[1], __bc[1]);
2386 static inline __ATTRS_o_ai __vector unsigned char
2387 vec_packs(__vector unsigned short __a, __vector unsigned short __b) {
2396 static inline __ATTRS_o_ai __vector unsigned short
2397 vec_packs(__vector unsigned int __a, __vector unsigned int __b) {
2406 static inline __ATTRS_o_ai __vector unsigned int
2407 vec_packs(__vector unsigned long long __a, __vector unsigned long long __b) {
2418 static inline __ATTRS_o_ai __vector unsigned char
2419 vec_packs_cc(__vector unsigned short __a, __vector unsigned short __b,
2429 static inline __ATTRS_o_ai __vector unsigned short
2430 vec_packs_cc(__vector unsigned int __a, __vector unsigned int __b, int *__cc) {
2440 static inline __ATTRS_o_ai __vector unsigned int
2441 vec_packs_cc(__vector unsigned long long __a, __vector unsigned long long __b,
2448 static inline __ATTRS_o_ai __vector unsigned char
2452 (__vector unsigned short)(__a >= __zero) & (__vector unsigned short)__a,
2453 (__vector unsigned short)(__b >= __zero) & (__vector unsigned short)__b);
2456 static inline __ATTRS_o_ai __vector unsigned char
2457 vec_packsu(__vector unsigned short __a, __vector unsigned short __b) {
2461 static inline __ATTRS_o_ai __vector unsigned short
2465 (__vector unsigned int)(__a >= __zero) & (__vector unsigned int)__a,
2466 (__vector unsigned int)(__b >= __zero) & (__vector unsigned int)__b);
2469 static inline __ATTRS_o_ai __vector unsigned short
2470 vec_packsu(__vector unsigned int __a, __vector unsigned int __b) {
2474 static inline __ATTRS_o_ai __vector unsigned int
2478 (__vector unsigned long long)(__a >= __zero) &
2479 (__vector unsigned long long)__a,
2480 (__vector unsigned long long)(__b >= __zero) &
2481 (__vector unsigned long long)__b);
2484 static inline __ATTRS_o_ai __vector unsigned int
2485 vec_packsu(__vector unsigned long long __a, __vector unsigned long long __b) {
2491 static inline __ATTRS_o_ai __vector unsigned char
2492 vec_packsu_cc(__vector unsigned short __a, __vector unsigned short __b,
2497 static inline __ATTRS_o_ai __vector unsigned short
2498 vec_packsu_cc(__vector unsigned int __a, __vector unsigned int __b, int *__cc) {
2502 static inline __ATTRS_o_ai __vector unsigned int
2503 vec_packsu_cc(__vector unsigned long long __a, __vector unsigned long long __b,
2521 static inline __ATTRS_o_ai __vector unsigned short
2522 vec_unpackh(__vector unsigned char __a) {
2536 static inline __ATTRS_o_ai __vector unsigned int
2537 vec_unpackh(__vector unsigned short __a) {
2552 static inline __ATTRS_o_ai __vector unsigned long long
2553 vec_unpackh(__vector unsigned int __a) {
2569 static inline __ATTRS_o_ai __vector unsigned __int128
2570 vec_unpackh(__vector unsigned long long __a) {
2571 return (__vector unsigned __int128)__builtin_s390_vuplhg(__a);
2588 static inline __ATTRS_o_ai __vector unsigned short
2589 vec_unpackl(__vector unsigned char __a) {
2604 static inline __ATTRS_o_ai __vector unsigned int
2605 vec_unpackl(__vector unsigned short __a) {
2620 static inline __ATTRS_o_ai __vector unsigned long long
2621 vec_unpackl(__vector unsigned int __a) {
2637 static inline __ATTRS_o_ai __vector unsigned __int128
2638 vec_unpackl(__vector unsigned long long __a) {
2639 return (__vector unsigned __int128)__builtin_s390_vupllg(__a);
2656 vec_cmpeq(__vector unsigned char __a, __vector unsigned char __b) {
2671 vec_cmpeq(__vector unsigned short __a, __vector unsigned short __b) {
2686 vec_cmpeq(__vector unsigned int __a, __vector unsigned int __b) {
2701 vec_cmpeq(__vector unsigned long long __a, __vector unsigned long long __b) {
2716 vec_cmpeq(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
2740 vec_cmpge(__vector unsigned char __a, __vector unsigned char __b) {
2750 vec_cmpge(__vector unsigned short __a, __vector unsigned short __b) {
2760 vec_cmpge(__vector unsigned int __a, __vector unsigned int __b) {
2770 vec_cmpge(__vector unsigned long long __a, __vector unsigned long long __b) {
2780 vec_cmpge(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
2804 vec_cmpgt(__vector unsigned char __a, __vector unsigned char __b) {
2814 vec_cmpgt(__vector unsigned short __a, __vector unsigned short __b) {
2824 vec_cmpgt(__vector unsigned int __a, __vector unsigned int __b) {
2834 vec_cmpgt(__vector unsigned long long __a, __vector unsigned long long __b) {
2844 vec_cmpgt(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
2868 vec_cmple(__vector unsigned char __a, __vector unsigned char __b) {
2878 vec_cmple(__vector unsigned short __a, __vector unsigned short __b) {
2888 vec_cmple(__vector unsigned int __a, __vector unsigned int __b) {
2898 vec_cmple(__vector unsigned long long __a, __vector unsigned long long __b) {
2908 vec_cmple(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
2932 vec_cmplt(__vector unsigned char __a, __vector unsigned char __b) {
2942 vec_cmplt(__vector unsigned short __a, __vector unsigned short __b) {
2952 vec_cmplt(__vector unsigned int __a, __vector unsigned int __b) {
2962 vec_cmplt(__vector unsigned long long __a, __vector unsigned long long __b) {
2972 vec_cmplt(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
2993 __builtin_s390_vceqbs((__vector unsigned char)__a,
2994 (__vector unsigned char)__b, &__cc);
3002 __builtin_s390_vceqbs((__vector unsigned char)__a,
3003 (__vector unsigned char)__b, &__cc);
3011 __builtin_s390_vceqbs((__vector unsigned char)__a,
3012 (__vector unsigned char)__b, &__cc);
3017 vec_all_eq(__vector unsigned char __a, __vector unsigned char __b) {
3025 vec_all_eq(__vector unsigned char __a, __vector __bool char __b) {
3027 __builtin_s390_vceqbs(__a, (__vector unsigned char)__b, &__cc);
3033 vec_all_eq(__vector __bool char __a, __vector unsigned char __b) {
3035 __builtin_s390_vceqbs((__vector unsigned char)__a, __b, &__cc);
3042 __builtin_s390_vceqbs((__vector unsigned char)__a,
3043 (__vector unsigned char)__b, &__cc);
3050 __builtin_s390_vceqhs((__vector unsigned short)__a,
3051 (__vector unsigned short)__b, &__cc);
3059 __builtin_s390_vceqhs((__vector unsigned short)__a,
3060 (__vector unsigned short)__b, &__cc);
3068 __builtin_s390_vceqhs((__vector unsigned short)__a,
3069 (__vector unsigned short)__b, &__cc);
3074 vec_all_eq(__vector unsigned short __a, __vector unsigned short __b) {
3082 vec_all_eq(__vector unsigned short __a, __vector __bool short __b) {
3084 __builtin_s390_vceqhs(__a, (__vector unsigned short)__b, &__cc);
3090 vec_all_eq(__vector __bool short __a, __vector unsigned short __b) {
3092 __builtin_s390_vceqhs((__vector unsigned short)__a, __b, &__cc);
3099 __builtin_s390_vceqhs((__vector unsigned short)__a,
3100 (__vector unsigned short)__b, &__cc);
3107 __builtin_s390_vceqfs((__vector unsigned int)__a,
3108 (__vector unsigned int)__b, &__cc);
3116 __builtin_s390_vceqfs((__vector unsigned int)__a,
3117 (__vector unsigned int)__b, &__cc);
3125 __builtin_s390_vceqfs((__vector unsigned int)__a,
3126 (__vector unsigned int)__b, &__cc);
3131 vec_all_eq(__vector unsigned int __a, __vector unsigned int __b) {
3139 vec_all_eq(__vector unsigned int __a, __vector __bool int __b) {
3141 __builtin_s390_vceqfs(__a, (__vector unsigned int)__b, &__cc);
3147 vec_all_eq(__vector __bool int __a, __vector unsigned int __b) {
3149 __builtin_s390_vceqfs((__vector unsigned int)__a, __b, &__cc);
3156 __builtin_s390_vceqfs((__vector unsigned int)__a,
3157 (__vector unsigned int)__b, &__cc);
3164 __builtin_s390_vceqgs((__vector unsigned long long)__a,
3165 (__vector unsigned long long)__b, &__cc);
3173 __builtin_s390_vceqgs((__vector unsigned long long)__a,
3174 (__vector unsigned long long)__b, &__cc);
3182 __builtin_s390_vceqgs((__vector unsigned long long)__a,
3183 (__vector unsigned long long)__b, &__cc);
3188 vec_all_eq(__vector unsigned long long __a, __vector unsigned long long __b) {
3196 vec_all_eq(__vector unsigned long long __a, __vector __bool long long __b) {
3198 __builtin_s390_vceqgs(__a, (__vector unsigned long long)__b, &__cc);
3204 vec_all_eq(__vector __bool long long __a, __vector unsigned long long __b) {
3206 __builtin_s390_vceqgs((__vector unsigned long long)__a, __b, &__cc);
3213 __builtin_s390_vceqgs((__vector unsigned long long)__a,
3214 (__vector unsigned long long)__b, &__cc);
3222 __builtin_s390_vceqqs((unsigned __int128)__a, (unsigned __int128)__b, &__cc);
3227 vec_all_eq(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
3229 __builtin_s390_vceqqs((unsigned __int128)__a, (unsigned __int128)__b, &__cc);
3236 __builtin_s390_vceqqs((unsigned __int128)__a, (unsigned __int128)__b, &__cc);
3262 __builtin_s390_vceqbs((__vector unsigned char)__a,
3263 (__vector unsigned char)__b, &__cc);
3271 __builtin_s390_vceqbs((__vector unsigned char)__a,
3272 (__vector unsigned char)__b, &__cc);
3280 __builtin_s390_vceqbs((__vector unsigned char)__a,
3281 (__vector unsigned char)__b, &__cc);
3286 vec_all_ne(__vector unsigned char __a, __vector unsigned char __b) {
3288 __builtin_s390_vceqbs((__vector unsigned char)__a,
3289 (__vector unsigned char)__b, &__cc);
3295 vec_all_ne(__vector unsigned char __a, __vector __bool char __b) {
3297 __builtin_s390_vceqbs(__a, (__vector unsigned char)__b, &__cc);
3303 vec_all_ne(__vector __bool char __a, __vector unsigned char __b) {
3305 __builtin_s390_vceqbs((__vector unsigned char)__a, __b, &__cc);
3312 __builtin_s390_vceqbs((__vector unsigned char)__a,
3313 (__vector unsigned char)__b, &__cc);
3320 __builtin_s390_vceqhs((__vector unsigned short)__a,
3321 (__vector unsigned short)__b, &__cc);
3329 __builtin_s390_vceqhs((__vector unsigned short)__a,
3330 (__vector unsigned short)__b, &__cc);
3338 __builtin_s390_vceqhs((__vector unsigned short)__a,
3339 (__vector unsigned short)__b, &__cc);
3344 vec_all_ne(__vector unsigned short __a, __vector unsigned short __b) {
3352 vec_all_ne(__vector unsigned short __a, __vector __bool short __b) {
3354 __builtin_s390_vceqhs(__a, (__vector unsigned short)__b, &__cc);
3360 vec_all_ne(__vector __bool short __a, __vector unsigned short __b) {
3362 __builtin_s390_vceqhs((__vector unsigned short)__a, __b, &__cc);
3369 __builtin_s390_vceqhs((__vector unsigned short)__a,
3370 (__vector unsigned short)__b, &__cc);
3377 __builtin_s390_vceqfs((__vector unsigned int)__a,
3378 (__vector unsigned int)__b, &__cc);
3386 __builtin_s390_vceqfs((__vector unsigned int)__a,
3387 (__vector unsigned int)__b, &__cc);
3395 __builtin_s390_vceqfs((__vector unsigned int)__a,
3396 (__vector unsigned int)__b, &__cc);
3401 vec_all_ne(__vector unsigned int __a, __vector unsigned int __b) {
3409 vec_all_ne(__vector unsigned int __a, __vector __bool int __b) {
3411 __builtin_s390_vceqfs(__a, (__vector unsigned int)__b, &__cc);
3417 vec_all_ne(__vector __bool int __a, __vector unsigned int __b) {
3419 __builtin_s390_vceqfs((__vector unsigned int)__a, __b, &__cc);
3426 __builtin_s390_vceqfs((__vector unsigned int)__a,
3427 (__vector unsigned int)__b, &__cc);
3434 __builtin_s390_vceqgs((__vector unsigned long long)__a,
3435 (__vector unsigned long long)__b, &__cc);
3443 __builtin_s390_vceqgs((__vector unsigned long long)__a,
3444 (__vector unsigned long long)__b, &__cc);
3452 __builtin_s390_vceqgs((__vector unsigned long long)__a,
3453 (__vector unsigned long long)__b, &__cc);
3458 vec_all_ne(__vector unsigned long long __a, __vector unsigned long long __b) {
3466 vec_all_ne(__vector unsigned long long __a, __vector __bool long long __b) {
3468 __builtin_s390_vceqgs(__a, (__vector unsigned long long)__b, &__cc);
3474 vec_all_ne(__vector __bool long long __a, __vector unsigned long long __b) {
3476 __builtin_s390_vceqgs((__vector unsigned long long)__a, __b, &__cc);
3483 __builtin_s390_vceqgs((__vector unsigned long long)__a,
3484 (__vector unsigned long long)__b, &__cc);
3492 __builtin_s390_vceqqs((unsigned __int128)__a, (unsigned __int128)__b, &__cc);
3497 vec_all_ne(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
3499 __builtin_s390_vceqqs((unsigned __int128)__a, (unsigned __int128)__b, &__cc);
3506 __builtin_s390_vceqqs((unsigned __int128)__a, (unsigned __int128)__b, &__cc);
3553 vec_all_ge(__vector unsigned char __a, __vector unsigned char __b) {
3561 vec_all_ge(__vector unsigned char __a, __vector __bool char __b) {
3563 __builtin_s390_vchlbs((__vector unsigned char)__b, __a, &__cc);
3569 vec_all_ge(__vector __bool char __a, __vector unsigned char __b) {
3571 __builtin_s390_vchlbs(__b, (__vector unsigned char)__a, &__cc);
3579 __builtin_s390_vchlbs((__vector unsigned char)__b,
3580 (__vector unsigned char)__a, &__cc);
3608 vec_all_ge(__vector unsigned short __a, __vector unsigned short __b) {
3616 vec_all_ge(__vector unsigned short __a, __vector __bool short __b) {
3618 __builtin_s390_vchlhs((__vector unsigned short)__b, __a, &__cc);
3624 vec_all_ge(__vector __bool short __a, __vector unsigned short __b) {
3626 __builtin_s390_vchlhs(__b, (__vector unsigned short)__a, &__cc);
3634 __builtin_s390_vchlhs((__vector unsigned short)__b,
3635 (__vector unsigned short)__a, &__cc);
3663 vec_all_ge(__vector unsigned int __a, __vector unsigned int __b) {
3671 vec_all_ge(__vector unsigned int __a, __vector __bool int __b) {
3673 __builtin_s390_vchlfs((__vector unsigned int)__b, __a, &__cc);
3679 vec_all_ge(__vector __bool int __a, __vector unsigned int __b) {
3681 __builtin_s390_vchlfs(__b, (__vector unsigned int)__a, &__cc);
3689 __builtin_s390_vchlfs((__vector unsigned int)__b,
3690 (__vector unsigned int)__a, &__cc);
3718 vec_all_ge(__vector unsigned long long __a, __vector unsigned long long __b) {
3726 vec_all_ge(__vector unsigned long long __a, __vector __bool long long __b) {
3728 __builtin_s390_vchlgs((__vector unsigned long long)__b, __a, &__cc);
3734 vec_all_ge(__vector __bool long long __a, __vector unsigned long long __b) {
3736 __builtin_s390_vchlgs(__b, (__vector unsigned long long)__a, &__cc);
3744 __builtin_s390_vchlgs((__vector unsigned long long)__b,
3745 (__vector unsigned long long)__a, &__cc);
3758 vec_all_ge(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
3760 __builtin_s390_vchlqs((unsigned __int128)__b, (unsigned __int128)__a, &__cc);
3807 vec_all_gt(__vector unsigned char __a, __vector unsigned char __b) {
3815 vec_all_gt(__vector unsigned char __a, __vector __bool char __b) {
3817 __builtin_s390_vchlbs(__a, (__vector unsigned char)__b, &__cc);
3823 vec_all_gt(__vector __bool char __a, __vector unsigned char __b) {
3825 __builtin_s390_vchlbs((__vector unsigned char)__a, __b, &__cc);
3833 __builtin_s390_vchlbs((__vector unsigned char)__a,
3834 (__vector unsigned char)__b, &__cc);
3862 vec_all_gt(__vector unsigned short __a, __vector unsigned short __b) {
3870 vec_all_gt(__vector unsigned short __a, __vector __bool short __b) {
3872 __builtin_s390_vchlhs(__a, (__vector unsigned short)__b, &__cc);
3878 vec_all_gt(__vector __bool short __a, __vector unsigned short __b) {
3880 __builtin_s390_vchlhs((__vector unsigned short)__a, __b, &__cc);
3888 __builtin_s390_vchlhs((__vector unsigned short)__a,
3889 (__vector unsigned short)__b, &__cc);
3917 vec_all_gt(__vector unsigned int __a, __vector unsigned int __b) {
3925 vec_all_gt(__vector unsigned int __a, __vector __bool int __b) {
3927 __builtin_s390_vchlfs(__a, (__vector unsigned int)__b, &__cc);
3933 vec_all_gt(__vector __bool int __a, __vector unsigned int __b) {
3935 __builtin_s390_vchlfs((__vector unsigned int)__a, __b, &__cc);
3943 __builtin_s390_vchlfs((__vector unsigned int)__a,
3944 (__vector unsigned int)__b, &__cc);
3972 vec_all_gt(__vector unsigned long long __a, __vector unsigned long long __b) {
3980 vec_all_gt(__vector unsigned long long __a, __vector __bool long long __b) {
3982 __builtin_s390_vchlgs(__a, (__vector unsigned long long)__b, &__cc);
3988 vec_all_gt(__vector __bool long long __a, __vector unsigned long long __b) {
3990 __builtin_s390_vchlgs((__vector unsigned long long)__a, __b, &__cc);
3998 __builtin_s390_vchlgs((__vector unsigned long long)__a,
3999 (__vector unsigned long long)__b, &__cc);
4012 vec_all_gt(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
4014 __builtin_s390_vchlqs((unsigned __int128)__a, (unsigned __int128)__b, &__cc);
4061 vec_all_le(__vector unsigned char __a, __vector unsigned char __b) {
4069 vec_all_le(__vector unsigned char __a, __vector __bool char __b) {
4071 __builtin_s390_vchlbs(__a, (__vector unsigned char)__b, &__cc);
4077 vec_all_le(__vector __bool char __a, __vector unsigned char __b) {
4079 __builtin_s390_vchlbs((__vector unsigned char)__a, __b, &__cc);
4087 __builtin_s390_vchlbs((__vector unsigned char)__a,
4088 (__vector unsigned char)__b, &__cc);
4116 vec_all_le(__vector unsigned short __a, __vector unsigned short __b) {
4124 vec_all_le(__vector unsigned short __a, __vector __bool short __b) {
4126 __builtin_s390_vchlhs(__a, (__vector unsigned short)__b, &__cc);
4132 vec_all_le(__vector __bool short __a, __vector unsigned short __b) {
4134 __builtin_s390_vchlhs((__vector unsigned short)__a, __b, &__cc);
4142 __builtin_s390_vchlhs((__vector unsigned short)__a,
4143 (__vector unsigned short)__b, &__cc);
4171 vec_all_le(__vector unsigned int __a, __vector unsigned int __b) {
4179 vec_all_le(__vector unsigned int __a, __vector __bool int __b) {
4181 __builtin_s390_vchlfs(__a, (__vector unsigned int)__b, &__cc);
4187 vec_all_le(__vector __bool int __a, __vector unsigned int __b) {
4189 __builtin_s390_vchlfs((__vector unsigned int)__a, __b, &__cc);
4197 __builtin_s390_vchlfs((__vector unsigned int)__a,
4198 (__vector unsigned int)__b, &__cc);
4226 vec_all_le(__vector unsigned long long __a, __vector unsigned long long __b) {
4234 vec_all_le(__vector unsigned long long __a, __vector __bool long long __b) {
4236 __builtin_s390_vchlgs(__a, (__vector unsigned long long)__b, &__cc);
4242 vec_all_le(__vector __bool long long __a, __vector unsigned long long __b) {
4244 __builtin_s390_vchlgs((__vector unsigned long long)__a, __b, &__cc);
4252 __builtin_s390_vchlgs((__vector unsigned long long)__a,
4253 (__vector unsigned long long)__b, &__cc);
4266 vec_all_le(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
4268 __builtin_s390_vchlqs((unsigned __int128)__a, (unsigned __int128)__b, &__cc);
4315 vec_all_lt(__vector unsigned char __a, __vector unsigned char __b) {
4323 vec_all_lt(__vector unsigned char __a, __vector __bool char __b) {
4325 __builtin_s390_vchlbs((__vector unsigned char)__b, __a, &__cc);
4331 vec_all_lt(__vector __bool char __a, __vector unsigned char __b) {
4333 __builtin_s390_vchlbs(__b, (__vector unsigned char)__a, &__cc);
4341 __builtin_s390_vchlbs((__vector unsigned char)__b,
4342 (__vector unsigned char)__a, &__cc);
4370 vec_all_lt(__vector unsigned short __a, __vector unsigned short __b) {
4378 vec_all_lt(__vector unsigned short __a, __vector __bool short __b) {
4380 __builtin_s390_vchlhs((__vector unsigned short)__b, __a, &__cc);
4386 vec_all_lt(__vector __bool short __a, __vector unsigned short __b) {
4388 __builtin_s390_vchlhs(__b, (__vector unsigned short)__a, &__cc);
4396 __builtin_s390_vchlhs((__vector unsigned short)__b,
4397 (__vector unsigned short)__a, &__cc);
4425 vec_all_lt(__vector unsigned int __a, __vector unsigned int __b) {
4433 vec_all_lt(__vector unsigned int __a, __vector __bool int __b) {
4435 __builtin_s390_vchlfs((__vector unsigned int)__b, __a, &__cc);
4441 vec_all_lt(__vector __bool int __a, __vector unsigned int __b) {
4443 __builtin_s390_vchlfs(__b, (__vector unsigned int)__a, &__cc);
4451 __builtin_s390_vchlfs((__vector unsigned int)__b,
4452 (__vector unsigned int)__a, &__cc);
4480 vec_all_lt(__vector unsigned long long __a, __vector unsigned long long __b) {
4488 vec_all_lt(__vector unsigned long long __a, __vector __bool long long __b) {
4490 __builtin_s390_vchlgs((__vector unsigned long long)__b, __a, &__cc);
4496 vec_all_lt(__vector __bool long long __a, __vector unsigned long long __b) {
4498 __builtin_s390_vchlgs(__b, (__vector unsigned long long)__a, &__cc);
4506 __builtin_s390_vchlgs((__vector unsigned long long)__b,
4507 (__vector unsigned long long)__a, &__cc);
4520 vec_all_lt(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
4522 __builtin_s390_vchlqs((unsigned __int128)__b, (unsigned __int128)__a, &__cc);
4656 __builtin_s390_vceqbs((__vector unsigned char)__a,
4657 (__vector unsigned char)__b, &__cc);
4665 __builtin_s390_vceqbs((__vector unsigned char)__a,
4666 (__vector unsigned char)__b, &__cc);
4674 __builtin_s390_vceqbs((__vector unsigned char)__a,
4675 (__vector unsigned char)__b, &__cc);
4680 vec_any_eq(__vector unsigned char __a, __vector unsigned char __b) {
4688 vec_any_eq(__vector unsigned char __a, __vector __bool char __b) {
4690 __builtin_s390_vceqbs(__a, (__vector unsigned char)__b, &__cc);
4696 vec_any_eq(__vector __bool char __a, __vector unsigned char __b) {
4698 __builtin_s390_vceqbs((__vector unsigned char)__a, __b, &__cc);
4705 __builtin_s390_vceqbs((__vector unsigned char)__a,
4706 (__vector unsigned char)__b, &__cc);
4713 __builtin_s390_vceqhs((__vector unsigned short)__a,
4714 (__vector unsigned short)__b, &__cc);
4722 __builtin_s390_vceqhs((__vector unsigned short)__a,
4723 (__vector unsigned short)__b, &__cc);
4731 __builtin_s390_vceqhs((__vector unsigned short)__a,
4732 (__vector unsigned short)__b, &__cc);
4737 vec_any_eq(__vector unsigned short __a, __vector unsigned short __b) {
4745 vec_any_eq(__vector unsigned short __a, __vector __bool short __b) {
4747 __builtin_s390_vceqhs(__a, (__vector unsigned short)__b, &__cc);
4753 vec_any_eq(__vector __bool short __a, __vector unsigned short __b) {
4755 __builtin_s390_vceqhs((__vector unsigned short)__a, __b, &__cc);
4762 __builtin_s390_vceqhs((__vector unsigned short)__a,
4763 (__vector unsigned short)__b, &__cc);
4770 __builtin_s390_vceqfs((__vector unsigned int)__a,
4771 (__vector unsigned int)__b, &__cc);
4779 __builtin_s390_vceqfs((__vector unsigned int)__a,
4780 (__vector unsigned int)__b, &__cc);
4788 __builtin_s390_vceqfs((__vector unsigned int)__a,
4789 (__vector unsigned int)__b, &__cc);
4794 vec_any_eq(__vector unsigned int __a, __vector unsigned int __b) {
4802 vec_any_eq(__vector unsigned int __a, __vector __bool int __b) {
4804 __builtin_s390_vceqfs(__a, (__vector unsigned int)__b, &__cc);
4810 vec_any_eq(__vector __bool int __a, __vector unsigned int __b) {
4812 __builtin_s390_vceqfs((__vector unsigned int)__a, __b, &__cc);
4819 __builtin_s390_vceqfs((__vector unsigned int)__a,
4820 (__vector unsigned int)__b, &__cc);
4827 __builtin_s390_vceqgs((__vector unsigned long long)__a,
4828 (__vector unsigned long long)__b, &__cc);
4836 __builtin_s390_vceqgs((__vector unsigned long long)__a,
4837 (__vector unsigned long long)__b, &__cc);
4845 __builtin_s390_vceqgs((__vector unsigned long long)__a,
4846 (__vector unsigned long long)__b, &__cc);
4851 vec_any_eq(__vector unsigned long long __a, __vector unsigned long long __b) {
4859 vec_any_eq(__vector unsigned long long __a, __vector __bool long long __b) {
4861 __builtin_s390_vceqgs(__a, (__vector unsigned long long)__b, &__cc);
4867 vec_any_eq(__vector __bool long long __a, __vector unsigned long long __b) {
4869 __builtin_s390_vceqgs((__vector unsigned long long)__a, __b, &__cc);
4876 __builtin_s390_vceqgs((__vector unsigned long long)__a,
4877 (__vector unsigned long long)__b, &__cc);
4885 __builtin_s390_vceqqs((unsigned __int128)__a, (unsigned __int128)__b, &__cc);
4890 vec_any_eq(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
4892 __builtin_s390_vceqqs((unsigned __int128)__a, (unsigned __int128)__b, &__cc);
4899 __builtin_s390_vceqqs((unsigned __int128)__a, (unsigned __int128)__b, &__cc);
4925 __builtin_s390_vceqbs((__vector unsigned char)__a,
4926 (__vector unsigned char)__b, &__cc);
4934 __builtin_s390_vceqbs((__vector unsigned char)__a,
4935 (__vector unsigned char)__b, &__cc);
4943 __builtin_s390_vceqbs((__vector unsigned char)__a,
4944 (__vector unsigned char)__b, &__cc);
4949 vec_any_ne(__vector unsigned char __a, __vector unsigned char __b) {
4957 vec_any_ne(__vector unsigned char __a, __vector __bool char __b) {
4959 __builtin_s390_vceqbs(__a, (__vector unsigned char)__b, &__cc);
4965 vec_any_ne(__vector __bool char __a, __vector unsigned char __b) {
4967 __builtin_s390_vceqbs((__vector unsigned char)__a, __b, &__cc);
4974 __builtin_s390_vceqbs((__vector unsigned char)__a,
4975 (__vector unsigned char)__b, &__cc);
4982 __builtin_s390_vceqhs((__vector unsigned short)__a,
4983 (__vector unsigned short)__b, &__cc);
4991 __builtin_s390_vceqhs((__vector unsigned short)__a,
4992 (__vector unsigned short)__b, &__cc);
5000 __builtin_s390_vceqhs((__vector unsigned short)__a,
5001 (__vector unsigned short)__b, &__cc);
5006 vec_any_ne(__vector unsigned short __a, __vector unsigned short __b) {
5014 vec_any_ne(__vector unsigned short __a, __vector __bool short __b) {
5016 __builtin_s390_vceqhs(__a, (__vector unsigned short)__b, &__cc);
5022 vec_any_ne(__vector __bool short __a, __vector unsigned short __b) {
5024 __builtin_s390_vceqhs((__vector unsigned short)__a, __b, &__cc);
5031 __builtin_s390_vceqhs((__vector unsigned short)__a,
5032 (__vector unsigned short)__b, &__cc);
5039 __builtin_s390_vceqfs((__vector unsigned int)__a,
5040 (__vector unsigned int)__b, &__cc);
5048 __builtin_s390_vceqfs((__vector unsigned int)__a,
5049 (__vector unsigned int)__b, &__cc);
5057 __builtin_s390_vceqfs((__vector unsigned int)__a,
5058 (__vector unsigned int)__b, &__cc);
5063 vec_any_ne(__vector unsigned int __a, __vector unsigned int __b) {
5071 vec_any_ne(__vector unsigned int __a, __vector __bool int __b) {
5073 __builtin_s390_vceqfs(__a, (__vector unsigned int)__b, &__cc);
5079 vec_any_ne(__vector __bool int __a, __vector unsigned int __b) {
5081 __builtin_s390_vceqfs((__vector unsigned int)__a, __b, &__cc);
5088 __builtin_s390_vceqfs((__vector unsigned int)__a,
5089 (__vector unsigned int)__b, &__cc);
5096 __builtin_s390_vceqgs((__vector unsigned long long)__a,
5097 (__vector unsigned long long)__b, &__cc);
5105 __builtin_s390_vceqgs((__vector unsigned long long)__a,
5106 (__vector unsigned long long)__b, &__cc);
5114 __builtin_s390_vceqgs((__vector unsigned long long)__a,
5115 (__vector unsigned long long)__b, &__cc);
5120 vec_any_ne(__vector unsigned long long __a, __vector unsigned long long __b) {
5128 vec_any_ne(__vector unsigned long long __a, __vector __bool long long __b) {
5130 __builtin_s390_vceqgs(__a, (__vector unsigned long long)__b, &__cc);
5136 vec_any_ne(__vector __bool long long __a, __vector unsigned long long __b) {
5138 __builtin_s390_vceqgs((__vector unsigned long long)__a, __b, &__cc);
5145 __builtin_s390_vceqgs((__vector unsigned long long)__a,
5146 (__vector unsigned long long)__b, &__cc);
5154 __builtin_s390_vceqqs((unsigned __int128)__a, (unsigned __int128)__b, &__cc);
5159 vec_any_ne(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
5161 __builtin_s390_vceqqs((unsigned __int128)__a, (unsigned __int128)__b, &__cc);
5168 __builtin_s390_vceqqs((unsigned __int128)__a, (unsigned __int128)__b, &__cc);
5215 vec_any_ge(__vector unsigned char __a, __vector unsigned char __b) {
5223 vec_any_ge(__vector unsigned char __a, __vector __bool char __b) {
5225 __builtin_s390_vchlbs((__vector unsigned char)__b, __a, &__cc);
5231 vec_any_ge(__vector __bool char __a, __vector unsigned char __b) {
5233 __builtin_s390_vchlbs(__b, (__vector unsigned char)__a, &__cc);
5241 __builtin_s390_vchlbs((__vector unsigned char)__b,
5242 (__vector unsigned char)__a, &__cc);
5270 vec_any_ge(__vector unsigned short __a, __vector unsigned short __b) {
5278 vec_any_ge(__vector unsigned short __a, __vector __bool short __b) {
5280 __builtin_s390_vchlhs((__vector unsigned short)__b, __a, &__cc);
5286 vec_any_ge(__vector __bool short __a, __vector unsigned short __b) {
5288 __builtin_s390_vchlhs(__b, (__vector unsigned short)__a, &__cc);
5296 __builtin_s390_vchlhs((__vector unsigned short)__b,
5297 (__vector unsigned short)__a, &__cc);
5325 vec_any_ge(__vector unsigned int __a, __vector unsigned int __b) {
5333 vec_any_ge(__vector unsigned int __a, __vector __bool int __b) {
5335 __builtin_s390_vchlfs((__vector unsigned int)__b, __a, &__cc);
5341 vec_any_ge(__vector __bool int __a, __vector unsigned int __b) {
5343 __builtin_s390_vchlfs(__b, (__vector unsigned int)__a, &__cc);
5351 __builtin_s390_vchlfs((__vector unsigned int)__b,
5352 (__vector unsigned int)__a, &__cc);
5380 vec_any_ge(__vector unsigned long long __a, __vector unsigned long long __b) {
5388 vec_any_ge(__vector unsigned long long __a, __vector __bool long long __b) {
5390 __builtin_s390_vchlgs((__vector unsigned long long)__b, __a, &__cc);
5396 vec_any_ge(__vector __bool long long __a, __vector unsigned long long __b) {
5398 __builtin_s390_vchlgs(__b, (__vector unsigned long long)__a, &__cc);
5406 __builtin_s390_vchlgs((__vector unsigned long long)__b,
5407 (__vector unsigned long long)__a, &__cc);
5420 vec_any_ge(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
5422 __builtin_s390_vchlqs((unsigned __int128)__b, (unsigned __int128)__a, &__cc);
5469 vec_any_gt(__vector unsigned char __a, __vector unsigned char __b) {
5477 vec_any_gt(__vector unsigned char __a, __vector __bool char __b) {
5479 __builtin_s390_vchlbs(__a, (__vector unsigned char)__b, &__cc);
5485 vec_any_gt(__vector __bool char __a, __vector unsigned char __b) {
5487 __builtin_s390_vchlbs((__vector unsigned char)__a, __b, &__cc);
5495 __builtin_s390_vchlbs((__vector unsigned char)__a,
5496 (__vector unsigned char)__b, &__cc);
5524 vec_any_gt(__vector unsigned short __a, __vector unsigned short __b) {
5532 vec_any_gt(__vector unsigned short __a, __vector __bool short __b) {
5534 __builtin_s390_vchlhs(__a, (__vector unsigned short)__b, &__cc);
5540 vec_any_gt(__vector __bool short __a, __vector unsigned short __b) {
5542 __builtin_s390_vchlhs((__vector unsigned short)__a, __b, &__cc);
5550 __builtin_s390_vchlhs((__vector unsigned short)__a,
5551 (__vector unsigned short)__b, &__cc);
5579 vec_any_gt(__vector unsigned int __a, __vector unsigned int __b) {
5587 vec_any_gt(__vector unsigned int __a, __vector __bool int __b) {
5589 __builtin_s390_vchlfs(__a, (__vector unsigned int)__b, &__cc);
5595 vec_any_gt(__vector __bool int __a, __vector unsigned int __b) {
5597 __builtin_s390_vchlfs((__vector unsigned int)__a, __b, &__cc);
5605 __builtin_s390_vchlfs((__vector unsigned int)__a,
5606 (__vector unsigned int)__b, &__cc);
5634 vec_any_gt(__vector unsigned long long __a, __vector unsigned long long __b) {
5642 vec_any_gt(__vector unsigned long long __a, __vector __bool long long __b) {
5644 __builtin_s390_vchlgs(__a, (__vector unsigned long long)__b, &__cc);
5650 vec_any_gt(__vector __bool long long __a, __vector unsigned long long __b) {
5652 __builtin_s390_vchlgs((__vector unsigned long long)__a, __b, &__cc);
5660 __builtin_s390_vchlgs((__vector unsigned long long)__a,
5661 (__vector unsigned long long)__b, &__cc);
5674 vec_any_gt(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
5676 __builtin_s390_vchlqs((unsigned __int128)__a, (unsigned __int128)__b, &__cc);
5723 vec_any_le(__vector unsigned char __a, __vector unsigned char __b) {
5731 vec_any_le(__vector unsigned char __a, __vector __bool char __b) {
5733 __builtin_s390_vchlbs(__a, (__vector unsigned char)__b, &__cc);
5739 vec_any_le(__vector __bool char __a, __vector unsigned char __b) {
5741 __builtin_s390_vchlbs((__vector unsigned char)__a, __b, &__cc);
5749 __builtin_s390_vchlbs((__vector unsigned char)__a,
5750 (__vector unsigned char)__b, &__cc);
5778 vec_any_le(__vector unsigned short __a, __vector unsigned short __b) {
5786 vec_any_le(__vector unsigned short __a, __vector __bool short __b) {
5788 __builtin_s390_vchlhs(__a, (__vector unsigned short)__b, &__cc);
5794 vec_any_le(__vector __bool short __a, __vector unsigned short __b) {
5796 __builtin_s390_vchlhs((__vector unsigned short)__a, __b, &__cc);
5804 __builtin_s390_vchlhs((__vector unsigned short)__a,
5805 (__vector unsigned short)__b, &__cc);
5833 vec_any_le(__vector unsigned int __a, __vector unsigned int __b) {
5841 vec_any_le(__vector unsigned int __a, __vector __bool int __b) {
5843 __builtin_s390_vchlfs(__a, (__vector unsigned int)__b, &__cc);
5849 vec_any_le(__vector __bool int __a, __vector unsigned int __b) {
5851 __builtin_s390_vchlfs((__vector unsigned int)__a, __b, &__cc);
5859 __builtin_s390_vchlfs((__vector unsigned int)__a,
5860 (__vector unsigned int)__b, &__cc);
5888 vec_any_le(__vector unsigned long long __a, __vector unsigned long long __b) {
5896 vec_any_le(__vector unsigned long long __a, __vector __bool long long __b) {
5898 __builtin_s390_vchlgs(__a, (__vector unsigned long long)__b, &__cc);
5904 vec_any_le(__vector __bool long long __a, __vector unsigned long long __b) {
5906 __builtin_s390_vchlgs((__vector unsigned long long)__a, __b, &__cc);
5914 __builtin_s390_vchlgs((__vector unsigned long long)__a,
5915 (__vector unsigned long long)__b, &__cc);
5928 vec_any_le(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
5930 __builtin_s390_vchlqs((unsigned __int128)__a, (unsigned __int128)__b, &__cc);
5977 vec_any_lt(__vector unsigned char __a, __vector unsigned char __b) {
5985 vec_any_lt(__vector unsigned char __a, __vector __bool char __b) {
5987 __builtin_s390_vchlbs((__vector unsigned char)__b, __a, &__cc);
5993 vec_any_lt(__vector __bool char __a, __vector unsigned char __b) {
5995 __builtin_s390_vchlbs(__b, (__vector unsigned char)__a, &__cc);
6003 __builtin_s390_vchlbs((__vector unsigned char)__b,
6004 (__vector unsigned char)__a, &__cc);
6032 vec_any_lt(__vector unsigned short __a, __vector unsigned short __b) {
6040 vec_any_lt(__vector unsigned short __a, __vector __bool short __b) {
6042 __builtin_s390_vchlhs((__vector unsigned short)__b, __a, &__cc);
6048 vec_any_lt(__vector __bool short __a, __vector unsigned short __b) {
6050 __builtin_s390_vchlhs(__b, (__vector unsigned short)__a, &__cc);
6058 __builtin_s390_vchlhs((__vector unsigned short)__b,
6059 (__vector unsigned short)__a, &__cc);
6087 vec_any_lt(__vector unsigned int __a, __vector unsigned int __b) {
6095 vec_any_lt(__vector unsigned int __a, __vector __bool int __b) {
6097 __builtin_s390_vchlfs((__vector unsigned int)__b, __a, &__cc);
6103 vec_any_lt(__vector __bool int __a, __vector unsigned int __b) {
6105 __builtin_s390_vchlfs(__b, (__vector unsigned int)__a, &__cc);
6113 __builtin_s390_vchlfs((__vector unsigned int)__b,
6114 (__vector unsigned int)__a, &__cc);
6142 vec_any_lt(__vector unsigned long long __a, __vector unsigned long long __b) {
6150 vec_any_lt(__vector unsigned long long __a, __vector __bool long long __b) {
6152 __builtin_s390_vchlgs((__vector unsigned long long)__b, __a, &__cc);
6158 vec_any_lt(__vector __bool long long __a, __vector unsigned long long __b) {
6160 __builtin_s390_vchlgs(__b, (__vector unsigned long long)__a, &__cc);
6168 __builtin_s390_vchlgs((__vector unsigned long long)__b,
6169 (__vector unsigned long long)__a, &__cc);
6182 vec_any_lt(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
6184 __builtin_s390_vchlqs((unsigned __int128)__b, (unsigned __int128)__a, &__cc);
6328 static inline __ATTRS_o_ai __vector unsigned char
6329 vec_blend(__vector unsigned char __a, __vector unsigned char __b,
6346 static inline __ATTRS_o_ai __vector unsigned short
6347 vec_blend(__vector unsigned short __a, __vector unsigned short __b,
6364 static inline __ATTRS_o_ai __vector unsigned int
6365 vec_blend(__vector unsigned int __a, __vector unsigned int __b,
6382 static inline __ATTRS_o_ai __vector unsigned long long
6383 vec_blend(__vector unsigned long long __a, __vector unsigned long long __b,
6400 static inline __ATTRS_o_ai __vector unsigned __int128
6401 vec_blend(__vector unsigned __int128 __a, __vector unsigned __int128 __b,
6431 static inline __ATTRS_o_ai __vector unsigned char
6432 vec_and(__vector unsigned char __a, __vector unsigned char __b) {
6446 static inline __ATTRS_o_ai __vector unsigned short
6447 vec_and(__vector unsigned short __a, __vector unsigned short __b) {
6461 static inline __ATTRS_o_ai __vector unsigned int
6462 vec_and(__vector unsigned int __a, __vector unsigned int __b) {
6476 static inline __ATTRS_o_ai __vector unsigned long long
6477 vec_and(__vector unsigned long long __a, __vector unsigned long long __b) {
6491 static inline __ATTRS_o_ai __vector unsigned __int128
6492 vec_and(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
6499 return (__vector float)((__vector unsigned int)__a &
6500 (__vector unsigned int)__b);
6506 return (__vector double)((__vector unsigned long long)__a &
6507 (__vector unsigned long long)__b);
6522 static inline __ATTRS_o_ai __vector unsigned char
6523 vec_or(__vector unsigned char __a, __vector unsigned char __b) {
6537 static inline __ATTRS_o_ai __vector unsigned short
6538 vec_or(__vector unsigned short __a, __vector unsigned short __b) {
6552 static inline __ATTRS_o_ai __vector unsigned int
6553 vec_or(__vector unsigned int __a, __vector unsigned int __b) {
6567 static inline __ATTRS_o_ai __vector unsigned long long
6568 vec_or(__vector unsigned long long __a, __vector unsigned long long __b) {
6582 static inline __ATTRS_o_ai __vector unsigned __int128
6583 vec_or(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
6590 return (__vector float)((__vector unsigned int)__a |
6591 (__vector unsigned int)__b);
6597 return (__vector double)((__vector unsigned long long)__a |
6598 (__vector unsigned long long)__b);
6613 static inline __ATTRS_o_ai __vector unsigned char
6614 vec_xor(__vector unsigned char __a, __vector unsigned char __b) {
6628 static inline __ATTRS_o_ai __vector unsigned short
6629 vec_xor(__vector unsigned short __a, __vector unsigned short __b) {
6643 static inline __ATTRS_o_ai __vector unsigned int
6644 vec_xor(__vector unsigned int __a, __vector unsigned int __b) {
6658 static inline __ATTRS_o_ai __vector unsigned long long
6659 vec_xor(__vector unsigned long long __a, __vector unsigned long long __b) {
6673 static inline __ATTRS_o_ai __vector unsigned __int128
6674 vec_xor(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
6681 return (__vector float)((__vector unsigned int)__a ^
6682 (__vector unsigned int)__b);
6688 return (__vector double)((__vector unsigned long long)__a ^
6689 (__vector unsigned long long)__b);
6716 static inline __ATTRS_o_ai __vector unsigned char
6717 vec_andc(__vector unsigned char __a, __vector unsigned char __b) {
6722 static inline __ATTRS_o_ai __vector unsigned char
6723 vec_andc(__vector __bool char __a, __vector unsigned char __b) {
6728 static inline __ATTRS_o_ai __vector unsigned char
6729 vec_andc(__vector unsigned char __a, __vector __bool char __b) {
6755 static inline __ATTRS_o_ai __vector unsigned short
6756 vec_andc(__vector unsigned short __a, __vector unsigned short __b) {
6761 static inline __ATTRS_o_ai __vector unsigned short
6762 vec_andc(__vector __bool short __a, __vector unsigned short __b) {
6767 static inline __ATTRS_o_ai __vector unsigned short
6768 vec_andc(__vector unsigned short __a, __vector __bool short __b) {
6794 static inline __ATTRS_o_ai __vector unsigned int
6795 vec_andc(__vector unsigned int __a, __vector unsigned int __b) {
6800 static inline __ATTRS_o_ai __vector unsigned int
6801 vec_andc(__vector __bool int __a, __vector unsigned int __b) {
6806 static inline __ATTRS_o_ai __vector unsigned int
6807 vec_andc(__vector unsigned int __a, __vector __bool int __b) {
6833 static inline __ATTRS_o_ai __vector unsigned long long
6834 vec_andc(__vector unsigned long long __a, __vector unsigned long long __b) {
6839 static inline __ATTRS_o_ai __vector unsigned long long
6840 vec_andc(__vector __bool long long __a, __vector unsigned long long __b) {
6845 static inline __ATTRS_o_ai __vector unsigned long long
6846 vec_andc(__vector unsigned long long __a, __vector __bool long long __b) {
6860 static inline __ATTRS_o_ai __vector unsigned __int128
6861 vec_andc(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
6868 return (__vector float)((__vector unsigned int)__a &
6869 ~(__vector unsigned int)__b);
6875 return (__vector double)((__vector unsigned long long)__a &
6876 ~(__vector unsigned long long)__b);
6882 return (__vector double)((__vector unsigned long long)__a &
6883 ~(__vector unsigned long long)__b);
6889 return (__vector double)((__vector unsigned long long)__a &
6890 ~(__vector unsigned long long)__b);
6917 static inline __ATTRS_o_ai __vector unsigned char
6918 vec_nor(__vector unsigned char __a, __vector unsigned char __b) {
6923 static inline __ATTRS_o_ai __vector unsigned char
6924 vec_nor(__vector __bool char __a, __vector unsigned char __b) {
6929 static inline __ATTRS_o_ai __vector unsigned char
6930 vec_nor(__vector unsigned char __a, __vector __bool char __b) {
6956 static inline __ATTRS_o_ai __vector unsigned short
6957 vec_nor(__vector unsigned short __a, __vector unsigned short __b) {
6962 static inline __ATTRS_o_ai __vector unsigned short
6963 vec_nor(__vector __bool short __a, __vector unsigned short __b) {
6968 static inline __ATTRS_o_ai __vector unsigned short
6969 vec_nor(__vector unsigned short __a, __vector __bool short __b) {
6995 static inline __ATTRS_o_ai __vector unsigned int
6996 vec_nor(__vector unsigned int __a, __vector unsigned int __b) {
7001 static inline __ATTRS_o_ai __vector unsigned int
7002 vec_nor(__vector __bool int __a, __vector unsigned int __b) {
7007 static inline __ATTRS_o_ai __vector unsigned int
7008 vec_nor(__vector unsigned int __a, __vector __bool int __b) {
7034 static inline __ATTRS_o_ai __vector unsigned long long
7035 vec_nor(__vector unsigned long long __a, __vector unsigned long long __b) {
7040 static inline __ATTRS_o_ai __vector unsigned long long
7041 vec_nor(__vector __bool long long __a, __vector unsigned long long __b) {
7046 static inline __ATTRS_o_ai __vector unsigned long long
7047 vec_nor(__vector unsigned long long __a, __vector __bool long long __b) {
7061 static inline __ATTRS_o_ai __vector unsigned __int128
7062 vec_nor(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
7069 return (__vector float)~((__vector unsigned int)__a |
7070 (__vector unsigned int)__b);
7076 return (__vector double)~((__vector unsigned long long)__a |
7077 (__vector unsigned long long)__b);
7083 return (__vector double)~((__vector unsigned long long)__a |
7084 (__vector unsigned long long)__b);
7090 return (__vector double)~((__vector unsigned long long)__a |
7091 (__vector unsigned long long)__b);
7107 static inline __ATTRS_o_ai __vector unsigned char
7108 vec_orc(__vector unsigned char __a, __vector unsigned char __b) {
7122 static inline __ATTRS_o_ai __vector unsigned short
7123 vec_orc(__vector unsigned short __a, __vector unsigned short __b) {
7137 static inline __ATTRS_o_ai __vector unsigned int
7138 vec_orc(__vector unsigned int __a, __vector unsigned int __b) {
7152 static inline __ATTRS_o_ai __vector unsigned long long
7153 vec_orc(__vector unsigned long long __a, __vector unsigned long long __b) {
7167 static inline __ATTRS_o_ai __vector unsigned __int128
7168 vec_orc(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
7174 return (__vector float)((__vector unsigned int)__a |
7175 ~(__vector unsigned int)__b);
7180 return (__vector double)((__vector unsigned long long)__a |
7181 ~(__vector unsigned long long)__b);
7198 static inline __ATTRS_o_ai __vector unsigned char
7199 vec_nand(__vector unsigned char __a, __vector unsigned char __b) {
7213 static inline __ATTRS_o_ai __vector unsigned short
7214 vec_nand(__vector unsigned short __a, __vector unsigned short __b) {
7228 static inline __ATTRS_o_ai __vector unsigned int
7229 vec_nand(__vector unsigned int __a, __vector unsigned int __b) {
7243 static inline __ATTRS_o_ai __vector unsigned long long
7244 vec_nand(__vector unsigned long long __a, __vector unsigned long long __b) {
7258 static inline __ATTRS_o_ai __vector unsigned __int128
7259 vec_nand(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
7265 return (__vector float)~((__vector unsigned int)__a &
7266 (__vector unsigned int)__b);
7271 return (__vector double)~((__vector unsigned long long)__a &
7272 (__vector unsigned long long)__b);
7289 static inline __ATTRS_o_ai __vector unsigned char
7290 vec_eqv(__vector unsigned char __a, __vector unsigned char __b) {
7304 static inline __ATTRS_o_ai __vector unsigned short
7305 vec_eqv(__vector unsigned short __a, __vector unsigned short __b) {
7319 static inline __ATTRS_o_ai __vector unsigned int
7320 vec_eqv(__vector unsigned int __a, __vector unsigned int __b) {
7334 static inline __ATTRS_o_ai __vector unsigned long long
7335 vec_eqv(__vector unsigned long long __a, __vector unsigned long long __b) {
7349 static inline __ATTRS_o_ai __vector unsigned __int128
7350 vec_eqv(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
7356 return (__vector float)~((__vector unsigned int)__a ^
7357 (__vector unsigned int)__b);
7362 return (__vector double)~((__vector unsigned long long)__a ^
7363 (__vector unsigned long long)__b);
7372 __vector signed char __c, unsigned char __d)
7375 extern __ATTRS_o __vector unsigned char
7376 vec_evaluate(__vector unsigned char __a, __vector unsigned char __b,
7377 __vector unsigned char __c, unsigned char __d)
7382 __vector __bool char __c, unsigned char __d)
7387 __vector signed short __c, unsigned char __d)
7390 extern __ATTRS_o __vector unsigned short
7391 vec_evaluate(__vector unsigned short __a, __vector unsigned short __b,
7392 __vector unsigned short __c, unsigned char __d)
7397 __vector __bool short __c, unsigned char __d)
7402 __vector signed int __c, unsigned char __d)
7405 extern __ATTRS_o __vector unsigned int
7406 vec_evaluate(__vector unsigned int __a, __vector unsigned int __b,
7407 __vector unsigned int __c, unsigned char __d)
7412 __vector __bool int __c, unsigned char __d)
7417 __vector signed long long __c, unsigned char __d)
7420 extern __ATTRS_o __vector unsigned long long
7421 vec_evaluate(__vector unsigned long long __a, __vector unsigned long long __b,
7422 __vector unsigned long long __c, unsigned char __d)
7427 __vector __bool long long __c, unsigned char __d)
7432 __vector signed __int128 __c, unsigned char __d)
7435 extern __ATTRS_o __vector unsigned __int128
7436 vec_evaluate(__vector unsigned __int128 __a, __vector unsigned __int128 __b,
7437 __vector unsigned __int128 __c, unsigned char __d)
7442 __vector __bool __int128 __c, unsigned char __d)
7447 __builtin_s390_veval((__vector unsigned char)(A), \
7448 (__vector unsigned char)(B), \
7449 (__vector unsigned char)(C), (D)))
7454 static inline __ATTRS_o_ai __vector unsigned char
7456 return __builtin_s390_vclzb((__vector unsigned char)__a);
7459 static inline __ATTRS_o_ai __vector unsigned char
7460 vec_cntlz(__vector unsigned char __a) {
7464 static inline __ATTRS_o_ai __vector unsigned short
7466 return __builtin_s390_vclzh((__vector unsigned short)__a);
7469 static inline __ATTRS_o_ai __vector unsigned short
7470 vec_cntlz(__vector unsigned short __a) {
7474 static inline __ATTRS_o_ai __vector unsigned int
7476 return __builtin_s390_vclzf((__vector unsigned int)__a);
7479 static inline __ATTRS_o_ai __vector unsigned int
7480 vec_cntlz(__vector unsigned int __a) {
7484 static inline __ATTRS_o_ai __vector unsigned long long
7486 return __builtin_s390_vclzg((__vector unsigned long long)__a);
7489 static inline __ATTRS_o_ai __vector unsigned long long
7490 vec_cntlz(__vector unsigned long long __a) {
7495 static inline __ATTRS_o_ai __vector unsigned __int128
7497 return (__vector unsigned __int128)
7498 __builtin_s390_vclzq((unsigned __int128)__a);
7501 static inline __ATTRS_o_ai __vector unsigned __int128
7502 vec_cntlz(__vector unsigned __int128 __a) {
7503 return (__vector unsigned __int128)
7504 __builtin_s390_vclzq((unsigned __int128)__a);
7510 static inline __ATTRS_o_ai __vector unsigned char
7512 return __builtin_s390_vctzb((__vector unsigned char)__a);
7515 static inline __ATTRS_o_ai __vector unsigned char
7516 vec_cnttz(__vector unsigned char __a) {
7520 static inline __ATTRS_o_ai __vector unsigned short
7522 return __builtin_s390_vctzh((__vector unsigned short)__a);
7525 static inline __ATTRS_o_ai __vector unsigned short
7526 vec_cnttz(__vector unsigned short __a) {
7530 static inline __ATTRS_o_ai __vector unsigned int
7532 return __builtin_s390_vctzf((__vector unsigned int)__a);
7535 static inline __ATTRS_o_ai __vector unsigned int
7536 vec_cnttz(__vector unsigned int __a) {
7540 static inline __ATTRS_o_ai __vector unsigned long long
7542 return __builtin_s390_vctzg((__vector unsigned long long)__a);
7545 static inline __ATTRS_o_ai __vector unsigned long long
7546 vec_cnttz(__vector unsigned long long __a) {
7551 static inline __ATTRS_o_ai __vector unsigned __int128
7553 return (__vector unsigned __int128)
7554 __builtin_s390_vctzq((unsigned __int128)__a);
7557 static inline __ATTRS_o_ai __vector unsigned __int128
7558 vec_cnttz(__vector unsigned __int128 __a) {
7559 return (__vector unsigned __int128)
7560 __builtin_s390_vctzq((unsigned __int128)__a);
7566 static inline __ATTRS_o_ai __vector unsigned char
7568 return __builtin_elementwise_popcount((__vector unsigned char)__a);
7571 static inline __ATTRS_o_ai __vector unsigned char
7572 vec_popcnt(__vector unsigned char __a) {
7576 static inline __ATTRS_o_ai __vector unsigned short
7578 return __builtin_elementwise_popcount((__vector unsigned short)__a);
7581 static inline __ATTRS_o_ai __vector unsigned short
7582 vec_popcnt(__vector unsigned short __a) {
7586 static inline __ATTRS_o_ai __vector unsigned int
7588 return __builtin_elementwise_popcount((__vector unsigned int)__a);
7591 static inline __ATTRS_o_ai __vector unsigned int
7592 vec_popcnt(__vector unsigned int __a) {
7596 static inline __ATTRS_o_ai __vector unsigned long long
7598 return __builtin_elementwise_popcount((__vector unsigned long long)__a);
7601 static inline __ATTRS_o_ai __vector unsigned long long
7602 vec_popcnt(__vector unsigned long long __a) {
7609 vec_rl(__vector signed char __a, __vector unsigned char __b) {
7611 (__vector unsigned char)__a, __b);
7614 static inline __ATTRS_o_ai __vector unsigned char
7615 vec_rl(__vector unsigned char __a, __vector unsigned char __b) {
7620 vec_rl(__vector signed short __a, __vector unsigned short __b) {
7622 (__vector unsigned short)__a, __b);
7625 static inline __ATTRS_o_ai __vector unsigned short
7626 vec_rl(__vector unsigned short __a, __vector unsigned short __b) {
7631 vec_rl(__vector signed int __a, __vector unsigned int __b) {
7633 (__vector unsigned int)__a, __b);
7636 static inline __ATTRS_o_ai __vector unsigned int
7637 vec_rl(__vector unsigned int __a, __vector unsigned int __b) {
7642 vec_rl(__vector signed long long __a, __vector unsigned long long __b) {
7644 (__vector unsigned long long)__a, __b);
7647 static inline __ATTRS_o_ai __vector unsigned long long
7648 vec_rl(__vector unsigned long long __a, __vector unsigned long long __b) {
7655 vec_rli(__vector signed char __a, unsigned long __b) {
7657 (__vector unsigned char)__a, (unsigned char)__b);
7660 static inline __ATTRS_o_ai __vector unsigned char
7661 vec_rli(__vector unsigned char __a, unsigned long __b) {
7662 return __builtin_s390_verllb(__a, (unsigned char)__b);
7666 vec_rli(__vector signed short __a, unsigned long __b) {
7668 (__vector unsigned short)__a, (unsigned char)__b);
7671 static inline __ATTRS_o_ai __vector unsigned short
7672 vec_rli(__vector unsigned short __a, unsigned long __b) {
7673 return __builtin_s390_verllh(__a, (unsigned char)__b);
7677 vec_rli(__vector signed int __a, unsigned long __b) {
7679 (__vector unsigned int)__a, (unsigned char)__b);
7682 static inline __ATTRS_o_ai __vector unsigned int
7683 vec_rli(__vector unsigned int __a, unsigned long __b) {
7684 return __builtin_s390_verllf(__a, (unsigned char)__b);
7688 vec_rli(__vector signed long long __a, unsigned long __b) {
7690 (__vector unsigned long long)__a, (unsigned char)__b);
7693 static inline __ATTRS_o_ai __vector unsigned long long
7694 vec_rli(__vector unsigned long long __a, unsigned long __b) {
7695 return __builtin_s390_verllg(__a, (unsigned char)__b);
7701 vec_rl_mask(__vector signed char __a, __vector unsigned char __b,
7702 unsigned char __c) __constant(__c);
7704 extern __ATTRS_o __vector unsigned char
7705 vec_rl_mask(__vector unsigned char __a, __vector unsigned char __b,
7706 unsigned char __c) __constant(__c);
7709 vec_rl_mask(__vector signed short __a, __vector unsigned short __b,
7710 unsigned char __c) __constant(__c);
7712 extern __ATTRS_o __vector unsigned short
7713 vec_rl_mask(__vector unsigned short __a, __vector unsigned short __b,
7714 unsigned char __c) __constant(__c);
7717 vec_rl_mask(__vector signed int __a, __vector unsigned int __b,
7718 unsigned char __c) __constant(__c);
7720 extern __ATTRS_o __vector unsigned int
7721 vec_rl_mask(__vector unsigned int __a, __vector unsigned int __b,
7722 unsigned char __c) __constant(__c);
7725 vec_rl_mask(__vector signed long long __a, __vector unsigned long long __b,
7726 unsigned char __c) __constant(__c);
7728 extern __ATTRS_o __vector unsigned long long
7729 vec_rl_mask(__vector unsigned long long __a, __vector unsigned long long __b,
7730 unsigned char __c) __constant(__c);
7734 __vector unsigned char __res; \
7735 __vector unsigned char __x = (__vector unsigned char)(X); \
7736 __vector unsigned char __y = (__vector unsigned char)(Y); \
7738 case 1: __res = (__vector unsigned char) __builtin_s390_verimb( \
7739 (__vector unsigned char)__x, (__vector unsigned char)__x, \
7740 (__vector unsigned char)__y, (Z)); break; \
7741 case 2: __res = (__vector unsigned char) __builtin_s390_verimh( \
7742 (__vector unsigned short)__x, (__vector unsigned short)__x, \
7743 (__vector unsigned short)__y, (Z)); break; \
7744 case 4: __res = (__vector unsigned char) __builtin_s390_verimf( \
7745 (__vector unsigned int)__x, (__vector unsigned int)__x, \
7746 (__vector unsigned int)__y, (Z)); break; \
7747 default: __res = (__vector unsigned char) __builtin_s390_verimg( \
7748 (__vector unsigned long long)__x, (__vector unsigned long long)__x, \
7749 (__vector unsigned long long)__y, (Z)); break; \
7755 vec_sll(__vector signed char __a, __vector unsigned char __b) {
7757 (__vector unsigned char)__a, __b);
7762 vec_sll(__vector signed char __a, __vector unsigned short __b) {
7764 (__vector unsigned char)__a, (__vector unsigned char)__b);
7769 vec_sll(__vector signed char __a, __vector unsigned int __b) {
7771 (__vector unsigned char)__a, (__vector unsigned char)__b);
7776 vec_sll(__vector __bool char __a, __vector unsigned char __b) {
7778 (__vector unsigned char)__a, __b);
7783 vec_sll(__vector __bool char __a, __vector unsigned short __b) {
7785 (__vector unsigned char)__a, (__vector unsigned char)__b);
7790 vec_sll(__vector __bool char __a, __vector unsigned int __b) {
7792 (__vector unsigned char)__a, (__vector unsigned char)__b);
7795 static inline __ATTRS_o_ai __vector unsigned char
7796 vec_sll(__vector unsigned char __a, __vector unsigned char __b) {
7801 static inline __ATTRS_o_ai __vector unsigned char
7802 vec_sll(__vector unsigned char __a, __vector unsigned short __b) {
7803 return __builtin_s390_vsl(__a, (__vector unsigned char)__b);
7807 static inline __ATTRS_o_ai __vector unsigned char
7808 vec_sll(__vector unsigned char __a, __vector unsigned int __b) {
7809 return __builtin_s390_vsl(__a, (__vector unsigned char)__b);
7813 vec_sll(__vector signed short __a, __vector unsigned char __b) {
7815 (__vector unsigned char)__a, __b);
7820 vec_sll(__vector signed short __a, __vector unsigned short __b) {
7822 (__vector unsigned char)__a, (__vector unsigned char)__b);
7827 vec_sll(__vector signed short __a, __vector unsigned int __b) {
7829 (__vector unsigned char)__a, (__vector unsigned char)__b);
7834 vec_sll(__vector __bool short __a, __vector unsigned char __b) {
7836 (__vector unsigned char)__a, __b);
7841 vec_sll(__vector __bool short __a, __vector unsigned short __b) {
7843 (__vector unsigned char)__a, (__vector unsigned char)__b);
7848 vec_sll(__vector __bool short __a, __vector unsigned int __b) {
7850 (__vector unsigned char)__a, (__vector unsigned char)__b);
7853 static inline __ATTRS_o_ai __vector unsigned short
7854 vec_sll(__vector unsigned short __a, __vector unsigned char __b) {
7855 return (__vector unsigned short)__builtin_s390_vsl(
7856 (__vector unsigned char)__a, __b);
7860 static inline __ATTRS_o_ai __vector unsigned short
7861 vec_sll(__vector unsigned short __a, __vector unsigned short __b) {
7862 return (__vector unsigned short)__builtin_s390_vsl(
7863 (__vector unsigned char)__a, (__vector unsigned char)__b);
7867 static inline __ATTRS_o_ai __vector unsigned short
7868 vec_sll(__vector unsigned short __a, __vector unsigned int __b) {
7869 return (__vector unsigned short)__builtin_s390_vsl(
7870 (__vector unsigned char)__a, (__vector unsigned char)__b);
7874 vec_sll(__vector signed int __a, __vector unsigned char __b) {
7876 (__vector unsigned char)__a, __b);
7881 vec_sll(__vector signed int __a, __vector unsigned short __b) {
7883 (__vector unsigned char)__a, (__vector unsigned char)__b);
7888 vec_sll(__vector signed int __a, __vector unsigned int __b) {
7890 (__vector unsigned char)__a, (__vector unsigned char)__b);
7895 vec_sll(__vector __bool int __a, __vector unsigned char __b) {
7897 (__vector unsigned char)__a, __b);
7902 vec_sll(__vector __bool int __a, __vector unsigned short __b) {
7904 (__vector unsigned char)__a, (__vector unsigned char)__b);
7909 vec_sll(__vector __bool int __a, __vector unsigned int __b) {
7911 (__vector unsigned char)__a, (__vector unsigned char)__b);
7914 static inline __ATTRS_o_ai __vector unsigned int
7915 vec_sll(__vector unsigned int __a, __vector unsigned char __b) {
7916 return (__vector unsigned int)__builtin_s390_vsl(
7917 (__vector unsigned char)__a, __b);
7921 static inline __ATTRS_o_ai __vector unsigned int
7922 vec_sll(__vector unsigned int __a, __vector unsigned short __b) {
7923 return (__vector unsigned int)__builtin_s390_vsl(
7924 (__vector unsigned char)__a, (__vector unsigned char)__b);
7928 static inline __ATTRS_o_ai __vector unsigned int
7929 vec_sll(__vector unsigned int __a, __vector unsigned int __b) {
7930 return (__vector unsigned int)__builtin_s390_vsl(
7931 (__vector unsigned char)__a, (__vector unsigned char)__b);
7935 vec_sll(__vector signed long long __a, __vector unsigned char __b) {
7937 (__vector unsigned char)__a, __b);
7942 vec_sll(__vector signed long long __a, __vector unsigned short __b) {
7944 (__vector unsigned char)__a, (__vector unsigned char)__b);
7949 vec_sll(__vector signed long long __a, __vector unsigned int __b) {
7951 (__vector unsigned char)__a, (__vector unsigned char)__b);
7956 vec_sll(__vector __bool long long __a, __vector unsigned char __b) {
7958 (__vector unsigned char)__a, __b);
7963 vec_sll(__vector __bool long long __a, __vector unsigned short __b) {
7965 (__vector unsigned char)__a, (__vector unsigned char)__b);
7970 vec_sll(__vector __bool long long __a, __vector unsigned int __b) {
7972 (__vector unsigned char)__a, (__vector unsigned char)__b);
7975 static inline __ATTRS_o_ai __vector unsigned long long
7976 vec_sll(__vector unsigned long long __a, __vector unsigned char __b) {
7977 return (__vector unsigned long long)__builtin_s390_vsl(
7978 (__vector unsigned char)__a, __b);
7982 static inline __ATTRS_o_ai __vector unsigned long long
7983 vec_sll(__vector unsigned long long __a, __vector unsigned short __b) {
7984 return (__vector unsigned long long)__builtin_s390_vsl(
7985 (__vector unsigned char)__a, (__vector unsigned char)__b);
7989 static inline __ATTRS_o_ai __vector unsigned long long
7990 vec_sll(__vector unsigned long long __a, __vector unsigned int __b) {
7991 return (__vector unsigned long long)__builtin_s390_vsl(
7992 (__vector unsigned char)__a, (__vector unsigned char)__b);
7996 vec_sll(__vector signed __int128 __a, __vector unsigned char __b) {
7998 (__vector unsigned char)__a, __b);
8001 static inline __ATTRS_o_ai __vector unsigned __int128
8002 vec_sll(__vector unsigned __int128 __a, __vector unsigned char __b) {
8003 return (__vector unsigned __int128)__builtin_s390_vsl(
8004 (__vector unsigned char)__a, __b);
8013 (__vector unsigned char)__a, (__vector unsigned char)__b);
8017 vec_slb(__vector signed char __a, __vector unsigned char __b) {
8019 (__vector unsigned char)__a, __b);
8023 static inline __ATTRS_o_ai __vector unsigned char
8024 vec_slb(__vector unsigned char __a, __vector signed char __b) {
8025 return __builtin_s390_vslb(__a, (__vector unsigned char)__b);
8028 static inline __ATTRS_o_ai __vector unsigned char
8029 vec_slb(__vector unsigned char __a, __vector unsigned char __b) {
8037 (__vector unsigned char)__a, (__vector unsigned char)__b);
8042 vec_slb(__vector signed short __a, __vector unsigned short __b) {
8044 (__vector unsigned char)__a, (__vector unsigned char)__b);
8048 vec_slb(__vector signed short __a, __vector unsigned char __b) {
8050 (__vector unsigned char)__a, __b);
8054 static inline __ATTRS_o_ai __vector unsigned short
8055 vec_slb(__vector unsigned short __a, __vector signed short __b) {
8056 return (__vector unsigned short)__builtin_s390_vslb(
8057 (__vector unsigned char)__a, (__vector unsigned char)__b);
8061 static inline __ATTRS_o_ai __vector unsigned short
8062 vec_slb(__vector unsigned short __a, __vector unsigned short __b) {
8063 return (__vector unsigned short)__builtin_s390_vslb(
8064 (__vector unsigned char)__a, (__vector unsigned char)__b);
8067 static inline __ATTRS_o_ai __vector unsigned short
8068 vec_slb(__vector unsigned short __a, __vector unsigned char __b) {
8069 return (__vector unsigned short)__builtin_s390_vslb(
8070 (__vector unsigned char)__a, __b);
8077 (__vector unsigned char)__a, (__vector unsigned char)__b);
8082 vec_slb(__vector signed int __a, __vector unsigned int __b) {
8084 (__vector unsigned char)__a, (__vector unsigned char)__b);
8088 vec_slb(__vector signed int __a, __vector unsigned char __b) {
8090 (__vector unsigned char)__a, __b);
8094 static inline __ATTRS_o_ai __vector unsigned int
8095 vec_slb(__vector unsigned int __a, __vector signed int __b) {
8096 return (__vector unsigned int)__builtin_s390_vslb(
8097 (__vector unsigned char)__a, (__vector unsigned char)__b);
8101 static inline __ATTRS_o_ai __vector unsigned int
8102 vec_slb(__vector unsigned int __a, __vector unsigned int __b) {
8103 return (__vector unsigned int)__builtin_s390_vslb(
8104 (__vector unsigned char)__a, (__vector unsigned char)__b);
8107 static inline __ATTRS_o_ai __vector unsigned int
8108 vec_slb(__vector unsigned int __a, __vector unsigned char __b) {
8109 return (__vector unsigned int)__builtin_s390_vslb(
8110 (__vector unsigned char)__a, __b);
8117 (__vector unsigned char)__a, (__vector unsigned char)__b);
8122 vec_slb(__vector signed long long __a, __vector unsigned long long __b) {
8124 (__vector unsigned char)__a, (__vector unsigned char)__b);
8128 vec_slb(__vector signed long long __a, __vector unsigned char __b) {
8130 (__vector unsigned char)__a, __b);
8134 static inline __ATTRS_o_ai __vector unsigned long long
8135 vec_slb(__vector unsigned long long __a, __vector signed long long __b) {
8136 return (__vector unsigned long long)__builtin_s390_vslb(
8137 (__vector unsigned char)__a, (__vector unsigned char)__b);
8141 static inline __ATTRS_o_ai __vector unsigned long long
8142 vec_slb(__vector unsigned long long __a, __vector unsigned long long __b) {
8143 return (__vector unsigned long long)__builtin_s390_vslb(
8144 (__vector unsigned char)__a, (__vector unsigned char)__b);
8147 static inline __ATTRS_o_ai __vector unsigned long long
8148 vec_slb(__vector unsigned long long __a, __vector unsigned char __b) {
8149 return (__vector unsigned long long)__builtin_s390_vslb(
8150 (__vector unsigned char)__a, __b);
8154 vec_slb(__vector signed __int128 __a, __vector unsigned char __b) {
8156 (__vector unsigned char)__a, __b);
8159 static inline __ATTRS_o_ai __vector unsigned __int128
8160 vec_slb(__vector unsigned __int128 __a, __vector unsigned char __b) {
8161 return (__vector unsigned __int128)__builtin_s390_vslb(
8162 (__vector unsigned char)__a, __b);
8170 (__vector unsigned char)__a, (__vector unsigned char)__b);
8175 vec_slb(__vector float __a, __vector unsigned int __b) {
8177 (__vector unsigned char)__a, (__vector unsigned char)__b);
8181 vec_slb(__vector float __a, __vector unsigned char __b) {
8183 (__vector unsigned char)__a, __b);
8191 (__vector unsigned char)__a, (__vector unsigned char)__b);
8196 vec_slb(__vector double __a, __vector unsigned long long __b) {
8198 (__vector unsigned char)__a, (__vector unsigned char)__b);
8202 vec_slb(__vector double __a, __vector unsigned char __b) {
8204 (__vector unsigned char)__a, __b);
8218 extern __ATTRS_o __vector unsigned char
8219 vec_sld(__vector unsigned char __a, __vector unsigned char __b, int __c)
8231 extern __ATTRS_o __vector unsigned short
8232 vec_sld(__vector unsigned short __a, __vector unsigned short __b, int __c)
8244 extern __ATTRS_o __vector unsigned int
8245 vec_sld(__vector unsigned int __a, __vector unsigned int __b, int __c)
8257 extern __ATTRS_o __vector unsigned long long
8258 vec_sld(__vector unsigned long long __a, __vector unsigned long long __b,
8266 extern __ATTRS_o __vector unsigned __int128
8267 vec_sld(__vector unsigned __int128 __a, __vector unsigned __int128 __b,
8282 __builtin_s390_vsldb((__vector unsigned char)(X), \
8283 (__vector unsigned char)(Y), (Z)))
8291 extern __ATTRS_o __vector unsigned char
8292 vec_sldw(__vector unsigned char __a, __vector unsigned char __b, int __c)
8299 extern __ATTRS_o __vector unsigned short
8300 vec_sldw(__vector unsigned short __a, __vector unsigned short __b, int __c)
8307 extern __ATTRS_o __vector unsigned int
8308 vec_sldw(__vector unsigned int __a, __vector unsigned int __b, int __c)
8315 extern __ATTRS_o __vector unsigned long long
8316 vec_sldw(__vector unsigned long long __a, __vector unsigned long long __b,
8324 extern __ATTRS_o __vector unsigned __int128
8325 vec_sldw(__vector unsigned __int128 __a, __vector unsigned __int128 __b,
8335 __builtin_s390_vsldb((__vector unsigned char)(X), \
8336 (__vector unsigned char)(Y), (Z) * 4))
8346 extern __ATTRS_o __vector unsigned char
8347 vec_sldb(__vector unsigned char __a, __vector unsigned char __b, int __c)
8354 extern __ATTRS_o __vector unsigned short
8355 vec_sldb(__vector unsigned short __a, __vector unsigned short __b, int __c)
8362 extern __ATTRS_o __vector unsigned int
8363 vec_sldb(__vector unsigned int __a, __vector unsigned int __b, int __c)
8370 extern __ATTRS_o __vector unsigned long long
8371 vec_sldb(__vector unsigned long long __a, __vector unsigned long long __b,
8379 extern __ATTRS_o __vector unsigned __int128
8380 vec_sldb(__vector unsigned __int128 __a, __vector unsigned __int128 __b,
8393 __builtin_s390_vsld((__vector unsigned char)(X), \
8394 (__vector unsigned char)(Y), (Z)))
8401 vec_sral(__vector signed char __a, __vector unsigned char __b) {
8403 (__vector unsigned char)__a, __b);
8408 vec_sral(__vector signed char __a, __vector unsigned short __b) {
8410 (__vector unsigned char)__a, (__vector unsigned char)__b);
8415 vec_sral(__vector signed char __a, __vector unsigned int __b) {
8417 (__vector unsigned char)__a, (__vector unsigned char)__b);
8422 vec_sral(__vector __bool char __a, __vector unsigned char __b) {
8424 (__vector unsigned char)__a, __b);
8429 vec_sral(__vector __bool char __a, __vector unsigned short __b) {
8431 (__vector unsigned char)__a, (__vector unsigned char)__b);
8436 vec_sral(__vector __bool char __a, __vector unsigned int __b) {
8438 (__vector unsigned char)__a, (__vector unsigned char)__b);
8441 static inline __ATTRS_o_ai __vector unsigned char
8442 vec_sral(__vector unsigned char __a, __vector unsigned char __b) {
8447 static inline __ATTRS_o_ai __vector unsigned char
8448 vec_sral(__vector unsigned char __a, __vector unsigned short __b) {
8449 return __builtin_s390_vsra(__a, (__vector unsigned char)__b);
8453 static inline __ATTRS_o_ai __vector unsigned char
8454 vec_sral(__vector unsigned char __a, __vector unsigned int __b) {
8455 return __builtin_s390_vsra(__a, (__vector unsigned char)__b);
8459 vec_sral(__vector signed short __a, __vector unsigned char __b) {
8461 (__vector unsigned char)__a, __b);
8466 vec_sral(__vector signed short __a, __vector unsigned short __b) {
8468 (__vector unsigned char)__a, (__vector unsigned char)__b);
8473 vec_sral(__vector signed short __a, __vector unsigned int __b) {
8475 (__vector unsigned char)__a, (__vector unsigned char)__b);
8480 vec_sral(__vector __bool short __a, __vector unsigned char __b) {
8482 (__vector unsigned char)__a, __b);
8487 vec_sral(__vector __bool short __a, __vector unsigned short __b) {
8489 (__vector unsigned char)__a, (__vector unsigned char)__b);
8494 vec_sral(__vector __bool short __a, __vector unsigned int __b) {
8496 (__vector unsigned char)__a, (__vector unsigned char)__b);
8499 static inline __ATTRS_o_ai __vector unsigned short
8500 vec_sral(__vector unsigned short __a, __vector unsigned char __b) {
8501 return (__vector unsigned short)__builtin_s390_vsra(
8502 (__vector unsigned char)__a, __b);
8506 static inline __ATTRS_o_ai __vector unsigned short
8507 vec_sral(__vector unsigned short __a, __vector unsigned short __b) {
8508 return (__vector unsigned short)__builtin_s390_vsra(
8509 (__vector unsigned char)__a, (__vector unsigned char)__b);
8513 static inline __ATTRS_o_ai __vector unsigned short
8514 vec_sral(__vector unsigned short __a, __vector unsigned int __b) {
8515 return (__vector unsigned short)__builtin_s390_vsra(
8516 (__vector unsigned char)__a, (__vector unsigned char)__b);
8520 vec_sral(__vector signed int __a, __vector unsigned char __b) {
8522 (__vector unsigned char)__a, __b);
8527 vec_sral(__vector signed int __a, __vector unsigned short __b) {
8529 (__vector unsigned char)__a, (__vector unsigned char)__b);
8534 vec_sral(__vector signed int __a, __vector unsigned int __b) {
8536 (__vector unsigned char)__a, (__vector unsigned char)__b);
8541 vec_sral(__vector __bool int __a, __vector unsigned char __b) {
8543 (__vector unsigned char)__a, __b);
8548 vec_sral(__vector __bool int __a, __vector unsigned short __b) {
8550 (__vector unsigned char)__a, (__vector unsigned char)__b);
8555 vec_sral(__vector __bool int __a, __vector unsigned int __b) {
8557 (__vector unsigned char)__a, (__vector unsigned char)__b);
8560 static inline __ATTRS_o_ai __vector unsigned int
8561 vec_sral(__vector unsigned int __a, __vector unsigned char __b) {
8562 return (__vector unsigned int)__builtin_s390_vsra(
8563 (__vector unsigned char)__a, __b);
8567 static inline __ATTRS_o_ai __vector unsigned int
8568 vec_sral(__vector unsigned int __a, __vector unsigned short __b) {
8569 return (__vector unsigned int)__builtin_s390_vsra(
8570 (__vector unsigned char)__a, (__vector unsigned char)__b);
8574 static inline __ATTRS_o_ai __vector unsigned int
8575 vec_sral(__vector unsigned int __a, __vector unsigned int __b) {
8576 return (__vector unsigned int)__builtin_s390_vsra(
8577 (__vector unsigned char)__a, (__vector unsigned char)__b);
8581 vec_sral(__vector signed long long __a, __vector unsigned char __b) {
8583 (__vector unsigned char)__a, __b);
8588 vec_sral(__vector signed long long __a, __vector unsigned short __b) {
8590 (__vector unsigned char)__a, (__vector unsigned char)__b);
8595 vec_sral(__vector signed long long __a, __vector unsigned int __b) {
8597 (__vector unsigned char)__a, (__vector unsigned char)__b);
8602 vec_sral(__vector __bool long long __a, __vector unsigned char __b) {
8604 (__vector unsigned char)__a, __b);
8609 vec_sral(__vector __bool long long __a, __vector unsigned short __b) {
8611 (__vector unsigned char)__a, (__vector unsigned char)__b);
8616 vec_sral(__vector __bool long long __a, __vector unsigned int __b) {
8618 (__vector unsigned char)__a, (__vector unsigned char)__b);
8621 static inline __ATTRS_o_ai __vector unsigned long long
8622 vec_sral(__vector unsigned long long __a, __vector unsigned char __b) {
8623 return (__vector unsigned long long)__builtin_s390_vsra(
8624 (__vector unsigned char)__a, __b);
8628 static inline __ATTRS_o_ai __vector unsigned long long
8629 vec_sral(__vector unsigned long long __a, __vector unsigned short __b) {
8630 return (__vector unsigned long long)__builtin_s390_vsra(
8631 (__vector unsigned char)__a, (__vector unsigned char)__b);
8635 static inline __ATTRS_o_ai __vector unsigned long long
8636 vec_sral(__vector unsigned long long __a, __vector unsigned int __b) {
8637 return (__vector unsigned long long)__builtin_s390_vsra(
8638 (__vector unsigned char)__a, (__vector unsigned char)__b);
8642 vec_sral(__vector signed __int128 __a, __vector unsigned char __b) {
8644 (__vector unsigned char)__a, __b);
8647 static inline __ATTRS_o_ai __vector unsigned __int128
8648 vec_sral(__vector unsigned __int128 __a, __vector unsigned char __b) {
8649 return (__vector unsigned __int128)__builtin_s390_vsra(
8650 (__vector unsigned char)__a, __b);
8659 (__vector unsigned char)__a, (__vector unsigned char)__b);
8663 vec_srab(__vector signed char __a, __vector unsigned char __b) {
8665 (__vector unsigned char)__a, __b);
8669 static inline __ATTRS_o_ai __vector unsigned char
8670 vec_srab(__vector unsigned char __a, __vector signed char __b) {
8671 return __builtin_s390_vsrab(__a, (__vector unsigned char)__b);
8674 static inline __ATTRS_o_ai __vector unsigned char
8675 vec_srab(__vector unsigned char __a, __vector unsigned char __b) {
8683 (__vector unsigned char)__a, (__vector unsigned char)__b);
8688 vec_srab(__vector signed short __a, __vector unsigned short __b) {
8690 (__vector unsigned char)__a, (__vector unsigned char)__b);
8694 vec_srab(__vector signed short __a, __vector unsigned char __b) {
8696 (__vector unsigned char)__a, __b);
8700 static inline __ATTRS_o_ai __vector unsigned short
8701 vec_srab(__vector unsigned short __a, __vector signed short __b) {
8702 return (__vector unsigned short)__builtin_s390_vsrab(
8703 (__vector unsigned char)__a, (__vector unsigned char)__b);
8707 static inline __ATTRS_o_ai __vector unsigned short
8708 vec_srab(__vector unsigned short __a, __vector unsigned short __b) {
8709 return (__vector unsigned short)__builtin_s390_vsrab(
8710 (__vector unsigned char)__a, (__vector unsigned char)__b);
8713 static inline __ATTRS_o_ai __vector unsigned short
8714 vec_srab(__vector unsigned short __a, __vector unsigned char __b) {
8715 return (__vector unsigned short)__builtin_s390_vsrab(
8716 (__vector unsigned char)__a, __b);
8723 (__vector unsigned char)__a, (__vector unsigned char)__b);
8728 vec_srab(__vector signed int __a, __vector unsigned int __b) {
8730 (__vector unsigned char)__a, (__vector unsigned char)__b);
8734 vec_srab(__vector signed int __a, __vector unsigned char __b) {
8736 (__vector unsigned char)__a, __b);
8740 static inline __ATTRS_o_ai __vector unsigned int
8741 vec_srab(__vector unsigned int __a, __vector signed int __b) {
8742 return (__vector unsigned int)__builtin_s390_vsrab(
8743 (__vector unsigned char)__a, (__vector unsigned char)__b);
8747 static inline __ATTRS_o_ai __vector unsigned int
8748 vec_srab(__vector unsigned int __a, __vector unsigned int __b) {
8749 return (__vector unsigned int)__builtin_s390_vsrab(
8750 (__vector unsigned char)__a, (__vector unsigned char)__b);
8753 static inline __ATTRS_o_ai __vector unsigned int
8754 vec_srab(__vector unsigned int __a, __vector unsigned char __b) {
8755 return (__vector unsigned int)__builtin_s390_vsrab(
8756 (__vector unsigned char)__a, __b);
8763 (__vector unsigned char)__a, (__vector unsigned char)__b);
8768 vec_srab(__vector signed long long __a, __vector unsigned long long __b) {
8770 (__vector unsigned char)__a, (__vector unsigned char)__b);
8774 vec_srab(__vector signed long long __a, __vector unsigned char __b) {
8776 (__vector unsigned char)__a, __b);
8780 static inline __ATTRS_o_ai __vector unsigned long long
8781 vec_srab(__vector unsigned long long __a, __vector signed long long __b) {
8782 return (__vector unsigned long long)__builtin_s390_vsrab(
8783 (__vector unsigned char)__a, (__vector unsigned char)__b);
8787 static inline __ATTRS_o_ai __vector unsigned long long
8788 vec_srab(__vector unsigned long long __a, __vector unsigned long long __b) {
8789 return (__vector unsigned long long)__builtin_s390_vsrab(
8790 (__vector unsigned char)__a, (__vector unsigned char)__b);
8793 static inline __ATTRS_o_ai __vector unsigned long long
8794 vec_srab(__vector unsigned long long __a, __vector unsigned char __b) {
8795 return (__vector unsigned long long)__builtin_s390_vsrab(
8796 (__vector unsigned char)__a, __b);
8800 vec_srab(__vector signed __int128 __a, __vector unsigned char __b) {
8802 (__vector unsigned char)__a, __b);
8805 static inline __ATTRS_o_ai __vector unsigned __int128
8806 vec_srab(__vector unsigned __int128 __a, __vector unsigned char __b) {
8807 return (__vector unsigned __int128)__builtin_s390_vsrab(
8808 (__vector unsigned char)__a, __b);
8816 (__vector unsigned char)__a, (__vector unsigned char)__b);
8821 vec_srab(__vector float __a, __vector unsigned int __b) {
8823 (__vector unsigned char)__a, (__vector unsigned char)__b);
8827 vec_srab(__vector float __a, __vector unsigned char __b) {
8829 (__vector unsigned char)__a, __b);
8837 (__vector unsigned char)__a, (__vector unsigned char)__b);
8842 vec_srab(__vector double __a, __vector unsigned long long __b) {
8844 (__vector unsigned char)__a, (__vector unsigned char)__b);
8848 vec_srab(__vector double __a, __vector unsigned char __b) {
8850 (__vector unsigned char)__a, __b);
8856 vec_srl(__vector signed char __a, __vector unsigned char __b) {
8858 (__vector unsigned char)__a, __b);
8863 vec_srl(__vector signed char __a, __vector unsigned short __b) {
8865 (__vector unsigned char)__a, (__vector unsigned char)__b);
8870 vec_srl(__vector signed char __a, __vector unsigned int __b) {
8872 (__vector unsigned char)__a, (__vector unsigned char)__b);
8877 vec_srl(__vector __bool char __a, __vector unsigned char __b) {
8879 (__vector unsigned char)__a, __b);
8884 vec_srl(__vector __bool char __a, __vector unsigned short __b) {
8886 (__vector unsigned char)__a, (__vector unsigned char)__b);
8891 vec_srl(__vector __bool char __a, __vector unsigned int __b) {
8893 (__vector unsigned char)__a, (__vector unsigned char)__b);
8896 static inline __ATTRS_o_ai __vector unsigned char
8897 vec_srl(__vector unsigned char __a, __vector unsigned char __b) {
8902 static inline __ATTRS_o_ai __vector unsigned char
8903 vec_srl(__vector unsigned char __a, __vector unsigned short __b) {
8904 return __builtin_s390_vsrl(__a, (__vector unsigned char)__b);
8908 static inline __ATTRS_o_ai __vector unsigned char
8909 vec_srl(__vector unsigned char __a, __vector unsigned int __b) {
8910 return __builtin_s390_vsrl(__a, (__vector unsigned char)__b);
8914 vec_srl(__vector signed short __a, __vector unsigned char __b) {
8916 (__vector unsigned char)__a, __b);
8921 vec_srl(__vector signed short __a, __vector unsigned short __b) {
8923 (__vector unsigned char)__a, (__vector unsigned char)__b);
8928 vec_srl(__vector signed short __a, __vector unsigned int __b) {
8930 (__vector unsigned char)__a, (__vector unsigned char)__b);
8935 vec_srl(__vector __bool short __a, __vector unsigned char __b) {
8937 (__vector unsigned char)__a, __b);
8942 vec_srl(__vector __bool short __a, __vector unsigned short __b) {
8944 (__vector unsigned char)__a, (__vector unsigned char)__b);
8949 vec_srl(__vector __bool short __a, __vector unsigned int __b) {
8951 (__vector unsigned char)__a, (__vector unsigned char)__b);
8954 static inline __ATTRS_o_ai __vector unsigned short
8955 vec_srl(__vector unsigned short __a, __vector unsigned char __b) {
8956 return (__vector unsigned short)__builtin_s390_vsrl(
8957 (__vector unsigned char)__a, __b);
8961 static inline __ATTRS_o_ai __vector unsigned short
8962 vec_srl(__vector unsigned short __a, __vector unsigned short __b) {
8963 return (__vector unsigned short)__builtin_s390_vsrl(
8964 (__vector unsigned char)__a, (__vector unsigned char)__b);
8968 static inline __ATTRS_o_ai __vector unsigned short
8969 vec_srl(__vector unsigned short __a, __vector unsigned int __b) {
8970 return (__vector unsigned short)__builtin_s390_vsrl(
8971 (__vector unsigned char)__a, (__vector unsigned char)__b);
8975 vec_srl(__vector signed int __a, __vector unsigned char __b) {
8977 (__vector unsigned char)__a, __b);
8982 vec_srl(__vector signed int __a, __vector unsigned short __b) {
8984 (__vector unsigned char)__a, (__vector unsigned char)__b);
8989 vec_srl(__vector signed int __a, __vector unsigned int __b) {
8991 (__vector unsigned char)__a, (__vector unsigned char)__b);
8996 vec_srl(__vector __bool int __a, __vector unsigned char __b) {
8998 (__vector unsigned char)__a, __b);
9003 vec_srl(__vector __bool int __a, __vector unsigned short __b) {
9005 (__vector unsigned char)__a, (__vector unsigned char)__b);
9010 vec_srl(__vector __bool int __a, __vector unsigned int __b) {
9012 (__vector unsigned char)__a, (__vector unsigned char)__b);
9015 static inline __ATTRS_o_ai __vector unsigned int
9016 vec_srl(__vector unsigned int __a, __vector unsigned char __b) {
9017 return (__vector unsigned int)__builtin_s390_vsrl(
9018 (__vector unsigned char)__a, __b);
9022 static inline __ATTRS_o_ai __vector unsigned int
9023 vec_srl(__vector unsigned int __a, __vector unsigned short __b) {
9024 return (__vector unsigned int)__builtin_s390_vsrl(
9025 (__vector unsigned char)__a, (__vector unsigned char)__b);
9029 static inline __ATTRS_o_ai __vector unsigned int
9030 vec_srl(__vector unsigned int __a, __vector unsigned int __b) {
9031 return (__vector unsigned int)__builtin_s390_vsrl(
9032 (__vector unsigned char)__a, (__vector unsigned char)__b);
9036 vec_srl(__vector signed long long __a, __vector unsigned char __b) {
9038 (__vector unsigned char)__a, __b);
9043 vec_srl(__vector signed long long __a, __vector unsigned short __b) {
9045 (__vector unsigned char)__a, (__vector unsigned char)__b);
9050 vec_srl(__vector signed long long __a, __vector unsigned int __b) {
9052 (__vector unsigned char)__a, (__vector unsigned char)__b);
9057 vec_srl(__vector __bool long long __a, __vector unsigned char __b) {
9059 (__vector unsigned char)__a, __b);
9064 vec_srl(__vector __bool long long __a, __vector unsigned short __b) {
9066 (__vector unsigned char)__a, (__vector unsigned char)__b);
9071 vec_srl(__vector __bool long long __a, __vector unsigned int __b) {
9073 (__vector unsigned char)__a, (__vector unsigned char)__b);
9076 static inline __ATTRS_o_ai __vector unsigned long long
9077 vec_srl(__vector unsigned long long __a, __vector unsigned char __b) {
9078 return (__vector unsigned long long)__builtin_s390_vsrl(
9079 (__vector unsigned char)__a, __b);
9083 static inline __ATTRS_o_ai __vector unsigned long long
9084 vec_srl(__vector unsigned long long __a, __vector unsigned short __b) {
9085 return (__vector unsigned long long)__builtin_s390_vsrl(
9086 (__vector unsigned char)__a, (__vector unsigned char)__b);
9090 static inline __ATTRS_o_ai __vector unsigned long long
9091 vec_srl(__vector unsigned long long __a, __vector unsigned int __b) {
9092 return (__vector unsigned long long)__builtin_s390_vsrl(
9093 (__vector unsigned char)__a, (__vector unsigned char)__b);
9097 vec_srl(__vector signed __int128 __a, __vector unsigned char __b) {
9099 (__vector unsigned char)__a, __b);
9102 static inline __ATTRS_o_ai __vector unsigned __int128
9103 vec_srl(__vector unsigned __int128 __a, __vector unsigned char __b) {
9104 return (__vector unsigned __int128)__builtin_s390_vsrl(
9105 (__vector unsigned char)__a, __b);
9114 (__vector unsigned char)__a, (__vector unsigned char)__b);
9118 vec_srb(__vector signed char __a, __vector unsigned char __b) {
9120 (__vector unsigned char)__a, __b);
9124 static inline __ATTRS_o_ai __vector unsigned char
9125 vec_srb(__vector unsigned char __a, __vector signed char __b) {
9126 return __builtin_s390_vsrlb(__a, (__vector unsigned char)__b);
9129 static inline __ATTRS_o_ai __vector unsigned char
9130 vec_srb(__vector unsigned char __a, __vector unsigned char __b) {
9138 (__vector unsigned char)__a, (__vector unsigned char)__b);
9143 vec_srb(__vector signed short __a, __vector unsigned short __b) {
9145 (__vector unsigned char)__a, (__vector unsigned char)__b);
9149 vec_srb(__vector signed short __a, __vector unsigned char __b) {
9151 (__vector unsigned char)__a, __b);
9155 static inline __ATTRS_o_ai __vector unsigned short
9156 vec_srb(__vector unsigned short __a, __vector signed short __b) {
9157 return (__vector unsigned short)__builtin_s390_vsrlb(
9158 (__vector unsigned char)__a, (__vector unsigned char)__b);
9162 static inline __ATTRS_o_ai __vector unsigned short
9163 vec_srb(__vector unsigned short __a, __vector unsigned short __b) {
9164 return (__vector unsigned short)__builtin_s390_vsrlb(
9165 (__vector unsigned char)__a, (__vector unsigned char)__b);
9168 static inline __ATTRS_o_ai __vector unsigned short
9169 vec_srb(__vector unsigned short __a, __vector unsigned char __b) {
9170 return (__vector unsigned short)__builtin_s390_vsrlb(
9171 (__vector unsigned char)__a, __b);
9178 (__vector unsigned char)__a, (__vector unsigned char)__b);
9183 vec_srb(__vector signed int __a, __vector unsigned int __b) {
9185 (__vector unsigned char)__a, (__vector unsigned char)__b);
9189 vec_srb(__vector signed int __a, __vector unsigned char __b) {
9191 (__vector unsigned char)__a, __b);
9195 static inline __ATTRS_o_ai __vector unsigned int
9196 vec_srb(__vector unsigned int __a, __vector signed int __b) {
9197 return (__vector unsigned int)__builtin_s390_vsrlb(
9198 (__vector unsigned char)__a, (__vector unsigned char)__b);
9202 static inline __ATTRS_o_ai __vector unsigned int
9203 vec_srb(__vector unsigned int __a, __vector unsigned int __b) {
9204 return (__vector unsigned int)__builtin_s390_vsrlb(
9205 (__vector unsigned char)__a, (__vector unsigned char)__b);
9208 static inline __ATTRS_o_ai __vector unsigned int
9209 vec_srb(__vector unsigned int __a, __vector unsigned char __b) {
9210 return (__vector unsigned int)__builtin_s390_vsrlb(
9211 (__vector unsigned char)__a, __b);
9218 (__vector unsigned char)__a, (__vector unsigned char)__b);
9223 vec_srb(__vector signed long long __a, __vector unsigned long long __b) {
9225 (__vector unsigned char)__a, (__vector unsigned char)__b);
9229 vec_srb(__vector signed long long __a, __vector unsigned char __b) {
9231 (__vector unsigned char)__a, __b);
9235 static inline __ATTRS_o_ai __vector unsigned long long
9236 vec_srb(__vector unsigned long long __a, __vector signed long long __b) {
9237 return (__vector unsigned long long)__builtin_s390_vsrlb(
9238 (__vector unsigned char)__a, (__vector unsigned char)__b);
9242 static inline __ATTRS_o_ai __vector unsigned long long
9243 vec_srb(__vector unsigned long long __a, __vector unsigned long long __b) {
9244 return (__vector unsigned long long)__builtin_s390_vsrlb(
9245 (__vector unsigned char)__a, (__vector unsigned char)__b);
9248 static inline __ATTRS_o_ai __vector unsigned long long
9249 vec_srb(__vector unsigned long long __a, __vector unsigned char __b) {
9250 return (__vector unsigned long long)__builtin_s390_vsrlb(
9251 (__vector unsigned char)__a, __b);
9255 vec_srb(__vector signed __int128 __a, __vector unsigned char __b) {
9257 (__vector unsigned char)__a, __b);
9260 static inline __ATTRS_o_ai __vector unsigned __int128
9261 vec_srb(__vector unsigned __int128 __a, __vector unsigned char __b) {
9262 return (__vector unsigned __int128)__builtin_s390_vsrlb(
9263 (__vector unsigned char)__a, __b);
9271 (__vector unsigned char)__a, (__vector unsigned char)__b);
9276 vec_srb(__vector float __a, __vector unsigned int __b) {
9278 (__vector unsigned char)__a, (__vector unsigned char)__b);
9282 vec_srb(__vector float __a, __vector unsigned char __b) {
9284 (__vector unsigned char)__a, __b);
9292 (__vector unsigned char)__a, (__vector unsigned char)__b);
9297 vec_srb(__vector double __a, __vector unsigned long long __b) {
9299 (__vector unsigned char)__a, (__vector unsigned char)__b);
9303 vec_srb(__vector double __a, __vector unsigned char __b) {
9305 (__vector unsigned char)__a, __b);
9316 extern __ATTRS_o __vector unsigned char
9317 vec_srdb(__vector unsigned char __a, __vector unsigned char __b, int __c)
9324 extern __ATTRS_o __vector unsigned short
9325 vec_srdb(__vector unsigned short __a, __vector unsigned short __b, int __c)
9332 extern __ATTRS_o __vector unsigned int
9333 vec_srdb(__vector unsigned int __a, __vector unsigned int __b, int __c)
9340 extern __ATTRS_o __vector unsigned long long
9341 vec_srdb(__vector unsigned long long __a, __vector unsigned long long __b,
9349 extern __ATTRS_o __vector unsigned __int128
9350 vec_srdb(__vector unsigned __int128 __a, __vector unsigned __int128 __b,
9363 __builtin_s390_vsrd((__vector unsigned char)(X), \
9364 (__vector unsigned char)(Y), (Z)))
9442 static inline __ATTRS_o_ai __vector unsigned char
9443 vec_max(__vector unsigned char __a, __vector unsigned char __b) {
9448 static inline __ATTRS_o_ai __vector unsigned char
9449 vec_max(__vector unsigned char __a, __vector __bool char __b) {
9450 __vector unsigned char __bc = (__vector unsigned char)__b;
9455 static inline __ATTRS_o_ai __vector unsigned char
9456 vec_max(__vector __bool char __a, __vector unsigned char __b) {
9457 __vector unsigned char __ac = (__vector unsigned char)__a;
9480 static inline __ATTRS_o_ai __vector unsigned short
9481 vec_max(__vector unsigned short __a, __vector unsigned short __b) {
9486 static inline __ATTRS_o_ai __vector unsigned short
9487 vec_max(__vector unsigned short __a, __vector __bool short __b) {
9488 __vector unsigned short __bc = (__vector unsigned short)__b;
9493 static inline __ATTRS_o_ai __vector unsigned short
9494 vec_max(__vector __bool short __a, __vector unsigned short __b) {
9495 __vector unsigned short __ac = (__vector unsigned short)__a;
9518 static inline __ATTRS_o_ai __vector unsigned int
9519 vec_max(__vector unsigned int __a, __vector unsigned int __b) {
9524 static inline __ATTRS_o_ai __vector unsigned int
9525 vec_max(__vector unsigned int __a, __vector __bool int __b) {
9526 __vector unsigned int __bc = (__vector unsigned int)__b;
9531 static inline __ATTRS_o_ai __vector unsigned int
9532 vec_max(__vector __bool int __a, __vector unsigned int __b) {
9533 __vector unsigned int __ac = (__vector unsigned int)__a;
9556 static inline __ATTRS_o_ai __vector unsigned long long
9557 vec_max(__vector unsigned long long __a, __vector unsigned long long __b) {
9562 static inline __ATTRS_o_ai __vector unsigned long long
9563 vec_max(__vector unsigned long long __a, __vector __bool long long __b) {
9564 __vector unsigned long long __bc = (__vector unsigned long long)__b;
9569 static inline __ATTRS_o_ai __vector unsigned long long
9570 vec_max(__vector __bool long long __a, __vector unsigned long long __b) {
9571 __vector unsigned long long __ac = (__vector unsigned long long)__a;
9580 static inline __ATTRS_o_ai __vector unsigned __int128
9581 vec_max(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
9622 static inline __ATTRS_o_ai __vector unsigned char
9623 vec_min(__vector unsigned char __a, __vector unsigned char __b) {
9628 static inline __ATTRS_o_ai __vector unsigned char
9629 vec_min(__vector unsigned char __a, __vector __bool char __b) {
9630 __vector unsigned char __bc = (__vector unsigned char)__b;
9635 static inline __ATTRS_o_ai __vector unsigned char
9636 vec_min(__vector __bool char __a, __vector unsigned char __b) {
9637 __vector unsigned char __ac = (__vector unsigned char)__a;
9660 static inline __ATTRS_o_ai __vector unsigned short
9661 vec_min(__vector unsigned short __a, __vector unsigned short __b) {
9666 static inline __ATTRS_o_ai __vector unsigned short
9667 vec_min(__vector unsigned short __a, __vector __bool short __b) {
9668 __vector unsigned short __bc = (__vector unsigned short)__b;
9673 static inline __ATTRS_o_ai __vector unsigned short
9674 vec_min(__vector __bool short __a, __vector unsigned short __b) {
9675 __vector unsigned short __ac = (__vector unsigned short)__a;
9698 static inline __ATTRS_o_ai __vector unsigned int
9699 vec_min(__vector unsigned int __a, __vector unsigned int __b) {
9704 static inline __ATTRS_o_ai __vector unsigned int
9705 vec_min(__vector unsigned int __a, __vector __bool int __b) {
9706 __vector unsigned int __bc = (__vector unsigned int)__b;
9711 static inline __ATTRS_o_ai __vector unsigned int
9712 vec_min(__vector __bool int __a, __vector unsigned int __b) {
9713 __vector unsigned int __ac = (__vector unsigned int)__a;
9736 static inline __ATTRS_o_ai __vector unsigned long long
9737 vec_min(__vector unsigned long long __a, __vector unsigned long long __b) {
9742 static inline __ATTRS_o_ai __vector unsigned long long
9743 vec_min(__vector unsigned long long __a, __vector __bool long long __b) {
9744 __vector unsigned long long __bc = (__vector unsigned long long)__b;
9749 static inline __ATTRS_o_ai __vector unsigned long long
9750 vec_min(__vector __bool long long __a, __vector unsigned long long __b) {
9751 __vector unsigned long long __ac = (__vector unsigned long long)__a;
9760 static inline __ATTRS_o_ai __vector unsigned __int128
9761 vec_min(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
9784 static inline __ATTRS_ai __vector unsigned char
9785 vec_add_u128(__vector unsigned char __a, __vector unsigned char __b) {
9786 return (__vector unsigned char)(__vector unsigned __int128)
9792 static inline __ATTRS_o_ai __vector unsigned char
9793 vec_addc(__vector unsigned char __a, __vector unsigned char __b) {
9797 static inline __ATTRS_o_ai __vector unsigned short
9798 vec_addc(__vector unsigned short __a, __vector unsigned short __b) {
9802 static inline __ATTRS_o_ai __vector unsigned int
9803 vec_addc(__vector unsigned int __a, __vector unsigned int __b) {
9807 static inline __ATTRS_o_ai __vector unsigned long long
9808 vec_addc(__vector unsigned long long __a, __vector unsigned long long __b) {
9812 static inline __ATTRS_o_ai __vector unsigned __int128
9813 vec_addc(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
9814 return (__vector unsigned __int128)
9815 __builtin_s390_vaccq((unsigned __int128)__a, (unsigned __int128)__b);
9821 static inline __ATTRS_ai __vector unsigned char
9822 vec_addc_u128(__vector unsigned char __a, __vector unsigned char __b) {
9823 return (__vector unsigned char)(__vector unsigned __int128)
9824 __builtin_s390_vaccq((unsigned __int128)__a, (unsigned __int128)__b);
9829 static inline __ATTRS_ai __vector unsigned __int128
9830 vec_adde(__vector unsigned __int128 __a, __vector unsigned __int128 __b,
9831 __vector unsigned __int128 __c) {
9832 return (__vector unsigned __int128)
9833 __builtin_s390_vacq((unsigned __int128)__a, (unsigned __int128)__b,
9834 (unsigned __int128)__c);
9840 static inline __ATTRS_ai __vector unsigned char
9841 vec_adde_u128(__vector unsigned char __a, __vector unsigned char __b,
9842 __vector unsigned char __c) {
9843 return (__vector unsigned char)(__vector unsigned __int128)
9844 __builtin_s390_vacq((unsigned __int128)__a, (unsigned __int128)__b,
9845 (unsigned __int128)__c);
9850 static inline __ATTRS_ai __vector unsigned __int128
9851 vec_addec(__vector unsigned __int128 __a, __vector unsigned __int128 __b,
9852 __vector unsigned __int128 __c) {
9853 return (__vector unsigned __int128)
9854 __builtin_s390_vacccq((unsigned __int128)__a, (unsigned __int128)__b,
9855 (unsigned __int128)__c);
9861 static inline __ATTRS_ai __vector unsigned char
9862 vec_addec_u128(__vector unsigned char __a, __vector unsigned char __b,
9863 __vector unsigned char __c) {
9864 return (__vector unsigned char)(__vector unsigned __int128)
9865 __builtin_s390_vacccq((unsigned __int128)__a, (unsigned __int128)__b,
9866 (unsigned __int128)__c);
9899 static inline __ATTRS_o_ai __vector unsigned char
9900 vec_avg(__vector unsigned char __a, __vector unsigned char __b) {
9904 static inline __ATTRS_o_ai __vector unsigned short
9905 vec_avg(__vector unsigned short __a, __vector unsigned short __b) {
9909 static inline __ATTRS_o_ai __vector unsigned int
9910 vec_avg(__vector unsigned int __a, __vector unsigned int __b) {
9914 static inline __ATTRS_o_ai __vector unsigned long long
9915 vec_avg(__vector unsigned long long __a, __vector unsigned long long __b) {
9920 static inline __ATTRS_o_ai __vector unsigned __int128
9921 vec_avg(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
9922 return (__vector unsigned __int128)
9923 __builtin_s390_vavglq((unsigned __int128)__a, (unsigned __int128)__b);
9929 static inline __ATTRS_ai __vector unsigned int
9930 vec_checksum(__vector unsigned int __a, __vector unsigned int __b) {
9936 static inline __ATTRS_o_ai __vector unsigned short
9937 vec_gfmsum(__vector unsigned char __a, __vector unsigned char __b) {
9941 static inline __ATTRS_o_ai __vector unsigned int
9942 vec_gfmsum(__vector unsigned short __a, __vector unsigned short __b) {
9946 static inline __ATTRS_o_ai __vector unsigned long long
9947 vec_gfmsum(__vector unsigned int __a, __vector unsigned int __b) {
9951 static inline __ATTRS_o_ai __vector unsigned __int128
9952 vec_gfmsum(__vector unsigned long long __a, __vector unsigned long long __b) {
9953 return (__vector unsigned __int128)__builtin_s390_vgfmg(__a, __b);
9959 static inline __ATTRS_o_ai __vector unsigned char
9960 vec_gfmsum_128(__vector unsigned long long __a,
9961 __vector unsigned long long __b) {
9962 return (__vector unsigned char)(__vector unsigned __int128)
9968 static inline __ATTRS_o_ai __vector unsigned short
9969 vec_gfmsum_accum(__vector unsigned char __a, __vector unsigned char __b,
9970 __vector unsigned short __c) {
9974 static inline __ATTRS_o_ai __vector unsigned int
9975 vec_gfmsum_accum(__vector unsigned short __a, __vector unsigned short __b,
9976 __vector unsigned int __c) {
9980 static inline __ATTRS_o_ai __vector unsigned long long
9981 vec_gfmsum_accum(__vector unsigned int __a, __vector unsigned int __b,
9982 __vector unsigned long long __c) {
9986 static inline __ATTRS_o_ai __vector unsigned __int128
9987 vec_gfmsum_accum(__vector unsigned long long __a, __vector unsigned long long __b,
9988 __vector unsigned __int128 __c) {
9989 return (__vector unsigned __int128)
9990 __builtin_s390_vgfmag(__a, __b, (unsigned __int128)__c);
9996 static inline __ATTRS_o_ai __vector unsigned char
9997 vec_gfmsum_accum_128(__vector unsigned long long __a,
9998 __vector unsigned long long __b,
9999 __vector unsigned char __c) {
10000 return (__vector unsigned char)(__vector unsigned __int128)
10001 __builtin_s390_vgfmag(__a, __b, (unsigned __int128)__c);
10013 vec_mladd(__vector unsigned char __a, __vector signed char __b,
10019 vec_mladd(__vector signed char __a, __vector unsigned char __b,
10020 __vector unsigned char __c) {
10024 static inline __ATTRS_o_ai __vector unsigned char
10025 vec_mladd(__vector unsigned char __a, __vector unsigned char __b,
10026 __vector unsigned char __c) {
10037 vec_mladd(__vector unsigned short __a, __vector signed short __b,
10043 vec_mladd(__vector signed short __a, __vector unsigned short __b,
10044 __vector unsigned short __c) {
10048 static inline __ATTRS_o_ai __vector unsigned short
10049 vec_mladd(__vector unsigned short __a, __vector unsigned short __b,
10050 __vector unsigned short __c) {
10061 vec_mladd(__vector unsigned int __a, __vector signed int __b,
10067 vec_mladd(__vector signed int __a, __vector unsigned int __b,
10068 __vector unsigned int __c) {
10072 static inline __ATTRS_o_ai __vector unsigned int
10073 vec_mladd(__vector unsigned int __a, __vector unsigned int __b,
10074 __vector unsigned int __c) {
10086 vec_mladd(__vector unsigned long long __a, __vector signed long long __b,
10092 vec_mladd(__vector signed long long __a, __vector unsigned long long __b,
10093 __vector unsigned long long __c) {
10097 static inline __ATTRS_o_ai __vector unsigned long long
10098 vec_mladd(__vector unsigned long long __a, __vector unsigned long long __b,
10099 __vector unsigned long long __c) {
10110 vec_mladd(__vector unsigned __int128 __a, __vector signed __int128 __b,
10116 vec_mladd(__vector signed __int128 __a, __vector unsigned __int128 __b,
10117 __vector unsigned __int128 __c) {
10121 static inline __ATTRS_o_ai __vector unsigned __int128
10122 vec_mladd(__vector unsigned __int128 __a, __vector unsigned __int128 __b,
10123 __vector unsigned __int128 __c) {
10136 static inline __ATTRS_o_ai __vector unsigned char
10137 vec_mhadd(__vector unsigned char __a, __vector unsigned char __b,
10138 __vector unsigned char __c) {
10148 static inline __ATTRS_o_ai __vector unsigned short
10149 vec_mhadd(__vector unsigned short __a, __vector unsigned short __b,
10150 __vector unsigned short __c) {
10160 static inline __ATTRS_o_ai __vector unsigned int
10161 vec_mhadd(__vector unsigned int __a, __vector unsigned int __b,
10162 __vector unsigned int __c) {
10173 static inline __ATTRS_o_ai __vector unsigned long long
10174 vec_mhadd(__vector unsigned long long __a, __vector unsigned long long __b,
10175 __vector unsigned long long __c) {
10186 static inline __ATTRS_o_ai __vector unsigned __int128
10187 vec_mhadd(__vector unsigned __int128 __a, __vector unsigned __int128 __b,
10188 __vector unsigned __int128 __c) {
10189 return (__vector unsigned __int128)
10190 __builtin_s390_vmalhq((unsigned __int128)__a, (unsigned __int128)__b, (unsigned __int128)__c);
10202 static inline __ATTRS_o_ai __vector unsigned short
10203 vec_meadd(__vector unsigned char __a, __vector unsigned char __b,
10204 __vector unsigned short __c) {
10214 static inline __ATTRS_o_ai __vector unsigned int
10215 vec_meadd(__vector unsigned short __a, __vector unsigned short __b,
10216 __vector unsigned int __c) {
10226 static inline __ATTRS_o_ai __vector unsigned long long
10227 vec_meadd(__vector unsigned int __a, __vector unsigned int __b,
10228 __vector unsigned long long __c) {
10240 static inline __ATTRS_o_ai __vector unsigned __int128
10241 vec_meadd(__vector unsigned long long __a, __vector unsigned long long __b,
10242 __vector unsigned __int128 __c) {
10243 return (__vector unsigned __int128)
10244 __builtin_s390_vmaleg(__a, __b, (unsigned __int128)__c);
10256 static inline __ATTRS_o_ai __vector unsigned short
10257 vec_moadd(__vector unsigned char __a, __vector unsigned char __b,
10258 __vector unsigned short __c) {
10268 static inline __ATTRS_o_ai __vector unsigned int
10269 vec_moadd(__vector unsigned short __a, __vector unsigned short __b,
10270 __vector unsigned int __c) {
10280 static inline __ATTRS_o_ai __vector unsigned long long
10281 vec_moadd(__vector unsigned int __a, __vector unsigned int __b,
10282 __vector unsigned long long __c) {
10294 static inline __ATTRS_o_ai __vector unsigned __int128
10295 vec_moadd(__vector unsigned long long __a, __vector unsigned long long __b,
10296 __vector unsigned __int128 __c) {
10297 return (__vector unsigned __int128)
10298 __builtin_s390_vmalog(__a, __b, (unsigned __int128)__c);
10309 static inline __ATTRS_o_ai __vector unsigned char
10310 vec_mulh(__vector unsigned char __a, __vector unsigned char __b) {
10319 static inline __ATTRS_o_ai __vector unsigned short
10320 vec_mulh(__vector unsigned short __a, __vector unsigned short __b) {
10329 static inline __ATTRS_o_ai __vector unsigned int
10330 vec_mulh(__vector unsigned int __a, __vector unsigned int __b) {
10340 static inline __ATTRS_o_ai __vector unsigned long long
10341 vec_mulh(__vector unsigned long long __a, __vector unsigned long long __b) {
10351 static inline __ATTRS_o_ai __vector unsigned __int128
10352 vec_mulh(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
10353 return (__vector unsigned __int128)
10354 __builtin_s390_vmlhq((unsigned __int128)__a, (unsigned __int128)__b);
10365 static inline __ATTRS_o_ai __vector unsigned short
10366 vec_mule(__vector unsigned char __a, __vector unsigned char __b) {
10375 static inline __ATTRS_o_ai __vector unsigned int
10376 vec_mule(__vector unsigned short __a, __vector unsigned short __b) {
10385 static inline __ATTRS_o_ai __vector unsigned long long
10386 vec_mule(__vector unsigned int __a, __vector unsigned int __b) {
10396 static inline __ATTRS_o_ai __vector unsigned __int128
10397 vec_mule(__vector unsigned long long __a, __vector unsigned long long __b) {
10398 return (__vector unsigned __int128)__builtin_s390_vmleg(__a, __b);
10409 static inline __ATTRS_o_ai __vector unsigned short
10410 vec_mulo(__vector unsigned char __a, __vector unsigned char __b) {
10419 static inline __ATTRS_o_ai __vector unsigned int
10420 vec_mulo(__vector unsigned short __a, __vector unsigned short __b) {
10429 static inline __ATTRS_o_ai __vector unsigned long long
10430 vec_mulo(__vector unsigned int __a, __vector unsigned int __b) {
10440 static inline __ATTRS_o_ai __vector unsigned __int128
10441 vec_mulo(__vector unsigned long long __a, __vector unsigned long long __b) {
10442 return (__vector unsigned __int128)__builtin_s390_vmlog(__a, __b);
10449 extern __ATTRS_o __vector unsigned __int128
10450 vec_msum(__vector unsigned long long __a, __vector unsigned long long __b,
10451 __vector unsigned __int128 __c, int __d)
10456 __builtin_s390_vmslg((X), (Y), (unsigned __int128)(Z), (W)))
10463 extern __ATTRS_o __vector unsigned char
10464 vec_msum_u128(__vector unsigned long long __a, __vector unsigned long long __b,
10465 __vector unsigned char __c, int __d)
10470 (__vector unsigned __int128) \
10471 __builtin_s390_vmslg((X), (Y), (unsigned __int128)(Z), (W)))
10477 static inline __ATTRS_ai __vector unsigned char
10478 vec_sub_u128(__vector unsigned char __a, __vector unsigned char __b) {
10479 return (__vector unsigned char)(__vector unsigned __int128)
10485 static inline __ATTRS_o_ai __vector unsigned char
10486 vec_subc(__vector unsigned char __a, __vector unsigned char __b) {
10490 static inline __ATTRS_o_ai __vector unsigned short
10491 vec_subc(__vector unsigned short __a, __vector unsigned short __b) {
10495 static inline __ATTRS_o_ai __vector unsigned int
10496 vec_subc(__vector unsigned int __a, __vector unsigned int __b) {
10500 static inline __ATTRS_o_ai __vector unsigned long long
10501 vec_subc(__vector unsigned long long __a, __vector unsigned long long __b) {
10505 static inline __ATTRS_o_ai __vector unsigned __int128
10506 vec_subc(__vector unsigned __int128 __a, __vector unsigned __int128 __b) {
10507 return (__vector unsigned __int128)
10508 __builtin_s390_vscbiq((unsigned __int128)__a, (unsigned __int128)__b);
10514 static inline __ATTRS_ai __vector unsigned char
10515 vec_subc_u128(__vector unsigned char __a, __vector unsigned char __b) {
10516 return (__vector unsigned char)(__vector unsigned __int128)
10517 __builtin_s390_vscbiq((unsigned __int128)__a, (unsigned __int128)__b);
10522 static inline __ATTRS_ai __vector unsigned __int128
10523 vec_sube(__vector unsigned __int128 __a, __vector unsigned __int128 __b,
10524 __vector unsigned __int128 __c) {
10525 return (__vector unsigned __int128)
10526 __builtin_s390_vsbiq((unsigned __int128)__a, (unsigned __int128)__b,
10527 (unsigned __int128)__c);
10533 static inline __ATTRS_ai __vector unsigned char
10534 vec_sube_u128(__vector unsigned char __a, __vector unsigned char __b,
10535 __vector unsigned char __c) {
10536 return (__vector unsigned char)(__vector unsigned __int128)
10537 __builtin_s390_vsbiq((unsigned __int128)__a, (unsigned __int128)__b,
10538 (unsigned __int128)__c);
10543 static inline __ATTRS_ai __vector unsigned __int128
10544 vec_subec(__vector unsigned __int128 __a, __vector unsigned __int128 __b,
10545 __vector unsigned __int128 __c) {
10546 return (__vector unsigned __int128)
10547 __builtin_s390_vsbcbiq((unsigned __int128)__a, (unsigned __int128)__b,
10548 (unsigned __int128)__c);
10554 static inline __ATTRS_ai __vector unsigned char
10555 vec_subec_u128(__vector unsigned char __a, __vector unsigned char __b,
10556 __vector unsigned char __c) {
10557 return (__vector unsigned char)(__vector unsigned __int128)
10558 __builtin_s390_vsbcbiq((unsigned __int128)__a, (unsigned __int128)__b,
10559 (unsigned __int128)__c);
10564 static inline __ATTRS_o_ai __vector unsigned long long
10565 vec_sum2(__vector unsigned short __a, __vector unsigned short __b) {
10569 static inline __ATTRS_o_ai __vector unsigned long long
10570 vec_sum2(__vector unsigned int __a, __vector unsigned int __b) {
10576 static inline __ATTRS_o_ai __vector unsigned __int128
10577 vec_sum(__vector unsigned int __a, __vector unsigned int __b) {
10578 return (__vector unsigned __int128)__builtin_s390_vsumqf(__a, __b);
10581 static inline __ATTRS_o_ai __vector unsigned __int128
10582 vec_sum(__vector unsigned long long __a, __vector unsigned long long __b) {
10583 return (__vector unsigned __int128)__builtin_s390_vsumqg(__a, __b);
10589 static inline __ATTRS_o_ai __vector unsigned char
10590 vec_sum_u128(__vector unsigned int __a, __vector unsigned int __b) {
10591 return (__vector unsigned char)(__vector unsigned __int128)
10596 static inline __ATTRS_o_ai __vector unsigned char
10597 vec_sum_u128(__vector unsigned long long __a, __vector unsigned long long __b) {
10598 return (__vector unsigned char)(__vector unsigned __int128)
10604 static inline __ATTRS_o_ai __vector unsigned int
10605 vec_sum4(__vector unsigned char __a, __vector unsigned char __b) {
10609 static inline __ATTRS_o_ai __vector unsigned int
10610 vec_sum4(__vector unsigned short __a, __vector unsigned short __b) {
10617 vec_test_mask(__vector signed char __a, __vector unsigned char __b) {
10618 return __builtin_s390_vtm((__vector unsigned char)__a,
10619 (__vector unsigned char)__b);
10623 vec_test_mask(__vector unsigned char __a, __vector unsigned char __b) {
10628 vec_test_mask(__vector signed short __a, __vector unsigned short __b) {
10629 return __builtin_s390_vtm((__vector unsigned char)__a,
10630 (__vector unsigned char)__b);
10634 vec_test_mask(__vector unsigned short __a, __vector unsigned short __b) {
10635 return __builtin_s390_vtm((__vector unsigned char)__a,
10636 (__vector unsigned char)__b);
10640 vec_test_mask(__vector signed int __a, __vector unsigned int __b) {
10641 return __builtin_s390_vtm((__vector unsigned char)__a,
10642 (__vector unsigned char)__b);
10646 vec_test_mask(__vector unsigned int __a, __vector unsigned int __b) {
10647 return __builtin_s390_vtm((__vector unsigned char)__a,
10648 (__vector unsigned char)__b);
10652 vec_test_mask(__vector signed long long __a, __vector unsigned long long __b) {
10653 return __builtin_s390_vtm((__vector unsigned char)__a,
10654 (__vector unsigned char)__b);
10658 vec_test_mask(__vector unsigned long long __a,
10659 __vector unsigned long long __b) {
10660 return __builtin_s390_vtm((__vector unsigned char)__a,
10661 (__vector unsigned char)__b);
10665 vec_test_mask(__vector signed __int128 __a, __vector unsigned __int128 __b) {
10666 return __builtin_s390_vtm((__vector unsigned char)__a,
10667 (__vector unsigned char)__b);
10671 vec_test_mask(__vector unsigned __int128 __a,
10672 __vector unsigned __int128 __b) {
10673 return __builtin_s390_vtm((__vector unsigned char)__a,
10674 (__vector unsigned char)__b);
10679 vec_test_mask(__vector float __a, __vector unsigned int __b) {
10680 return __builtin_s390_vtm((__vector unsigned char)__a,
10681 (__vector unsigned char)__b);
10686 vec_test_mask(__vector double __a, __vector unsigned long long __b) {
10687 return __builtin_s390_vtm((__vector unsigned char)__a,
10688 (__vector unsigned char)__b);
10786 __conv *= ((__vector double)(__vector unsigned long long)
10793 vec_ctd(__vector unsigned long long __a, int __b)
10796 __conv *= ((__vector double)(__vector unsigned long long)
10807 __a *= ((__vector double)(__vector unsigned long long)
10815 static inline __ATTRS_o_ai __vector unsigned long long
10818 __a *= ((__vector double)(__vector unsigned long long)
10820 return __builtin_convertvector(__a, __vector unsigned long long);
10853 vec_double(__vector unsigned long long __a) {
10867 vec_float(__vector unsigned int __a) {
10889 static inline __ATTRS_o_ai __vector unsigned long long
10891 return __builtin_convertvector(__a, __vector unsigned long long);
10895 static inline __ATTRS_o_ai __vector unsigned int
10897 return __builtin_convertvector(__a, __vector unsigned int);
11049 __vector unsigned char __res; \
11050 __vector unsigned char __x = (__vector unsigned char)(X); \
11053 case 4: __res = (__vector unsigned char) \
11056 default: __res = (__vector unsigned char) \
11110 ((__vector unsigned short)__builtin_s390_vcrnfs((X), (Y), (W)));
11117 ((__vector unsigned short)__builtin_s390_vcfn((X), (W)));
11124 ((__vector unsigned short)__builtin_s390_vcnf((X), (W)));
11132 __builtin_s390_vistrb((__vector unsigned char)__a));
11138 __builtin_s390_vistrb((__vector unsigned char)__a));
11141 static inline __ATTRS_o_ai __vector unsigned char
11142 vec_cp_until_zero(__vector unsigned char __a) {
11149 __builtin_s390_vistrh((__vector unsigned short)__a));
11155 __builtin_s390_vistrh((__vector unsigned short)__a));
11158 static inline __ATTRS_o_ai __vector unsigned short
11159 vec_cp_until_zero(__vector unsigned short __a) {
11166 __builtin_s390_vistrf((__vector unsigned int)__a));
11172 __builtin_s390_vistrf((__vector unsigned int)__a));
11175 static inline __ATTRS_o_ai __vector unsigned int
11176 vec_cp_until_zero(__vector unsigned int __a) {
11185 __builtin_s390_vistrbs((__vector unsigned char)__a, __cc);
11191 __builtin_s390_vistrbs((__vector unsigned char)__a, __cc);
11194 static inline __ATTRS_o_ai __vector unsigned char
11195 vec_cp_until_zero_cc(__vector unsigned char __a, int *__cc) {
11202 __builtin_s390_vistrhs((__vector unsigned short)__a, __cc);
11208 __builtin_s390_vistrhs((__vector unsigned short)__a, __cc);
11211 static inline __ATTRS_o_ai __vector unsigned short
11212 vec_cp_until_zero_cc(__vector unsigned short __a, int *__cc) {
11219 __builtin_s390_vistrfs((__vector unsigned int)__a, __cc);
11225 __builtin_s390_vistrfs((__vector unsigned int)__a, __cc);
11228 static inline __ATTRS_o_ai __vector unsigned int
11229 vec_cp_until_zero_cc(__vector unsigned int __a, int *__cc) {
11238 __builtin_s390_vfeeb((__vector unsigned char)__a,
11239 (__vector unsigned char)__b);
11242 static inline __ATTRS_o_ai __vector unsigned char
11244 return __builtin_s390_vfeeb((__vector unsigned char)__a,
11245 (__vector unsigned char)__b);
11248 static inline __ATTRS_o_ai __vector unsigned char
11249 vec_cmpeq_idx(__vector unsigned char __a, __vector unsigned char __b) {
11256 __builtin_s390_vfeeh((__vector unsigned short)__a,
11257 (__vector unsigned short)__b);
11260 static inline __ATTRS_o_ai __vector unsigned short
11262 return __builtin_s390_vfeeh((__vector unsigned short)__a,
11263 (__vector unsigned short)__b);
11266 static inline __ATTRS_o_ai __vector unsigned short
11267 vec_cmpeq_idx(__vector unsigned short __a, __vector unsigned short __b) {
11274 __builtin_s390_vfeef((__vector unsigned int)__a,
11275 (__vector unsigned int)__b);
11278 static inline __ATTRS_o_ai __vector unsigned int
11280 return __builtin_s390_vfeef((__vector unsigned int)__a,
11281 (__vector unsigned int)__b);
11284 static inline __ATTRS_o_ai __vector unsigned int
11285 vec_cmpeq_idx(__vector unsigned int __a, __vector unsigned int __b) {
11294 __builtin_s390_vfeebs((__vector unsigned char)__a,
11295 (__vector unsigned char)__b, __cc);
11298 static inline __ATTRS_o_ai __vector unsigned char
11300 return __builtin_s390_vfeebs((__vector unsigned char)__a,
11301 (__vector unsigned char)__b, __cc);
11304 static inline __ATTRS_o_ai __vector unsigned char
11305 vec_cmpeq_idx_cc(__vector unsigned char __a, __vector unsigned char __b,
11314 __builtin_s390_vfeehs((__vector unsigned short)__a,
11315 (__vector unsigned short)__b, __cc);
11318 static inline __ATTRS_o_ai __vector unsigned short
11320 return __builtin_s390_vfeehs((__vector unsigned short)__a,
11321 (__vector unsigned short)__b, __cc);
11324 static inline __ATTRS_o_ai __vector unsigned short
11325 vec_cmpeq_idx_cc(__vector unsigned short __a, __vector unsigned short __b,
11333 __builtin_s390_vfeefs((__vector unsigned int)__a,
11334 (__vector unsigned int)__b, __cc);
11337 static inline __ATTRS_o_ai __vector unsigned int
11339 return __builtin_s390_vfeefs((__vector unsigned int)__a,
11340 (__vector unsigned int)__b, __cc);
11343 static inline __ATTRS_o_ai __vector unsigned int
11344 vec_cmpeq_idx_cc(__vector unsigned int __a, __vector unsigned int __b,
11354 __builtin_s390_vfeezb((__vector unsigned char)__a,
11355 (__vector unsigned char)__b);
11358 static inline __ATTRS_o_ai __vector unsigned char
11360 return __builtin_s390_vfeezb((__vector unsigned char)__a,
11361 (__vector unsigned char)__b);
11364 static inline __ATTRS_o_ai __vector unsigned char
11365 vec_cmpeq_or_0_idx(__vector unsigned char __a, __vector unsigned char __b) {
11372 __builtin_s390_vfeezh((__vector unsigned short)__a,
11373 (__vector unsigned short)__b);
11376 static inline __ATTRS_o_ai __vector unsigned short
11378 return __builtin_s390_vfeezh((__vector unsigned short)__a,
11379 (__vector unsigned short)__b);
11382 static inline __ATTRS_o_ai __vector unsigned short
11383 vec_cmpeq_or_0_idx(__vector unsigned short __a, __vector unsigned short __b) {
11390 __builtin_s390_vfeezf((__vector unsigned int)__a,
11391 (__vector unsigned int)__b);
11394 static inline __ATTRS_o_ai __vector unsigned int
11396 return __builtin_s390_vfeezf((__vector unsigned int)__a,
11397 (__vector unsigned int)__b);
11400 static inline __ATTRS_o_ai __vector unsigned int
11401 vec_cmpeq_or_0_idx(__vector unsigned int __a, __vector unsigned int __b) {
11411 __builtin_s390_vfeezbs((__vector unsigned char)__a,
11412 (__vector unsigned char)__b, __cc);
11415 static inline __ATTRS_o_ai __vector unsigned char
11418 return __builtin_s390_vfeezbs((__vector unsigned char)__a,
11419 (__vector unsigned char)__b, __cc);
11422 static inline __ATTRS_o_ai __vector unsigned char
11423 vec_cmpeq_or_0_idx_cc(__vector unsigned char __a, __vector unsigned char __b,
11432 __builtin_s390_vfeezhs((__vector unsigned short)__a,
11433 (__vector unsigned short)__b, __cc);
11436 static inline __ATTRS_o_ai __vector unsigned short
11439 return __builtin_s390_vfeezhs((__vector unsigned short)__a,
11440 (__vector unsigned short)__b, __cc);
11443 static inline __ATTRS_o_ai __vector unsigned short
11444 vec_cmpeq_or_0_idx_cc(__vector unsigned short __a, __vector unsigned short __b,
11453 __builtin_s390_vfeezfs((__vector unsigned int)__a,
11454 (__vector unsigned int)__b, __cc);
11457 static inline __ATTRS_o_ai __vector unsigned int
11460 return __builtin_s390_vfeezfs((__vector unsigned int)__a,
11461 (__vector unsigned int)__b, __cc);
11464 static inline __ATTRS_o_ai __vector unsigned int
11465 vec_cmpeq_or_0_idx_cc(__vector unsigned int __a, __vector unsigned int __b,
11475 __builtin_s390_vfeneb((__vector unsigned char)__a,
11476 (__vector unsigned char)__b);
11479 static inline __ATTRS_o_ai __vector unsigned char
11481 return __builtin_s390_vfeneb((__vector unsigned char)__a,
11482 (__vector unsigned char)__b);
11485 static inline __ATTRS_o_ai __vector unsigned char
11486 vec_cmpne_idx(__vector unsigned char __a, __vector unsigned char __b) {
11493 __builtin_s390_vfeneh((__vector unsigned short)__a,
11494 (__vector unsigned short)__b);
11497 static inline __ATTRS_o_ai __vector unsigned short
11499 return __builtin_s390_vfeneh((__vector unsigned short)__a,
11500 (__vector unsigned short)__b);
11503 static inline __ATTRS_o_ai __vector unsigned short
11504 vec_cmpne_idx(__vector unsigned short __a, __vector unsigned short __b) {
11511 __builtin_s390_vfenef((__vector unsigned int)__a,
11512 (__vector unsigned int)__b);
11515 static inline __ATTRS_o_ai __vector unsigned int
11517 return __builtin_s390_vfenef((__vector unsigned int)__a,
11518 (__vector unsigned int)__b);
11521 static inline __ATTRS_o_ai __vector unsigned int
11522 vec_cmpne_idx(__vector unsigned int __a, __vector unsigned int __b) {
11531 __builtin_s390_vfenebs((__vector unsigned char)__a,
11532 (__vector unsigned char)__b, __cc);
11535 static inline __ATTRS_o_ai __vector unsigned char
11537 return __builtin_s390_vfenebs((__vector unsigned char)__a,
11538 (__vector unsigned char)__b, __cc);
11541 static inline __ATTRS_o_ai __vector unsigned char
11542 vec_cmpne_idx_cc(__vector unsigned char __a, __vector unsigned char __b,
11551 __builtin_s390_vfenehs((__vector unsigned short)__a,
11552 (__vector unsigned short)__b, __cc);
11555 static inline __ATTRS_o_ai __vector unsigned short
11558 return __builtin_s390_vfenehs((__vector unsigned short)__a,
11559 (__vector unsigned short)__b, __cc);
11562 static inline __ATTRS_o_ai __vector unsigned short
11563 vec_cmpne_idx_cc(__vector unsigned short __a, __vector unsigned short __b,
11571 __builtin_s390_vfenefs((__vector unsigned int)__a,
11572 (__vector unsigned int)__b, __cc);
11575 static inline __ATTRS_o_ai __vector unsigned int
11577 return __builtin_s390_vfenefs((__vector unsigned int)__a,
11578 (__vector unsigned int)__b, __cc);
11581 static inline __ATTRS_o_ai __vector unsigned int
11582 vec_cmpne_idx_cc(__vector unsigned int __a, __vector unsigned int __b,
11592 __builtin_s390_vfenezb((__vector unsigned char)__a,
11593 (__vector unsigned char)__b);
11596 static inline __ATTRS_o_ai __vector unsigned char
11598 return __builtin_s390_vfenezb((__vector unsigned char)__a,
11599 (__vector unsigned char)__b);
11602 static inline __ATTRS_o_ai __vector unsigned char
11603 vec_cmpne_or_0_idx(__vector unsigned char __a, __vector unsigned char __b) {
11610 __builtin_s390_vfenezh((__vector unsigned short)__a,
11611 (__vector unsigned short)__b);
11614 static inline __ATTRS_o_ai __vector unsigned short
11616 return __builtin_s390_vfenezh((__vector unsigned short)__a,
11617 (__vector unsigned short)__b);
11620 static inline __ATTRS_o_ai __vector unsigned short
11621 vec_cmpne_or_0_idx(__vector unsigned short __a, __vector unsigned short __b) {
11628 __builtin_s390_vfenezf((__vector unsigned int)__a,
11629 (__vector unsigned int)__b);
11632 static inline __ATTRS_o_ai __vector unsigned int
11634 return __builtin_s390_vfenezf((__vector unsigned int)__a,
11635 (__vector unsigned int)__b);
11638 static inline __ATTRS_o_ai __vector unsigned int
11639 vec_cmpne_or_0_idx(__vector unsigned int __a, __vector unsigned int __b) {
11649 __builtin_s390_vfenezbs((__vector unsigned char)__a,
11650 (__vector unsigned char)__b, __cc);
11653 static inline __ATTRS_o_ai __vector unsigned char
11656 return __builtin_s390_vfenezbs((__vector unsigned char)__a,
11657 (__vector unsigned char)__b, __cc);
11660 static inline __ATTRS_o_ai __vector unsigned char
11661 vec_cmpne_or_0_idx_cc(__vector unsigned char __a, __vector unsigned char __b,
11670 __builtin_s390_vfenezhs((__vector unsigned short)__a,
11671 (__vector unsigned short)__b, __cc);
11674 static inline __ATTRS_o_ai __vector unsigned short
11677 return __builtin_s390_vfenezhs((__vector unsigned short)__a,
11678 (__vector unsigned short)__b, __cc);
11681 static inline __ATTRS_o_ai __vector unsigned short
11682 vec_cmpne_or_0_idx_cc(__vector unsigned short __a, __vector unsigned short __b,
11691 __builtin_s390_vfenezfs((__vector unsigned int)__a,
11692 (__vector unsigned int)__b, __cc);
11695 static inline __ATTRS_o_ai __vector unsigned int
11698 return __builtin_s390_vfenezfs((__vector unsigned int)__a,
11699 (__vector unsigned int)__b, __cc);
11702 static inline __ATTRS_o_ai __vector unsigned int
11703 vec_cmpne_or_0_idx_cc(__vector unsigned int __a, __vector unsigned int __b,
11711 vec_cmprg(__vector unsigned char __a, __vector unsigned char __b,
11712 __vector unsigned char __c) {
11717 vec_cmprg(__vector unsigned short __a, __vector unsigned short __b,
11718 __vector unsigned short __c) {
11723 vec_cmprg(__vector unsigned int __a, __vector unsigned int __b,
11724 __vector unsigned int __c) {
11731 vec_cmprg_cc(__vector unsigned char __a, __vector unsigned char __b,
11732 __vector unsigned char __c, int *__cc) {
11737 vec_cmprg_cc(__vector unsigned short __a, __vector unsigned short __b,
11738 __vector unsigned short __c, int *__cc) {
11743 vec_cmprg_cc(__vector unsigned int __a, __vector unsigned int __b,
11744 __vector unsigned int __c, int *__cc) {
11750 static inline __ATTRS_o_ai __vector unsigned char
11751 vec_cmprg_idx(__vector unsigned char __a, __vector unsigned char __b,
11752 __vector unsigned char __c) {
11756 static inline __ATTRS_o_ai __vector unsigned short
11757 vec_cmprg_idx(__vector unsigned short __a, __vector unsigned short __b,
11758 __vector unsigned short __c) {
11762 static inline __ATTRS_o_ai __vector unsigned int
11763 vec_cmprg_idx(__vector unsigned int __a, __vector unsigned int __b,
11764 __vector unsigned int __c) {
11770 static inline __ATTRS_o_ai __vector unsigned char
11771 vec_cmprg_idx_cc(__vector unsigned char __a, __vector unsigned char __b,
11772 __vector unsigned char __c, int *__cc) {
11776 static inline __ATTRS_o_ai __vector unsigned short
11777 vec_cmprg_idx_cc(__vector unsigned short __a, __vector unsigned short __b,
11778 __vector unsigned short __c, int *__cc) {
11782 static inline __ATTRS_o_ai __vector unsigned int
11783 vec_cmprg_idx_cc(__vector unsigned int __a, __vector unsigned int __b,
11784 __vector unsigned int __c, int *__cc) {
11790 static inline __ATTRS_o_ai __vector unsigned char
11791 vec_cmprg_or_0_idx(__vector unsigned char __a, __vector unsigned char __b,
11792 __vector unsigned char __c) {
11796 static inline __ATTRS_o_ai __vector unsigned short
11797 vec_cmprg_or_0_idx(__vector unsigned short __a, __vector unsigned short __b,
11798 __vector unsigned short __c) {
11802 static inline __ATTRS_o_ai __vector unsigned int
11803 vec_cmprg_or_0_idx(__vector unsigned int __a, __vector unsigned int __b,
11804 __vector unsigned int __c) {
11810 static inline __ATTRS_o_ai __vector unsigned char
11811 vec_cmprg_or_0_idx_cc(__vector unsigned char __a, __vector unsigned char __b,
11812 __vector unsigned char __c, int *__cc) {
11816 static inline __ATTRS_o_ai __vector unsigned short
11817 vec_cmprg_or_0_idx_cc(__vector unsigned short __a, __vector unsigned short __b,
11818 __vector unsigned short __c, int *__cc) {
11822 static inline __ATTRS_o_ai __vector unsigned int
11823 vec_cmprg_or_0_idx_cc(__vector unsigned int __a, __vector unsigned int __b,
11824 __vector unsigned int __c, int *__cc) {
11831 vec_cmpnrg(__vector unsigned char __a, __vector unsigned char __b,
11832 __vector unsigned char __c) {
11837 vec_cmpnrg(__vector unsigned short __a, __vector unsigned short __b,
11838 __vector unsigned short __c) {
11843 vec_cmpnrg(__vector unsigned int __a, __vector unsigned int __b,
11844 __vector unsigned int __c) {
11851 vec_cmpnrg_cc(__vector unsigned char __a, __vector unsigned char __b,
11852 __vector unsigned char __c, int *__cc) {
11858 vec_cmpnrg_cc(__vector unsigned short __a, __vector unsigned short __b,
11859 __vector unsigned short __c, int *__cc) {
11865 vec_cmpnrg_cc(__vector unsigned int __a, __vector unsigned int __b,
11866 __vector unsigned int __c, int *__cc) {
11873 static inline __ATTRS_o_ai __vector unsigned char
11874 vec_cmpnrg_idx(__vector unsigned char __a, __vector unsigned char __b,
11875 __vector unsigned char __c) {
11879 static inline __ATTRS_o_ai __vector unsigned short
11880 vec_cmpnrg_idx(__vector unsigned short __a, __vector unsigned short __b,
11881 __vector unsigned short __c) {
11885 static inline __ATTRS_o_ai __vector unsigned int
11886 vec_cmpnrg_idx(__vector unsigned int __a, __vector unsigned int __b,
11887 __vector unsigned int __c) {
11893 static inline __ATTRS_o_ai __vector unsigned char
11894 vec_cmpnrg_idx_cc(__vector unsigned char __a, __vector unsigned char __b,
11895 __vector unsigned char __c, int *__cc) {
11899 static inline __ATTRS_o_ai __vector unsigned short
11900 vec_cmpnrg_idx_cc(__vector unsigned short __a, __vector unsigned short __b,
11901 __vector unsigned short __c, int *__cc) {
11905 static inline __ATTRS_o_ai __vector unsigned int
11906 vec_cmpnrg_idx_cc(__vector unsigned int __a, __vector unsigned int __b,
11907 __vector unsigned int __c, int *__cc) {
11913 static inline __ATTRS_o_ai __vector unsigned char
11914 vec_cmpnrg_or_0_idx(__vector unsigned char __a, __vector unsigned char __b,
11915 __vector unsigned char __c) {
11919 static inline __ATTRS_o_ai __vector unsigned short
11920 vec_cmpnrg_or_0_idx(__vector unsigned short __a, __vector unsigned short __b,
11921 __vector unsigned short __c) {
11925 static inline __ATTRS_o_ai __vector unsigned int
11926 vec_cmpnrg_or_0_idx(__vector unsigned int __a, __vector unsigned int __b,
11927 __vector unsigned int __c) {
11933 static inline __ATTRS_o_ai __vector unsigned char
11934 vec_cmpnrg_or_0_idx_cc(__vector unsigned char __a,
11935 __vector unsigned char __b,
11936 __vector unsigned char __c, int *__cc) {
11940 static inline __ATTRS_o_ai __vector unsigned short
11941 vec_cmpnrg_or_0_idx_cc(__vector unsigned short __a,
11942 __vector unsigned short __b,
11943 __vector unsigned short __c, int *__cc) {
11947 static inline __ATTRS_o_ai __vector unsigned int
11948 vec_cmpnrg_or_0_idx_cc(__vector unsigned int __a,
11949 __vector unsigned int __b,
11950 __vector unsigned int __c, int *__cc) {
11959 __builtin_s390_vfaeb((__vector unsigned char)__a,
11960 (__vector unsigned char)__b, 4);
11966 __builtin_s390_vfaeb((__vector unsigned char)__a,
11967 (__vector unsigned char)__b, 4);
11971 vec_find_any_eq(__vector unsigned char __a, __vector unsigned char __b) {
11978 __builtin_s390_vfaeh((__vector unsigned short)__a,
11979 (__vector unsigned short)__b, 4);
11985 __builtin_s390_vfaeh((__vector unsigned short)__a,
11986 (__vector unsigned short)__b, 4);
11990 vec_find_any_eq(__vector unsigned short __a, __vector unsigned short __b) {
11997 __builtin_s390_vfaef((__vector unsigned int)__a,
11998 (__vector unsigned int)__b, 4);
12004 __builtin_s390_vfaef((__vector unsigned int)__a,
12005 (__vector unsigned int)__b, 4);
12009 vec_find_any_eq(__vector unsigned int __a, __vector unsigned int __b) {
12019 __builtin_s390_vfaebs((__vector unsigned char)__a,
12020 (__vector unsigned char)__b, 4, __cc);
12027 __builtin_s390_vfaebs((__vector unsigned char)__a,
12028 (__vector unsigned char)__b, 4, __cc);
12032 vec_find_any_eq_cc(__vector unsigned char __a, __vector unsigned char __b,
12041 __builtin_s390_vfaehs((__vector unsigned short)__a,
12042 (__vector unsigned short)__b, 4, __cc);
12049 __builtin_s390_vfaehs((__vector unsigned short)__a,
12050 (__vector unsigned short)__b, 4, __cc);
12054 vec_find_any_eq_cc(__vector unsigned short __a, __vector unsigned short __b,
12063 __builtin_s390_vfaefs((__vector unsigned int)__a,
12064 (__vector unsigned int)__b, 4, __cc);
12071 __builtin_s390_vfaefs((__vector unsigned int)__a,
12072 (__vector unsigned int)__b, 4, __cc);
12076 vec_find_any_eq_cc(__vector unsigned int __a, __vector unsigned int __b,
12086 __builtin_s390_vfaeb((__vector unsigned char)__a,
12087 (__vector unsigned char)__b, 0);
12090 static inline __ATTRS_o_ai __vector unsigned char
12092 return __builtin_s390_vfaeb((__vector unsigned char)__a,
12093 (__vector unsigned char)__b, 0);
12096 static inline __ATTRS_o_ai __vector unsigned char
12097 vec_find_any_eq_idx(__vector unsigned char __a, __vector unsigned char __b) {
12104 __builtin_s390_vfaeh((__vector unsigned short)__a,
12105 (__vector unsigned short)__b, 0);
12108 static inline __ATTRS_o_ai __vector unsigned short
12110 return __builtin_s390_vfaeh((__vector unsigned short)__a,
12111 (__vector unsigned short)__b, 0);
12114 static inline __ATTRS_o_ai __vector unsigned short
12115 vec_find_any_eq_idx(__vector unsigned short __a, __vector unsigned short __b) {
12122 __builtin_s390_vfaef((__vector unsigned int)__a,
12123 (__vector unsigned int)__b, 0);
12126 static inline __ATTRS_o_ai __vector unsigned int
12128 return __builtin_s390_vfaef((__vector unsigned int)__a,
12129 (__vector unsigned int)__b, 0);
12132 static inline __ATTRS_o_ai __vector unsigned int
12133 vec_find_any_eq_idx(__vector unsigned int __a, __vector unsigned int __b) {
12143 __builtin_s390_vfaebs((__vector unsigned char)__a,
12144 (__vector unsigned char)__b, 0, __cc);
12147 static inline __ATTRS_o_ai __vector unsigned char
12150 return __builtin_s390_vfaebs((__vector unsigned char)__a,
12151 (__vector unsigned char)__b, 0, __cc);
12154 static inline __ATTRS_o_ai __vector unsigned char
12155 vec_find_any_eq_idx_cc(__vector unsigned char __a,
12156 __vector unsigned char __b, int *__cc) {
12164 __builtin_s390_vfaehs((__vector unsigned short)__a,
12165 (__vector unsigned short)__b, 0, __cc);
12168 static inline __ATTRS_o_ai __vector unsigned short
12171 return __builtin_s390_vfaehs((__vector unsigned short)__a,
12172 (__vector unsigned short)__b, 0, __cc);
12175 static inline __ATTRS_o_ai __vector unsigned short
12176 vec_find_any_eq_idx_cc(__vector unsigned short __a,
12177 __vector unsigned short __b, int *__cc) {
12185 __builtin_s390_vfaefs((__vector unsigned int)__a,
12186 (__vector unsigned int)__b, 0, __cc);
12189 static inline __ATTRS_o_ai __vector unsigned int
12192 return __builtin_s390_vfaefs((__vector unsigned int)__a,
12193 (__vector unsigned int)__b, 0, __cc);
12196 static inline __ATTRS_o_ai __vector unsigned int
12197 vec_find_any_eq_idx_cc(__vector unsigned int __a,
12198 __vector unsigned int __b, int *__cc) {
12208 __builtin_s390_vfaezb((__vector unsigned char)__a,
12209 (__vector unsigned char)__b, 0);
12212 static inline __ATTRS_o_ai __vector unsigned char
12215 return __builtin_s390_vfaezb((__vector unsigned char)__a,
12216 (__vector unsigned char)__b, 0);
12219 static inline __ATTRS_o_ai __vector unsigned char
12220 vec_find_any_eq_or_0_idx(__vector unsigned char __a,
12221 __vector unsigned char __b) {
12229 __builtin_s390_vfaezh((__vector unsigned short)__a,
12230 (__vector unsigned short)__b, 0);
12233 static inline __ATTRS_o_ai __vector unsigned short
12236 return __builtin_s390_vfaezh((__vector unsigned short)__a,
12237 (__vector unsigned short)__b, 0);
12240 static inline __ATTRS_o_ai __vector unsigned short
12241 vec_find_any_eq_or_0_idx(__vector unsigned short __a,
12242 __vector unsigned short __b) {
12250 __builtin_s390_vfaezf((__vector unsigned int)__a,
12251 (__vector unsigned int)__b, 0);
12254 static inline __ATTRS_o_ai __vector unsigned int
12257 return __builtin_s390_vfaezf((__vector unsigned int)__a,
12258 (__vector unsigned int)__b, 0);
12261 static inline __ATTRS_o_ai __vector unsigned int
12262 vec_find_any_eq_or_0_idx(__vector unsigned int __a,
12263 __vector unsigned int __b) {
12273 __builtin_s390_vfaezbs((__vector unsigned char)__a,
12274 (__vector unsigned char)__b, 0, __cc);
12277 static inline __ATTRS_o_ai __vector unsigned char
12280 return __builtin_s390_vfaezbs((__vector unsigned char)__a,
12281 (__vector unsigned char)__b, 0, __cc);
12284 static inline __ATTRS_o_ai __vector unsigned char
12285 vec_find_any_eq_or_0_idx_cc(__vector unsigned char __a,
12286 __vector unsigned char __b, int *__cc) {
12294 __builtin_s390_vfaezhs((__vector unsigned short)__a,
12295 (__vector unsigned short)__b, 0, __cc);
12298 static inline __ATTRS_o_ai __vector unsigned short
12301 return __builtin_s390_vfaezhs((__vector unsigned short)__a,
12302 (__vector unsigned short)__b, 0, __cc);
12305 static inline __ATTRS_o_ai __vector unsigned short
12306 vec_find_any_eq_or_0_idx_cc(__vector unsigned short __a,
12307 __vector unsigned short __b, int *__cc) {
12315 __builtin_s390_vfaezfs((__vector unsigned int)__a,
12316 (__vector unsigned int)__b, 0, __cc);
12319 static inline __ATTRS_o_ai __vector unsigned int
12322 return __builtin_s390_vfaezfs((__vector unsigned int)__a,
12323 (__vector unsigned int)__b, 0, __cc);
12326 static inline __ATTRS_o_ai __vector unsigned int
12327 vec_find_any_eq_or_0_idx_cc(__vector unsigned int __a,
12328 __vector unsigned int __b, int *__cc) {
12337 __builtin_s390_vfaeb((__vector unsigned char)__a,
12338 (__vector unsigned char)__b, 12);
12344 __builtin_s390_vfaeb((__vector unsigned char)__a,
12345 (__vector unsigned char)__b, 12);
12349 vec_find_any_ne(__vector unsigned char __a, __vector unsigned char __b) {
12356 __builtin_s390_vfaeh((__vector unsigned short)__a,
12357 (__vector unsigned short)__b, 12);
12363 __builtin_s390_vfaeh((__vector unsigned short)__a,
12364 (__vector unsigned short)__b, 12);
12368 vec_find_any_ne(__vector unsigned short __a, __vector unsigned short __b) {
12375 __builtin_s390_vfaef((__vector unsigned int)__a,
12376 (__vector unsigned int)__b, 12);
12382 __builtin_s390_vfaef((__vector unsigned int)__a,
12383 (__vector unsigned int)__b, 12);
12387 vec_find_any_ne(__vector unsigned int __a, __vector unsigned int __b) {
12397 __builtin_s390_vfaebs((__vector unsigned char)__a,
12398 (__vector unsigned char)__b, 12, __cc);
12405 __builtin_s390_vfaebs((__vector unsigned char)__a,
12406 (__vector unsigned char)__b, 12, __cc);
12410 vec_find_any_ne_cc(__vector unsigned char __a,
12411 __vector unsigned char __b, int *__cc) {
12419 __builtin_s390_vfaehs((__vector unsigned short)__a,
12420 (__vector unsigned short)__b, 12, __cc);
12427 __builtin_s390_vfaehs((__vector unsigned short)__a,
12428 (__vector unsigned short)__b, 12, __cc);
12432 vec_find_any_ne_cc(__vector unsigned short __a,
12433 __vector unsigned short __b, int *__cc) {
12441 __builtin_s390_vfaefs((__vector unsigned int)__a,
12442 (__vector unsigned int)__b, 12, __cc);
12449 __builtin_s390_vfaefs((__vector unsigned int)__a,
12450 (__vector unsigned int)__b, 12, __cc);
12454 vec_find_any_ne_cc(__vector unsigned int __a,
12455 __vector unsigned int __b, int *__cc) {
12464 __builtin_s390_vfaeb((__vector unsigned char)__a,
12465 (__vector unsigned char)__b, 8);
12468 static inline __ATTRS_o_ai __vector unsigned char
12470 return __builtin_s390_vfaeb((__vector unsigned char)__a,
12471 (__vector unsigned char)__b, 8);
12474 static inline __ATTRS_o_ai __vector unsigned char
12475 vec_find_any_ne_idx(__vector unsigned char __a, __vector unsigned char __b) {
12482 __builtin_s390_vfaeh((__vector unsigned short)__a,
12483 (__vector unsigned short)__b, 8);
12486 static inline __ATTRS_o_ai __vector unsigned short
12488 return __builtin_s390_vfaeh((__vector unsigned short)__a,
12489 (__vector unsigned short)__b, 8);
12492 static inline __ATTRS_o_ai __vector unsigned short
12493 vec_find_any_ne_idx(__vector unsigned short __a, __vector unsigned short __b) {
12500 __builtin_s390_vfaef((__vector unsigned int)__a,
12501 (__vector unsigned int)__b, 8);
12504 static inline __ATTRS_o_ai __vector unsigned int
12506 return __builtin_s390_vfaef((__vector unsigned int)__a,
12507 (__vector unsigned int)__b, 8);
12510 static inline __ATTRS_o_ai __vector unsigned int
12511 vec_find_any_ne_idx(__vector unsigned int __a, __vector unsigned int __b) {
12521 __builtin_s390_vfaebs((__vector unsigned char)__a,
12522 (__vector unsigned char)__b, 8, __cc);
12525 static inline __ATTRS_o_ai __vector unsigned char
12528 return __builtin_s390_vfaebs((__vector unsigned char)__a,
12529 (__vector unsigned char)__b, 8, __cc);
12532 static inline __ATTRS_o_ai __vector unsigned char
12533 vec_find_any_ne_idx_cc(__vector unsigned char __a,
12534 __vector unsigned char __b,
12543 __builtin_s390_vfaehs((__vector unsigned short)__a,
12544 (__vector unsigned short)__b, 8, __cc);
12547 static inline __ATTRS_o_ai __vector unsigned short
12550 return __builtin_s390_vfaehs((__vector unsigned short)__a,
12551 (__vector unsigned short)__b, 8, __cc);
12554 static inline __ATTRS_o_ai __vector unsigned short
12555 vec_find_any_ne_idx_cc(__vector unsigned short __a,
12556 __vector unsigned short __b, int *__cc) {
12564 __builtin_s390_vfaefs((__vector unsigned int)__a,
12565 (__vector unsigned int)__b, 8, __cc);
12568 static inline __ATTRS_o_ai __vector unsigned int
12571 return __builtin_s390_vfaefs((__vector unsigned int)__a,
12572 (__vector unsigned int)__b, 8, __cc);
12575 static inline __ATTRS_o_ai __vector unsigned int
12576 vec_find_any_ne_idx_cc(__vector unsigned int __a,
12577 __vector unsigned int __b, int *__cc) {
12587 __builtin_s390_vfaezb((__vector unsigned char)__a,
12588 (__vector unsigned char)__b, 8);
12591 static inline __ATTRS_o_ai __vector unsigned char
12594 return __builtin_s390_vfaezb((__vector unsigned char)__a,
12595 (__vector unsigned char)__b, 8);
12598 static inline __ATTRS_o_ai __vector unsigned char
12599 vec_find_any_ne_or_0_idx(__vector unsigned char __a,
12600 __vector unsigned char __b) {
12608 __builtin_s390_vfaezh((__vector unsigned short)__a,
12609 (__vector unsigned short)__b, 8);
12612 static inline __ATTRS_o_ai __vector unsigned short
12615 return __builtin_s390_vfaezh((__vector unsigned short)__a,
12616 (__vector unsigned short)__b, 8);
12619 static inline __ATTRS_o_ai __vector unsigned short
12620 vec_find_any_ne_or_0_idx(__vector unsigned short __a,
12621 __vector unsigned short __b) {
12629 __builtin_s390_vfaezf((__vector unsigned int)__a,
12630 (__vector unsigned int)__b, 8);
12633 static inline __ATTRS_o_ai __vector unsigned int
12636 return __builtin_s390_vfaezf((__vector unsigned int)__a,
12637 (__vector unsigned int)__b, 8);
12640 static inline __ATTRS_o_ai __vector unsigned int
12641 vec_find_any_ne_or_0_idx(__vector unsigned int __a,
12642 __vector unsigned int __b) {
12652 __builtin_s390_vfaezbs((__vector unsigned char)__a,
12653 (__vector unsigned char)__b, 8, __cc);
12656 static inline __ATTRS_o_ai __vector unsigned char
12659 return __builtin_s390_vfaezbs((__vector unsigned char)__a,
12660 (__vector unsigned char)__b, 8, __cc);
12663 static inline __ATTRS_o_ai __vector unsigned char
12664 vec_find_any_ne_or_0_idx_cc(__vector unsigned char __a,
12665 __vector unsigned char __b, int *__cc) {
12673 __builtin_s390_vfaezhs((__vector unsigned short)__a,
12674 (__vector unsigned short)__b, 8, __cc);
12677 static inline __ATTRS_o_ai __vector unsigned short
12680 return __builtin_s390_vfaezhs((__vector unsigned short)__a,
12681 (__vector unsigned short)__b, 8, __cc);
12684 static inline __ATTRS_o_ai __vector unsigned short
12685 vec_find_any_ne_or_0_idx_cc(__vector unsigned short __a,
12686 __vector unsigned short __b, int *__cc) {
12694 __builtin_s390_vfaezfs((__vector unsigned int)__a,
12695 (__vector unsigned int)__b, 8, __cc);
12698 static inline __ATTRS_o_ai __vector unsigned int
12701 return __builtin_s390_vfaezfs((__vector unsigned int)__a,
12702 (__vector unsigned int)__b, 8, __cc);
12705 static inline __ATTRS_o_ai __vector unsigned int
12706 vec_find_any_ne_or_0_idx_cc(__vector unsigned int __a,
12707 __vector unsigned int __b, int *__cc) {
12715 static inline __ATTRS_o_ai __vector unsigned char
12717 __vector unsigned char __c, int *__cc) {
12718 return __builtin_s390_vstrsb((__vector unsigned char)__a,
12719 (__vector unsigned char)__b, __c, __cc);
12722 static inline __ATTRS_o_ai __vector unsigned char
12724 __vector unsigned char __c, int *__cc) {
12725 return __builtin_s390_vstrsb((__vector unsigned char)__a,
12726 (__vector unsigned char)__b, __c, __cc);
12729 static inline __ATTRS_o_ai __vector unsigned char
12730 vec_search_string_cc(__vector unsigned char __a, __vector unsigned char __b,
12731 __vector unsigned char __c, int *__cc) {
12735 static inline __ATTRS_o_ai __vector unsigned char
12737 __vector unsigned char __c, int *__cc) {
12738 return __builtin_s390_vstrsh((__vector unsigned short)__a,
12739 (__vector unsigned short)__b, __c, __cc);
12742 static inline __ATTRS_o_ai __vector unsigned char
12744 __vector unsigned char __c, int *__cc) {
12745 return __builtin_s390_vstrsh((__vector unsigned short)__a,
12746 (__vector unsigned short)__b, __c, __cc);
12749 static inline __ATTRS_o_ai __vector unsigned char
12750 vec_search_string_cc(__vector unsigned short __a, __vector unsigned short __b,
12751 __vector unsigned char __c, int *__cc) {
12755 static inline __ATTRS_o_ai __vector unsigned char
12757 __vector unsigned char __c, int *__cc) {
12758 return __builtin_s390_vstrsf((__vector unsigned int)__a,
12759 (__vector unsigned int)__b, __c, __cc);
12762 static inline __ATTRS_o_ai __vector unsigned char
12764 __vector unsigned char __c, int *__cc) {
12765 return __builtin_s390_vstrsf((__vector unsigned int)__a,
12766 (__vector unsigned int)__b, __c, __cc);
12769 static inline __ATTRS_o_ai __vector unsigned char
12770 vec_search_string_cc(__vector unsigned int __a, __vector unsigned int __b,
12771 __vector unsigned char __c, int *__cc) {
12781 static inline __ATTRS_o_ai __vector unsigned char
12784 __vector unsigned char __c, int *__cc) {
12785 return __builtin_s390_vstrszb((__vector unsigned char)__a,
12786 (__vector unsigned char)__b, __c, __cc);
12789 static inline __ATTRS_o_ai __vector unsigned char
12792 __vector unsigned char __c, int *__cc) {
12793 return __builtin_s390_vstrszb((__vector unsigned char)__a,
12794 (__vector unsigned char)__b, __c, __cc);
12797 static inline __ATTRS_o_ai __vector unsigned char
12798 vec_search_string_until_zero_cc(__vector unsigned char __a,
12799 __vector unsigned char __b,
12800 __vector unsigned char __c, int *__cc) {
12804 static inline __ATTRS_o_ai __vector unsigned char
12807 __vector unsigned char __c, int *__cc) {
12808 return __builtin_s390_vstrszh((__vector unsigned short)__a,
12809 (__vector unsigned short)__b, __c, __cc);
12812 static inline __ATTRS_o_ai __vector unsigned char
12815 __vector unsigned char __c, int *__cc) {
12816 return __builtin_s390_vstrszh((__vector unsigned short)__a,
12817 (__vector unsigned short)__b, __c, __cc);
12820 static inline __ATTRS_o_ai __vector unsigned char
12821 vec_search_string_until_zero_cc(__vector unsigned short __a,
12822 __vector unsigned short __b,
12823 __vector unsigned char __c, int *__cc) {
12827 static inline __ATTRS_o_ai __vector unsigned char
12830 __vector unsigned char __c, int *__cc) {
12831 return __builtin_s390_vstrszf((__vector unsigned int)__a,
12832 (__vector unsigned int)__b, __c, __cc);
12835 static inline __ATTRS_o_ai __vector unsigned char
12838 __vector unsigned char __c, int *__cc) {
12839 return __builtin_s390_vstrszf((__vector unsigned int)__a,
12840 (__vector unsigned int)__b, __c, __cc);
12843 static inline __ATTRS_o_ai __vector unsigned char
12844 vec_search_string_until_zero_cc(__vector unsigned int __a,
12845 __vector unsigned int __b,
12846 __vector unsigned char __c, int *__cc) {