13#if defined(__s390x__) && defined(__VEC__)
15#define __ATTRS_ai __attribute__((__always_inline__))
16#define __ATTRS_o __attribute__((__overloadable__))
17#define __ATTRS_o_ai __attribute__((__overloadable__, __always_inline__))
19#define __constant(PARM) \
20 __attribute__((__enable_if__ ((PARM) == (PARM), \
21 "argument must be a constant integer")))
22#define __constant_range(PARM, LOW, HIGH) \
23 __attribute__((__enable_if__ ((PARM) >= (LOW) && (PARM) <= (HIGH), \
24 "argument must be a constant integer from " #LOW " to " #HIGH)))
25#define __constant_pow2_range(PARM, LOW, HIGH) \
26 __attribute__((__enable_if__ ((PARM) >= (LOW) && (PARM) <= (HIGH) && \
27 ((PARM) & ((PARM) - 1)) == 0, \
28 "argument must be a constant power of 2 from " #LOW " to " #HIGH)))
32extern __ATTRS_o
unsigned int
33__lcbb(
const void *__ptr,
unsigned short __len)
34 __constant_pow2_range(__len, 64, 4096);
36#define __lcbb(X, Y) ((__typeof__((__lcbb)((X), (Y)))) \
37 __builtin_s390_lcbb((X), __builtin_constant_p((Y))? \
44 (Y) == 4096 ? 6 : 0) : 0))
49vec_extract(__vector
signed char __vec,
int __index) {
50 return __vec[__index & 15];
54vec_extract(__vector __bool
char __vec,
int __index) {
55 return __vec[__index & 15];
59vec_extract(__vector
unsigned char __vec,
int __index) {
60 return __vec[__index & 15];
64vec_extract(__vector
signed short __vec,
int __index) {
65 return __vec[__index & 7];
69vec_extract(__vector __bool
short __vec,
int __index) {
70 return __vec[__index & 7];
74vec_extract(__vector
unsigned short __vec,
int __index) {
75 return __vec[__index & 7];
79vec_extract(__vector
signed int __vec,
int __index) {
80 return __vec[__index & 3];
84vec_extract(__vector __bool
int __vec,
int __index) {
85 return __vec[__index & 3];
89vec_extract(__vector
unsigned int __vec,
int __index) {
90 return __vec[__index & 3];
94vec_extract(__vector
signed long long __vec,
int __index) {
95 return __vec[__index & 1];
99vec_extract(__vector __bool
long long __vec,
int __index) {
100 return __vec[__index & 1];
104vec_extract(__vector
unsigned long long __vec,
int __index) {
105 return __vec[__index & 1];
111 return __vec[__index & 3];
117 return __vec[__index & 1];
123vec_insert(
signed char __scalar, __vector
signed char __vec,
int __index) {
124 __vec[__index & 15] = __scalar;
130vec_insert(
unsigned char __scalar, __vector __bool
char __vec,
int __index) {
131 __vector
unsigned char __newvec = (__vector
unsigned char)__vec;
132 __newvec[__index & 15] = (
unsigned char)__scalar;
137vec_insert(
unsigned char __scalar, __vector
unsigned char __vec,
int __index) {
138 __vec[__index & 15] = __scalar;
143vec_insert(
signed short __scalar, __vector
signed short __vec,
int __index) {
144 __vec[__index & 7] = __scalar;
150vec_insert(
unsigned short __scalar, __vector __bool
short __vec,
152 __vector
unsigned short __newvec = (__vector
unsigned short)__vec;
153 __newvec[__index & 7] = (
unsigned short)__scalar;
158vec_insert(
unsigned short __scalar, __vector
unsigned short __vec,
160 __vec[__index & 7] = __scalar;
165vec_insert(
signed int __scalar, __vector
signed int __vec,
int __index) {
166 __vec[__index & 3] = __scalar;
172vec_insert(
unsigned int __scalar, __vector __bool
int __vec,
int __index) {
173 __vector
unsigned int __newvec = (__vector
unsigned int)__vec;
174 __newvec[__index & 3] = __scalar;
179vec_insert(
unsigned int __scalar, __vector
unsigned int __vec,
int __index) {
180 __vec[__index & 3] = __scalar;
185vec_insert(
signed long long __scalar, __vector
signed long long __vec,
187 __vec[__index & 1] = __scalar;
193vec_insert(
unsigned long long __scalar, __vector __bool
long long __vec,
195 __vector
unsigned long long __newvec = (__vector
unsigned long long)__vec;
196 __newvec[__index & 1] = __scalar;
201vec_insert(
unsigned long long __scalar, __vector
unsigned long long __vec,
203 __vec[__index & 1] = __scalar;
209vec_insert(
float __scalar, __vector
float __vec,
int __index) {
210 __vec[__index & 1] = __scalar;
216vec_insert(
double __scalar, __vector
double __vec,
int __index) {
217 __vec[__index & 1] = __scalar;
225 const __vector
signed char __zero = (__vector
signed char)0;
226 __vector
signed char __vec = __builtin_shufflevector(__zero, __zero,
227 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1);
228 __vec[__index & 15] = __scalar;
234 const __vector
unsigned char __zero = (__vector
unsigned char)0;
235 __vector
unsigned char __vec = __builtin_shufflevector(__zero, __zero,
236 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1);
237 __vec[__index & 15] = __scalar;
243 const __vector
signed short __zero = (__vector
signed short)0;
244 __vector
signed short __vec = __builtin_shufflevector(__zero, __zero,
245 -1, -1, -1, -1, -1, -1, -1, -1);
246 __vec[__index & 7] = __scalar;
252 const __vector
unsigned short __zero = (__vector
unsigned short)0;
253 __vector
unsigned short __vec = __builtin_shufflevector(__zero, __zero,
254 -1, -1, -1, -1, -1, -1, -1, -1);
255 __vec[__index & 7] = __scalar;
261 const __vector
signed int __zero = (__vector
signed int)0;
262 __vector
signed int __vec = __builtin_shufflevector(__zero, __zero,
264 __vec[__index & 3] = __scalar;
270 const __vector
unsigned int __zero = (__vector
unsigned int)0;
271 __vector
unsigned int __vec = __builtin_shufflevector(__zero, __zero,
273 __vec[__index & 3] = __scalar;
278vec_promote(
signed long long __scalar,
int __index) {
279 const __vector
signed long long __zero = (__vector
signed long long)0;
280 __vector
signed long long __vec = __builtin_shufflevector(__zero, __zero,
282 __vec[__index & 1] = __scalar;
287vec_promote(
unsigned long long __scalar,
int __index) {
288 const __vector
unsigned long long __zero = (__vector
unsigned long long)0;
289 __vector
unsigned long long __vec = __builtin_shufflevector(__zero, __zero,
291 __vec[__index & 1] = __scalar;
298 const __vector
float __zero = (__vector
float)0.0f;
299 __vector
float __vec = __builtin_shufflevector(__zero, __zero,
301 __vec[__index & 3] = __scalar;
308 const __vector
double __zero = (__vector
double)0.0;
309 __vector
double __vec = __builtin_shufflevector(__zero, __zero, -1, -1);
310 __vec[__index & 1] = __scalar;
317vec_insert_and_zero(
const signed char *__ptr) {
318 __vector
signed char __vec = (__vector
signed char)0;
324vec_insert_and_zero(
const unsigned char *__ptr) {
325 __vector
unsigned char __vec = (__vector
unsigned char)0;
331vec_insert_and_zero(
const signed short *__ptr) {
332 __vector
signed short __vec = (__vector
signed short)0;
338vec_insert_and_zero(
const unsigned short *__ptr) {
339 __vector
unsigned short __vec = (__vector
unsigned short)0;
345vec_insert_and_zero(
const signed int *__ptr) {
346 __vector
signed int __vec = (__vector
signed int)0;
352vec_insert_and_zero(
const unsigned int *__ptr) {
353 __vector
unsigned int __vec = (__vector
unsigned int)0;
359vec_insert_and_zero(
const signed long long *__ptr) {
360 __vector
signed long long __vec = (__vector
signed long long)0;
366vec_insert_and_zero(
const unsigned long long *__ptr) {
367 __vector
unsigned long long __vec = (__vector
unsigned long long)0;
374vec_insert_and_zero(
const float *__ptr) {
375 __vector
float __vec = (__vector
float)0.0f;
382vec_insert_and_zero(
const double *__ptr) {
383 __vector
double __vec = (__vector
double)0.0;
392 __vector
unsigned char __c) {
393 return (__vector
signed char)__builtin_s390_vperm(
394 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
399 __vector
unsigned char __c) {
400 return (__vector
unsigned char)__builtin_s390_vperm(
401 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
406 __vector
unsigned char __c) {
407 return (__vector __bool
char)__builtin_s390_vperm(
408 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
413 __vector
unsigned char __c) {
414 return (__vector
signed short)__builtin_s390_vperm(
415 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
420 __vector
unsigned char __c) {
421 return (__vector
unsigned short)__builtin_s390_vperm(
422 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
427 __vector
unsigned char __c) {
428 return (__vector __bool
short)__builtin_s390_vperm(
429 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
434 __vector
unsigned char __c) {
435 return (__vector
signed int)__builtin_s390_vperm(
436 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
441 __vector
unsigned char __c) {
442 return (__vector
unsigned int)__builtin_s390_vperm(
443 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
448 __vector
unsigned char __c) {
449 return (__vector __bool
int)__builtin_s390_vperm(
450 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
454vec_perm(__vector
signed long long __a, __vector
signed long long __b,
455 __vector
unsigned char __c) {
456 return (__vector
signed long long)__builtin_s390_vperm(
457 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
461vec_perm(__vector
unsigned long long __a, __vector
unsigned long long __b,
462 __vector
unsigned char __c) {
463 return (__vector
unsigned long long)__builtin_s390_vperm(
464 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
468vec_perm(__vector __bool
long long __a, __vector __bool
long long __b,
469 __vector
unsigned char __c) {
470 return (__vector __bool
long long)__builtin_s390_vperm(
471 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
475vec_perm(__vector
signed __int128
__a, __vector
signed __int128
__b,
476 __vector
unsigned char __c) {
477 return (__vector
signed __int128)__builtin_s390_vperm(
478 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
482vec_perm(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
483 __vector
unsigned char __c) {
484 return (__vector
unsigned __int128)__builtin_s390_vperm(
485 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
489vec_perm(__vector __bool __int128
__a, __vector __bool __int128
__b,
490 __vector
unsigned char __c) {
491 return (__vector __bool __int128)__builtin_s390_vperm(
492 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
498 __vector
unsigned char __c) {
499 return (__vector
float)__builtin_s390_vperm(
500 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
506 __vector
unsigned char __c) {
507 return (__vector
double)__builtin_s390_vperm(
508 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
514extern __ATTRS_o __vector
signed long long
515vec_permi(__vector
signed long long __a, __vector
signed long long __b,
517 __constant_range(
__c, 0, 3);
520extern __ATTRS_o __vector
unsigned long long
521vec_permi(__vector
unsigned long long __a, __vector
unsigned long long __b,
523 __constant_range(
__c, 0, 3);
526extern __ATTRS_o __vector __bool
long long
527vec_permi(__vector __bool
long long __a, __vector __bool
long long __b,
529 __constant_range(
__c, 0, 3);
532extern __ATTRS_o __vector
double
533vec_permi(__vector
double __a, __vector
double __b,
int __c)
534 __constant_range(
__c, 0, 3);
536#define vec_permi(X, Y, Z) ((__typeof__((vec_permi)((X), (Y), (Z)))) \
537 __builtin_s390_vpdi((__vector unsigned long long)(X), \
538 (__vector unsigned long long)(Y), \
539 (((Z) & 2) << 1) | ((Z) & 1)))
544static inline __ATTRS_ai __vector
unsigned long long
545vec_bperm(__vector
unsigned __int128
__a, __vector
unsigned char __b) {
546 return __builtin_s390_vbperm((__vector
unsigned char)
__a,
__b);
554static inline __ATTRS_ai __vector
unsigned long long
555vec_bperm_u128(__vector
unsigned char __a, __vector
unsigned char __b) {
556 return __builtin_s390_vbperm(
__a,
__b);
563vec_revb(__vector
signed short __vec) {
564 return (__vector
signed short)
565 __builtin_s390_vlbrh((__vector
unsigned short)__vec);
569vec_revb(__vector
unsigned short __vec) {
570 return __builtin_s390_vlbrh(__vec);
574vec_revb(__vector
signed int __vec) {
575 return (__vector
signed int)
576 __builtin_s390_vlbrf((__vector
unsigned int)__vec);
580vec_revb(__vector
unsigned int __vec) {
581 return __builtin_s390_vlbrf(__vec);
585vec_revb(__vector
signed long long __vec) {
586 return (__vector
signed long long)
587 __builtin_s390_vlbrg((__vector
unsigned long long)__vec);
591vec_revb(__vector
unsigned long long __vec) {
592 return __builtin_s390_vlbrg(__vec);
596vec_revb(__vector
signed __int128 __vec) {
597 return (__vector
signed __int128)
598 __builtin_s390_vlbrq((
unsigned __int128)__vec);
602vec_revb(__vector
unsigned __int128 __vec) {
603 return (__vector
unsigned __int128)
604 __builtin_s390_vlbrq((
unsigned __int128)__vec);
610 return (__vector
float)
611 __builtin_s390_vlbrf((__vector
unsigned int)__vec);
617 return (__vector
double)
618 __builtin_s390_vlbrg((__vector
unsigned long long)__vec);
624vec_reve(__vector
signed char __vec) {
625 return (__vector
signed char) { __vec[15], __vec[14], __vec[13], __vec[12],
626 __vec[11], __vec[10], __vec[9], __vec[8],
627 __vec[7], __vec[6], __vec[5], __vec[4],
628 __vec[3], __vec[2], __vec[1], __vec[0] };
632vec_reve(__vector
unsigned char __vec) {
633 return (__vector
unsigned char) { __vec[15], __vec[14], __vec[13], __vec[12],
634 __vec[11], __vec[10], __vec[9], __vec[8],
635 __vec[7], __vec[6], __vec[5], __vec[4],
636 __vec[3], __vec[2], __vec[1], __vec[0] };
640vec_reve(__vector __bool
char __vec) {
641 return (__vector __bool
char) { __vec[15], __vec[14], __vec[13], __vec[12],
642 __vec[11], __vec[10], __vec[9], __vec[8],
643 __vec[7], __vec[6], __vec[5], __vec[4],
644 __vec[3], __vec[2], __vec[1], __vec[0] };
648vec_reve(__vector
signed short __vec) {
649 return (__vector
signed short) { __vec[7], __vec[6], __vec[5], __vec[4],
650 __vec[3], __vec[2], __vec[1], __vec[0] };
654vec_reve(__vector
unsigned short __vec) {
655 return (__vector
unsigned short) { __vec[7], __vec[6], __vec[5], __vec[4],
656 __vec[3], __vec[2], __vec[1], __vec[0] };
660vec_reve(__vector __bool
short __vec) {
661 return (__vector __bool
short) { __vec[7], __vec[6], __vec[5], __vec[4],
662 __vec[3], __vec[2], __vec[1], __vec[0] };
666vec_reve(__vector
signed int __vec) {
667 return (__vector
signed int) { __vec[3], __vec[2], __vec[1], __vec[0] };
671vec_reve(__vector
unsigned int __vec) {
672 return (__vector
unsigned int) { __vec[3], __vec[2], __vec[1], __vec[0] };
676vec_reve(__vector __bool
int __vec) {
677 return (__vector __bool
int) { __vec[3], __vec[2], __vec[1], __vec[0] };
681vec_reve(__vector
signed long long __vec) {
682 return (__vector
signed long long) { __vec[1], __vec[0] };
686vec_reve(__vector
unsigned long long __vec) {
687 return (__vector
unsigned long long) { __vec[1], __vec[0] };
691vec_reve(__vector __bool
long long __vec) {
692 return (__vector __bool
long long) { __vec[1], __vec[0] };
698 return (__vector
float) { __vec[3], __vec[2], __vec[1], __vec[0] };
704 return (__vector
double) { __vec[1], __vec[0] };
711 __vector
unsigned char __c) {
712 return (((__vector
signed char)
__c &
__b) |
713 (~(__vector
signed char)
__c &
__a));
718 __vector __bool
char __c) {
719 return (((__vector
signed char)
__c &
__b) |
720 (~(__vector
signed char)
__c &
__a));
725 __vector
unsigned char __c) {
726 return (((__vector __bool
char)
__c &
__b) |
727 (~(__vector __bool
char)
__c &
__a));
732 __vector __bool
char __c) {
737vec_sel(__vector
unsigned char __a, __vector
unsigned char __b,
738 __vector
unsigned char __c) {
743vec_sel(__vector
unsigned char __a, __vector
unsigned char __b,
744 __vector __bool
char __c) {
745 return (((__vector
unsigned char)
__c &
__b) |
746 (~(__vector
unsigned char)
__c &
__a));
751 __vector
unsigned short __c) {
752 return (((__vector
signed short)
__c &
__b) |
753 (~(__vector
signed short)
__c &
__a));
758 __vector __bool
short __c) {
759 return (((__vector
signed short)
__c &
__b) |
760 (~(__vector
signed short)
__c &
__a));
765 __vector
unsigned short __c) {
766 return (((__vector __bool
short)
__c &
__b) |
767 (~(__vector __bool
short)
__c &
__a));
772 __vector __bool
short __c) {
777vec_sel(__vector
unsigned short __a, __vector
unsigned short __b,
778 __vector
unsigned short __c) {
783vec_sel(__vector
unsigned short __a, __vector
unsigned short __b,
784 __vector __bool
short __c) {
785 return (((__vector
unsigned short)
__c &
__b) |
786 (~(__vector
unsigned short)
__c &
__a));
791 __vector
unsigned int __c) {
792 return (((__vector
signed int)
__c &
__b) |
793 (~(__vector
signed int)
__c &
__a));
798 __vector __bool
int __c) {
799 return (((__vector
signed int)
__c &
__b) |
800 (~(__vector
signed int)
__c &
__a));
805 __vector
unsigned int __c) {
806 return (((__vector __bool
int)
__c &
__b) |
807 (~(__vector __bool
int)
__c &
__a));
812 __vector __bool
int __c) {
818 __vector
unsigned int __c) {
824 __vector __bool
int __c) {
825 return (((__vector
unsigned int)
__c &
__b) |
826 (~(__vector
unsigned int)
__c &
__a));
830vec_sel(__vector
signed long long __a, __vector
signed long long __b,
831 __vector
unsigned long long __c) {
832 return (((__vector
signed long long)
__c &
__b) |
833 (~(__vector
signed long long)
__c &
__a));
837vec_sel(__vector
signed long long __a, __vector
signed long long __b,
838 __vector __bool
long long __c) {
839 return (((__vector
signed long long)
__c &
__b) |
840 (~(__vector
signed long long)
__c &
__a));
844vec_sel(__vector __bool
long long __a, __vector __bool
long long __b,
845 __vector
unsigned long long __c) {
846 return (((__vector __bool
long long)
__c &
__b) |
847 (~(__vector __bool
long long)
__c &
__a));
851vec_sel(__vector __bool
long long __a, __vector __bool
long long __b,
852 __vector __bool
long long __c) {
857vec_sel(__vector
unsigned long long __a, __vector
unsigned long long __b,
858 __vector
unsigned long long __c) {
863vec_sel(__vector
unsigned long long __a, __vector
unsigned long long __b,
864 __vector __bool
long long __c) {
865 return (((__vector
unsigned long long)
__c &
__b) |
866 (~(__vector
unsigned long long)
__c &
__a));
870vec_sel(__vector
signed __int128
__a, __vector
signed __int128
__b,
871 __vector
unsigned __int128
__c) {
872 return (((__vector
signed __int128)
__c &
__b) |
873 (~(__vector
signed __int128)
__c &
__a));
877vec_sel(__vector
signed __int128
__a, __vector
signed __int128
__b,
878 __vector __bool __int128
__c) {
879 return (((__vector
signed __int128)
__c &
__b) |
880 (~(__vector
signed __int128)
__c &
__a));
884vec_sel(__vector __bool __int128
__a, __vector __bool __int128
__b,
885 __vector
unsigned __int128
__c) {
886 return (((__vector __bool __int128)
__c &
__b) |
887 (~(__vector __bool __int128)
__c &
__a));
891vec_sel(__vector __bool __int128
__a, __vector __bool __int128
__b,
892 __vector __bool __int128
__c) {
897vec_sel(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
898 __vector
unsigned __int128
__c) {
903vec_sel(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
904 __vector __bool __int128
__c) {
905 return (((__vector
unsigned __int128)
__c &
__b) |
906 (~(__vector
unsigned __int128)
__c &
__a));
912 return (__vector
float)((
__c & (__vector
unsigned int)
__b) |
918 __vector
unsigned int __ac = (__vector
unsigned int)
__a;
919 __vector
unsigned int __bc = (__vector
unsigned int)
__b;
920 __vector
unsigned int __cc = (__vector
unsigned int)
__c;
921 return (__vector
float)((__cc & __bc) | (~__cc & __ac));
927 __vector
unsigned long long __c) {
928 return (__vector
double)((
__c & (__vector
unsigned long long)
__b) |
929 (
~__c & (__vector
unsigned long long)
__a));
934 __vector __bool
long long __c) {
935 __vector
unsigned long long __ac = (__vector
unsigned long long)
__a;
936 __vector
unsigned long long __bc = (__vector
unsigned long long)
__b;
937 __vector
unsigned long long __cc = (__vector
unsigned long long)
__c;
938 return (__vector
double)((__cc & __bc) | (~__cc & __ac));
944vec_gather_element(__vector
signed int __vec,
945 __vector
unsigned int __offset,
946 const signed int *__ptr,
int __index)
947 __constant_range(__index, 0, 3) {
948 __vec[__index] = *(
const signed int *)(
949 (
const char *)__ptr + __offset[__index]);
954vec_gather_element(__vector __bool
int __vec,
955 __vector
unsigned int __offset,
956 const unsigned int *__ptr,
int __index)
957 __constant_range(__index, 0, 3) {
958 __vec[__index] = *(
const unsigned int *)(
959 (
const char *)__ptr + __offset[__index]);
964vec_gather_element(__vector
unsigned int __vec,
965 __vector
unsigned int __offset,
966 const unsigned int *__ptr,
int __index)
967 __constant_range(__index, 0, 3) {
968 __vec[__index] = *(
const unsigned int *)(
969 (
const char *)__ptr + __offset[__index]);
974vec_gather_element(__vector
signed long long __vec,
975 __vector
unsigned long long __offset,
976 const signed long long *__ptr,
int __index)
977 __constant_range(__index, 0, 1) {
978 __vec[__index] = *(
const signed long long *)(
979 (
const char *)__ptr + __offset[__index]);
984vec_gather_element(__vector __bool
long long __vec,
985 __vector
unsigned long long __offset,
986 const unsigned long long *__ptr,
int __index)
987 __constant_range(__index, 0, 1) {
988 __vec[__index] = *(
const unsigned long long *)(
989 (
const char *)__ptr + __offset[__index]);
994vec_gather_element(__vector
unsigned long long __vec,
995 __vector
unsigned long long __offset,
996 const unsigned long long *__ptr,
int __index)
997 __constant_range(__index, 0, 1) {
998 __vec[__index] = *(
const unsigned long long *)(
999 (
const char *)__ptr + __offset[__index]);
1005vec_gather_element(__vector
float __vec,
1006 __vector
unsigned int __offset,
1007 const float *__ptr,
int __index)
1008 __constant_range(__index, 0, 3) {
1009 __vec[__index] = *(
const float *)(
1010 (
const char *)__ptr + __offset[__index]);
1016vec_gather_element(__vector
double __vec,
1017 __vector
unsigned long long __offset,
1018 const double *__ptr,
int __index)
1019 __constant_range(__index, 0, 1) {
1020 __vec[__index] = *(
const double *)(
1021 (
const char *)__ptr + __offset[__index]);
1028vec_scatter_element(__vector
signed int __vec,
1029 __vector
unsigned int __offset,
1030 signed int *__ptr,
int __index)
1031 __constant_range(__index, 0, 3) {
1032 *(
signed int *)((
char *)__ptr + __offset[__index]) =
1037vec_scatter_element(__vector __bool
int __vec,
1038 __vector
unsigned int __offset,
1039 unsigned int *__ptr,
int __index)
1040 __constant_range(__index, 0, 3) {
1041 *(
unsigned int *)((
char *)__ptr + __offset[__index]) =
1046vec_scatter_element(__vector
unsigned int __vec,
1047 __vector
unsigned int __offset,
1048 unsigned int *__ptr,
int __index)
1049 __constant_range(__index, 0, 3) {
1050 *(
unsigned int *)((
char *)__ptr + __offset[__index]) =
1055vec_scatter_element(__vector
signed long long __vec,
1056 __vector
unsigned long long __offset,
1057 signed long long *__ptr,
int __index)
1058 __constant_range(__index, 0, 1) {
1059 *(
signed long long *)((
char *)__ptr + __offset[__index]) =
1064vec_scatter_element(__vector __bool
long long __vec,
1065 __vector
unsigned long long __offset,
1066 unsigned long long *__ptr,
int __index)
1067 __constant_range(__index, 0, 1) {
1068 *(
unsigned long long *)((
char *)__ptr + __offset[__index]) =
1073vec_scatter_element(__vector
unsigned long long __vec,
1074 __vector
unsigned long long __offset,
1075 unsigned long long *__ptr,
int __index)
1076 __constant_range(__index, 0, 1) {
1077 *(
unsigned long long *)((
char *)__ptr + __offset[__index]) =
1083vec_scatter_element(__vector
float __vec,
1084 __vector
unsigned int __offset,
1085 float *__ptr,
int __index)
1086 __constant_range(__index, 0, 3) {
1087 *(
float *)((
char *)__ptr + __offset[__index]) =
1093vec_scatter_element(__vector
double __vec,
1094 __vector
unsigned long long __offset,
1095 double *__ptr,
int __index)
1096 __constant_range(__index, 0, 1) {
1097 *(
double *)((
char *)__ptr + __offset[__index]) =
1104vec_xl(
long __offset,
const signed char *__ptr) {
1105 __vector
signed char V;
1106 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1107 sizeof(__vector
signed char));
1112vec_xl(
long __offset,
const unsigned char *__ptr) {
1113 __vector
unsigned char V;
1114 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1115 sizeof(__vector
unsigned char));
1120vec_xl(
long __offset,
const signed short *__ptr) {
1121 __vector
signed short V;
1122 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1123 sizeof(__vector
signed short));
1128vec_xl(
long __offset,
const unsigned short *__ptr) {
1129 __vector
unsigned short V;
1130 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1131 sizeof(__vector
unsigned short));
1136vec_xl(
long __offset,
const signed int *__ptr) {
1137 __vector
signed int V;
1138 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1139 sizeof(__vector
signed int));
1144vec_xl(
long __offset,
const unsigned int *__ptr) {
1145 __vector
unsigned int V;
1146 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1147 sizeof(__vector
unsigned int));
1152vec_xl(
long __offset,
const signed long long *__ptr) {
1153 __vector
signed long long V;
1154 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1155 sizeof(__vector
signed long long));
1160vec_xl(
long __offset,
const unsigned long long *__ptr) {
1161 __vector
unsigned long long V;
1162 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1163 sizeof(__vector
unsigned long long));
1168vec_xl(
long __offset,
const signed __int128 *__ptr) {
1169 __vector
signed __int128
V;
1170 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1171 sizeof(__vector
signed __int128));
1176vec_xl(
long __offset,
const unsigned __int128 *__ptr) {
1177 __vector
unsigned __int128
V;
1178 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1179 sizeof(__vector
unsigned __int128));
1185vec_xl(
long __offset,
const float *__ptr) {
1187 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1188 sizeof(__vector
float));
1194vec_xl(
long __offset,
const double *__ptr) {
1196 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1197 sizeof(__vector
double));
1205vec_xld2(
long __offset,
const signed char *__ptr) {
1206 __vector
signed char V;
1207 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1208 sizeof(__vector
signed char));
1214vec_xld2(
long __offset,
const unsigned char *__ptr) {
1215 __vector
unsigned char V;
1216 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1217 sizeof(__vector
unsigned char));
1223vec_xld2(
long __offset,
const signed short *__ptr) {
1224 __vector
signed short V;
1225 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1226 sizeof(__vector
signed short));
1232vec_xld2(
long __offset,
const unsigned short *__ptr) {
1233 __vector
unsigned short V;
1234 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1235 sizeof(__vector
unsigned short));
1241vec_xld2(
long __offset,
const signed int *__ptr) {
1242 __vector
signed int V;
1243 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1244 sizeof(__vector
signed int));
1250vec_xld2(
long __offset,
const unsigned int *__ptr) {
1251 __vector
unsigned int V;
1252 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1253 sizeof(__vector
unsigned int));
1259vec_xld2(
long __offset,
const signed long long *__ptr) {
1260 __vector
signed long long V;
1261 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1262 sizeof(__vector
signed long long));
1268vec_xld2(
long __offset,
const unsigned long long *__ptr) {
1269 __vector
unsigned long long V;
1270 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1271 sizeof(__vector
unsigned long long));
1277vec_xld2(
long __offset,
const double *__ptr) {
1279 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1280 sizeof(__vector
double));
1288vec_xlw4(
long __offset,
const signed char *__ptr) {
1289 __vector
signed char V;
1290 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1291 sizeof(__vector
signed char));
1297vec_xlw4(
long __offset,
const unsigned char *__ptr) {
1298 __vector
unsigned char V;
1299 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1300 sizeof(__vector
unsigned char));
1306vec_xlw4(
long __offset,
const signed short *__ptr) {
1307 __vector
signed short V;
1308 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1309 sizeof(__vector
signed short));
1315vec_xlw4(
long __offset,
const unsigned short *__ptr) {
1316 __vector
unsigned short V;
1317 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1318 sizeof(__vector
unsigned short));
1324vec_xlw4(
long __offset,
const signed int *__ptr) {
1325 __vector
signed int V;
1326 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1327 sizeof(__vector
signed int));
1333vec_xlw4(
long __offset,
const unsigned int *__ptr) {
1334 __vector
unsigned int V;
1335 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1336 sizeof(__vector
unsigned int));
1343vec_xst(__vector
signed char __vec,
long __offset,
signed char *__ptr) {
1344 __vector
signed char V = __vec;
1345 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1346 sizeof(__vector
signed char));
1350vec_xst(__vector
unsigned char __vec,
long __offset,
unsigned char *__ptr) {
1351 __vector
unsigned char V = __vec;
1352 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1353 sizeof(__vector
unsigned char));
1357vec_xst(__vector
signed short __vec,
long __offset,
signed short *__ptr) {
1358 __vector
signed short V = __vec;
1359 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1360 sizeof(__vector
signed short));
1364vec_xst(__vector
unsigned short __vec,
long __offset,
unsigned short *__ptr) {
1365 __vector
unsigned short V = __vec;
1366 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1367 sizeof(__vector
unsigned short));
1371vec_xst(__vector
signed int __vec,
long __offset,
signed int *__ptr) {
1372 __vector
signed int V = __vec;
1373 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
sizeof(__vector
signed int));
1377vec_xst(__vector
unsigned int __vec,
long __offset,
unsigned int *__ptr) {
1378 __vector
unsigned int V = __vec;
1379 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1380 sizeof(__vector
unsigned int));
1384vec_xst(__vector
signed long long __vec,
long __offset,
1385 signed long long *__ptr) {
1386 __vector
signed long long V = __vec;
1387 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1388 sizeof(__vector
signed long long));
1392vec_xst(__vector
unsigned long long __vec,
long __offset,
1393 unsigned long long *__ptr) {
1394 __vector
unsigned long long V = __vec;
1395 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1396 sizeof(__vector
unsigned long long));
1400vec_xst(__vector
signed __int128 __vec,
long __offset,
1401 signed __int128 *__ptr) {
1402 __vector
signed __int128
V = __vec;
1403 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1404 sizeof(__vector
signed __int128));
1408vec_xst(__vector
unsigned __int128 __vec,
long __offset,
1409 unsigned __int128 *__ptr) {
1410 __vector
unsigned __int128
V = __vec;
1411 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1412 sizeof(__vector
unsigned __int128));
1417vec_xst(__vector
float __vec,
long __offset,
float *__ptr) {
1418 __vector
float V = __vec;
1419 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
sizeof(__vector
float));
1424vec_xst(__vector
double __vec,
long __offset,
double *__ptr) {
1425 __vector
double V = __vec;
1426 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
sizeof(__vector
double));
1433vec_xstd2(__vector
signed char __vec,
long __offset,
signed char *__ptr) {
1434 __vector
signed char V = __vec;
1435 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1436 sizeof(__vector
signed char));
1441vec_xstd2(__vector
unsigned char __vec,
long __offset,
unsigned char *__ptr) {
1442 __vector
unsigned char V = __vec;
1443 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1444 sizeof(__vector
unsigned char));
1449vec_xstd2(__vector
signed short __vec,
long __offset,
signed short *__ptr) {
1450 __vector
signed short V = __vec;
1451 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1452 sizeof(__vector
signed short));
1457vec_xstd2(__vector
unsigned short __vec,
long __offset,
unsigned short *__ptr) {
1458 __vector
unsigned short V = __vec;
1459 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1460 sizeof(__vector
unsigned short));
1465vec_xstd2(__vector
signed int __vec,
long __offset,
signed int *__ptr) {
1466 __vector
signed int V = __vec;
1467 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
sizeof(__vector
signed int));
1472vec_xstd2(__vector
unsigned int __vec,
long __offset,
unsigned int *__ptr) {
1473 __vector
unsigned int V = __vec;
1474 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1475 sizeof(__vector
unsigned int));
1480vec_xstd2(__vector
signed long long __vec,
long __offset,
1481 signed long long *__ptr) {
1482 __vector
signed long long V = __vec;
1483 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1484 sizeof(__vector
signed long long));
1489vec_xstd2(__vector
unsigned long long __vec,
long __offset,
1490 unsigned long long *__ptr) {
1491 __vector
unsigned long long V = __vec;
1492 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1493 sizeof(__vector
unsigned long long));
1498vec_xstd2(__vector
double __vec,
long __offset,
double *__ptr) {
1499 __vector
double V = __vec;
1500 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
sizeof(__vector
double));
1507vec_xstw4(__vector
signed char __vec,
long __offset,
signed char *__ptr) {
1508 __vector
signed char V = __vec;
1509 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1510 sizeof(__vector
signed char));
1515vec_xstw4(__vector
unsigned char __vec,
long __offset,
unsigned char *__ptr) {
1516 __vector
unsigned char V = __vec;
1517 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1518 sizeof(__vector
unsigned char));
1523vec_xstw4(__vector
signed short __vec,
long __offset,
signed short *__ptr) {
1524 __vector
signed short V = __vec;
1525 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1526 sizeof(__vector
signed short));
1531vec_xstw4(__vector
unsigned short __vec,
long __offset,
unsigned short *__ptr) {
1532 __vector
unsigned short V = __vec;
1533 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1534 sizeof(__vector
unsigned short));
1539vec_xstw4(__vector
signed int __vec,
long __offset,
signed int *__ptr) {
1540 __vector
signed int V = __vec;
1541 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
sizeof(__vector
signed int));
1546vec_xstw4(__vector
unsigned int __vec,
long __offset,
unsigned int *__ptr) {
1547 __vector
unsigned int V = __vec;
1548 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1549 sizeof(__vector
unsigned int));
1554extern __ATTRS_o __vector
signed char
1555vec_load_bndry(
const signed char *__ptr,
unsigned short __len)
1556 __constant_pow2_range(__len, 64, 4096);
1558extern __ATTRS_o __vector
unsigned char
1559vec_load_bndry(
const unsigned char *__ptr,
unsigned short __len)
1560 __constant_pow2_range(__len, 64, 4096);
1562extern __ATTRS_o __vector
signed short
1563vec_load_bndry(
const signed short *__ptr,
unsigned short __len)
1564 __constant_pow2_range(__len, 64, 4096);
1566extern __ATTRS_o __vector
unsigned short
1567vec_load_bndry(
const unsigned short *__ptr,
unsigned short __len)
1568 __constant_pow2_range(__len, 64, 4096);
1570extern __ATTRS_o __vector
signed int
1571vec_load_bndry(
const signed int *__ptr,
unsigned short __len)
1572 __constant_pow2_range(__len, 64, 4096);
1574extern __ATTRS_o __vector
unsigned int
1575vec_load_bndry(
const unsigned int *__ptr,
unsigned short __len)
1576 __constant_pow2_range(__len, 64, 4096);
1578extern __ATTRS_o __vector
signed long long
1579vec_load_bndry(
const signed long long *__ptr,
unsigned short __len)
1580 __constant_pow2_range(__len, 64, 4096);
1582extern __ATTRS_o __vector
unsigned long long
1583vec_load_bndry(
const unsigned long long *__ptr,
unsigned short __len)
1584 __constant_pow2_range(__len, 64, 4096);
1586extern __ATTRS_o __vector
signed __int128
1587vec_load_bndry(
const signed __int128 *__ptr,
unsigned short __len)
1588 __constant_pow2_range(__len, 64, 4096);
1590extern __ATTRS_o __vector
unsigned __int128
1591vec_load_bndry(
const unsigned __int128 *__ptr,
unsigned short __len)
1592 __constant_pow2_range(__len, 64, 4096);
1595extern __ATTRS_o __vector
float
1596vec_load_bndry(
const float *__ptr,
unsigned short __len)
1597 __constant_pow2_range(__len, 64, 4096);
1600extern __ATTRS_o __vector
double
1601vec_load_bndry(
const double *__ptr,
unsigned short __len)
1602 __constant_pow2_range(__len, 64, 4096);
1604#define vec_load_bndry(X, Y) ((__typeof__((vec_load_bndry)((X), (Y)))) \
1605 __builtin_s390_vlbb((X), ((Y) == 64 ? 0 : \
1611 (Y) == 4096 ? 6 : -1)))
1616vec_load_len(
const signed char *__ptr,
unsigned int __len) {
1617 return (__vector
signed char)__builtin_s390_vll(__len, __ptr);
1621vec_load_len(
const unsigned char *__ptr,
unsigned int __len) {
1622 return (__vector
unsigned char)__builtin_s390_vll(__len, __ptr);
1627vec_load_len(
const signed short *__ptr,
unsigned int __len) {
1628 return (__vector
signed short)__builtin_s390_vll(__len, __ptr);
1633vec_load_len(
const unsigned short *__ptr,
unsigned int __len) {
1634 return (__vector
unsigned short)__builtin_s390_vll(__len, __ptr);
1639vec_load_len(
const signed int *__ptr,
unsigned int __len) {
1640 return (__vector
signed int)__builtin_s390_vll(__len, __ptr);
1645vec_load_len(
const unsigned int *__ptr,
unsigned int __len) {
1646 return (__vector
unsigned int)__builtin_s390_vll(__len, __ptr);
1651vec_load_len(
const signed long long *__ptr,
unsigned int __len) {
1652 return (__vector
signed long long)__builtin_s390_vll(__len, __ptr);
1657vec_load_len(
const unsigned long long *__ptr,
unsigned int __len) {
1658 return (__vector
unsigned long long)__builtin_s390_vll(__len, __ptr);
1664vec_load_len(
const float *__ptr,
unsigned int __len) {
1665 return (__vector
float)__builtin_s390_vll(__len, __ptr);
1671vec_load_len(
const double *__ptr,
unsigned int __len) {
1672 return (__vector
double)__builtin_s390_vll(__len, __ptr);
1679vec_load_len_r(
const signed char *__ptr,
unsigned int __len) {
1680 return (__vector
signed char)__builtin_s390_vlrlr(__len, __ptr);
1684vec_load_len_r(
const unsigned char *__ptr,
unsigned int __len) {
1685 return (__vector
unsigned char)__builtin_s390_vlrlr(__len, __ptr);
1692vec_store_len(__vector
signed char __vec,
signed char *__ptr,
1693 unsigned int __len) {
1694 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1698vec_store_len(__vector
unsigned char __vec,
unsigned char *__ptr,
1699 unsigned int __len) {
1700 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1705vec_store_len(__vector
signed short __vec,
signed short *__ptr,
1706 unsigned int __len) {
1707 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1712vec_store_len(__vector
unsigned short __vec,
unsigned short *__ptr,
1713 unsigned int __len) {
1714 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1719vec_store_len(__vector
signed int __vec,
signed int *__ptr,
1720 unsigned int __len) {
1721 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1726vec_store_len(__vector
unsigned int __vec,
unsigned int *__ptr,
1727 unsigned int __len) {
1728 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1733vec_store_len(__vector
signed long long __vec,
signed long long *__ptr,
1734 unsigned int __len) {
1735 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1740vec_store_len(__vector
unsigned long long __vec,
unsigned long long *__ptr,
1741 unsigned int __len) {
1742 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1748vec_store_len(__vector
float __vec,
float *__ptr,
1749 unsigned int __len) {
1750 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1756vec_store_len(__vector
double __vec,
double *__ptr,
1757 unsigned int __len) {
1758 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1765vec_store_len_r(__vector
signed char __vec,
signed char *__ptr,
1766 unsigned int __len) {
1767 __builtin_s390_vstrlr(__vec, __len, __ptr);
1771vec_store_len_r(__vector
unsigned char __vec,
unsigned char *__ptr,
1772 unsigned int __len) {
1773 __builtin_s390_vstrlr((__vector
signed char)__vec, __len, __ptr);
1780vec_load_pair(
signed long long __a,
signed long long __b) {
1781 return (__vector
signed long long)(
__a,
__b);
1785vec_load_pair(
unsigned long long __a,
unsigned long long __b) {
1786 return (__vector
unsigned long long)(
__a,
__b);
1792vec_genmask(
unsigned short __mask)
1794 return (__vector
unsigned char)(
1795 __mask & 0x8000 ? 0xff : 0,
1796 __mask & 0x4000 ? 0xff : 0,
1797 __mask & 0x2000 ? 0xff : 0,
1798 __mask & 0x1000 ? 0xff : 0,
1799 __mask & 0x0800 ? 0xff : 0,
1800 __mask & 0x0400 ? 0xff : 0,
1801 __mask & 0x0200 ? 0xff : 0,
1802 __mask & 0x0100 ? 0xff : 0,
1803 __mask & 0x0080 ? 0xff : 0,
1804 __mask & 0x0040 ? 0xff : 0,
1805 __mask & 0x0020 ? 0xff : 0,
1806 __mask & 0x0010 ? 0xff : 0,
1807 __mask & 0x0008 ? 0xff : 0,
1808 __mask & 0x0004 ? 0xff : 0,
1809 __mask & 0x0002 ? 0xff : 0,
1810 __mask & 0x0001 ? 0xff : 0);
1816vec_genmasks_8(
unsigned char __first,
unsigned char __last)
1818 unsigned char __bit1 = __first & 7;
1819 unsigned char __bit2 = __last & 7;
1820 unsigned char __mask1 = (
unsigned char)(1U << (7 - __bit1) << 1) - 1;
1821 unsigned char __mask2 = (
unsigned char)(1U << (7 - __bit2)) - 1;
1822 unsigned char __value = (__bit1 <= __bit2 ?
1823 __mask1 & ~__mask2 :
1824 __mask1 | ~__mask2);
1825 return (__vector
unsigned char)
__value;
1829vec_genmasks_16(
unsigned char __first,
unsigned char __last)
1831 unsigned char __bit1 = __first & 15;
1832 unsigned char __bit2 = __last & 15;
1833 unsigned short __mask1 = (
unsigned short)(1U << (15 - __bit1) << 1) - 1;
1834 unsigned short __mask2 = (
unsigned short)(1U << (15 - __bit2)) - 1;
1835 unsigned short __value = (__bit1 <= __bit2 ?
1836 __mask1 & ~__mask2 :
1837 __mask1 | ~__mask2);
1838 return (__vector
unsigned short)
__value;
1842vec_genmasks_32(
unsigned char __first,
unsigned char __last)
1844 unsigned char __bit1 = __first & 31;
1845 unsigned char __bit2 = __last & 31;
1846 unsigned int __mask1 = (1U << (31 - __bit1) << 1) - 1;
1847 unsigned int __mask2 = (1U << (31 - __bit2)) - 1;
1848 unsigned int __value = (__bit1 <= __bit2 ?
1849 __mask1 & ~__mask2 :
1850 __mask1 | ~__mask2);
1851 return (__vector
unsigned int)
__value;
1855vec_genmasks_64(
unsigned char __first,
unsigned char __last)
1857 unsigned char __bit1 = __first & 63;
1858 unsigned char __bit2 = __last & 63;
1859 unsigned long long __mask1 = (1ULL << (63 - __bit1) << 1) - 1;
1860 unsigned long long __mask2 = (1ULL << (63 - __bit2)) - 1;
1861 unsigned long long __value = (__bit1 <= __bit2 ?
1862 __mask1 & ~__mask2 :
1863 __mask1 | ~__mask2);
1864 return (__vector
unsigned long long)
__value;
1870static inline __ATTRS_ai __vector
unsigned char
1871vec_gen_element_masks_8(__vector
unsigned short __mask) {
1872 return __builtin_s390_vgemb(__mask);
1875static inline __ATTRS_ai __vector
unsigned short
1876vec_gen_element_masks_16(__vector
unsigned char __mask) {
1877 return __builtin_s390_vgemh(__mask);
1880static inline __ATTRS_ai __vector
unsigned int
1881vec_gen_element_masks_32(__vector
unsigned char __mask) {
1882 return __builtin_s390_vgemf(__mask);
1885static inline __ATTRS_ai __vector
unsigned long long
1886vec_gen_element_masks_64(__vector
unsigned char __mask) {
1887 return __builtin_s390_vgemg(__mask);
1890static inline __ATTRS_ai __vector
unsigned __int128
1891vec_gen_element_masks_128(__vector
unsigned char __mask) {
1892 return (__vector
unsigned __int128)__builtin_s390_vgemq(__mask);
1899vec_splat(__vector
signed char __vec,
int __index)
1900 __constant_range(__index, 0, 15) {
1901 return (__vector
signed char)__vec[__index];
1905vec_splat(__vector __bool
char __vec,
int __index)
1906 __constant_range(__index, 0, 15) {
1907 return (__vector __bool
char)(__vector
unsigned char)__vec[__index];
1911vec_splat(__vector
unsigned char __vec,
int __index)
1912 __constant_range(__index, 0, 15) {
1913 return (__vector
unsigned char)__vec[__index];
1917vec_splat(__vector
signed short __vec,
int __index)
1918 __constant_range(__index, 0, 7) {
1919 return (__vector
signed short)__vec[__index];
1923vec_splat(__vector __bool
short __vec,
int __index)
1924 __constant_range(__index, 0, 7) {
1925 return (__vector __bool
short)(__vector
unsigned short)__vec[__index];
1929vec_splat(__vector
unsigned short __vec,
int __index)
1930 __constant_range(__index, 0, 7) {
1931 return (__vector
unsigned short)__vec[__index];
1935vec_splat(__vector
signed int __vec,
int __index)
1936 __constant_range(__index, 0, 3) {
1937 return (__vector
signed int)__vec[__index];
1941vec_splat(__vector __bool
int __vec,
int __index)
1942 __constant_range(__index, 0, 3) {
1943 return (__vector __bool
int)(__vector
unsigned int)__vec[__index];
1947vec_splat(__vector
unsigned int __vec,
int __index)
1948 __constant_range(__index, 0, 3) {
1949 return (__vector
unsigned int)__vec[__index];
1953vec_splat(__vector
signed long long __vec,
int __index)
1954 __constant_range(__index, 0, 1) {
1955 return (__vector
signed long long)__vec[__index];
1959vec_splat(__vector __bool
long long __vec,
int __index)
1960 __constant_range(__index, 0, 1) {
1961 return ((__vector __bool
long long)
1962 (__vector
unsigned long long)__vec[__index]);
1966vec_splat(__vector
unsigned long long __vec,
int __index)
1967 __constant_range(__index, 0, 1) {
1968 return (__vector
unsigned long long)__vec[__index];
1973vec_splat(__vector
float __vec,
int __index)
1974 __constant_range(__index, 0, 3) {
1975 return (__vector
float)__vec[__index];
1980vec_splat(__vector
double __vec,
int __index)
1981 __constant_range(__index, 0, 1) {
1982 return (__vector
double)__vec[__index];
1987static inline __ATTRS_ai __vector
signed char
1990 return (__vector
signed char)__scalar;
1993static inline __ATTRS_ai __vector
signed short
1996 return (__vector
signed short)__scalar;
1999static inline __ATTRS_ai __vector
signed int
2002 return (__vector
signed int)(
signed int)__scalar;
2005static inline __ATTRS_ai __vector
signed long long
2006vec_splat_s64(
signed short __scalar)
2008 return (__vector
signed long long)(
signed long)__scalar;
2013static inline __ATTRS_ai __vector
unsigned char
2016 return (__vector
unsigned char)__scalar;
2019static inline __ATTRS_ai __vector
unsigned short
2022 return (__vector
unsigned short)__scalar;
2025static inline __ATTRS_ai __vector
unsigned int
2028 return (__vector
unsigned int)(
signed int)__scalar;
2031static inline __ATTRS_ai __vector
unsigned long long
2032vec_splat_u64(
signed short __scalar)
2034 return (__vector
unsigned long long)(
signed long long)__scalar;
2041 return (__vector
signed char)__scalar;
2046 return (__vector
unsigned char)__scalar;
2051 return (__vector
signed short)__scalar;
2056 return (__vector
unsigned short)__scalar;
2061 return (__vector
signed int)__scalar;
2066 return (__vector
unsigned int)__scalar;
2071 return (__vector
signed long long)__scalar;
2076 return (__vector
unsigned long long)__scalar;
2081 return (__vector
signed __int128)__scalar;
2086 return (__vector
unsigned __int128)__scalar;
2092 return (__vector
float)__scalar;
2098 return (__vector
double)__scalar;
2104vec_extend_s64(__vector
signed char __a) {
2105 return (__vector
signed long long)(
__a[7],
__a[15]);
2109vec_extend_s64(__vector
signed short __a) {
2110 return (__vector
signed long long)(
__a[3],
__a[7]);
2114vec_extend_s64(__vector
signed int __a) {
2115 return (__vector
signed long long)(
__a[1],
__a[3]);
2122 return (__vector
signed char)(
2129 return (__vector __bool
char)(
2136 return (__vector
unsigned char)(
2143 return (__vector
signed short)(
2149 return (__vector __bool
short)(
2155 return (__vector
unsigned short)(
2161 return (__vector
signed int)(
__a[0],
__b[0],
__a[1],
__b[1]);
2166 return (__vector __bool
int)(
__a[0],
__b[0],
__a[1],
__b[1]);
2171 return (__vector
unsigned int)(
__a[0],
__b[0],
__a[1],
__b[1]);
2176 return (__vector
signed long long)(
__a[0],
__b[0]);
2181 return (__vector __bool
long long)(
__a[0],
__b[0]);
2185vec_mergeh(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2186 return (__vector
unsigned long long)(
__a[0],
__b[0]);
2192 return (__vector
float)(
__a[0],
__b[0],
__a[1],
__b[1]);
2198 return (__vector
double)(
__a[0],
__b[0]);
2205 return (__vector
signed char)(
2212 return (__vector __bool
char)(
2219 return (__vector
unsigned char)(
2226 return (__vector
signed short)(
2232 return (__vector __bool
short)(
2238 return (__vector
unsigned short)(
2244 return (__vector
signed int)(
__a[2],
__b[2],
__a[3],
__b[3]);
2249 return (__vector __bool
int)(
__a[2],
__b[2],
__a[3],
__b[3]);
2254 return (__vector
unsigned int)(
__a[2],
__b[2],
__a[3],
__b[3]);
2259 return (__vector
signed long long)(
__a[1],
__b[1]);
2264 return (__vector __bool
long long)(
__a[1],
__b[1]);
2268vec_mergel(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2269 return (__vector
unsigned long long)(
__a[1],
__b[1]);
2275 return (__vector
float)(
__a[2],
__b[2],
__a[3],
__b[3]);
2281 return (__vector
double)(
__a[1],
__b[1]);
2288 __vector
signed char __ac = (__vector
signed char)
__a;
2289 __vector
signed char __bc = (__vector
signed char)
__b;
2290 return (__vector
signed char)(
2291 __ac[1], __ac[3], __ac[5], __ac[7], __ac[9], __ac[11], __ac[13], __ac[15],
2292 __bc[1], __bc[3], __bc[5], __bc[7], __bc[9], __bc[11], __bc[13], __bc[15]);
2297 __vector __bool
char __ac = (__vector __bool char)
__a;
2298 __vector __bool
char __bc = (__vector __bool char)
__b;
2299 return (__vector __bool
char)(
2300 __ac[1], __ac[3], __ac[5], __ac[7], __ac[9], __ac[11], __ac[13], __ac[15],
2301 __bc[1], __bc[3], __bc[5], __bc[7], __bc[9], __bc[11], __bc[13], __bc[15]);
2305vec_pack(__vector
unsigned short __a, __vector
unsigned short __b) {
2306 __vector
unsigned char __ac = (__vector
unsigned char)
__a;
2307 __vector
unsigned char __bc = (__vector
unsigned char)
__b;
2308 return (__vector
unsigned char)(
2309 __ac[1], __ac[3], __ac[5], __ac[7], __ac[9], __ac[11], __ac[13], __ac[15],
2310 __bc[1], __bc[3], __bc[5], __bc[7], __bc[9], __bc[11], __bc[13], __bc[15]);
2315 __vector
signed short __ac = (__vector
signed short)
__a;
2316 __vector
signed short __bc = (__vector
signed short)
__b;
2317 return (__vector
signed short)(
2318 __ac[1], __ac[3], __ac[5], __ac[7],
2319 __bc[1], __bc[3], __bc[5], __bc[7]);
2324 __vector __bool
short __ac = (__vector __bool short)
__a;
2325 __vector __bool
short __bc = (__vector __bool short)
__b;
2326 return (__vector __bool
short)(
2327 __ac[1], __ac[3], __ac[5], __ac[7],
2328 __bc[1], __bc[3], __bc[5], __bc[7]);
2333 __vector
unsigned short __ac = (__vector
unsigned short)
__a;
2334 __vector
unsigned short __bc = (__vector
unsigned short)
__b;
2335 return (__vector
unsigned short)(
2336 __ac[1], __ac[3], __ac[5], __ac[7],
2337 __bc[1], __bc[3], __bc[5], __bc[7]);
2341vec_pack(__vector
signed long long __a, __vector
signed long long __b) {
2342 __vector
signed int __ac = (__vector
signed int)
__a;
2343 __vector
signed int __bc = (__vector
signed int)
__b;
2344 return (__vector
signed int)(__ac[1], __ac[3], __bc[1], __bc[3]);
2348vec_pack(__vector __bool
long long __a, __vector __bool
long long __b) {
2349 __vector __bool
int __ac = (__vector __bool
int)
__a;
2350 __vector __bool
int __bc = (__vector __bool
int)
__b;
2351 return (__vector __bool
int)(__ac[1], __ac[3], __bc[1], __bc[3]);
2355vec_pack(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2356 __vector
unsigned int __ac = (__vector
unsigned int)
__a;
2357 __vector
unsigned int __bc = (__vector
unsigned int)
__b;
2358 return (__vector
unsigned int)(__ac[1], __ac[3], __bc[1], __bc[3]);
2362vec_pack(__vector
signed __int128
__a, __vector
signed __int128
__b) {
2363 __vector
signed long long __ac = (__vector
signed long long)
__a;
2364 __vector
signed long long __bc = (__vector
signed long long)
__b;
2365 return (__vector
signed long long)(__ac[1], __bc[1]);
2369vec_pack(__vector __bool __int128
__a, __vector __bool __int128
__b) {
2370 __vector __bool
long long __ac = (__vector __bool
long long)
__a;
2371 __vector __bool
long long __bc = (__vector __bool
long long)
__b;
2372 return (__vector __bool
long long)(__ac[1], __bc[1]);
2376vec_pack(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
2377 __vector
unsigned long long __ac = (__vector
unsigned long long)
__a;
2378 __vector
unsigned long long __bc = (__vector
unsigned long long)
__b;
2379 return (__vector
unsigned long long)(__ac[1], __bc[1]);
2386 return __builtin_s390_vpksh(
__a,
__b);
2391 return __builtin_s390_vpklsh(
__a,
__b);
2396 return __builtin_s390_vpksf(
__a,
__b);
2401 return __builtin_s390_vpklsf(
__a,
__b);
2405vec_packs(__vector
signed long long __a, __vector
signed long long __b) {
2406 return __builtin_s390_vpksg(
__a,
__b);
2410vec_packs(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2411 return __builtin_s390_vpklsg(
__a,
__b);
2417vec_packs_cc(__vector
signed short __a, __vector
signed short __b,
int *__cc) {
2418 return __builtin_s390_vpkshs(
__a,
__b, __cc);
2422vec_packs_cc(__vector
unsigned short __a, __vector
unsigned short __b,
2424 return __builtin_s390_vpklshs(
__a,
__b, __cc);
2428vec_packs_cc(__vector
signed int __a, __vector
signed int __b,
int *__cc) {
2429 return __builtin_s390_vpksfs(
__a,
__b, __cc);
2433vec_packs_cc(__vector
unsigned int __a, __vector
unsigned int __b,
int *__cc) {
2434 return __builtin_s390_vpklsfs(
__a,
__b, __cc);
2438vec_packs_cc(__vector
signed long long __a, __vector
signed long long __b,
2440 return __builtin_s390_vpksgs(
__a,
__b, __cc);
2444vec_packs_cc(__vector
unsigned long long __a, __vector
unsigned long long __b,
2446 return __builtin_s390_vpklsgs(
__a,
__b, __cc);
2453 const __vector
signed short __zero = (__vector
signed short)0;
2454 return __builtin_s390_vpklsh(
2455 (__vector
unsigned short)(
__a >= __zero) & (__vector
unsigned short)
__a,
2456 (__vector
unsigned short)(
__b >= __zero) & (__vector
unsigned short)
__b);
2461 return __builtin_s390_vpklsh(
__a,
__b);
2466 const __vector
signed int __zero = (__vector
signed int)0;
2467 return __builtin_s390_vpklsf(
2468 (__vector
unsigned int)(
__a >= __zero) & (__vector
unsigned int)
__a,
2469 (__vector
unsigned int)(
__b >= __zero) & (__vector
unsigned int)
__b);
2474 return __builtin_s390_vpklsf(
__a,
__b);
2479 const __vector
signed long long __zero = (__vector
signed long long)0;
2480 return __builtin_s390_vpklsg(
2481 (__vector
unsigned long long)(
__a >= __zero) &
2482 (__vector
unsigned long long)
__a,
2483 (__vector
unsigned long long)(
__b >= __zero) &
2484 (__vector
unsigned long long)
__b);
2488vec_packsu(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2489 return __builtin_s390_vpklsg(
__a,
__b);
2495vec_packsu_cc(__vector
unsigned short __a, __vector
unsigned short __b,
2497 return __builtin_s390_vpklshs(
__a,
__b, __cc);
2501vec_packsu_cc(__vector
unsigned int __a, __vector
unsigned int __b,
int *__cc) {
2502 return __builtin_s390_vpklsfs(
__a,
__b, __cc);
2506vec_packsu_cc(__vector
unsigned long long __a, __vector
unsigned long long __b,
2508 return __builtin_s390_vpklsgs(
__a,
__b, __cc);
2515 return __builtin_s390_vuphb(
__a);
2520 return ((__vector __bool
short)
2521 __builtin_s390_vuphb((__vector
signed char)
__a));
2526 return __builtin_s390_vuplhb(
__a);
2531 return __builtin_s390_vuphh(
__a);
2536 return (__vector __bool
int)__builtin_s390_vuphh((__vector
signed short)
__a);
2541 return __builtin_s390_vuplhh(
__a);
2546 return __builtin_s390_vuphf(
__a);
2551 return ((__vector __bool
long long)
2552 __builtin_s390_vuphf((__vector
signed int)
__a));
2557 return __builtin_s390_vuplhf(
__a);
2563 return (__vector
signed __int128)__builtin_s390_vuphg(
__a);
2568 return ((__vector __bool __int128)
2569 __builtin_s390_vuphg((__vector
signed long long)
__a));
2574 return (__vector
unsigned __int128)__builtin_s390_vuplhg(
__a);
2582 return __builtin_s390_vuplb(
__a);
2587 return ((__vector __bool
short)
2588 __builtin_s390_vuplb((__vector
signed char)
__a));
2593 return __builtin_s390_vupllb(
__a);
2598 return __builtin_s390_vuplhw(
__a);
2603 return ((__vector __bool
int)
2604 __builtin_s390_vuplhw((__vector
signed short)
__a));
2609 return __builtin_s390_vupllh(
__a);
2614 return __builtin_s390_vuplf(
__a);
2619 return ((__vector __bool
long long)
2620 __builtin_s390_vuplf((__vector
signed int)
__a));
2625 return __builtin_s390_vupllf(
__a);
2631 return (__vector
signed __int128)__builtin_s390_vuplg(
__a);
2636 return ((__vector __bool __int128)
2637 __builtin_s390_vuplg((__vector
signed long long)
__a));
2642 return (__vector
unsigned __int128)__builtin_s390_vupllg(
__a);
2650 return (__vector __bool
char)(
__a ==
__b);
2655 return (__vector __bool
char)(
__a ==
__b);
2660 return (__vector __bool
char)(
__a ==
__b);
2665 return (__vector __bool
short)(
__a ==
__b);
2670 return (__vector __bool
short)(
__a ==
__b);
2675 return (__vector __bool
short)(
__a ==
__b);
2680 return (__vector __bool
int)(
__a ==
__b);
2685 return (__vector __bool
int)(
__a ==
__b);
2690 return (__vector __bool
int)(
__a ==
__b);
2694vec_cmpeq(__vector __bool
long long __a, __vector __bool
long long __b) {
2695 return (__vector __bool
long long)(
__a ==
__b);
2699vec_cmpeq(__vector
signed long long __a, __vector
signed long long __b) {
2700 return (__vector __bool
long long)(
__a ==
__b);
2704vec_cmpeq(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2705 return (__vector __bool
long long)(
__a ==
__b);
2709vec_cmpeq(__vector __bool __int128
__a, __vector __bool __int128
__b) {
2710 return (__vector __bool __int128)(
__a ==
__b);
2714vec_cmpeq(__vector
signed __int128
__a, __vector
signed __int128
__b) {
2715 return (__vector __bool __int128)(
__a ==
__b);
2719vec_cmpeq(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
2720 return (__vector __bool __int128)(
__a ==
__b);
2726 return (__vector __bool
int)(
__a ==
__b);
2732 return (__vector __bool
long long)(
__a ==
__b);
2739 return (__vector __bool
char)(
__a >=
__b);
2744 return (__vector __bool
char)(
__a >=
__b);
2749 return (__vector __bool
short)(
__a >=
__b);
2754 return (__vector __bool
short)(
__a >=
__b);
2759 return (__vector __bool
int)(
__a >=
__b);
2764 return (__vector __bool
int)(
__a >=
__b);
2768vec_cmpge(__vector
signed long long __a, __vector
signed long long __b) {
2769 return (__vector __bool
long long)(
__a >=
__b);
2773vec_cmpge(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2774 return (__vector __bool
long long)(
__a >=
__b);
2778vec_cmpge(__vector
signed __int128
__a, __vector
signed __int128
__b) {
2779 return (__vector __bool __int128)(
__a >=
__b);
2783vec_cmpge(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
2784 return (__vector __bool __int128)(
__a >=
__b);
2790 return (__vector __bool
int)(
__a >=
__b);
2796 return (__vector __bool
long long)(
__a >=
__b);
2803 return (__vector __bool
char)(
__a >
__b);
2808 return (__vector __bool
char)(
__a >
__b);
2813 return (__vector __bool
short)(
__a >
__b);
2818 return (__vector __bool
short)(
__a >
__b);
2823 return (__vector __bool
int)(
__a >
__b);
2828 return (__vector __bool
int)(
__a >
__b);
2832vec_cmpgt(__vector
signed long long __a, __vector
signed long long __b) {
2833 return (__vector __bool
long long)(
__a >
__b);
2837vec_cmpgt(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2838 return (__vector __bool
long long)(
__a >
__b);
2842vec_cmpgt(__vector
signed __int128
__a, __vector
signed __int128
__b) {
2843 return (__vector __bool __int128)(
__a >
__b);
2847vec_cmpgt(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
2848 return (__vector __bool __int128)(
__a >
__b);
2854 return (__vector __bool
int)(
__a >
__b);
2860 return (__vector __bool
long long)(
__a >
__b);
2867 return (__vector __bool
char)(
__a <=
__b);
2872 return (__vector __bool
char)(
__a <=
__b);
2877 return (__vector __bool
short)(
__a <=
__b);
2882 return (__vector __bool
short)(
__a <=
__b);
2887 return (__vector __bool
int)(
__a <=
__b);
2892 return (__vector __bool
int)(
__a <=
__b);
2896vec_cmple(__vector
signed long long __a, __vector
signed long long __b) {
2897 return (__vector __bool
long long)(
__a <=
__b);
2901vec_cmple(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2902 return (__vector __bool
long long)(
__a <=
__b);
2906vec_cmple(__vector
signed __int128
__a, __vector
signed __int128
__b) {
2907 return (__vector __bool __int128)(
__a <=
__b);
2911vec_cmple(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
2912 return (__vector __bool __int128)(
__a <=
__b);
2918 return (__vector __bool
int)(
__a <=
__b);
2924 return (__vector __bool
long long)(
__a <=
__b);
2931 return (__vector __bool
char)(
__a <
__b);
2936 return (__vector __bool
char)(
__a <
__b);
2941 return (__vector __bool
short)(
__a <
__b);
2946 return (__vector __bool
short)(
__a <
__b);
2951 return (__vector __bool
int)(
__a <
__b);
2956 return (__vector __bool
int)(
__a <
__b);
2960vec_cmplt(__vector
signed long long __a, __vector
signed long long __b) {
2961 return (__vector __bool
long long)(
__a <
__b);
2965vec_cmplt(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2966 return (__vector __bool
long long)(
__a <
__b);
2970vec_cmplt(__vector
signed __int128
__a, __vector
signed __int128
__b) {
2971 return (__vector __bool __int128)(
__a <
__b);
2975vec_cmplt(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
2976 return (__vector __bool __int128)(
__a <
__b);
2982 return (__vector __bool
int)(
__a <
__b);
2988 return (__vector __bool
long long)(
__a <
__b);
2996 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
2997 (__vector
unsigned char)
__b, &__cc);
3005 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
3006 (__vector
unsigned char)
__b, &__cc);
3014 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
3015 (__vector
unsigned char)
__b, &__cc);
3022 __builtin_s390_vceqbs(
__a,
__b, &__cc);
3030 __builtin_s390_vceqbs(
__a, (__vector
unsigned char)
__b, &__cc);
3038 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
__b, &__cc);
3045 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
3046 (__vector
unsigned char)
__b, &__cc);
3053 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
3054 (__vector
unsigned short)
__b, &__cc);
3062 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
3063 (__vector
unsigned short)
__b, &__cc);
3071 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
3072 (__vector
unsigned short)
__b, &__cc);
3079 __builtin_s390_vceqhs(
__a,
__b, &__cc);
3087 __builtin_s390_vceqhs(
__a, (__vector
unsigned short)
__b, &__cc);
3095 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
__b, &__cc);
3102 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
3103 (__vector
unsigned short)
__b, &__cc);
3110 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
3111 (__vector
unsigned int)
__b, &__cc);
3119 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
3120 (__vector
unsigned int)
__b, &__cc);
3128 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
3129 (__vector
unsigned int)
__b, &__cc);
3136 __builtin_s390_vceqfs(
__a,
__b, &__cc);
3144 __builtin_s390_vceqfs(
__a, (__vector
unsigned int)
__b, &__cc);
3152 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
__b, &__cc);
3159 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
3160 (__vector
unsigned int)
__b, &__cc);
3167 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
3168 (__vector
unsigned long long)
__b, &__cc);
3176 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
3177 (__vector
unsigned long long)
__b, &__cc);
3185 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
3186 (__vector
unsigned long long)
__b, &__cc);
3191vec_all_eq(__vector
unsigned long long __a, __vector
unsigned long long __b) {
3193 __builtin_s390_vceqgs(
__a,
__b, &__cc);
3199vec_all_eq(__vector
unsigned long long __a, __vector __bool
long long __b) {
3201 __builtin_s390_vceqgs(
__a, (__vector
unsigned long long)
__b, &__cc);
3207vec_all_eq(__vector __bool
long long __a, __vector
unsigned long long __b) {
3209 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
__b, &__cc);
3216 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
3217 (__vector
unsigned long long)
__b, &__cc);
3225 __builtin_s390_vceqqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
3230vec_all_eq(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
3232 __builtin_s390_vceqqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
3239 __builtin_s390_vceqqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
3248 __builtin_s390_vfcesbs(
__a,
__b, &__cc);
3256 __builtin_s390_vfcedbs(
__a,
__b, &__cc);
3265 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
3266 (__vector
unsigned char)
__b, &__cc);
3274 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
3275 (__vector
unsigned char)
__b, &__cc);
3283 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
3284 (__vector
unsigned char)
__b, &__cc);
3291 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
3292 (__vector
unsigned char)
__b, &__cc);
3300 __builtin_s390_vceqbs(
__a, (__vector
unsigned char)
__b, &__cc);
3308 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
__b, &__cc);
3315 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
3316 (__vector
unsigned char)
__b, &__cc);
3323 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
3324 (__vector
unsigned short)
__b, &__cc);
3332 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
3333 (__vector
unsigned short)
__b, &__cc);
3341 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
3342 (__vector
unsigned short)
__b, &__cc);
3349 __builtin_s390_vceqhs(
__a,
__b, &__cc);
3357 __builtin_s390_vceqhs(
__a, (__vector
unsigned short)
__b, &__cc);
3365 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
__b, &__cc);
3372 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
3373 (__vector
unsigned short)
__b, &__cc);
3380 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
3381 (__vector
unsigned int)
__b, &__cc);
3389 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
3390 (__vector
unsigned int)
__b, &__cc);
3398 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
3399 (__vector
unsigned int)
__b, &__cc);
3406 __builtin_s390_vceqfs(
__a,
__b, &__cc);
3414 __builtin_s390_vceqfs(
__a, (__vector
unsigned int)
__b, &__cc);
3422 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
__b, &__cc);
3429 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
3430 (__vector
unsigned int)
__b, &__cc);
3437 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
3438 (__vector
unsigned long long)
__b, &__cc);
3446 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
3447 (__vector
unsigned long long)
__b, &__cc);
3455 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
3456 (__vector
unsigned long long)
__b, &__cc);
3461vec_all_ne(__vector
unsigned long long __a, __vector
unsigned long long __b) {
3463 __builtin_s390_vceqgs(
__a,
__b, &__cc);
3469vec_all_ne(__vector
unsigned long long __a, __vector __bool
long long __b) {
3471 __builtin_s390_vceqgs(
__a, (__vector
unsigned long long)
__b, &__cc);
3477vec_all_ne(__vector __bool
long long __a, __vector
unsigned long long __b) {
3479 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
__b, &__cc);
3486 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
3487 (__vector
unsigned long long)
__b, &__cc);
3495 __builtin_s390_vceqqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
3500vec_all_ne(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
3502 __builtin_s390_vceqqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
3509 __builtin_s390_vceqqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
3518 __builtin_s390_vfcesbs(
__a,
__b, &__cc);
3526 __builtin_s390_vfcedbs(
__a,
__b, &__cc);
3535 __builtin_s390_vchbs(
__b,
__a, &__cc);
3543 __builtin_s390_vchbs((__vector
signed char)
__b,
__a, &__cc);
3551 __builtin_s390_vchbs(
__b, (__vector
signed char)
__a, &__cc);
3558 __builtin_s390_vchlbs(
__b,
__a, &__cc);
3566 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
__a, &__cc);
3574 __builtin_s390_vchlbs(
__b, (__vector
unsigned char)
__a, &__cc);
3582 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
3583 (__vector
unsigned char)
__a, &__cc);
3590 __builtin_s390_vchhs(
__b,
__a, &__cc);
3598 __builtin_s390_vchhs((__vector
signed short)
__b,
__a, &__cc);
3606 __builtin_s390_vchhs(
__b, (__vector
signed short)
__a, &__cc);
3613 __builtin_s390_vchlhs(
__b,
__a, &__cc);
3621 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
__a, &__cc);
3629 __builtin_s390_vchlhs(
__b, (__vector
unsigned short)
__a, &__cc);
3637 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
3638 (__vector
unsigned short)
__a, &__cc);
3645 __builtin_s390_vchfs(
__b,
__a, &__cc);
3653 __builtin_s390_vchfs((__vector
signed int)
__b,
__a, &__cc);
3661 __builtin_s390_vchfs(
__b, (__vector
signed int)
__a, &__cc);
3668 __builtin_s390_vchlfs(
__b,
__a, &__cc);
3676 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
__a, &__cc);
3684 __builtin_s390_vchlfs(
__b, (__vector
unsigned int)
__a, &__cc);
3692 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
3693 (__vector
unsigned int)
__a, &__cc);
3700 __builtin_s390_vchgs(
__b,
__a, &__cc);
3708 __builtin_s390_vchgs((__vector
signed long long)
__b,
__a, &__cc);
3716 __builtin_s390_vchgs(
__b, (__vector
signed long long)
__a, &__cc);
3721vec_all_ge(__vector
unsigned long long __a, __vector
unsigned long long __b) {
3723 __builtin_s390_vchlgs(
__b,
__a, &__cc);
3729vec_all_ge(__vector
unsigned long long __a, __vector __bool
long long __b) {
3731 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
__a, &__cc);
3737vec_all_ge(__vector __bool
long long __a, __vector
unsigned long long __b) {
3739 __builtin_s390_vchlgs(
__b, (__vector
unsigned long long)
__a, &__cc);
3747 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
3748 (__vector
unsigned long long)
__a, &__cc);
3756 __builtin_s390_vchqs((
signed __int128)
__b, (
signed __int128)
__a, &__cc);
3761vec_all_ge(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
3763 __builtin_s390_vchlqs((
unsigned __int128)
__b, (
unsigned __int128)
__a, &__cc);
3772 __builtin_s390_vfchesbs(
__a,
__b, &__cc);
3780 __builtin_s390_vfchedbs(
__a,
__b, &__cc);
3789 __builtin_s390_vchbs(
__a,
__b, &__cc);
3797 __builtin_s390_vchbs(
__a, (__vector
signed char)
__b, &__cc);
3805 __builtin_s390_vchbs((__vector
signed char)
__a,
__b, &__cc);
3812 __builtin_s390_vchlbs(
__a,
__b, &__cc);
3820 __builtin_s390_vchlbs(
__a, (__vector
unsigned char)
__b, &__cc);
3828 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
__b, &__cc);
3836 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
3837 (__vector
unsigned char)
__b, &__cc);
3844 __builtin_s390_vchhs(
__a,
__b, &__cc);
3852 __builtin_s390_vchhs(
__a, (__vector
signed short)
__b, &__cc);
3860 __builtin_s390_vchhs((__vector
signed short)
__a,
__b, &__cc);
3867 __builtin_s390_vchlhs(
__a,
__b, &__cc);
3875 __builtin_s390_vchlhs(
__a, (__vector
unsigned short)
__b, &__cc);
3883 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
__b, &__cc);
3891 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
3892 (__vector
unsigned short)
__b, &__cc);
3899 __builtin_s390_vchfs(
__a,
__b, &__cc);
3907 __builtin_s390_vchfs(
__a, (__vector
signed int)
__b, &__cc);
3915 __builtin_s390_vchfs((__vector
signed int)
__a,
__b, &__cc);
3922 __builtin_s390_vchlfs(
__a,
__b, &__cc);
3930 __builtin_s390_vchlfs(
__a, (__vector
unsigned int)
__b, &__cc);
3938 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
__b, &__cc);
3946 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
3947 (__vector
unsigned int)
__b, &__cc);
3954 __builtin_s390_vchgs(
__a,
__b, &__cc);
3962 __builtin_s390_vchgs(
__a, (__vector
signed long long)
__b, &__cc);
3970 __builtin_s390_vchgs((__vector
signed long long)
__a,
__b, &__cc);
3975vec_all_gt(__vector
unsigned long long __a, __vector
unsigned long long __b) {
3977 __builtin_s390_vchlgs(
__a,
__b, &__cc);
3983vec_all_gt(__vector
unsigned long long __a, __vector __bool
long long __b) {
3985 __builtin_s390_vchlgs(
__a, (__vector
unsigned long long)
__b, &__cc);
3991vec_all_gt(__vector __bool
long long __a, __vector
unsigned long long __b) {
3993 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
__b, &__cc);
4001 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
4002 (__vector
unsigned long long)
__b, &__cc);
4010 __builtin_s390_vchqs((
signed __int128)
__a, (
signed __int128)
__b, &__cc);
4015vec_all_gt(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
4017 __builtin_s390_vchlqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
4026 __builtin_s390_vfchsbs(
__a,
__b, &__cc);
4034 __builtin_s390_vfchdbs(
__a,
__b, &__cc);
4043 __builtin_s390_vchbs(
__a,
__b, &__cc);
4051 __builtin_s390_vchbs(
__a, (__vector
signed char)
__b, &__cc);
4059 __builtin_s390_vchbs((__vector
signed char)
__a,
__b, &__cc);
4066 __builtin_s390_vchlbs(
__a,
__b, &__cc);
4074 __builtin_s390_vchlbs(
__a, (__vector
unsigned char)
__b, &__cc);
4082 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
__b, &__cc);
4090 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
4091 (__vector
unsigned char)
__b, &__cc);
4098 __builtin_s390_vchhs(
__a,
__b, &__cc);
4106 __builtin_s390_vchhs(
__a, (__vector
signed short)
__b, &__cc);
4114 __builtin_s390_vchhs((__vector
signed short)
__a,
__b, &__cc);
4121 __builtin_s390_vchlhs(
__a,
__b, &__cc);
4129 __builtin_s390_vchlhs(
__a, (__vector
unsigned short)
__b, &__cc);
4137 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
__b, &__cc);
4145 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
4146 (__vector
unsigned short)
__b, &__cc);
4153 __builtin_s390_vchfs(
__a,
__b, &__cc);
4161 __builtin_s390_vchfs(
__a, (__vector
signed int)
__b, &__cc);
4169 __builtin_s390_vchfs((__vector
signed int)
__a,
__b, &__cc);
4176 __builtin_s390_vchlfs(
__a,
__b, &__cc);
4184 __builtin_s390_vchlfs(
__a, (__vector
unsigned int)
__b, &__cc);
4192 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
__b, &__cc);
4200 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
4201 (__vector
unsigned int)
__b, &__cc);
4208 __builtin_s390_vchgs(
__a,
__b, &__cc);
4216 __builtin_s390_vchgs(
__a, (__vector
signed long long)
__b, &__cc);
4224 __builtin_s390_vchgs((__vector
signed long long)
__a,
__b, &__cc);
4229vec_all_le(__vector
unsigned long long __a, __vector
unsigned long long __b) {
4231 __builtin_s390_vchlgs(
__a,
__b, &__cc);
4237vec_all_le(__vector
unsigned long long __a, __vector __bool
long long __b) {
4239 __builtin_s390_vchlgs(
__a, (__vector
unsigned long long)
__b, &__cc);
4245vec_all_le(__vector __bool
long long __a, __vector
unsigned long long __b) {
4247 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
__b, &__cc);
4255 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
4256 (__vector
unsigned long long)
__b, &__cc);
4264 __builtin_s390_vchqs((
signed __int128)
__a, (
signed __int128)
__b, &__cc);
4269vec_all_le(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
4271 __builtin_s390_vchlqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
4280 __builtin_s390_vfchesbs(
__b,
__a, &__cc);
4288 __builtin_s390_vfchedbs(
__b,
__a, &__cc);
4297 __builtin_s390_vchbs(
__b,
__a, &__cc);
4305 __builtin_s390_vchbs((__vector
signed char)
__b,
__a, &__cc);
4313 __builtin_s390_vchbs(
__b, (__vector
signed char)
__a, &__cc);
4320 __builtin_s390_vchlbs(
__b,
__a, &__cc);
4328 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
__a, &__cc);
4336 __builtin_s390_vchlbs(
__b, (__vector
unsigned char)
__a, &__cc);
4344 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
4345 (__vector
unsigned char)
__a, &__cc);
4352 __builtin_s390_vchhs(
__b,
__a, &__cc);
4360 __builtin_s390_vchhs((__vector
signed short)
__b,
__a, &__cc);
4368 __builtin_s390_vchhs(
__b, (__vector
signed short)
__a, &__cc);
4375 __builtin_s390_vchlhs(
__b,
__a, &__cc);
4383 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
__a, &__cc);
4391 __builtin_s390_vchlhs(
__b, (__vector
unsigned short)
__a, &__cc);
4399 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
4400 (__vector
unsigned short)
__a, &__cc);
4407 __builtin_s390_vchfs(
__b,
__a, &__cc);
4415 __builtin_s390_vchfs((__vector
signed int)
__b,
__a, &__cc);
4423 __builtin_s390_vchfs(
__b, (__vector
signed int)
__a, &__cc);
4430 __builtin_s390_vchlfs(
__b,
__a, &__cc);
4438 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
__a, &__cc);
4446 __builtin_s390_vchlfs(
__b, (__vector
unsigned int)
__a, &__cc);
4454 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
4455 (__vector
unsigned int)
__a, &__cc);
4462 __builtin_s390_vchgs(
__b,
__a, &__cc);
4470 __builtin_s390_vchgs((__vector
signed long long)
__b,
__a, &__cc);
4478 __builtin_s390_vchgs(
__b, (__vector
signed long long)
__a, &__cc);
4483vec_all_lt(__vector
unsigned long long __a, __vector
unsigned long long __b) {
4485 __builtin_s390_vchlgs(
__b,
__a, &__cc);
4491vec_all_lt(__vector
unsigned long long __a, __vector __bool
long long __b) {
4493 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
__a, &__cc);
4499vec_all_lt(__vector __bool
long long __a, __vector
unsigned long long __b) {
4501 __builtin_s390_vchlgs(
__b, (__vector
unsigned long long)
__a, &__cc);
4509 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
4510 (__vector
unsigned long long)
__a, &__cc);
4518 __builtin_s390_vchqs((
signed __int128)
__b, (
signed __int128)
__a, &__cc);
4523vec_all_lt(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
4525 __builtin_s390_vchlqs((
unsigned __int128)
__b, (
unsigned __int128)
__a, &__cc);
4534 __builtin_s390_vfchsbs(
__b,
__a, &__cc);
4542 __builtin_s390_vfchdbs(
__b,
__a, &__cc);
4552 __builtin_s390_vfchesbs(
__a,
__b, &__cc);
4560 __builtin_s390_vfchedbs(
__a,
__b, &__cc);
4570 __builtin_s390_vfchsbs(
__a,
__b, &__cc);
4578 __builtin_s390_vfchdbs(
__a,
__b, &__cc);
4588 __builtin_s390_vfchesbs(
__b,
__a, &__cc);
4596 __builtin_s390_vfchedbs(
__b,
__a, &__cc);
4606 __builtin_s390_vfchsbs(
__b,
__a, &__cc);
4614 __builtin_s390_vfchdbs(
__b,
__a, &__cc);
4624 __builtin_s390_vftcisb(
__a, 15, &__cc);
4632 __builtin_s390_vftcidb(
__a, 15, &__cc);
4642 __builtin_s390_vftcisb(
__a, 15, &__cc);
4650 __builtin_s390_vftcidb(
__a, 15, &__cc);
4659 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
4660 (__vector
unsigned char)
__b, &__cc);
4668 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
4669 (__vector
unsigned char)
__b, &__cc);
4677 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
4678 (__vector
unsigned char)
__b, &__cc);
4685 __builtin_s390_vceqbs(
__a,
__b, &__cc);
4693 __builtin_s390_vceqbs(
__a, (__vector
unsigned char)
__b, &__cc);
4701 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
__b, &__cc);
4708 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
4709 (__vector
unsigned char)
__b, &__cc);
4716 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
4717 (__vector
unsigned short)
__b, &__cc);
4725 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
4726 (__vector
unsigned short)
__b, &__cc);
4734 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
4735 (__vector
unsigned short)
__b, &__cc);
4742 __builtin_s390_vceqhs(
__a,
__b, &__cc);
4750 __builtin_s390_vceqhs(
__a, (__vector
unsigned short)
__b, &__cc);
4758 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
__b, &__cc);
4765 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
4766 (__vector
unsigned short)
__b, &__cc);
4773 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
4774 (__vector
unsigned int)
__b, &__cc);
4782 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
4783 (__vector
unsigned int)
__b, &__cc);
4791 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
4792 (__vector
unsigned int)
__b, &__cc);
4799 __builtin_s390_vceqfs(
__a,
__b, &__cc);
4807 __builtin_s390_vceqfs(
__a, (__vector
unsigned int)
__b, &__cc);
4815 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
__b, &__cc);
4822 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
4823 (__vector
unsigned int)
__b, &__cc);
4830 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
4831 (__vector
unsigned long long)
__b, &__cc);
4839 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
4840 (__vector
unsigned long long)
__b, &__cc);
4848 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
4849 (__vector
unsigned long long)
__b, &__cc);
4854vec_any_eq(__vector
unsigned long long __a, __vector
unsigned long long __b) {
4856 __builtin_s390_vceqgs(
__a,
__b, &__cc);
4862vec_any_eq(__vector
unsigned long long __a, __vector __bool
long long __b) {
4864 __builtin_s390_vceqgs(
__a, (__vector
unsigned long long)
__b, &__cc);
4870vec_any_eq(__vector __bool
long long __a, __vector
unsigned long long __b) {
4872 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
__b, &__cc);
4879 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
4880 (__vector
unsigned long long)
__b, &__cc);
4888 __builtin_s390_vceqqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
4893vec_any_eq(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
4895 __builtin_s390_vceqqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
4902 __builtin_s390_vceqqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
4911 __builtin_s390_vfcesbs(
__a,
__b, &__cc);
4919 __builtin_s390_vfcedbs(
__a,
__b, &__cc);
4928 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
4929 (__vector
unsigned char)
__b, &__cc);
4937 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
4938 (__vector
unsigned char)
__b, &__cc);
4946 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
4947 (__vector
unsigned char)
__b, &__cc);
4954 __builtin_s390_vceqbs(
__a,
__b, &__cc);
4962 __builtin_s390_vceqbs(
__a, (__vector
unsigned char)
__b, &__cc);
4970 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
__b, &__cc);
4977 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
4978 (__vector
unsigned char)
__b, &__cc);
4985 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
4986 (__vector
unsigned short)
__b, &__cc);
4994 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
4995 (__vector
unsigned short)
__b, &__cc);
5003 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
5004 (__vector
unsigned short)
__b, &__cc);
5011 __builtin_s390_vceqhs(
__a,
__b, &__cc);
5019 __builtin_s390_vceqhs(
__a, (__vector
unsigned short)
__b, &__cc);
5027 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
__b, &__cc);
5034 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
5035 (__vector
unsigned short)
__b, &__cc);
5042 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
5043 (__vector
unsigned int)
__b, &__cc);
5051 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
5052 (__vector
unsigned int)
__b, &__cc);
5060 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
5061 (__vector
unsigned int)
__b, &__cc);
5068 __builtin_s390_vceqfs(
__a,
__b, &__cc);
5076 __builtin_s390_vceqfs(
__a, (__vector
unsigned int)
__b, &__cc);
5084 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
__b, &__cc);
5091 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
5092 (__vector
unsigned int)
__b, &__cc);
5099 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
5100 (__vector
unsigned long long)
__b, &__cc);
5108 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
5109 (__vector
unsigned long long)
__b, &__cc);
5117 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
5118 (__vector
unsigned long long)
__b, &__cc);
5123vec_any_ne(__vector
unsigned long long __a, __vector
unsigned long long __b) {
5125 __builtin_s390_vceqgs(
__a,
__b, &__cc);
5131vec_any_ne(__vector
unsigned long long __a, __vector __bool
long long __b) {
5133 __builtin_s390_vceqgs(
__a, (__vector
unsigned long long)
__b, &__cc);
5139vec_any_ne(__vector __bool
long long __a, __vector
unsigned long long __b) {
5141 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
__b, &__cc);
5148 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
5149 (__vector
unsigned long long)
__b, &__cc);
5157 __builtin_s390_vceqqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
5162vec_any_ne(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
5164 __builtin_s390_vceqqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
5171 __builtin_s390_vceqqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
5180 __builtin_s390_vfcesbs(
__a,
__b, &__cc);
5188 __builtin_s390_vfcedbs(
__a,
__b, &__cc);
5197 __builtin_s390_vchbs(
__b,
__a, &__cc);
5205 __builtin_s390_vchbs((__vector
signed char)
__b,
__a, &__cc);
5213 __builtin_s390_vchbs(
__b, (__vector
signed char)
__a, &__cc);
5220 __builtin_s390_vchlbs(
__b,
__a, &__cc);
5228 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
__a, &__cc);
5236 __builtin_s390_vchlbs(
__b, (__vector
unsigned char)
__a, &__cc);
5244 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
5245 (__vector
unsigned char)
__a, &__cc);
5252 __builtin_s390_vchhs(
__b,
__a, &__cc);
5260 __builtin_s390_vchhs((__vector
signed short)
__b,
__a, &__cc);
5268 __builtin_s390_vchhs(
__b, (__vector
signed short)
__a, &__cc);
5275 __builtin_s390_vchlhs(
__b,
__a, &__cc);
5283 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
__a, &__cc);
5291 __builtin_s390_vchlhs(
__b, (__vector
unsigned short)
__a, &__cc);
5299 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
5300 (__vector
unsigned short)
__a, &__cc);
5307 __builtin_s390_vchfs(
__b,
__a, &__cc);
5315 __builtin_s390_vchfs((__vector
signed int)
__b,
__a, &__cc);
5323 __builtin_s390_vchfs(
__b, (__vector
signed int)
__a, &__cc);
5330 __builtin_s390_vchlfs(
__b,
__a, &__cc);
5338 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
__a, &__cc);
5346 __builtin_s390_vchlfs(
__b, (__vector
unsigned int)
__a, &__cc);
5354 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
5355 (__vector
unsigned int)
__a, &__cc);
5362 __builtin_s390_vchgs(
__b,
__a, &__cc);
5370 __builtin_s390_vchgs((__vector
signed long long)
__b,
__a, &__cc);
5378 __builtin_s390_vchgs(
__b, (__vector
signed long long)
__a, &__cc);
5383vec_any_ge(__vector
unsigned long long __a, __vector
unsigned long long __b) {
5385 __builtin_s390_vchlgs(
__b,
__a, &__cc);
5391vec_any_ge(__vector
unsigned long long __a, __vector __bool
long long __b) {
5393 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
__a, &__cc);
5399vec_any_ge(__vector __bool
long long __a, __vector
unsigned long long __b) {
5401 __builtin_s390_vchlgs(
__b, (__vector
unsigned long long)
__a, &__cc);
5409 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
5410 (__vector
unsigned long long)
__a, &__cc);
5418 __builtin_s390_vchqs((
signed __int128)
__b, (
signed __int128)
__a, &__cc);
5423vec_any_ge(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
5425 __builtin_s390_vchlqs((
unsigned __int128)
__b, (
unsigned __int128)
__a, &__cc);
5434 __builtin_s390_vfchesbs(
__a,
__b, &__cc);
5442 __builtin_s390_vfchedbs(
__a,
__b, &__cc);
5451 __builtin_s390_vchbs(
__a,
__b, &__cc);
5459 __builtin_s390_vchbs(
__a, (__vector
signed char)
__b, &__cc);
5467 __builtin_s390_vchbs((__vector
signed char)
__a,
__b, &__cc);
5474 __builtin_s390_vchlbs(
__a,
__b, &__cc);
5482 __builtin_s390_vchlbs(
__a, (__vector
unsigned char)
__b, &__cc);
5490 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
__b, &__cc);
5498 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
5499 (__vector
unsigned char)
__b, &__cc);
5506 __builtin_s390_vchhs(
__a,
__b, &__cc);
5514 __builtin_s390_vchhs(
__a, (__vector
signed short)
__b, &__cc);
5522 __builtin_s390_vchhs((__vector
signed short)
__a,
__b, &__cc);
5529 __builtin_s390_vchlhs(
__a,
__b, &__cc);
5537 __builtin_s390_vchlhs(
__a, (__vector
unsigned short)
__b, &__cc);
5545 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
__b, &__cc);
5553 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
5554 (__vector
unsigned short)
__b, &__cc);
5561 __builtin_s390_vchfs(
__a,
__b, &__cc);
5569 __builtin_s390_vchfs(
__a, (__vector
signed int)
__b, &__cc);
5577 __builtin_s390_vchfs((__vector
signed int)
__a,
__b, &__cc);
5584 __builtin_s390_vchlfs(
__a,
__b, &__cc);
5592 __builtin_s390_vchlfs(
__a, (__vector
unsigned int)
__b, &__cc);
5600 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
__b, &__cc);
5608 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
5609 (__vector
unsigned int)
__b, &__cc);
5616 __builtin_s390_vchgs(
__a,
__b, &__cc);
5624 __builtin_s390_vchgs(
__a, (__vector
signed long long)
__b, &__cc);
5632 __builtin_s390_vchgs((__vector
signed long long)
__a,
__b, &__cc);
5637vec_any_gt(__vector
unsigned long long __a, __vector
unsigned long long __b) {
5639 __builtin_s390_vchlgs(
__a,
__b, &__cc);
5645vec_any_gt(__vector
unsigned long long __a, __vector __bool
long long __b) {
5647 __builtin_s390_vchlgs(
__a, (__vector
unsigned long long)
__b, &__cc);
5653vec_any_gt(__vector __bool
long long __a, __vector
unsigned long long __b) {
5655 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
__b, &__cc);
5663 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
5664 (__vector
unsigned long long)
__b, &__cc);
5672 __builtin_s390_vchqs((
signed __int128)
__a, (
signed __int128)
__b, &__cc);
5677vec_any_gt(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
5679 __builtin_s390_vchlqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
5688 __builtin_s390_vfchsbs(
__a,
__b, &__cc);
5696 __builtin_s390_vfchdbs(
__a,
__b, &__cc);
5705 __builtin_s390_vchbs(
__a,
__b, &__cc);
5713 __builtin_s390_vchbs(
__a, (__vector
signed char)
__b, &__cc);
5721 __builtin_s390_vchbs((__vector
signed char)
__a,
__b, &__cc);
5728 __builtin_s390_vchlbs(
__a,
__b, &__cc);
5736 __builtin_s390_vchlbs(
__a, (__vector
unsigned char)
__b, &__cc);
5744 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
__b, &__cc);
5752 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
5753 (__vector
unsigned char)
__b, &__cc);
5760 __builtin_s390_vchhs(
__a,
__b, &__cc);
5768 __builtin_s390_vchhs(
__a, (__vector
signed short)
__b, &__cc);
5776 __builtin_s390_vchhs((__vector
signed short)
__a,
__b, &__cc);
5783 __builtin_s390_vchlhs(
__a,
__b, &__cc);
5791 __builtin_s390_vchlhs(
__a, (__vector
unsigned short)
__b, &__cc);
5799 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
__b, &__cc);
5807 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
5808 (__vector
unsigned short)
__b, &__cc);
5815 __builtin_s390_vchfs(
__a,
__b, &__cc);
5823 __builtin_s390_vchfs(
__a, (__vector
signed int)
__b, &__cc);
5831 __builtin_s390_vchfs((__vector
signed int)
__a,
__b, &__cc);
5838 __builtin_s390_vchlfs(
__a,
__b, &__cc);
5846 __builtin_s390_vchlfs(
__a, (__vector
unsigned int)
__b, &__cc);
5854 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
__b, &__cc);
5862 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
5863 (__vector
unsigned int)
__b, &__cc);
5870 __builtin_s390_vchgs(
__a,
__b, &__cc);
5878 __builtin_s390_vchgs(
__a, (__vector
signed long long)
__b, &__cc);
5886 __builtin_s390_vchgs((__vector
signed long long)
__a,
__b, &__cc);
5891vec_any_le(__vector
unsigned long long __a, __vector
unsigned long long __b) {
5893 __builtin_s390_vchlgs(
__a,
__b, &__cc);
5899vec_any_le(__vector
unsigned long long __a, __vector __bool
long long __b) {
5901 __builtin_s390_vchlgs(
__a, (__vector
unsigned long long)
__b, &__cc);
5907vec_any_le(__vector __bool
long long __a, __vector
unsigned long long __b) {
5909 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
__b, &__cc);
5917 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
5918 (__vector
unsigned long long)
__b, &__cc);
5926 __builtin_s390_vchqs((
signed __int128)
__a, (
signed __int128)
__b, &__cc);
5931vec_any_le(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
5933 __builtin_s390_vchlqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
5942 __builtin_s390_vfchesbs(
__b,
__a, &__cc);
5950 __builtin_s390_vfchedbs(
__b,
__a, &__cc);
5959 __builtin_s390_vchbs(
__b,
__a, &__cc);
5967 __builtin_s390_vchbs((__vector
signed char)
__b,
__a, &__cc);
5975 __builtin_s390_vchbs(
__b, (__vector
signed char)
__a, &__cc);
5982 __builtin_s390_vchlbs(
__b,
__a, &__cc);
5990 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
__a, &__cc);
5998 __builtin_s390_vchlbs(
__b, (__vector
unsigned char)
__a, &__cc);
6006 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
6007 (__vector
unsigned char)
__a, &__cc);
6014 __builtin_s390_vchhs(
__b,
__a, &__cc);
6022 __builtin_s390_vchhs((__vector
signed short)
__b,
__a, &__cc);
6030 __builtin_s390_vchhs(
__b, (__vector
signed short)
__a, &__cc);
6037 __builtin_s390_vchlhs(
__b,
__a, &__cc);
6045 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
__a, &__cc);
6053 __builtin_s390_vchlhs(
__b, (__vector
unsigned short)
__a, &__cc);
6061 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
6062 (__vector
unsigned short)
__a, &__cc);
6069 __builtin_s390_vchfs(
__b,
__a, &__cc);
6077 __builtin_s390_vchfs((__vector
signed int)
__b,
__a, &__cc);
6085 __builtin_s390_vchfs(
__b, (__vector
signed int)
__a, &__cc);
6092 __builtin_s390_vchlfs(
__b,
__a, &__cc);
6100 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
__a, &__cc);
6108 __builtin_s390_vchlfs(
__b, (__vector
unsigned int)
__a, &__cc);
6116 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
6117 (__vector
unsigned int)
__a, &__cc);
6124 __builtin_s390_vchgs(
__b,
__a, &__cc);
6132 __builtin_s390_vchgs((__vector
signed long long)
__b,
__a, &__cc);
6140 __builtin_s390_vchgs(
__b, (__vector
signed long long)
__a, &__cc);
6145vec_any_lt(__vector
unsigned long long __a, __vector
unsigned long long __b) {
6147 __builtin_s390_vchlgs(
__b,
__a, &__cc);
6153vec_any_lt(__vector
unsigned long long __a, __vector __bool
long long __b) {
6155 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
__a, &__cc);
6161vec_any_lt(__vector __bool
long long __a, __vector
unsigned long long __b) {
6163 __builtin_s390_vchlgs(
__b, (__vector
unsigned long long)
__a, &__cc);
6171 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
6172 (__vector
unsigned long long)
__a, &__cc);
6180 __builtin_s390_vchqs((
signed __int128)
__b, (
signed __int128)
__a, &__cc);
6185vec_any_lt(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
6187 __builtin_s390_vchlqs((
unsigned __int128)
__b, (
unsigned __int128)
__a, &__cc);
6196 __builtin_s390_vfchsbs(
__b,
__a, &__cc);
6204 __builtin_s390_vfchdbs(
__b,
__a, &__cc);
6214 __builtin_s390_vfchesbs(
__a,
__b, &__cc);
6222 __builtin_s390_vfchedbs(
__a,
__b, &__cc);
6232 __builtin_s390_vfchsbs(
__a,
__b, &__cc);
6240 __builtin_s390_vfchdbs(
__a,
__b, &__cc);
6250 __builtin_s390_vfchesbs(
__b,
__a, &__cc);
6258 __builtin_s390_vfchedbs(
__b,
__a, &__cc);
6268 __builtin_s390_vfchsbs(
__b,
__a, &__cc);
6276 __builtin_s390_vfchdbs(
__b,
__a, &__cc);
6286 __builtin_s390_vftcisb(
__a, 15, &__cc);
6294 __builtin_s390_vftcidb(
__a, 15, &__cc);
6304 __builtin_s390_vftcisb(
__a, 15, &__cc);
6312 __builtin_s390_vftcidb(
__a, 15, &__cc);
6320vec_blend(__vector
signed char __a, __vector
signed char __b,
6321 __vector
signed char __c) {
6326vec_blend(__vector __bool
char __a, __vector __bool
char __b,
6327 __vector
signed char __c) {
6332vec_blend(__vector
unsigned char __a, __vector
unsigned char __b,
6333 __vector
signed char __c) {
6338vec_blend(__vector
signed short __a, __vector
signed short __b,
6339 __vector
signed short __c) {
6344vec_blend(__vector __bool
short __a, __vector __bool
short __b,
6345 __vector
signed short __c) {
6350vec_blend(__vector
unsigned short __a, __vector
unsigned short __b,
6351 __vector
signed short __c) {
6356vec_blend(__vector
signed int __a, __vector
signed int __b,
6357 __vector
signed int __c) {
6362vec_blend(__vector __bool
int __a, __vector __bool
int __b,
6363 __vector
signed int __c) {
6368vec_blend(__vector
unsigned int __a, __vector
unsigned int __b,
6369 __vector
signed int __c) {
6374vec_blend(__vector
signed long long __a, __vector
signed long long __b,
6375 __vector
signed long long __c) {
6380vec_blend(__vector __bool
long long __a, __vector __bool
long long __b,
6381 __vector
signed long long __c) {
6386vec_blend(__vector
unsigned long long __a, __vector
unsigned long long __b,
6387 __vector
signed long long __c) {
6392vec_blend(__vector
signed __int128
__a, __vector
signed __int128
__b,
6393 __vector
signed __int128
__c) {
6398vec_blend(__vector __bool __int128
__a, __vector __bool __int128
__b,
6399 __vector
signed __int128
__c) {
6404vec_blend(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
6405 __vector
signed __int128
__c) {
6410vec_blend(__vector
float __a, __vector
float __b,
6411 __vector
signed int __c) {
6416vec_blend(__vector
double __a, __vector
double __b,
6417 __vector
signed long long __c) {
6425vec_and(__vector __bool
char __a, __vector __bool
char __b) {
6430vec_and(__vector
signed char __a, __vector
signed char __b) {
6435vec_and(__vector
unsigned char __a, __vector
unsigned char __b) {
6440vec_and(__vector __bool
short __a, __vector __bool
short __b) {
6445vec_and(__vector
signed short __a, __vector
signed short __b) {
6450vec_and(__vector
unsigned short __a, __vector
unsigned short __b) {
6465vec_and(__vector
unsigned int __a, __vector
unsigned int __b) {
6470vec_and(__vector __bool
long long __a, __vector __bool
long long __b) {
6475vec_and(__vector
signed long long __a, __vector
signed long long __b) {
6480vec_and(__vector
unsigned long long __a, __vector
unsigned long long __b) {
6485vec_and(__vector __bool __int128
__a, __vector __bool __int128
__b) {
6490vec_and(__vector
signed __int128
__a, __vector
signed __int128
__b) {
6495vec_and(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
6502 return (__vector
float)((__vector
unsigned int)
__a &
6503 (__vector
unsigned int)
__b);
6509 return (__vector
double)((__vector
unsigned long long)
__a &
6510 (__vector
unsigned long long)
__b);
6516vec_or(__vector __bool
char __a, __vector __bool
char __b) {
6521vec_or(__vector
signed char __a, __vector
signed char __b) {
6526vec_or(__vector
unsigned char __a, __vector
unsigned char __b) {
6531vec_or(__vector __bool
short __a, __vector __bool
short __b) {
6536vec_or(__vector
signed short __a, __vector
signed short __b) {
6541vec_or(__vector
unsigned short __a, __vector
unsigned short __b) {
6546vec_or(__vector __bool
int __a, __vector __bool
int __b) {
6551vec_or(__vector
signed int __a, __vector
signed int __b) {
6556vec_or(__vector
unsigned int __a, __vector
unsigned int __b) {
6561vec_or(__vector __bool
long long __a, __vector __bool
long long __b) {
6566vec_or(__vector
signed long long __a, __vector
signed long long __b) {
6571vec_or(__vector
unsigned long long __a, __vector
unsigned long long __b) {
6576vec_or(__vector __bool __int128
__a, __vector __bool __int128
__b) {
6581vec_or(__vector
signed __int128
__a, __vector
signed __int128
__b) {
6586vec_or(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
6593 return (__vector
float)((__vector
unsigned int)
__a |
6594 (__vector
unsigned int)
__b);
6600 return (__vector
double)((__vector
unsigned long long)
__a |
6601 (__vector
unsigned long long)
__b);
6607vec_xor(__vector __bool
char __a, __vector __bool
char __b) {
6612vec_xor(__vector
signed char __a, __vector
signed char __b) {
6617vec_xor(__vector
unsigned char __a, __vector
unsigned char __b) {
6622vec_xor(__vector __bool
short __a, __vector __bool
short __b) {
6627vec_xor(__vector
signed short __a, __vector
signed short __b) {
6632vec_xor(__vector
unsigned short __a, __vector
unsigned short __b) {
6647vec_xor(__vector
unsigned int __a, __vector
unsigned int __b) {
6652vec_xor(__vector __bool
long long __a, __vector __bool
long long __b) {
6657vec_xor(__vector
signed long long __a, __vector
signed long long __b) {
6662vec_xor(__vector
unsigned long long __a, __vector
unsigned long long __b) {
6667vec_xor(__vector __bool __int128
__a, __vector __bool __int128
__b) {
6672vec_xor(__vector
signed __int128
__a, __vector
signed __int128
__b) {
6677vec_xor(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
6684 return (__vector
float)((__vector
unsigned int)
__a ^
6685 (__vector
unsigned int)
__b);
6691 return (__vector
double)((__vector
unsigned long long)
__a ^
6692 (__vector
unsigned long long)
__b);
6720vec_andc(__vector
unsigned char __a, __vector
unsigned char __b) {
6759vec_andc(__vector
unsigned short __a, __vector
unsigned short __b) {
6765vec_andc(__vector __bool
short __a, __vector
unsigned short __b) {
6771vec_andc(__vector
unsigned short __a, __vector __bool
short __b) {
6815vec_andc(__vector __bool
long long __a, __vector __bool
long long __b) {
6820vec_andc(__vector
signed long long __a, __vector
signed long long __b) {
6826vec_andc(__vector __bool
long long __a, __vector
signed long long __b) {
6832vec_andc(__vector
signed long long __a, __vector __bool
long long __b) {
6837vec_andc(__vector
unsigned long long __a, __vector
unsigned long long __b) {
6843vec_andc(__vector __bool
long long __a, __vector
unsigned long long __b) {
6849vec_andc(__vector
unsigned long long __a, __vector __bool
long long __b) {
6854vec_andc(__vector __bool __int128
__a, __vector __bool __int128
__b) {
6859vec_andc(__vector
signed __int128
__a, __vector
signed __int128
__b) {
6864vec_andc(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
6871 return (__vector
float)((__vector
unsigned int)
__a &
6872 ~(__vector
unsigned int)
__b);
6878 return (__vector
double)((__vector
unsigned long long)
__a &
6879 ~(__vector
unsigned long long)
__b);
6885 return (__vector
double)((__vector
unsigned long long)
__a &
6886 ~(__vector
unsigned long long)
__b);
6892 return (__vector
double)((__vector
unsigned long long)
__a &
6893 ~(__vector
unsigned long long)
__b);
6899vec_nor(__vector __bool
char __a, __vector __bool
char __b) {
6904vec_nor(__vector
signed char __a, __vector
signed char __b) {
6910vec_nor(__vector __bool
char __a, __vector
signed char __b) {
6916vec_nor(__vector
signed char __a, __vector __bool
char __b) {
6921vec_nor(__vector
unsigned char __a, __vector
unsigned char __b) {
6927vec_nor(__vector __bool
char __a, __vector
unsigned char __b) {
6933vec_nor(__vector
unsigned char __a, __vector __bool
char __b) {
6938vec_nor(__vector __bool
short __a, __vector __bool
short __b) {
6943vec_nor(__vector
signed short __a, __vector
signed short __b) {
6949vec_nor(__vector __bool
short __a, __vector
signed short __b) {
6955vec_nor(__vector
signed short __a, __vector __bool
short __b) {
6960vec_nor(__vector
unsigned short __a, __vector
unsigned short __b) {
6966vec_nor(__vector __bool
short __a, __vector
unsigned short __b) {
6972vec_nor(__vector
unsigned short __a, __vector __bool
short __b) {
6999vec_nor(__vector
unsigned int __a, __vector
unsigned int __b) {
7005vec_nor(__vector __bool
int __a, __vector
unsigned int __b) {
7011vec_nor(__vector
unsigned int __a, __vector __bool
int __b) {
7016vec_nor(__vector __bool
long long __a, __vector __bool
long long __b) {
7021vec_nor(__vector
signed long long __a, __vector
signed long long __b) {
7027vec_nor(__vector __bool
long long __a, __vector
signed long long __b) {
7033vec_nor(__vector
signed long long __a, __vector __bool
long long __b) {
7038vec_nor(__vector
unsigned long long __a, __vector
unsigned long long __b) {
7044vec_nor(__vector __bool
long long __a, __vector
unsigned long long __b) {
7050vec_nor(__vector
unsigned long long __a, __vector __bool
long long __b) {
7055vec_nor(__vector __bool __int128
__a, __vector __bool __int128
__b) {
7060vec_nor(__vector
signed __int128
__a, __vector
signed __int128
__b) {
7065vec_nor(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
7072 return (__vector
float)~((__vector
unsigned int)
__a |
7073 (__vector
unsigned int)
__b);
7079 return (__vector
double)~((__vector
unsigned long long)
__a |
7080 (__vector
unsigned long long)
__b);
7085vec_nor(__vector __bool
long long __a, __vector
double __b) {
7086 return (__vector
double)~((__vector
unsigned long long)
__a |
7087 (__vector
unsigned long long)
__b);
7092vec_nor(__vector
double __a, __vector __bool
long long __b) {
7093 return (__vector
double)~((__vector
unsigned long long)
__a |
7094 (__vector
unsigned long long)
__b);
7101vec_orc(__vector __bool
char __a, __vector __bool
char __b) {
7106vec_orc(__vector
signed char __a, __vector
signed char __b) {
7111vec_orc(__vector
unsigned char __a, __vector
unsigned char __b) {
7116vec_orc(__vector __bool
short __a, __vector __bool
short __b) {
7121vec_orc(__vector
signed short __a, __vector
signed short __b) {
7126vec_orc(__vector
unsigned short __a, __vector
unsigned short __b) {
7131vec_orc(__vector __bool
int __a, __vector __bool
int __b) {
7136vec_orc(__vector
signed int __a, __vector
signed int __b) {
7141vec_orc(__vector
unsigned int __a, __vector
unsigned int __b) {
7146vec_orc(__vector __bool
long long __a, __vector __bool
long long __b) {
7151vec_orc(__vector
signed long long __a, __vector
signed long long __b) {
7156vec_orc(__vector
unsigned long long __a, __vector
unsigned long long __b) {
7161vec_orc(__vector __bool __int128
__a, __vector __bool __int128
__b) {
7166vec_orc(__vector
signed __int128
__a, __vector
signed __int128
__b) {
7171vec_orc(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
7176vec_orc(__vector
float __a, __vector
float __b) {
7177 return (__vector
float)((__vector
unsigned int)
__a |
7178 ~(__vector
unsigned int)
__b);
7182vec_orc(__vector
double __a, __vector
double __b) {
7183 return (__vector
double)((__vector
unsigned long long)
__a |
7184 ~(__vector
unsigned long long)
__b);
7192vec_nand(__vector __bool
char __a, __vector __bool
char __b) {
7197vec_nand(__vector
signed char __a, __vector
signed char __b) {
7202vec_nand(__vector
unsigned char __a, __vector
unsigned char __b) {
7207vec_nand(__vector __bool
short __a, __vector __bool
short __b) {
7212vec_nand(__vector
signed short __a, __vector
signed short __b) {
7217vec_nand(__vector
unsigned short __a, __vector
unsigned short __b) {
7222vec_nand(__vector __bool
int __a, __vector __bool
int __b) {
7227vec_nand(__vector
signed int __a, __vector
signed int __b) {
7232vec_nand(__vector
unsigned int __a, __vector
unsigned int __b) {
7237vec_nand(__vector __bool
long long __a, __vector __bool
long long __b) {
7242vec_nand(__vector
signed long long __a, __vector
signed long long __b) {
7247vec_nand(__vector
unsigned long long __a, __vector
unsigned long long __b) {
7252vec_nand(__vector __bool __int128
__a, __vector __bool __int128
__b) {
7257vec_nand(__vector
signed __int128
__a, __vector
signed __int128
__b) {
7262vec_nand(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
7267vec_nand(__vector
float __a, __vector
float __b) {
7268 return (__vector
float)~((__vector
unsigned int)
__a &
7269 (__vector
unsigned int)
__b);
7273vec_nand(__vector
double __a, __vector
double __b) {
7274 return (__vector
double)~((__vector
unsigned long long)
__a &
7275 (__vector
unsigned long long)
__b);
7283vec_eqv(__vector __bool
char __a, __vector __bool
char __b) {
7288vec_eqv(__vector
signed char __a, __vector
signed char __b) {
7293vec_eqv(__vector
unsigned char __a, __vector
unsigned char __b) {
7298vec_eqv(__vector __bool
short __a, __vector __bool
short __b) {
7303vec_eqv(__vector
signed short __a, __vector
signed short __b) {
7308vec_eqv(__vector
unsigned short __a, __vector
unsigned short __b) {
7313vec_eqv(__vector __bool
int __a, __vector __bool
int __b) {
7318vec_eqv(__vector
signed int __a, __vector
signed int __b) {
7323vec_eqv(__vector
unsigned int __a, __vector
unsigned int __b) {
7328vec_eqv(__vector __bool
long long __a, __vector __bool
long long __b) {
7333vec_eqv(__vector
signed long long __a, __vector
signed long long __b) {
7338vec_eqv(__vector
unsigned long long __a, __vector
unsigned long long __b) {
7343vec_eqv(__vector __bool __int128
__a, __vector __bool __int128
__b) {
7348vec_eqv(__vector
signed __int128
__a, __vector
signed __int128
__b) {
7353vec_eqv(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
7358vec_eqv(__vector
float __a, __vector
float __b) {
7359 return (__vector
float)~((__vector
unsigned int)
__a ^
7360 (__vector
unsigned int)
__b);
7364vec_eqv(__vector
double __a, __vector
double __b) {
7365 return (__vector
double)~((__vector
unsigned long long)
__a ^
7366 (__vector
unsigned long long)
__b);
7373extern __ATTRS_o __vector
signed char
7374vec_evaluate(__vector
signed char __a, __vector
signed char __b,
7375 __vector
signed char __c,
unsigned char __d)
7378extern __ATTRS_o __vector
unsigned char
7379vec_evaluate(__vector
unsigned char __a, __vector
unsigned char __b,
7380 __vector
unsigned char __c,
unsigned char __d)
7383extern __ATTRS_o __vector __bool
char
7384vec_evaluate(__vector __bool
char __a, __vector __bool
char __b,
7385 __vector __bool
char __c,
unsigned char __d)
7388extern __ATTRS_o __vector
signed short
7389vec_evaluate(__vector
signed short __a, __vector
signed short __b,
7390 __vector
signed short __c,
unsigned char __d)
7393extern __ATTRS_o __vector
unsigned short
7394vec_evaluate(__vector
unsigned short __a, __vector
unsigned short __b,
7395 __vector
unsigned short __c,
unsigned char __d)
7398extern __ATTRS_o __vector __bool
short
7399vec_evaluate(__vector __bool
short __a, __vector __bool
short __b,
7400 __vector __bool
short __c,
unsigned char __d)
7403extern __ATTRS_o __vector
signed int
7404vec_evaluate(__vector
signed int __a, __vector
signed int __b,
7405 __vector
signed int __c,
unsigned char __d)
7408extern __ATTRS_o __vector
unsigned int
7409vec_evaluate(__vector
unsigned int __a, __vector
unsigned int __b,
7410 __vector
unsigned int __c,
unsigned char __d)
7413extern __ATTRS_o __vector __bool
int
7414vec_evaluate(__vector __bool
int __a, __vector __bool
int __b,
7415 __vector __bool
int __c,
unsigned char __d)
7418extern __ATTRS_o __vector
signed long long
7419vec_evaluate(__vector
signed long long __a, __vector
signed long long __b,
7420 __vector
signed long long __c,
unsigned char __d)
7423extern __ATTRS_o __vector
unsigned long long
7424vec_evaluate(__vector
unsigned long long __a, __vector
unsigned long long __b,
7425 __vector
unsigned long long __c,
unsigned char __d)
7428extern __ATTRS_o __vector __bool
long long
7429vec_evaluate(__vector __bool
long long __a, __vector __bool
long long __b,
7430 __vector __bool
long long __c,
unsigned char __d)
7433extern __ATTRS_o __vector
signed __int128
7434vec_evaluate(__vector
signed __int128
__a, __vector
signed __int128
__b,
7435 __vector
signed __int128
__c,
unsigned char __d)
7438extern __ATTRS_o __vector
unsigned __int128
7439vec_evaluate(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
7440 __vector
unsigned __int128
__c,
unsigned char __d)
7443extern __ATTRS_o __vector __bool __int128
7444vec_evaluate(__vector __bool __int128
__a, __vector __bool __int128
__b,
7445 __vector __bool __int128
__c,
unsigned char __d)
7448#define vec_evaluate(A, B, C, D) \
7449 ((__typeof__((vec_evaluate)((A), (B), (C), (D)))) \
7450 __builtin_s390_veval((__vector unsigned char)(A), \
7451 (__vector unsigned char)(B), \
7452 (__vector unsigned char)(C), (D)))
7458vec_cntlz(__vector
signed char __a) {
7459 return __builtin_s390_vclzb((__vector
unsigned char)
__a);
7463vec_cntlz(__vector
unsigned char __a) {
7464 return __builtin_s390_vclzb(
__a);
7468vec_cntlz(__vector
signed short __a) {
7469 return __builtin_s390_vclzh((__vector
unsigned short)
__a);
7473vec_cntlz(__vector
unsigned short __a) {
7474 return __builtin_s390_vclzh(
__a);
7478vec_cntlz(__vector
signed int __a) {
7479 return __builtin_s390_vclzf((__vector
unsigned int)
__a);
7483vec_cntlz(__vector
unsigned int __a) {
7484 return __builtin_s390_vclzf(
__a);
7488vec_cntlz(__vector
signed long long __a) {
7489 return __builtin_s390_vclzg((__vector
unsigned long long)
__a);
7493vec_cntlz(__vector
unsigned long long __a) {
7494 return __builtin_s390_vclzg(
__a);
7499vec_cntlz(__vector
signed __int128
__a) {
7500 return (__vector
unsigned __int128)
7501 __builtin_s390_vclzq((
unsigned __int128)
__a);
7505vec_cntlz(__vector
unsigned __int128
__a) {
7506 return (__vector
unsigned __int128)
7507 __builtin_s390_vclzq((
unsigned __int128)
__a);
7514vec_cnttz(__vector
signed char __a) {
7515 return __builtin_s390_vctzb((__vector
unsigned char)
__a);
7519vec_cnttz(__vector
unsigned char __a) {
7520 return __builtin_s390_vctzb(
__a);
7524vec_cnttz(__vector
signed short __a) {
7525 return __builtin_s390_vctzh((__vector
unsigned short)
__a);
7529vec_cnttz(__vector
unsigned short __a) {
7530 return __builtin_s390_vctzh(
__a);
7534vec_cnttz(__vector
signed int __a) {
7535 return __builtin_s390_vctzf((__vector
unsigned int)
__a);
7539vec_cnttz(__vector
unsigned int __a) {
7540 return __builtin_s390_vctzf(
__a);
7544vec_cnttz(__vector
signed long long __a) {
7545 return __builtin_s390_vctzg((__vector
unsigned long long)
__a);
7549vec_cnttz(__vector
unsigned long long __a) {
7550 return __builtin_s390_vctzg(
__a);
7555vec_cnttz(__vector
signed __int128
__a) {
7556 return (__vector
unsigned __int128)
7557 __builtin_s390_vctzq((
unsigned __int128)
__a);
7561vec_cnttz(__vector
unsigned __int128
__a) {
7562 return (__vector
unsigned __int128)
7563 __builtin_s390_vctzq((
unsigned __int128)
__a);
7570vec_popcnt(__vector
signed char __a) {
7571 return __builtin_elementwise_popcount((__vector
unsigned char)
__a);
7575vec_popcnt(__vector
unsigned char __a) {
7576 return __builtin_elementwise_popcount(
__a);
7580vec_popcnt(__vector
signed short __a) {
7581 return __builtin_elementwise_popcount((__vector
unsigned short)
__a);
7585vec_popcnt(__vector
unsigned short __a) {
7586 return __builtin_elementwise_popcount(
__a);
7590vec_popcnt(__vector
signed int __a) {
7591 return __builtin_elementwise_popcount((__vector
unsigned int)
__a);
7595vec_popcnt(__vector
unsigned int __a) {
7596 return __builtin_elementwise_popcount(
__a);
7600vec_popcnt(__vector
signed long long __a) {
7601 return __builtin_elementwise_popcount((__vector
unsigned long long)
__a);
7605vec_popcnt(__vector
unsigned long long __a) {
7606 return __builtin_elementwise_popcount(
__a);
7612vec_rl(__vector
signed char __a, __vector
unsigned char __b) {
7613 return (__vector
signed char)__builtin_s390_verllvb(
7614 (__vector
unsigned char)
__a,
__b);
7618vec_rl(__vector
unsigned char __a, __vector
unsigned char __b) {
7619 return __builtin_s390_verllvb(
__a,
__b);
7623vec_rl(__vector
signed short __a, __vector
unsigned short __b) {
7624 return (__vector
signed short)__builtin_s390_verllvh(
7625 (__vector
unsigned short)
__a,
__b);
7629vec_rl(__vector
unsigned short __a, __vector
unsigned short __b) {
7630 return __builtin_s390_verllvh(
__a,
__b);
7634vec_rl(__vector
signed int __a, __vector
unsigned int __b) {
7635 return (__vector
signed int)__builtin_s390_verllvf(
7636 (__vector
unsigned int)
__a,
__b);
7640vec_rl(__vector
unsigned int __a, __vector
unsigned int __b) {
7641 return __builtin_s390_verllvf(
__a,
__b);
7645vec_rl(__vector
signed long long __a, __vector
unsigned long long __b) {
7646 return (__vector
signed long long)__builtin_s390_verllvg(
7647 (__vector
unsigned long long)
__a,
__b);
7651vec_rl(__vector
unsigned long long __a, __vector
unsigned long long __b) {
7652 return __builtin_s390_verllvg(
__a,
__b);
7658vec_rli(__vector
signed char __a,
unsigned long __b) {
7659 return (__vector
signed char)__builtin_s390_verllb(
7660 (__vector
unsigned char)
__a, (
unsigned char)
__b);
7664vec_rli(__vector
unsigned char __a,
unsigned long __b) {
7665 return __builtin_s390_verllb(
__a, (
unsigned char)
__b);
7669vec_rli(__vector
signed short __a,
unsigned long __b) {
7670 return (__vector
signed short)__builtin_s390_verllh(
7671 (__vector
unsigned short)
__a, (
unsigned char)
__b);
7675vec_rli(__vector
unsigned short __a,
unsigned long __b) {
7676 return __builtin_s390_verllh(
__a, (
unsigned char)
__b);
7680vec_rli(__vector
signed int __a,
unsigned long __b) {
7681 return (__vector
signed int)__builtin_s390_verllf(
7682 (__vector
unsigned int)
__a, (
unsigned char)
__b);
7686vec_rli(__vector
unsigned int __a,
unsigned long __b) {
7687 return __builtin_s390_verllf(
__a, (
unsigned char)
__b);
7691vec_rli(__vector
signed long long __a,
unsigned long __b) {
7692 return (__vector
signed long long)__builtin_s390_verllg(
7693 (__vector
unsigned long long)
__a, (
unsigned char)
__b);
7697vec_rli(__vector
unsigned long long __a,
unsigned long __b) {
7698 return __builtin_s390_verllg(
__a, (
unsigned char)
__b);
7703extern __ATTRS_o __vector
signed char
7704vec_rl_mask(__vector
signed char __a, __vector
unsigned char __b,
7707extern __ATTRS_o __vector
unsigned char
7708vec_rl_mask(__vector
unsigned char __a, __vector
unsigned char __b,
7711extern __ATTRS_o __vector
signed short
7712vec_rl_mask(__vector
signed short __a, __vector
unsigned short __b,
7715extern __ATTRS_o __vector
unsigned short
7716vec_rl_mask(__vector
unsigned short __a, __vector
unsigned short __b,
7719extern __ATTRS_o __vector
signed int
7720vec_rl_mask(__vector
signed int __a, __vector
unsigned int __b,
7723extern __ATTRS_o __vector
unsigned int
7724vec_rl_mask(__vector
unsigned int __a, __vector
unsigned int __b,
7727extern __ATTRS_o __vector
signed long long
7728vec_rl_mask(__vector
signed long long __a, __vector
unsigned long long __b,
7731extern __ATTRS_o __vector
unsigned long long
7732vec_rl_mask(__vector
unsigned long long __a, __vector
unsigned long long __b,
7735#define vec_rl_mask(X, Y, Z) ((__typeof__((vec_rl_mask)((X), (Y), (Z)))) \
7737 __vector unsigned char __res; \
7738 __vector unsigned char __x = (__vector unsigned char)(X); \
7739 __vector unsigned char __y = (__vector unsigned char)(Y); \
7740 switch (sizeof ((X)[0])) { \
7741 case 1: __res = (__vector unsigned char) __builtin_s390_verimb( \
7742 (__vector unsigned char)__x, (__vector unsigned char)__x, \
7743 (__vector unsigned char)__y, (Z)); break; \
7744 case 2: __res = (__vector unsigned char) __builtin_s390_verimh( \
7745 (__vector unsigned short)__x, (__vector unsigned short)__x, \
7746 (__vector unsigned short)__y, (Z)); break; \
7747 case 4: __res = (__vector unsigned char) __builtin_s390_verimf( \
7748 (__vector unsigned int)__x, (__vector unsigned int)__x, \
7749 (__vector unsigned int)__y, (Z)); break; \
7750 default: __res = (__vector unsigned char) __builtin_s390_verimg( \
7751 (__vector unsigned long long)__x, (__vector unsigned long long)__x, \
7752 (__vector unsigned long long)__y, (Z)); break; \
7758vec_sll(__vector
signed char __a, __vector
unsigned char __b) {
7759 return (__vector
signed char)__builtin_s390_vsl(
7760 (__vector
unsigned char)
__a,
__b);
7765vec_sll(__vector
signed char __a, __vector
unsigned short __b) {
7766 return (__vector
signed char)__builtin_s390_vsl(
7767 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7772vec_sll(__vector
signed char __a, __vector
unsigned int __b) {
7773 return (__vector
signed char)__builtin_s390_vsl(
7774 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7779vec_sll(__vector __bool
char __a, __vector
unsigned char __b) {
7780 return (__vector __bool
char)__builtin_s390_vsl(
7781 (__vector
unsigned char)
__a,
__b);
7786vec_sll(__vector __bool
char __a, __vector
unsigned short __b) {
7787 return (__vector __bool
char)__builtin_s390_vsl(
7788 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7793vec_sll(__vector __bool
char __a, __vector
unsigned int __b) {
7794 return (__vector __bool
char)__builtin_s390_vsl(
7795 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7799vec_sll(__vector
unsigned char __a, __vector
unsigned char __b) {
7800 return __builtin_s390_vsl(
__a,
__b);
7805vec_sll(__vector
unsigned char __a, __vector
unsigned short __b) {
7806 return __builtin_s390_vsl(
__a, (__vector
unsigned char)
__b);
7811vec_sll(__vector
unsigned char __a, __vector
unsigned int __b) {
7812 return __builtin_s390_vsl(
__a, (__vector
unsigned char)
__b);
7816vec_sll(__vector
signed short __a, __vector
unsigned char __b) {
7817 return (__vector
signed short)__builtin_s390_vsl(
7818 (__vector
unsigned char)
__a,
__b);
7823vec_sll(__vector
signed short __a, __vector
unsigned short __b) {
7824 return (__vector
signed short)__builtin_s390_vsl(
7825 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7830vec_sll(__vector
signed short __a, __vector
unsigned int __b) {
7831 return (__vector
signed short)__builtin_s390_vsl(
7832 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7837vec_sll(__vector __bool
short __a, __vector
unsigned char __b) {
7838 return (__vector __bool
short)__builtin_s390_vsl(
7839 (__vector
unsigned char)
__a,
__b);
7844vec_sll(__vector __bool
short __a, __vector
unsigned short __b) {
7845 return (__vector __bool
short)__builtin_s390_vsl(
7846 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7851vec_sll(__vector __bool
short __a, __vector
unsigned int __b) {
7852 return (__vector __bool
short)__builtin_s390_vsl(
7853 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7857vec_sll(__vector
unsigned short __a, __vector
unsigned char __b) {
7858 return (__vector
unsigned short)__builtin_s390_vsl(
7859 (__vector
unsigned char)
__a,
__b);
7864vec_sll(__vector
unsigned short __a, __vector
unsigned short __b) {
7865 return (__vector
unsigned short)__builtin_s390_vsl(
7866 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7871vec_sll(__vector
unsigned short __a, __vector
unsigned int __b) {
7872 return (__vector
unsigned short)__builtin_s390_vsl(
7873 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7877vec_sll(__vector
signed int __a, __vector
unsigned char __b) {
7878 return (__vector
signed int)__builtin_s390_vsl(
7879 (__vector
unsigned char)
__a,
__b);
7884vec_sll(__vector
signed int __a, __vector
unsigned short __b) {
7885 return (__vector
signed int)__builtin_s390_vsl(
7886 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7891vec_sll(__vector
signed int __a, __vector
unsigned int __b) {
7892 return (__vector
signed int)__builtin_s390_vsl(
7893 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7898vec_sll(__vector __bool
int __a, __vector
unsigned char __b) {
7899 return (__vector __bool
int)__builtin_s390_vsl(
7900 (__vector
unsigned char)
__a,
__b);
7905vec_sll(__vector __bool
int __a, __vector
unsigned short __b) {
7906 return (__vector __bool
int)__builtin_s390_vsl(
7907 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7912vec_sll(__vector __bool
int __a, __vector
unsigned int __b) {
7913 return (__vector __bool
int)__builtin_s390_vsl(
7914 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7918vec_sll(__vector
unsigned int __a, __vector
unsigned char __b) {
7919 return (__vector
unsigned int)__builtin_s390_vsl(
7920 (__vector
unsigned char)
__a,
__b);
7925vec_sll(__vector
unsigned int __a, __vector
unsigned short __b) {
7926 return (__vector
unsigned int)__builtin_s390_vsl(
7927 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7932vec_sll(__vector
unsigned int __a, __vector
unsigned int __b) {
7933 return (__vector
unsigned int)__builtin_s390_vsl(
7934 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7938vec_sll(__vector
signed long long __a, __vector
unsigned char __b) {
7939 return (__vector
signed long long)__builtin_s390_vsl(
7940 (__vector
unsigned char)
__a,
__b);
7945vec_sll(__vector
signed long long __a, __vector
unsigned short __b) {
7946 return (__vector
signed long long)__builtin_s390_vsl(
7947 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7952vec_sll(__vector
signed long long __a, __vector
unsigned int __b) {
7953 return (__vector
signed long long)__builtin_s390_vsl(
7954 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7959vec_sll(__vector __bool
long long __a, __vector
unsigned char __b) {
7960 return (__vector __bool
long long)__builtin_s390_vsl(
7961 (__vector
unsigned char)
__a,
__b);
7966vec_sll(__vector __bool
long long __a, __vector
unsigned short __b) {
7967 return (__vector __bool
long long)__builtin_s390_vsl(
7968 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7973vec_sll(__vector __bool
long long __a, __vector
unsigned int __b) {
7974 return (__vector __bool
long long)__builtin_s390_vsl(
7975 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7979vec_sll(__vector
unsigned long long __a, __vector
unsigned char __b) {
7980 return (__vector
unsigned long long)__builtin_s390_vsl(
7981 (__vector
unsigned char)
__a,
__b);
7986vec_sll(__vector
unsigned long long __a, __vector
unsigned short __b) {
7987 return (__vector
unsigned long long)__builtin_s390_vsl(
7988 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7993vec_sll(__vector
unsigned long long __a, __vector
unsigned int __b) {
7994 return (__vector
unsigned long long)__builtin_s390_vsl(
7995 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7999vec_sll(__vector
signed __int128
__a, __vector
unsigned char __b) {
8000 return (__vector
signed __int128)__builtin_s390_vsl(
8001 (__vector
unsigned char)
__a,
__b);
8005vec_sll(__vector
unsigned __int128
__a, __vector
unsigned char __b) {
8006 return (__vector
unsigned __int128)__builtin_s390_vsl(
8007 (__vector
unsigned char)
__a,
__b);
8014vec_slb(__vector
signed char __a, __vector
signed char __b) {
8015 return (__vector
signed char)__builtin_s390_vslb(
8016 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8020vec_slb(__vector
signed char __a, __vector
unsigned char __b) {
8021 return (__vector
signed char)__builtin_s390_vslb(
8022 (__vector
unsigned char)
__a,
__b);
8027vec_slb(__vector
unsigned char __a, __vector
signed char __b) {
8028 return __builtin_s390_vslb(
__a, (__vector
unsigned char)
__b);
8032vec_slb(__vector
unsigned char __a, __vector
unsigned char __b) {
8033 return __builtin_s390_vslb(
__a,
__b);
8038vec_slb(__vector
signed short __a, __vector
signed short __b) {
8039 return (__vector
signed short)__builtin_s390_vslb(
8040 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8045vec_slb(__vector
signed short __a, __vector
unsigned short __b) {
8046 return (__vector
signed short)__builtin_s390_vslb(
8047 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8051vec_slb(__vector
signed short __a, __vector
unsigned char __b) {
8052 return (__vector
signed short)__builtin_s390_vslb(
8053 (__vector
unsigned char)
__a,
__b);
8058vec_slb(__vector
unsigned short __a, __vector
signed short __b) {
8059 return (__vector
unsigned short)__builtin_s390_vslb(
8060 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8065vec_slb(__vector
unsigned short __a, __vector
unsigned short __b) {
8066 return (__vector
unsigned short)__builtin_s390_vslb(
8067 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8071vec_slb(__vector
unsigned short __a, __vector
unsigned char __b) {
8072 return (__vector
unsigned short)__builtin_s390_vslb(
8073 (__vector
unsigned char)
__a,
__b);
8078vec_slb(__vector
signed int __a, __vector
signed int __b) {
8079 return (__vector
signed int)__builtin_s390_vslb(
8080 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8085vec_slb(__vector
signed int __a, __vector
unsigned int __b) {
8086 return (__vector
signed int)__builtin_s390_vslb(
8087 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8091vec_slb(__vector
signed int __a, __vector
unsigned char __b) {
8092 return (__vector
signed int)__builtin_s390_vslb(
8093 (__vector
unsigned char)
__a,
__b);
8098vec_slb(__vector
unsigned int __a, __vector
signed int __b) {
8099 return (__vector
unsigned int)__builtin_s390_vslb(
8100 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8105vec_slb(__vector
unsigned int __a, __vector
unsigned int __b) {
8106 return (__vector
unsigned int)__builtin_s390_vslb(
8107 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8111vec_slb(__vector
unsigned int __a, __vector
unsigned char __b) {
8112 return (__vector
unsigned int)__builtin_s390_vslb(
8113 (__vector
unsigned char)
__a,
__b);
8118vec_slb(__vector
signed long long __a, __vector
signed long long __b) {
8119 return (__vector
signed long long)__builtin_s390_vslb(
8120 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8125vec_slb(__vector
signed long long __a, __vector
unsigned long long __b) {
8126 return (__vector
signed long long)__builtin_s390_vslb(
8127 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8131vec_slb(__vector
signed long long __a, __vector
unsigned char __b) {
8132 return (__vector
signed long long)__builtin_s390_vslb(
8133 (__vector
unsigned char)
__a,
__b);
8138vec_slb(__vector
unsigned long long __a, __vector
signed long long __b) {
8139 return (__vector
unsigned long long)__builtin_s390_vslb(
8140 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8145vec_slb(__vector
unsigned long long __a, __vector
unsigned long long __b) {
8146 return (__vector
unsigned long long)__builtin_s390_vslb(
8147 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8151vec_slb(__vector
unsigned long long __a, __vector
unsigned char __b) {
8152 return (__vector
unsigned long long)__builtin_s390_vslb(
8153 (__vector
unsigned char)
__a,
__b);
8157vec_slb(__vector
signed __int128
__a, __vector
unsigned char __b) {
8158 return (__vector
signed __int128)__builtin_s390_vslb(
8159 (__vector
unsigned char)
__a,
__b);
8163vec_slb(__vector
unsigned __int128
__a, __vector
unsigned char __b) {
8164 return (__vector
unsigned __int128)__builtin_s390_vslb(
8165 (__vector
unsigned char)
__a,
__b);
8171vec_slb(__vector
float __a, __vector
signed int __b) {
8172 return (__vector
float)__builtin_s390_vslb(
8173 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8178vec_slb(__vector
float __a, __vector
unsigned int __b) {
8179 return (__vector
float)__builtin_s390_vslb(
8180 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8184vec_slb(__vector
float __a, __vector
unsigned char __b) {
8185 return (__vector
float)__builtin_s390_vslb(
8186 (__vector
unsigned char)
__a,
__b);
8192vec_slb(__vector
double __a, __vector
signed long long __b) {
8193 return (__vector
double)__builtin_s390_vslb(
8194 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8199vec_slb(__vector
double __a, __vector
unsigned long long __b) {
8200 return (__vector
double)__builtin_s390_vslb(
8201 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8205vec_slb(__vector
double __a, __vector
unsigned char __b) {
8206 return (__vector
double)__builtin_s390_vslb(
8207 (__vector
unsigned char)
__a,
__b);
8212extern __ATTRS_o __vector
signed char
8214 __constant_range(
__c, 0, 15);
8217extern __ATTRS_o __vector __bool
char
8219 __constant_range(
__c, 0, 15);
8221extern __ATTRS_o __vector
unsigned char
8223 __constant_range(
__c, 0, 15);
8225extern __ATTRS_o __vector
signed short
8227 __constant_range(
__c, 0, 15);
8230extern __ATTRS_o __vector __bool
short
8232 __constant_range(
__c, 0, 15);
8234extern __ATTRS_o __vector
unsigned short
8236 __constant_range(
__c, 0, 15);
8238extern __ATTRS_o __vector
signed int
8240 __constant_range(
__c, 0, 15);
8243extern __ATTRS_o __vector __bool
int
8245 __constant_range(
__c, 0, 15);
8247extern __ATTRS_o __vector
unsigned int
8249 __constant_range(
__c, 0, 15);
8251extern __ATTRS_o __vector
signed long long
8252vec_sld(__vector
signed long long __a, __vector
signed long long __b,
int __c)
8253 __constant_range(
__c, 0, 15);
8256extern __ATTRS_o __vector __bool
long long
8257vec_sld(__vector __bool
long long __a, __vector __bool
long long __b,
int __c)
8258 __constant_range(
__c, 0, 15);
8260extern __ATTRS_o __vector
unsigned long long
8261vec_sld(__vector
unsigned long long __a, __vector
unsigned long long __b,
8263 __constant_range(
__c, 0, 15);
8265extern __ATTRS_o __vector
signed __int128
8266vec_sld(__vector
signed __int128
__a, __vector
signed __int128
__b,
int __c)
8267 __constant_range(
__c, 0, 15);
8269extern __ATTRS_o __vector
unsigned __int128
8270vec_sld(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
8272 __constant_range(
__c, 0, 15);
8275extern __ATTRS_o __vector
float
8277 __constant_range(
__c, 0, 15);
8280extern __ATTRS_o __vector
double
8282 __constant_range(
__c, 0, 15);
8284#define vec_sld(X, Y, Z) ((__typeof__((vec_sld)((X), (Y), (Z)))) \
8285 __builtin_s390_vsldb((__vector unsigned char)(X), \
8286 (__vector unsigned char)(Y), (Z)))
8290extern __ATTRS_o __vector
signed char
8292 __constant_range(
__c, 0, 3);
8294extern __ATTRS_o __vector
unsigned char
8296 __constant_range(
__c, 0, 3);
8298extern __ATTRS_o __vector
signed short
8300 __constant_range(
__c, 0, 3);
8302extern __ATTRS_o __vector
unsigned short
8304 __constant_range(
__c, 0, 3);
8306extern __ATTRS_o __vector
signed int
8308 __constant_range(
__c, 0, 3);
8310extern __ATTRS_o __vector
unsigned int
8312 __constant_range(
__c, 0, 3);
8314extern __ATTRS_o __vector
signed long long
8316 __constant_range(
__c, 0, 3);
8318extern __ATTRS_o __vector
unsigned long long
8319vec_sldw(__vector
unsigned long long __a, __vector
unsigned long long __b,
8321 __constant_range(
__c, 0, 3);
8323extern __ATTRS_o __vector
signed __int128
8325 __constant_range(
__c, 0, 3);
8327extern __ATTRS_o __vector
unsigned __int128
8328vec_sldw(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
8330 __constant_range(
__c, 0, 3);
8333extern __ATTRS_o __vector
double
8335 __constant_range(
__c, 0, 3);
8337#define vec_sldw(X, Y, Z) ((__typeof__((vec_sldw)((X), (Y), (Z)))) \
8338 __builtin_s390_vsldb((__vector unsigned char)(X), \
8339 (__vector unsigned char)(Y), (Z) * 4))
8345extern __ATTRS_o __vector
signed char
8346vec_sldb(__vector
signed char __a, __vector
signed char __b,
int __c)
8347 __constant_range(
__c, 0, 7);
8349extern __ATTRS_o __vector
unsigned char
8350vec_sldb(__vector
unsigned char __a, __vector
unsigned char __b,
int __c)
8351 __constant_range(
__c, 0, 7);
8353extern __ATTRS_o __vector
signed short
8354vec_sldb(__vector
signed short __a, __vector
signed short __b,
int __c)
8355 __constant_range(
__c, 0, 7);
8357extern __ATTRS_o __vector
unsigned short
8358vec_sldb(__vector
unsigned short __a, __vector
unsigned short __b,
int __c)
8359 __constant_range(
__c, 0, 7);
8361extern __ATTRS_o __vector
signed int
8362vec_sldb(__vector
signed int __a, __vector
signed int __b,
int __c)
8363 __constant_range(
__c, 0, 7);
8365extern __ATTRS_o __vector
unsigned int
8366vec_sldb(__vector
unsigned int __a, __vector
unsigned int __b,
int __c)
8367 __constant_range(
__c, 0, 7);
8369extern __ATTRS_o __vector
signed long long
8370vec_sldb(__vector
signed long long __a, __vector
signed long long __b,
int __c)
8371 __constant_range(
__c, 0, 7);
8373extern __ATTRS_o __vector
unsigned long long
8374vec_sldb(__vector
unsigned long long __a, __vector
unsigned long long __b,
8376 __constant_range(
__c, 0, 7);
8378extern __ATTRS_o __vector
signed __int128
8379vec_sldb(__vector
signed __int128
__a, __vector
signed __int128
__b,
int __c)
8380 __constant_range(
__c, 0, 7);
8382extern __ATTRS_o __vector
unsigned __int128
8383vec_sldb(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
8385 __constant_range(
__c, 0, 7);
8387extern __ATTRS_o __vector
float
8388vec_sldb(__vector
float __a, __vector
float __b,
int __c)
8389 __constant_range(
__c, 0, 7);
8391extern __ATTRS_o __vector
double
8392vec_sldb(__vector
double __a, __vector
double __b,
int __c)
8393 __constant_range(
__c, 0, 7);
8395#define vec_sldb(X, Y, Z) ((__typeof__((vec_sldb)((X), (Y), (Z)))) \
8396 __builtin_s390_vsld((__vector unsigned char)(X), \
8397 (__vector unsigned char)(Y), (Z)))
8404vec_sral(__vector
signed char __a, __vector
unsigned char __b) {
8405 return (__vector
signed char)__builtin_s390_vsra(
8406 (__vector
unsigned char)
__a,
__b);
8411vec_sral(__vector
signed char __a, __vector
unsigned short __b) {
8412 return (__vector
signed char)__builtin_s390_vsra(
8413 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8418vec_sral(__vector
signed char __a, __vector
unsigned int __b) {
8419 return (__vector
signed char)__builtin_s390_vsra(
8420 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8425vec_sral(__vector __bool
char __a, __vector
unsigned char __b) {
8426 return (__vector __bool
char)__builtin_s390_vsra(
8427 (__vector
unsigned char)
__a,
__b);
8432vec_sral(__vector __bool
char __a, __vector
unsigned short __b) {
8433 return (__vector __bool
char)__builtin_s390_vsra(
8434 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8439vec_sral(__vector __bool
char __a, __vector
unsigned int __b) {
8440 return (__vector __bool
char)__builtin_s390_vsra(
8441 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8445vec_sral(__vector
unsigned char __a, __vector
unsigned char __b) {
8446 return __builtin_s390_vsra(
__a,
__b);
8451vec_sral(__vector
unsigned char __a, __vector
unsigned short __b) {
8452 return __builtin_s390_vsra(
__a, (__vector
unsigned char)
__b);
8457vec_sral(__vector
unsigned char __a, __vector
unsigned int __b) {
8458 return __builtin_s390_vsra(
__a, (__vector
unsigned char)
__b);
8462vec_sral(__vector
signed short __a, __vector
unsigned char __b) {
8463 return (__vector
signed short)__builtin_s390_vsra(
8464 (__vector
unsigned char)
__a,
__b);
8469vec_sral(__vector
signed short __a, __vector
unsigned short __b) {
8470 return (__vector
signed short)__builtin_s390_vsra(
8471 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8476vec_sral(__vector
signed short __a, __vector
unsigned int __b) {
8477 return (__vector
signed short)__builtin_s390_vsra(
8478 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8483vec_sral(__vector __bool
short __a, __vector
unsigned char __b) {
8484 return (__vector __bool
short)__builtin_s390_vsra(
8485 (__vector
unsigned char)
__a,
__b);
8490vec_sral(__vector __bool
short __a, __vector
unsigned short __b) {
8491 return (__vector __bool
short)__builtin_s390_vsra(
8492 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8497vec_sral(__vector __bool
short __a, __vector
unsigned int __b) {
8498 return (__vector __bool
short)__builtin_s390_vsra(
8499 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8503vec_sral(__vector
unsigned short __a, __vector
unsigned char __b) {
8504 return (__vector
unsigned short)__builtin_s390_vsra(
8505 (__vector
unsigned char)
__a,
__b);
8510vec_sral(__vector
unsigned short __a, __vector
unsigned short __b) {
8511 return (__vector
unsigned short)__builtin_s390_vsra(
8512 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8517vec_sral(__vector
unsigned short __a, __vector
unsigned int __b) {
8518 return (__vector
unsigned short)__builtin_s390_vsra(
8519 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8523vec_sral(__vector
signed int __a, __vector
unsigned char __b) {
8524 return (__vector
signed int)__builtin_s390_vsra(
8525 (__vector
unsigned char)
__a,
__b);
8530vec_sral(__vector
signed int __a, __vector
unsigned short __b) {
8531 return (__vector
signed int)__builtin_s390_vsra(
8532 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8537vec_sral(__vector
signed int __a, __vector
unsigned int __b) {
8538 return (__vector
signed int)__builtin_s390_vsra(
8539 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8544vec_sral(__vector __bool
int __a, __vector
unsigned char __b) {
8545 return (__vector __bool
int)__builtin_s390_vsra(
8546 (__vector
unsigned char)
__a,
__b);
8551vec_sral(__vector __bool
int __a, __vector
unsigned short __b) {
8552 return (__vector __bool
int)__builtin_s390_vsra(
8553 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8558vec_sral(__vector __bool
int __a, __vector
unsigned int __b) {
8559 return (__vector __bool
int)__builtin_s390_vsra(
8560 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8564vec_sral(__vector
unsigned int __a, __vector
unsigned char __b) {
8565 return (__vector
unsigned int)__builtin_s390_vsra(
8566 (__vector
unsigned char)
__a,
__b);
8571vec_sral(__vector
unsigned int __a, __vector
unsigned short __b) {
8572 return (__vector
unsigned int)__builtin_s390_vsra(
8573 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8578vec_sral(__vector
unsigned int __a, __vector
unsigned int __b) {
8579 return (__vector
unsigned int)__builtin_s390_vsra(
8580 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8584vec_sral(__vector
signed long long __a, __vector
unsigned char __b) {
8585 return (__vector
signed long long)__builtin_s390_vsra(
8586 (__vector
unsigned char)
__a,
__b);
8591vec_sral(__vector
signed long long __a, __vector
unsigned short __b) {
8592 return (__vector
signed long long)__builtin_s390_vsra(
8593 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8598vec_sral(__vector
signed long long __a, __vector
unsigned int __b) {
8599 return (__vector
signed long long)__builtin_s390_vsra(
8600 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8605vec_sral(__vector __bool
long long __a, __vector
unsigned char __b) {
8606 return (__vector __bool
long long)__builtin_s390_vsra(
8607 (__vector
unsigned char)
__a,
__b);
8612vec_sral(__vector __bool
long long __a, __vector
unsigned short __b) {
8613 return (__vector __bool
long long)__builtin_s390_vsra(
8614 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8619vec_sral(__vector __bool
long long __a, __vector
unsigned int __b) {
8620 return (__vector __bool
long long)__builtin_s390_vsra(
8621 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8625vec_sral(__vector
unsigned long long __a, __vector
unsigned char __b) {
8626 return (__vector
unsigned long long)__builtin_s390_vsra(
8627 (__vector
unsigned char)
__a,
__b);
8632vec_sral(__vector
unsigned long long __a, __vector
unsigned short __b) {
8633 return (__vector
unsigned long long)__builtin_s390_vsra(
8634 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8639vec_sral(__vector
unsigned long long __a, __vector
unsigned int __b) {
8640 return (__vector
unsigned long long)__builtin_s390_vsra(
8641 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8645vec_sral(__vector
signed __int128
__a, __vector
unsigned char __b) {
8646 return (__vector
signed __int128)__builtin_s390_vsra(
8647 (__vector
unsigned char)
__a,
__b);
8651vec_sral(__vector
unsigned __int128
__a, __vector
unsigned char __b) {
8652 return (__vector
unsigned __int128)__builtin_s390_vsra(
8653 (__vector
unsigned char)
__a,
__b);
8660vec_srab(__vector
signed char __a, __vector
signed char __b) {
8661 return (__vector
signed char)__builtin_s390_vsrab(
8662 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8666vec_srab(__vector
signed char __a, __vector
unsigned char __b) {
8667 return (__vector
signed char)__builtin_s390_vsrab(
8668 (__vector
unsigned char)
__a,
__b);
8673vec_srab(__vector
unsigned char __a, __vector
signed char __b) {
8674 return __builtin_s390_vsrab(
__a, (__vector
unsigned char)
__b);
8678vec_srab(__vector
unsigned char __a, __vector
unsigned char __b) {
8679 return __builtin_s390_vsrab(
__a,
__b);
8684vec_srab(__vector
signed short __a, __vector
signed short __b) {
8685 return (__vector
signed short)__builtin_s390_vsrab(
8686 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8691vec_srab(__vector
signed short __a, __vector
unsigned short __b) {
8692 return (__vector
signed short)__builtin_s390_vsrab(
8693 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8697vec_srab(__vector
signed short __a, __vector
unsigned char __b) {
8698 return (__vector
signed short)__builtin_s390_vsrab(
8699 (__vector
unsigned char)
__a,
__b);
8704vec_srab(__vector
unsigned short __a, __vector
signed short __b) {
8705 return (__vector
unsigned short)__builtin_s390_vsrab(
8706 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8711vec_srab(__vector
unsigned short __a, __vector
unsigned short __b) {
8712 return (__vector
unsigned short)__builtin_s390_vsrab(
8713 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8717vec_srab(__vector
unsigned short __a, __vector
unsigned char __b) {
8718 return (__vector
unsigned short)__builtin_s390_vsrab(
8719 (__vector
unsigned char)
__a,
__b);
8724vec_srab(__vector
signed int __a, __vector
signed int __b) {
8725 return (__vector
signed int)__builtin_s390_vsrab(
8726 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8731vec_srab(__vector
signed int __a, __vector
unsigned int __b) {
8732 return (__vector
signed int)__builtin_s390_vsrab(
8733 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8737vec_srab(__vector
signed int __a, __vector
unsigned char __b) {
8738 return (__vector
signed int)__builtin_s390_vsrab(
8739 (__vector
unsigned char)
__a,
__b);
8744vec_srab(__vector
unsigned int __a, __vector
signed int __b) {
8745 return (__vector
unsigned int)__builtin_s390_vsrab(
8746 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8751vec_srab(__vector
unsigned int __a, __vector
unsigned int __b) {
8752 return (__vector
unsigned int)__builtin_s390_vsrab(
8753 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8757vec_srab(__vector
unsigned int __a, __vector
unsigned char __b) {
8758 return (__vector
unsigned int)__builtin_s390_vsrab(
8759 (__vector
unsigned char)
__a,
__b);
8764vec_srab(__vector
signed long long __a, __vector
signed long long __b) {
8765 return (__vector
signed long long)__builtin_s390_vsrab(
8766 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8771vec_srab(__vector
signed long long __a, __vector
unsigned long long __b) {
8772 return (__vector
signed long long)__builtin_s390_vsrab(
8773 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8777vec_srab(__vector
signed long long __a, __vector
unsigned char __b) {
8778 return (__vector
signed long long)__builtin_s390_vsrab(
8779 (__vector
unsigned char)
__a,
__b);
8784vec_srab(__vector
unsigned long long __a, __vector
signed long long __b) {
8785 return (__vector
unsigned long long)__builtin_s390_vsrab(
8786 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8791vec_srab(__vector
unsigned long long __a, __vector
unsigned long long __b) {
8792 return (__vector
unsigned long long)__builtin_s390_vsrab(
8793 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8797vec_srab(__vector
unsigned long long __a, __vector
unsigned char __b) {
8798 return (__vector
unsigned long long)__builtin_s390_vsrab(
8799 (__vector
unsigned char)
__a,
__b);
8803vec_srab(__vector
signed __int128
__a, __vector
unsigned char __b) {
8804 return (__vector
signed __int128)__builtin_s390_vsrab(
8805 (__vector
unsigned char)
__a,
__b);
8809vec_srab(__vector
unsigned __int128
__a, __vector
unsigned char __b) {
8810 return (__vector
unsigned __int128)__builtin_s390_vsrab(
8811 (__vector
unsigned char)
__a,
__b);
8817vec_srab(__vector
float __a, __vector
signed int __b) {
8818 return (__vector
float)__builtin_s390_vsrab(
8819 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8824vec_srab(__vector
float __a, __vector
unsigned int __b) {
8825 return (__vector
float)__builtin_s390_vsrab(
8826 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8830vec_srab(__vector
float __a, __vector
unsigned char __b) {
8831 return (__vector
float)__builtin_s390_vsrab(
8832 (__vector
unsigned char)
__a,
__b);
8838vec_srab(__vector
double __a, __vector
signed long long __b) {
8839 return (__vector
double)__builtin_s390_vsrab(
8840 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8845vec_srab(__vector
double __a, __vector
unsigned long long __b) {
8846 return (__vector
double)__builtin_s390_vsrab(
8847 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8851vec_srab(__vector
double __a, __vector
unsigned char __b) {
8852 return (__vector
double)__builtin_s390_vsrab(
8853 (__vector
unsigned char)
__a,
__b);
8859vec_srl(__vector
signed char __a, __vector
unsigned char __b) {
8860 return (__vector
signed char)__builtin_s390_vsrl(
8861 (__vector
unsigned char)
__a,
__b);
8866vec_srl(__vector
signed char __a, __vector
unsigned short __b) {
8867 return (__vector
signed char)__builtin_s390_vsrl(
8868 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8873vec_srl(__vector
signed char __a, __vector
unsigned int __b) {
8874 return (__vector
signed char)__builtin_s390_vsrl(
8875 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8880vec_srl(__vector __bool
char __a, __vector
unsigned char __b) {
8881 return (__vector __bool
char)__builtin_s390_vsrl(
8882 (__vector
unsigned char)
__a,
__b);
8887vec_srl(__vector __bool
char __a, __vector
unsigned short __b) {
8888 return (__vector __bool
char)__builtin_s390_vsrl(
8889 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8894vec_srl(__vector __bool
char __a, __vector
unsigned int __b) {
8895 return (__vector __bool
char)__builtin_s390_vsrl(
8896 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8900vec_srl(__vector
unsigned char __a, __vector
unsigned char __b) {
8901 return __builtin_s390_vsrl(
__a,
__b);
8906vec_srl(__vector
unsigned char __a, __vector
unsigned short __b) {
8907 return __builtin_s390_vsrl(
__a, (__vector
unsigned char)
__b);
8912vec_srl(__vector
unsigned char __a, __vector
unsigned int __b) {
8913 return __builtin_s390_vsrl(
__a, (__vector
unsigned char)
__b);
8917vec_srl(__vector
signed short __a, __vector
unsigned char __b) {
8918 return (__vector
signed short)__builtin_s390_vsrl(
8919 (__vector
unsigned char)
__a,
__b);
8924vec_srl(__vector
signed short __a, __vector
unsigned short __b) {
8925 return (__vector
signed short)__builtin_s390_vsrl(
8926 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8931vec_srl(__vector
signed short __a, __vector
unsigned int __b) {
8932 return (__vector
signed short)__builtin_s390_vsrl(
8933 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8938vec_srl(__vector __bool
short __a, __vector
unsigned char __b) {
8939 return (__vector __bool
short)__builtin_s390_vsrl(
8940 (__vector
unsigned char)
__a,
__b);
8945vec_srl(__vector __bool
short __a, __vector
unsigned short __b) {
8946 return (__vector __bool
short)__builtin_s390_vsrl(
8947 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8952vec_srl(__vector __bool
short __a, __vector
unsigned int __b) {
8953 return (__vector __bool
short)__builtin_s390_vsrl(
8954 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8958vec_srl(__vector
unsigned short __a, __vector
unsigned char __b) {
8959 return (__vector
unsigned short)__builtin_s390_vsrl(
8960 (__vector
unsigned char)
__a,
__b);
8965vec_srl(__vector
unsigned short __a, __vector
unsigned short __b) {
8966 return (__vector
unsigned short)__builtin_s390_vsrl(
8967 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8972vec_srl(__vector
unsigned short __a, __vector
unsigned int __b) {
8973 return (__vector
unsigned short)__builtin_s390_vsrl(
8974 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8978vec_srl(__vector
signed int __a, __vector
unsigned char __b) {
8979 return (__vector
signed int)__builtin_s390_vsrl(
8980 (__vector
unsigned char)
__a,
__b);
8985vec_srl(__vector
signed int __a, __vector
unsigned short __b) {
8986 return (__vector
signed int)__builtin_s390_vsrl(
8987 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8992vec_srl(__vector
signed int __a, __vector
unsigned int __b) {
8993 return (__vector
signed int)__builtin_s390_vsrl(
8994 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8999vec_srl(__vector __bool
int __a, __vector
unsigned char __b) {
9000 return (__vector __bool
int)__builtin_s390_vsrl(
9001 (__vector
unsigned char)
__a,
__b);
9006vec_srl(__vector __bool
int __a, __vector
unsigned short __b) {
9007 return (__vector __bool
int)__builtin_s390_vsrl(
9008 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9013vec_srl(__vector __bool
int __a, __vector
unsigned int __b) {
9014 return (__vector __bool
int)__builtin_s390_vsrl(
9015 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9019vec_srl(__vector
unsigned int __a, __vector
unsigned char __b) {
9020 return (__vector
unsigned int)__builtin_s390_vsrl(
9021 (__vector
unsigned char)
__a,
__b);
9026vec_srl(__vector
unsigned int __a, __vector
unsigned short __b) {
9027 return (__vector
unsigned int)__builtin_s390_vsrl(
9028 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9033vec_srl(__vector
unsigned int __a, __vector
unsigned int __b) {
9034 return (__vector
unsigned int)__builtin_s390_vsrl(
9035 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9039vec_srl(__vector
signed long long __a, __vector
unsigned char __b) {
9040 return (__vector
signed long long)__builtin_s390_vsrl(
9041 (__vector
unsigned char)
__a,
__b);
9046vec_srl(__vector
signed long long __a, __vector
unsigned short __b) {
9047 return (__vector
signed long long)__builtin_s390_vsrl(
9048 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9053vec_srl(__vector
signed long long __a, __vector
unsigned int __b) {
9054 return (__vector
signed long long)__builtin_s390_vsrl(
9055 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9060vec_srl(__vector __bool
long long __a, __vector
unsigned char __b) {
9061 return (__vector __bool
long long)__builtin_s390_vsrl(
9062 (__vector
unsigned char)
__a,
__b);
9067vec_srl(__vector __bool
long long __a, __vector
unsigned short __b) {
9068 return (__vector __bool
long long)__builtin_s390_vsrl(
9069 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9074vec_srl(__vector __bool
long long __a, __vector
unsigned int __b) {
9075 return (__vector __bool
long long)__builtin_s390_vsrl(
9076 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9080vec_srl(__vector
unsigned long long __a, __vector
unsigned char __b) {
9081 return (__vector
unsigned long long)__builtin_s390_vsrl(
9082 (__vector
unsigned char)
__a,
__b);
9087vec_srl(__vector
unsigned long long __a, __vector
unsigned short __b) {
9088 return (__vector
unsigned long long)__builtin_s390_vsrl(
9089 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9094vec_srl(__vector
unsigned long long __a, __vector
unsigned int __b) {
9095 return (__vector
unsigned long long)__builtin_s390_vsrl(
9096 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9100vec_srl(__vector
signed __int128
__a, __vector
unsigned char __b) {
9101 return (__vector
signed __int128)__builtin_s390_vsrl(
9102 (__vector
unsigned char)
__a,
__b);
9106vec_srl(__vector
unsigned __int128
__a, __vector
unsigned char __b) {
9107 return (__vector
unsigned __int128)__builtin_s390_vsrl(
9108 (__vector
unsigned char)
__a,
__b);
9115vec_srb(__vector
signed char __a, __vector
signed char __b) {
9116 return (__vector
signed char)__builtin_s390_vsrlb(
9117 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9121vec_srb(__vector
signed char __a, __vector
unsigned char __b) {
9122 return (__vector
signed char)__builtin_s390_vsrlb(
9123 (__vector
unsigned char)
__a,
__b);
9128vec_srb(__vector
unsigned char __a, __vector
signed char __b) {
9129 return __builtin_s390_vsrlb(
__a, (__vector
unsigned char)
__b);
9133vec_srb(__vector
unsigned char __a, __vector
unsigned char __b) {
9134 return __builtin_s390_vsrlb(
__a,
__b);
9139vec_srb(__vector
signed short __a, __vector
signed short __b) {
9140 return (__vector
signed short)__builtin_s390_vsrlb(
9141 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9146vec_srb(__vector
signed short __a, __vector
unsigned short __b) {
9147 return (__vector
signed short)__builtin_s390_vsrlb(
9148 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9152vec_srb(__vector
signed short __a, __vector
unsigned char __b) {
9153 return (__vector
signed short)__builtin_s390_vsrlb(
9154 (__vector
unsigned char)
__a,
__b);
9159vec_srb(__vector
unsigned short __a, __vector
signed short __b) {
9160 return (__vector
unsigned short)__builtin_s390_vsrlb(
9161 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9166vec_srb(__vector
unsigned short __a, __vector
unsigned short __b) {
9167 return (__vector
unsigned short)__builtin_s390_vsrlb(
9168 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9172vec_srb(__vector
unsigned short __a, __vector
unsigned char __b) {
9173 return (__vector
unsigned short)__builtin_s390_vsrlb(
9174 (__vector
unsigned char)
__a,
__b);
9179vec_srb(__vector
signed int __a, __vector
signed int __b) {
9180 return (__vector
signed int)__builtin_s390_vsrlb(
9181 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9186vec_srb(__vector
signed int __a, __vector
unsigned int __b) {
9187 return (__vector
signed int)__builtin_s390_vsrlb(
9188 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9192vec_srb(__vector
signed int __a, __vector
unsigned char __b) {
9193 return (__vector
signed int)__builtin_s390_vsrlb(
9194 (__vector
unsigned char)
__a,
__b);
9199vec_srb(__vector
unsigned int __a, __vector
signed int __b) {
9200 return (__vector
unsigned int)__builtin_s390_vsrlb(
9201 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9206vec_srb(__vector
unsigned int __a, __vector
unsigned int __b) {
9207 return (__vector
unsigned int)__builtin_s390_vsrlb(
9208 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9212vec_srb(__vector
unsigned int __a, __vector
unsigned char __b) {
9213 return (__vector
unsigned int)__builtin_s390_vsrlb(
9214 (__vector
unsigned char)
__a,
__b);
9219vec_srb(__vector
signed long long __a, __vector
signed long long __b) {
9220 return (__vector
signed long long)__builtin_s390_vsrlb(
9221 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9226vec_srb(__vector
signed long long __a, __vector
unsigned long long __b) {
9227 return (__vector
signed long long)__builtin_s390_vsrlb(
9228 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9232vec_srb(__vector
signed long long __a, __vector
unsigned char __b) {
9233 return (__vector
signed long long)__builtin_s390_vsrlb(
9234 (__vector
unsigned char)
__a,
__b);
9239vec_srb(__vector
unsigned long long __a, __vector
signed long long __b) {
9240 return (__vector
unsigned long long)__builtin_s390_vsrlb(
9241 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9246vec_srb(__vector
unsigned long long __a, __vector
unsigned long long __b) {
9247 return (__vector
unsigned long long)__builtin_s390_vsrlb(
9248 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9252vec_srb(__vector
unsigned long long __a, __vector
unsigned char __b) {
9253 return (__vector
unsigned long long)__builtin_s390_vsrlb(
9254 (__vector
unsigned char)
__a,
__b);
9258vec_srb(__vector
signed __int128
__a, __vector
unsigned char __b) {
9259 return (__vector
signed __int128)__builtin_s390_vsrlb(
9260 (__vector
unsigned char)
__a,
__b);
9264vec_srb(__vector
unsigned __int128
__a, __vector
unsigned char __b) {
9265 return (__vector
unsigned __int128)__builtin_s390_vsrlb(
9266 (__vector
unsigned char)
__a,
__b);
9272vec_srb(__vector
float __a, __vector
signed int __b) {
9273 return (__vector
float)__builtin_s390_vsrlb(
9274 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9279vec_srb(__vector
float __a, __vector
unsigned int __b) {
9280 return (__vector
float)__builtin_s390_vsrlb(
9281 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9285vec_srb(__vector
float __a, __vector
unsigned char __b) {
9286 return (__vector
float)__builtin_s390_vsrlb(
9287 (__vector
unsigned char)
__a,
__b);
9293vec_srb(__vector
double __a, __vector
signed long long __b) {
9294 return (__vector
double)__builtin_s390_vsrlb(
9295 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9300vec_srb(__vector
double __a, __vector
unsigned long long __b) {
9301 return (__vector
double)__builtin_s390_vsrlb(
9302 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9306vec_srb(__vector
double __a, __vector
unsigned char __b) {
9307 return (__vector
double)__builtin_s390_vsrlb(
9308 (__vector
unsigned char)
__a,
__b);
9315extern __ATTRS_o __vector
signed char
9316vec_srdb(__vector
signed char __a, __vector
signed char __b,
int __c)
9317 __constant_range(
__c, 0, 7);
9319extern __ATTRS_o __vector
unsigned char
9320vec_srdb(__vector
unsigned char __a, __vector
unsigned char __b,
int __c)
9321 __constant_range(
__c, 0, 7);
9323extern __ATTRS_o __vector
signed short
9324vec_srdb(__vector
signed short __a, __vector
signed short __b,
int __c)
9325 __constant_range(
__c, 0, 7);
9327extern __ATTRS_o __vector
unsigned short
9328vec_srdb(__vector
unsigned short __a, __vector
unsigned short __b,
int __c)
9329 __constant_range(
__c, 0, 7);
9331extern __ATTRS_o __vector
signed int
9332vec_srdb(__vector
signed int __a, __vector
signed int __b,
int __c)
9333 __constant_range(
__c, 0, 7);
9335extern __ATTRS_o __vector
unsigned int
9336vec_srdb(__vector
unsigned int __a, __vector
unsigned int __b,
int __c)
9337 __constant_range(
__c, 0, 7);
9339extern __ATTRS_o __vector
signed long long
9340vec_srdb(__vector
signed long long __a, __vector
signed long long __b,
int __c)
9341 __constant_range(
__c, 0, 7);
9343extern __ATTRS_o __vector
unsigned long long
9344vec_srdb(__vector
unsigned long long __a, __vector
unsigned long long __b,
9346 __constant_range(
__c, 0, 7);
9348extern __ATTRS_o __vector
signed __int128
9349vec_srdb(__vector
signed __int128
__a, __vector
signed __int128
__b,
int __c)
9350 __constant_range(
__c, 0, 7);
9352extern __ATTRS_o __vector
unsigned __int128
9353vec_srdb(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
9355 __constant_range(
__c, 0, 7);
9357extern __ATTRS_o __vector
float
9358vec_srdb(__vector
float __a, __vector
float __b,
int __c)
9359 __constant_range(
__c, 0, 7);
9361extern __ATTRS_o __vector
double
9362vec_srdb(__vector
double __a, __vector
double __b,
int __c)
9363 __constant_range(
__c, 0, 7);
9365#define vec_srdb(X, Y, Z) ((__typeof__((vec_srdb)((X), (Y), (Z)))) \
9366 __builtin_s390_vsrd((__vector unsigned char)(X), \
9367 (__vector unsigned char)(Y), (Z)))
9401 return __builtin_s390_vflpsb(
__a);
9407 return __builtin_s390_vflpdb(
__a);
9415 return __builtin_s390_vflnsb(
__a);
9421 return __builtin_s390_vflndb(
__a);
9427vec_max(__vector
signed char __a, __vector
signed char __b) {
9433vec_max(__vector
signed char __a, __vector __bool
char __b) {
9434 __vector
signed char __bc = (__vector
signed char)
__b;
9440vec_max(__vector __bool
char __a, __vector
signed char __b) {
9441 __vector
signed char __ac = (__vector
signed char)
__a;
9446vec_max(__vector
unsigned char __a, __vector
unsigned char __b) {
9452vec_max(__vector
unsigned char __a, __vector __bool
char __b) {
9453 __vector
unsigned char __bc = (__vector
unsigned char)
__b;
9459vec_max(__vector __bool
char __a, __vector
unsigned char __b) {
9460 __vector
unsigned char __ac = (__vector
unsigned char)
__a;
9465vec_max(__vector
signed short __a, __vector
signed short __b) {
9471vec_max(__vector
signed short __a, __vector __bool
short __b) {
9472 __vector
signed short __bc = (__vector
signed short)
__b;
9478vec_max(__vector __bool
short __a, __vector
signed short __b) {
9479 __vector
signed short __ac = (__vector
signed short)
__a;
9484vec_max(__vector
unsigned short __a, __vector
unsigned short __b) {
9490vec_max(__vector
unsigned short __a, __vector __bool
short __b) {
9491 __vector
unsigned short __bc = (__vector
unsigned short)
__b;
9497vec_max(__vector __bool
short __a, __vector
unsigned short __b) {
9498 __vector
unsigned short __ac = (__vector
unsigned short)
__a;
9510 __vector
signed int __bc = (__vector
signed int)
__b;
9517 __vector
signed int __ac = (__vector
signed int)
__a;
9522vec_max(__vector
unsigned int __a, __vector
unsigned int __b) {
9528vec_max(__vector
unsigned int __a, __vector __bool
int __b) {
9529 __vector
unsigned int __bc = (__vector
unsigned int)
__b;
9535vec_max(__vector __bool
int __a, __vector
unsigned int __b) {
9536 __vector
unsigned int __ac = (__vector
unsigned int)
__a;
9541vec_max(__vector
signed long long __a, __vector
signed long long __b) {
9547vec_max(__vector
signed long long __a, __vector __bool
long long __b) {
9548 __vector
signed long long __bc = (__vector
signed long long)
__b;
9554vec_max(__vector __bool
long long __a, __vector
signed long long __b) {
9555 __vector
signed long long __ac = (__vector
signed long long)
__a;
9560vec_max(__vector
unsigned long long __a, __vector
unsigned long long __b) {
9566vec_max(__vector
unsigned long long __a, __vector __bool
long long __b) {
9567 __vector
unsigned long long __bc = (__vector
unsigned long long)
__b;
9573vec_max(__vector __bool
long long __a, __vector
unsigned long long __b) {
9574 __vector
unsigned long long __ac = (__vector
unsigned long long)
__a;
9579vec_max(__vector
signed __int128
__a, __vector
signed __int128
__b) {
9584vec_max(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
9591 return __builtin_s390_vfmaxsb(
__a,
__b, 0);
9598 return __builtin_s390_vfmaxdb(
__a,
__b, 0);
9607vec_min(__vector
signed char __a, __vector
signed char __b) {
9613vec_min(__vector
signed char __a, __vector __bool
char __b) {
9614 __vector
signed char __bc = (__vector
signed char)
__b;
9620vec_min(__vector __bool
char __a, __vector
signed char __b) {
9621 __vector
signed char __ac = (__vector
signed char)
__a;
9626vec_min(__vector
unsigned char __a, __vector
unsigned char __b) {
9632vec_min(__vector
unsigned char __a, __vector __bool
char __b) {
9633 __vector
unsigned char __bc = (__vector
unsigned char)
__b;
9639vec_min(__vector __bool
char __a, __vector
unsigned char __b) {
9640 __vector
unsigned char __ac = (__vector
unsigned char)
__a;
9645vec_min(__vector
signed short __a, __vector
signed short __b) {
9651vec_min(__vector
signed short __a, __vector __bool
short __b) {
9652 __vector
signed short __bc = (__vector
signed short)
__b;
9658vec_min(__vector __bool
short __a, __vector
signed short __b) {
9659 __vector
signed short __ac = (__vector
signed short)
__a;
9664vec_min(__vector
unsigned short __a, __vector
unsigned short __b) {
9670vec_min(__vector
unsigned short __a, __vector __bool
short __b) {
9671 __vector
unsigned short __bc = (__vector
unsigned short)
__b;
9677vec_min(__vector __bool
short __a, __vector
unsigned short __b) {
9678 __vector
unsigned short __ac = (__vector
unsigned short)
__a;
9690 __vector
signed int __bc = (__vector
signed int)
__b;
9697 __vector
signed int __ac = (__vector
signed int)
__a;
9702vec_min(__vector
unsigned int __a, __vector
unsigned int __b) {
9708vec_min(__vector
unsigned int __a, __vector __bool
int __b) {
9709 __vector
unsigned int __bc = (__vector
unsigned int)
__b;
9715vec_min(__vector __bool
int __a, __vector
unsigned int __b) {
9716 __vector
unsigned int __ac = (__vector
unsigned int)
__a;
9721vec_min(__vector
signed long long __a, __vector
signed long long __b) {
9727vec_min(__vector
signed long long __a, __vector __bool
long long __b) {
9728 __vector
signed long long __bc = (__vector
signed long long)
__b;
9734vec_min(__vector __bool
long long __a, __vector
signed long long __b) {
9735 __vector
signed long long __ac = (__vector
signed long long)
__a;
9740vec_min(__vector
unsigned long long __a, __vector
unsigned long long __b) {
9746vec_min(__vector
unsigned long long __a, __vector __bool
long long __b) {
9747 __vector
unsigned long long __bc = (__vector
unsigned long long)
__b;
9753vec_min(__vector __bool
long long __a, __vector
unsigned long long __b) {
9754 __vector
unsigned long long __ac = (__vector
unsigned long long)
__a;
9759vec_min(__vector
signed __int128
__a, __vector
signed __int128
__b) {
9764vec_min(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
9771 return __builtin_s390_vfminsb(
__a,
__b, 0);
9778 return __builtin_s390_vfmindb(
__a,
__b, 0);
9787static inline __ATTRS_ai __vector
unsigned char
9788vec_add_u128(__vector
unsigned char __a, __vector
unsigned char __b) {
9789 return (__vector
unsigned char)(__vector
unsigned __int128)
9790 ((__int128)
__a + (__int128)
__b);
9796vec_addc(__vector
unsigned char __a, __vector
unsigned char __b) {
9797 return __builtin_s390_vaccb(
__a,
__b);
9801vec_addc(__vector
unsigned short __a, __vector
unsigned short __b) {
9802 return __builtin_s390_vacch(
__a,
__b);
9807 return __builtin_s390_vaccf(
__a,
__b);
9811vec_addc(__vector
unsigned long long __a, __vector
unsigned long long __b) {
9812 return __builtin_s390_vaccg(
__a,
__b);
9816vec_addc(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
9817 return (__vector
unsigned __int128)
9818 __builtin_s390_vaccq((
unsigned __int128)
__a, (
unsigned __int128)
__b);
9824static inline __ATTRS_ai __vector
unsigned char
9825vec_addc_u128(__vector
unsigned char __a, __vector
unsigned char __b) {
9826 return (__vector
unsigned char)(__vector
unsigned __int128)
9827 __builtin_s390_vaccq((
unsigned __int128)
__a, (
unsigned __int128)
__b);
9832static inline __ATTRS_ai __vector
unsigned __int128
9833vec_adde(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
9834 __vector
unsigned __int128
__c) {
9835 return (__vector
unsigned __int128)
9836 __builtin_s390_vacq((
unsigned __int128)
__a, (
unsigned __int128)
__b,
9837 (
unsigned __int128)
__c);
9843static inline __ATTRS_ai __vector
unsigned char
9844vec_adde_u128(__vector
unsigned char __a, __vector
unsigned char __b,
9845 __vector
unsigned char __c) {
9846 return (__vector
unsigned char)(__vector
unsigned __int128)
9847 __builtin_s390_vacq((
unsigned __int128)
__a, (
unsigned __int128)
__b,
9848 (
unsigned __int128)
__c);
9853static inline __ATTRS_ai __vector
unsigned __int128
9854vec_addec(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
9855 __vector
unsigned __int128
__c) {
9856 return (__vector
unsigned __int128)
9857 __builtin_s390_vacccq((
unsigned __int128)
__a, (
unsigned __int128)
__b,
9858 (
unsigned __int128)
__c);
9864static inline __ATTRS_ai __vector
unsigned char
9865vec_addec_u128(__vector
unsigned char __a, __vector
unsigned char __b,
9866 __vector
unsigned char __c) {
9867 return (__vector
unsigned char)(__vector
unsigned __int128)
9868 __builtin_s390_vacccq((
unsigned __int128)
__a, (
unsigned __int128)
__b,
9869 (
unsigned __int128)
__c);
9875vec_avg(__vector
signed char __a, __vector
signed char __b) {
9876 return __builtin_s390_vavgb(
__a,
__b);
9880vec_avg(__vector
signed short __a, __vector
signed short __b) {
9881 return __builtin_s390_vavgh(
__a,
__b);
9886 return __builtin_s390_vavgf(
__a,
__b);
9890vec_avg(__vector
signed long long __a, __vector
signed long long __b) {
9891 return __builtin_s390_vavgg(
__a,
__b);
9896vec_avg(__vector
signed __int128
__a, __vector
signed __int128
__b) {
9897 return (__vector
signed __int128)
9898 __builtin_s390_vavgq((
signed __int128)
__a, (
signed __int128)
__b);
9903vec_avg(__vector
unsigned char __a, __vector
unsigned char __b) {
9904 return __builtin_s390_vavglb(
__a,
__b);
9908vec_avg(__vector
unsigned short __a, __vector
unsigned short __b) {
9909 return __builtin_s390_vavglh(
__a,
__b);
9913vec_avg(__vector
unsigned int __a, __vector
unsigned int __b) {
9914 return __builtin_s390_vavglf(
__a,
__b);
9918vec_avg(__vector
unsigned long long __a, __vector
unsigned long long __b) {
9919 return __builtin_s390_vavglg(
__a,
__b);
9924vec_avg(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
9925 return (__vector
unsigned __int128)
9926 __builtin_s390_vavglq((
unsigned __int128)
__a, (
unsigned __int128)
__b);
9932static inline __ATTRS_ai __vector
unsigned int
9933vec_checksum(__vector
unsigned int __a, __vector
unsigned int __b) {
9934 return __builtin_s390_vcksm(
__a,
__b);
9940vec_gfmsum(__vector
unsigned char __a, __vector
unsigned char __b) {
9941 return __builtin_s390_vgfmb(
__a,
__b);
9945vec_gfmsum(__vector
unsigned short __a, __vector
unsigned short __b) {
9946 return __builtin_s390_vgfmh(
__a,
__b);
9950vec_gfmsum(__vector
unsigned int __a, __vector
unsigned int __b) {
9951 return __builtin_s390_vgfmf(
__a,
__b);
9955vec_gfmsum(__vector
unsigned long long __a, __vector
unsigned long long __b) {
9956 return (__vector
unsigned __int128)__builtin_s390_vgfmg(
__a,
__b);
9963vec_gfmsum_128(__vector
unsigned long long __a,
9964 __vector
unsigned long long __b) {
9965 return (__vector
unsigned char)(__vector
unsigned __int128)
9966 __builtin_s390_vgfmg(
__a,
__b);
9972vec_gfmsum_accum(__vector
unsigned char __a, __vector
unsigned char __b,
9973 __vector
unsigned short __c) {
9974 return __builtin_s390_vgfmab(
__a,
__b,
__c);
9978vec_gfmsum_accum(__vector
unsigned short __a, __vector
unsigned short __b,
9979 __vector
unsigned int __c) {
9980 return __builtin_s390_vgfmah(
__a,
__b,
__c);
9984vec_gfmsum_accum(__vector
unsigned int __a, __vector
unsigned int __b,
9985 __vector
unsigned long long __c) {
9986 return __builtin_s390_vgfmaf(
__a,
__b,
__c);
9990vec_gfmsum_accum(__vector
unsigned long long __a, __vector
unsigned long long __b,
9991 __vector
unsigned __int128
__c) {
9992 return (__vector
unsigned __int128)
9993 __builtin_s390_vgfmag(
__a,
__b, (
unsigned __int128)
__c);
10000vec_gfmsum_accum_128(__vector
unsigned long long __a,
10001 __vector
unsigned long long __b,
10002 __vector
unsigned char __c) {
10003 return (__vector
unsigned char)(__vector
unsigned __int128)
10004 __builtin_s390_vgfmag(
__a,
__b, (
unsigned __int128)
__c);
10011 __vector
signed char __c) {
10017 __vector
signed char __c) {
10018 return (__vector
signed char)
__a *
__b +
__c;
10023 __vector
unsigned char __c) {
10024 return __a * (__vector
signed char)
__b + (__vector
signed char)
__c;
10029 __vector
unsigned char __c) {
10035 __vector
signed short __c) {
10041 __vector
signed short __c) {
10042 return (__vector
signed short)
__a *
__b +
__c;
10047 __vector
unsigned short __c) {
10048 return __a * (__vector
signed short)
__b + (__vector
signed short)
__c;
10053 __vector
unsigned short __c) {
10059 __vector
signed int __c) {
10065 __vector
signed int __c) {
10066 return (__vector
signed int)
__a *
__b +
__c;
10071 __vector
unsigned int __c) {
10072 return __a * (__vector
signed int)
__b + (__vector
signed int)
__c;
10077 __vector
unsigned int __c) {
10083vec_mladd(__vector
signed long long __a, __vector
signed long long __b,
10084 __vector
signed long long __c) {
10089vec_mladd(__vector
unsigned long long __a, __vector
signed long long __b,
10090 __vector
signed long long __c) {
10091 return (__vector
signed long long)
__a *
__b +
__c;
10095vec_mladd(__vector
signed long long __a, __vector
unsigned long long __b,
10096 __vector
unsigned long long __c) {
10097 return __a * (__vector
signed long long)
__b + (__vector
signed long long)
__c;
10101vec_mladd(__vector
unsigned long long __a, __vector
unsigned long long __b,
10102 __vector
unsigned long long __c) {
10108 __vector
signed __int128
__c) {
10113vec_mladd(__vector
unsigned __int128
__a, __vector
signed __int128
__b,
10114 __vector
signed __int128
__c) {
10115 return (__vector
signed __int128)
__a *
__b +
__c;
10119vec_mladd(__vector
signed __int128
__a, __vector
unsigned __int128
__b,
10120 __vector
unsigned __int128
__c) {
10121 return __a * (__vector
signed __int128)
__b + (__vector
signed __int128)
__c;
10125vec_mladd(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
10126 __vector
unsigned __int128
__c) {
10134vec_mhadd(__vector
signed char __a, __vector
signed char __b,
10135 __vector
signed char __c) {
10136 return __builtin_s390_vmahb(
__a,
__b,
__c);
10140vec_mhadd(__vector
unsigned char __a, __vector
unsigned char __b,
10141 __vector
unsigned char __c) {
10142 return __builtin_s390_vmalhb(
__a,
__b,
__c);
10146vec_mhadd(__vector
signed short __a, __vector
signed short __b,
10147 __vector
signed short __c) {
10148 return __builtin_s390_vmahh(
__a,
__b,
__c);
10152vec_mhadd(__vector
unsigned short __a, __vector
unsigned short __b,
10153 __vector
unsigned short __c) {
10154 return __builtin_s390_vmalhh(
__a,
__b,
__c);
10158vec_mhadd(__vector
signed int __a, __vector
signed int __b,
10159 __vector
signed int __c) {
10160 return __builtin_s390_vmahf(
__a,
__b,
__c);
10164vec_mhadd(__vector
unsigned int __a, __vector
unsigned int __b,
10165 __vector
unsigned int __c) {
10166 return __builtin_s390_vmalhf(
__a,
__b,
__c);
10171vec_mhadd(__vector
signed long long __a, __vector
signed long long __b,
10172 __vector
signed long long __c) {
10173 return __builtin_s390_vmahg(
__a,
__b,
__c);
10177vec_mhadd(__vector
unsigned long long __a, __vector
unsigned long long __b,
10178 __vector
unsigned long long __c) {
10179 return __builtin_s390_vmalhg(
__a,
__b,
__c);
10183vec_mhadd(__vector
signed __int128
__a, __vector
signed __int128
__b,
10184 __vector
signed __int128
__c) {
10185 return (__vector
signed __int128)
10186 __builtin_s390_vmahq((
signed __int128)
__a, (
signed __int128)
__b, (
signed __int128)
__c);
10190vec_mhadd(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
10191 __vector
unsigned __int128
__c) {
10192 return (__vector
unsigned __int128)
10193 __builtin_s390_vmalhq((
unsigned __int128)
__a, (
unsigned __int128)
__b, (
unsigned __int128)
__c);
10200vec_meadd(__vector
signed char __a, __vector
signed char __b,
10201 __vector
signed short __c) {
10202 return __builtin_s390_vmaeb(
__a,
__b,
__c);
10206vec_meadd(__vector
unsigned char __a, __vector
unsigned char __b,
10207 __vector
unsigned short __c) {
10208 return __builtin_s390_vmaleb(
__a,
__b,
__c);
10212vec_meadd(__vector
signed short __a, __vector
signed short __b,
10213 __vector
signed int __c) {
10214 return __builtin_s390_vmaeh(
__a,
__b,
__c);
10218vec_meadd(__vector
unsigned short __a, __vector
unsigned short __b,
10219 __vector
unsigned int __c) {
10220 return __builtin_s390_vmaleh(
__a,
__b,
__c);
10224vec_meadd(__vector
signed int __a, __vector
signed int __b,
10225 __vector
signed long long __c) {
10226 return __builtin_s390_vmaef(
__a,
__b,
__c);
10230vec_meadd(__vector
unsigned int __a, __vector
unsigned int __b,
10231 __vector
unsigned long long __c) {
10232 return __builtin_s390_vmalef(
__a,
__b,
__c);
10237vec_meadd(__vector
signed long long __a, __vector
signed long long __b,
10238 __vector
signed __int128
__c) {
10239 return (__vector
signed __int128)
10240 __builtin_s390_vmaeg(
__a,
__b, (
signed __int128)
__c);
10244vec_meadd(__vector
unsigned long long __a, __vector
unsigned long long __b,
10245 __vector
unsigned __int128
__c) {
10246 return (__vector
unsigned __int128)
10247 __builtin_s390_vmaleg(
__a,
__b, (
unsigned __int128)
__c);
10254vec_moadd(__vector
signed char __a, __vector
signed char __b,
10255 __vector
signed short __c) {
10256 return __builtin_s390_vmaob(
__a,
__b,
__c);
10260vec_moadd(__vector
unsigned char __a, __vector
unsigned char __b,
10261 __vector
unsigned short __c) {
10262 return __builtin_s390_vmalob(
__a,
__b,
__c);
10266vec_moadd(__vector
signed short __a, __vector
signed short __b,
10267 __vector
signed int __c) {
10268 return __builtin_s390_vmaoh(
__a,
__b,
__c);
10272vec_moadd(__vector
unsigned short __a, __vector
unsigned short __b,
10273 __vector
unsigned int __c) {
10274 return __builtin_s390_vmaloh(
__a,
__b,
__c);
10278vec_moadd(__vector
signed int __a, __vector
signed int __b,
10279 __vector
signed long long __c) {
10280 return __builtin_s390_vmaof(
__a,
__b,
__c);
10284vec_moadd(__vector
unsigned int __a, __vector
unsigned int __b,
10285 __vector
unsigned long long __c) {
10286 return __builtin_s390_vmalof(
__a,
__b,
__c);
10291vec_moadd(__vector
signed long long __a, __vector
signed long long __b,
10292 __vector
signed __int128
__c) {
10293 return (__vector
signed __int128)
10294 __builtin_s390_vmaog(
__a,
__b, (
signed __int128)
__c);
10298vec_moadd(__vector
unsigned long long __a, __vector
unsigned long long __b,
10299 __vector
unsigned __int128
__c) {
10300 return (__vector
unsigned __int128)
10301 __builtin_s390_vmalog(
__a,
__b, (
unsigned __int128)
__c);
10308vec_mulh(__vector
signed char __a, __vector
signed char __b) {
10309 return __builtin_s390_vmhb(
__a,
__b);
10313vec_mulh(__vector
unsigned char __a, __vector
unsigned char __b) {
10314 return __builtin_s390_vmlhb(
__a,
__b);
10318vec_mulh(__vector
signed short __a, __vector
signed short __b) {
10319 return __builtin_s390_vmhh(
__a,
__b);
10323vec_mulh(__vector
unsigned short __a, __vector
unsigned short __b) {
10324 return __builtin_s390_vmlhh(
__a,
__b);
10328vec_mulh(__vector
signed int __a, __vector
signed int __b) {
10329 return __builtin_s390_vmhf(
__a,
__b);
10333vec_mulh(__vector
unsigned int __a, __vector
unsigned int __b) {
10334 return __builtin_s390_vmlhf(
__a,
__b);
10339vec_mulh(__vector
signed long long __a, __vector
signed long long __b) {
10340 return __builtin_s390_vmhg(
__a,
__b);
10344vec_mulh(__vector
unsigned long long __a, __vector
unsigned long long __b) {
10345 return __builtin_s390_vmlhg(
__a,
__b);
10349vec_mulh(__vector
signed __int128
__a, __vector
signed __int128
__b) {
10350 return (__vector
signed __int128)
10351 __builtin_s390_vmhq((
signed __int128)
__a, (
signed __int128)
__b);
10355vec_mulh(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
10356 return (__vector
unsigned __int128)
10357 __builtin_s390_vmlhq((
unsigned __int128)
__a, (
unsigned __int128)
__b);
10365 return __builtin_s390_vmeb(
__a,
__b);
10369vec_mule(__vector
unsigned char __a, __vector
unsigned char __b) {
10370 return __builtin_s390_vmleb(
__a,
__b);
10375 return __builtin_s390_vmeh(
__a,
__b);
10379vec_mule(__vector
unsigned short __a, __vector
unsigned short __b) {
10380 return __builtin_s390_vmleh(
__a,
__b);
10385 return __builtin_s390_vmef(
__a,
__b);
10390 return __builtin_s390_vmlef(
__a,
__b);
10395vec_mule(__vector
signed long long __a, __vector
signed long long __b) {
10396 return (__vector
signed __int128)__builtin_s390_vmeg(
__a,
__b);
10400vec_mule(__vector
unsigned long long __a, __vector
unsigned long long __b) {
10401 return (__vector
unsigned __int128)__builtin_s390_vmleg(
__a,
__b);
10409 return __builtin_s390_vmob(
__a,
__b);
10413vec_mulo(__vector
unsigned char __a, __vector
unsigned char __b) {
10414 return __builtin_s390_vmlob(
__a,
__b);
10419 return __builtin_s390_vmoh(
__a,
__b);
10423vec_mulo(__vector
unsigned short __a, __vector
unsigned short __b) {
10424 return __builtin_s390_vmloh(
__a,
__b);
10429 return __builtin_s390_vmof(
__a,
__b);
10434 return __builtin_s390_vmlof(
__a,
__b);
10439vec_mulo(__vector
signed long long __a, __vector
signed long long __b) {
10440 return (__vector
signed __int128)__builtin_s390_vmog(
__a,
__b);
10444vec_mulo(__vector
unsigned long long __a, __vector
unsigned long long __b) {
10445 return (__vector
unsigned __int128)__builtin_s390_vmlog(
__a,
__b);
10452extern __ATTRS_o __vector
unsigned __int128
10453vec_msum(__vector
unsigned long long __a, __vector
unsigned long long __b,
10454 __vector
unsigned __int128
__c,
int __d)
10455 __constant_range(__d, 0, 15);
10457#define vec_msum(X, Y, Z, W) \
10458 ((__typeof__((vec_msum)((X), (Y), (Z), (W)))) \
10459 __builtin_s390_vmslg((X), (Y), (unsigned __int128)(Z), (W)))
10466extern __ATTRS_o __vector
unsigned char
10467vec_msum_u128(__vector
unsigned long long __a, __vector
unsigned long long __b,
10468 __vector
unsigned char __c,
int __d)
10469 __constant_range(__d, 0, 15);
10471#define vec_msum_u128(X, Y, Z, W) \
10472 ((__typeof__((vec_msum_u128)((X), (Y), (Z), (W)))) \
10473 (__vector unsigned __int128) \
10474 __builtin_s390_vmslg((X), (Y), (unsigned __int128)(Z), (W)))
10480static inline __ATTRS_ai __vector
unsigned char
10481vec_sub_u128(__vector
unsigned char __a, __vector
unsigned char __b) {
10482 return (__vector
unsigned char)(__vector
unsigned __int128)
10483 ((__int128)
__a - (__int128)
__b);
10489vec_subc(__vector
unsigned char __a, __vector
unsigned char __b) {
10490 return __builtin_s390_vscbib(
__a,
__b);
10494vec_subc(__vector
unsigned short __a, __vector
unsigned short __b) {
10495 return __builtin_s390_vscbih(
__a,
__b);
10500 return __builtin_s390_vscbif(
__a,
__b);
10504vec_subc(__vector
unsigned long long __a, __vector
unsigned long long __b) {
10505 return __builtin_s390_vscbig(
__a,
__b);
10509vec_subc(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
10510 return (__vector
unsigned __int128)
10511 __builtin_s390_vscbiq((
unsigned __int128)
__a, (
unsigned __int128)
__b);
10517static inline __ATTRS_ai __vector
unsigned char
10518vec_subc_u128(__vector
unsigned char __a, __vector
unsigned char __b) {
10519 return (__vector
unsigned char)(__vector
unsigned __int128)
10520 __builtin_s390_vscbiq((
unsigned __int128)
__a, (
unsigned __int128)
__b);
10525static inline __ATTRS_ai __vector
unsigned __int128
10526vec_sube(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
10527 __vector
unsigned __int128
__c) {
10528 return (__vector
unsigned __int128)
10529 __builtin_s390_vsbiq((
unsigned __int128)
__a, (
unsigned __int128)
__b,
10530 (
unsigned __int128)
__c);
10536static inline __ATTRS_ai __vector
unsigned char
10537vec_sube_u128(__vector
unsigned char __a, __vector
unsigned char __b,
10538 __vector
unsigned char __c) {
10539 return (__vector
unsigned char)(__vector
unsigned __int128)
10540 __builtin_s390_vsbiq((
unsigned __int128)
__a, (
unsigned __int128)
__b,
10541 (
unsigned __int128)
__c);
10546static inline __ATTRS_ai __vector
unsigned __int128
10547vec_subec(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
10548 __vector
unsigned __int128
__c) {
10549 return (__vector
unsigned __int128)
10550 __builtin_s390_vsbcbiq((
unsigned __int128)
__a, (
unsigned __int128)
__b,
10551 (
unsigned __int128)
__c);
10557static inline __ATTRS_ai __vector
unsigned char
10558vec_subec_u128(__vector
unsigned char __a, __vector
unsigned char __b,
10559 __vector
unsigned char __c) {
10560 return (__vector
unsigned char)(__vector
unsigned __int128)
10561 __builtin_s390_vsbcbiq((
unsigned __int128)
__a, (
unsigned __int128)
__b,
10562 (
unsigned __int128)
__c);
10568vec_sum2(__vector
unsigned short __a, __vector
unsigned short __b) {
10569 return __builtin_s390_vsumgh(
__a,
__b);
10573vec_sum2(__vector
unsigned int __a, __vector
unsigned int __b) {
10574 return __builtin_s390_vsumgf(
__a,
__b);
10580vec_sum(__vector
unsigned int __a, __vector
unsigned int __b) {
10581 return (__vector
unsigned __int128)__builtin_s390_vsumqf(
__a,
__b);
10585vec_sum(__vector
unsigned long long __a, __vector
unsigned long long __b) {
10586 return (__vector
unsigned __int128)__builtin_s390_vsumqg(
__a,
__b);
10593vec_sum_u128(__vector
unsigned int __a, __vector
unsigned int __b) {
10594 return (__vector
unsigned char)(__vector
unsigned __int128)
10595 __builtin_s390_vsumqf(
__a,
__b);
10600vec_sum_u128(__vector
unsigned long long __a, __vector
unsigned long long __b) {
10601 return (__vector
unsigned char)(__vector
unsigned __int128)
10602 __builtin_s390_vsumqg(
__a,
__b);
10608vec_sum4(__vector
unsigned char __a, __vector
unsigned char __b) {
10609 return __builtin_s390_vsumb(
__a,
__b);
10613vec_sum4(__vector
unsigned short __a, __vector
unsigned short __b) {
10614 return __builtin_s390_vsumh(
__a,
__b);
10620vec_test_mask(__vector
signed char __a, __vector
unsigned char __b) {
10621 return __builtin_s390_vtm((__vector
unsigned char)
__a,
10622 (__vector
unsigned char)
__b);
10626vec_test_mask(__vector
unsigned char __a, __vector
unsigned char __b) {
10627 return __builtin_s390_vtm(
__a,
__b);
10631vec_test_mask(__vector
signed short __a, __vector
unsigned short __b) {
10632 return __builtin_s390_vtm((__vector
unsigned char)
__a,
10633 (__vector
unsigned char)
__b);
10637vec_test_mask(__vector
unsigned short __a, __vector
unsigned short __b) {
10638 return __builtin_s390_vtm((__vector
unsigned char)
__a,
10639 (__vector
unsigned char)
__b);
10643vec_test_mask(__vector
signed int __a, __vector
unsigned int __b) {
10644 return __builtin_s390_vtm((__vector
unsigned char)
__a,
10645 (__vector
unsigned char)
__b);
10649vec_test_mask(__vector
unsigned int __a, __vector
unsigned int __b) {
10650 return __builtin_s390_vtm((__vector
unsigned char)
__a,
10651 (__vector
unsigned char)
__b);
10655vec_test_mask(__vector
signed long long __a, __vector
unsigned long long __b) {
10656 return __builtin_s390_vtm((__vector
unsigned char)
__a,
10657 (__vector
unsigned char)
__b);
10661vec_test_mask(__vector
unsigned long long __a,
10662 __vector
unsigned long long __b) {
10663 return __builtin_s390_vtm((__vector
unsigned char)
__a,
10664 (__vector
unsigned char)
__b);
10668vec_test_mask(__vector
signed __int128
__a, __vector
unsigned __int128
__b) {
10669 return __builtin_s390_vtm((__vector
unsigned char)
__a,
10670 (__vector
unsigned char)
__b);
10674vec_test_mask(__vector
unsigned __int128
__a,
10675 __vector
unsigned __int128
__b) {
10676 return __builtin_s390_vtm((__vector
unsigned char)
__a,
10677 (__vector
unsigned char)
__b);
10682vec_test_mask(__vector
float __a, __vector
unsigned int __b) {
10683 return __builtin_s390_vtm((__vector
unsigned char)
__a,
10684 (__vector
unsigned char)
__b);
10689vec_test_mask(__vector
double __a, __vector
unsigned long long __b) {
10690 return __builtin_s390_vtm((__vector
unsigned char)
__a,
10691 (__vector
unsigned char)
__b);
10699 return __builtin_s390_vfmasb(
__a,
__b,
__c);
10705 return __builtin_s390_vfmadb(
__a,
__b,
__c);
10712vec_msub(__vector
float __a, __vector
float __b, __vector
float __c) {
10713 return __builtin_s390_vfmssb(
__a,
__b,
__c);
10718vec_msub(__vector
double __a, __vector
double __b, __vector
double __c) {
10719 return __builtin_s390_vfmsdb(
__a,
__b,
__c);
10726vec_nmadd(__vector
float __a, __vector
float __b, __vector
float __c) {
10727 return __builtin_s390_vfnmasb(
__a,
__b,
__c);
10731vec_nmadd(__vector
double __a, __vector
double __b, __vector
double __c) {
10732 return __builtin_s390_vfnmadb(
__a,
__b,
__c);
10741 return __builtin_s390_vfnmssb(
__a,
__b,
__c);
10746 return __builtin_s390_vfnmsdb(
__a,
__b,
__c);
10754vec_sqrt(__vector
float __a) {
10755 return __builtin_s390_vfsqsb(
__a);
10760vec_sqrt(__vector
double __a) {
10761 return __builtin_s390_vfsqdb(
__a);
10767static inline __ATTRS_ai __vector
double
10768vec_ld2f(
const float *__ptr) {
10770 return __builtin_convertvector(*(
const __v2f32 *)__ptr, __vector
double);
10776static inline __ATTRS_ai
void
10777vec_st2f(__vector
double __a,
float *__ptr) {
10779 *(__v2f32 *)__ptr = __builtin_convertvector(
__a, __v2f32);
10786vec_ctd(__vector
signed long long __a,
int __b)
10787 __constant_range(
__b, 0, 31) {
10788 __vector
double __conv = __builtin_convertvector(
__a, __vector
double);
10789 __conv *= ((__vector
double)(__vector
unsigned long long)
10790 ((0x3ffULL -
__b) << 52));
10796vec_ctd(__vector
unsigned long long __a,
int __b)
10797 __constant_range(
__b, 0, 31) {
10798 __vector
double __conv = __builtin_convertvector(
__a, __vector
double);
10799 __conv *= ((__vector
double)(__vector
unsigned long long)
10800 ((0x3ffULL -
__b) << 52));
10808vec_ctsl(__vector
double __a,
int __b)
10809 __constant_range(
__b, 0, 31) {
10810 __a *= ((__vector
double)(__vector
unsigned long long)
10811 ((0x3ffULL +
__b) << 52));
10812 return __builtin_convertvector(
__a, __vector
signed long long);
10819vec_ctul(__vector
double __a,
int __b)
10820 __constant_range(
__b, 0, 31) {
10821 __a *= ((__vector
double)(__vector
unsigned long long)
10822 ((0x3ffULL +
__b) << 52));
10823 return __builtin_convertvector(
__a, __vector
unsigned long long);
10829static inline __ATTRS_ai __vector
double
10830vec_doublee(__vector
float __a) {
10832 __v2f32 __pack = __builtin_shufflevector(
__a,
__a, 0, 2);
10833 return __builtin_convertvector(__pack, __vector
double);
10840static inline __ATTRS_ai __vector
float
10841vec_floate(__vector
double __a) {
10843 __v2f32 __pack = __builtin_convertvector(
__a, __v2f32);
10844 return __builtin_shufflevector(__pack, __pack, 0, -1, 1, -1);
10851vec_double(__vector
signed long long __a) {
10852 return __builtin_convertvector(
__a, __vector
double);
10856vec_double(__vector
unsigned long long __a) {
10857 return __builtin_convertvector(
__a, __vector
double);
10866 return __builtin_convertvector(
__a, __vector
float);
10871 return __builtin_convertvector(
__a, __vector
float);
10880 return __builtin_convertvector(
__a, __vector
signed long long);
10886 return __builtin_convertvector(
__a, __vector
signed int);
10894 return __builtin_convertvector(
__a, __vector
unsigned long long);
10900 return __builtin_convertvector(
__a, __vector
unsigned int);
10909 return __builtin_s390_vfisb(
__a, 4, 6);
10915 return __builtin_s390_vfidb(
__a, 4, 6);
10924 return __builtin_s390_vfisb(
__a, 4, 6);
10931 return __builtin_s390_vfidb(
__a, 4, 6);
10939 return __builtin_s390_vfisb(
__a, 4, 7);
10945 return __builtin_s390_vfidb(
__a, 4, 7);
10954 return __builtin_s390_vfisb(
__a, 4, 7);
10961 return __builtin_s390_vfidb(
__a, 4, 7);
10969 return __builtin_s390_vfisb(
__a, 4, 5);
10975 return __builtin_s390_vfidb(
__a, 4, 5);
10984 return __builtin_s390_vfisb(
__a, 4, 5);
10991 return __builtin_s390_vfidb(
__a, 4, 5);
10998vec_roundc(__vector
float __a) {
10999 return __builtin_s390_vfisb(
__a, 4, 0);
11004vec_roundc(__vector
double __a) {
11005 return __builtin_s390_vfidb(
__a, 4, 0);
11012vec_rint(__vector
float __a) {
11014 return __builtin_s390_vfisb(
__a, 0, 0);
11019vec_rint(__vector
double __a) {
11021 return __builtin_s390_vfidb(
__a, 0, 0);
11029 return __builtin_s390_vfisb(
__a, 4, 4);
11035 return __builtin_s390_vfidb(
__a, 4, 4);
11041extern __ATTRS_o __vector __bool
int
11042vec_fp_test_data_class(__vector
float __a,
int __b,
int *
__c)
11043 __constant_range(
__b, 0, 4095);
11045extern __ATTRS_o __vector __bool
long long
11046vec_fp_test_data_class(__vector
double __a,
int __b,
int *
__c)
11047 __constant_range(
__b, 0, 4095);
11049#define vec_fp_test_data_class(X, Y, Z) \
11050 ((__typeof__((vec_fp_test_data_class)((X), (Y), (Z)))) \
11052 __vector unsigned char __res; \
11053 __vector unsigned char __x = (__vector unsigned char)(X); \
11055 switch (sizeof ((X)[0])) { \
11056 case 4: __res = (__vector unsigned char) \
11057 __builtin_s390_vftcisb((__vector float)__x, (Y), __z); \
11059 default: __res = (__vector unsigned char) \
11060 __builtin_s390_vftcidb((__vector double)__x, (Y), __z); \
11064#define vec_fp_test_data_class(X, Y, Z) \
11065 ((__vector __bool long long)__builtin_s390_vftcidb((X), (Y), (Z)))
11068#define __VEC_CLASS_FP_ZERO_P (1 << 11)
11069#define __VEC_CLASS_FP_ZERO_N (1 << 10)
11070#define __VEC_CLASS_FP_ZERO (__VEC_CLASS_FP_ZERO_P | __VEC_CLASS_FP_ZERO_N)
11071#define __VEC_CLASS_FP_NORMAL_P (1 << 9)
11072#define __VEC_CLASS_FP_NORMAL_N (1 << 8)
11073#define __VEC_CLASS_FP_NORMAL (__VEC_CLASS_FP_NORMAL_P | \
11074 __VEC_CLASS_FP_NORMAL_N)
11075#define __VEC_CLASS_FP_SUBNORMAL_P (1 << 7)
11076#define __VEC_CLASS_FP_SUBNORMAL_N (1 << 6)
11077#define __VEC_CLASS_FP_SUBNORMAL (__VEC_CLASS_FP_SUBNORMAL_P | \
11078 __VEC_CLASS_FP_SUBNORMAL_N)
11079#define __VEC_CLASS_FP_INFINITY_P (1 << 5)
11080#define __VEC_CLASS_FP_INFINITY_N (1 << 4)
11081#define __VEC_CLASS_FP_INFINITY (__VEC_CLASS_FP_INFINITY_P | \
11082 __VEC_CLASS_FP_INFINITY_N)
11083#define __VEC_CLASS_FP_QNAN_P (1 << 3)
11084#define __VEC_CLASS_FP_QNAN_N (1 << 2)
11085#define __VEC_CLASS_FP_QNAN (__VEC_CLASS_FP_QNAN_P | __VEC_CLASS_FP_QNAN_N)
11086#define __VEC_CLASS_FP_SNAN_P (1 << 1)
11087#define __VEC_CLASS_FP_SNAN_N (1 << 0)
11088#define __VEC_CLASS_FP_SNAN (__VEC_CLASS_FP_SNAN_P | __VEC_CLASS_FP_SNAN_N)
11089#define __VEC_CLASS_FP_NAN (__VEC_CLASS_FP_QNAN | __VEC_CLASS_FP_SNAN)
11090#define __VEC_CLASS_FP_NOT_NORMAL (__VEC_CLASS_FP_NAN | \
11091 __VEC_CLASS_FP_SUBNORMAL | \
11092 __VEC_CLASS_FP_ZERO | \
11093 __VEC_CLASS_FP_INFINITY)
11098#define vec_extend_to_fp32_hi(X, W) \
11099 ((__vector float)__builtin_s390_vclfnhs((X), (W)));
11105#define vec_extend_to_fp32_lo(X, W) \
11106 ((__vector float)__builtin_s390_vclfnls((X), (W)));
11112#define vec_round_from_fp32(X, Y, W) \
11113 ((__vector unsigned short)__builtin_s390_vcrnfs((X), (Y), (W)));
11119#define vec_convert_to_fp16(X, W) \
11120 ((__vector unsigned short)__builtin_s390_vcfn((X), (W)));
11126#define vec_convert_from_fp16(X, W) \
11127 ((__vector unsigned short)__builtin_s390_vcnf((X), (W)));
11133vec_cp_until_zero(__vector
signed char __a) {
11134 return ((__vector
signed char)
11135 __builtin_s390_vistrb((__vector
unsigned char)
__a));
11139vec_cp_until_zero(__vector __bool
char __a) {
11140 return ((__vector __bool
char)
11141 __builtin_s390_vistrb((__vector
unsigned char)
__a));
11145vec_cp_until_zero(__vector
unsigned char __a) {
11146 return __builtin_s390_vistrb(
__a);
11150vec_cp_until_zero(__vector
signed short __a) {
11151 return ((__vector
signed short)
11152 __builtin_s390_vistrh((__vector
unsigned short)
__a));
11156vec_cp_until_zero(__vector __bool
short __a) {
11157 return ((__vector __bool
short)
11158 __builtin_s390_vistrh((__vector
unsigned short)
__a));
11162vec_cp_until_zero(__vector
unsigned short __a) {
11163 return __builtin_s390_vistrh(
__a);
11167vec_cp_until_zero(__vector
signed int __a) {
11168 return ((__vector
signed int)
11169 __builtin_s390_vistrf((__vector
unsigned int)
__a));
11173vec_cp_until_zero(__vector __bool
int __a) {
11174 return ((__vector __bool
int)
11175 __builtin_s390_vistrf((__vector
unsigned int)
__a));
11179vec_cp_until_zero(__vector
unsigned int __a) {
11180 return __builtin_s390_vistrf(
__a);
11186vec_cp_until_zero_cc(__vector
signed char __a,
int *__cc) {
11187 return (__vector
signed char)
11188 __builtin_s390_vistrbs((__vector
unsigned char)
__a, __cc);
11192vec_cp_until_zero_cc(__vector __bool
char __a,
int *__cc) {
11193 return (__vector __bool
char)
11194 __builtin_s390_vistrbs((__vector
unsigned char)
__a, __cc);
11198vec_cp_until_zero_cc(__vector
unsigned char __a,
int *__cc) {
11199 return __builtin_s390_vistrbs(
__a, __cc);
11203vec_cp_until_zero_cc(__vector
signed short __a,
int *__cc) {
11204 return (__vector
signed short)
11205 __builtin_s390_vistrhs((__vector
unsigned short)
__a, __cc);
11209vec_cp_until_zero_cc(__vector __bool
short __a,
int *__cc) {
11210 return (__vector __bool
short)
11211 __builtin_s390_vistrhs((__vector
unsigned short)
__a, __cc);
11215vec_cp_until_zero_cc(__vector
unsigned short __a,
int *__cc) {
11216 return __builtin_s390_vistrhs(
__a, __cc);
11220vec_cp_until_zero_cc(__vector
signed int __a,
int *__cc) {
11221 return (__vector
signed int)
11222 __builtin_s390_vistrfs((__vector
unsigned int)
__a, __cc);
11226vec_cp_until_zero_cc(__vector __bool
int __a,
int *__cc) {
11227 return (__vector __bool
int)
11228 __builtin_s390_vistrfs((__vector
unsigned int)
__a, __cc);
11232vec_cp_until_zero_cc(__vector
unsigned int __a,
int *__cc) {
11233 return __builtin_s390_vistrfs(
__a, __cc);
11239vec_cmpeq_idx(__vector
signed char __a, __vector
signed char __b) {
11240 return (__vector
signed char)
11241 __builtin_s390_vfeeb((__vector
unsigned char)
__a,
11242 (__vector
unsigned char)
__b);
11246vec_cmpeq_idx(__vector __bool
char __a, __vector __bool
char __b) {
11247 return __builtin_s390_vfeeb((__vector
unsigned char)
__a,
11248 (__vector
unsigned char)
__b);
11252vec_cmpeq_idx(__vector
unsigned char __a, __vector
unsigned char __b) {
11253 return __builtin_s390_vfeeb(
__a,
__b);
11257vec_cmpeq_idx(__vector
signed short __a, __vector
signed short __b) {
11258 return (__vector
signed short)
11259 __builtin_s390_vfeeh((__vector
unsigned short)
__a,
11260 (__vector
unsigned short)
__b);
11264vec_cmpeq_idx(__vector __bool
short __a, __vector __bool
short __b) {
11265 return __builtin_s390_vfeeh((__vector
unsigned short)
__a,
11266 (__vector
unsigned short)
__b);
11270vec_cmpeq_idx(__vector
unsigned short __a, __vector
unsigned short __b) {
11271 return __builtin_s390_vfeeh(
__a,
__b);
11275vec_cmpeq_idx(__vector
signed int __a, __vector
signed int __b) {
11276 return (__vector
signed int)
11277 __builtin_s390_vfeef((__vector
unsigned int)
__a,
11278 (__vector
unsigned int)
__b);
11282vec_cmpeq_idx(__vector __bool
int __a, __vector __bool
int __b) {
11283 return __builtin_s390_vfeef((__vector
unsigned int)
__a,
11284 (__vector
unsigned int)
__b);
11288vec_cmpeq_idx(__vector
unsigned int __a, __vector
unsigned int __b) {
11289 return __builtin_s390_vfeef(
__a,
__b);
11295vec_cmpeq_idx_cc(__vector
signed char __a, __vector
signed char __b,
int *__cc) {
11296 return (__vector
signed char)
11297 __builtin_s390_vfeebs((__vector
unsigned char)
__a,
11298 (__vector
unsigned char)
__b, __cc);
11302vec_cmpeq_idx_cc(__vector __bool
char __a, __vector __bool
char __b,
int *__cc) {
11303 return __builtin_s390_vfeebs((__vector
unsigned char)
__a,
11304 (__vector
unsigned char)
__b, __cc);
11308vec_cmpeq_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
11310 return __builtin_s390_vfeebs(
__a,
__b, __cc);
11314vec_cmpeq_idx_cc(__vector
signed short __a, __vector
signed short __b,
11316 return (__vector
signed short)
11317 __builtin_s390_vfeehs((__vector
unsigned short)
__a,
11318 (__vector
unsigned short)
__b, __cc);
11322vec_cmpeq_idx_cc(__vector __bool
short __a, __vector __bool
short __b,
int *__cc) {
11323 return __builtin_s390_vfeehs((__vector
unsigned short)
__a,
11324 (__vector
unsigned short)
__b, __cc);
11328vec_cmpeq_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
11330 return __builtin_s390_vfeehs(
__a,
__b, __cc);
11334vec_cmpeq_idx_cc(__vector
signed int __a, __vector
signed int __b,
int *__cc) {
11335 return (__vector
signed int)
11336 __builtin_s390_vfeefs((__vector
unsigned int)
__a,
11337 (__vector
unsigned int)
__b, __cc);
11341vec_cmpeq_idx_cc(__vector __bool
int __a, __vector __bool
int __b,
int *__cc) {
11342 return __builtin_s390_vfeefs((__vector
unsigned int)
__a,
11343 (__vector
unsigned int)
__b, __cc);
11347vec_cmpeq_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
11349 return __builtin_s390_vfeefs(
__a,
__b, __cc);
11355vec_cmpeq_or_0_idx(__vector
signed char __a, __vector
signed char __b) {
11356 return (__vector
signed char)
11357 __builtin_s390_vfeezb((__vector
unsigned char)
__a,
11358 (__vector
unsigned char)
__b);
11362vec_cmpeq_or_0_idx(__vector __bool
char __a, __vector __bool
char __b) {
11363 return __builtin_s390_vfeezb((__vector
unsigned char)
__a,
11364 (__vector
unsigned char)
__b);
11368vec_cmpeq_or_0_idx(__vector
unsigned char __a, __vector
unsigned char __b) {
11369 return __builtin_s390_vfeezb(
__a,
__b);
11373vec_cmpeq_or_0_idx(__vector
signed short __a, __vector
signed short __b) {
11374 return (__vector
signed short)
11375 __builtin_s390_vfeezh((__vector
unsigned short)
__a,
11376 (__vector
unsigned short)
__b);
11380vec_cmpeq_or_0_idx(__vector __bool
short __a, __vector __bool
short __b) {
11381 return __builtin_s390_vfeezh((__vector
unsigned short)
__a,
11382 (__vector
unsigned short)
__b);
11386vec_cmpeq_or_0_idx(__vector
unsigned short __a, __vector
unsigned short __b) {
11387 return __builtin_s390_vfeezh(
__a,
__b);
11391vec_cmpeq_or_0_idx(__vector
signed int __a, __vector
signed int __b) {
11392 return (__vector
signed int)
11393 __builtin_s390_vfeezf((__vector
unsigned int)
__a,
11394 (__vector
unsigned int)
__b);
11398vec_cmpeq_or_0_idx(__vector __bool
int __a, __vector __bool
int __b) {
11399 return __builtin_s390_vfeezf((__vector
unsigned int)
__a,
11400 (__vector
unsigned int)
__b);
11404vec_cmpeq_or_0_idx(__vector
unsigned int __a, __vector
unsigned int __b) {
11405 return __builtin_s390_vfeezf(
__a,
__b);
11411vec_cmpeq_or_0_idx_cc(__vector
signed char __a, __vector
signed char __b,
11413 return (__vector
signed char)
11414 __builtin_s390_vfeezbs((__vector
unsigned char)
__a,
11415 (__vector
unsigned char)
__b, __cc);
11419vec_cmpeq_or_0_idx_cc(__vector __bool
char __a, __vector __bool
char __b,
11421 return __builtin_s390_vfeezbs((__vector
unsigned char)
__a,
11422 (__vector
unsigned char)
__b, __cc);
11426vec_cmpeq_or_0_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
11428 return __builtin_s390_vfeezbs(
__a,
__b, __cc);
11432vec_cmpeq_or_0_idx_cc(__vector
signed short __a, __vector
signed short __b,
11434 return (__vector
signed short)
11435 __builtin_s390_vfeezhs((__vector
unsigned short)
__a,
11436 (__vector
unsigned short)
__b, __cc);
11440vec_cmpeq_or_0_idx_cc(__vector __bool
short __a, __vector __bool
short __b,
11442 return __builtin_s390_vfeezhs((__vector
unsigned short)
__a,
11443 (__vector
unsigned short)
__b, __cc);
11447vec_cmpeq_or_0_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
11449 return __builtin_s390_vfeezhs(
__a,
__b, __cc);
11453vec_cmpeq_or_0_idx_cc(__vector
signed int __a, __vector
signed int __b,
11455 return (__vector
signed int)
11456 __builtin_s390_vfeezfs((__vector
unsigned int)
__a,
11457 (__vector
unsigned int)
__b, __cc);
11461vec_cmpeq_or_0_idx_cc(__vector __bool
int __a, __vector __bool
int __b,
11463 return __builtin_s390_vfeezfs((__vector
unsigned int)
__a,
11464 (__vector
unsigned int)
__b, __cc);
11468vec_cmpeq_or_0_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
11470 return __builtin_s390_vfeezfs(
__a,
__b, __cc);
11476vec_cmpne_idx(__vector
signed char __a, __vector
signed char __b) {
11477 return (__vector
signed char)
11478 __builtin_s390_vfeneb((__vector
unsigned char)
__a,
11479 (__vector
unsigned char)
__b);
11483vec_cmpne_idx(__vector __bool
char __a, __vector __bool
char __b) {
11484 return __builtin_s390_vfeneb((__vector
unsigned char)
__a,
11485 (__vector
unsigned char)
__b);
11489vec_cmpne_idx(__vector
unsigned char __a, __vector
unsigned char __b) {
11490 return __builtin_s390_vfeneb(
__a,
__b);
11494vec_cmpne_idx(__vector
signed short __a, __vector
signed short __b) {
11495 return (__vector
signed short)
11496 __builtin_s390_vfeneh((__vector
unsigned short)
__a,
11497 (__vector
unsigned short)
__b);
11501vec_cmpne_idx(__vector __bool
short __a, __vector __bool
short __b) {
11502 return __builtin_s390_vfeneh((__vector
unsigned short)
__a,
11503 (__vector
unsigned short)
__b);
11507vec_cmpne_idx(__vector
unsigned short __a, __vector
unsigned short __b) {
11508 return __builtin_s390_vfeneh(
__a,
__b);
11512vec_cmpne_idx(__vector
signed int __a, __vector
signed int __b) {
11513 return (__vector
signed int)
11514 __builtin_s390_vfenef((__vector
unsigned int)
__a,
11515 (__vector
unsigned int)
__b);
11519vec_cmpne_idx(__vector __bool
int __a, __vector __bool
int __b) {
11520 return __builtin_s390_vfenef((__vector
unsigned int)
__a,
11521 (__vector
unsigned int)
__b);
11525vec_cmpne_idx(__vector
unsigned int __a, __vector
unsigned int __b) {
11526 return __builtin_s390_vfenef(
__a,
__b);
11532vec_cmpne_idx_cc(__vector
signed char __a, __vector
signed char __b,
int *__cc) {
11533 return (__vector
signed char)
11534 __builtin_s390_vfenebs((__vector
unsigned char)
__a,
11535 (__vector
unsigned char)
__b, __cc);
11539vec_cmpne_idx_cc(__vector __bool
char __a, __vector __bool
char __b,
int *__cc) {
11540 return __builtin_s390_vfenebs((__vector
unsigned char)
__a,
11541 (__vector
unsigned char)
__b, __cc);
11545vec_cmpne_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
11547 return __builtin_s390_vfenebs(
__a,
__b, __cc);
11551vec_cmpne_idx_cc(__vector
signed short __a, __vector
signed short __b,
11553 return (__vector
signed short)
11554 __builtin_s390_vfenehs((__vector
unsigned short)
__a,
11555 (__vector
unsigned short)
__b, __cc);
11559vec_cmpne_idx_cc(__vector __bool
short __a, __vector __bool
short __b,
11561 return __builtin_s390_vfenehs((__vector
unsigned short)
__a,
11562 (__vector
unsigned short)
__b, __cc);
11566vec_cmpne_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
11568 return __builtin_s390_vfenehs(
__a,
__b, __cc);
11572vec_cmpne_idx_cc(__vector
signed int __a, __vector
signed int __b,
int *__cc) {
11573 return (__vector
signed int)
11574 __builtin_s390_vfenefs((__vector
unsigned int)
__a,
11575 (__vector
unsigned int)
__b, __cc);
11579vec_cmpne_idx_cc(__vector __bool
int __a, __vector __bool
int __b,
int *__cc) {
11580 return __builtin_s390_vfenefs((__vector
unsigned int)
__a,
11581 (__vector
unsigned int)
__b, __cc);
11585vec_cmpne_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
11587 return __builtin_s390_vfenefs(
__a,
__b, __cc);
11593vec_cmpne_or_0_idx(__vector
signed char __a, __vector
signed char __b) {
11594 return (__vector
signed char)
11595 __builtin_s390_vfenezb((__vector
unsigned char)
__a,
11596 (__vector
unsigned char)
__b);
11600vec_cmpne_or_0_idx(__vector __bool
char __a, __vector __bool
char __b) {
11601 return __builtin_s390_vfenezb((__vector
unsigned char)
__a,
11602 (__vector
unsigned char)
__b);
11606vec_cmpne_or_0_idx(__vector
unsigned char __a, __vector
unsigned char __b) {
11607 return __builtin_s390_vfenezb(
__a,
__b);
11611vec_cmpne_or_0_idx(__vector
signed short __a, __vector
signed short __b) {
11612 return (__vector
signed short)
11613 __builtin_s390_vfenezh((__vector
unsigned short)
__a,
11614 (__vector
unsigned short)
__b);
11618vec_cmpne_or_0_idx(__vector __bool
short __a, __vector __bool
short __b) {
11619 return __builtin_s390_vfenezh((__vector
unsigned short)
__a,
11620 (__vector
unsigned short)
__b);
11624vec_cmpne_or_0_idx(__vector
unsigned short __a, __vector
unsigned short __b) {
11625 return __builtin_s390_vfenezh(
__a,
__b);
11629vec_cmpne_or_0_idx(__vector
signed int __a, __vector
signed int __b) {
11630 return (__vector
signed int)
11631 __builtin_s390_vfenezf((__vector
unsigned int)
__a,
11632 (__vector
unsigned int)
__b);
11636vec_cmpne_or_0_idx(__vector __bool
int __a, __vector __bool
int __b) {
11637 return __builtin_s390_vfenezf((__vector
unsigned int)
__a,
11638 (__vector
unsigned int)
__b);
11642vec_cmpne_or_0_idx(__vector
unsigned int __a, __vector
unsigned int __b) {
11643 return __builtin_s390_vfenezf(
__a,
__b);
11649vec_cmpne_or_0_idx_cc(__vector
signed char __a, __vector
signed char __b,
11651 return (__vector
signed char)
11652 __builtin_s390_vfenezbs((__vector
unsigned char)
__a,
11653 (__vector
unsigned char)
__b, __cc);
11657vec_cmpne_or_0_idx_cc(__vector __bool
char __a, __vector __bool
char __b,
11659 return __builtin_s390_vfenezbs((__vector
unsigned char)
__a,
11660 (__vector
unsigned char)
__b, __cc);
11664vec_cmpne_or_0_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
11666 return __builtin_s390_vfenezbs(
__a,
__b, __cc);
11670vec_cmpne_or_0_idx_cc(__vector
signed short __a, __vector
signed short __b,
11672 return (__vector
signed short)
11673 __builtin_s390_vfenezhs((__vector
unsigned short)
__a,
11674 (__vector
unsigned short)
__b, __cc);
11678vec_cmpne_or_0_idx_cc(__vector __bool
short __a, __vector __bool
short __b,
11680 return __builtin_s390_vfenezhs((__vector
unsigned short)
__a,
11681 (__vector
unsigned short)
__b, __cc);
11685vec_cmpne_or_0_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
11687 return __builtin_s390_vfenezhs(
__a,
__b, __cc);
11691vec_cmpne_or_0_idx_cc(__vector
signed int __a, __vector
signed int __b,
11693 return (__vector
signed int)
11694 __builtin_s390_vfenezfs((__vector
unsigned int)
__a,
11695 (__vector
unsigned int)
__b, __cc);
11699vec_cmpne_or_0_idx_cc(__vector __bool
int __a, __vector __bool
int __b,
11701 return __builtin_s390_vfenezfs((__vector
unsigned int)
__a,
11702 (__vector
unsigned int)
__b, __cc);
11706vec_cmpne_or_0_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
11708 return __builtin_s390_vfenezfs(
__a,
__b, __cc);
11714vec_cmprg(__vector
unsigned char __a, __vector
unsigned char __b,
11715 __vector
unsigned char __c) {
11716 return (__vector __bool
char)__builtin_s390_vstrcb(
__a,
__b,
__c, 4);
11720vec_cmprg(__vector
unsigned short __a, __vector
unsigned short __b,
11721 __vector
unsigned short __c) {
11722 return (__vector __bool
short)__builtin_s390_vstrch(
__a,
__b,
__c, 4);
11726vec_cmprg(__vector
unsigned int __a, __vector
unsigned int __b,
11727 __vector
unsigned int __c) {
11728 return (__vector __bool
int)__builtin_s390_vstrcf(
__a,
__b,
__c, 4);
11734vec_cmprg_cc(__vector
unsigned char __a, __vector
unsigned char __b,
11735 __vector
unsigned char __c,
int *__cc) {
11736 return (__vector __bool
char)__builtin_s390_vstrcbs(
__a,
__b,
__c, 4, __cc);
11740vec_cmprg_cc(__vector
unsigned short __a, __vector
unsigned short __b,
11741 __vector
unsigned short __c,
int *__cc) {
11742 return (__vector __bool
short)__builtin_s390_vstrchs(
__a,
__b,
__c, 4, __cc);
11746vec_cmprg_cc(__vector
unsigned int __a, __vector
unsigned int __b,
11747 __vector
unsigned int __c,
int *__cc) {
11748 return (__vector __bool
int)__builtin_s390_vstrcfs(
__a,
__b,
__c, 4, __cc);
11754vec_cmprg_idx(__vector
unsigned char __a, __vector
unsigned char __b,
11755 __vector
unsigned char __c) {
11756 return __builtin_s390_vstrcb(
__a,
__b,
__c, 0);
11760vec_cmprg_idx(__vector
unsigned short __a, __vector
unsigned short __b,
11761 __vector
unsigned short __c) {
11762 return __builtin_s390_vstrch(
__a,
__b,
__c, 0);
11766vec_cmprg_idx(__vector
unsigned int __a, __vector
unsigned int __b,
11767 __vector
unsigned int __c) {
11768 return __builtin_s390_vstrcf(
__a,
__b,
__c, 0);
11774vec_cmprg_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
11775 __vector
unsigned char __c,
int *__cc) {
11776 return __builtin_s390_vstrcbs(
__a,
__b,
__c, 0, __cc);
11780vec_cmprg_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
11781 __vector
unsigned short __c,
int *__cc) {
11782 return __builtin_s390_vstrchs(
__a,
__b,
__c, 0, __cc);
11786vec_cmprg_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
11787 __vector
unsigned int __c,
int *__cc) {
11788 return __builtin_s390_vstrcfs(
__a,
__b,
__c, 0, __cc);
11794vec_cmprg_or_0_idx(__vector
unsigned char __a, __vector
unsigned char __b,
11795 __vector
unsigned char __c) {
11796 return __builtin_s390_vstrczb(
__a,
__b,
__c, 0);
11800vec_cmprg_or_0_idx(__vector
unsigned short __a, __vector
unsigned short __b,
11801 __vector
unsigned short __c) {
11802 return __builtin_s390_vstrczh(
__a,
__b,
__c, 0);
11806vec_cmprg_or_0_idx(__vector
unsigned int __a, __vector
unsigned int __b,
11807 __vector
unsigned int __c) {
11808 return __builtin_s390_vstrczf(
__a,
__b,
__c, 0);
11814vec_cmprg_or_0_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
11815 __vector
unsigned char __c,
int *__cc) {
11816 return __builtin_s390_vstrczbs(
__a,
__b,
__c, 0, __cc);
11820vec_cmprg_or_0_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
11821 __vector
unsigned short __c,
int *__cc) {
11822 return __builtin_s390_vstrczhs(
__a,
__b,
__c, 0, __cc);
11826vec_cmprg_or_0_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
11827 __vector
unsigned int __c,
int *__cc) {
11828 return __builtin_s390_vstrczfs(
__a,
__b,
__c, 0, __cc);
11834vec_cmpnrg(__vector
unsigned char __a, __vector
unsigned char __b,
11835 __vector
unsigned char __c) {
11836 return (__vector __bool
char)__builtin_s390_vstrcb(
__a,
__b,
__c, 12);
11840vec_cmpnrg(__vector
unsigned short __a, __vector
unsigned short __b,
11841 __vector
unsigned short __c) {
11842 return (__vector __bool
short)__builtin_s390_vstrch(
__a,
__b,
__c, 12);
11846vec_cmpnrg(__vector
unsigned int __a, __vector
unsigned int __b,
11847 __vector
unsigned int __c) {
11848 return (__vector __bool
int)__builtin_s390_vstrcf(
__a,
__b,
__c, 12);
11854vec_cmpnrg_cc(__vector
unsigned char __a, __vector
unsigned char __b,
11855 __vector
unsigned char __c,
int *__cc) {
11856 return (__vector __bool
char)
11857 __builtin_s390_vstrcbs(
__a,
__b,
__c, 12, __cc);
11861vec_cmpnrg_cc(__vector
unsigned short __a, __vector
unsigned short __b,
11862 __vector
unsigned short __c,
int *__cc) {
11863 return (__vector __bool
short)
11864 __builtin_s390_vstrchs(
__a,
__b,
__c, 12, __cc);
11868vec_cmpnrg_cc(__vector
unsigned int __a, __vector
unsigned int __b,
11869 __vector
unsigned int __c,
int *__cc) {
11870 return (__vector __bool
int)
11871 __builtin_s390_vstrcfs(
__a,
__b,
__c, 12, __cc);
11877vec_cmpnrg_idx(__vector
unsigned char __a, __vector
unsigned char __b,
11878 __vector
unsigned char __c) {
11879 return __builtin_s390_vstrcb(
__a,
__b,
__c, 8);
11883vec_cmpnrg_idx(__vector
unsigned short __a, __vector
unsigned short __b,
11884 __vector
unsigned short __c) {
11885 return __builtin_s390_vstrch(
__a,
__b,
__c, 8);
11889vec_cmpnrg_idx(__vector
unsigned int __a, __vector
unsigned int __b,
11890 __vector
unsigned int __c) {
11891 return __builtin_s390_vstrcf(
__a,
__b,
__c, 8);
11897vec_cmpnrg_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
11898 __vector
unsigned char __c,
int *__cc) {
11899 return __builtin_s390_vstrcbs(
__a,
__b,
__c, 8, __cc);
11903vec_cmpnrg_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
11904 __vector
unsigned short __c,
int *__cc) {
11905 return __builtin_s390_vstrchs(
__a,
__b,
__c, 8, __cc);
11909vec_cmpnrg_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
11910 __vector
unsigned int __c,
int *__cc) {
11911 return __builtin_s390_vstrcfs(
__a,
__b,
__c, 8, __cc);
11917vec_cmpnrg_or_0_idx(__vector
unsigned char __a, __vector
unsigned char __b,
11918 __vector
unsigned char __c) {
11919 return __builtin_s390_vstrczb(
__a,
__b,
__c, 8);
11923vec_cmpnrg_or_0_idx(__vector
unsigned short __a, __vector
unsigned short __b,
11924 __vector
unsigned short __c) {
11925 return __builtin_s390_vstrczh(
__a,
__b,
__c, 8);
11929vec_cmpnrg_or_0_idx(__vector
unsigned int __a, __vector
unsigned int __b,
11930 __vector
unsigned int __c) {
11931 return __builtin_s390_vstrczf(
__a,
__b,
__c, 8);
11937vec_cmpnrg_or_0_idx_cc(__vector
unsigned char __a,
11938 __vector
unsigned char __b,
11939 __vector
unsigned char __c,
int *__cc) {
11940 return __builtin_s390_vstrczbs(
__a,
__b,
__c, 8, __cc);
11944vec_cmpnrg_or_0_idx_cc(__vector
unsigned short __a,
11945 __vector
unsigned short __b,
11946 __vector
unsigned short __c,
int *__cc) {
11947 return __builtin_s390_vstrczhs(
__a,
__b,
__c, 8, __cc);
11951vec_cmpnrg_or_0_idx_cc(__vector
unsigned int __a,
11952 __vector
unsigned int __b,
11953 __vector
unsigned int __c,
int *__cc) {
11954 return __builtin_s390_vstrczfs(
__a,
__b,
__c, 8, __cc);
11960vec_find_any_eq(__vector
signed char __a, __vector
signed char __b) {
11961 return (__vector __bool
char)
11962 __builtin_s390_vfaeb((__vector
unsigned char)
__a,
11963 (__vector
unsigned char)
__b, 4);
11967vec_find_any_eq(__vector __bool
char __a, __vector __bool
char __b) {
11968 return (__vector __bool
char)
11969 __builtin_s390_vfaeb((__vector
unsigned char)
__a,
11970 (__vector
unsigned char)
__b, 4);
11974vec_find_any_eq(__vector
unsigned char __a, __vector
unsigned char __b) {
11975 return (__vector __bool
char)__builtin_s390_vfaeb(
__a,
__b, 4);
11979vec_find_any_eq(__vector
signed short __a, __vector
signed short __b) {
11980 return (__vector __bool
short)
11981 __builtin_s390_vfaeh((__vector
unsigned short)
__a,
11982 (__vector
unsigned short)
__b, 4);
11986vec_find_any_eq(__vector __bool
short __a, __vector __bool
short __b) {
11987 return (__vector __bool
short)
11988 __builtin_s390_vfaeh((__vector
unsigned short)
__a,
11989 (__vector
unsigned short)
__b, 4);
11993vec_find_any_eq(__vector
unsigned short __a, __vector
unsigned short __b) {
11994 return (__vector __bool
short)__builtin_s390_vfaeh(
__a,
__b, 4);
11998vec_find_any_eq(__vector
signed int __a, __vector
signed int __b) {
11999 return (__vector __bool
int)
12000 __builtin_s390_vfaef((__vector
unsigned int)
__a,
12001 (__vector
unsigned int)
__b, 4);
12005vec_find_any_eq(__vector __bool
int __a, __vector __bool
int __b) {
12006 return (__vector __bool
int)
12007 __builtin_s390_vfaef((__vector
unsigned int)
__a,
12008 (__vector
unsigned int)
__b, 4);
12012vec_find_any_eq(__vector
unsigned int __a, __vector
unsigned int __b) {
12013 return (__vector __bool
int)__builtin_s390_vfaef(
__a,
__b, 4);
12019vec_find_any_eq_cc(__vector
signed char __a, __vector
signed char __b,
12021 return (__vector __bool
char)
12022 __builtin_s390_vfaebs((__vector
unsigned char)
__a,
12023 (__vector
unsigned char)
__b, 4, __cc);
12027vec_find_any_eq_cc(__vector __bool
char __a, __vector __bool
char __b,
12029 return (__vector __bool
char)
12030 __builtin_s390_vfaebs((__vector
unsigned char)
__a,
12031 (__vector
unsigned char)
__b, 4, __cc);
12035vec_find_any_eq_cc(__vector
unsigned char __a, __vector
unsigned char __b,
12037 return (__vector __bool
char)__builtin_s390_vfaebs(
__a,
__b, 4, __cc);
12041vec_find_any_eq_cc(__vector
signed short __a, __vector
signed short __b,
12043 return (__vector __bool
short)
12044 __builtin_s390_vfaehs((__vector
unsigned short)
__a,
12045 (__vector
unsigned short)
__b, 4, __cc);
12049vec_find_any_eq_cc(__vector __bool
short __a, __vector __bool
short __b,
12051 return (__vector __bool
short)
12052 __builtin_s390_vfaehs((__vector
unsigned short)
__a,
12053 (__vector
unsigned short)
__b, 4, __cc);
12057vec_find_any_eq_cc(__vector
unsigned short __a, __vector
unsigned short __b,
12059 return (__vector __bool
short)__builtin_s390_vfaehs(
__a,
__b, 4, __cc);
12063vec_find_any_eq_cc(__vector
signed int __a, __vector
signed int __b,
12065 return (__vector __bool
int)
12066 __builtin_s390_vfaefs((__vector
unsigned int)
__a,
12067 (__vector
unsigned int)
__b, 4, __cc);
12071vec_find_any_eq_cc(__vector __bool
int __a, __vector __bool
int __b,
12073 return (__vector __bool
int)
12074 __builtin_s390_vfaefs((__vector
unsigned int)
__a,
12075 (__vector
unsigned int)
__b, 4, __cc);
12079vec_find_any_eq_cc(__vector
unsigned int __a, __vector
unsigned int __b,
12081 return (__vector __bool
int)__builtin_s390_vfaefs(
__a,
__b, 4, __cc);
12087vec_find_any_eq_idx(__vector
signed char __a, __vector
signed char __b) {
12088 return (__vector
signed char)
12089 __builtin_s390_vfaeb((__vector
unsigned char)
__a,
12090 (__vector
unsigned char)
__b, 0);
12094vec_find_any_eq_idx(__vector __bool
char __a, __vector __bool
char __b) {
12095 return __builtin_s390_vfaeb((__vector
unsigned char)
__a,
12096 (__vector
unsigned char)
__b, 0);
12100vec_find_any_eq_idx(__vector
unsigned char __a, __vector
unsigned char __b) {
12101 return __builtin_s390_vfaeb(
__a,
__b, 0);
12105vec_find_any_eq_idx(__vector
signed short __a, __vector
signed short __b) {
12106 return (__vector
signed short)
12107 __builtin_s390_vfaeh((__vector
unsigned short)
__a,
12108 (__vector
unsigned short)
__b, 0);
12112vec_find_any_eq_idx(__vector __bool
short __a, __vector __bool
short __b) {
12113 return __builtin_s390_vfaeh((__vector
unsigned short)
__a,
12114 (__vector
unsigned short)
__b, 0);
12118vec_find_any_eq_idx(__vector
unsigned short __a, __vector
unsigned short __b) {
12119 return __builtin_s390_vfaeh(
__a,
__b, 0);
12123vec_find_any_eq_idx(__vector
signed int __a, __vector
signed int __b) {
12124 return (__vector
signed int)
12125 __builtin_s390_vfaef((__vector
unsigned int)
__a,
12126 (__vector
unsigned int)
__b, 0);
12130vec_find_any_eq_idx(__vector __bool
int __a, __vector __bool
int __b) {
12131 return __builtin_s390_vfaef((__vector
unsigned int)
__a,
12132 (__vector
unsigned int)
__b, 0);
12136vec_find_any_eq_idx(__vector
unsigned int __a, __vector
unsigned int __b) {
12137 return __builtin_s390_vfaef(
__a,
__b, 0);
12143vec_find_any_eq_idx_cc(__vector
signed char __a,
12144 __vector
signed char __b,
int *__cc) {
12145 return (__vector
signed char)
12146 __builtin_s390_vfaebs((__vector
unsigned char)
__a,
12147 (__vector
unsigned char)
__b, 0, __cc);
12151vec_find_any_eq_idx_cc(__vector __bool
char __a,
12152 __vector __bool
char __b,
int *__cc) {
12153 return __builtin_s390_vfaebs((__vector
unsigned char)
__a,
12154 (__vector
unsigned char)
__b, 0, __cc);
12158vec_find_any_eq_idx_cc(__vector
unsigned char __a,
12159 __vector
unsigned char __b,
int *__cc) {
12160 return __builtin_s390_vfaebs(
__a,
__b, 0, __cc);
12164vec_find_any_eq_idx_cc(__vector
signed short __a,
12165 __vector
signed short __b,
int *__cc) {
12166 return (__vector
signed short)
12167 __builtin_s390_vfaehs((__vector
unsigned short)
__a,
12168 (__vector
unsigned short)
__b, 0, __cc);
12172vec_find_any_eq_idx_cc(__vector __bool
short __a,
12173 __vector __bool
short __b,
int *__cc) {
12174 return __builtin_s390_vfaehs((__vector
unsigned short)
__a,
12175 (__vector
unsigned short)
__b, 0, __cc);
12179vec_find_any_eq_idx_cc(__vector
unsigned short __a,
12180 __vector
unsigned short __b,
int *__cc) {
12181 return __builtin_s390_vfaehs(
__a,
__b, 0, __cc);
12185vec_find_any_eq_idx_cc(__vector
signed int __a,
12186 __vector
signed int __b,
int *__cc) {
12187 return (__vector
signed int)
12188 __builtin_s390_vfaefs((__vector
unsigned int)
__a,
12189 (__vector
unsigned int)
__b, 0, __cc);
12193vec_find_any_eq_idx_cc(__vector __bool
int __a,
12194 __vector __bool
int __b,
int *__cc) {
12195 return __builtin_s390_vfaefs((__vector
unsigned int)
__a,
12196 (__vector
unsigned int)
__b, 0, __cc);
12200vec_find_any_eq_idx_cc(__vector
unsigned int __a,
12201 __vector
unsigned int __b,
int *__cc) {
12202 return __builtin_s390_vfaefs(
__a,
__b, 0, __cc);
12208vec_find_any_eq_or_0_idx(__vector
signed char __a,
12209 __vector
signed char __b) {
12210 return (__vector
signed char)
12211 __builtin_s390_vfaezb((__vector
unsigned char)
__a,
12212 (__vector
unsigned char)
__b, 0);
12216vec_find_any_eq_or_0_idx(__vector __bool
char __a,
12217 __vector __bool
char __b) {
12218 return __builtin_s390_vfaezb((__vector
unsigned char)
__a,
12219 (__vector
unsigned char)
__b, 0);
12223vec_find_any_eq_or_0_idx(__vector
unsigned char __a,
12224 __vector
unsigned char __b) {
12225 return __builtin_s390_vfaezb(
__a,
__b, 0);
12229vec_find_any_eq_or_0_idx(__vector
signed short __a,
12230 __vector
signed short __b) {
12231 return (__vector
signed short)
12232 __builtin_s390_vfaezh((__vector
unsigned short)
__a,
12233 (__vector
unsigned short)
__b, 0);
12237vec_find_any_eq_or_0_idx(__vector __bool
short __a,
12238 __vector __bool
short __b) {
12239 return __builtin_s390_vfaezh((__vector
unsigned short)
__a,
12240 (__vector
unsigned short)
__b, 0);
12244vec_find_any_eq_or_0_idx(__vector
unsigned short __a,
12245 __vector
unsigned short __b) {
12246 return __builtin_s390_vfaezh(
__a,
__b, 0);
12250vec_find_any_eq_or_0_idx(__vector
signed int __a,
12251 __vector
signed int __b) {
12252 return (__vector
signed int)
12253 __builtin_s390_vfaezf((__vector
unsigned int)
__a,
12254 (__vector
unsigned int)
__b, 0);
12258vec_find_any_eq_or_0_idx(__vector __bool
int __a,
12259 __vector __bool
int __b) {
12260 return __builtin_s390_vfaezf((__vector
unsigned int)
__a,
12261 (__vector
unsigned int)
__b, 0);
12265vec_find_any_eq_or_0_idx(__vector
unsigned int __a,
12266 __vector
unsigned int __b) {
12267 return __builtin_s390_vfaezf(
__a,
__b, 0);
12273vec_find_any_eq_or_0_idx_cc(__vector
signed char __a,
12274 __vector
signed char __b,
int *__cc) {
12275 return (__vector
signed char)
12276 __builtin_s390_vfaezbs((__vector
unsigned char)
__a,
12277 (__vector
unsigned char)
__b, 0, __cc);
12281vec_find_any_eq_or_0_idx_cc(__vector __bool
char __a,
12282 __vector __bool
char __b,
int *__cc) {
12283 return __builtin_s390_vfaezbs((__vector
unsigned char)
__a,
12284 (__vector
unsigned char)
__b, 0, __cc);
12288vec_find_any_eq_or_0_idx_cc(__vector
unsigned char __a,
12289 __vector
unsigned char __b,
int *__cc) {
12290 return __builtin_s390_vfaezbs(
__a,
__b, 0, __cc);
12294vec_find_any_eq_or_0_idx_cc(__vector
signed short __a,
12295 __vector
signed short __b,
int *__cc) {
12296 return (__vector
signed short)
12297 __builtin_s390_vfaezhs((__vector
unsigned short)
__a,
12298 (__vector
unsigned short)
__b, 0, __cc);
12302vec_find_any_eq_or_0_idx_cc(__vector __bool
short __a,
12303 __vector __bool
short __b,
int *__cc) {
12304 return __builtin_s390_vfaezhs((__vector
unsigned short)
__a,
12305 (__vector
unsigned short)
__b, 0, __cc);
12309vec_find_any_eq_or_0_idx_cc(__vector
unsigned short __a,
12310 __vector
unsigned short __b,
int *__cc) {
12311 return __builtin_s390_vfaezhs(
__a,
__b, 0, __cc);
12315vec_find_any_eq_or_0_idx_cc(__vector
signed int __a,
12316 __vector
signed int __b,
int *__cc) {
12317 return (__vector
signed int)
12318 __builtin_s390_vfaezfs((__vector
unsigned int)
__a,
12319 (__vector
unsigned int)
__b, 0, __cc);
12323vec_find_any_eq_or_0_idx_cc(__vector __bool
int __a,
12324 __vector __bool
int __b,
int *__cc) {
12325 return __builtin_s390_vfaezfs((__vector
unsigned int)
__a,
12326 (__vector
unsigned int)
__b, 0, __cc);
12330vec_find_any_eq_or_0_idx_cc(__vector
unsigned int __a,
12331 __vector
unsigned int __b,
int *__cc) {
12332 return __builtin_s390_vfaezfs(
__a,
__b, 0, __cc);
12338vec_find_any_ne(__vector
signed char __a, __vector
signed char __b) {
12339 return (__vector __bool
char)
12340 __builtin_s390_vfaeb((__vector
unsigned char)
__a,
12341 (__vector
unsigned char)
__b, 12);
12345vec_find_any_ne(__vector __bool
char __a, __vector __bool
char __b) {
12346 return (__vector __bool
char)
12347 __builtin_s390_vfaeb((__vector
unsigned char)
__a,
12348 (__vector
unsigned char)
__b, 12);
12352vec_find_any_ne(__vector
unsigned char __a, __vector
unsigned char __b) {
12353 return (__vector __bool
char)__builtin_s390_vfaeb(
__a,
__b, 12);
12357vec_find_any_ne(__vector
signed short __a, __vector
signed short __b) {
12358 return (__vector __bool
short)
12359 __builtin_s390_vfaeh((__vector
unsigned short)
__a,
12360 (__vector
unsigned short)
__b, 12);
12364vec_find_any_ne(__vector __bool
short __a, __vector __bool
short __b) {
12365 return (__vector __bool
short)
12366 __builtin_s390_vfaeh((__vector
unsigned short)
__a,
12367 (__vector
unsigned short)
__b, 12);
12371vec_find_any_ne(__vector
unsigned short __a, __vector
unsigned short __b) {
12372 return (__vector __bool
short)__builtin_s390_vfaeh(
__a,
__b, 12);
12376vec_find_any_ne(__vector
signed int __a, __vector
signed int __b) {
12377 return (__vector __bool
int)
12378 __builtin_s390_vfaef((__vector
unsigned int)
__a,
12379 (__vector
unsigned int)
__b, 12);
12383vec_find_any_ne(__vector __bool
int __a, __vector __bool
int __b) {
12384 return (__vector __bool
int)
12385 __builtin_s390_vfaef((__vector
unsigned int)
__a,
12386 (__vector
unsigned int)
__b, 12);
12390vec_find_any_ne(__vector
unsigned int __a, __vector
unsigned int __b) {
12391 return (__vector __bool
int)__builtin_s390_vfaef(
__a,
__b, 12);
12397vec_find_any_ne_cc(__vector
signed char __a,
12398 __vector
signed char __b,
int *__cc) {
12399 return (__vector __bool
char)
12400 __builtin_s390_vfaebs((__vector
unsigned char)
__a,
12401 (__vector
unsigned char)
__b, 12, __cc);
12405vec_find_any_ne_cc(__vector __bool
char __a,
12406 __vector __bool
char __b,
int *__cc) {
12407 return (__vector __bool
char)
12408 __builtin_s390_vfaebs((__vector
unsigned char)
__a,
12409 (__vector
unsigned char)
__b, 12, __cc);
12413vec_find_any_ne_cc(__vector
unsigned char __a,
12414 __vector
unsigned char __b,
int *__cc) {
12415 return (__vector __bool
char)__builtin_s390_vfaebs(
__a,
__b, 12, __cc);
12419vec_find_any_ne_cc(__vector
signed short __a,
12420 __vector
signed short __b,
int *__cc) {
12421 return (__vector __bool
short)
12422 __builtin_s390_vfaehs((__vector
unsigned short)
__a,
12423 (__vector
unsigned short)
__b, 12, __cc);
12427vec_find_any_ne_cc(__vector __bool
short __a,
12428 __vector __bool
short __b,
int *__cc) {
12429 return (__vector __bool
short)
12430 __builtin_s390_vfaehs((__vector
unsigned short)
__a,
12431 (__vector
unsigned short)
__b, 12, __cc);
12435vec_find_any_ne_cc(__vector
unsigned short __a,
12436 __vector
unsigned short __b,
int *__cc) {
12437 return (__vector __bool
short)__builtin_s390_vfaehs(
__a,
__b, 12, __cc);
12441vec_find_any_ne_cc(__vector
signed int __a,
12442 __vector
signed int __b,
int *__cc) {
12443 return (__vector __bool
int)
12444 __builtin_s390_vfaefs((__vector
unsigned int)
__a,
12445 (__vector
unsigned int)
__b, 12, __cc);
12449vec_find_any_ne_cc(__vector __bool
int __a,
12450 __vector __bool
int __b,
int *__cc) {
12451 return (__vector __bool
int)
12452 __builtin_s390_vfaefs((__vector
unsigned int)
__a,
12453 (__vector
unsigned int)
__b, 12, __cc);
12457vec_find_any_ne_cc(__vector
unsigned int __a,
12458 __vector
unsigned int __b,
int *__cc) {
12459 return (__vector __bool
int)__builtin_s390_vfaefs(
__a,
__b, 12, __cc);
12465vec_find_any_ne_idx(__vector
signed char __a, __vector
signed char __b) {
12466 return (__vector
signed char)
12467 __builtin_s390_vfaeb((__vector
unsigned char)
__a,
12468 (__vector
unsigned char)
__b, 8);
12472vec_find_any_ne_idx(__vector __bool
char __a, __vector __bool
char __b) {
12473 return __builtin_s390_vfaeb((__vector
unsigned char)
__a,
12474 (__vector
unsigned char)
__b, 8);
12478vec_find_any_ne_idx(__vector
unsigned char __a, __vector
unsigned char __b) {
12479 return __builtin_s390_vfaeb(
__a,
__b, 8);
12483vec_find_any_ne_idx(__vector
signed short __a, __vector
signed short __b) {
12484 return (__vector
signed short)
12485 __builtin_s390_vfaeh((__vector
unsigned short)
__a,
12486 (__vector
unsigned short)
__b, 8);
12490vec_find_any_ne_idx(__vector __bool
short __a, __vector __bool
short __b) {
12491 return __builtin_s390_vfaeh((__vector
unsigned short)
__a,
12492 (__vector
unsigned short)
__b, 8);
12496vec_find_any_ne_idx(__vector
unsigned short __a, __vector
unsigned short __b) {
12497 return __builtin_s390_vfaeh(
__a,
__b, 8);
12501vec_find_any_ne_idx(__vector
signed int __a, __vector
signed int __b) {
12502 return (__vector
signed int)
12503 __builtin_s390_vfaef((__vector
unsigned int)
__a,
12504 (__vector
unsigned int)
__b, 8);
12508vec_find_any_ne_idx(__vector __bool
int __a, __vector __bool
int __b) {
12509 return __builtin_s390_vfaef((__vector
unsigned int)
__a,
12510 (__vector
unsigned int)
__b, 8);
12514vec_find_any_ne_idx(__vector
unsigned int __a, __vector
unsigned int __b) {
12515 return __builtin_s390_vfaef(
__a,
__b, 8);
12521vec_find_any_ne_idx_cc(__vector
signed char __a,
12522 __vector
signed char __b,
int *__cc) {
12523 return (__vector
signed char)
12524 __builtin_s390_vfaebs((__vector
unsigned char)
__a,
12525 (__vector
unsigned char)
__b, 8, __cc);
12529vec_find_any_ne_idx_cc(__vector __bool
char __a,
12530 __vector __bool
char __b,
int *__cc) {
12531 return __builtin_s390_vfaebs((__vector
unsigned char)
__a,
12532 (__vector
unsigned char)
__b, 8, __cc);
12536vec_find_any_ne_idx_cc(__vector
unsigned char __a,
12537 __vector
unsigned char __b,
12539 return __builtin_s390_vfaebs(
__a,
__b, 8, __cc);
12543vec_find_any_ne_idx_cc(__vector
signed short __a,
12544 __vector
signed short __b,
int *__cc) {
12545 return (__vector
signed short)
12546 __builtin_s390_vfaehs((__vector
unsigned short)
__a,
12547 (__vector
unsigned short)
__b, 8, __cc);
12551vec_find_any_ne_idx_cc(__vector __bool
short __a,
12552 __vector __bool
short __b,
int *__cc) {
12553 return __builtin_s390_vfaehs((__vector
unsigned short)
__a,
12554 (__vector
unsigned short)
__b, 8, __cc);
12558vec_find_any_ne_idx_cc(__vector
unsigned short __a,
12559 __vector
unsigned short __b,
int *__cc) {
12560 return __builtin_s390_vfaehs(
__a,
__b, 8, __cc);
12564vec_find_any_ne_idx_cc(__vector
signed int __a,
12565 __vector
signed int __b,
int *__cc) {
12566 return (__vector
signed int)
12567 __builtin_s390_vfaefs((__vector
unsigned int)
__a,
12568 (__vector
unsigned int)
__b, 8, __cc);
12572vec_find_any_ne_idx_cc(__vector __bool
int __a,
12573 __vector __bool
int __b,
int *__cc) {
12574 return __builtin_s390_vfaefs((__vector
unsigned int)
__a,
12575 (__vector
unsigned int)
__b, 8, __cc);
12579vec_find_any_ne_idx_cc(__vector
unsigned int __a,
12580 __vector
unsigned int __b,
int *__cc) {
12581 return __builtin_s390_vfaefs(
__a,
__b, 8, __cc);
12587vec_find_any_ne_or_0_idx(__vector
signed char __a,
12588 __vector
signed char __b) {
12589 return (__vector
signed char)
12590 __builtin_s390_vfaezb((__vector
unsigned char)
__a,
12591 (__vector
unsigned char)
__b, 8);
12595vec_find_any_ne_or_0_idx(__vector __bool
char __a,
12596 __vector __bool
char __b) {
12597 return __builtin_s390_vfaezb((__vector
unsigned char)
__a,
12598 (__vector
unsigned char)
__b, 8);
12602vec_find_any_ne_or_0_idx(__vector
unsigned char __a,
12603 __vector
unsigned char __b) {
12604 return __builtin_s390_vfaezb(
__a,
__b, 8);
12608vec_find_any_ne_or_0_idx(__vector
signed short __a,
12609 __vector
signed short __b) {
12610 return (__vector
signed short)
12611 __builtin_s390_vfaezh((__vector
unsigned short)
__a,
12612 (__vector
unsigned short)
__b, 8);
12616vec_find_any_ne_or_0_idx(__vector __bool
short __a,
12617 __vector __bool
short __b) {
12618 return __builtin_s390_vfaezh((__vector
unsigned short)
__a,
12619 (__vector
unsigned short)
__b, 8);
12623vec_find_any_ne_or_0_idx(__vector
unsigned short __a,
12624 __vector
unsigned short __b) {
12625 return __builtin_s390_vfaezh(
__a,
__b, 8);
12629vec_find_any_ne_or_0_idx(__vector
signed int __a,
12630 __vector
signed int __b) {
12631 return (__vector
signed int)
12632 __builtin_s390_vfaezf((__vector
unsigned int)
__a,
12633 (__vector
unsigned int)
__b, 8);
12637vec_find_any_ne_or_0_idx(__vector __bool
int __a,
12638 __vector __bool
int __b) {
12639 return __builtin_s390_vfaezf((__vector
unsigned int)
__a,
12640 (__vector
unsigned int)
__b, 8);
12644vec_find_any_ne_or_0_idx(__vector
unsigned int __a,
12645 __vector
unsigned int __b) {
12646 return __builtin_s390_vfaezf(
__a,
__b, 8);
12652vec_find_any_ne_or_0_idx_cc(__vector
signed char __a,
12653 __vector
signed char __b,
int *__cc) {
12654 return (__vector
signed char)
12655 __builtin_s390_vfaezbs((__vector
unsigned char)
__a,
12656 (__vector
unsigned char)
__b, 8, __cc);
12660vec_find_any_ne_or_0_idx_cc(__vector __bool
char __a,
12661 __vector __bool
char __b,
int *__cc) {
12662 return __builtin_s390_vfaezbs((__vector
unsigned char)
__a,
12663 (__vector
unsigned char)
__b, 8, __cc);
12667vec_find_any_ne_or_0_idx_cc(__vector
unsigned char __a,
12668 __vector
unsigned char __b,
int *__cc) {
12669 return __builtin_s390_vfaezbs(
__a,
__b, 8, __cc);
12673vec_find_any_ne_or_0_idx_cc(__vector
signed short __a,
12674 __vector
signed short __b,
int *__cc) {
12675 return (__vector
signed short)
12676 __builtin_s390_vfaezhs((__vector
unsigned short)
__a,
12677 (__vector
unsigned short)
__b, 8, __cc);
12681vec_find_any_ne_or_0_idx_cc(__vector __bool
short __a,
12682 __vector __bool
short __b,
int *__cc) {
12683 return __builtin_s390_vfaezhs((__vector
unsigned short)
__a,
12684 (__vector
unsigned short)
__b, 8, __cc);
12688vec_find_any_ne_or_0_idx_cc(__vector
unsigned short __a,
12689 __vector
unsigned short __b,
int *__cc) {
12690 return __builtin_s390_vfaezhs(
__a,
__b, 8, __cc);
12694vec_find_any_ne_or_0_idx_cc(__vector
signed int __a,
12695 __vector
signed int __b,
int *__cc) {
12696 return (__vector
signed int)
12697 __builtin_s390_vfaezfs((__vector
unsigned int)
__a,
12698 (__vector
unsigned int)
__b, 8, __cc);
12702vec_find_any_ne_or_0_idx_cc(__vector __bool
int __a,
12703 __vector __bool
int __b,
int *__cc) {
12704 return __builtin_s390_vfaezfs((__vector
unsigned int)
__a,
12705 (__vector
unsigned int)
__b, 8, __cc);
12709vec_find_any_ne_or_0_idx_cc(__vector
unsigned int __a,
12710 __vector
unsigned int __b,
int *__cc) {
12711 return __builtin_s390_vfaezfs(
__a,
__b, 8, __cc);
12719vec_search_string_cc(__vector
signed char __a, __vector
signed char __b,
12720 __vector
unsigned char __c,
int *__cc) {
12721 return __builtin_s390_vstrsb((__vector
unsigned char)
__a,
12722 (__vector
unsigned char)
__b,
__c, __cc);
12726vec_search_string_cc(__vector __bool
char __a, __vector __bool
char __b,
12727 __vector
unsigned char __c,
int *__cc) {
12728 return __builtin_s390_vstrsb((__vector
unsigned char)
__a,
12729 (__vector
unsigned char)
__b,
__c, __cc);
12733vec_search_string_cc(__vector
unsigned char __a, __vector
unsigned char __b,
12734 __vector
unsigned char __c,
int *__cc) {
12735 return __builtin_s390_vstrsb(
__a,
__b,
__c, __cc);
12739vec_search_string_cc(__vector
signed short __a, __vector
signed short __b,
12740 __vector
unsigned char __c,
int *__cc) {
12741 return __builtin_s390_vstrsh((__vector
unsigned short)
__a,
12742 (__vector
unsigned short)
__b,
__c, __cc);
12746vec_search_string_cc(__vector __bool
short __a, __vector __bool
short __b,
12747 __vector
unsigned char __c,
int *__cc) {
12748 return __builtin_s390_vstrsh((__vector
unsigned short)
__a,
12749 (__vector
unsigned short)
__b,
__c, __cc);
12753vec_search_string_cc(__vector
unsigned short __a, __vector
unsigned short __b,
12754 __vector
unsigned char __c,
int *__cc) {
12755 return __builtin_s390_vstrsh(
__a,
__b,
__c, __cc);
12759vec_search_string_cc(__vector
signed int __a, __vector
signed int __b,
12760 __vector
unsigned char __c,
int *__cc) {
12761 return __builtin_s390_vstrsf((__vector
unsigned int)
__a,
12762 (__vector
unsigned int)
__b,
__c, __cc);
12766vec_search_string_cc(__vector __bool
int __a, __vector __bool
int __b,
12767 __vector
unsigned char __c,
int *__cc) {
12768 return __builtin_s390_vstrsf((__vector
unsigned int)
__a,
12769 (__vector
unsigned int)
__b,
__c, __cc);
12773vec_search_string_cc(__vector
unsigned int __a, __vector
unsigned int __b,
12774 __vector
unsigned char __c,
int *__cc) {
12775 return __builtin_s390_vstrsf(
__a,
__b,
__c, __cc);
12785vec_search_string_until_zero_cc(__vector
signed char __a,
12786 __vector
signed char __b,
12787 __vector
unsigned char __c,
int *__cc) {
12788 return __builtin_s390_vstrszb((__vector
unsigned char)
__a,
12789 (__vector
unsigned char)
__b,
__c, __cc);
12793vec_search_string_until_zero_cc(__vector __bool
char __a,
12794 __vector __bool
char __b,
12795 __vector
unsigned char __c,
int *__cc) {
12796 return __builtin_s390_vstrszb((__vector
unsigned char)
__a,
12797 (__vector
unsigned char)
__b,
__c, __cc);
12801vec_search_string_until_zero_cc(__vector
unsigned char __a,
12802 __vector
unsigned char __b,
12803 __vector
unsigned char __c,
int *__cc) {
12804 return __builtin_s390_vstrszb(
__a,
__b,
__c, __cc);
12808vec_search_string_until_zero_cc(__vector
signed short __a,
12809 __vector
signed short __b,
12810 __vector
unsigned char __c,
int *__cc) {
12811 return __builtin_s390_vstrszh((__vector
unsigned short)
__a,
12812 (__vector
unsigned short)
__b,
__c, __cc);
12816vec_search_string_until_zero_cc(__vector __bool
short __a,
12817 __vector __bool
short __b,
12818 __vector
unsigned char __c,
int *__cc) {
12819 return __builtin_s390_vstrszh((__vector
unsigned short)
__a,
12820 (__vector
unsigned short)
__b,
__c, __cc);
12824vec_search_string_until_zero_cc(__vector
unsigned short __a,
12825 __vector
unsigned short __b,
12826 __vector
unsigned char __c,
int *__cc) {
12827 return __builtin_s390_vstrszh(
__a,
__b,
__c, __cc);
12831vec_search_string_until_zero_cc(__vector
signed int __a,
12832 __vector
signed int __b,
12833 __vector
unsigned char __c,
int *__cc) {
12834 return __builtin_s390_vstrszf((__vector
unsigned int)
__a,
12835 (__vector
unsigned int)
__b,
__c, __cc);
12839vec_search_string_until_zero_cc(__vector __bool
int __a,
12840 __vector __bool
int __b,
12841 __vector
unsigned char __c,
int *__cc) {
12842 return __builtin_s390_vstrszf((__vector
unsigned int)
__a,
12843 (__vector
unsigned int)
__b,
__c, __cc);
12847vec_search_string_until_zero_cc(__vector
unsigned int __a,
12848 __vector
unsigned int __b,
12849 __vector
unsigned char __c,
int *__cc) {
12850 return __builtin_s390_vstrszf(
__a,
__b,
__c, __cc);
12855#undef __constant_pow2_range
12856#undef __constant_range
12864#error "Use -fzvector to enable vector extensions"
_Float16 __2f16 __attribute__((ext_vector_type(2)))
Zeroes the upper 128 bits (bits 255:128) of all YMM registers.
static __inline__ vector signed int __ATTRS_o_ai vec_sube(vector signed int __a, vector signed int __b, vector signed int __c)
static __inline__ vector bool char __ATTRS_o_ai vec_cmpeq(vector signed char __a, vector signed char __b)
static __inline__ signed char __ATTRS_o_ai vec_extract(vector signed char __a, signed int __b)
static __inline__ __ATTRS_o_ai vector signed char vec_xl(ptrdiff_t __offset, const signed char *__ptr)
static __inline__ __ATTRS_o_ai void vec_xst(vector signed char __vec, ptrdiff_t __offset, signed char *__ptr)
static __inline__ vector float __ATTRS_o_ai vec_ceil(vector float __a)
static __inline__ int __ATTRS_o_ai vec_any_ngt(vector float __a, vector float __b)
static __inline__ int __ATTRS_o_ai vec_any_ne(vector signed char __a, vector signed char __b)
static __inline__ int __ATTRS_o_ai vec_any_nge(vector float __a, vector float __b)
static __inline__ vector signed char __ATTRS_o_ai vec_sldw(vector signed char __a, vector signed char __b, unsigned const int __c)
static __inline__ __ATTRS_o_ai vector bool char vec_reve(vector bool char __a)
static __inline__ vector float vector float vector float __c
static __inline__ vector int __ATTRS_o_ai vec_msum(vector signed char __a, vector unsigned char __b, vector int __c)
static __inline__ vector short __ATTRS_o_ai vec_mule(vector signed char __a, vector signed char __b)
static __inline__ int __ATTRS_o_ai vec_any_le(vector signed char __a, vector signed char __b)
static __inline__ vector float vector float __b
static __inline__ vector float __ATTRS_o_ai vec_round(vector float __a)
static __inline__ vector signed int __ATTRS_o_ai vec_subc(vector signed int __a, vector signed int __b)
static __inline__ vector signed int __ATTRS_o_ai vec_addc(vector signed int __a, vector signed int __b)
static __inline__ int __ATTRS_o_ai vec_all_le(vector signed char __a, vector signed char __b)
static __inline__ vector signed char __ATTRS_o_ai vec_splats(signed char __a)
static __inline__ vector bool char __ATTRS_o_ai vec_revb(vector bool char __a)
static __inline__ int __ATTRS_o_ai vec_any_nan(vector float __a)
static __inline__ int __ATTRS_o_ai vec_all_eq(vector signed char __a, vector signed char __b)
static __inline__ vector signed char __ATTRS_o_ai vec_andc(vector signed char __a, vector signed char __b)
static __inline__ vector signed int __ATTRS_o_ai vec_sld(vector signed int, vector signed int, unsigned const int __c)
static __inline__ vector short __ATTRS_o_ai vec_unpackl(vector signed char __a)
static __inline__ int __ATTRS_o_ai vec_all_ne(vector signed char __a, vector signed char __b)
static __inline__ vector signed int __ATTRS_o_ai vec_signed(vector float __a)
static __inline__ vector signed char __ATTRS_o_ai vec_and(vector signed char __a, vector signed char __b)
static __inline__ vector signed char __ATTRS_o_ai vec_avg(vector signed char __a, vector signed char __b)
static __inline__ vector signed char __ATTRS_o_ai vec_splat_s8(signed char __a)
static __inline__ int __ATTRS_o_ai vec_all_nan(vector float __a)
static __inline__ vector signed char __ATTRS_o_ai vec_mergel(vector signed char __a, vector signed char __b)
static __inline__ int __ATTRS_o_ai vec_all_ngt(vector float __a, vector float __b)
static __inline__ vector float __ATTRS_o_ai vec_floor(vector float __a)
static __inline__ int __ATTRS_o_ai vec_all_gt(vector signed char __a, vector signed char __b)
static __inline__ vector int __ATTRS_o_ai vec_splat_s32(signed char __a)
static __inline__ vector signed char __ATTRS_o_ai vec_promote(signed char __a, int __b)
static __inline__ vector signed char __ATTRS_o_ai vec_perm(vector signed char __a, vector signed char __b, vector unsigned char __c)
static __inline__ vector signed short __ATTRS_o_ai vec_mladd(vector signed short, vector signed short, vector signed short)
static __inline__ vector signed char __ATTRS_o_ai vec_sel(vector signed char __a, vector signed char __b, vector unsigned char __c)
static __inline__ int __ATTRS_o_ai vec_any_numeric(vector float __a)
static __inline__ vector float __ATTRS_o_ai vec_float(vector signed int __a)
static __inline__ vector unsigned int __ATTRS_o_ai vec_splat_u32(signed char __a)
static __inline__ vector signed char __ATTRS_o_ai vec_mergeh(vector signed char __a, vector signed char __b)
static __inline__ vector signed char __ATTRS_o_ai vec_rl(vector signed char __a, vector unsigned char __b)
static __inline__ vector bool char __ATTRS_o_ai vec_cmplt(vector signed char __a, vector signed char __b)
static __inline__ vector unsigned int __ATTRS_o_ai vec_unsigned(vector float __a)
static __inline__ vector float __ATTRS_o_ai vec_roundp(vector float __a)
static __inline__ vector signed char __ATTRS_o_ai vec_max(vector signed char __a, vector signed char __b)
static __inline__ int __ATTRS_o_ai vec_all_lt(vector signed char __a, vector signed char __b)
static __inline__ int __ATTRS_o_ai vec_any_ge(vector signed char __a, vector signed char __b)
static __inline__ vector signed int __ATTRS_o_ai vec_adde(vector signed int __a, vector signed int __b, vector signed int __c)
static __inline__ int __ATTRS_o_ai vec_all_numeric(vector float __a)
static __inline__ vector signed char __ATTRS_o_ai vec_nor(vector signed char __a, vector signed char __b)
static __inline__ vector bool char __ATTRS_o_ai vec_cmpge(vector signed char __a, vector signed char __b)
static __inline__ vector signed char __ATTRS_o_ai vec_pack(vector signed short __a, vector signed short __b)
static __inline__ vector unsigned char __ATTRS_o_ai vec_packsu(vector short __a, vector short __b)
static __inline__ vector short __ATTRS_o_ai vec_mulo(vector signed char __a, vector signed char __b)
static __inline__ int __ATTRS_o_ai vec_all_nge(vector float __a, vector float __b)
static __inline__ vector signed char __ATTRS_o_ai vec_srl(vector signed char __a, vector unsigned char __b)
static __inline__ vector signed char __ATTRS_o_ai vec_min(vector signed char __a, vector signed char __b)
static __inline__ vector signed char __ATTRS_o_ai vec_splat(vector signed char __a, unsigned const int __b)
static vector float __ATTRS_o_ai vec_nabs(vector float __a)
static __inline__ vector signed char __ATTRS_o_ai vec_or(vector signed char __a, vector signed char __b)
static __inline__ vector short __ATTRS_o_ai vec_unpackh(vector signed char __a)
static __inline__ vector short __ATTRS_o_ai vec_splat_s16(signed char __a)
static __inline__ int __ATTRS_o_ai vec_any_nlt(vector float __a, vector float __b)
static __inline__ vector signed char __ATTRS_o_ai vec_abs(vector signed char __a)
static __inline__ vector signed short __ATTRS_o_ai vec_madd(vector signed short __a, vector signed short __b, vector signed short __c)
static __inline__ int __ATTRS_o_ai vec_any_lt(vector signed char __a, vector signed char __b)
static __inline__ vector unsigned char __ATTRS_o_ai vec_xor(vector unsigned char __a, vector unsigned char __b)
static __inline__ int __ATTRS_o_ai vec_all_ge(vector signed char __a, vector signed char __b)
static __inline__ vector float __ATTRS_o_ai vec_roundm(vector float __a)
static __inline__ int __ATTRS_o_ai vec_all_nle(vector float __a, vector float __b)
static __inline__ vector float __ATTRS_o_ai vec_trunc(vector float __a)
static __inline__ vector bool char __ATTRS_o_ai vec_cmpgt(vector signed char __a, vector signed char __b)
static __inline__ vector signed char __ATTRS_o_ai vec_insert(signed char __a, vector signed char __b, int __c)
static __inline__ vector signed char __ATTRS_o_ai vec_sll(vector signed char __a, vector unsigned char __b)
static __inline__ int __ATTRS_o_ai vec_any_gt(vector signed char __a, vector signed char __b)
static __inline__ vector bool char __ATTRS_o_ai vec_cmple(vector signed char __a, vector signed char __b)
static __inline__ vector unsigned short __ATTRS_o_ai vec_splat_u16(signed char __a)
static __inline__ int __ATTRS_o_ai vec_all_nlt(vector float __a, vector float __b)
static __inline__ vector signed char __ATTRS_o_ai vec_packs(vector short __a, vector short __b)
static __inline__ int __ATTRS_o_ai vec_any_eq(vector signed char __a, vector signed char __b)
static __inline__ vector float __ATTRS_o_ai vec_roundz(vector float __a)
static __inline__ int __ATTRS_o_ai vec_any_nle(vector float __a, vector float __b)
static __inline__ vector float __ATTRS_o_ai vec_nmsub(vector float __a, vector float __b, vector float __c)
static __inline__ vector unsigned char __ATTRS_o_ai vec_splat_u8(unsigned char __a)
static __inline__ void int __a
static __inline__ void unsigned int __value