10#if defined(__s390x__) && defined(__VEC__)
12#define __ATTRS_ai __attribute__((__always_inline__))
13#define __ATTRS_o __attribute__((__overloadable__))
14#define __ATTRS_o_ai __attribute__((__overloadable__, __always_inline__))
16#define __constant(PARM) \
17 __attribute__((__enable_if__ ((PARM) == (PARM), \
18 "argument must be a constant integer")))
19#define __constant_range(PARM, LOW, HIGH) \
20 __attribute__((__enable_if__ ((PARM) >= (LOW) && (PARM) <= (HIGH), \
21 "argument must be a constant integer from " #LOW " to " #HIGH)))
22#define __constant_pow2_range(PARM, LOW, HIGH) \
23 __attribute__((__enable_if__ ((PARM) >= (LOW) && (PARM) <= (HIGH) && \
24 ((PARM) & ((PARM) - 1)) == 0, \
25 "argument must be a constant power of 2 from " #LOW " to " #HIGH)))
29extern __ATTRS_o
unsigned int
30__lcbb(
const void *__ptr,
unsigned short __len)
31 __constant_pow2_range(__len, 64, 4096);
33#define __lcbb(X, Y) ((__typeof__((__lcbb)((X), (Y)))) \
34 __builtin_s390_lcbb((X), __builtin_constant_p((Y))? \
41 (Y) == 4096 ? 6 : 0) : 0))
46vec_extract(__vector
signed char __vec,
int __index) {
47 return __vec[__index & 15];
51vec_extract(__vector __bool
char __vec,
int __index) {
52 return __vec[__index & 15];
56vec_extract(__vector
unsigned char __vec,
int __index) {
57 return __vec[__index & 15];
61vec_extract(__vector
signed short __vec,
int __index) {
62 return __vec[__index & 7];
66vec_extract(__vector __bool
short __vec,
int __index) {
67 return __vec[__index & 7];
71vec_extract(__vector
unsigned short __vec,
int __index) {
72 return __vec[__index & 7];
76vec_extract(__vector
signed int __vec,
int __index) {
77 return __vec[__index & 3];
81vec_extract(__vector __bool
int __vec,
int __index) {
82 return __vec[__index & 3];
86vec_extract(__vector
unsigned int __vec,
int __index) {
87 return __vec[__index & 3];
91vec_extract(__vector
signed long long __vec,
int __index) {
92 return __vec[__index & 1];
96vec_extract(__vector __bool
long long __vec,
int __index) {
97 return __vec[__index & 1];
101vec_extract(__vector
unsigned long long __vec,
int __index) {
102 return __vec[__index & 1];
108 return __vec[__index & 3];
114 return __vec[__index & 1];
120vec_insert(
signed char __scalar, __vector
signed char __vec,
int __index) {
121 __vec[__index & 15] = __scalar;
127vec_insert(
unsigned char __scalar, __vector __bool
char __vec,
int __index) {
128 __vector
unsigned char __newvec = (__vector
unsigned char)__vec;
129 __newvec[__index & 15] = (
unsigned char)__scalar;
134vec_insert(
unsigned char __scalar, __vector
unsigned char __vec,
int __index) {
135 __vec[__index & 15] = __scalar;
140vec_insert(
signed short __scalar, __vector
signed short __vec,
int __index) {
141 __vec[__index & 7] = __scalar;
147vec_insert(
unsigned short __scalar, __vector __bool
short __vec,
149 __vector
unsigned short __newvec = (__vector
unsigned short)__vec;
150 __newvec[__index & 7] = (
unsigned short)__scalar;
155vec_insert(
unsigned short __scalar, __vector
unsigned short __vec,
157 __vec[__index & 7] = __scalar;
162vec_insert(
signed int __scalar, __vector
signed int __vec,
int __index) {
163 __vec[__index & 3] = __scalar;
169vec_insert(
unsigned int __scalar, __vector __bool
int __vec,
int __index) {
170 __vector
unsigned int __newvec = (__vector
unsigned int)__vec;
171 __newvec[__index & 3] = __scalar;
176vec_insert(
unsigned int __scalar, __vector
unsigned int __vec,
int __index) {
177 __vec[__index & 3] = __scalar;
182vec_insert(
signed long long __scalar, __vector
signed long long __vec,
184 __vec[__index & 1] = __scalar;
190vec_insert(
unsigned long long __scalar, __vector __bool
long long __vec,
192 __vector
unsigned long long __newvec = (__vector
unsigned long long)__vec;
193 __newvec[__index & 1] = __scalar;
198vec_insert(
unsigned long long __scalar, __vector
unsigned long long __vec,
200 __vec[__index & 1] = __scalar;
206vec_insert(
float __scalar, __vector
float __vec,
int __index) {
207 __vec[__index & 1] = __scalar;
213vec_insert(
double __scalar, __vector
double __vec,
int __index) {
214 __vec[__index & 1] = __scalar;
222 const __vector
signed char __zero = (__vector
signed char)0;
223 __vector
signed char __vec = __builtin_shufflevector(__zero, __zero,
224 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1);
225 __vec[__index & 15] = __scalar;
231 const __vector
unsigned char __zero = (__vector
unsigned char)0;
232 __vector
unsigned char __vec = __builtin_shufflevector(__zero, __zero,
233 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1);
234 __vec[__index & 15] = __scalar;
240 const __vector
signed short __zero = (__vector
signed short)0;
241 __vector
signed short __vec = __builtin_shufflevector(__zero, __zero,
242 -1, -1, -1, -1, -1, -1, -1, -1);
243 __vec[__index & 7] = __scalar;
249 const __vector
unsigned short __zero = (__vector
unsigned short)0;
250 __vector
unsigned short __vec = __builtin_shufflevector(__zero, __zero,
251 -1, -1, -1, -1, -1, -1, -1, -1);
252 __vec[__index & 7] = __scalar;
258 const __vector
signed int __zero = (__vector
signed int)0;
259 __vector
signed int __vec = __builtin_shufflevector(__zero, __zero,
261 __vec[__index & 3] = __scalar;
267 const __vector
unsigned int __zero = (__vector
unsigned int)0;
268 __vector
unsigned int __vec = __builtin_shufflevector(__zero, __zero,
270 __vec[__index & 3] = __scalar;
275vec_promote(
signed long long __scalar,
int __index) {
276 const __vector
signed long long __zero = (__vector
signed long long)0;
277 __vector
signed long long __vec = __builtin_shufflevector(__zero, __zero,
279 __vec[__index & 1] = __scalar;
284vec_promote(
unsigned long long __scalar,
int __index) {
285 const __vector
unsigned long long __zero = (__vector
unsigned long long)0;
286 __vector
unsigned long long __vec = __builtin_shufflevector(__zero, __zero,
288 __vec[__index & 1] = __scalar;
295 const __vector
float __zero = (__vector
float)0.0f;
296 __vector
float __vec = __builtin_shufflevector(__zero, __zero,
298 __vec[__index & 3] = __scalar;
305 const __vector
double __zero = (__vector
double)0.0;
306 __vector
double __vec = __builtin_shufflevector(__zero, __zero, -1, -1);
307 __vec[__index & 1] = __scalar;
314vec_insert_and_zero(
const signed char *__ptr) {
315 __vector
signed char __vec = (__vector
signed char)0;
321vec_insert_and_zero(
const unsigned char *__ptr) {
322 __vector
unsigned char __vec = (__vector
unsigned char)0;
328vec_insert_and_zero(
const signed short *__ptr) {
329 __vector
signed short __vec = (__vector
signed short)0;
335vec_insert_and_zero(
const unsigned short *__ptr) {
336 __vector
unsigned short __vec = (__vector
unsigned short)0;
342vec_insert_and_zero(
const signed int *__ptr) {
343 __vector
signed int __vec = (__vector
signed int)0;
349vec_insert_and_zero(
const unsigned int *__ptr) {
350 __vector
unsigned int __vec = (__vector
unsigned int)0;
356vec_insert_and_zero(
const signed long long *__ptr) {
357 __vector
signed long long __vec = (__vector
signed long long)0;
363vec_insert_and_zero(
const unsigned long long *__ptr) {
364 __vector
unsigned long long __vec = (__vector
unsigned long long)0;
371vec_insert_and_zero(
const float *__ptr) {
372 __vector
float __vec = (__vector
float)0.0f;
379vec_insert_and_zero(
const double *__ptr) {
380 __vector
double __vec = (__vector
double)0.0;
389 __vector
unsigned char __c) {
390 return (__vector
signed char)__builtin_s390_vperm(
391 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
396 __vector
unsigned char __c) {
397 return (__vector
unsigned char)__builtin_s390_vperm(
398 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
403 __vector
unsigned char __c) {
404 return (__vector __bool
char)__builtin_s390_vperm(
405 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
410 __vector
unsigned char __c) {
411 return (__vector
signed short)__builtin_s390_vperm(
412 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
417 __vector
unsigned char __c) {
418 return (__vector
unsigned short)__builtin_s390_vperm(
419 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
424 __vector
unsigned char __c) {
425 return (__vector __bool
short)__builtin_s390_vperm(
426 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
431 __vector
unsigned char __c) {
432 return (__vector
signed int)__builtin_s390_vperm(
433 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
438 __vector
unsigned char __c) {
439 return (__vector
unsigned int)__builtin_s390_vperm(
440 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
445 __vector
unsigned char __c) {
446 return (__vector __bool
int)__builtin_s390_vperm(
447 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
451vec_perm(__vector
signed long long __a, __vector
signed long long __b,
452 __vector
unsigned char __c) {
453 return (__vector
signed long long)__builtin_s390_vperm(
454 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
458vec_perm(__vector
unsigned long long __a, __vector
unsigned long long __b,
459 __vector
unsigned char __c) {
460 return (__vector
unsigned long long)__builtin_s390_vperm(
461 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
465vec_perm(__vector __bool
long long __a, __vector __bool
long long __b,
466 __vector
unsigned char __c) {
467 return (__vector __bool
long long)__builtin_s390_vperm(
468 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
472vec_perm(__vector
signed __int128
__a, __vector
signed __int128
__b,
473 __vector
unsigned char __c) {
474 return (__vector
signed __int128)__builtin_s390_vperm(
475 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
479vec_perm(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
480 __vector
unsigned char __c) {
481 return (__vector
unsigned __int128)__builtin_s390_vperm(
482 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
486vec_perm(__vector __bool __int128
__a, __vector __bool __int128
__b,
487 __vector
unsigned char __c) {
488 return (__vector __bool __int128)__builtin_s390_vperm(
489 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
495 __vector
unsigned char __c) {
496 return (__vector
float)__builtin_s390_vperm(
497 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
503 __vector
unsigned char __c) {
504 return (__vector
double)__builtin_s390_vperm(
505 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
511extern __ATTRS_o __vector
signed long long
512vec_permi(__vector
signed long long __a, __vector
signed long long __b,
514 __constant_range(
__c, 0, 3);
517extern __ATTRS_o __vector
unsigned long long
518vec_permi(__vector
unsigned long long __a, __vector
unsigned long long __b,
520 __constant_range(
__c, 0, 3);
523extern __ATTRS_o __vector __bool
long long
524vec_permi(__vector __bool
long long __a, __vector __bool
long long __b,
526 __constant_range(
__c, 0, 3);
529extern __ATTRS_o __vector
double
530vec_permi(__vector
double __a, __vector
double __b,
int __c)
531 __constant_range(
__c, 0, 3);
533#define vec_permi(X, Y, Z) ((__typeof__((vec_permi)((X), (Y), (Z)))) \
534 __builtin_s390_vpdi((__vector unsigned long long)(X), \
535 (__vector unsigned long long)(Y), \
536 (((Z) & 2) << 1) | ((Z) & 1)))
541static inline __ATTRS_ai __vector
unsigned long long
542vec_bperm(__vector
unsigned __int128
__a, __vector
unsigned char __b) {
543 return __builtin_s390_vbperm((__vector
unsigned char)
__a,
__b);
551static inline __ATTRS_ai __vector
unsigned long long
552vec_bperm_u128(__vector
unsigned char __a, __vector
unsigned char __b) {
553 return __builtin_s390_vbperm(
__a,
__b);
560vec_revb(__vector
signed short __vec) {
561 return (__vector
signed short)
562 __builtin_s390_vlbrh((__vector
unsigned short)__vec);
566vec_revb(__vector
unsigned short __vec) {
567 return __builtin_s390_vlbrh(__vec);
571vec_revb(__vector
signed int __vec) {
572 return (__vector
signed int)
573 __builtin_s390_vlbrf((__vector
unsigned int)__vec);
577vec_revb(__vector
unsigned int __vec) {
578 return __builtin_s390_vlbrf(__vec);
582vec_revb(__vector
signed long long __vec) {
583 return (__vector
signed long long)
584 __builtin_s390_vlbrg((__vector
unsigned long long)__vec);
588vec_revb(__vector
unsigned long long __vec) {
589 return __builtin_s390_vlbrg(__vec);
593vec_revb(__vector
signed __int128 __vec) {
594 return (__vector
signed __int128)
595 __builtin_s390_vlbrq((
unsigned __int128)__vec);
599vec_revb(__vector
unsigned __int128 __vec) {
600 return (__vector
unsigned __int128)
601 __builtin_s390_vlbrq((
unsigned __int128)__vec);
607 return (__vector
float)
608 __builtin_s390_vlbrf((__vector
unsigned int)__vec);
614 return (__vector
double)
615 __builtin_s390_vlbrg((__vector
unsigned long long)__vec);
621vec_reve(__vector
signed char __vec) {
622 return (__vector
signed char) { __vec[15], __vec[14], __vec[13], __vec[12],
623 __vec[11], __vec[10], __vec[9], __vec[8],
624 __vec[7], __vec[6], __vec[5], __vec[4],
625 __vec[3], __vec[2], __vec[1], __vec[0] };
629vec_reve(__vector
unsigned char __vec) {
630 return (__vector
unsigned char) { __vec[15], __vec[14], __vec[13], __vec[12],
631 __vec[11], __vec[10], __vec[9], __vec[8],
632 __vec[7], __vec[6], __vec[5], __vec[4],
633 __vec[3], __vec[2], __vec[1], __vec[0] };
637vec_reve(__vector __bool
char __vec) {
638 return (__vector __bool
char) { __vec[15], __vec[14], __vec[13], __vec[12],
639 __vec[11], __vec[10], __vec[9], __vec[8],
640 __vec[7], __vec[6], __vec[5], __vec[4],
641 __vec[3], __vec[2], __vec[1], __vec[0] };
645vec_reve(__vector
signed short __vec) {
646 return (__vector
signed short) { __vec[7], __vec[6], __vec[5], __vec[4],
647 __vec[3], __vec[2], __vec[1], __vec[0] };
651vec_reve(__vector
unsigned short __vec) {
652 return (__vector
unsigned short) { __vec[7], __vec[6], __vec[5], __vec[4],
653 __vec[3], __vec[2], __vec[1], __vec[0] };
657vec_reve(__vector __bool
short __vec) {
658 return (__vector __bool
short) { __vec[7], __vec[6], __vec[5], __vec[4],
659 __vec[3], __vec[2], __vec[1], __vec[0] };
663vec_reve(__vector
signed int __vec) {
664 return (__vector
signed int) { __vec[3], __vec[2], __vec[1], __vec[0] };
668vec_reve(__vector
unsigned int __vec) {
669 return (__vector
unsigned int) { __vec[3], __vec[2], __vec[1], __vec[0] };
673vec_reve(__vector __bool
int __vec) {
674 return (__vector __bool
int) { __vec[3], __vec[2], __vec[1], __vec[0] };
678vec_reve(__vector
signed long long __vec) {
679 return (__vector
signed long long) { __vec[1], __vec[0] };
683vec_reve(__vector
unsigned long long __vec) {
684 return (__vector
unsigned long long) { __vec[1], __vec[0] };
688vec_reve(__vector __bool
long long __vec) {
689 return (__vector __bool
long long) { __vec[1], __vec[0] };
695 return (__vector
float) { __vec[3], __vec[2], __vec[1], __vec[0] };
701 return (__vector
double) { __vec[1], __vec[0] };
708 __vector
unsigned char __c) {
709 return (((__vector
signed char)
__c &
__b) |
710 (~(__vector
signed char)
__c &
__a));
715 __vector __bool
char __c) {
716 return (((__vector
signed char)
__c &
__b) |
717 (~(__vector
signed char)
__c &
__a));
722 __vector
unsigned char __c) {
723 return (((__vector __bool
char)
__c &
__b) |
724 (~(__vector __bool
char)
__c &
__a));
729 __vector __bool
char __c) {
734vec_sel(__vector
unsigned char __a, __vector
unsigned char __b,
735 __vector
unsigned char __c) {
740vec_sel(__vector
unsigned char __a, __vector
unsigned char __b,
741 __vector __bool
char __c) {
742 return (((__vector
unsigned char)
__c &
__b) |
743 (~(__vector
unsigned char)
__c &
__a));
748 __vector
unsigned short __c) {
749 return (((__vector
signed short)
__c &
__b) |
750 (~(__vector
signed short)
__c &
__a));
755 __vector __bool
short __c) {
756 return (((__vector
signed short)
__c &
__b) |
757 (~(__vector
signed short)
__c &
__a));
762 __vector
unsigned short __c) {
763 return (((__vector __bool
short)
__c &
__b) |
764 (~(__vector __bool
short)
__c &
__a));
769 __vector __bool
short __c) {
774vec_sel(__vector
unsigned short __a, __vector
unsigned short __b,
775 __vector
unsigned short __c) {
780vec_sel(__vector
unsigned short __a, __vector
unsigned short __b,
781 __vector __bool
short __c) {
782 return (((__vector
unsigned short)
__c &
__b) |
783 (~(__vector
unsigned short)
__c &
__a));
788 __vector
unsigned int __c) {
789 return (((__vector
signed int)
__c &
__b) |
790 (~(__vector
signed int)
__c &
__a));
795 __vector __bool
int __c) {
796 return (((__vector
signed int)
__c &
__b) |
797 (~(__vector
signed int)
__c &
__a));
802 __vector
unsigned int __c) {
803 return (((__vector __bool
int)
__c &
__b) |
804 (~(__vector __bool
int)
__c &
__a));
809 __vector __bool
int __c) {
815 __vector
unsigned int __c) {
821 __vector __bool
int __c) {
822 return (((__vector
unsigned int)
__c &
__b) |
823 (~(__vector
unsigned int)
__c &
__a));
827vec_sel(__vector
signed long long __a, __vector
signed long long __b,
828 __vector
unsigned long long __c) {
829 return (((__vector
signed long long)
__c &
__b) |
830 (~(__vector
signed long long)
__c &
__a));
834vec_sel(__vector
signed long long __a, __vector
signed long long __b,
835 __vector __bool
long long __c) {
836 return (((__vector
signed long long)
__c &
__b) |
837 (~(__vector
signed long long)
__c &
__a));
841vec_sel(__vector __bool
long long __a, __vector __bool
long long __b,
842 __vector
unsigned long long __c) {
843 return (((__vector __bool
long long)
__c &
__b) |
844 (~(__vector __bool
long long)
__c &
__a));
848vec_sel(__vector __bool
long long __a, __vector __bool
long long __b,
849 __vector __bool
long long __c) {
854vec_sel(__vector
unsigned long long __a, __vector
unsigned long long __b,
855 __vector
unsigned long long __c) {
860vec_sel(__vector
unsigned long long __a, __vector
unsigned long long __b,
861 __vector __bool
long long __c) {
862 return (((__vector
unsigned long long)
__c &
__b) |
863 (~(__vector
unsigned long long)
__c &
__a));
867vec_sel(__vector
signed __int128
__a, __vector
signed __int128
__b,
868 __vector
unsigned __int128
__c) {
869 return (((__vector
signed __int128)
__c &
__b) |
870 (~(__vector
signed __int128)
__c &
__a));
874vec_sel(__vector
signed __int128
__a, __vector
signed __int128
__b,
875 __vector __bool __int128
__c) {
876 return (((__vector
signed __int128)
__c &
__b) |
877 (~(__vector
signed __int128)
__c &
__a));
881vec_sel(__vector __bool __int128
__a, __vector __bool __int128
__b,
882 __vector
unsigned __int128
__c) {
883 return (((__vector __bool __int128)
__c &
__b) |
884 (~(__vector __bool __int128)
__c &
__a));
888vec_sel(__vector __bool __int128
__a, __vector __bool __int128
__b,
889 __vector __bool __int128
__c) {
894vec_sel(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
895 __vector
unsigned __int128
__c) {
900vec_sel(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
901 __vector __bool __int128
__c) {
902 return (((__vector
unsigned __int128)
__c &
__b) |
903 (~(__vector
unsigned __int128)
__c &
__a));
909 return (__vector
float)((
__c & (__vector
unsigned int)
__b) |
910 (~__c & (__vector
unsigned int)
__a));
915 __vector
unsigned int __ac = (__vector
unsigned int)
__a;
916 __vector
unsigned int __bc = (__vector
unsigned int)
__b;
917 __vector
unsigned int __cc = (__vector
unsigned int)
__c;
918 return (__vector
float)((__cc & __bc) | (~__cc & __ac));
924 __vector
unsigned long long __c) {
925 return (__vector
double)((
__c & (__vector
unsigned long long)
__b) |
926 (~__c & (__vector
unsigned long long)
__a));
931 __vector __bool
long long __c) {
932 __vector
unsigned long long __ac = (__vector
unsigned long long)
__a;
933 __vector
unsigned long long __bc = (__vector
unsigned long long)
__b;
934 __vector
unsigned long long __cc = (__vector
unsigned long long)
__c;
935 return (__vector
double)((__cc & __bc) | (~__cc & __ac));
941vec_gather_element(__vector
signed int __vec,
942 __vector
unsigned int __offset,
943 const signed int *__ptr,
int __index)
944 __constant_range(__index, 0, 3) {
945 __vec[__index] = *(
const signed int *)(
946 (
const char *)__ptr + __offset[__index]);
951vec_gather_element(__vector __bool
int __vec,
952 __vector
unsigned int __offset,
953 const unsigned int *__ptr,
int __index)
954 __constant_range(__index, 0, 3) {
955 __vec[__index] = *(
const unsigned int *)(
956 (
const char *)__ptr + __offset[__index]);
961vec_gather_element(__vector
unsigned int __vec,
962 __vector
unsigned int __offset,
963 const unsigned int *__ptr,
int __index)
964 __constant_range(__index, 0, 3) {
965 __vec[__index] = *(
const unsigned int *)(
966 (
const char *)__ptr + __offset[__index]);
971vec_gather_element(__vector
signed long long __vec,
972 __vector
unsigned long long __offset,
973 const signed long long *__ptr,
int __index)
974 __constant_range(__index, 0, 1) {
975 __vec[__index] = *(
const signed long long *)(
976 (
const char *)__ptr + __offset[__index]);
981vec_gather_element(__vector __bool
long long __vec,
982 __vector
unsigned long long __offset,
983 const unsigned long long *__ptr,
int __index)
984 __constant_range(__index, 0, 1) {
985 __vec[__index] = *(
const unsigned long long *)(
986 (
const char *)__ptr + __offset[__index]);
991vec_gather_element(__vector
unsigned long long __vec,
992 __vector
unsigned long long __offset,
993 const unsigned long long *__ptr,
int __index)
994 __constant_range(__index, 0, 1) {
995 __vec[__index] = *(
const unsigned long long *)(
996 (
const char *)__ptr + __offset[__index]);
1002vec_gather_element(__vector
float __vec,
1003 __vector
unsigned int __offset,
1004 const float *__ptr,
int __index)
1005 __constant_range(__index, 0, 3) {
1006 __vec[__index] = *(
const float *)(
1007 (
const char *)__ptr + __offset[__index]);
1013vec_gather_element(__vector
double __vec,
1014 __vector
unsigned long long __offset,
1015 const double *__ptr,
int __index)
1016 __constant_range(__index, 0, 1) {
1017 __vec[__index] = *(
const double *)(
1018 (
const char *)__ptr + __offset[__index]);
1025vec_scatter_element(__vector
signed int __vec,
1026 __vector
unsigned int __offset,
1027 signed int *__ptr,
int __index)
1028 __constant_range(__index, 0, 3) {
1029 *(
signed int *)((
char *)__ptr + __offset[__index]) =
1034vec_scatter_element(__vector __bool
int __vec,
1035 __vector
unsigned int __offset,
1036 unsigned int *__ptr,
int __index)
1037 __constant_range(__index, 0, 3) {
1038 *(
unsigned int *)((
char *)__ptr + __offset[__index]) =
1043vec_scatter_element(__vector
unsigned int __vec,
1044 __vector
unsigned int __offset,
1045 unsigned int *__ptr,
int __index)
1046 __constant_range(__index, 0, 3) {
1047 *(
unsigned int *)((
char *)__ptr + __offset[__index]) =
1052vec_scatter_element(__vector
signed long long __vec,
1053 __vector
unsigned long long __offset,
1054 signed long long *__ptr,
int __index)
1055 __constant_range(__index, 0, 1) {
1056 *(
signed long long *)((
char *)__ptr + __offset[__index]) =
1061vec_scatter_element(__vector __bool
long long __vec,
1062 __vector
unsigned long long __offset,
1063 unsigned long long *__ptr,
int __index)
1064 __constant_range(__index, 0, 1) {
1065 *(
unsigned long long *)((
char *)__ptr + __offset[__index]) =
1070vec_scatter_element(__vector
unsigned long long __vec,
1071 __vector
unsigned long long __offset,
1072 unsigned long long *__ptr,
int __index)
1073 __constant_range(__index, 0, 1) {
1074 *(
unsigned long long *)((
char *)__ptr + __offset[__index]) =
1080vec_scatter_element(__vector
float __vec,
1081 __vector
unsigned int __offset,
1082 float *__ptr,
int __index)
1083 __constant_range(__index, 0, 3) {
1084 *(
float *)((
char *)__ptr + __offset[__index]) =
1090vec_scatter_element(__vector
double __vec,
1091 __vector
unsigned long long __offset,
1092 double *__ptr,
int __index)
1093 __constant_range(__index, 0, 1) {
1094 *(
double *)((
char *)__ptr + __offset[__index]) =
1101vec_xl(
long __offset,
const signed char *__ptr) {
1102 __vector
signed char V;
1103 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1104 sizeof(__vector
signed char));
1109vec_xl(
long __offset,
const unsigned char *__ptr) {
1110 __vector
unsigned char V;
1111 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1112 sizeof(__vector
unsigned char));
1117vec_xl(
long __offset,
const signed short *__ptr) {
1118 __vector
signed short V;
1119 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1120 sizeof(__vector
signed short));
1125vec_xl(
long __offset,
const unsigned short *__ptr) {
1126 __vector
unsigned short V;
1127 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1128 sizeof(__vector
unsigned short));
1133vec_xl(
long __offset,
const signed int *__ptr) {
1134 __vector
signed int V;
1135 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1136 sizeof(__vector
signed int));
1141vec_xl(
long __offset,
const unsigned int *__ptr) {
1142 __vector
unsigned int V;
1143 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1144 sizeof(__vector
unsigned int));
1149vec_xl(
long __offset,
const signed long long *__ptr) {
1150 __vector
signed long long V;
1151 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1152 sizeof(__vector
signed long long));
1157vec_xl(
long __offset,
const unsigned long long *__ptr) {
1158 __vector
unsigned long long V;
1159 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1160 sizeof(__vector
unsigned long long));
1165vec_xl(
long __offset,
const signed __int128 *__ptr) {
1166 __vector
signed __int128
V;
1167 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1168 sizeof(__vector
signed __int128));
1173vec_xl(
long __offset,
const unsigned __int128 *__ptr) {
1174 __vector
unsigned __int128
V;
1175 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1176 sizeof(__vector
unsigned __int128));
1182vec_xl(
long __offset,
const float *__ptr) {
1184 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1185 sizeof(__vector
float));
1191vec_xl(
long __offset,
const double *__ptr) {
1193 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1194 sizeof(__vector
double));
1202vec_xld2(
long __offset,
const signed char *__ptr) {
1203 __vector
signed char V;
1204 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1205 sizeof(__vector
signed char));
1211vec_xld2(
long __offset,
const unsigned char *__ptr) {
1212 __vector
unsigned char V;
1213 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1214 sizeof(__vector
unsigned char));
1220vec_xld2(
long __offset,
const signed short *__ptr) {
1221 __vector
signed short V;
1222 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1223 sizeof(__vector
signed short));
1229vec_xld2(
long __offset,
const unsigned short *__ptr) {
1230 __vector
unsigned short V;
1231 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1232 sizeof(__vector
unsigned short));
1238vec_xld2(
long __offset,
const signed int *__ptr) {
1239 __vector
signed int V;
1240 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1241 sizeof(__vector
signed int));
1247vec_xld2(
long __offset,
const unsigned int *__ptr) {
1248 __vector
unsigned int V;
1249 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1250 sizeof(__vector
unsigned int));
1256vec_xld2(
long __offset,
const signed long long *__ptr) {
1257 __vector
signed long long V;
1258 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1259 sizeof(__vector
signed long long));
1265vec_xld2(
long __offset,
const unsigned long long *__ptr) {
1266 __vector
unsigned long long V;
1267 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1268 sizeof(__vector
unsigned long long));
1274vec_xld2(
long __offset,
const double *__ptr) {
1276 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1277 sizeof(__vector
double));
1285vec_xlw4(
long __offset,
const signed char *__ptr) {
1286 __vector
signed char V;
1287 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1288 sizeof(__vector
signed char));
1294vec_xlw4(
long __offset,
const unsigned char *__ptr) {
1295 __vector
unsigned char V;
1296 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1297 sizeof(__vector
unsigned char));
1303vec_xlw4(
long __offset,
const signed short *__ptr) {
1304 __vector
signed short V;
1305 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1306 sizeof(__vector
signed short));
1312vec_xlw4(
long __offset,
const unsigned short *__ptr) {
1313 __vector
unsigned short V;
1314 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1315 sizeof(__vector
unsigned short));
1321vec_xlw4(
long __offset,
const signed int *__ptr) {
1322 __vector
signed int V;
1323 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1324 sizeof(__vector
signed int));
1330vec_xlw4(
long __offset,
const unsigned int *__ptr) {
1331 __vector
unsigned int V;
1332 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1333 sizeof(__vector
unsigned int));
1340vec_xst(__vector
signed char __vec,
long __offset,
signed char *__ptr) {
1341 __vector
signed char V = __vec;
1342 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1343 sizeof(__vector
signed char));
1347vec_xst(__vector
unsigned char __vec,
long __offset,
unsigned char *__ptr) {
1348 __vector
unsigned char V = __vec;
1349 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1350 sizeof(__vector
unsigned char));
1354vec_xst(__vector
signed short __vec,
long __offset,
signed short *__ptr) {
1355 __vector
signed short V = __vec;
1356 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1357 sizeof(__vector
signed short));
1361vec_xst(__vector
unsigned short __vec,
long __offset,
unsigned short *__ptr) {
1362 __vector
unsigned short V = __vec;
1363 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1364 sizeof(__vector
unsigned short));
1368vec_xst(__vector
signed int __vec,
long __offset,
signed int *__ptr) {
1369 __vector
signed int V = __vec;
1370 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
sizeof(__vector
signed int));
1374vec_xst(__vector
unsigned int __vec,
long __offset,
unsigned int *__ptr) {
1375 __vector
unsigned int V = __vec;
1376 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1377 sizeof(__vector
unsigned int));
1381vec_xst(__vector
signed long long __vec,
long __offset,
1382 signed long long *__ptr) {
1383 __vector
signed long long V = __vec;
1384 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1385 sizeof(__vector
signed long long));
1389vec_xst(__vector
unsigned long long __vec,
long __offset,
1390 unsigned long long *__ptr) {
1391 __vector
unsigned long long V = __vec;
1392 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1393 sizeof(__vector
unsigned long long));
1397vec_xst(__vector
signed __int128 __vec,
long __offset,
1398 signed __int128 *__ptr) {
1399 __vector
signed __int128
V = __vec;
1400 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1401 sizeof(__vector
signed __int128));
1405vec_xst(__vector
unsigned __int128 __vec,
long __offset,
1406 unsigned __int128 *__ptr) {
1407 __vector
unsigned __int128
V = __vec;
1408 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1409 sizeof(__vector
unsigned __int128));
1414vec_xst(__vector
float __vec,
long __offset,
float *__ptr) {
1415 __vector
float V = __vec;
1416 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
sizeof(__vector
float));
1421vec_xst(__vector
double __vec,
long __offset,
double *__ptr) {
1422 __vector
double V = __vec;
1423 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
sizeof(__vector
double));
1430vec_xstd2(__vector
signed char __vec,
long __offset,
signed char *__ptr) {
1431 __vector
signed char V = __vec;
1432 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1433 sizeof(__vector
signed char));
1438vec_xstd2(__vector
unsigned char __vec,
long __offset,
unsigned char *__ptr) {
1439 __vector
unsigned char V = __vec;
1440 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1441 sizeof(__vector
unsigned char));
1446vec_xstd2(__vector
signed short __vec,
long __offset,
signed short *__ptr) {
1447 __vector
signed short V = __vec;
1448 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1449 sizeof(__vector
signed short));
1454vec_xstd2(__vector
unsigned short __vec,
long __offset,
unsigned short *__ptr) {
1455 __vector
unsigned short V = __vec;
1456 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1457 sizeof(__vector
unsigned short));
1462vec_xstd2(__vector
signed int __vec,
long __offset,
signed int *__ptr) {
1463 __vector
signed int V = __vec;
1464 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
sizeof(__vector
signed int));
1469vec_xstd2(__vector
unsigned int __vec,
long __offset,
unsigned int *__ptr) {
1470 __vector
unsigned int V = __vec;
1471 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1472 sizeof(__vector
unsigned int));
1477vec_xstd2(__vector
signed long long __vec,
long __offset,
1478 signed long long *__ptr) {
1479 __vector
signed long long V = __vec;
1480 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1481 sizeof(__vector
signed long long));
1486vec_xstd2(__vector
unsigned long long __vec,
long __offset,
1487 unsigned long long *__ptr) {
1488 __vector
unsigned long long V = __vec;
1489 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1490 sizeof(__vector
unsigned long long));
1495vec_xstd2(__vector
double __vec,
long __offset,
double *__ptr) {
1496 __vector
double V = __vec;
1497 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
sizeof(__vector
double));
1504vec_xstw4(__vector
signed char __vec,
long __offset,
signed char *__ptr) {
1505 __vector
signed char V = __vec;
1506 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1507 sizeof(__vector
signed char));
1512vec_xstw4(__vector
unsigned char __vec,
long __offset,
unsigned char *__ptr) {
1513 __vector
unsigned char V = __vec;
1514 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1515 sizeof(__vector
unsigned char));
1520vec_xstw4(__vector
signed short __vec,
long __offset,
signed short *__ptr) {
1521 __vector
signed short V = __vec;
1522 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1523 sizeof(__vector
signed short));
1528vec_xstw4(__vector
unsigned short __vec,
long __offset,
unsigned short *__ptr) {
1529 __vector
unsigned short V = __vec;
1530 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1531 sizeof(__vector
unsigned short));
1536vec_xstw4(__vector
signed int __vec,
long __offset,
signed int *__ptr) {
1537 __vector
signed int V = __vec;
1538 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
sizeof(__vector
signed int));
1543vec_xstw4(__vector
unsigned int __vec,
long __offset,
unsigned int *__ptr) {
1544 __vector
unsigned int V = __vec;
1545 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1546 sizeof(__vector
unsigned int));
1551extern __ATTRS_o __vector
signed char
1552vec_load_bndry(
const signed char *__ptr,
unsigned short __len)
1553 __constant_pow2_range(__len, 64, 4096);
1555extern __ATTRS_o __vector
unsigned char
1556vec_load_bndry(
const unsigned char *__ptr,
unsigned short __len)
1557 __constant_pow2_range(__len, 64, 4096);
1559extern __ATTRS_o __vector
signed short
1560vec_load_bndry(
const signed short *__ptr,
unsigned short __len)
1561 __constant_pow2_range(__len, 64, 4096);
1563extern __ATTRS_o __vector
unsigned short
1564vec_load_bndry(
const unsigned short *__ptr,
unsigned short __len)
1565 __constant_pow2_range(__len, 64, 4096);
1567extern __ATTRS_o __vector
signed int
1568vec_load_bndry(
const signed int *__ptr,
unsigned short __len)
1569 __constant_pow2_range(__len, 64, 4096);
1571extern __ATTRS_o __vector
unsigned int
1572vec_load_bndry(
const unsigned int *__ptr,
unsigned short __len)
1573 __constant_pow2_range(__len, 64, 4096);
1575extern __ATTRS_o __vector
signed long long
1576vec_load_bndry(
const signed long long *__ptr,
unsigned short __len)
1577 __constant_pow2_range(__len, 64, 4096);
1579extern __ATTRS_o __vector
unsigned long long
1580vec_load_bndry(
const unsigned long long *__ptr,
unsigned short __len)
1581 __constant_pow2_range(__len, 64, 4096);
1583extern __ATTRS_o __vector
signed __int128
1584vec_load_bndry(
const signed __int128 *__ptr,
unsigned short __len)
1585 __constant_pow2_range(__len, 64, 4096);
1587extern __ATTRS_o __vector
unsigned __int128
1588vec_load_bndry(
const unsigned __int128 *__ptr,
unsigned short __len)
1589 __constant_pow2_range(__len, 64, 4096);
1592extern __ATTRS_o __vector
float
1593vec_load_bndry(
const float *__ptr,
unsigned short __len)
1594 __constant_pow2_range(__len, 64, 4096);
1597extern __ATTRS_o __vector
double
1598vec_load_bndry(
const double *__ptr,
unsigned short __len)
1599 __constant_pow2_range(__len, 64, 4096);
1601#define vec_load_bndry(X, Y) ((__typeof__((vec_load_bndry)((X), (Y)))) \
1602 __builtin_s390_vlbb((X), ((Y) == 64 ? 0 : \
1608 (Y) == 4096 ? 6 : -1)))
1613vec_load_len(
const signed char *__ptr,
unsigned int __len) {
1614 return (__vector
signed char)__builtin_s390_vll(__len, __ptr);
1618vec_load_len(
const unsigned char *__ptr,
unsigned int __len) {
1619 return (__vector
unsigned char)__builtin_s390_vll(__len, __ptr);
1624vec_load_len(
const signed short *__ptr,
unsigned int __len) {
1625 return (__vector
signed short)__builtin_s390_vll(__len, __ptr);
1630vec_load_len(
const unsigned short *__ptr,
unsigned int __len) {
1631 return (__vector
unsigned short)__builtin_s390_vll(__len, __ptr);
1636vec_load_len(
const signed int *__ptr,
unsigned int __len) {
1637 return (__vector
signed int)__builtin_s390_vll(__len, __ptr);
1642vec_load_len(
const unsigned int *__ptr,
unsigned int __len) {
1643 return (__vector
unsigned int)__builtin_s390_vll(__len, __ptr);
1648vec_load_len(
const signed long long *__ptr,
unsigned int __len) {
1649 return (__vector
signed long long)__builtin_s390_vll(__len, __ptr);
1654vec_load_len(
const unsigned long long *__ptr,
unsigned int __len) {
1655 return (__vector
unsigned long long)__builtin_s390_vll(__len, __ptr);
1661vec_load_len(
const float *__ptr,
unsigned int __len) {
1662 return (__vector
float)__builtin_s390_vll(__len, __ptr);
1668vec_load_len(
const double *__ptr,
unsigned int __len) {
1669 return (__vector
double)__builtin_s390_vll(__len, __ptr);
1676vec_load_len_r(
const signed char *__ptr,
unsigned int __len) {
1677 return (__vector
signed char)__builtin_s390_vlrlr(__len, __ptr);
1681vec_load_len_r(
const unsigned char *__ptr,
unsigned int __len) {
1682 return (__vector
unsigned char)__builtin_s390_vlrlr(__len, __ptr);
1689vec_store_len(__vector
signed char __vec,
signed char *__ptr,
1690 unsigned int __len) {
1691 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1695vec_store_len(__vector
unsigned char __vec,
unsigned char *__ptr,
1696 unsigned int __len) {
1697 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1702vec_store_len(__vector
signed short __vec,
signed short *__ptr,
1703 unsigned int __len) {
1704 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1709vec_store_len(__vector
unsigned short __vec,
unsigned short *__ptr,
1710 unsigned int __len) {
1711 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1716vec_store_len(__vector
signed int __vec,
signed int *__ptr,
1717 unsigned int __len) {
1718 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1723vec_store_len(__vector
unsigned int __vec,
unsigned int *__ptr,
1724 unsigned int __len) {
1725 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1730vec_store_len(__vector
signed long long __vec,
signed long long *__ptr,
1731 unsigned int __len) {
1732 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1737vec_store_len(__vector
unsigned long long __vec,
unsigned long long *__ptr,
1738 unsigned int __len) {
1739 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1745vec_store_len(__vector
float __vec,
float *__ptr,
1746 unsigned int __len) {
1747 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1753vec_store_len(__vector
double __vec,
double *__ptr,
1754 unsigned int __len) {
1755 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1762vec_store_len_r(__vector
signed char __vec,
signed char *__ptr,
1763 unsigned int __len) {
1764 __builtin_s390_vstrlr(__vec, __len, __ptr);
1768vec_store_len_r(__vector
unsigned char __vec,
unsigned char *__ptr,
1769 unsigned int __len) {
1770 __builtin_s390_vstrlr((__vector
signed char)__vec, __len, __ptr);
1777vec_load_pair(
signed long long __a,
signed long long __b) {
1778 return (__vector
signed long long)(
__a,
__b);
1782vec_load_pair(
unsigned long long __a,
unsigned long long __b) {
1783 return (__vector
unsigned long long)(
__a,
__b);
1789vec_genmask(
unsigned short __mask)
1790 __constant(__mask) {
1791 return (__vector
unsigned char)(
1792 __mask & 0x8000 ? 0xff : 0,
1793 __mask & 0x4000 ? 0xff : 0,
1794 __mask & 0x2000 ? 0xff : 0,
1795 __mask & 0x1000 ? 0xff : 0,
1796 __mask & 0x0800 ? 0xff : 0,
1797 __mask & 0x0400 ? 0xff : 0,
1798 __mask & 0x0200 ? 0xff : 0,
1799 __mask & 0x0100 ? 0xff : 0,
1800 __mask & 0x0080 ? 0xff : 0,
1801 __mask & 0x0040 ? 0xff : 0,
1802 __mask & 0x0020 ? 0xff : 0,
1803 __mask & 0x0010 ? 0xff : 0,
1804 __mask & 0x0008 ? 0xff : 0,
1805 __mask & 0x0004 ? 0xff : 0,
1806 __mask & 0x0002 ? 0xff : 0,
1807 __mask & 0x0001 ? 0xff : 0);
1813vec_genmasks_8(
unsigned char __first,
unsigned char __last)
1814 __constant(__first) __constant(__last) {
1815 unsigned char __bit1 = __first & 7;
1816 unsigned char __bit2 = __last & 7;
1817 unsigned char __mask1 = (
unsigned char)(1U << (7 - __bit1) << 1) - 1;
1818 unsigned char __mask2 = (
unsigned char)(1U << (7 - __bit2)) - 1;
1819 unsigned char __value = (__bit1 <= __bit2 ?
1820 __mask1 & ~__mask2 :
1821 __mask1 | ~__mask2);
1822 return (__vector
unsigned char)
__value;
1826vec_genmasks_16(
unsigned char __first,
unsigned char __last)
1827 __constant(__first) __constant(__last) {
1828 unsigned char __bit1 = __first & 15;
1829 unsigned char __bit2 = __last & 15;
1830 unsigned short __mask1 = (
unsigned short)(1U << (15 - __bit1) << 1) - 1;
1831 unsigned short __mask2 = (
unsigned short)(1U << (15 - __bit2)) - 1;
1832 unsigned short __value = (__bit1 <= __bit2 ?
1833 __mask1 & ~__mask2 :
1834 __mask1 | ~__mask2);
1835 return (__vector
unsigned short)
__value;
1839vec_genmasks_32(
unsigned char __first,
unsigned char __last)
1840 __constant(__first) __constant(__last) {
1841 unsigned char __bit1 = __first & 31;
1842 unsigned char __bit2 = __last & 31;
1843 unsigned int __mask1 = (1U << (31 - __bit1) << 1) - 1;
1844 unsigned int __mask2 = (1U << (31 - __bit2)) - 1;
1845 unsigned int __value = (__bit1 <= __bit2 ?
1846 __mask1 & ~__mask2 :
1847 __mask1 | ~__mask2);
1848 return (__vector
unsigned int)
__value;
1852vec_genmasks_64(
unsigned char __first,
unsigned char __last)
1853 __constant(__first) __constant(__last) {
1854 unsigned char __bit1 = __first & 63;
1855 unsigned char __bit2 = __last & 63;
1856 unsigned long long __mask1 = (1ULL << (63 - __bit1) << 1) - 1;
1857 unsigned long long __mask2 = (1ULL << (63 - __bit2)) - 1;
1858 unsigned long long __value = (__bit1 <= __bit2 ?
1859 __mask1 & ~__mask2 :
1860 __mask1 | ~__mask2);
1861 return (__vector
unsigned long long)
__value;
1867static inline __ATTRS_ai __vector
unsigned char
1868vec_gen_element_masks_8(__vector
unsigned short __mask) {
1869 return __builtin_s390_vgemb(__mask);
1872static inline __ATTRS_ai __vector
unsigned short
1873vec_gen_element_masks_16(__vector
unsigned char __mask) {
1874 return __builtin_s390_vgemh(__mask);
1877static inline __ATTRS_ai __vector
unsigned int
1878vec_gen_element_masks_32(__vector
unsigned char __mask) {
1879 return __builtin_s390_vgemf(__mask);
1882static inline __ATTRS_ai __vector
unsigned long long
1883vec_gen_element_masks_64(__vector
unsigned char __mask) {
1884 return __builtin_s390_vgemg(__mask);
1887static inline __ATTRS_ai __vector
unsigned __int128
1888vec_gen_element_masks_128(__vector
unsigned char __mask) {
1889 return (__vector
unsigned __int128)__builtin_s390_vgemq(__mask);
1896vec_splat(__vector
signed char __vec,
int __index)
1897 __constant_range(__index, 0, 15) {
1898 return (__vector
signed char)__vec[__index];
1902vec_splat(__vector __bool
char __vec,
int __index)
1903 __constant_range(__index, 0, 15) {
1904 return (__vector __bool
char)(__vector
unsigned char)__vec[__index];
1908vec_splat(__vector
unsigned char __vec,
int __index)
1909 __constant_range(__index, 0, 15) {
1910 return (__vector
unsigned char)__vec[__index];
1914vec_splat(__vector
signed short __vec,
int __index)
1915 __constant_range(__index, 0, 7) {
1916 return (__vector
signed short)__vec[__index];
1920vec_splat(__vector __bool
short __vec,
int __index)
1921 __constant_range(__index, 0, 7) {
1922 return (__vector __bool
short)(__vector
unsigned short)__vec[__index];
1926vec_splat(__vector
unsigned short __vec,
int __index)
1927 __constant_range(__index, 0, 7) {
1928 return (__vector
unsigned short)__vec[__index];
1932vec_splat(__vector
signed int __vec,
int __index)
1933 __constant_range(__index, 0, 3) {
1934 return (__vector
signed int)__vec[__index];
1938vec_splat(__vector __bool
int __vec,
int __index)
1939 __constant_range(__index, 0, 3) {
1940 return (__vector __bool
int)(__vector
unsigned int)__vec[__index];
1944vec_splat(__vector
unsigned int __vec,
int __index)
1945 __constant_range(__index, 0, 3) {
1946 return (__vector
unsigned int)__vec[__index];
1950vec_splat(__vector
signed long long __vec,
int __index)
1951 __constant_range(__index, 0, 1) {
1952 return (__vector
signed long long)__vec[__index];
1956vec_splat(__vector __bool
long long __vec,
int __index)
1957 __constant_range(__index, 0, 1) {
1958 return ((__vector __bool
long long)
1959 (__vector
unsigned long long)__vec[__index]);
1963vec_splat(__vector
unsigned long long __vec,
int __index)
1964 __constant_range(__index, 0, 1) {
1965 return (__vector
unsigned long long)__vec[__index];
1970vec_splat(__vector
float __vec,
int __index)
1971 __constant_range(__index, 0, 3) {
1972 return (__vector
float)__vec[__index];
1977vec_splat(__vector
double __vec,
int __index)
1978 __constant_range(__index, 0, 1) {
1979 return (__vector
double)__vec[__index];
1984static inline __ATTRS_ai __vector
signed char
1986 __constant(__scalar) {
1987 return (__vector
signed char)__scalar;
1990static inline __ATTRS_ai __vector
signed short
1992 __constant(__scalar) {
1993 return (__vector
signed short)__scalar;
1996static inline __ATTRS_ai __vector
signed int
1998 __constant(__scalar) {
1999 return (__vector
signed int)(
signed int)__scalar;
2002static inline __ATTRS_ai __vector
signed long long
2003vec_splat_s64(
signed short __scalar)
2004 __constant(__scalar) {
2005 return (__vector
signed long long)(
signed long)__scalar;
2010static inline __ATTRS_ai __vector
unsigned char
2012 __constant(__scalar) {
2013 return (__vector
unsigned char)__scalar;
2016static inline __ATTRS_ai __vector
unsigned short
2018 __constant(__scalar) {
2019 return (__vector
unsigned short)__scalar;
2022static inline __ATTRS_ai __vector
unsigned int
2024 __constant(__scalar) {
2025 return (__vector
unsigned int)(
signed int)__scalar;
2028static inline __ATTRS_ai __vector
unsigned long long
2029vec_splat_u64(
signed short __scalar)
2030 __constant(__scalar) {
2031 return (__vector
unsigned long long)(
signed long long)__scalar;
2038 return (__vector
signed char)__scalar;
2043 return (__vector
unsigned char)__scalar;
2048 return (__vector
signed short)__scalar;
2053 return (__vector
unsigned short)__scalar;
2058 return (__vector
signed int)__scalar;
2063 return (__vector
unsigned int)__scalar;
2068 return (__vector
signed long long)__scalar;
2073 return (__vector
unsigned long long)__scalar;
2078 return (__vector
signed __int128)__scalar;
2083 return (__vector
unsigned __int128)__scalar;
2089 return (__vector
float)__scalar;
2095 return (__vector
double)__scalar;
2101vec_extend_s64(__vector
signed char __a) {
2102 return (__vector
signed long long)(
__a[7],
__a[15]);
2106vec_extend_s64(__vector
signed short __a) {
2107 return (__vector
signed long long)(
__a[3],
__a[7]);
2111vec_extend_s64(__vector
signed int __a) {
2112 return (__vector
signed long long)(
__a[1],
__a[3]);
2119 return (__vector
signed char)(
2126 return (__vector __bool
char)(
2133 return (__vector
unsigned char)(
2140 return (__vector
signed short)(
2146 return (__vector __bool
short)(
2152 return (__vector
unsigned short)(
2158 return (__vector
signed int)(
__a[0],
__b[0],
__a[1],
__b[1]);
2163 return (__vector __bool
int)(
__a[0],
__b[0],
__a[1],
__b[1]);
2168 return (__vector
unsigned int)(
__a[0],
__b[0],
__a[1],
__b[1]);
2173 return (__vector
signed long long)(
__a[0],
__b[0]);
2178 return (__vector __bool
long long)(
__a[0],
__b[0]);
2182vec_mergeh(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2183 return (__vector
unsigned long long)(
__a[0],
__b[0]);
2189 return (__vector
float)(
__a[0],
__b[0],
__a[1],
__b[1]);
2195 return (__vector
double)(
__a[0],
__b[0]);
2202 return (__vector
signed char)(
2209 return (__vector __bool
char)(
2216 return (__vector
unsigned char)(
2223 return (__vector
signed short)(
2229 return (__vector __bool
short)(
2235 return (__vector
unsigned short)(
2241 return (__vector
signed int)(
__a[2],
__b[2],
__a[3],
__b[3]);
2246 return (__vector __bool
int)(
__a[2],
__b[2],
__a[3],
__b[3]);
2251 return (__vector
unsigned int)(
__a[2],
__b[2],
__a[3],
__b[3]);
2256 return (__vector
signed long long)(
__a[1],
__b[1]);
2261 return (__vector __bool
long long)(
__a[1],
__b[1]);
2265vec_mergel(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2266 return (__vector
unsigned long long)(
__a[1],
__b[1]);
2272 return (__vector
float)(
__a[2],
__b[2],
__a[3],
__b[3]);
2278 return (__vector
double)(
__a[1],
__b[1]);
2285 __vector
signed char __ac = (__vector
signed char)
__a;
2286 __vector
signed char __bc = (__vector
signed char)
__b;
2287 return (__vector
signed char)(
2288 __ac[1], __ac[3], __ac[5], __ac[7], __ac[9], __ac[11], __ac[13], __ac[15],
2289 __bc[1], __bc[3], __bc[5], __bc[7], __bc[9], __bc[11], __bc[13], __bc[15]);
2294 __vector __bool
char __ac = (__vector __bool char)
__a;
2295 __vector __bool
char __bc = (__vector __bool char)
__b;
2296 return (__vector __bool
char)(
2297 __ac[1], __ac[3], __ac[5], __ac[7], __ac[9], __ac[11], __ac[13], __ac[15],
2298 __bc[1], __bc[3], __bc[5], __bc[7], __bc[9], __bc[11], __bc[13], __bc[15]);
2302vec_pack(__vector
unsigned short __a, __vector
unsigned short __b) {
2303 __vector
unsigned char __ac = (__vector
unsigned char)
__a;
2304 __vector
unsigned char __bc = (__vector
unsigned char)
__b;
2305 return (__vector
unsigned char)(
2306 __ac[1], __ac[3], __ac[5], __ac[7], __ac[9], __ac[11], __ac[13], __ac[15],
2307 __bc[1], __bc[3], __bc[5], __bc[7], __bc[9], __bc[11], __bc[13], __bc[15]);
2312 __vector
signed short __ac = (__vector
signed short)
__a;
2313 __vector
signed short __bc = (__vector
signed short)
__b;
2314 return (__vector
signed short)(
2315 __ac[1], __ac[3], __ac[5], __ac[7],
2316 __bc[1], __bc[3], __bc[5], __bc[7]);
2321 __vector __bool
short __ac = (__vector __bool short)
__a;
2322 __vector __bool
short __bc = (__vector __bool short)
__b;
2323 return (__vector __bool
short)(
2324 __ac[1], __ac[3], __ac[5], __ac[7],
2325 __bc[1], __bc[3], __bc[5], __bc[7]);
2330 __vector
unsigned short __ac = (__vector
unsigned short)
__a;
2331 __vector
unsigned short __bc = (__vector
unsigned short)
__b;
2332 return (__vector
unsigned short)(
2333 __ac[1], __ac[3], __ac[5], __ac[7],
2334 __bc[1], __bc[3], __bc[5], __bc[7]);
2338vec_pack(__vector
signed long long __a, __vector
signed long long __b) {
2339 __vector
signed int __ac = (__vector
signed int)
__a;
2340 __vector
signed int __bc = (__vector
signed int)
__b;
2341 return (__vector
signed int)(__ac[1], __ac[3], __bc[1], __bc[3]);
2345vec_pack(__vector __bool
long long __a, __vector __bool
long long __b) {
2346 __vector __bool
int __ac = (__vector __bool
int)
__a;
2347 __vector __bool
int __bc = (__vector __bool
int)
__b;
2348 return (__vector __bool
int)(__ac[1], __ac[3], __bc[1], __bc[3]);
2352vec_pack(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2353 __vector
unsigned int __ac = (__vector
unsigned int)
__a;
2354 __vector
unsigned int __bc = (__vector
unsigned int)
__b;
2355 return (__vector
unsigned int)(__ac[1], __ac[3], __bc[1], __bc[3]);
2359vec_pack(__vector
signed __int128
__a, __vector
signed __int128
__b) {
2360 __vector
signed long long __ac = (__vector
signed long long)
__a;
2361 __vector
signed long long __bc = (__vector
signed long long)
__b;
2362 return (__vector
signed long long)(__ac[1], __bc[1]);
2366vec_pack(__vector __bool __int128
__a, __vector __bool __int128
__b) {
2367 __vector __bool
long long __ac = (__vector __bool
long long)
__a;
2368 __vector __bool
long long __bc = (__vector __bool
long long)
__b;
2369 return (__vector __bool
long long)(__ac[1], __bc[1]);
2373vec_pack(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
2374 __vector
unsigned long long __ac = (__vector
unsigned long long)
__a;
2375 __vector
unsigned long long __bc = (__vector
unsigned long long)
__b;
2376 return (__vector
unsigned long long)(__ac[1], __bc[1]);
2383 return __builtin_s390_vpksh(
__a,
__b);
2388 return __builtin_s390_vpklsh(
__a,
__b);
2393 return __builtin_s390_vpksf(
__a,
__b);
2398 return __builtin_s390_vpklsf(
__a,
__b);
2402vec_packs(__vector
signed long long __a, __vector
signed long long __b) {
2403 return __builtin_s390_vpksg(
__a,
__b);
2407vec_packs(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2408 return __builtin_s390_vpklsg(
__a,
__b);
2414vec_packs_cc(__vector
signed short __a, __vector
signed short __b,
int *__cc) {
2415 return __builtin_s390_vpkshs(
__a,
__b, __cc);
2419vec_packs_cc(__vector
unsigned short __a, __vector
unsigned short __b,
2421 return __builtin_s390_vpklshs(
__a,
__b, __cc);
2425vec_packs_cc(__vector
signed int __a, __vector
signed int __b,
int *__cc) {
2426 return __builtin_s390_vpksfs(
__a,
__b, __cc);
2430vec_packs_cc(__vector
unsigned int __a, __vector
unsigned int __b,
int *__cc) {
2431 return __builtin_s390_vpklsfs(
__a,
__b, __cc);
2435vec_packs_cc(__vector
signed long long __a, __vector
signed long long __b,
2437 return __builtin_s390_vpksgs(
__a,
__b, __cc);
2441vec_packs_cc(__vector
unsigned long long __a, __vector
unsigned long long __b,
2443 return __builtin_s390_vpklsgs(
__a,
__b, __cc);
2450 const __vector
signed short __zero = (__vector
signed short)0;
2451 return __builtin_s390_vpklsh(
2452 (__vector
unsigned short)(
__a >= __zero) & (__vector
unsigned short)
__a,
2453 (__vector
unsigned short)(
__b >= __zero) & (__vector
unsigned short)
__b);
2458 return __builtin_s390_vpklsh(
__a,
__b);
2463 const __vector
signed int __zero = (__vector
signed int)0;
2464 return __builtin_s390_vpklsf(
2465 (__vector
unsigned int)(
__a >= __zero) & (__vector
unsigned int)
__a,
2466 (__vector
unsigned int)(
__b >= __zero) & (__vector
unsigned int)
__b);
2471 return __builtin_s390_vpklsf(
__a,
__b);
2476 const __vector
signed long long __zero = (__vector
signed long long)0;
2477 return __builtin_s390_vpklsg(
2478 (__vector
unsigned long long)(
__a >= __zero) &
2479 (__vector
unsigned long long)
__a,
2480 (__vector
unsigned long long)(
__b >= __zero) &
2481 (__vector
unsigned long long)
__b);
2485vec_packsu(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2486 return __builtin_s390_vpklsg(
__a,
__b);
2492vec_packsu_cc(__vector
unsigned short __a, __vector
unsigned short __b,
2494 return __builtin_s390_vpklshs(
__a,
__b, __cc);
2498vec_packsu_cc(__vector
unsigned int __a, __vector
unsigned int __b,
int *__cc) {
2499 return __builtin_s390_vpklsfs(
__a,
__b, __cc);
2503vec_packsu_cc(__vector
unsigned long long __a, __vector
unsigned long long __b,
2505 return __builtin_s390_vpklsgs(
__a,
__b, __cc);
2512 return __builtin_s390_vuphb(
__a);
2517 return ((__vector __bool
short)
2518 __builtin_s390_vuphb((__vector
signed char)
__a));
2523 return __builtin_s390_vuplhb(
__a);
2528 return __builtin_s390_vuphh(
__a);
2533 return (__vector __bool
int)__builtin_s390_vuphh((__vector
signed short)
__a);
2538 return __builtin_s390_vuplhh(
__a);
2543 return __builtin_s390_vuphf(
__a);
2548 return ((__vector __bool
long long)
2549 __builtin_s390_vuphf((__vector
signed int)
__a));
2554 return __builtin_s390_vuplhf(
__a);
2560 return (__vector
signed __int128)__builtin_s390_vuphg(
__a);
2565 return ((__vector __bool __int128)
2566 __builtin_s390_vuphg((__vector
signed long long)
__a));
2571 return (__vector
unsigned __int128)__builtin_s390_vuplhg(
__a);
2579 return __builtin_s390_vuplb(
__a);
2584 return ((__vector __bool
short)
2585 __builtin_s390_vuplb((__vector
signed char)
__a));
2590 return __builtin_s390_vupllb(
__a);
2595 return __builtin_s390_vuplhw(
__a);
2600 return ((__vector __bool
int)
2601 __builtin_s390_vuplhw((__vector
signed short)
__a));
2606 return __builtin_s390_vupllh(
__a);
2611 return __builtin_s390_vuplf(
__a);
2616 return ((__vector __bool
long long)
2617 __builtin_s390_vuplf((__vector
signed int)
__a));
2622 return __builtin_s390_vupllf(
__a);
2628 return (__vector
signed __int128)__builtin_s390_vuplg(
__a);
2633 return ((__vector __bool __int128)
2634 __builtin_s390_vuplg((__vector
signed long long)
__a));
2639 return (__vector
unsigned __int128)__builtin_s390_vupllg(
__a);
2647 return (__vector __bool
char)(
__a ==
__b);
2652 return (__vector __bool
char)(
__a ==
__b);
2657 return (__vector __bool
char)(
__a ==
__b);
2662 return (__vector __bool
short)(
__a ==
__b);
2667 return (__vector __bool
short)(
__a ==
__b);
2672 return (__vector __bool
short)(
__a ==
__b);
2677 return (__vector __bool
int)(
__a ==
__b);
2682 return (__vector __bool
int)(
__a ==
__b);
2687 return (__vector __bool
int)(
__a ==
__b);
2691vec_cmpeq(__vector __bool
long long __a, __vector __bool
long long __b) {
2692 return (__vector __bool
long long)(
__a ==
__b);
2696vec_cmpeq(__vector
signed long long __a, __vector
signed long long __b) {
2697 return (__vector __bool
long long)(
__a ==
__b);
2701vec_cmpeq(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2702 return (__vector __bool
long long)(
__a ==
__b);
2706vec_cmpeq(__vector __bool __int128
__a, __vector __bool __int128
__b) {
2707 return (__vector __bool __int128)(
__a ==
__b);
2711vec_cmpeq(__vector
signed __int128
__a, __vector
signed __int128
__b) {
2712 return (__vector __bool __int128)(
__a ==
__b);
2716vec_cmpeq(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
2717 return (__vector __bool __int128)(
__a ==
__b);
2723 return (__vector __bool
int)(
__a ==
__b);
2729 return (__vector __bool
long long)(
__a ==
__b);
2736 return (__vector __bool
char)(
__a >=
__b);
2741 return (__vector __bool
char)(
__a >=
__b);
2746 return (__vector __bool
short)(
__a >=
__b);
2751 return (__vector __bool
short)(
__a >=
__b);
2756 return (__vector __bool
int)(
__a >=
__b);
2761 return (__vector __bool
int)(
__a >=
__b);
2765vec_cmpge(__vector
signed long long __a, __vector
signed long long __b) {
2766 return (__vector __bool
long long)(
__a >=
__b);
2770vec_cmpge(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2771 return (__vector __bool
long long)(
__a >=
__b);
2775vec_cmpge(__vector
signed __int128
__a, __vector
signed __int128
__b) {
2776 return (__vector __bool __int128)(
__a >=
__b);
2780vec_cmpge(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
2781 return (__vector __bool __int128)(
__a >=
__b);
2787 return (__vector __bool
int)(
__a >=
__b);
2793 return (__vector __bool
long long)(
__a >=
__b);
2800 return (__vector __bool
char)(
__a >
__b);
2805 return (__vector __bool
char)(
__a >
__b);
2810 return (__vector __bool
short)(
__a >
__b);
2815 return (__vector __bool
short)(
__a >
__b);
2820 return (__vector __bool
int)(
__a >
__b);
2825 return (__vector __bool
int)(
__a >
__b);
2829vec_cmpgt(__vector
signed long long __a, __vector
signed long long __b) {
2830 return (__vector __bool
long long)(
__a >
__b);
2834vec_cmpgt(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2835 return (__vector __bool
long long)(
__a >
__b);
2839vec_cmpgt(__vector
signed __int128
__a, __vector
signed __int128
__b) {
2840 return (__vector __bool __int128)(
__a >
__b);
2844vec_cmpgt(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
2845 return (__vector __bool __int128)(
__a >
__b);
2851 return (__vector __bool
int)(
__a >
__b);
2857 return (__vector __bool
long long)(
__a >
__b);
2864 return (__vector __bool
char)(
__a <=
__b);
2869 return (__vector __bool
char)(
__a <=
__b);
2874 return (__vector __bool
short)(
__a <=
__b);
2879 return (__vector __bool
short)(
__a <=
__b);
2884 return (__vector __bool
int)(
__a <=
__b);
2889 return (__vector __bool
int)(
__a <=
__b);
2893vec_cmple(__vector
signed long long __a, __vector
signed long long __b) {
2894 return (__vector __bool
long long)(
__a <=
__b);
2898vec_cmple(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2899 return (__vector __bool
long long)(
__a <=
__b);
2903vec_cmple(__vector
signed __int128
__a, __vector
signed __int128
__b) {
2904 return (__vector __bool __int128)(
__a <=
__b);
2908vec_cmple(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
2909 return (__vector __bool __int128)(
__a <=
__b);
2915 return (__vector __bool
int)(
__a <=
__b);
2921 return (__vector __bool
long long)(
__a <=
__b);
2928 return (__vector __bool
char)(
__a <
__b);
2933 return (__vector __bool
char)(
__a <
__b);
2938 return (__vector __bool
short)(
__a <
__b);
2943 return (__vector __bool
short)(
__a <
__b);
2948 return (__vector __bool
int)(
__a <
__b);
2953 return (__vector __bool
int)(
__a <
__b);
2957vec_cmplt(__vector
signed long long __a, __vector
signed long long __b) {
2958 return (__vector __bool
long long)(
__a <
__b);
2962vec_cmplt(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2963 return (__vector __bool
long long)(
__a <
__b);
2967vec_cmplt(__vector
signed __int128
__a, __vector
signed __int128
__b) {
2968 return (__vector __bool __int128)(
__a <
__b);
2972vec_cmplt(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
2973 return (__vector __bool __int128)(
__a <
__b);
2979 return (__vector __bool
int)(
__a <
__b);
2985 return (__vector __bool
long long)(
__a <
__b);
2993 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
2994 (__vector
unsigned char)
__b, &__cc);
3002 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
3003 (__vector
unsigned char)
__b, &__cc);
3011 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
3012 (__vector
unsigned char)
__b, &__cc);
3019 __builtin_s390_vceqbs(
__a,
__b, &__cc);
3027 __builtin_s390_vceqbs(
__a, (__vector
unsigned char)
__b, &__cc);
3035 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
__b, &__cc);
3042 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
3043 (__vector
unsigned char)
__b, &__cc);
3050 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
3051 (__vector
unsigned short)
__b, &__cc);
3059 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
3060 (__vector
unsigned short)
__b, &__cc);
3068 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
3069 (__vector
unsigned short)
__b, &__cc);
3076 __builtin_s390_vceqhs(
__a,
__b, &__cc);
3084 __builtin_s390_vceqhs(
__a, (__vector
unsigned short)
__b, &__cc);
3092 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
__b, &__cc);
3099 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
3100 (__vector
unsigned short)
__b, &__cc);
3107 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
3108 (__vector
unsigned int)
__b, &__cc);
3116 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
3117 (__vector
unsigned int)
__b, &__cc);
3125 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
3126 (__vector
unsigned int)
__b, &__cc);
3133 __builtin_s390_vceqfs(
__a,
__b, &__cc);
3141 __builtin_s390_vceqfs(
__a, (__vector
unsigned int)
__b, &__cc);
3149 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
__b, &__cc);
3156 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
3157 (__vector
unsigned int)
__b, &__cc);
3164 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
3165 (__vector
unsigned long long)
__b, &__cc);
3173 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
3174 (__vector
unsigned long long)
__b, &__cc);
3182 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
3183 (__vector
unsigned long long)
__b, &__cc);
3188vec_all_eq(__vector
unsigned long long __a, __vector
unsigned long long __b) {
3190 __builtin_s390_vceqgs(
__a,
__b, &__cc);
3196vec_all_eq(__vector
unsigned long long __a, __vector __bool
long long __b) {
3198 __builtin_s390_vceqgs(
__a, (__vector
unsigned long long)
__b, &__cc);
3204vec_all_eq(__vector __bool
long long __a, __vector
unsigned long long __b) {
3206 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
__b, &__cc);
3213 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
3214 (__vector
unsigned long long)
__b, &__cc);
3222 __builtin_s390_vceqqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
3227vec_all_eq(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
3229 __builtin_s390_vceqqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
3236 __builtin_s390_vceqqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
3245 __builtin_s390_vfcesbs(
__a,
__b, &__cc);
3253 __builtin_s390_vfcedbs(
__a,
__b, &__cc);
3262 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
3263 (__vector
unsigned char)
__b, &__cc);
3271 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
3272 (__vector
unsigned char)
__b, &__cc);
3280 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
3281 (__vector
unsigned char)
__b, &__cc);
3288 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
3289 (__vector
unsigned char)
__b, &__cc);
3297 __builtin_s390_vceqbs(
__a, (__vector
unsigned char)
__b, &__cc);
3305 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
__b, &__cc);
3312 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
3313 (__vector
unsigned char)
__b, &__cc);
3320 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
3321 (__vector
unsigned short)
__b, &__cc);
3329 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
3330 (__vector
unsigned short)
__b, &__cc);
3338 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
3339 (__vector
unsigned short)
__b, &__cc);
3346 __builtin_s390_vceqhs(
__a,
__b, &__cc);
3354 __builtin_s390_vceqhs(
__a, (__vector
unsigned short)
__b, &__cc);
3362 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
__b, &__cc);
3369 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
3370 (__vector
unsigned short)
__b, &__cc);
3377 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
3378 (__vector
unsigned int)
__b, &__cc);
3386 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
3387 (__vector
unsigned int)
__b, &__cc);
3395 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
3396 (__vector
unsigned int)
__b, &__cc);
3403 __builtin_s390_vceqfs(
__a,
__b, &__cc);
3411 __builtin_s390_vceqfs(
__a, (__vector
unsigned int)
__b, &__cc);
3419 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
__b, &__cc);
3426 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
3427 (__vector
unsigned int)
__b, &__cc);
3434 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
3435 (__vector
unsigned long long)
__b, &__cc);
3443 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
3444 (__vector
unsigned long long)
__b, &__cc);
3452 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
3453 (__vector
unsigned long long)
__b, &__cc);
3458vec_all_ne(__vector
unsigned long long __a, __vector
unsigned long long __b) {
3460 __builtin_s390_vceqgs(
__a,
__b, &__cc);
3466vec_all_ne(__vector
unsigned long long __a, __vector __bool
long long __b) {
3468 __builtin_s390_vceqgs(
__a, (__vector
unsigned long long)
__b, &__cc);
3474vec_all_ne(__vector __bool
long long __a, __vector
unsigned long long __b) {
3476 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
__b, &__cc);
3483 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
3484 (__vector
unsigned long long)
__b, &__cc);
3492 __builtin_s390_vceqqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
3497vec_all_ne(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
3499 __builtin_s390_vceqqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
3506 __builtin_s390_vceqqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
3515 __builtin_s390_vfcesbs(
__a,
__b, &__cc);
3523 __builtin_s390_vfcedbs(
__a,
__b, &__cc);
3532 __builtin_s390_vchbs(
__b,
__a, &__cc);
3540 __builtin_s390_vchbs((__vector
signed char)
__b,
__a, &__cc);
3548 __builtin_s390_vchbs(
__b, (__vector
signed char)
__a, &__cc);
3555 __builtin_s390_vchlbs(
__b,
__a, &__cc);
3563 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
__a, &__cc);
3571 __builtin_s390_vchlbs(
__b, (__vector
unsigned char)
__a, &__cc);
3579 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
3580 (__vector
unsigned char)
__a, &__cc);
3587 __builtin_s390_vchhs(
__b,
__a, &__cc);
3595 __builtin_s390_vchhs((__vector
signed short)
__b,
__a, &__cc);
3603 __builtin_s390_vchhs(
__b, (__vector
signed short)
__a, &__cc);
3610 __builtin_s390_vchlhs(
__b,
__a, &__cc);
3618 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
__a, &__cc);
3626 __builtin_s390_vchlhs(
__b, (__vector
unsigned short)
__a, &__cc);
3634 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
3635 (__vector
unsigned short)
__a, &__cc);
3642 __builtin_s390_vchfs(
__b,
__a, &__cc);
3650 __builtin_s390_vchfs((__vector
signed int)
__b,
__a, &__cc);
3658 __builtin_s390_vchfs(
__b, (__vector
signed int)
__a, &__cc);
3665 __builtin_s390_vchlfs(
__b,
__a, &__cc);
3673 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
__a, &__cc);
3681 __builtin_s390_vchlfs(
__b, (__vector
unsigned int)
__a, &__cc);
3689 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
3690 (__vector
unsigned int)
__a, &__cc);
3697 __builtin_s390_vchgs(
__b,
__a, &__cc);
3705 __builtin_s390_vchgs((__vector
signed long long)
__b,
__a, &__cc);
3713 __builtin_s390_vchgs(
__b, (__vector
signed long long)
__a, &__cc);
3718vec_all_ge(__vector
unsigned long long __a, __vector
unsigned long long __b) {
3720 __builtin_s390_vchlgs(
__b,
__a, &__cc);
3726vec_all_ge(__vector
unsigned long long __a, __vector __bool
long long __b) {
3728 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
__a, &__cc);
3734vec_all_ge(__vector __bool
long long __a, __vector
unsigned long long __b) {
3736 __builtin_s390_vchlgs(
__b, (__vector
unsigned long long)
__a, &__cc);
3744 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
3745 (__vector
unsigned long long)
__a, &__cc);
3753 __builtin_s390_vchqs((
signed __int128)
__b, (
signed __int128)
__a, &__cc);
3758vec_all_ge(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
3760 __builtin_s390_vchlqs((
unsigned __int128)
__b, (
unsigned __int128)
__a, &__cc);
3769 __builtin_s390_vfchesbs(
__a,
__b, &__cc);
3777 __builtin_s390_vfchedbs(
__a,
__b, &__cc);
3786 __builtin_s390_vchbs(
__a,
__b, &__cc);
3794 __builtin_s390_vchbs(
__a, (__vector
signed char)
__b, &__cc);
3802 __builtin_s390_vchbs((__vector
signed char)
__a,
__b, &__cc);
3809 __builtin_s390_vchlbs(
__a,
__b, &__cc);
3817 __builtin_s390_vchlbs(
__a, (__vector
unsigned char)
__b, &__cc);
3825 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
__b, &__cc);
3833 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
3834 (__vector
unsigned char)
__b, &__cc);
3841 __builtin_s390_vchhs(
__a,
__b, &__cc);
3849 __builtin_s390_vchhs(
__a, (__vector
signed short)
__b, &__cc);
3857 __builtin_s390_vchhs((__vector
signed short)
__a,
__b, &__cc);
3864 __builtin_s390_vchlhs(
__a,
__b, &__cc);
3872 __builtin_s390_vchlhs(
__a, (__vector
unsigned short)
__b, &__cc);
3880 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
__b, &__cc);
3888 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
3889 (__vector
unsigned short)
__b, &__cc);
3896 __builtin_s390_vchfs(
__a,
__b, &__cc);
3904 __builtin_s390_vchfs(
__a, (__vector
signed int)
__b, &__cc);
3912 __builtin_s390_vchfs((__vector
signed int)
__a,
__b, &__cc);
3919 __builtin_s390_vchlfs(
__a,
__b, &__cc);
3927 __builtin_s390_vchlfs(
__a, (__vector
unsigned int)
__b, &__cc);
3935 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
__b, &__cc);
3943 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
3944 (__vector
unsigned int)
__b, &__cc);
3951 __builtin_s390_vchgs(
__a,
__b, &__cc);
3959 __builtin_s390_vchgs(
__a, (__vector
signed long long)
__b, &__cc);
3967 __builtin_s390_vchgs((__vector
signed long long)
__a,
__b, &__cc);
3972vec_all_gt(__vector
unsigned long long __a, __vector
unsigned long long __b) {
3974 __builtin_s390_vchlgs(
__a,
__b, &__cc);
3980vec_all_gt(__vector
unsigned long long __a, __vector __bool
long long __b) {
3982 __builtin_s390_vchlgs(
__a, (__vector
unsigned long long)
__b, &__cc);
3988vec_all_gt(__vector __bool
long long __a, __vector
unsigned long long __b) {
3990 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
__b, &__cc);
3998 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
3999 (__vector
unsigned long long)
__b, &__cc);
4007 __builtin_s390_vchqs((
signed __int128)
__a, (
signed __int128)
__b, &__cc);
4012vec_all_gt(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
4014 __builtin_s390_vchlqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
4023 __builtin_s390_vfchsbs(
__a,
__b, &__cc);
4031 __builtin_s390_vfchdbs(
__a,
__b, &__cc);
4040 __builtin_s390_vchbs(
__a,
__b, &__cc);
4048 __builtin_s390_vchbs(
__a, (__vector
signed char)
__b, &__cc);
4056 __builtin_s390_vchbs((__vector
signed char)
__a,
__b, &__cc);
4063 __builtin_s390_vchlbs(
__a,
__b, &__cc);
4071 __builtin_s390_vchlbs(
__a, (__vector
unsigned char)
__b, &__cc);
4079 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
__b, &__cc);
4087 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
4088 (__vector
unsigned char)
__b, &__cc);
4095 __builtin_s390_vchhs(
__a,
__b, &__cc);
4103 __builtin_s390_vchhs(
__a, (__vector
signed short)
__b, &__cc);
4111 __builtin_s390_vchhs((__vector
signed short)
__a,
__b, &__cc);
4118 __builtin_s390_vchlhs(
__a,
__b, &__cc);
4126 __builtin_s390_vchlhs(
__a, (__vector
unsigned short)
__b, &__cc);
4134 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
__b, &__cc);
4142 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
4143 (__vector
unsigned short)
__b, &__cc);
4150 __builtin_s390_vchfs(
__a,
__b, &__cc);
4158 __builtin_s390_vchfs(
__a, (__vector
signed int)
__b, &__cc);
4166 __builtin_s390_vchfs((__vector
signed int)
__a,
__b, &__cc);
4173 __builtin_s390_vchlfs(
__a,
__b, &__cc);
4181 __builtin_s390_vchlfs(
__a, (__vector
unsigned int)
__b, &__cc);
4189 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
__b, &__cc);
4197 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
4198 (__vector
unsigned int)
__b, &__cc);
4205 __builtin_s390_vchgs(
__a,
__b, &__cc);
4213 __builtin_s390_vchgs(
__a, (__vector
signed long long)
__b, &__cc);
4221 __builtin_s390_vchgs((__vector
signed long long)
__a,
__b, &__cc);
4226vec_all_le(__vector
unsigned long long __a, __vector
unsigned long long __b) {
4228 __builtin_s390_vchlgs(
__a,
__b, &__cc);
4234vec_all_le(__vector
unsigned long long __a, __vector __bool
long long __b) {
4236 __builtin_s390_vchlgs(
__a, (__vector
unsigned long long)
__b, &__cc);
4242vec_all_le(__vector __bool
long long __a, __vector
unsigned long long __b) {
4244 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
__b, &__cc);
4252 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
4253 (__vector
unsigned long long)
__b, &__cc);
4261 __builtin_s390_vchqs((
signed __int128)
__a, (
signed __int128)
__b, &__cc);
4266vec_all_le(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
4268 __builtin_s390_vchlqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
4277 __builtin_s390_vfchesbs(
__b,
__a, &__cc);
4285 __builtin_s390_vfchedbs(
__b,
__a, &__cc);
4294 __builtin_s390_vchbs(
__b,
__a, &__cc);
4302 __builtin_s390_vchbs((__vector
signed char)
__b,
__a, &__cc);
4310 __builtin_s390_vchbs(
__b, (__vector
signed char)
__a, &__cc);
4317 __builtin_s390_vchlbs(
__b,
__a, &__cc);
4325 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
__a, &__cc);
4333 __builtin_s390_vchlbs(
__b, (__vector
unsigned char)
__a, &__cc);
4341 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
4342 (__vector
unsigned char)
__a, &__cc);
4349 __builtin_s390_vchhs(
__b,
__a, &__cc);
4357 __builtin_s390_vchhs((__vector
signed short)
__b,
__a, &__cc);
4365 __builtin_s390_vchhs(
__b, (__vector
signed short)
__a, &__cc);
4372 __builtin_s390_vchlhs(
__b,
__a, &__cc);
4380 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
__a, &__cc);
4388 __builtin_s390_vchlhs(
__b, (__vector
unsigned short)
__a, &__cc);
4396 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
4397 (__vector
unsigned short)
__a, &__cc);
4404 __builtin_s390_vchfs(
__b,
__a, &__cc);
4412 __builtin_s390_vchfs((__vector
signed int)
__b,
__a, &__cc);
4420 __builtin_s390_vchfs(
__b, (__vector
signed int)
__a, &__cc);
4427 __builtin_s390_vchlfs(
__b,
__a, &__cc);
4435 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
__a, &__cc);
4443 __builtin_s390_vchlfs(
__b, (__vector
unsigned int)
__a, &__cc);
4451 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
4452 (__vector
unsigned int)
__a, &__cc);
4459 __builtin_s390_vchgs(
__b,
__a, &__cc);
4467 __builtin_s390_vchgs((__vector
signed long long)
__b,
__a, &__cc);
4475 __builtin_s390_vchgs(
__b, (__vector
signed long long)
__a, &__cc);
4480vec_all_lt(__vector
unsigned long long __a, __vector
unsigned long long __b) {
4482 __builtin_s390_vchlgs(
__b,
__a, &__cc);
4488vec_all_lt(__vector
unsigned long long __a, __vector __bool
long long __b) {
4490 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
__a, &__cc);
4496vec_all_lt(__vector __bool
long long __a, __vector
unsigned long long __b) {
4498 __builtin_s390_vchlgs(
__b, (__vector
unsigned long long)
__a, &__cc);
4506 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
4507 (__vector
unsigned long long)
__a, &__cc);
4515 __builtin_s390_vchqs((
signed __int128)
__b, (
signed __int128)
__a, &__cc);
4520vec_all_lt(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
4522 __builtin_s390_vchlqs((
unsigned __int128)
__b, (
unsigned __int128)
__a, &__cc);
4531 __builtin_s390_vfchsbs(
__b,
__a, &__cc);
4539 __builtin_s390_vfchdbs(
__b,
__a, &__cc);
4549 __builtin_s390_vfchesbs(
__a,
__b, &__cc);
4557 __builtin_s390_vfchedbs(
__a,
__b, &__cc);
4567 __builtin_s390_vfchsbs(
__a,
__b, &__cc);
4575 __builtin_s390_vfchdbs(
__a,
__b, &__cc);
4585 __builtin_s390_vfchesbs(
__b,
__a, &__cc);
4593 __builtin_s390_vfchedbs(
__b,
__a, &__cc);
4603 __builtin_s390_vfchsbs(
__b,
__a, &__cc);
4611 __builtin_s390_vfchdbs(
__b,
__a, &__cc);
4621 __builtin_s390_vftcisb(
__a, 15, &__cc);
4629 __builtin_s390_vftcidb(
__a, 15, &__cc);
4639 __builtin_s390_vftcisb(
__a, 15, &__cc);
4647 __builtin_s390_vftcidb(
__a, 15, &__cc);
4656 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
4657 (__vector
unsigned char)
__b, &__cc);
4665 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
4666 (__vector
unsigned char)
__b, &__cc);
4674 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
4675 (__vector
unsigned char)
__b, &__cc);
4682 __builtin_s390_vceqbs(
__a,
__b, &__cc);
4690 __builtin_s390_vceqbs(
__a, (__vector
unsigned char)
__b, &__cc);
4698 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
__b, &__cc);
4705 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
4706 (__vector
unsigned char)
__b, &__cc);
4713 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
4714 (__vector
unsigned short)
__b, &__cc);
4722 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
4723 (__vector
unsigned short)
__b, &__cc);
4731 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
4732 (__vector
unsigned short)
__b, &__cc);
4739 __builtin_s390_vceqhs(
__a,
__b, &__cc);
4747 __builtin_s390_vceqhs(
__a, (__vector
unsigned short)
__b, &__cc);
4755 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
__b, &__cc);
4762 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
4763 (__vector
unsigned short)
__b, &__cc);
4770 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
4771 (__vector
unsigned int)
__b, &__cc);
4779 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
4780 (__vector
unsigned int)
__b, &__cc);
4788 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
4789 (__vector
unsigned int)
__b, &__cc);
4796 __builtin_s390_vceqfs(
__a,
__b, &__cc);
4804 __builtin_s390_vceqfs(
__a, (__vector
unsigned int)
__b, &__cc);
4812 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
__b, &__cc);
4819 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
4820 (__vector
unsigned int)
__b, &__cc);
4827 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
4828 (__vector
unsigned long long)
__b, &__cc);
4836 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
4837 (__vector
unsigned long long)
__b, &__cc);
4845 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
4846 (__vector
unsigned long long)
__b, &__cc);
4851vec_any_eq(__vector
unsigned long long __a, __vector
unsigned long long __b) {
4853 __builtin_s390_vceqgs(
__a,
__b, &__cc);
4859vec_any_eq(__vector
unsigned long long __a, __vector __bool
long long __b) {
4861 __builtin_s390_vceqgs(
__a, (__vector
unsigned long long)
__b, &__cc);
4867vec_any_eq(__vector __bool
long long __a, __vector
unsigned long long __b) {
4869 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
__b, &__cc);
4876 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
4877 (__vector
unsigned long long)
__b, &__cc);
4885 __builtin_s390_vceqqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
4890vec_any_eq(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
4892 __builtin_s390_vceqqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
4899 __builtin_s390_vceqqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
4908 __builtin_s390_vfcesbs(
__a,
__b, &__cc);
4916 __builtin_s390_vfcedbs(
__a,
__b, &__cc);
4925 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
4926 (__vector
unsigned char)
__b, &__cc);
4934 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
4935 (__vector
unsigned char)
__b, &__cc);
4943 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
4944 (__vector
unsigned char)
__b, &__cc);
4951 __builtin_s390_vceqbs(
__a,
__b, &__cc);
4959 __builtin_s390_vceqbs(
__a, (__vector
unsigned char)
__b, &__cc);
4967 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
__b, &__cc);
4974 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
4975 (__vector
unsigned char)
__b, &__cc);
4982 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
4983 (__vector
unsigned short)
__b, &__cc);
4991 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
4992 (__vector
unsigned short)
__b, &__cc);
5000 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
5001 (__vector
unsigned short)
__b, &__cc);
5008 __builtin_s390_vceqhs(
__a,
__b, &__cc);
5016 __builtin_s390_vceqhs(
__a, (__vector
unsigned short)
__b, &__cc);
5024 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
__b, &__cc);
5031 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
5032 (__vector
unsigned short)
__b, &__cc);
5039 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
5040 (__vector
unsigned int)
__b, &__cc);
5048 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
5049 (__vector
unsigned int)
__b, &__cc);
5057 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
5058 (__vector
unsigned int)
__b, &__cc);
5065 __builtin_s390_vceqfs(
__a,
__b, &__cc);
5073 __builtin_s390_vceqfs(
__a, (__vector
unsigned int)
__b, &__cc);
5081 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
__b, &__cc);
5088 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
5089 (__vector
unsigned int)
__b, &__cc);
5096 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
5097 (__vector
unsigned long long)
__b, &__cc);
5105 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
5106 (__vector
unsigned long long)
__b, &__cc);
5114 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
5115 (__vector
unsigned long long)
__b, &__cc);
5120vec_any_ne(__vector
unsigned long long __a, __vector
unsigned long long __b) {
5122 __builtin_s390_vceqgs(
__a,
__b, &__cc);
5128vec_any_ne(__vector
unsigned long long __a, __vector __bool
long long __b) {
5130 __builtin_s390_vceqgs(
__a, (__vector
unsigned long long)
__b, &__cc);
5136vec_any_ne(__vector __bool
long long __a, __vector
unsigned long long __b) {
5138 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
__b, &__cc);
5145 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
5146 (__vector
unsigned long long)
__b, &__cc);
5154 __builtin_s390_vceqqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
5159vec_any_ne(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
5161 __builtin_s390_vceqqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
5168 __builtin_s390_vceqqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
5177 __builtin_s390_vfcesbs(
__a,
__b, &__cc);
5185 __builtin_s390_vfcedbs(
__a,
__b, &__cc);
5194 __builtin_s390_vchbs(
__b,
__a, &__cc);
5202 __builtin_s390_vchbs((__vector
signed char)
__b,
__a, &__cc);
5210 __builtin_s390_vchbs(
__b, (__vector
signed char)
__a, &__cc);
5217 __builtin_s390_vchlbs(
__b,
__a, &__cc);
5225 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
__a, &__cc);
5233 __builtin_s390_vchlbs(
__b, (__vector
unsigned char)
__a, &__cc);
5241 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
5242 (__vector
unsigned char)
__a, &__cc);
5249 __builtin_s390_vchhs(
__b,
__a, &__cc);
5257 __builtin_s390_vchhs((__vector
signed short)
__b,
__a, &__cc);
5265 __builtin_s390_vchhs(
__b, (__vector
signed short)
__a, &__cc);
5272 __builtin_s390_vchlhs(
__b,
__a, &__cc);
5280 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
__a, &__cc);
5288 __builtin_s390_vchlhs(
__b, (__vector
unsigned short)
__a, &__cc);
5296 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
5297 (__vector
unsigned short)
__a, &__cc);
5304 __builtin_s390_vchfs(
__b,
__a, &__cc);
5312 __builtin_s390_vchfs((__vector
signed int)
__b,
__a, &__cc);
5320 __builtin_s390_vchfs(
__b, (__vector
signed int)
__a, &__cc);
5327 __builtin_s390_vchlfs(
__b,
__a, &__cc);
5335 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
__a, &__cc);
5343 __builtin_s390_vchlfs(
__b, (__vector
unsigned int)
__a, &__cc);
5351 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
5352 (__vector
unsigned int)
__a, &__cc);
5359 __builtin_s390_vchgs(
__b,
__a, &__cc);
5367 __builtin_s390_vchgs((__vector
signed long long)
__b,
__a, &__cc);
5375 __builtin_s390_vchgs(
__b, (__vector
signed long long)
__a, &__cc);
5380vec_any_ge(__vector
unsigned long long __a, __vector
unsigned long long __b) {
5382 __builtin_s390_vchlgs(
__b,
__a, &__cc);
5388vec_any_ge(__vector
unsigned long long __a, __vector __bool
long long __b) {
5390 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
__a, &__cc);
5396vec_any_ge(__vector __bool
long long __a, __vector
unsigned long long __b) {
5398 __builtin_s390_vchlgs(
__b, (__vector
unsigned long long)
__a, &__cc);
5406 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
5407 (__vector
unsigned long long)
__a, &__cc);
5415 __builtin_s390_vchqs((
signed __int128)
__b, (
signed __int128)
__a, &__cc);
5420vec_any_ge(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
5422 __builtin_s390_vchlqs((
unsigned __int128)
__b, (
unsigned __int128)
__a, &__cc);
5431 __builtin_s390_vfchesbs(
__a,
__b, &__cc);
5439 __builtin_s390_vfchedbs(
__a,
__b, &__cc);
5448 __builtin_s390_vchbs(
__a,
__b, &__cc);
5456 __builtin_s390_vchbs(
__a, (__vector
signed char)
__b, &__cc);
5464 __builtin_s390_vchbs((__vector
signed char)
__a,
__b, &__cc);
5471 __builtin_s390_vchlbs(
__a,
__b, &__cc);
5479 __builtin_s390_vchlbs(
__a, (__vector
unsigned char)
__b, &__cc);
5487 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
__b, &__cc);
5495 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
5496 (__vector
unsigned char)
__b, &__cc);
5503 __builtin_s390_vchhs(
__a,
__b, &__cc);
5511 __builtin_s390_vchhs(
__a, (__vector
signed short)
__b, &__cc);
5519 __builtin_s390_vchhs((__vector
signed short)
__a,
__b, &__cc);
5526 __builtin_s390_vchlhs(
__a,
__b, &__cc);
5534 __builtin_s390_vchlhs(
__a, (__vector
unsigned short)
__b, &__cc);
5542 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
__b, &__cc);
5550 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
5551 (__vector
unsigned short)
__b, &__cc);
5558 __builtin_s390_vchfs(
__a,
__b, &__cc);
5566 __builtin_s390_vchfs(
__a, (__vector
signed int)
__b, &__cc);
5574 __builtin_s390_vchfs((__vector
signed int)
__a,
__b, &__cc);
5581 __builtin_s390_vchlfs(
__a,
__b, &__cc);
5589 __builtin_s390_vchlfs(
__a, (__vector
unsigned int)
__b, &__cc);
5597 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
__b, &__cc);
5605 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
5606 (__vector
unsigned int)
__b, &__cc);
5613 __builtin_s390_vchgs(
__a,
__b, &__cc);
5621 __builtin_s390_vchgs(
__a, (__vector
signed long long)
__b, &__cc);
5629 __builtin_s390_vchgs((__vector
signed long long)
__a,
__b, &__cc);
5634vec_any_gt(__vector
unsigned long long __a, __vector
unsigned long long __b) {
5636 __builtin_s390_vchlgs(
__a,
__b, &__cc);
5642vec_any_gt(__vector
unsigned long long __a, __vector __bool
long long __b) {
5644 __builtin_s390_vchlgs(
__a, (__vector
unsigned long long)
__b, &__cc);
5650vec_any_gt(__vector __bool
long long __a, __vector
unsigned long long __b) {
5652 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
__b, &__cc);
5660 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
5661 (__vector
unsigned long long)
__b, &__cc);
5669 __builtin_s390_vchqs((
signed __int128)
__a, (
signed __int128)
__b, &__cc);
5674vec_any_gt(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
5676 __builtin_s390_vchlqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
5685 __builtin_s390_vfchsbs(
__a,
__b, &__cc);
5693 __builtin_s390_vfchdbs(
__a,
__b, &__cc);
5702 __builtin_s390_vchbs(
__a,
__b, &__cc);
5710 __builtin_s390_vchbs(
__a, (__vector
signed char)
__b, &__cc);
5718 __builtin_s390_vchbs((__vector
signed char)
__a,
__b, &__cc);
5725 __builtin_s390_vchlbs(
__a,
__b, &__cc);
5733 __builtin_s390_vchlbs(
__a, (__vector
unsigned char)
__b, &__cc);
5741 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
__b, &__cc);
5749 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
5750 (__vector
unsigned char)
__b, &__cc);
5757 __builtin_s390_vchhs(
__a,
__b, &__cc);
5765 __builtin_s390_vchhs(
__a, (__vector
signed short)
__b, &__cc);
5773 __builtin_s390_vchhs((__vector
signed short)
__a,
__b, &__cc);
5780 __builtin_s390_vchlhs(
__a,
__b, &__cc);
5788 __builtin_s390_vchlhs(
__a, (__vector
unsigned short)
__b, &__cc);
5796 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
__b, &__cc);
5804 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
5805 (__vector
unsigned short)
__b, &__cc);
5812 __builtin_s390_vchfs(
__a,
__b, &__cc);
5820 __builtin_s390_vchfs(
__a, (__vector
signed int)
__b, &__cc);
5828 __builtin_s390_vchfs((__vector
signed int)
__a,
__b, &__cc);
5835 __builtin_s390_vchlfs(
__a,
__b, &__cc);
5843 __builtin_s390_vchlfs(
__a, (__vector
unsigned int)
__b, &__cc);
5851 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
__b, &__cc);
5859 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
5860 (__vector
unsigned int)
__b, &__cc);
5867 __builtin_s390_vchgs(
__a,
__b, &__cc);
5875 __builtin_s390_vchgs(
__a, (__vector
signed long long)
__b, &__cc);
5883 __builtin_s390_vchgs((__vector
signed long long)
__a,
__b, &__cc);
5888vec_any_le(__vector
unsigned long long __a, __vector
unsigned long long __b) {
5890 __builtin_s390_vchlgs(
__a,
__b, &__cc);
5896vec_any_le(__vector
unsigned long long __a, __vector __bool
long long __b) {
5898 __builtin_s390_vchlgs(
__a, (__vector
unsigned long long)
__b, &__cc);
5904vec_any_le(__vector __bool
long long __a, __vector
unsigned long long __b) {
5906 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
__b, &__cc);
5914 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
5915 (__vector
unsigned long long)
__b, &__cc);
5923 __builtin_s390_vchqs((
signed __int128)
__a, (
signed __int128)
__b, &__cc);
5928vec_any_le(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
5930 __builtin_s390_vchlqs((
unsigned __int128)
__a, (
unsigned __int128)
__b, &__cc);
5939 __builtin_s390_vfchesbs(
__b,
__a, &__cc);
5947 __builtin_s390_vfchedbs(
__b,
__a, &__cc);
5956 __builtin_s390_vchbs(
__b,
__a, &__cc);
5964 __builtin_s390_vchbs((__vector
signed char)
__b,
__a, &__cc);
5972 __builtin_s390_vchbs(
__b, (__vector
signed char)
__a, &__cc);
5979 __builtin_s390_vchlbs(
__b,
__a, &__cc);
5987 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
__a, &__cc);
5995 __builtin_s390_vchlbs(
__b, (__vector
unsigned char)
__a, &__cc);
6003 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
6004 (__vector
unsigned char)
__a, &__cc);
6011 __builtin_s390_vchhs(
__b,
__a, &__cc);
6019 __builtin_s390_vchhs((__vector
signed short)
__b,
__a, &__cc);
6027 __builtin_s390_vchhs(
__b, (__vector
signed short)
__a, &__cc);
6034 __builtin_s390_vchlhs(
__b,
__a, &__cc);
6042 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
__a, &__cc);
6050 __builtin_s390_vchlhs(
__b, (__vector
unsigned short)
__a, &__cc);
6058 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
6059 (__vector
unsigned short)
__a, &__cc);
6066 __builtin_s390_vchfs(
__b,
__a, &__cc);
6074 __builtin_s390_vchfs((__vector
signed int)
__b,
__a, &__cc);
6082 __builtin_s390_vchfs(
__b, (__vector
signed int)
__a, &__cc);
6089 __builtin_s390_vchlfs(
__b,
__a, &__cc);
6097 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
__a, &__cc);
6105 __builtin_s390_vchlfs(
__b, (__vector
unsigned int)
__a, &__cc);
6113 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
6114 (__vector
unsigned int)
__a, &__cc);
6121 __builtin_s390_vchgs(
__b,
__a, &__cc);
6129 __builtin_s390_vchgs((__vector
signed long long)
__b,
__a, &__cc);
6137 __builtin_s390_vchgs(
__b, (__vector
signed long long)
__a, &__cc);
6142vec_any_lt(__vector
unsigned long long __a, __vector
unsigned long long __b) {
6144 __builtin_s390_vchlgs(
__b,
__a, &__cc);
6150vec_any_lt(__vector
unsigned long long __a, __vector __bool
long long __b) {
6152 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
__a, &__cc);
6158vec_any_lt(__vector __bool
long long __a, __vector
unsigned long long __b) {
6160 __builtin_s390_vchlgs(
__b, (__vector
unsigned long long)
__a, &__cc);
6168 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
6169 (__vector
unsigned long long)
__a, &__cc);
6177 __builtin_s390_vchqs((
signed __int128)
__b, (
signed __int128)
__a, &__cc);
6182vec_any_lt(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
6184 __builtin_s390_vchlqs((
unsigned __int128)
__b, (
unsigned __int128)
__a, &__cc);
6193 __builtin_s390_vfchsbs(
__b,
__a, &__cc);
6201 __builtin_s390_vfchdbs(
__b,
__a, &__cc);
6211 __builtin_s390_vfchesbs(
__a,
__b, &__cc);
6219 __builtin_s390_vfchedbs(
__a,
__b, &__cc);
6229 __builtin_s390_vfchsbs(
__a,
__b, &__cc);
6237 __builtin_s390_vfchdbs(
__a,
__b, &__cc);
6247 __builtin_s390_vfchesbs(
__b,
__a, &__cc);
6255 __builtin_s390_vfchedbs(
__b,
__a, &__cc);
6265 __builtin_s390_vfchsbs(
__b,
__a, &__cc);
6273 __builtin_s390_vfchdbs(
__b,
__a, &__cc);
6283 __builtin_s390_vftcisb(
__a, 15, &__cc);
6291 __builtin_s390_vftcidb(
__a, 15, &__cc);
6301 __builtin_s390_vftcisb(
__a, 15, &__cc);
6309 __builtin_s390_vftcidb(
__a, 15, &__cc);
6317vec_blend(__vector
signed char __a, __vector
signed char __b,
6318 __vector
signed char __c) {
6323vec_blend(__vector __bool
char __a, __vector __bool
char __b,
6324 __vector
signed char __c) {
6329vec_blend(__vector
unsigned char __a, __vector
unsigned char __b,
6330 __vector
signed char __c) {
6335vec_blend(__vector
signed short __a, __vector
signed short __b,
6336 __vector
signed short __c) {
6341vec_blend(__vector __bool
short __a, __vector __bool
short __b,
6342 __vector
signed short __c) {
6347vec_blend(__vector
unsigned short __a, __vector
unsigned short __b,
6348 __vector
signed short __c) {
6353vec_blend(__vector
signed int __a, __vector
signed int __b,
6354 __vector
signed int __c) {
6359vec_blend(__vector __bool
int __a, __vector __bool
int __b,
6360 __vector
signed int __c) {
6365vec_blend(__vector
unsigned int __a, __vector
unsigned int __b,
6366 __vector
signed int __c) {
6371vec_blend(__vector
signed long long __a, __vector
signed long long __b,
6372 __vector
signed long long __c) {
6377vec_blend(__vector __bool
long long __a, __vector __bool
long long __b,
6378 __vector
signed long long __c) {
6383vec_blend(__vector
unsigned long long __a, __vector
unsigned long long __b,
6384 __vector
signed long long __c) {
6389vec_blend(__vector
signed __int128
__a, __vector
signed __int128
__b,
6390 __vector
signed __int128
__c) {
6395vec_blend(__vector __bool __int128
__a, __vector __bool __int128
__b,
6396 __vector
signed __int128
__c) {
6401vec_blend(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
6402 __vector
signed __int128
__c) {
6407vec_blend(__vector
float __a, __vector
float __b,
6408 __vector
signed int __c) {
6413vec_blend(__vector
double __a, __vector
double __b,
6414 __vector
signed long long __c) {
6422vec_and(__vector __bool
char __a, __vector __bool
char __b) {
6427vec_and(__vector
signed char __a, __vector
signed char __b) {
6432vec_and(__vector
unsigned char __a, __vector
unsigned char __b) {
6437vec_and(__vector __bool
short __a, __vector __bool
short __b) {
6442vec_and(__vector
signed short __a, __vector
signed short __b) {
6447vec_and(__vector
unsigned short __a, __vector
unsigned short __b) {
6462vec_and(__vector
unsigned int __a, __vector
unsigned int __b) {
6467vec_and(__vector __bool
long long __a, __vector __bool
long long __b) {
6472vec_and(__vector
signed long long __a, __vector
signed long long __b) {
6477vec_and(__vector
unsigned long long __a, __vector
unsigned long long __b) {
6482vec_and(__vector __bool __int128
__a, __vector __bool __int128
__b) {
6487vec_and(__vector
signed __int128
__a, __vector
signed __int128
__b) {
6492vec_and(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
6499 return (__vector
float)((__vector
unsigned int)
__a &
6500 (__vector
unsigned int)
__b);
6506 return (__vector
double)((__vector
unsigned long long)
__a &
6507 (__vector
unsigned long long)
__b);
6513vec_or(__vector __bool
char __a, __vector __bool
char __b) {
6518vec_or(__vector
signed char __a, __vector
signed char __b) {
6523vec_or(__vector
unsigned char __a, __vector
unsigned char __b) {
6528vec_or(__vector __bool
short __a, __vector __bool
short __b) {
6533vec_or(__vector
signed short __a, __vector
signed short __b) {
6538vec_or(__vector
unsigned short __a, __vector
unsigned short __b) {
6543vec_or(__vector __bool
int __a, __vector __bool
int __b) {
6548vec_or(__vector
signed int __a, __vector
signed int __b) {
6553vec_or(__vector
unsigned int __a, __vector
unsigned int __b) {
6558vec_or(__vector __bool
long long __a, __vector __bool
long long __b) {
6563vec_or(__vector
signed long long __a, __vector
signed long long __b) {
6568vec_or(__vector
unsigned long long __a, __vector
unsigned long long __b) {
6573vec_or(__vector __bool __int128
__a, __vector __bool __int128
__b) {
6578vec_or(__vector
signed __int128
__a, __vector
signed __int128
__b) {
6583vec_or(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
6590 return (__vector
float)((__vector
unsigned int)
__a |
6591 (__vector
unsigned int)
__b);
6597 return (__vector
double)((__vector
unsigned long long)
__a |
6598 (__vector
unsigned long long)
__b);
6604vec_xor(__vector __bool
char __a, __vector __bool
char __b) {
6609vec_xor(__vector
signed char __a, __vector
signed char __b) {
6614vec_xor(__vector
unsigned char __a, __vector
unsigned char __b) {
6619vec_xor(__vector __bool
short __a, __vector __bool
short __b) {
6624vec_xor(__vector
signed short __a, __vector
signed short __b) {
6629vec_xor(__vector
unsigned short __a, __vector
unsigned short __b) {
6644vec_xor(__vector
unsigned int __a, __vector
unsigned int __b) {
6649vec_xor(__vector __bool
long long __a, __vector __bool
long long __b) {
6654vec_xor(__vector
signed long long __a, __vector
signed long long __b) {
6659vec_xor(__vector
unsigned long long __a, __vector
unsigned long long __b) {
6664vec_xor(__vector __bool __int128
__a, __vector __bool __int128
__b) {
6669vec_xor(__vector
signed __int128
__a, __vector
signed __int128
__b) {
6674vec_xor(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
6681 return (__vector
float)((__vector
unsigned int)
__a ^
6682 (__vector
unsigned int)
__b);
6688 return (__vector
double)((__vector
unsigned long long)
__a ^
6689 (__vector
unsigned long long)
__b);
6717vec_andc(__vector
unsigned char __a, __vector
unsigned char __b) {
6756vec_andc(__vector
unsigned short __a, __vector
unsigned short __b) {
6762vec_andc(__vector __bool
short __a, __vector
unsigned short __b) {
6768vec_andc(__vector
unsigned short __a, __vector __bool
short __b) {
6812vec_andc(__vector __bool
long long __a, __vector __bool
long long __b) {
6817vec_andc(__vector
signed long long __a, __vector
signed long long __b) {
6823vec_andc(__vector __bool
long long __a, __vector
signed long long __b) {
6829vec_andc(__vector
signed long long __a, __vector __bool
long long __b) {
6834vec_andc(__vector
unsigned long long __a, __vector
unsigned long long __b) {
6840vec_andc(__vector __bool
long long __a, __vector
unsigned long long __b) {
6846vec_andc(__vector
unsigned long long __a, __vector __bool
long long __b) {
6851vec_andc(__vector __bool __int128
__a, __vector __bool __int128
__b) {
6856vec_andc(__vector
signed __int128
__a, __vector
signed __int128
__b) {
6861vec_andc(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
6868 return (__vector
float)((__vector
unsigned int)
__a &
6869 ~(__vector
unsigned int)
__b);
6875 return (__vector
double)((__vector
unsigned long long)
__a &
6876 ~(__vector
unsigned long long)
__b);
6882 return (__vector
double)((__vector
unsigned long long)
__a &
6883 ~(__vector
unsigned long long)
__b);
6889 return (__vector
double)((__vector
unsigned long long)
__a &
6890 ~(__vector
unsigned long long)
__b);
6896vec_nor(__vector __bool
char __a, __vector __bool
char __b) {
6901vec_nor(__vector
signed char __a, __vector
signed char __b) {
6907vec_nor(__vector __bool
char __a, __vector
signed char __b) {
6913vec_nor(__vector
signed char __a, __vector __bool
char __b) {
6918vec_nor(__vector
unsigned char __a, __vector
unsigned char __b) {
6924vec_nor(__vector __bool
char __a, __vector
unsigned char __b) {
6930vec_nor(__vector
unsigned char __a, __vector __bool
char __b) {
6935vec_nor(__vector __bool
short __a, __vector __bool
short __b) {
6940vec_nor(__vector
signed short __a, __vector
signed short __b) {
6946vec_nor(__vector __bool
short __a, __vector
signed short __b) {
6952vec_nor(__vector
signed short __a, __vector __bool
short __b) {
6957vec_nor(__vector
unsigned short __a, __vector
unsigned short __b) {
6963vec_nor(__vector __bool
short __a, __vector
unsigned short __b) {
6969vec_nor(__vector
unsigned short __a, __vector __bool
short __b) {
6996vec_nor(__vector
unsigned int __a, __vector
unsigned int __b) {
7002vec_nor(__vector __bool
int __a, __vector
unsigned int __b) {
7008vec_nor(__vector
unsigned int __a, __vector __bool
int __b) {
7013vec_nor(__vector __bool
long long __a, __vector __bool
long long __b) {
7018vec_nor(__vector
signed long long __a, __vector
signed long long __b) {
7024vec_nor(__vector __bool
long long __a, __vector
signed long long __b) {
7030vec_nor(__vector
signed long long __a, __vector __bool
long long __b) {
7035vec_nor(__vector
unsigned long long __a, __vector
unsigned long long __b) {
7041vec_nor(__vector __bool
long long __a, __vector
unsigned long long __b) {
7047vec_nor(__vector
unsigned long long __a, __vector __bool
long long __b) {
7052vec_nor(__vector __bool __int128
__a, __vector __bool __int128
__b) {
7057vec_nor(__vector
signed __int128
__a, __vector
signed __int128
__b) {
7062vec_nor(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
7069 return (__vector
float)~((__vector
unsigned int)
__a |
7070 (__vector
unsigned int)
__b);
7076 return (__vector
double)~((__vector
unsigned long long)
__a |
7077 (__vector
unsigned long long)
__b);
7082vec_nor(__vector __bool
long long __a, __vector
double __b) {
7083 return (__vector
double)~((__vector
unsigned long long)
__a |
7084 (__vector
unsigned long long)
__b);
7089vec_nor(__vector
double __a, __vector __bool
long long __b) {
7090 return (__vector
double)~((__vector
unsigned long long)
__a |
7091 (__vector
unsigned long long)
__b);
7098vec_orc(__vector __bool
char __a, __vector __bool
char __b) {
7103vec_orc(__vector
signed char __a, __vector
signed char __b) {
7108vec_orc(__vector
unsigned char __a, __vector
unsigned char __b) {
7113vec_orc(__vector __bool
short __a, __vector __bool
short __b) {
7118vec_orc(__vector
signed short __a, __vector
signed short __b) {
7123vec_orc(__vector
unsigned short __a, __vector
unsigned short __b) {
7128vec_orc(__vector __bool
int __a, __vector __bool
int __b) {
7133vec_orc(__vector
signed int __a, __vector
signed int __b) {
7138vec_orc(__vector
unsigned int __a, __vector
unsigned int __b) {
7143vec_orc(__vector __bool
long long __a, __vector __bool
long long __b) {
7148vec_orc(__vector
signed long long __a, __vector
signed long long __b) {
7153vec_orc(__vector
unsigned long long __a, __vector
unsigned long long __b) {
7158vec_orc(__vector __bool __int128
__a, __vector __bool __int128
__b) {
7163vec_orc(__vector
signed __int128
__a, __vector
signed __int128
__b) {
7168vec_orc(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
7173vec_orc(__vector
float __a, __vector
float __b) {
7174 return (__vector
float)((__vector
unsigned int)
__a |
7175 ~(__vector
unsigned int)
__b);
7179vec_orc(__vector
double __a, __vector
double __b) {
7180 return (__vector
double)((__vector
unsigned long long)
__a |
7181 ~(__vector
unsigned long long)
__b);
7189vec_nand(__vector __bool
char __a, __vector __bool
char __b) {
7194vec_nand(__vector
signed char __a, __vector
signed char __b) {
7199vec_nand(__vector
unsigned char __a, __vector
unsigned char __b) {
7204vec_nand(__vector __bool
short __a, __vector __bool
short __b) {
7209vec_nand(__vector
signed short __a, __vector
signed short __b) {
7214vec_nand(__vector
unsigned short __a, __vector
unsigned short __b) {
7219vec_nand(__vector __bool
int __a, __vector __bool
int __b) {
7224vec_nand(__vector
signed int __a, __vector
signed int __b) {
7229vec_nand(__vector
unsigned int __a, __vector
unsigned int __b) {
7234vec_nand(__vector __bool
long long __a, __vector __bool
long long __b) {
7239vec_nand(__vector
signed long long __a, __vector
signed long long __b) {
7244vec_nand(__vector
unsigned long long __a, __vector
unsigned long long __b) {
7249vec_nand(__vector __bool __int128
__a, __vector __bool __int128
__b) {
7254vec_nand(__vector
signed __int128
__a, __vector
signed __int128
__b) {
7259vec_nand(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
7264vec_nand(__vector
float __a, __vector
float __b) {
7265 return (__vector
float)~((__vector
unsigned int)
__a &
7266 (__vector
unsigned int)
__b);
7270vec_nand(__vector
double __a, __vector
double __b) {
7271 return (__vector
double)~((__vector
unsigned long long)
__a &
7272 (__vector
unsigned long long)
__b);
7280vec_eqv(__vector __bool
char __a, __vector __bool
char __b) {
7285vec_eqv(__vector
signed char __a, __vector
signed char __b) {
7290vec_eqv(__vector
unsigned char __a, __vector
unsigned char __b) {
7295vec_eqv(__vector __bool
short __a, __vector __bool
short __b) {
7300vec_eqv(__vector
signed short __a, __vector
signed short __b) {
7305vec_eqv(__vector
unsigned short __a, __vector
unsigned short __b) {
7310vec_eqv(__vector __bool
int __a, __vector __bool
int __b) {
7315vec_eqv(__vector
signed int __a, __vector
signed int __b) {
7320vec_eqv(__vector
unsigned int __a, __vector
unsigned int __b) {
7325vec_eqv(__vector __bool
long long __a, __vector __bool
long long __b) {
7330vec_eqv(__vector
signed long long __a, __vector
signed long long __b) {
7335vec_eqv(__vector
unsigned long long __a, __vector
unsigned long long __b) {
7340vec_eqv(__vector __bool __int128
__a, __vector __bool __int128
__b) {
7345vec_eqv(__vector
signed __int128
__a, __vector
signed __int128
__b) {
7350vec_eqv(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
7355vec_eqv(__vector
float __a, __vector
float __b) {
7356 return (__vector
float)~((__vector
unsigned int)
__a ^
7357 (__vector
unsigned int)
__b);
7361vec_eqv(__vector
double __a, __vector
double __b) {
7362 return (__vector
double)~((__vector
unsigned long long)
__a ^
7363 (__vector
unsigned long long)
__b);
7370extern __ATTRS_o __vector
signed char
7371vec_evaluate(__vector
signed char __a, __vector
signed char __b,
7372 __vector
signed char __c,
unsigned char __d)
7375extern __ATTRS_o __vector
unsigned char
7376vec_evaluate(__vector
unsigned char __a, __vector
unsigned char __b,
7377 __vector
unsigned char __c,
unsigned char __d)
7380extern __ATTRS_o __vector __bool
char
7381vec_evaluate(__vector __bool
char __a, __vector __bool
char __b,
7382 __vector __bool
char __c,
unsigned char __d)
7385extern __ATTRS_o __vector
signed short
7386vec_evaluate(__vector
signed short __a, __vector
signed short __b,
7387 __vector
signed short __c,
unsigned char __d)
7390extern __ATTRS_o __vector
unsigned short
7391vec_evaluate(__vector
unsigned short __a, __vector
unsigned short __b,
7392 __vector
unsigned short __c,
unsigned char __d)
7395extern __ATTRS_o __vector __bool
short
7396vec_evaluate(__vector __bool
short __a, __vector __bool
short __b,
7397 __vector __bool
short __c,
unsigned char __d)
7400extern __ATTRS_o __vector
signed int
7401vec_evaluate(__vector
signed int __a, __vector
signed int __b,
7402 __vector
signed int __c,
unsigned char __d)
7405extern __ATTRS_o __vector
unsigned int
7406vec_evaluate(__vector
unsigned int __a, __vector
unsigned int __b,
7407 __vector
unsigned int __c,
unsigned char __d)
7410extern __ATTRS_o __vector __bool
int
7411vec_evaluate(__vector __bool
int __a, __vector __bool
int __b,
7412 __vector __bool
int __c,
unsigned char __d)
7415extern __ATTRS_o __vector
signed long long
7416vec_evaluate(__vector
signed long long __a, __vector
signed long long __b,
7417 __vector
signed long long __c,
unsigned char __d)
7420extern __ATTRS_o __vector
unsigned long long
7421vec_evaluate(__vector
unsigned long long __a, __vector
unsigned long long __b,
7422 __vector
unsigned long long __c,
unsigned char __d)
7425extern __ATTRS_o __vector __bool
long long
7426vec_evaluate(__vector __bool
long long __a, __vector __bool
long long __b,
7427 __vector __bool
long long __c,
unsigned char __d)
7430extern __ATTRS_o __vector
signed __int128
7431vec_evaluate(__vector
signed __int128
__a, __vector
signed __int128
__b,
7432 __vector
signed __int128
__c,
unsigned char __d)
7435extern __ATTRS_o __vector
unsigned __int128
7436vec_evaluate(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
7437 __vector
unsigned __int128
__c,
unsigned char __d)
7440extern __ATTRS_o __vector __bool __int128
7441vec_evaluate(__vector __bool __int128
__a, __vector __bool __int128
__b,
7442 __vector __bool __int128
__c,
unsigned char __d)
7445#define vec_evaluate(A, B, C, D) \
7446 ((__typeof__((vec_evaluate)((A), (B), (C), (D)))) \
7447 __builtin_s390_veval((__vector unsigned char)(A), \
7448 (__vector unsigned char)(B), \
7449 (__vector unsigned char)(C), (D)))
7455vec_cntlz(__vector
signed char __a) {
7456 return __builtin_s390_vclzb((__vector
unsigned char)
__a);
7460vec_cntlz(__vector
unsigned char __a) {
7461 return __builtin_s390_vclzb(
__a);
7465vec_cntlz(__vector
signed short __a) {
7466 return __builtin_s390_vclzh((__vector
unsigned short)
__a);
7470vec_cntlz(__vector
unsigned short __a) {
7471 return __builtin_s390_vclzh(
__a);
7475vec_cntlz(__vector
signed int __a) {
7476 return __builtin_s390_vclzf((__vector
unsigned int)
__a);
7480vec_cntlz(__vector
unsigned int __a) {
7481 return __builtin_s390_vclzf(
__a);
7485vec_cntlz(__vector
signed long long __a) {
7486 return __builtin_s390_vclzg((__vector
unsigned long long)
__a);
7490vec_cntlz(__vector
unsigned long long __a) {
7491 return __builtin_s390_vclzg(
__a);
7496vec_cntlz(__vector
signed __int128
__a) {
7497 return (__vector
unsigned __int128)
7498 __builtin_s390_vclzq((
unsigned __int128)
__a);
7502vec_cntlz(__vector
unsigned __int128
__a) {
7503 return (__vector
unsigned __int128)
7504 __builtin_s390_vclzq((
unsigned __int128)
__a);
7511vec_cnttz(__vector
signed char __a) {
7512 return __builtin_s390_vctzb((__vector
unsigned char)
__a);
7516vec_cnttz(__vector
unsigned char __a) {
7517 return __builtin_s390_vctzb(
__a);
7521vec_cnttz(__vector
signed short __a) {
7522 return __builtin_s390_vctzh((__vector
unsigned short)
__a);
7526vec_cnttz(__vector
unsigned short __a) {
7527 return __builtin_s390_vctzh(
__a);
7531vec_cnttz(__vector
signed int __a) {
7532 return __builtin_s390_vctzf((__vector
unsigned int)
__a);
7536vec_cnttz(__vector
unsigned int __a) {
7537 return __builtin_s390_vctzf(
__a);
7541vec_cnttz(__vector
signed long long __a) {
7542 return __builtin_s390_vctzg((__vector
unsigned long long)
__a);
7546vec_cnttz(__vector
unsigned long long __a) {
7547 return __builtin_s390_vctzg(
__a);
7552vec_cnttz(__vector
signed __int128
__a) {
7553 return (__vector
unsigned __int128)
7554 __builtin_s390_vctzq((
unsigned __int128)
__a);
7558vec_cnttz(__vector
unsigned __int128
__a) {
7559 return (__vector
unsigned __int128)
7560 __builtin_s390_vctzq((
unsigned __int128)
__a);
7567vec_popcnt(__vector
signed char __a) {
7568 return __builtin_elementwise_popcount((__vector
unsigned char)
__a);
7572vec_popcnt(__vector
unsigned char __a) {
7573 return __builtin_elementwise_popcount(
__a);
7577vec_popcnt(__vector
signed short __a) {
7578 return __builtin_elementwise_popcount((__vector
unsigned short)
__a);
7582vec_popcnt(__vector
unsigned short __a) {
7583 return __builtin_elementwise_popcount(
__a);
7587vec_popcnt(__vector
signed int __a) {
7588 return __builtin_elementwise_popcount((__vector
unsigned int)
__a);
7592vec_popcnt(__vector
unsigned int __a) {
7593 return __builtin_elementwise_popcount(
__a);
7597vec_popcnt(__vector
signed long long __a) {
7598 return __builtin_elementwise_popcount((__vector
unsigned long long)
__a);
7602vec_popcnt(__vector
unsigned long long __a) {
7603 return __builtin_elementwise_popcount(
__a);
7609vec_rl(__vector
signed char __a, __vector
unsigned char __b) {
7610 return (__vector
signed char)__builtin_s390_verllvb(
7611 (__vector
unsigned char)
__a,
__b);
7615vec_rl(__vector
unsigned char __a, __vector
unsigned char __b) {
7616 return __builtin_s390_verllvb(
__a,
__b);
7620vec_rl(__vector
signed short __a, __vector
unsigned short __b) {
7621 return (__vector
signed short)__builtin_s390_verllvh(
7622 (__vector
unsigned short)
__a,
__b);
7626vec_rl(__vector
unsigned short __a, __vector
unsigned short __b) {
7627 return __builtin_s390_verllvh(
__a,
__b);
7631vec_rl(__vector
signed int __a, __vector
unsigned int __b) {
7632 return (__vector
signed int)__builtin_s390_verllvf(
7633 (__vector
unsigned int)
__a,
__b);
7637vec_rl(__vector
unsigned int __a, __vector
unsigned int __b) {
7638 return __builtin_s390_verllvf(
__a,
__b);
7642vec_rl(__vector
signed long long __a, __vector
unsigned long long __b) {
7643 return (__vector
signed long long)__builtin_s390_verllvg(
7644 (__vector
unsigned long long)
__a,
__b);
7648vec_rl(__vector
unsigned long long __a, __vector
unsigned long long __b) {
7649 return __builtin_s390_verllvg(
__a,
__b);
7655vec_rli(__vector
signed char __a,
unsigned long __b) {
7656 return (__vector
signed char)__builtin_s390_verllb(
7657 (__vector
unsigned char)
__a, (
unsigned char)
__b);
7661vec_rli(__vector
unsigned char __a,
unsigned long __b) {
7662 return __builtin_s390_verllb(
__a, (
unsigned char)
__b);
7666vec_rli(__vector
signed short __a,
unsigned long __b) {
7667 return (__vector
signed short)__builtin_s390_verllh(
7668 (__vector
unsigned short)
__a, (
unsigned char)
__b);
7672vec_rli(__vector
unsigned short __a,
unsigned long __b) {
7673 return __builtin_s390_verllh(
__a, (
unsigned char)
__b);
7677vec_rli(__vector
signed int __a,
unsigned long __b) {
7678 return (__vector
signed int)__builtin_s390_verllf(
7679 (__vector
unsigned int)
__a, (
unsigned char)
__b);
7683vec_rli(__vector
unsigned int __a,
unsigned long __b) {
7684 return __builtin_s390_verllf(
__a, (
unsigned char)
__b);
7688vec_rli(__vector
signed long long __a,
unsigned long __b) {
7689 return (__vector
signed long long)__builtin_s390_verllg(
7690 (__vector
unsigned long long)
__a, (
unsigned char)
__b);
7694vec_rli(__vector
unsigned long long __a,
unsigned long __b) {
7695 return __builtin_s390_verllg(
__a, (
unsigned char)
__b);
7700extern __ATTRS_o __vector
signed char
7701vec_rl_mask(__vector
signed char __a, __vector
unsigned char __b,
7702 unsigned char __c) __constant(
__c);
7704extern __ATTRS_o __vector
unsigned char
7705vec_rl_mask(__vector
unsigned char __a, __vector
unsigned char __b,
7706 unsigned char __c) __constant(
__c);
7708extern __ATTRS_o __vector
signed short
7709vec_rl_mask(__vector
signed short __a, __vector
unsigned short __b,
7710 unsigned char __c) __constant(
__c);
7712extern __ATTRS_o __vector
unsigned short
7713vec_rl_mask(__vector
unsigned short __a, __vector
unsigned short __b,
7714 unsigned char __c) __constant(
__c);
7716extern __ATTRS_o __vector
signed int
7717vec_rl_mask(__vector
signed int __a, __vector
unsigned int __b,
7718 unsigned char __c) __constant(
__c);
7720extern __ATTRS_o __vector
unsigned int
7721vec_rl_mask(__vector
unsigned int __a, __vector
unsigned int __b,
7722 unsigned char __c) __constant(
__c);
7724extern __ATTRS_o __vector
signed long long
7725vec_rl_mask(__vector
signed long long __a, __vector
unsigned long long __b,
7726 unsigned char __c) __constant(
__c);
7728extern __ATTRS_o __vector
unsigned long long
7729vec_rl_mask(__vector
unsigned long long __a, __vector
unsigned long long __b,
7730 unsigned char __c) __constant(
__c);
7732#define vec_rl_mask(X, Y, Z) ((__typeof__((vec_rl_mask)((X), (Y), (Z)))) \
7734 __vector unsigned char __res; \
7735 __vector unsigned char __x = (__vector unsigned char)(X); \
7736 __vector unsigned char __y = (__vector unsigned char)(Y); \
7737 switch (sizeof ((X)[0])) { \
7738 case 1: __res = (__vector unsigned char) __builtin_s390_verimb( \
7739 (__vector unsigned char)__x, (__vector unsigned char)__x, \
7740 (__vector unsigned char)__y, (Z)); break; \
7741 case 2: __res = (__vector unsigned char) __builtin_s390_verimh( \
7742 (__vector unsigned short)__x, (__vector unsigned short)__x, \
7743 (__vector unsigned short)__y, (Z)); break; \
7744 case 4: __res = (__vector unsigned char) __builtin_s390_verimf( \
7745 (__vector unsigned int)__x, (__vector unsigned int)__x, \
7746 (__vector unsigned int)__y, (Z)); break; \
7747 default: __res = (__vector unsigned char) __builtin_s390_verimg( \
7748 (__vector unsigned long long)__x, (__vector unsigned long long)__x, \
7749 (__vector unsigned long long)__y, (Z)); break; \
7755vec_sll(__vector
signed char __a, __vector
unsigned char __b) {
7756 return (__vector
signed char)__builtin_s390_vsl(
7757 (__vector
unsigned char)
__a,
__b);
7762vec_sll(__vector
signed char __a, __vector
unsigned short __b) {
7763 return (__vector
signed char)__builtin_s390_vsl(
7764 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7769vec_sll(__vector
signed char __a, __vector
unsigned int __b) {
7770 return (__vector
signed char)__builtin_s390_vsl(
7771 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7776vec_sll(__vector __bool
char __a, __vector
unsigned char __b) {
7777 return (__vector __bool
char)__builtin_s390_vsl(
7778 (__vector
unsigned char)
__a,
__b);
7783vec_sll(__vector __bool
char __a, __vector
unsigned short __b) {
7784 return (__vector __bool
char)__builtin_s390_vsl(
7785 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7790vec_sll(__vector __bool
char __a, __vector
unsigned int __b) {
7791 return (__vector __bool
char)__builtin_s390_vsl(
7792 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7796vec_sll(__vector
unsigned char __a, __vector
unsigned char __b) {
7797 return __builtin_s390_vsl(
__a,
__b);
7802vec_sll(__vector
unsigned char __a, __vector
unsigned short __b) {
7803 return __builtin_s390_vsl(
__a, (__vector
unsigned char)
__b);
7808vec_sll(__vector
unsigned char __a, __vector
unsigned int __b) {
7809 return __builtin_s390_vsl(
__a, (__vector
unsigned char)
__b);
7813vec_sll(__vector
signed short __a, __vector
unsigned char __b) {
7814 return (__vector
signed short)__builtin_s390_vsl(
7815 (__vector
unsigned char)
__a,
__b);
7820vec_sll(__vector
signed short __a, __vector
unsigned short __b) {
7821 return (__vector
signed short)__builtin_s390_vsl(
7822 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7827vec_sll(__vector
signed short __a, __vector
unsigned int __b) {
7828 return (__vector
signed short)__builtin_s390_vsl(
7829 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7834vec_sll(__vector __bool
short __a, __vector
unsigned char __b) {
7835 return (__vector __bool
short)__builtin_s390_vsl(
7836 (__vector
unsigned char)
__a,
__b);
7841vec_sll(__vector __bool
short __a, __vector
unsigned short __b) {
7842 return (__vector __bool
short)__builtin_s390_vsl(
7843 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7848vec_sll(__vector __bool
short __a, __vector
unsigned int __b) {
7849 return (__vector __bool
short)__builtin_s390_vsl(
7850 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7854vec_sll(__vector
unsigned short __a, __vector
unsigned char __b) {
7855 return (__vector
unsigned short)__builtin_s390_vsl(
7856 (__vector
unsigned char)
__a,
__b);
7861vec_sll(__vector
unsigned short __a, __vector
unsigned short __b) {
7862 return (__vector
unsigned short)__builtin_s390_vsl(
7863 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7868vec_sll(__vector
unsigned short __a, __vector
unsigned int __b) {
7869 return (__vector
unsigned short)__builtin_s390_vsl(
7870 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7874vec_sll(__vector
signed int __a, __vector
unsigned char __b) {
7875 return (__vector
signed int)__builtin_s390_vsl(
7876 (__vector
unsigned char)
__a,
__b);
7881vec_sll(__vector
signed int __a, __vector
unsigned short __b) {
7882 return (__vector
signed int)__builtin_s390_vsl(
7883 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7888vec_sll(__vector
signed int __a, __vector
unsigned int __b) {
7889 return (__vector
signed int)__builtin_s390_vsl(
7890 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7895vec_sll(__vector __bool
int __a, __vector
unsigned char __b) {
7896 return (__vector __bool
int)__builtin_s390_vsl(
7897 (__vector
unsigned char)
__a,
__b);
7902vec_sll(__vector __bool
int __a, __vector
unsigned short __b) {
7903 return (__vector __bool
int)__builtin_s390_vsl(
7904 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7909vec_sll(__vector __bool
int __a, __vector
unsigned int __b) {
7910 return (__vector __bool
int)__builtin_s390_vsl(
7911 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7915vec_sll(__vector
unsigned int __a, __vector
unsigned char __b) {
7916 return (__vector
unsigned int)__builtin_s390_vsl(
7917 (__vector
unsigned char)
__a,
__b);
7922vec_sll(__vector
unsigned int __a, __vector
unsigned short __b) {
7923 return (__vector
unsigned int)__builtin_s390_vsl(
7924 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7929vec_sll(__vector
unsigned int __a, __vector
unsigned int __b) {
7930 return (__vector
unsigned int)__builtin_s390_vsl(
7931 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7935vec_sll(__vector
signed long long __a, __vector
unsigned char __b) {
7936 return (__vector
signed long long)__builtin_s390_vsl(
7937 (__vector
unsigned char)
__a,
__b);
7942vec_sll(__vector
signed long long __a, __vector
unsigned short __b) {
7943 return (__vector
signed long long)__builtin_s390_vsl(
7944 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7949vec_sll(__vector
signed long long __a, __vector
unsigned int __b) {
7950 return (__vector
signed long long)__builtin_s390_vsl(
7951 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7956vec_sll(__vector __bool
long long __a, __vector
unsigned char __b) {
7957 return (__vector __bool
long long)__builtin_s390_vsl(
7958 (__vector
unsigned char)
__a,
__b);
7963vec_sll(__vector __bool
long long __a, __vector
unsigned short __b) {
7964 return (__vector __bool
long long)__builtin_s390_vsl(
7965 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7970vec_sll(__vector __bool
long long __a, __vector
unsigned int __b) {
7971 return (__vector __bool
long long)__builtin_s390_vsl(
7972 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7976vec_sll(__vector
unsigned long long __a, __vector
unsigned char __b) {
7977 return (__vector
unsigned long long)__builtin_s390_vsl(
7978 (__vector
unsigned char)
__a,
__b);
7983vec_sll(__vector
unsigned long long __a, __vector
unsigned short __b) {
7984 return (__vector
unsigned long long)__builtin_s390_vsl(
7985 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7990vec_sll(__vector
unsigned long long __a, __vector
unsigned int __b) {
7991 return (__vector
unsigned long long)__builtin_s390_vsl(
7992 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7996vec_sll(__vector
signed __int128
__a, __vector
unsigned char __b) {
7997 return (__vector
signed __int128)__builtin_s390_vsl(
7998 (__vector
unsigned char)
__a,
__b);
8002vec_sll(__vector
unsigned __int128
__a, __vector
unsigned char __b) {
8003 return (__vector
unsigned __int128)__builtin_s390_vsl(
8004 (__vector
unsigned char)
__a,
__b);
8011vec_slb(__vector
signed char __a, __vector
signed char __b) {
8012 return (__vector
signed char)__builtin_s390_vslb(
8013 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8017vec_slb(__vector
signed char __a, __vector
unsigned char __b) {
8018 return (__vector
signed char)__builtin_s390_vslb(
8019 (__vector
unsigned char)
__a,
__b);
8024vec_slb(__vector
unsigned char __a, __vector
signed char __b) {
8025 return __builtin_s390_vslb(
__a, (__vector
unsigned char)
__b);
8029vec_slb(__vector
unsigned char __a, __vector
unsigned char __b) {
8030 return __builtin_s390_vslb(
__a,
__b);
8035vec_slb(__vector
signed short __a, __vector
signed short __b) {
8036 return (__vector
signed short)__builtin_s390_vslb(
8037 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8042vec_slb(__vector
signed short __a, __vector
unsigned short __b) {
8043 return (__vector
signed short)__builtin_s390_vslb(
8044 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8048vec_slb(__vector
signed short __a, __vector
unsigned char __b) {
8049 return (__vector
signed short)__builtin_s390_vslb(
8050 (__vector
unsigned char)
__a,
__b);
8055vec_slb(__vector
unsigned short __a, __vector
signed short __b) {
8056 return (__vector
unsigned short)__builtin_s390_vslb(
8057 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8062vec_slb(__vector
unsigned short __a, __vector
unsigned short __b) {
8063 return (__vector
unsigned short)__builtin_s390_vslb(
8064 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8068vec_slb(__vector
unsigned short __a, __vector
unsigned char __b) {
8069 return (__vector
unsigned short)__builtin_s390_vslb(
8070 (__vector
unsigned char)
__a,
__b);
8075vec_slb(__vector
signed int __a, __vector
signed int __b) {
8076 return (__vector
signed int)__builtin_s390_vslb(
8077 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8082vec_slb(__vector
signed int __a, __vector
unsigned int __b) {
8083 return (__vector
signed int)__builtin_s390_vslb(
8084 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8088vec_slb(__vector
signed int __a, __vector
unsigned char __b) {
8089 return (__vector
signed int)__builtin_s390_vslb(
8090 (__vector
unsigned char)
__a,
__b);
8095vec_slb(__vector
unsigned int __a, __vector
signed int __b) {
8096 return (__vector
unsigned int)__builtin_s390_vslb(
8097 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8102vec_slb(__vector
unsigned int __a, __vector
unsigned int __b) {
8103 return (__vector
unsigned int)__builtin_s390_vslb(
8104 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8108vec_slb(__vector
unsigned int __a, __vector
unsigned char __b) {
8109 return (__vector
unsigned int)__builtin_s390_vslb(
8110 (__vector
unsigned char)
__a,
__b);
8115vec_slb(__vector
signed long long __a, __vector
signed long long __b) {
8116 return (__vector
signed long long)__builtin_s390_vslb(
8117 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8122vec_slb(__vector
signed long long __a, __vector
unsigned long long __b) {
8123 return (__vector
signed long long)__builtin_s390_vslb(
8124 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8128vec_slb(__vector
signed long long __a, __vector
unsigned char __b) {
8129 return (__vector
signed long long)__builtin_s390_vslb(
8130 (__vector
unsigned char)
__a,
__b);
8135vec_slb(__vector
unsigned long long __a, __vector
signed long long __b) {
8136 return (__vector
unsigned long long)__builtin_s390_vslb(
8137 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8142vec_slb(__vector
unsigned long long __a, __vector
unsigned long long __b) {
8143 return (__vector
unsigned long long)__builtin_s390_vslb(
8144 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8148vec_slb(__vector
unsigned long long __a, __vector
unsigned char __b) {
8149 return (__vector
unsigned long long)__builtin_s390_vslb(
8150 (__vector
unsigned char)
__a,
__b);
8154vec_slb(__vector
signed __int128
__a, __vector
unsigned char __b) {
8155 return (__vector
signed __int128)__builtin_s390_vslb(
8156 (__vector
unsigned char)
__a,
__b);
8160vec_slb(__vector
unsigned __int128
__a, __vector
unsigned char __b) {
8161 return (__vector
unsigned __int128)__builtin_s390_vslb(
8162 (__vector
unsigned char)
__a,
__b);
8168vec_slb(__vector
float __a, __vector
signed int __b) {
8169 return (__vector
float)__builtin_s390_vslb(
8170 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8175vec_slb(__vector
float __a, __vector
unsigned int __b) {
8176 return (__vector
float)__builtin_s390_vslb(
8177 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8181vec_slb(__vector
float __a, __vector
unsigned char __b) {
8182 return (__vector
float)__builtin_s390_vslb(
8183 (__vector
unsigned char)
__a,
__b);
8189vec_slb(__vector
double __a, __vector
signed long long __b) {
8190 return (__vector
double)__builtin_s390_vslb(
8191 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8196vec_slb(__vector
double __a, __vector
unsigned long long __b) {
8197 return (__vector
double)__builtin_s390_vslb(
8198 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8202vec_slb(__vector
double __a, __vector
unsigned char __b) {
8203 return (__vector
double)__builtin_s390_vslb(
8204 (__vector
unsigned char)
__a,
__b);
8209extern __ATTRS_o __vector
signed char
8211 __constant_range(
__c, 0, 15);
8214extern __ATTRS_o __vector __bool
char
8216 __constant_range(
__c, 0, 15);
8218extern __ATTRS_o __vector
unsigned char
8220 __constant_range(
__c, 0, 15);
8222extern __ATTRS_o __vector
signed short
8224 __constant_range(
__c, 0, 15);
8227extern __ATTRS_o __vector __bool
short
8229 __constant_range(
__c, 0, 15);
8231extern __ATTRS_o __vector
unsigned short
8233 __constant_range(
__c, 0, 15);
8235extern __ATTRS_o __vector
signed int
8237 __constant_range(
__c, 0, 15);
8240extern __ATTRS_o __vector __bool
int
8242 __constant_range(
__c, 0, 15);
8244extern __ATTRS_o __vector
unsigned int
8246 __constant_range(
__c, 0, 15);
8248extern __ATTRS_o __vector
signed long long
8249vec_sld(__vector
signed long long __a, __vector
signed long long __b,
int __c)
8250 __constant_range(
__c, 0, 15);
8253extern __ATTRS_o __vector __bool
long long
8254vec_sld(__vector __bool
long long __a, __vector __bool
long long __b,
int __c)
8255 __constant_range(
__c, 0, 15);
8257extern __ATTRS_o __vector
unsigned long long
8258vec_sld(__vector
unsigned long long __a, __vector
unsigned long long __b,
8260 __constant_range(
__c, 0, 15);
8262extern __ATTRS_o __vector
signed __int128
8263vec_sld(__vector
signed __int128
__a, __vector
signed __int128
__b,
int __c)
8264 __constant_range(
__c, 0, 15);
8266extern __ATTRS_o __vector
unsigned __int128
8267vec_sld(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
8269 __constant_range(
__c, 0, 15);
8272extern __ATTRS_o __vector
float
8274 __constant_range(
__c, 0, 15);
8277extern __ATTRS_o __vector
double
8279 __constant_range(
__c, 0, 15);
8281#define vec_sld(X, Y, Z) ((__typeof__((vec_sld)((X), (Y), (Z)))) \
8282 __builtin_s390_vsldb((__vector unsigned char)(X), \
8283 (__vector unsigned char)(Y), (Z)))
8287extern __ATTRS_o __vector
signed char
8289 __constant_range(
__c, 0, 3);
8291extern __ATTRS_o __vector
unsigned char
8293 __constant_range(
__c, 0, 3);
8295extern __ATTRS_o __vector
signed short
8297 __constant_range(
__c, 0, 3);
8299extern __ATTRS_o __vector
unsigned short
8301 __constant_range(
__c, 0, 3);
8303extern __ATTRS_o __vector
signed int
8305 __constant_range(
__c, 0, 3);
8307extern __ATTRS_o __vector
unsigned int
8309 __constant_range(
__c, 0, 3);
8311extern __ATTRS_o __vector
signed long long
8313 __constant_range(
__c, 0, 3);
8315extern __ATTRS_o __vector
unsigned long long
8316vec_sldw(__vector
unsigned long long __a, __vector
unsigned long long __b,
8318 __constant_range(
__c, 0, 3);
8320extern __ATTRS_o __vector
signed __int128
8322 __constant_range(
__c, 0, 3);
8324extern __ATTRS_o __vector
unsigned __int128
8325vec_sldw(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
8327 __constant_range(
__c, 0, 3);
8330extern __ATTRS_o __vector
double
8332 __constant_range(
__c, 0, 3);
8334#define vec_sldw(X, Y, Z) ((__typeof__((vec_sldw)((X), (Y), (Z)))) \
8335 __builtin_s390_vsldb((__vector unsigned char)(X), \
8336 (__vector unsigned char)(Y), (Z) * 4))
8342extern __ATTRS_o __vector
signed char
8343vec_sldb(__vector
signed char __a, __vector
signed char __b,
int __c)
8344 __constant_range(
__c, 0, 7);
8346extern __ATTRS_o __vector
unsigned char
8347vec_sldb(__vector
unsigned char __a, __vector
unsigned char __b,
int __c)
8348 __constant_range(
__c, 0, 7);
8350extern __ATTRS_o __vector
signed short
8351vec_sldb(__vector
signed short __a, __vector
signed short __b,
int __c)
8352 __constant_range(
__c, 0, 7);
8354extern __ATTRS_o __vector
unsigned short
8355vec_sldb(__vector
unsigned short __a, __vector
unsigned short __b,
int __c)
8356 __constant_range(
__c, 0, 7);
8358extern __ATTRS_o __vector
signed int
8359vec_sldb(__vector
signed int __a, __vector
signed int __b,
int __c)
8360 __constant_range(
__c, 0, 7);
8362extern __ATTRS_o __vector
unsigned int
8363vec_sldb(__vector
unsigned int __a, __vector
unsigned int __b,
int __c)
8364 __constant_range(
__c, 0, 7);
8366extern __ATTRS_o __vector
signed long long
8367vec_sldb(__vector
signed long long __a, __vector
signed long long __b,
int __c)
8368 __constant_range(
__c, 0, 7);
8370extern __ATTRS_o __vector
unsigned long long
8371vec_sldb(__vector
unsigned long long __a, __vector
unsigned long long __b,
8373 __constant_range(
__c, 0, 7);
8375extern __ATTRS_o __vector
signed __int128
8376vec_sldb(__vector
signed __int128
__a, __vector
signed __int128
__b,
int __c)
8377 __constant_range(
__c, 0, 7);
8379extern __ATTRS_o __vector
unsigned __int128
8380vec_sldb(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
8382 __constant_range(
__c, 0, 7);
8384extern __ATTRS_o __vector
float
8385vec_sldb(__vector
float __a, __vector
float __b,
int __c)
8386 __constant_range(
__c, 0, 7);
8388extern __ATTRS_o __vector
double
8389vec_sldb(__vector
double __a, __vector
double __b,
int __c)
8390 __constant_range(
__c, 0, 7);
8392#define vec_sldb(X, Y, Z) ((__typeof__((vec_sldb)((X), (Y), (Z)))) \
8393 __builtin_s390_vsld((__vector unsigned char)(X), \
8394 (__vector unsigned char)(Y), (Z)))
8401vec_sral(__vector
signed char __a, __vector
unsigned char __b) {
8402 return (__vector
signed char)__builtin_s390_vsra(
8403 (__vector
unsigned char)
__a,
__b);
8408vec_sral(__vector
signed char __a, __vector
unsigned short __b) {
8409 return (__vector
signed char)__builtin_s390_vsra(
8410 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8415vec_sral(__vector
signed char __a, __vector
unsigned int __b) {
8416 return (__vector
signed char)__builtin_s390_vsra(
8417 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8422vec_sral(__vector __bool
char __a, __vector
unsigned char __b) {
8423 return (__vector __bool
char)__builtin_s390_vsra(
8424 (__vector
unsigned char)
__a,
__b);
8429vec_sral(__vector __bool
char __a, __vector
unsigned short __b) {
8430 return (__vector __bool
char)__builtin_s390_vsra(
8431 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8436vec_sral(__vector __bool
char __a, __vector
unsigned int __b) {
8437 return (__vector __bool
char)__builtin_s390_vsra(
8438 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8442vec_sral(__vector
unsigned char __a, __vector
unsigned char __b) {
8443 return __builtin_s390_vsra(
__a,
__b);
8448vec_sral(__vector
unsigned char __a, __vector
unsigned short __b) {
8449 return __builtin_s390_vsra(
__a, (__vector
unsigned char)
__b);
8454vec_sral(__vector
unsigned char __a, __vector
unsigned int __b) {
8455 return __builtin_s390_vsra(
__a, (__vector
unsigned char)
__b);
8459vec_sral(__vector
signed short __a, __vector
unsigned char __b) {
8460 return (__vector
signed short)__builtin_s390_vsra(
8461 (__vector
unsigned char)
__a,
__b);
8466vec_sral(__vector
signed short __a, __vector
unsigned short __b) {
8467 return (__vector
signed short)__builtin_s390_vsra(
8468 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8473vec_sral(__vector
signed short __a, __vector
unsigned int __b) {
8474 return (__vector
signed short)__builtin_s390_vsra(
8475 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8480vec_sral(__vector __bool
short __a, __vector
unsigned char __b) {
8481 return (__vector __bool
short)__builtin_s390_vsra(
8482 (__vector
unsigned char)
__a,
__b);
8487vec_sral(__vector __bool
short __a, __vector
unsigned short __b) {
8488 return (__vector __bool
short)__builtin_s390_vsra(
8489 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8494vec_sral(__vector __bool
short __a, __vector
unsigned int __b) {
8495 return (__vector __bool
short)__builtin_s390_vsra(
8496 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8500vec_sral(__vector
unsigned short __a, __vector
unsigned char __b) {
8501 return (__vector
unsigned short)__builtin_s390_vsra(
8502 (__vector
unsigned char)
__a,
__b);
8507vec_sral(__vector
unsigned short __a, __vector
unsigned short __b) {
8508 return (__vector
unsigned short)__builtin_s390_vsra(
8509 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8514vec_sral(__vector
unsigned short __a, __vector
unsigned int __b) {
8515 return (__vector
unsigned short)__builtin_s390_vsra(
8516 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8520vec_sral(__vector
signed int __a, __vector
unsigned char __b) {
8521 return (__vector
signed int)__builtin_s390_vsra(
8522 (__vector
unsigned char)
__a,
__b);
8527vec_sral(__vector
signed int __a, __vector
unsigned short __b) {
8528 return (__vector
signed int)__builtin_s390_vsra(
8529 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8534vec_sral(__vector
signed int __a, __vector
unsigned int __b) {
8535 return (__vector
signed int)__builtin_s390_vsra(
8536 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8541vec_sral(__vector __bool
int __a, __vector
unsigned char __b) {
8542 return (__vector __bool
int)__builtin_s390_vsra(
8543 (__vector
unsigned char)
__a,
__b);
8548vec_sral(__vector __bool
int __a, __vector
unsigned short __b) {
8549 return (__vector __bool
int)__builtin_s390_vsra(
8550 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8555vec_sral(__vector __bool
int __a, __vector
unsigned int __b) {
8556 return (__vector __bool
int)__builtin_s390_vsra(
8557 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8561vec_sral(__vector
unsigned int __a, __vector
unsigned char __b) {
8562 return (__vector
unsigned int)__builtin_s390_vsra(
8563 (__vector
unsigned char)
__a,
__b);
8568vec_sral(__vector
unsigned int __a, __vector
unsigned short __b) {
8569 return (__vector
unsigned int)__builtin_s390_vsra(
8570 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8575vec_sral(__vector
unsigned int __a, __vector
unsigned int __b) {
8576 return (__vector
unsigned int)__builtin_s390_vsra(
8577 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8581vec_sral(__vector
signed long long __a, __vector
unsigned char __b) {
8582 return (__vector
signed long long)__builtin_s390_vsra(
8583 (__vector
unsigned char)
__a,
__b);
8588vec_sral(__vector
signed long long __a, __vector
unsigned short __b) {
8589 return (__vector
signed long long)__builtin_s390_vsra(
8590 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8595vec_sral(__vector
signed long long __a, __vector
unsigned int __b) {
8596 return (__vector
signed long long)__builtin_s390_vsra(
8597 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8602vec_sral(__vector __bool
long long __a, __vector
unsigned char __b) {
8603 return (__vector __bool
long long)__builtin_s390_vsra(
8604 (__vector
unsigned char)
__a,
__b);
8609vec_sral(__vector __bool
long long __a, __vector
unsigned short __b) {
8610 return (__vector __bool
long long)__builtin_s390_vsra(
8611 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8616vec_sral(__vector __bool
long long __a, __vector
unsigned int __b) {
8617 return (__vector __bool
long long)__builtin_s390_vsra(
8618 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8622vec_sral(__vector
unsigned long long __a, __vector
unsigned char __b) {
8623 return (__vector
unsigned long long)__builtin_s390_vsra(
8624 (__vector
unsigned char)
__a,
__b);
8629vec_sral(__vector
unsigned long long __a, __vector
unsigned short __b) {
8630 return (__vector
unsigned long long)__builtin_s390_vsra(
8631 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8636vec_sral(__vector
unsigned long long __a, __vector
unsigned int __b) {
8637 return (__vector
unsigned long long)__builtin_s390_vsra(
8638 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8642vec_sral(__vector
signed __int128
__a, __vector
unsigned char __b) {
8643 return (__vector
signed __int128)__builtin_s390_vsra(
8644 (__vector
unsigned char)
__a,
__b);
8648vec_sral(__vector
unsigned __int128
__a, __vector
unsigned char __b) {
8649 return (__vector
unsigned __int128)__builtin_s390_vsra(
8650 (__vector
unsigned char)
__a,
__b);
8657vec_srab(__vector
signed char __a, __vector
signed char __b) {
8658 return (__vector
signed char)__builtin_s390_vsrab(
8659 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8663vec_srab(__vector
signed char __a, __vector
unsigned char __b) {
8664 return (__vector
signed char)__builtin_s390_vsrab(
8665 (__vector
unsigned char)
__a,
__b);
8670vec_srab(__vector
unsigned char __a, __vector
signed char __b) {
8671 return __builtin_s390_vsrab(
__a, (__vector
unsigned char)
__b);
8675vec_srab(__vector
unsigned char __a, __vector
unsigned char __b) {
8676 return __builtin_s390_vsrab(
__a,
__b);
8681vec_srab(__vector
signed short __a, __vector
signed short __b) {
8682 return (__vector
signed short)__builtin_s390_vsrab(
8683 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8688vec_srab(__vector
signed short __a, __vector
unsigned short __b) {
8689 return (__vector
signed short)__builtin_s390_vsrab(
8690 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8694vec_srab(__vector
signed short __a, __vector
unsigned char __b) {
8695 return (__vector
signed short)__builtin_s390_vsrab(
8696 (__vector
unsigned char)
__a,
__b);
8701vec_srab(__vector
unsigned short __a, __vector
signed short __b) {
8702 return (__vector
unsigned short)__builtin_s390_vsrab(
8703 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8708vec_srab(__vector
unsigned short __a, __vector
unsigned short __b) {
8709 return (__vector
unsigned short)__builtin_s390_vsrab(
8710 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8714vec_srab(__vector
unsigned short __a, __vector
unsigned char __b) {
8715 return (__vector
unsigned short)__builtin_s390_vsrab(
8716 (__vector
unsigned char)
__a,
__b);
8721vec_srab(__vector
signed int __a, __vector
signed int __b) {
8722 return (__vector
signed int)__builtin_s390_vsrab(
8723 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8728vec_srab(__vector
signed int __a, __vector
unsigned int __b) {
8729 return (__vector
signed int)__builtin_s390_vsrab(
8730 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8734vec_srab(__vector
signed int __a, __vector
unsigned char __b) {
8735 return (__vector
signed int)__builtin_s390_vsrab(
8736 (__vector
unsigned char)
__a,
__b);
8741vec_srab(__vector
unsigned int __a, __vector
signed int __b) {
8742 return (__vector
unsigned int)__builtin_s390_vsrab(
8743 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8748vec_srab(__vector
unsigned int __a, __vector
unsigned int __b) {
8749 return (__vector
unsigned int)__builtin_s390_vsrab(
8750 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8754vec_srab(__vector
unsigned int __a, __vector
unsigned char __b) {
8755 return (__vector
unsigned int)__builtin_s390_vsrab(
8756 (__vector
unsigned char)
__a,
__b);
8761vec_srab(__vector
signed long long __a, __vector
signed long long __b) {
8762 return (__vector
signed long long)__builtin_s390_vsrab(
8763 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8768vec_srab(__vector
signed long long __a, __vector
unsigned long long __b) {
8769 return (__vector
signed long long)__builtin_s390_vsrab(
8770 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8774vec_srab(__vector
signed long long __a, __vector
unsigned char __b) {
8775 return (__vector
signed long long)__builtin_s390_vsrab(
8776 (__vector
unsigned char)
__a,
__b);
8781vec_srab(__vector
unsigned long long __a, __vector
signed long long __b) {
8782 return (__vector
unsigned long long)__builtin_s390_vsrab(
8783 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8788vec_srab(__vector
unsigned long long __a, __vector
unsigned long long __b) {
8789 return (__vector
unsigned long long)__builtin_s390_vsrab(
8790 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8794vec_srab(__vector
unsigned long long __a, __vector
unsigned char __b) {
8795 return (__vector
unsigned long long)__builtin_s390_vsrab(
8796 (__vector
unsigned char)
__a,
__b);
8800vec_srab(__vector
signed __int128
__a, __vector
unsigned char __b) {
8801 return (__vector
signed __int128)__builtin_s390_vsrab(
8802 (__vector
unsigned char)
__a,
__b);
8806vec_srab(__vector
unsigned __int128
__a, __vector
unsigned char __b) {
8807 return (__vector
unsigned __int128)__builtin_s390_vsrab(
8808 (__vector
unsigned char)
__a,
__b);
8814vec_srab(__vector
float __a, __vector
signed int __b) {
8815 return (__vector
float)__builtin_s390_vsrab(
8816 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8821vec_srab(__vector
float __a, __vector
unsigned int __b) {
8822 return (__vector
float)__builtin_s390_vsrab(
8823 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8827vec_srab(__vector
float __a, __vector
unsigned char __b) {
8828 return (__vector
float)__builtin_s390_vsrab(
8829 (__vector
unsigned char)
__a,
__b);
8835vec_srab(__vector
double __a, __vector
signed long long __b) {
8836 return (__vector
double)__builtin_s390_vsrab(
8837 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8842vec_srab(__vector
double __a, __vector
unsigned long long __b) {
8843 return (__vector
double)__builtin_s390_vsrab(
8844 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8848vec_srab(__vector
double __a, __vector
unsigned char __b) {
8849 return (__vector
double)__builtin_s390_vsrab(
8850 (__vector
unsigned char)
__a,
__b);
8856vec_srl(__vector
signed char __a, __vector
unsigned char __b) {
8857 return (__vector
signed char)__builtin_s390_vsrl(
8858 (__vector
unsigned char)
__a,
__b);
8863vec_srl(__vector
signed char __a, __vector
unsigned short __b) {
8864 return (__vector
signed char)__builtin_s390_vsrl(
8865 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8870vec_srl(__vector
signed char __a, __vector
unsigned int __b) {
8871 return (__vector
signed char)__builtin_s390_vsrl(
8872 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8877vec_srl(__vector __bool
char __a, __vector
unsigned char __b) {
8878 return (__vector __bool
char)__builtin_s390_vsrl(
8879 (__vector
unsigned char)
__a,
__b);
8884vec_srl(__vector __bool
char __a, __vector
unsigned short __b) {
8885 return (__vector __bool
char)__builtin_s390_vsrl(
8886 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8891vec_srl(__vector __bool
char __a, __vector
unsigned int __b) {
8892 return (__vector __bool
char)__builtin_s390_vsrl(
8893 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8897vec_srl(__vector
unsigned char __a, __vector
unsigned char __b) {
8898 return __builtin_s390_vsrl(
__a,
__b);
8903vec_srl(__vector
unsigned char __a, __vector
unsigned short __b) {
8904 return __builtin_s390_vsrl(
__a, (__vector
unsigned char)
__b);
8909vec_srl(__vector
unsigned char __a, __vector
unsigned int __b) {
8910 return __builtin_s390_vsrl(
__a, (__vector
unsigned char)
__b);
8914vec_srl(__vector
signed short __a, __vector
unsigned char __b) {
8915 return (__vector
signed short)__builtin_s390_vsrl(
8916 (__vector
unsigned char)
__a,
__b);
8921vec_srl(__vector
signed short __a, __vector
unsigned short __b) {
8922 return (__vector
signed short)__builtin_s390_vsrl(
8923 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8928vec_srl(__vector
signed short __a, __vector
unsigned int __b) {
8929 return (__vector
signed short)__builtin_s390_vsrl(
8930 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8935vec_srl(__vector __bool
short __a, __vector
unsigned char __b) {
8936 return (__vector __bool
short)__builtin_s390_vsrl(
8937 (__vector
unsigned char)
__a,
__b);
8942vec_srl(__vector __bool
short __a, __vector
unsigned short __b) {
8943 return (__vector __bool
short)__builtin_s390_vsrl(
8944 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8949vec_srl(__vector __bool
short __a, __vector
unsigned int __b) {
8950 return (__vector __bool
short)__builtin_s390_vsrl(
8951 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8955vec_srl(__vector
unsigned short __a, __vector
unsigned char __b) {
8956 return (__vector
unsigned short)__builtin_s390_vsrl(
8957 (__vector
unsigned char)
__a,
__b);
8962vec_srl(__vector
unsigned short __a, __vector
unsigned short __b) {
8963 return (__vector
unsigned short)__builtin_s390_vsrl(
8964 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8969vec_srl(__vector
unsigned short __a, __vector
unsigned int __b) {
8970 return (__vector
unsigned short)__builtin_s390_vsrl(
8971 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8975vec_srl(__vector
signed int __a, __vector
unsigned char __b) {
8976 return (__vector
signed int)__builtin_s390_vsrl(
8977 (__vector
unsigned char)
__a,
__b);
8982vec_srl(__vector
signed int __a, __vector
unsigned short __b) {
8983 return (__vector
signed int)__builtin_s390_vsrl(
8984 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8989vec_srl(__vector
signed int __a, __vector
unsigned int __b) {
8990 return (__vector
signed int)__builtin_s390_vsrl(
8991 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
8996vec_srl(__vector __bool
int __a, __vector
unsigned char __b) {
8997 return (__vector __bool
int)__builtin_s390_vsrl(
8998 (__vector
unsigned char)
__a,
__b);
9003vec_srl(__vector __bool
int __a, __vector
unsigned short __b) {
9004 return (__vector __bool
int)__builtin_s390_vsrl(
9005 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9010vec_srl(__vector __bool
int __a, __vector
unsigned int __b) {
9011 return (__vector __bool
int)__builtin_s390_vsrl(
9012 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9016vec_srl(__vector
unsigned int __a, __vector
unsigned char __b) {
9017 return (__vector
unsigned int)__builtin_s390_vsrl(
9018 (__vector
unsigned char)
__a,
__b);
9023vec_srl(__vector
unsigned int __a, __vector
unsigned short __b) {
9024 return (__vector
unsigned int)__builtin_s390_vsrl(
9025 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9030vec_srl(__vector
unsigned int __a, __vector
unsigned int __b) {
9031 return (__vector
unsigned int)__builtin_s390_vsrl(
9032 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9036vec_srl(__vector
signed long long __a, __vector
unsigned char __b) {
9037 return (__vector
signed long long)__builtin_s390_vsrl(
9038 (__vector
unsigned char)
__a,
__b);
9043vec_srl(__vector
signed long long __a, __vector
unsigned short __b) {
9044 return (__vector
signed long long)__builtin_s390_vsrl(
9045 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9050vec_srl(__vector
signed long long __a, __vector
unsigned int __b) {
9051 return (__vector
signed long long)__builtin_s390_vsrl(
9052 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9057vec_srl(__vector __bool
long long __a, __vector
unsigned char __b) {
9058 return (__vector __bool
long long)__builtin_s390_vsrl(
9059 (__vector
unsigned char)
__a,
__b);
9064vec_srl(__vector __bool
long long __a, __vector
unsigned short __b) {
9065 return (__vector __bool
long long)__builtin_s390_vsrl(
9066 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9071vec_srl(__vector __bool
long long __a, __vector
unsigned int __b) {
9072 return (__vector __bool
long long)__builtin_s390_vsrl(
9073 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9077vec_srl(__vector
unsigned long long __a, __vector
unsigned char __b) {
9078 return (__vector
unsigned long long)__builtin_s390_vsrl(
9079 (__vector
unsigned char)
__a,
__b);
9084vec_srl(__vector
unsigned long long __a, __vector
unsigned short __b) {
9085 return (__vector
unsigned long long)__builtin_s390_vsrl(
9086 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9091vec_srl(__vector
unsigned long long __a, __vector
unsigned int __b) {
9092 return (__vector
unsigned long long)__builtin_s390_vsrl(
9093 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9097vec_srl(__vector
signed __int128
__a, __vector
unsigned char __b) {
9098 return (__vector
signed __int128)__builtin_s390_vsrl(
9099 (__vector
unsigned char)
__a,
__b);
9103vec_srl(__vector
unsigned __int128
__a, __vector
unsigned char __b) {
9104 return (__vector
unsigned __int128)__builtin_s390_vsrl(
9105 (__vector
unsigned char)
__a,
__b);
9112vec_srb(__vector
signed char __a, __vector
signed char __b) {
9113 return (__vector
signed char)__builtin_s390_vsrlb(
9114 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9118vec_srb(__vector
signed char __a, __vector
unsigned char __b) {
9119 return (__vector
signed char)__builtin_s390_vsrlb(
9120 (__vector
unsigned char)
__a,
__b);
9125vec_srb(__vector
unsigned char __a, __vector
signed char __b) {
9126 return __builtin_s390_vsrlb(
__a, (__vector
unsigned char)
__b);
9130vec_srb(__vector
unsigned char __a, __vector
unsigned char __b) {
9131 return __builtin_s390_vsrlb(
__a,
__b);
9136vec_srb(__vector
signed short __a, __vector
signed short __b) {
9137 return (__vector
signed short)__builtin_s390_vsrlb(
9138 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9143vec_srb(__vector
signed short __a, __vector
unsigned short __b) {
9144 return (__vector
signed short)__builtin_s390_vsrlb(
9145 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9149vec_srb(__vector
signed short __a, __vector
unsigned char __b) {
9150 return (__vector
signed short)__builtin_s390_vsrlb(
9151 (__vector
unsigned char)
__a,
__b);
9156vec_srb(__vector
unsigned short __a, __vector
signed short __b) {
9157 return (__vector
unsigned short)__builtin_s390_vsrlb(
9158 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9163vec_srb(__vector
unsigned short __a, __vector
unsigned short __b) {
9164 return (__vector
unsigned short)__builtin_s390_vsrlb(
9165 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9169vec_srb(__vector
unsigned short __a, __vector
unsigned char __b) {
9170 return (__vector
unsigned short)__builtin_s390_vsrlb(
9171 (__vector
unsigned char)
__a,
__b);
9176vec_srb(__vector
signed int __a, __vector
signed int __b) {
9177 return (__vector
signed int)__builtin_s390_vsrlb(
9178 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9183vec_srb(__vector
signed int __a, __vector
unsigned int __b) {
9184 return (__vector
signed int)__builtin_s390_vsrlb(
9185 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9189vec_srb(__vector
signed int __a, __vector
unsigned char __b) {
9190 return (__vector
signed int)__builtin_s390_vsrlb(
9191 (__vector
unsigned char)
__a,
__b);
9196vec_srb(__vector
unsigned int __a, __vector
signed int __b) {
9197 return (__vector
unsigned int)__builtin_s390_vsrlb(
9198 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9203vec_srb(__vector
unsigned int __a, __vector
unsigned int __b) {
9204 return (__vector
unsigned int)__builtin_s390_vsrlb(
9205 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9209vec_srb(__vector
unsigned int __a, __vector
unsigned char __b) {
9210 return (__vector
unsigned int)__builtin_s390_vsrlb(
9211 (__vector
unsigned char)
__a,
__b);
9216vec_srb(__vector
signed long long __a, __vector
signed long long __b) {
9217 return (__vector
signed long long)__builtin_s390_vsrlb(
9218 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9223vec_srb(__vector
signed long long __a, __vector
unsigned long long __b) {
9224 return (__vector
signed long long)__builtin_s390_vsrlb(
9225 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9229vec_srb(__vector
signed long long __a, __vector
unsigned char __b) {
9230 return (__vector
signed long long)__builtin_s390_vsrlb(
9231 (__vector
unsigned char)
__a,
__b);
9236vec_srb(__vector
unsigned long long __a, __vector
signed long long __b) {
9237 return (__vector
unsigned long long)__builtin_s390_vsrlb(
9238 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9243vec_srb(__vector
unsigned long long __a, __vector
unsigned long long __b) {
9244 return (__vector
unsigned long long)__builtin_s390_vsrlb(
9245 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9249vec_srb(__vector
unsigned long long __a, __vector
unsigned char __b) {
9250 return (__vector
unsigned long long)__builtin_s390_vsrlb(
9251 (__vector
unsigned char)
__a,
__b);
9255vec_srb(__vector
signed __int128
__a, __vector
unsigned char __b) {
9256 return (__vector
signed __int128)__builtin_s390_vsrlb(
9257 (__vector
unsigned char)
__a,
__b);
9261vec_srb(__vector
unsigned __int128
__a, __vector
unsigned char __b) {
9262 return (__vector
unsigned __int128)__builtin_s390_vsrlb(
9263 (__vector
unsigned char)
__a,
__b);
9269vec_srb(__vector
float __a, __vector
signed int __b) {
9270 return (__vector
float)__builtin_s390_vsrlb(
9271 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9276vec_srb(__vector
float __a, __vector
unsigned int __b) {
9277 return (__vector
float)__builtin_s390_vsrlb(
9278 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9282vec_srb(__vector
float __a, __vector
unsigned char __b) {
9283 return (__vector
float)__builtin_s390_vsrlb(
9284 (__vector
unsigned char)
__a,
__b);
9290vec_srb(__vector
double __a, __vector
signed long long __b) {
9291 return (__vector
double)__builtin_s390_vsrlb(
9292 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9297vec_srb(__vector
double __a, __vector
unsigned long long __b) {
9298 return (__vector
double)__builtin_s390_vsrlb(
9299 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
9303vec_srb(__vector
double __a, __vector
unsigned char __b) {
9304 return (__vector
double)__builtin_s390_vsrlb(
9305 (__vector
unsigned char)
__a,
__b);
9312extern __ATTRS_o __vector
signed char
9313vec_srdb(__vector
signed char __a, __vector
signed char __b,
int __c)
9314 __constant_range(
__c, 0, 7);
9316extern __ATTRS_o __vector
unsigned char
9317vec_srdb(__vector
unsigned char __a, __vector
unsigned char __b,
int __c)
9318 __constant_range(
__c, 0, 7);
9320extern __ATTRS_o __vector
signed short
9321vec_srdb(__vector
signed short __a, __vector
signed short __b,
int __c)
9322 __constant_range(
__c, 0, 7);
9324extern __ATTRS_o __vector
unsigned short
9325vec_srdb(__vector
unsigned short __a, __vector
unsigned short __b,
int __c)
9326 __constant_range(
__c, 0, 7);
9328extern __ATTRS_o __vector
signed int
9329vec_srdb(__vector
signed int __a, __vector
signed int __b,
int __c)
9330 __constant_range(
__c, 0, 7);
9332extern __ATTRS_o __vector
unsigned int
9333vec_srdb(__vector
unsigned int __a, __vector
unsigned int __b,
int __c)
9334 __constant_range(
__c, 0, 7);
9336extern __ATTRS_o __vector
signed long long
9337vec_srdb(__vector
signed long long __a, __vector
signed long long __b,
int __c)
9338 __constant_range(
__c, 0, 7);
9340extern __ATTRS_o __vector
unsigned long long
9341vec_srdb(__vector
unsigned long long __a, __vector
unsigned long long __b,
9343 __constant_range(
__c, 0, 7);
9345extern __ATTRS_o __vector
signed __int128
9346vec_srdb(__vector
signed __int128
__a, __vector
signed __int128
__b,
int __c)
9347 __constant_range(
__c, 0, 7);
9349extern __ATTRS_o __vector
unsigned __int128
9350vec_srdb(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
9352 __constant_range(
__c, 0, 7);
9354extern __ATTRS_o __vector
float
9355vec_srdb(__vector
float __a, __vector
float __b,
int __c)
9356 __constant_range(
__c, 0, 7);
9358extern __ATTRS_o __vector
double
9359vec_srdb(__vector
double __a, __vector
double __b,
int __c)
9360 __constant_range(
__c, 0, 7);
9362#define vec_srdb(X, Y, Z) ((__typeof__((vec_srdb)((X), (Y), (Z)))) \
9363 __builtin_s390_vsrd((__vector unsigned char)(X), \
9364 (__vector unsigned char)(Y), (Z)))
9398 return __builtin_s390_vflpsb(
__a);
9404 return __builtin_s390_vflpdb(
__a);
9412 return __builtin_s390_vflnsb(
__a);
9418 return __builtin_s390_vflndb(
__a);
9424vec_max(__vector
signed char __a, __vector
signed char __b) {
9430vec_max(__vector
signed char __a, __vector __bool
char __b) {
9431 __vector
signed char __bc = (__vector
signed char)
__b;
9437vec_max(__vector __bool
char __a, __vector
signed char __b) {
9438 __vector
signed char __ac = (__vector
signed char)
__a;
9443vec_max(__vector
unsigned char __a, __vector
unsigned char __b) {
9449vec_max(__vector
unsigned char __a, __vector __bool
char __b) {
9450 __vector
unsigned char __bc = (__vector
unsigned char)
__b;
9456vec_max(__vector __bool
char __a, __vector
unsigned char __b) {
9457 __vector
unsigned char __ac = (__vector
unsigned char)
__a;
9462vec_max(__vector
signed short __a, __vector
signed short __b) {
9468vec_max(__vector
signed short __a, __vector __bool
short __b) {
9469 __vector
signed short __bc = (__vector
signed short)
__b;
9475vec_max(__vector __bool
short __a, __vector
signed short __b) {
9476 __vector
signed short __ac = (__vector
signed short)
__a;
9481vec_max(__vector
unsigned short __a, __vector
unsigned short __b) {
9487vec_max(__vector
unsigned short __a, __vector __bool
short __b) {
9488 __vector
unsigned short __bc = (__vector
unsigned short)
__b;
9494vec_max(__vector __bool
short __a, __vector
unsigned short __b) {
9495 __vector
unsigned short __ac = (__vector
unsigned short)
__a;
9507 __vector
signed int __bc = (__vector
signed int)
__b;
9514 __vector
signed int __ac = (__vector
signed int)
__a;
9519vec_max(__vector
unsigned int __a, __vector
unsigned int __b) {
9525vec_max(__vector
unsigned int __a, __vector __bool
int __b) {
9526 __vector
unsigned int __bc = (__vector
unsigned int)
__b;
9532vec_max(__vector __bool
int __a, __vector
unsigned int __b) {
9533 __vector
unsigned int __ac = (__vector
unsigned int)
__a;
9538vec_max(__vector
signed long long __a, __vector
signed long long __b) {
9544vec_max(__vector
signed long long __a, __vector __bool
long long __b) {
9545 __vector
signed long long __bc = (__vector
signed long long)
__b;
9551vec_max(__vector __bool
long long __a, __vector
signed long long __b) {
9552 __vector
signed long long __ac = (__vector
signed long long)
__a;
9557vec_max(__vector
unsigned long long __a, __vector
unsigned long long __b) {
9563vec_max(__vector
unsigned long long __a, __vector __bool
long long __b) {
9564 __vector
unsigned long long __bc = (__vector
unsigned long long)
__b;
9570vec_max(__vector __bool
long long __a, __vector
unsigned long long __b) {
9571 __vector
unsigned long long __ac = (__vector
unsigned long long)
__a;
9576vec_max(__vector
signed __int128
__a, __vector
signed __int128
__b) {
9581vec_max(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
9588 return __builtin_s390_vfmaxsb(
__a,
__b, 0);
9595 return __builtin_s390_vfmaxdb(
__a,
__b, 0);
9604vec_min(__vector
signed char __a, __vector
signed char __b) {
9610vec_min(__vector
signed char __a, __vector __bool
char __b) {
9611 __vector
signed char __bc = (__vector
signed char)
__b;
9617vec_min(__vector __bool
char __a, __vector
signed char __b) {
9618 __vector
signed char __ac = (__vector
signed char)
__a;
9623vec_min(__vector
unsigned char __a, __vector
unsigned char __b) {
9629vec_min(__vector
unsigned char __a, __vector __bool
char __b) {
9630 __vector
unsigned char __bc = (__vector
unsigned char)
__b;
9636vec_min(__vector __bool
char __a, __vector
unsigned char __b) {
9637 __vector
unsigned char __ac = (__vector
unsigned char)
__a;
9642vec_min(__vector
signed short __a, __vector
signed short __b) {
9648vec_min(__vector
signed short __a, __vector __bool
short __b) {
9649 __vector
signed short __bc = (__vector
signed short)
__b;
9655vec_min(__vector __bool
short __a, __vector
signed short __b) {
9656 __vector
signed short __ac = (__vector
signed short)
__a;
9661vec_min(__vector
unsigned short __a, __vector
unsigned short __b) {
9667vec_min(__vector
unsigned short __a, __vector __bool
short __b) {
9668 __vector
unsigned short __bc = (__vector
unsigned short)
__b;
9674vec_min(__vector __bool
short __a, __vector
unsigned short __b) {
9675 __vector
unsigned short __ac = (__vector
unsigned short)
__a;
9687 __vector
signed int __bc = (__vector
signed int)
__b;
9694 __vector
signed int __ac = (__vector
signed int)
__a;
9699vec_min(__vector
unsigned int __a, __vector
unsigned int __b) {
9705vec_min(__vector
unsigned int __a, __vector __bool
int __b) {
9706 __vector
unsigned int __bc = (__vector
unsigned int)
__b;
9712vec_min(__vector __bool
int __a, __vector
unsigned int __b) {
9713 __vector
unsigned int __ac = (__vector
unsigned int)
__a;
9718vec_min(__vector
signed long long __a, __vector
signed long long __b) {
9724vec_min(__vector
signed long long __a, __vector __bool
long long __b) {
9725 __vector
signed long long __bc = (__vector
signed long long)
__b;
9731vec_min(__vector __bool
long long __a, __vector
signed long long __b) {
9732 __vector
signed long long __ac = (__vector
signed long long)
__a;
9737vec_min(__vector
unsigned long long __a, __vector
unsigned long long __b) {
9743vec_min(__vector
unsigned long long __a, __vector __bool
long long __b) {
9744 __vector
unsigned long long __bc = (__vector
unsigned long long)
__b;
9750vec_min(__vector __bool
long long __a, __vector
unsigned long long __b) {
9751 __vector
unsigned long long __ac = (__vector
unsigned long long)
__a;
9756vec_min(__vector
signed __int128
__a, __vector
signed __int128
__b) {
9761vec_min(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
9768 return __builtin_s390_vfminsb(
__a,
__b, 0);
9775 return __builtin_s390_vfmindb(
__a,
__b, 0);
9784static inline __ATTRS_ai __vector
unsigned char
9785vec_add_u128(__vector
unsigned char __a, __vector
unsigned char __b) {
9786 return (__vector
unsigned char)(__vector
unsigned __int128)
9787 ((__int128)
__a + (__int128)
__b);
9793vec_addc(__vector
unsigned char __a, __vector
unsigned char __b) {
9794 return __builtin_s390_vaccb(
__a,
__b);
9798vec_addc(__vector
unsigned short __a, __vector
unsigned short __b) {
9799 return __builtin_s390_vacch(
__a,
__b);
9804 return __builtin_s390_vaccf(
__a,
__b);
9808vec_addc(__vector
unsigned long long __a, __vector
unsigned long long __b) {
9809 return __builtin_s390_vaccg(
__a,
__b);
9813vec_addc(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
9814 return (__vector
unsigned __int128)
9815 __builtin_s390_vaccq((
unsigned __int128)
__a, (
unsigned __int128)
__b);
9821static inline __ATTRS_ai __vector
unsigned char
9822vec_addc_u128(__vector
unsigned char __a, __vector
unsigned char __b) {
9823 return (__vector
unsigned char)(__vector
unsigned __int128)
9824 __builtin_s390_vaccq((
unsigned __int128)
__a, (
unsigned __int128)
__b);
9829static inline __ATTRS_ai __vector
unsigned __int128
9830vec_adde(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
9831 __vector
unsigned __int128
__c) {
9832 return (__vector
unsigned __int128)
9833 __builtin_s390_vacq((
unsigned __int128)
__a, (
unsigned __int128)
__b,
9834 (
unsigned __int128)
__c);
9840static inline __ATTRS_ai __vector
unsigned char
9841vec_adde_u128(__vector
unsigned char __a, __vector
unsigned char __b,
9842 __vector
unsigned char __c) {
9843 return (__vector
unsigned char)(__vector
unsigned __int128)
9844 __builtin_s390_vacq((
unsigned __int128)
__a, (
unsigned __int128)
__b,
9845 (
unsigned __int128)
__c);
9850static inline __ATTRS_ai __vector
unsigned __int128
9851vec_addec(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
9852 __vector
unsigned __int128
__c) {
9853 return (__vector
unsigned __int128)
9854 __builtin_s390_vacccq((
unsigned __int128)
__a, (
unsigned __int128)
__b,
9855 (
unsigned __int128)
__c);
9861static inline __ATTRS_ai __vector
unsigned char
9862vec_addec_u128(__vector
unsigned char __a, __vector
unsigned char __b,
9863 __vector
unsigned char __c) {
9864 return (__vector
unsigned char)(__vector
unsigned __int128)
9865 __builtin_s390_vacccq((
unsigned __int128)
__a, (
unsigned __int128)
__b,
9866 (
unsigned __int128)
__c);
9872vec_avg(__vector
signed char __a, __vector
signed char __b) {
9873 return __builtin_s390_vavgb(
__a,
__b);
9877vec_avg(__vector
signed short __a, __vector
signed short __b) {
9878 return __builtin_s390_vavgh(
__a,
__b);
9883 return __builtin_s390_vavgf(
__a,
__b);
9887vec_avg(__vector
signed long long __a, __vector
signed long long __b) {
9888 return __builtin_s390_vavgg(
__a,
__b);
9893vec_avg(__vector
signed __int128
__a, __vector
signed __int128
__b) {
9894 return (__vector
signed __int128)
9895 __builtin_s390_vavgq((
signed __int128)
__a, (
signed __int128)
__b);
9900vec_avg(__vector
unsigned char __a, __vector
unsigned char __b) {
9901 return __builtin_s390_vavglb(
__a,
__b);
9905vec_avg(__vector
unsigned short __a, __vector
unsigned short __b) {
9906 return __builtin_s390_vavglh(
__a,
__b);
9910vec_avg(__vector
unsigned int __a, __vector
unsigned int __b) {
9911 return __builtin_s390_vavglf(
__a,
__b);
9915vec_avg(__vector
unsigned long long __a, __vector
unsigned long long __b) {
9916 return __builtin_s390_vavglg(
__a,
__b);
9921vec_avg(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
9922 return (__vector
unsigned __int128)
9923 __builtin_s390_vavglq((
unsigned __int128)
__a, (
unsigned __int128)
__b);
9929static inline __ATTRS_ai __vector
unsigned int
9930vec_checksum(__vector
unsigned int __a, __vector
unsigned int __b) {
9931 return __builtin_s390_vcksm(
__a,
__b);
9937vec_gfmsum(__vector
unsigned char __a, __vector
unsigned char __b) {
9938 return __builtin_s390_vgfmb(
__a,
__b);
9942vec_gfmsum(__vector
unsigned short __a, __vector
unsigned short __b) {
9943 return __builtin_s390_vgfmh(
__a,
__b);
9947vec_gfmsum(__vector
unsigned int __a, __vector
unsigned int __b) {
9948 return __builtin_s390_vgfmf(
__a,
__b);
9952vec_gfmsum(__vector
unsigned long long __a, __vector
unsigned long long __b) {
9953 return (__vector
unsigned __int128)__builtin_s390_vgfmg(
__a,
__b);
9960vec_gfmsum_128(__vector
unsigned long long __a,
9961 __vector
unsigned long long __b) {
9962 return (__vector
unsigned char)(__vector
unsigned __int128)
9963 __builtin_s390_vgfmg(
__a,
__b);
9969vec_gfmsum_accum(__vector
unsigned char __a, __vector
unsigned char __b,
9970 __vector
unsigned short __c) {
9971 return __builtin_s390_vgfmab(
__a,
__b,
__c);
9975vec_gfmsum_accum(__vector
unsigned short __a, __vector
unsigned short __b,
9976 __vector
unsigned int __c) {
9977 return __builtin_s390_vgfmah(
__a,
__b,
__c);
9981vec_gfmsum_accum(__vector
unsigned int __a, __vector
unsigned int __b,
9982 __vector
unsigned long long __c) {
9983 return __builtin_s390_vgfmaf(
__a,
__b,
__c);
9987vec_gfmsum_accum(__vector
unsigned long long __a, __vector
unsigned long long __b,
9988 __vector
unsigned __int128
__c) {
9989 return (__vector
unsigned __int128)
9990 __builtin_s390_vgfmag(
__a,
__b, (
unsigned __int128)
__c);
9997vec_gfmsum_accum_128(__vector
unsigned long long __a,
9998 __vector
unsigned long long __b,
9999 __vector
unsigned char __c) {
10000 return (__vector
unsigned char)(__vector
unsigned __int128)
10001 __builtin_s390_vgfmag(
__a,
__b, (
unsigned __int128)
__c);
10008 __vector
signed char __c) {
10014 __vector
signed char __c) {
10015 return (__vector
signed char)
__a *
__b +
__c;
10020 __vector
unsigned char __c) {
10021 return __a * (__vector
signed char)
__b + (__vector
signed char)
__c;
10026 __vector
unsigned char __c) {
10032 __vector
signed short __c) {
10038 __vector
signed short __c) {
10039 return (__vector
signed short)
__a *
__b +
__c;
10044 __vector
unsigned short __c) {
10045 return __a * (__vector
signed short)
__b + (__vector
signed short)
__c;
10050 __vector
unsigned short __c) {
10056 __vector
signed int __c) {
10062 __vector
signed int __c) {
10063 return (__vector
signed int)
__a *
__b +
__c;
10068 __vector
unsigned int __c) {
10069 return __a * (__vector
signed int)
__b + (__vector
signed int)
__c;
10074 __vector
unsigned int __c) {
10080vec_mladd(__vector
signed long long __a, __vector
signed long long __b,
10081 __vector
signed long long __c) {
10086vec_mladd(__vector
unsigned long long __a, __vector
signed long long __b,
10087 __vector
signed long long __c) {
10088 return (__vector
signed long long)
__a *
__b +
__c;
10092vec_mladd(__vector
signed long long __a, __vector
unsigned long long __b,
10093 __vector
unsigned long long __c) {
10094 return __a * (__vector
signed long long)
__b + (__vector
signed long long)
__c;
10098vec_mladd(__vector
unsigned long long __a, __vector
unsigned long long __b,
10099 __vector
unsigned long long __c) {
10105 __vector
signed __int128
__c) {
10110vec_mladd(__vector
unsigned __int128
__a, __vector
signed __int128
__b,
10111 __vector
signed __int128
__c) {
10112 return (__vector
signed __int128)
__a *
__b +
__c;
10116vec_mladd(__vector
signed __int128
__a, __vector
unsigned __int128
__b,
10117 __vector
unsigned __int128
__c) {
10118 return __a * (__vector
signed __int128)
__b + (__vector
signed __int128)
__c;
10122vec_mladd(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
10123 __vector
unsigned __int128
__c) {
10131vec_mhadd(__vector
signed char __a, __vector
signed char __b,
10132 __vector
signed char __c) {
10133 return __builtin_s390_vmahb(
__a,
__b,
__c);
10137vec_mhadd(__vector
unsigned char __a, __vector
unsigned char __b,
10138 __vector
unsigned char __c) {
10139 return __builtin_s390_vmalhb(
__a,
__b,
__c);
10143vec_mhadd(__vector
signed short __a, __vector
signed short __b,
10144 __vector
signed short __c) {
10145 return __builtin_s390_vmahh(
__a,
__b,
__c);
10149vec_mhadd(__vector
unsigned short __a, __vector
unsigned short __b,
10150 __vector
unsigned short __c) {
10151 return __builtin_s390_vmalhh(
__a,
__b,
__c);
10155vec_mhadd(__vector
signed int __a, __vector
signed int __b,
10156 __vector
signed int __c) {
10157 return __builtin_s390_vmahf(
__a,
__b,
__c);
10161vec_mhadd(__vector
unsigned int __a, __vector
unsigned int __b,
10162 __vector
unsigned int __c) {
10163 return __builtin_s390_vmalhf(
__a,
__b,
__c);
10168vec_mhadd(__vector
signed long long __a, __vector
signed long long __b,
10169 __vector
signed long long __c) {
10170 return __builtin_s390_vmahg(
__a,
__b,
__c);
10174vec_mhadd(__vector
unsigned long long __a, __vector
unsigned long long __b,
10175 __vector
unsigned long long __c) {
10176 return __builtin_s390_vmalhg(
__a,
__b,
__c);
10180vec_mhadd(__vector
signed __int128
__a, __vector
signed __int128
__b,
10181 __vector
signed __int128
__c) {
10182 return (__vector
signed __int128)
10183 __builtin_s390_vmahq((
signed __int128)
__a, (
signed __int128)
__b, (
signed __int128)
__c);
10187vec_mhadd(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
10188 __vector
unsigned __int128
__c) {
10189 return (__vector
unsigned __int128)
10190 __builtin_s390_vmalhq((
unsigned __int128)
__a, (
unsigned __int128)
__b, (
unsigned __int128)
__c);
10197vec_meadd(__vector
signed char __a, __vector
signed char __b,
10198 __vector
signed short __c) {
10199 return __builtin_s390_vmaeb(
__a,
__b,
__c);
10203vec_meadd(__vector
unsigned char __a, __vector
unsigned char __b,
10204 __vector
unsigned short __c) {
10205 return __builtin_s390_vmaleb(
__a,
__b,
__c);
10209vec_meadd(__vector
signed short __a, __vector
signed short __b,
10210 __vector
signed int __c) {
10211 return __builtin_s390_vmaeh(
__a,
__b,
__c);
10215vec_meadd(__vector
unsigned short __a, __vector
unsigned short __b,
10216 __vector
unsigned int __c) {
10217 return __builtin_s390_vmaleh(
__a,
__b,
__c);
10221vec_meadd(__vector
signed int __a, __vector
signed int __b,
10222 __vector
signed long long __c) {
10223 return __builtin_s390_vmaef(
__a,
__b,
__c);
10227vec_meadd(__vector
unsigned int __a, __vector
unsigned int __b,
10228 __vector
unsigned long long __c) {
10229 return __builtin_s390_vmalef(
__a,
__b,
__c);
10234vec_meadd(__vector
signed long long __a, __vector
signed long long __b,
10235 __vector
signed __int128
__c) {
10236 return (__vector
signed __int128)
10237 __builtin_s390_vmaeg(
__a,
__b, (
signed __int128)
__c);
10241vec_meadd(__vector
unsigned long long __a, __vector
unsigned long long __b,
10242 __vector
unsigned __int128
__c) {
10243 return (__vector
unsigned __int128)
10244 __builtin_s390_vmaleg(
__a,
__b, (
unsigned __int128)
__c);
10251vec_moadd(__vector
signed char __a, __vector
signed char __b,
10252 __vector
signed short __c) {
10253 return __builtin_s390_vmaob(
__a,
__b,
__c);
10257vec_moadd(__vector
unsigned char __a, __vector
unsigned char __b,
10258 __vector
unsigned short __c) {
10259 return __builtin_s390_vmalob(
__a,
__b,
__c);
10263vec_moadd(__vector
signed short __a, __vector
signed short __b,
10264 __vector
signed int __c) {
10265 return __builtin_s390_vmaoh(
__a,
__b,
__c);
10269vec_moadd(__vector
unsigned short __a, __vector
unsigned short __b,
10270 __vector
unsigned int __c) {
10271 return __builtin_s390_vmaloh(
__a,
__b,
__c);
10275vec_moadd(__vector
signed int __a, __vector
signed int __b,
10276 __vector
signed long long __c) {
10277 return __builtin_s390_vmaof(
__a,
__b,
__c);
10281vec_moadd(__vector
unsigned int __a, __vector
unsigned int __b,
10282 __vector
unsigned long long __c) {
10283 return __builtin_s390_vmalof(
__a,
__b,
__c);
10288vec_moadd(__vector
signed long long __a, __vector
signed long long __b,
10289 __vector
signed __int128
__c) {
10290 return (__vector
signed __int128)
10291 __builtin_s390_vmaog(
__a,
__b, (
signed __int128)
__c);
10295vec_moadd(__vector
unsigned long long __a, __vector
unsigned long long __b,
10296 __vector
unsigned __int128
__c) {
10297 return (__vector
unsigned __int128)
10298 __builtin_s390_vmalog(
__a,
__b, (
unsigned __int128)
__c);
10305vec_mulh(__vector
signed char __a, __vector
signed char __b) {
10306 return __builtin_s390_vmhb(
__a,
__b);
10310vec_mulh(__vector
unsigned char __a, __vector
unsigned char __b) {
10311 return __builtin_s390_vmlhb(
__a,
__b);
10315vec_mulh(__vector
signed short __a, __vector
signed short __b) {
10316 return __builtin_s390_vmhh(
__a,
__b);
10320vec_mulh(__vector
unsigned short __a, __vector
unsigned short __b) {
10321 return __builtin_s390_vmlhh(
__a,
__b);
10325vec_mulh(__vector
signed int __a, __vector
signed int __b) {
10326 return __builtin_s390_vmhf(
__a,
__b);
10330vec_mulh(__vector
unsigned int __a, __vector
unsigned int __b) {
10331 return __builtin_s390_vmlhf(
__a,
__b);
10336vec_mulh(__vector
signed long long __a, __vector
signed long long __b) {
10337 return __builtin_s390_vmhg(
__a,
__b);
10341vec_mulh(__vector
unsigned long long __a, __vector
unsigned long long __b) {
10342 return __builtin_s390_vmlhg(
__a,
__b);
10346vec_mulh(__vector
signed __int128
__a, __vector
signed __int128
__b) {
10347 return (__vector
signed __int128)
10348 __builtin_s390_vmhq((
signed __int128)
__a, (
signed __int128)
__b);
10352vec_mulh(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
10353 return (__vector
unsigned __int128)
10354 __builtin_s390_vmlhq((
unsigned __int128)
__a, (
unsigned __int128)
__b);
10362 return __builtin_s390_vmeb(
__a,
__b);
10366vec_mule(__vector
unsigned char __a, __vector
unsigned char __b) {
10367 return __builtin_s390_vmleb(
__a,
__b);
10372 return __builtin_s390_vmeh(
__a,
__b);
10376vec_mule(__vector
unsigned short __a, __vector
unsigned short __b) {
10377 return __builtin_s390_vmleh(
__a,
__b);
10382 return __builtin_s390_vmef(
__a,
__b);
10387 return __builtin_s390_vmlef(
__a,
__b);
10392vec_mule(__vector
signed long long __a, __vector
signed long long __b) {
10393 return (__vector
signed __int128)__builtin_s390_vmeg(
__a,
__b);
10397vec_mule(__vector
unsigned long long __a, __vector
unsigned long long __b) {
10398 return (__vector
unsigned __int128)__builtin_s390_vmleg(
__a,
__b);
10406 return __builtin_s390_vmob(
__a,
__b);
10410vec_mulo(__vector
unsigned char __a, __vector
unsigned char __b) {
10411 return __builtin_s390_vmlob(
__a,
__b);
10416 return __builtin_s390_vmoh(
__a,
__b);
10420vec_mulo(__vector
unsigned short __a, __vector
unsigned short __b) {
10421 return __builtin_s390_vmloh(
__a,
__b);
10426 return __builtin_s390_vmof(
__a,
__b);
10431 return __builtin_s390_vmlof(
__a,
__b);
10436vec_mulo(__vector
signed long long __a, __vector
signed long long __b) {
10437 return (__vector
signed __int128)__builtin_s390_vmog(
__a,
__b);
10441vec_mulo(__vector
unsigned long long __a, __vector
unsigned long long __b) {
10442 return (__vector
unsigned __int128)__builtin_s390_vmlog(
__a,
__b);
10449extern __ATTRS_o __vector
unsigned __int128
10450vec_msum(__vector
unsigned long long __a, __vector
unsigned long long __b,
10451 __vector
unsigned __int128
__c,
int __d)
10452 __constant_range(__d, 0, 15);
10454#define vec_msum(X, Y, Z, W) \
10455 ((__typeof__((vec_msum)((X), (Y), (Z), (W)))) \
10456 __builtin_s390_vmslg((X), (Y), (unsigned __int128)(Z), (W)))
10463extern __ATTRS_o __vector
unsigned char
10464vec_msum_u128(__vector
unsigned long long __a, __vector
unsigned long long __b,
10465 __vector
unsigned char __c,
int __d)
10466 __constant_range(__d, 0, 15);
10468#define vec_msum_u128(X, Y, Z, W) \
10469 ((__typeof__((vec_msum_u128)((X), (Y), (Z), (W)))) \
10470 (__vector unsigned __int128) \
10471 __builtin_s390_vmslg((X), (Y), (unsigned __int128)(Z), (W)))
10477static inline __ATTRS_ai __vector
unsigned char
10478vec_sub_u128(__vector
unsigned char __a, __vector
unsigned char __b) {
10479 return (__vector
unsigned char)(__vector
unsigned __int128)
10480 ((__int128)
__a - (__int128)
__b);
10486vec_subc(__vector
unsigned char __a, __vector
unsigned char __b) {
10487 return __builtin_s390_vscbib(
__a,
__b);
10491vec_subc(__vector
unsigned short __a, __vector
unsigned short __b) {
10492 return __builtin_s390_vscbih(
__a,
__b);
10497 return __builtin_s390_vscbif(
__a,
__b);
10501vec_subc(__vector
unsigned long long __a, __vector
unsigned long long __b) {
10502 return __builtin_s390_vscbig(
__a,
__b);
10506vec_subc(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b) {
10507 return (__vector
unsigned __int128)
10508 __builtin_s390_vscbiq((
unsigned __int128)
__a, (
unsigned __int128)
__b);
10514static inline __ATTRS_ai __vector
unsigned char
10515vec_subc_u128(__vector
unsigned char __a, __vector
unsigned char __b) {
10516 return (__vector
unsigned char)(__vector
unsigned __int128)
10517 __builtin_s390_vscbiq((
unsigned __int128)
__a, (
unsigned __int128)
__b);
10522static inline __ATTRS_ai __vector
unsigned __int128
10523vec_sube(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
10524 __vector
unsigned __int128
__c) {
10525 return (__vector
unsigned __int128)
10526 __builtin_s390_vsbiq((
unsigned __int128)
__a, (
unsigned __int128)
__b,
10527 (
unsigned __int128)
__c);
10533static inline __ATTRS_ai __vector
unsigned char
10534vec_sube_u128(__vector
unsigned char __a, __vector
unsigned char __b,
10535 __vector
unsigned char __c) {
10536 return (__vector
unsigned char)(__vector
unsigned __int128)
10537 __builtin_s390_vsbiq((
unsigned __int128)
__a, (
unsigned __int128)
__b,
10538 (
unsigned __int128)
__c);
10543static inline __ATTRS_ai __vector
unsigned __int128
10544vec_subec(__vector
unsigned __int128
__a, __vector
unsigned __int128
__b,
10545 __vector
unsigned __int128
__c) {
10546 return (__vector
unsigned __int128)
10547 __builtin_s390_vsbcbiq((
unsigned __int128)
__a, (
unsigned __int128)
__b,
10548 (
unsigned __int128)
__c);
10554static inline __ATTRS_ai __vector
unsigned char
10555vec_subec_u128(__vector
unsigned char __a, __vector
unsigned char __b,
10556 __vector
unsigned char __c) {
10557 return (__vector
unsigned char)(__vector
unsigned __int128)
10558 __builtin_s390_vsbcbiq((
unsigned __int128)
__a, (
unsigned __int128)
__b,
10559 (
unsigned __int128)
__c);
10565vec_sum2(__vector
unsigned short __a, __vector
unsigned short __b) {
10566 return __builtin_s390_vsumgh(
__a,
__b);
10570vec_sum2(__vector
unsigned int __a, __vector
unsigned int __b) {
10571 return __builtin_s390_vsumgf(
__a,
__b);
10577vec_sum(__vector
unsigned int __a, __vector
unsigned int __b) {
10578 return (__vector
unsigned __int128)__builtin_s390_vsumqf(
__a,
__b);
10582vec_sum(__vector
unsigned long long __a, __vector
unsigned long long __b) {
10583 return (__vector
unsigned __int128)__builtin_s390_vsumqg(
__a,
__b);
10590vec_sum_u128(__vector
unsigned int __a, __vector
unsigned int __b) {
10591 return (__vector
unsigned char)(__vector
unsigned __int128)
10592 __builtin_s390_vsumqf(
__a,
__b);
10597vec_sum_u128(__vector
unsigned long long __a, __vector
unsigned long long __b) {
10598 return (__vector
unsigned char)(__vector
unsigned __int128)
10599 __builtin_s390_vsumqg(
__a,
__b);
10605vec_sum4(__vector
unsigned char __a, __vector
unsigned char __b) {
10606 return __builtin_s390_vsumb(
__a,
__b);
10610vec_sum4(__vector
unsigned short __a, __vector
unsigned short __b) {
10611 return __builtin_s390_vsumh(
__a,
__b);
10617vec_test_mask(__vector
signed char __a, __vector
unsigned char __b) {
10618 return __builtin_s390_vtm((__vector
unsigned char)
__a,
10619 (__vector
unsigned char)
__b);
10623vec_test_mask(__vector
unsigned char __a, __vector
unsigned char __b) {
10624 return __builtin_s390_vtm(
__a,
__b);
10628vec_test_mask(__vector
signed short __a, __vector
unsigned short __b) {
10629 return __builtin_s390_vtm((__vector
unsigned char)
__a,
10630 (__vector
unsigned char)
__b);
10634vec_test_mask(__vector
unsigned short __a, __vector
unsigned short __b) {
10635 return __builtin_s390_vtm((__vector
unsigned char)
__a,
10636 (__vector
unsigned char)
__b);
10640vec_test_mask(__vector
signed int __a, __vector
unsigned int __b) {
10641 return __builtin_s390_vtm((__vector
unsigned char)
__a,
10642 (__vector
unsigned char)
__b);
10646vec_test_mask(__vector
unsigned int __a, __vector
unsigned int __b) {
10647 return __builtin_s390_vtm((__vector
unsigned char)
__a,
10648 (__vector
unsigned char)
__b);
10652vec_test_mask(__vector
signed long long __a, __vector
unsigned long long __b) {
10653 return __builtin_s390_vtm((__vector
unsigned char)
__a,
10654 (__vector
unsigned char)
__b);
10658vec_test_mask(__vector
unsigned long long __a,
10659 __vector
unsigned long long __b) {
10660 return __builtin_s390_vtm((__vector
unsigned char)
__a,
10661 (__vector
unsigned char)
__b);
10665vec_test_mask(__vector
signed __int128
__a, __vector
unsigned __int128
__b) {
10666 return __builtin_s390_vtm((__vector
unsigned char)
__a,
10667 (__vector
unsigned char)
__b);
10671vec_test_mask(__vector
unsigned __int128
__a,
10672 __vector
unsigned __int128
__b) {
10673 return __builtin_s390_vtm((__vector
unsigned char)
__a,
10674 (__vector
unsigned char)
__b);
10679vec_test_mask(__vector
float __a, __vector
unsigned int __b) {
10680 return __builtin_s390_vtm((__vector
unsigned char)
__a,
10681 (__vector
unsigned char)
__b);
10686vec_test_mask(__vector
double __a, __vector
unsigned long long __b) {
10687 return __builtin_s390_vtm((__vector
unsigned char)
__a,
10688 (__vector
unsigned char)
__b);
10696 return __builtin_s390_vfmasb(
__a,
__b,
__c);
10702 return __builtin_s390_vfmadb(
__a,
__b,
__c);
10709vec_msub(__vector
float __a, __vector
float __b, __vector
float __c) {
10710 return __builtin_s390_vfmssb(
__a,
__b,
__c);
10715vec_msub(__vector
double __a, __vector
double __b, __vector
double __c) {
10716 return __builtin_s390_vfmsdb(
__a,
__b,
__c);
10723vec_nmadd(__vector
float __a, __vector
float __b, __vector
float __c) {
10724 return __builtin_s390_vfnmasb(
__a,
__b,
__c);
10728vec_nmadd(__vector
double __a, __vector
double __b, __vector
double __c) {
10729 return __builtin_s390_vfnmadb(
__a,
__b,
__c);
10738 return __builtin_s390_vfnmssb(
__a,
__b,
__c);
10743 return __builtin_s390_vfnmsdb(
__a,
__b,
__c);
10751vec_sqrt(__vector
float __a) {
10752 return __builtin_s390_vfsqsb(
__a);
10757vec_sqrt(__vector
double __a) {
10758 return __builtin_s390_vfsqdb(
__a);
10764static inline __ATTRS_ai __vector
double
10765vec_ld2f(
const float *__ptr) {
10767 return __builtin_convertvector(*(
const __v2f32 *)__ptr, __vector
double);
10773static inline __ATTRS_ai
void
10774vec_st2f(__vector
double __a,
float *__ptr) {
10776 *(__v2f32 *)__ptr = __builtin_convertvector(
__a, __v2f32);
10783vec_ctd(__vector
signed long long __a,
int __b)
10784 __constant_range(
__b, 0, 31) {
10785 __vector
double __conv = __builtin_convertvector(
__a, __vector
double);
10786 __conv *= ((__vector
double)(__vector
unsigned long long)
10787 ((0x3ffULL -
__b) << 52));
10793vec_ctd(__vector
unsigned long long __a,
int __b)
10794 __constant_range(
__b, 0, 31) {
10795 __vector
double __conv = __builtin_convertvector(
__a, __vector
double);
10796 __conv *= ((__vector
double)(__vector
unsigned long long)
10797 ((0x3ffULL -
__b) << 52));
10805vec_ctsl(__vector
double __a,
int __b)
10806 __constant_range(
__b, 0, 31) {
10807 __a *= ((__vector
double)(__vector
unsigned long long)
10808 ((0x3ffULL +
__b) << 52));
10809 return __builtin_convertvector(
__a, __vector
signed long long);
10816vec_ctul(__vector
double __a,
int __b)
10817 __constant_range(
__b, 0, 31) {
10818 __a *= ((__vector
double)(__vector
unsigned long long)
10819 ((0x3ffULL +
__b) << 52));
10820 return __builtin_convertvector(
__a, __vector
unsigned long long);
10826static inline __ATTRS_ai __vector
double
10827vec_doublee(__vector
float __a) {
10829 __v2f32 __pack = __builtin_shufflevector(
__a,
__a, 0, 2);
10830 return __builtin_convertvector(__pack, __vector
double);
10837static inline __ATTRS_ai __vector
float
10838vec_floate(__vector
double __a) {
10840 __v2f32 __pack = __builtin_convertvector(
__a, __v2f32);
10841 return __builtin_shufflevector(__pack, __pack, 0, -1, 1, -1);
10848vec_double(__vector
signed long long __a) {
10849 return __builtin_convertvector(
__a, __vector
double);
10853vec_double(__vector
unsigned long long __a) {
10854 return __builtin_convertvector(
__a, __vector
double);
10863 return __builtin_convertvector(
__a, __vector
float);
10868 return __builtin_convertvector(
__a, __vector
float);
10877 return __builtin_convertvector(
__a, __vector
signed long long);
10883 return __builtin_convertvector(
__a, __vector
signed int);
10891 return __builtin_convertvector(
__a, __vector
unsigned long long);
10897 return __builtin_convertvector(
__a, __vector
unsigned int);
10906 return __builtin_s390_vfisb(
__a, 4, 6);
10912 return __builtin_s390_vfidb(
__a, 4, 6);
10921 return __builtin_s390_vfisb(
__a, 4, 6);
10928 return __builtin_s390_vfidb(
__a, 4, 6);
10936 return __builtin_s390_vfisb(
__a, 4, 7);
10942 return __builtin_s390_vfidb(
__a, 4, 7);
10951 return __builtin_s390_vfisb(
__a, 4, 7);
10958 return __builtin_s390_vfidb(
__a, 4, 7);
10966 return __builtin_s390_vfisb(
__a, 4, 5);
10972 return __builtin_s390_vfidb(
__a, 4, 5);
10981 return __builtin_s390_vfisb(
__a, 4, 5);
10988 return __builtin_s390_vfidb(
__a, 4, 5);
10995vec_roundc(__vector
float __a) {
10996 return __builtin_s390_vfisb(
__a, 4, 0);
11001vec_roundc(__vector
double __a) {
11002 return __builtin_s390_vfidb(
__a, 4, 0);
11009vec_rint(__vector
float __a) {
11011 return __builtin_s390_vfisb(
__a, 0, 0);
11016vec_rint(__vector
double __a) {
11018 return __builtin_s390_vfidb(
__a, 0, 0);
11026 return __builtin_s390_vfisb(
__a, 4, 4);
11032 return __builtin_s390_vfidb(
__a, 4, 4);
11038extern __ATTRS_o __vector __bool
int
11039vec_fp_test_data_class(__vector
float __a,
int __b,
int *
__c)
11040 __constant_range(
__b, 0, 4095);
11042extern __ATTRS_o __vector __bool
long long
11043vec_fp_test_data_class(__vector
double __a,
int __b,
int *
__c)
11044 __constant_range(
__b, 0, 4095);
11046#define vec_fp_test_data_class(X, Y, Z) \
11047 ((__typeof__((vec_fp_test_data_class)((X), (Y), (Z)))) \
11049 __vector unsigned char __res; \
11050 __vector unsigned char __x = (__vector unsigned char)(X); \
11052 switch (sizeof ((X)[0])) { \
11053 case 4: __res = (__vector unsigned char) \
11054 __builtin_s390_vftcisb((__vector float)__x, (Y), __z); \
11056 default: __res = (__vector unsigned char) \
11057 __builtin_s390_vftcidb((__vector double)__x, (Y), __z); \
11061#define vec_fp_test_data_class(X, Y, Z) \
11062 ((__vector __bool long long)__builtin_s390_vftcidb((X), (Y), (Z)))
11065#define __VEC_CLASS_FP_ZERO_P (1 << 11)
11066#define __VEC_CLASS_FP_ZERO_N (1 << 10)
11067#define __VEC_CLASS_FP_ZERO (__VEC_CLASS_FP_ZERO_P | __VEC_CLASS_FP_ZERO_N)
11068#define __VEC_CLASS_FP_NORMAL_P (1 << 9)
11069#define __VEC_CLASS_FP_NORMAL_N (1 << 8)
11070#define __VEC_CLASS_FP_NORMAL (__VEC_CLASS_FP_NORMAL_P | \
11071 __VEC_CLASS_FP_NORMAL_N)
11072#define __VEC_CLASS_FP_SUBNORMAL_P (1 << 7)
11073#define __VEC_CLASS_FP_SUBNORMAL_N (1 << 6)
11074#define __VEC_CLASS_FP_SUBNORMAL (__VEC_CLASS_FP_SUBNORMAL_P | \
11075 __VEC_CLASS_FP_SUBNORMAL_N)
11076#define __VEC_CLASS_FP_INFINITY_P (1 << 5)
11077#define __VEC_CLASS_FP_INFINITY_N (1 << 4)
11078#define __VEC_CLASS_FP_INFINITY (__VEC_CLASS_FP_INFINITY_P | \
11079 __VEC_CLASS_FP_INFINITY_N)
11080#define __VEC_CLASS_FP_QNAN_P (1 << 3)
11081#define __VEC_CLASS_FP_QNAN_N (1 << 2)
11082#define __VEC_CLASS_FP_QNAN (__VEC_CLASS_FP_QNAN_P | __VEC_CLASS_FP_QNAN_N)
11083#define __VEC_CLASS_FP_SNAN_P (1 << 1)
11084#define __VEC_CLASS_FP_SNAN_N (1 << 0)
11085#define __VEC_CLASS_FP_SNAN (__VEC_CLASS_FP_SNAN_P | __VEC_CLASS_FP_SNAN_N)
11086#define __VEC_CLASS_FP_NAN (__VEC_CLASS_FP_QNAN | __VEC_CLASS_FP_SNAN)
11087#define __VEC_CLASS_FP_NOT_NORMAL (__VEC_CLASS_FP_NAN | \
11088 __VEC_CLASS_FP_SUBNORMAL | \
11089 __VEC_CLASS_FP_ZERO | \
11090 __VEC_CLASS_FP_INFINITY)
11095#define vec_extend_to_fp32_hi(X, W) \
11096 ((__vector float)__builtin_s390_vclfnhs((X), (W)));
11102#define vec_extend_to_fp32_lo(X, W) \
11103 ((__vector float)__builtin_s390_vclfnls((X), (W)));
11109#define vec_round_from_fp32(X, Y, W) \
11110 ((__vector unsigned short)__builtin_s390_vcrnfs((X), (Y), (W)));
11116#define vec_convert_to_fp16(X, W) \
11117 ((__vector unsigned short)__builtin_s390_vcfn((X), (W)));
11123#define vec_convert_from_fp16(X, W) \
11124 ((__vector unsigned short)__builtin_s390_vcnf((X), (W)));
11130vec_cp_until_zero(__vector
signed char __a) {
11131 return ((__vector
signed char)
11132 __builtin_s390_vistrb((__vector
unsigned char)
__a));
11136vec_cp_until_zero(__vector __bool
char __a) {
11137 return ((__vector __bool
char)
11138 __builtin_s390_vistrb((__vector
unsigned char)
__a));
11142vec_cp_until_zero(__vector
unsigned char __a) {
11143 return __builtin_s390_vistrb(
__a);
11147vec_cp_until_zero(__vector
signed short __a) {
11148 return ((__vector
signed short)
11149 __builtin_s390_vistrh((__vector
unsigned short)
__a));
11153vec_cp_until_zero(__vector __bool
short __a) {
11154 return ((__vector __bool
short)
11155 __builtin_s390_vistrh((__vector
unsigned short)
__a));
11159vec_cp_until_zero(__vector
unsigned short __a) {
11160 return __builtin_s390_vistrh(
__a);
11164vec_cp_until_zero(__vector
signed int __a) {
11165 return ((__vector
signed int)
11166 __builtin_s390_vistrf((__vector
unsigned int)
__a));
11170vec_cp_until_zero(__vector __bool
int __a) {
11171 return ((__vector __bool
int)
11172 __builtin_s390_vistrf((__vector
unsigned int)
__a));
11176vec_cp_until_zero(__vector
unsigned int __a) {
11177 return __builtin_s390_vistrf(
__a);
11183vec_cp_until_zero_cc(__vector
signed char __a,
int *__cc) {
11184 return (__vector
signed char)
11185 __builtin_s390_vistrbs((__vector
unsigned char)
__a, __cc);
11189vec_cp_until_zero_cc(__vector __bool
char __a,
int *__cc) {
11190 return (__vector __bool
char)
11191 __builtin_s390_vistrbs((__vector
unsigned char)
__a, __cc);
11195vec_cp_until_zero_cc(__vector
unsigned char __a,
int *__cc) {
11196 return __builtin_s390_vistrbs(
__a, __cc);
11200vec_cp_until_zero_cc(__vector
signed short __a,
int *__cc) {
11201 return (__vector
signed short)
11202 __builtin_s390_vistrhs((__vector
unsigned short)
__a, __cc);
11206vec_cp_until_zero_cc(__vector __bool
short __a,
int *__cc) {
11207 return (__vector __bool
short)
11208 __builtin_s390_vistrhs((__vector
unsigned short)
__a, __cc);
11212vec_cp_until_zero_cc(__vector
unsigned short __a,
int *__cc) {
11213 return __builtin_s390_vistrhs(
__a, __cc);
11217vec_cp_until_zero_cc(__vector
signed int __a,
int *__cc) {
11218 return (__vector
signed int)
11219 __builtin_s390_vistrfs((__vector
unsigned int)
__a, __cc);
11223vec_cp_until_zero_cc(__vector __bool
int __a,
int *__cc) {
11224 return (__vector __bool
int)
11225 __builtin_s390_vistrfs((__vector
unsigned int)
__a, __cc);
11229vec_cp_until_zero_cc(__vector
unsigned int __a,
int *__cc) {
11230 return __builtin_s390_vistrfs(
__a, __cc);
11236vec_cmpeq_idx(__vector
signed char __a, __vector
signed char __b) {
11237 return (__vector
signed char)
11238 __builtin_s390_vfeeb((__vector
unsigned char)
__a,
11239 (__vector
unsigned char)
__b);
11243vec_cmpeq_idx(__vector __bool
char __a, __vector __bool
char __b) {
11244 return __builtin_s390_vfeeb((__vector
unsigned char)
__a,
11245 (__vector
unsigned char)
__b);
11249vec_cmpeq_idx(__vector
unsigned char __a, __vector
unsigned char __b) {
11250 return __builtin_s390_vfeeb(
__a,
__b);
11254vec_cmpeq_idx(__vector
signed short __a, __vector
signed short __b) {
11255 return (__vector
signed short)
11256 __builtin_s390_vfeeh((__vector
unsigned short)
__a,
11257 (__vector
unsigned short)
__b);
11261vec_cmpeq_idx(__vector __bool
short __a, __vector __bool
short __b) {
11262 return __builtin_s390_vfeeh((__vector
unsigned short)
__a,
11263 (__vector
unsigned short)
__b);
11267vec_cmpeq_idx(__vector
unsigned short __a, __vector
unsigned short __b) {
11268 return __builtin_s390_vfeeh(
__a,
__b);
11272vec_cmpeq_idx(__vector
signed int __a, __vector
signed int __b) {
11273 return (__vector
signed int)
11274 __builtin_s390_vfeef((__vector
unsigned int)
__a,
11275 (__vector
unsigned int)
__b);
11279vec_cmpeq_idx(__vector __bool
int __a, __vector __bool
int __b) {
11280 return __builtin_s390_vfeef((__vector
unsigned int)
__a,
11281 (__vector
unsigned int)
__b);
11285vec_cmpeq_idx(__vector
unsigned int __a, __vector
unsigned int __b) {
11286 return __builtin_s390_vfeef(
__a,
__b);
11292vec_cmpeq_idx_cc(__vector
signed char __a, __vector
signed char __b,
int *__cc) {
11293 return (__vector
signed char)
11294 __builtin_s390_vfeebs((__vector
unsigned char)
__a,
11295 (__vector
unsigned char)
__b, __cc);
11299vec_cmpeq_idx_cc(__vector __bool
char __a, __vector __bool
char __b,
int *__cc) {
11300 return __builtin_s390_vfeebs((__vector
unsigned char)
__a,
11301 (__vector
unsigned char)
__b, __cc);
11305vec_cmpeq_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
11307 return __builtin_s390_vfeebs(
__a,
__b, __cc);
11311vec_cmpeq_idx_cc(__vector
signed short __a, __vector
signed short __b,
11313 return (__vector
signed short)
11314 __builtin_s390_vfeehs((__vector
unsigned short)
__a,
11315 (__vector
unsigned short)
__b, __cc);
11319vec_cmpeq_idx_cc(__vector __bool
short __a, __vector __bool
short __b,
int *__cc) {
11320 return __builtin_s390_vfeehs((__vector
unsigned short)
__a,
11321 (__vector
unsigned short)
__b, __cc);
11325vec_cmpeq_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
11327 return __builtin_s390_vfeehs(
__a,
__b, __cc);
11331vec_cmpeq_idx_cc(__vector
signed int __a, __vector
signed int __b,
int *__cc) {
11332 return (__vector
signed int)
11333 __builtin_s390_vfeefs((__vector
unsigned int)
__a,
11334 (__vector
unsigned int)
__b, __cc);
11338vec_cmpeq_idx_cc(__vector __bool
int __a, __vector __bool
int __b,
int *__cc) {
11339 return __builtin_s390_vfeefs((__vector
unsigned int)
__a,
11340 (__vector
unsigned int)
__b, __cc);
11344vec_cmpeq_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
11346 return __builtin_s390_vfeefs(
__a,
__b, __cc);
11352vec_cmpeq_or_0_idx(__vector
signed char __a, __vector
signed char __b) {
11353 return (__vector
signed char)
11354 __builtin_s390_vfeezb((__vector
unsigned char)
__a,
11355 (__vector
unsigned char)
__b);
11359vec_cmpeq_or_0_idx(__vector __bool
char __a, __vector __bool
char __b) {
11360 return __builtin_s390_vfeezb((__vector
unsigned char)
__a,
11361 (__vector
unsigned char)
__b);
11365vec_cmpeq_or_0_idx(__vector
unsigned char __a, __vector
unsigned char __b) {
11366 return __builtin_s390_vfeezb(
__a,
__b);
11370vec_cmpeq_or_0_idx(__vector
signed short __a, __vector
signed short __b) {
11371 return (__vector
signed short)
11372 __builtin_s390_vfeezh((__vector
unsigned short)
__a,
11373 (__vector
unsigned short)
__b);
11377vec_cmpeq_or_0_idx(__vector __bool
short __a, __vector __bool
short __b) {
11378 return __builtin_s390_vfeezh((__vector
unsigned short)
__a,
11379 (__vector
unsigned short)
__b);
11383vec_cmpeq_or_0_idx(__vector
unsigned short __a, __vector
unsigned short __b) {
11384 return __builtin_s390_vfeezh(
__a,
__b);
11388vec_cmpeq_or_0_idx(__vector
signed int __a, __vector
signed int __b) {
11389 return (__vector
signed int)
11390 __builtin_s390_vfeezf((__vector
unsigned int)
__a,
11391 (__vector
unsigned int)
__b);
11395vec_cmpeq_or_0_idx(__vector __bool
int __a, __vector __bool
int __b) {
11396 return __builtin_s390_vfeezf((__vector
unsigned int)
__a,
11397 (__vector
unsigned int)
__b);
11401vec_cmpeq_or_0_idx(__vector
unsigned int __a, __vector
unsigned int __b) {
11402 return __builtin_s390_vfeezf(
__a,
__b);
11408vec_cmpeq_or_0_idx_cc(__vector
signed char __a, __vector
signed char __b,
11410 return (__vector
signed char)
11411 __builtin_s390_vfeezbs((__vector
unsigned char)
__a,
11412 (__vector
unsigned char)
__b, __cc);
11416vec_cmpeq_or_0_idx_cc(__vector __bool
char __a, __vector __bool
char __b,
11418 return __builtin_s390_vfeezbs((__vector
unsigned char)
__a,
11419 (__vector
unsigned char)
__b, __cc);
11423vec_cmpeq_or_0_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
11425 return __builtin_s390_vfeezbs(
__a,
__b, __cc);
11429vec_cmpeq_or_0_idx_cc(__vector
signed short __a, __vector
signed short __b,
11431 return (__vector
signed short)
11432 __builtin_s390_vfeezhs((__vector
unsigned short)
__a,
11433 (__vector
unsigned short)
__b, __cc);
11437vec_cmpeq_or_0_idx_cc(__vector __bool
short __a, __vector __bool
short __b,
11439 return __builtin_s390_vfeezhs((__vector
unsigned short)
__a,
11440 (__vector
unsigned short)
__b, __cc);
11444vec_cmpeq_or_0_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
11446 return __builtin_s390_vfeezhs(
__a,
__b, __cc);
11450vec_cmpeq_or_0_idx_cc(__vector
signed int __a, __vector
signed int __b,
11452 return (__vector
signed int)
11453 __builtin_s390_vfeezfs((__vector
unsigned int)
__a,
11454 (__vector
unsigned int)
__b, __cc);
11458vec_cmpeq_or_0_idx_cc(__vector __bool
int __a, __vector __bool
int __b,
11460 return __builtin_s390_vfeezfs((__vector
unsigned int)
__a,
11461 (__vector
unsigned int)
__b, __cc);
11465vec_cmpeq_or_0_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
11467 return __builtin_s390_vfeezfs(
__a,
__b, __cc);
11473vec_cmpne_idx(__vector
signed char __a, __vector
signed char __b) {
11474 return (__vector
signed char)
11475 __builtin_s390_vfeneb((__vector
unsigned char)
__a,
11476 (__vector
unsigned char)
__b);
11480vec_cmpne_idx(__vector __bool
char __a, __vector __bool
char __b) {
11481 return __builtin_s390_vfeneb((__vector
unsigned char)
__a,
11482 (__vector
unsigned char)
__b);
11486vec_cmpne_idx(__vector
unsigned char __a, __vector
unsigned char __b) {
11487 return __builtin_s390_vfeneb(
__a,
__b);
11491vec_cmpne_idx(__vector
signed short __a, __vector
signed short __b) {
11492 return (__vector
signed short)
11493 __builtin_s390_vfeneh((__vector
unsigned short)
__a,
11494 (__vector
unsigned short)
__b);
11498vec_cmpne_idx(__vector __bool
short __a, __vector __bool
short __b) {
11499 return __builtin_s390_vfeneh((__vector
unsigned short)
__a,
11500 (__vector
unsigned short)
__b);
11504vec_cmpne_idx(__vector
unsigned short __a, __vector
unsigned short __b) {
11505 return __builtin_s390_vfeneh(
__a,
__b);
11509vec_cmpne_idx(__vector
signed int __a, __vector
signed int __b) {
11510 return (__vector
signed int)
11511 __builtin_s390_vfenef((__vector
unsigned int)
__a,
11512 (__vector
unsigned int)
__b);
11516vec_cmpne_idx(__vector __bool
int __a, __vector __bool
int __b) {
11517 return __builtin_s390_vfenef((__vector
unsigned int)
__a,
11518 (__vector
unsigned int)
__b);
11522vec_cmpne_idx(__vector
unsigned int __a, __vector
unsigned int __b) {
11523 return __builtin_s390_vfenef(
__a,
__b);
11529vec_cmpne_idx_cc(__vector
signed char __a, __vector
signed char __b,
int *__cc) {
11530 return (__vector
signed char)
11531 __builtin_s390_vfenebs((__vector
unsigned char)
__a,
11532 (__vector
unsigned char)
__b, __cc);
11536vec_cmpne_idx_cc(__vector __bool
char __a, __vector __bool
char __b,
int *__cc) {
11537 return __builtin_s390_vfenebs((__vector
unsigned char)
__a,
11538 (__vector
unsigned char)
__b, __cc);
11542vec_cmpne_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
11544 return __builtin_s390_vfenebs(
__a,
__b, __cc);
11548vec_cmpne_idx_cc(__vector
signed short __a, __vector
signed short __b,
11550 return (__vector
signed short)
11551 __builtin_s390_vfenehs((__vector
unsigned short)
__a,
11552 (__vector
unsigned short)
__b, __cc);
11556vec_cmpne_idx_cc(__vector __bool
short __a, __vector __bool
short __b,
11558 return __builtin_s390_vfenehs((__vector
unsigned short)
__a,
11559 (__vector
unsigned short)
__b, __cc);
11563vec_cmpne_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
11565 return __builtin_s390_vfenehs(
__a,
__b, __cc);
11569vec_cmpne_idx_cc(__vector
signed int __a, __vector
signed int __b,
int *__cc) {
11570 return (__vector
signed int)
11571 __builtin_s390_vfenefs((__vector
unsigned int)
__a,
11572 (__vector
unsigned int)
__b, __cc);
11576vec_cmpne_idx_cc(__vector __bool
int __a, __vector __bool
int __b,
int *__cc) {
11577 return __builtin_s390_vfenefs((__vector
unsigned int)
__a,
11578 (__vector
unsigned int)
__b, __cc);
11582vec_cmpne_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
11584 return __builtin_s390_vfenefs(
__a,
__b, __cc);
11590vec_cmpne_or_0_idx(__vector
signed char __a, __vector
signed char __b) {
11591 return (__vector
signed char)
11592 __builtin_s390_vfenezb((__vector
unsigned char)
__a,
11593 (__vector
unsigned char)
__b);
11597vec_cmpne_or_0_idx(__vector __bool
char __a, __vector __bool
char __b) {
11598 return __builtin_s390_vfenezb((__vector
unsigned char)
__a,
11599 (__vector
unsigned char)
__b);
11603vec_cmpne_or_0_idx(__vector
unsigned char __a, __vector
unsigned char __b) {
11604 return __builtin_s390_vfenezb(
__a,
__b);
11608vec_cmpne_or_0_idx(__vector
signed short __a, __vector
signed short __b) {
11609 return (__vector
signed short)
11610 __builtin_s390_vfenezh((__vector
unsigned short)
__a,
11611 (__vector
unsigned short)
__b);
11615vec_cmpne_or_0_idx(__vector __bool
short __a, __vector __bool
short __b) {
11616 return __builtin_s390_vfenezh((__vector
unsigned short)
__a,
11617 (__vector
unsigned short)
__b);
11621vec_cmpne_or_0_idx(__vector
unsigned short __a, __vector
unsigned short __b) {
11622 return __builtin_s390_vfenezh(
__a,
__b);
11626vec_cmpne_or_0_idx(__vector
signed int __a, __vector
signed int __b) {
11627 return (__vector
signed int)
11628 __builtin_s390_vfenezf((__vector
unsigned int)
__a,
11629 (__vector
unsigned int)
__b);
11633vec_cmpne_or_0_idx(__vector __bool
int __a, __vector __bool
int __b) {
11634 return __builtin_s390_vfenezf((__vector
unsigned int)
__a,
11635 (__vector
unsigned int)
__b);
11639vec_cmpne_or_0_idx(__vector
unsigned int __a, __vector
unsigned int __b) {
11640 return __builtin_s390_vfenezf(
__a,
__b);
11646vec_cmpne_or_0_idx_cc(__vector
signed char __a, __vector
signed char __b,
11648 return (__vector
signed char)
11649 __builtin_s390_vfenezbs((__vector
unsigned char)
__a,
11650 (__vector
unsigned char)
__b, __cc);
11654vec_cmpne_or_0_idx_cc(__vector __bool
char __a, __vector __bool
char __b,
11656 return __builtin_s390_vfenezbs((__vector
unsigned char)
__a,
11657 (__vector
unsigned char)
__b, __cc);
11661vec_cmpne_or_0_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
11663 return __builtin_s390_vfenezbs(
__a,
__b, __cc);
11667vec_cmpne_or_0_idx_cc(__vector
signed short __a, __vector
signed short __b,
11669 return (__vector
signed short)
11670 __builtin_s390_vfenezhs((__vector
unsigned short)
__a,
11671 (__vector
unsigned short)
__b, __cc);
11675vec_cmpne_or_0_idx_cc(__vector __bool
short __a, __vector __bool
short __b,
11677 return __builtin_s390_vfenezhs((__vector
unsigned short)
__a,
11678 (__vector
unsigned short)
__b, __cc);
11682vec_cmpne_or_0_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
11684 return __builtin_s390_vfenezhs(
__a,
__b, __cc);
11688vec_cmpne_or_0_idx_cc(__vector
signed int __a, __vector
signed int __b,
11690 return (__vector
signed int)
11691 __builtin_s390_vfenezfs((__vector
unsigned int)
__a,
11692 (__vector
unsigned int)
__b, __cc);
11696vec_cmpne_or_0_idx_cc(__vector __bool
int __a, __vector __bool
int __b,
11698 return __builtin_s390_vfenezfs((__vector
unsigned int)
__a,
11699 (__vector
unsigned int)
__b, __cc);
11703vec_cmpne_or_0_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
11705 return __builtin_s390_vfenezfs(
__a,
__b, __cc);
11711vec_cmprg(__vector
unsigned char __a, __vector
unsigned char __b,
11712 __vector
unsigned char __c) {
11713 return (__vector __bool
char)__builtin_s390_vstrcb(
__a,
__b,
__c, 4);
11717vec_cmprg(__vector
unsigned short __a, __vector
unsigned short __b,
11718 __vector
unsigned short __c) {
11719 return (__vector __bool
short)__builtin_s390_vstrch(
__a,
__b,
__c, 4);
11723vec_cmprg(__vector
unsigned int __a, __vector
unsigned int __b,
11724 __vector
unsigned int __c) {
11725 return (__vector __bool
int)__builtin_s390_vstrcf(
__a,
__b,
__c, 4);
11731vec_cmprg_cc(__vector
unsigned char __a, __vector
unsigned char __b,
11732 __vector
unsigned char __c,
int *__cc) {
11733 return (__vector __bool
char)__builtin_s390_vstrcbs(
__a,
__b,
__c, 4, __cc);
11737vec_cmprg_cc(__vector
unsigned short __a, __vector
unsigned short __b,
11738 __vector
unsigned short __c,
int *__cc) {
11739 return (__vector __bool
short)__builtin_s390_vstrchs(
__a,
__b,
__c, 4, __cc);
11743vec_cmprg_cc(__vector
unsigned int __a, __vector
unsigned int __b,
11744 __vector
unsigned int __c,
int *__cc) {
11745 return (__vector __bool
int)__builtin_s390_vstrcfs(
__a,
__b,
__c, 4, __cc);
11751vec_cmprg_idx(__vector
unsigned char __a, __vector
unsigned char __b,
11752 __vector
unsigned char __c) {
11753 return __builtin_s390_vstrcb(
__a,
__b,
__c, 0);
11757vec_cmprg_idx(__vector
unsigned short __a, __vector
unsigned short __b,
11758 __vector
unsigned short __c) {
11759 return __builtin_s390_vstrch(
__a,
__b,
__c, 0);
11763vec_cmprg_idx(__vector
unsigned int __a, __vector
unsigned int __b,
11764 __vector
unsigned int __c) {
11765 return __builtin_s390_vstrcf(
__a,
__b,
__c, 0);
11771vec_cmprg_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
11772 __vector
unsigned char __c,
int *__cc) {
11773 return __builtin_s390_vstrcbs(
__a,
__b,
__c, 0, __cc);
11777vec_cmprg_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
11778 __vector
unsigned short __c,
int *__cc) {
11779 return __builtin_s390_vstrchs(
__a,
__b,
__c, 0, __cc);
11783vec_cmprg_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
11784 __vector
unsigned int __c,
int *__cc) {
11785 return __builtin_s390_vstrcfs(
__a,
__b,
__c, 0, __cc);
11791vec_cmprg_or_0_idx(__vector
unsigned char __a, __vector
unsigned char __b,
11792 __vector
unsigned char __c) {
11793 return __builtin_s390_vstrczb(
__a,
__b,
__c, 0);
11797vec_cmprg_or_0_idx(__vector
unsigned short __a, __vector
unsigned short __b,
11798 __vector
unsigned short __c) {
11799 return __builtin_s390_vstrczh(
__a,
__b,
__c, 0);
11803vec_cmprg_or_0_idx(__vector
unsigned int __a, __vector
unsigned int __b,
11804 __vector
unsigned int __c) {
11805 return __builtin_s390_vstrczf(
__a,
__b,
__c, 0);
11811vec_cmprg_or_0_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
11812 __vector
unsigned char __c,
int *__cc) {
11813 return __builtin_s390_vstrczbs(
__a,
__b,
__c, 0, __cc);
11817vec_cmprg_or_0_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
11818 __vector
unsigned short __c,
int *__cc) {
11819 return __builtin_s390_vstrczhs(
__a,
__b,
__c, 0, __cc);
11823vec_cmprg_or_0_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
11824 __vector
unsigned int __c,
int *__cc) {
11825 return __builtin_s390_vstrczfs(
__a,
__b,
__c, 0, __cc);
11831vec_cmpnrg(__vector
unsigned char __a, __vector
unsigned char __b,
11832 __vector
unsigned char __c) {
11833 return (__vector __bool
char)__builtin_s390_vstrcb(
__a,
__b,
__c, 12);
11837vec_cmpnrg(__vector
unsigned short __a, __vector
unsigned short __b,
11838 __vector
unsigned short __c) {
11839 return (__vector __bool
short)__builtin_s390_vstrch(
__a,
__b,
__c, 12);
11843vec_cmpnrg(__vector
unsigned int __a, __vector
unsigned int __b,
11844 __vector
unsigned int __c) {
11845 return (__vector __bool
int)__builtin_s390_vstrcf(
__a,
__b,
__c, 12);
11851vec_cmpnrg_cc(__vector
unsigned char __a, __vector
unsigned char __b,
11852 __vector
unsigned char __c,
int *__cc) {
11853 return (__vector __bool
char)
11854 __builtin_s390_vstrcbs(
__a,
__b,
__c, 12, __cc);
11858vec_cmpnrg_cc(__vector
unsigned short __a, __vector
unsigned short __b,
11859 __vector
unsigned short __c,
int *__cc) {
11860 return (__vector __bool
short)
11861 __builtin_s390_vstrchs(
__a,
__b,
__c, 12, __cc);
11865vec_cmpnrg_cc(__vector
unsigned int __a, __vector
unsigned int __b,
11866 __vector
unsigned int __c,
int *__cc) {
11867 return (__vector __bool
int)
11868 __builtin_s390_vstrcfs(
__a,
__b,
__c, 12, __cc);
11874vec_cmpnrg_idx(__vector
unsigned char __a, __vector
unsigned char __b,
11875 __vector
unsigned char __c) {
11876 return __builtin_s390_vstrcb(
__a,
__b,
__c, 8);
11880vec_cmpnrg_idx(__vector
unsigned short __a, __vector
unsigned short __b,
11881 __vector
unsigned short __c) {
11882 return __builtin_s390_vstrch(
__a,
__b,
__c, 8);
11886vec_cmpnrg_idx(__vector
unsigned int __a, __vector
unsigned int __b,
11887 __vector
unsigned int __c) {
11888 return __builtin_s390_vstrcf(
__a,
__b,
__c, 8);
11894vec_cmpnrg_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
11895 __vector
unsigned char __c,
int *__cc) {
11896 return __builtin_s390_vstrcbs(
__a,
__b,
__c, 8, __cc);
11900vec_cmpnrg_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
11901 __vector
unsigned short __c,
int *__cc) {
11902 return __builtin_s390_vstrchs(
__a,
__b,
__c, 8, __cc);
11906vec_cmpnrg_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
11907 __vector
unsigned int __c,
int *__cc) {
11908 return __builtin_s390_vstrcfs(
__a,
__b,
__c, 8, __cc);
11914vec_cmpnrg_or_0_idx(__vector
unsigned char __a, __vector
unsigned char __b,
11915 __vector
unsigned char __c) {
11916 return __builtin_s390_vstrczb(
__a,
__b,
__c, 8);
11920vec_cmpnrg_or_0_idx(__vector
unsigned short __a, __vector
unsigned short __b,
11921 __vector
unsigned short __c) {
11922 return __builtin_s390_vstrczh(
__a,
__b,
__c, 8);
11926vec_cmpnrg_or_0_idx(__vector
unsigned int __a, __vector
unsigned int __b,
11927 __vector
unsigned int __c) {
11928 return __builtin_s390_vstrczf(
__a,
__b,
__c, 8);
11934vec_cmpnrg_or_0_idx_cc(__vector
unsigned char __a,
11935 __vector
unsigned char __b,
11936 __vector
unsigned char __c,
int *__cc) {
11937 return __builtin_s390_vstrczbs(
__a,
__b,
__c, 8, __cc);
11941vec_cmpnrg_or_0_idx_cc(__vector
unsigned short __a,
11942 __vector
unsigned short __b,
11943 __vector
unsigned short __c,
int *__cc) {
11944 return __builtin_s390_vstrczhs(
__a,
__b,
__c, 8, __cc);
11948vec_cmpnrg_or_0_idx_cc(__vector
unsigned int __a,
11949 __vector
unsigned int __b,
11950 __vector
unsigned int __c,
int *__cc) {
11951 return __builtin_s390_vstrczfs(
__a,
__b,
__c, 8, __cc);
11957vec_find_any_eq(__vector
signed char __a, __vector
signed char __b) {
11958 return (__vector __bool
char)
11959 __builtin_s390_vfaeb((__vector
unsigned char)
__a,
11960 (__vector
unsigned char)
__b, 4);
11964vec_find_any_eq(__vector __bool
char __a, __vector __bool
char __b) {
11965 return (__vector __bool
char)
11966 __builtin_s390_vfaeb((__vector
unsigned char)
__a,
11967 (__vector
unsigned char)
__b, 4);
11971vec_find_any_eq(__vector
unsigned char __a, __vector
unsigned char __b) {
11972 return (__vector __bool
char)__builtin_s390_vfaeb(
__a,
__b, 4);
11976vec_find_any_eq(__vector
signed short __a, __vector
signed short __b) {
11977 return (__vector __bool
short)
11978 __builtin_s390_vfaeh((__vector
unsigned short)
__a,
11979 (__vector
unsigned short)
__b, 4);
11983vec_find_any_eq(__vector __bool
short __a, __vector __bool
short __b) {
11984 return (__vector __bool
short)
11985 __builtin_s390_vfaeh((__vector
unsigned short)
__a,
11986 (__vector
unsigned short)
__b, 4);
11990vec_find_any_eq(__vector
unsigned short __a, __vector
unsigned short __b) {
11991 return (__vector __bool
short)__builtin_s390_vfaeh(
__a,
__b, 4);
11995vec_find_any_eq(__vector
signed int __a, __vector
signed int __b) {
11996 return (__vector __bool
int)
11997 __builtin_s390_vfaef((__vector
unsigned int)
__a,
11998 (__vector
unsigned int)
__b, 4);
12002vec_find_any_eq(__vector __bool
int __a, __vector __bool
int __b) {
12003 return (__vector __bool
int)
12004 __builtin_s390_vfaef((__vector
unsigned int)
__a,
12005 (__vector
unsigned int)
__b, 4);
12009vec_find_any_eq(__vector
unsigned int __a, __vector
unsigned int __b) {
12010 return (__vector __bool
int)__builtin_s390_vfaef(
__a,
__b, 4);
12016vec_find_any_eq_cc(__vector
signed char __a, __vector
signed char __b,
12018 return (__vector __bool
char)
12019 __builtin_s390_vfaebs((__vector
unsigned char)
__a,
12020 (__vector
unsigned char)
__b, 4, __cc);
12024vec_find_any_eq_cc(__vector __bool
char __a, __vector __bool
char __b,
12026 return (__vector __bool
char)
12027 __builtin_s390_vfaebs((__vector
unsigned char)
__a,
12028 (__vector
unsigned char)
__b, 4, __cc);
12032vec_find_any_eq_cc(__vector
unsigned char __a, __vector
unsigned char __b,
12034 return (__vector __bool
char)__builtin_s390_vfaebs(
__a,
__b, 4, __cc);
12038vec_find_any_eq_cc(__vector
signed short __a, __vector
signed short __b,
12040 return (__vector __bool
short)
12041 __builtin_s390_vfaehs((__vector
unsigned short)
__a,
12042 (__vector
unsigned short)
__b, 4, __cc);
12046vec_find_any_eq_cc(__vector __bool
short __a, __vector __bool
short __b,
12048 return (__vector __bool
short)
12049 __builtin_s390_vfaehs((__vector
unsigned short)
__a,
12050 (__vector
unsigned short)
__b, 4, __cc);
12054vec_find_any_eq_cc(__vector
unsigned short __a, __vector
unsigned short __b,
12056 return (__vector __bool
short)__builtin_s390_vfaehs(
__a,
__b, 4, __cc);
12060vec_find_any_eq_cc(__vector
signed int __a, __vector
signed int __b,
12062 return (__vector __bool
int)
12063 __builtin_s390_vfaefs((__vector
unsigned int)
__a,
12064 (__vector
unsigned int)
__b, 4, __cc);
12068vec_find_any_eq_cc(__vector __bool
int __a, __vector __bool
int __b,
12070 return (__vector __bool
int)
12071 __builtin_s390_vfaefs((__vector
unsigned int)
__a,
12072 (__vector
unsigned int)
__b, 4, __cc);
12076vec_find_any_eq_cc(__vector
unsigned int __a, __vector
unsigned int __b,
12078 return (__vector __bool
int)__builtin_s390_vfaefs(
__a,
__b, 4, __cc);
12084vec_find_any_eq_idx(__vector
signed char __a, __vector
signed char __b) {
12085 return (__vector
signed char)
12086 __builtin_s390_vfaeb((__vector
unsigned char)
__a,
12087 (__vector
unsigned char)
__b, 0);
12091vec_find_any_eq_idx(__vector __bool
char __a, __vector __bool
char __b) {
12092 return __builtin_s390_vfaeb((__vector
unsigned char)
__a,
12093 (__vector
unsigned char)
__b, 0);
12097vec_find_any_eq_idx(__vector
unsigned char __a, __vector
unsigned char __b) {
12098 return __builtin_s390_vfaeb(
__a,
__b, 0);
12102vec_find_any_eq_idx(__vector
signed short __a, __vector
signed short __b) {
12103 return (__vector
signed short)
12104 __builtin_s390_vfaeh((__vector
unsigned short)
__a,
12105 (__vector
unsigned short)
__b, 0);
12109vec_find_any_eq_idx(__vector __bool
short __a, __vector __bool
short __b) {
12110 return __builtin_s390_vfaeh((__vector
unsigned short)
__a,
12111 (__vector
unsigned short)
__b, 0);
12115vec_find_any_eq_idx(__vector
unsigned short __a, __vector
unsigned short __b) {
12116 return __builtin_s390_vfaeh(
__a,
__b, 0);
12120vec_find_any_eq_idx(__vector
signed int __a, __vector
signed int __b) {
12121 return (__vector
signed int)
12122 __builtin_s390_vfaef((__vector
unsigned int)
__a,
12123 (__vector
unsigned int)
__b, 0);
12127vec_find_any_eq_idx(__vector __bool
int __a, __vector __bool
int __b) {
12128 return __builtin_s390_vfaef((__vector
unsigned int)
__a,
12129 (__vector
unsigned int)
__b, 0);
12133vec_find_any_eq_idx(__vector
unsigned int __a, __vector
unsigned int __b) {
12134 return __builtin_s390_vfaef(
__a,
__b, 0);
12140vec_find_any_eq_idx_cc(__vector
signed char __a,
12141 __vector
signed char __b,
int *__cc) {
12142 return (__vector
signed char)
12143 __builtin_s390_vfaebs((__vector
unsigned char)
__a,
12144 (__vector
unsigned char)
__b, 0, __cc);
12148vec_find_any_eq_idx_cc(__vector __bool
char __a,
12149 __vector __bool
char __b,
int *__cc) {
12150 return __builtin_s390_vfaebs((__vector
unsigned char)
__a,
12151 (__vector
unsigned char)
__b, 0, __cc);
12155vec_find_any_eq_idx_cc(__vector
unsigned char __a,
12156 __vector
unsigned char __b,
int *__cc) {
12157 return __builtin_s390_vfaebs(
__a,
__b, 0, __cc);
12161vec_find_any_eq_idx_cc(__vector
signed short __a,
12162 __vector
signed short __b,
int *__cc) {
12163 return (__vector
signed short)
12164 __builtin_s390_vfaehs((__vector
unsigned short)
__a,
12165 (__vector
unsigned short)
__b, 0, __cc);
12169vec_find_any_eq_idx_cc(__vector __bool
short __a,
12170 __vector __bool
short __b,
int *__cc) {
12171 return __builtin_s390_vfaehs((__vector
unsigned short)
__a,
12172 (__vector
unsigned short)
__b, 0, __cc);
12176vec_find_any_eq_idx_cc(__vector
unsigned short __a,
12177 __vector
unsigned short __b,
int *__cc) {
12178 return __builtin_s390_vfaehs(
__a,
__b, 0, __cc);
12182vec_find_any_eq_idx_cc(__vector
signed int __a,
12183 __vector
signed int __b,
int *__cc) {
12184 return (__vector
signed int)
12185 __builtin_s390_vfaefs((__vector
unsigned int)
__a,
12186 (__vector
unsigned int)
__b, 0, __cc);
12190vec_find_any_eq_idx_cc(__vector __bool
int __a,
12191 __vector __bool
int __b,
int *__cc) {
12192 return __builtin_s390_vfaefs((__vector
unsigned int)
__a,
12193 (__vector
unsigned int)
__b, 0, __cc);
12197vec_find_any_eq_idx_cc(__vector
unsigned int __a,
12198 __vector
unsigned int __b,
int *__cc) {
12199 return __builtin_s390_vfaefs(
__a,
__b, 0, __cc);
12205vec_find_any_eq_or_0_idx(__vector
signed char __a,
12206 __vector
signed char __b) {
12207 return (__vector
signed char)
12208 __builtin_s390_vfaezb((__vector
unsigned char)
__a,
12209 (__vector
unsigned char)
__b, 0);
12213vec_find_any_eq_or_0_idx(__vector __bool
char __a,
12214 __vector __bool
char __b) {
12215 return __builtin_s390_vfaezb((__vector
unsigned char)
__a,
12216 (__vector
unsigned char)
__b, 0);
12220vec_find_any_eq_or_0_idx(__vector
unsigned char __a,
12221 __vector
unsigned char __b) {
12222 return __builtin_s390_vfaezb(
__a,
__b, 0);
12226vec_find_any_eq_or_0_idx(__vector
signed short __a,
12227 __vector
signed short __b) {
12228 return (__vector
signed short)
12229 __builtin_s390_vfaezh((__vector
unsigned short)
__a,
12230 (__vector
unsigned short)
__b, 0);
12234vec_find_any_eq_or_0_idx(__vector __bool
short __a,
12235 __vector __bool
short __b) {
12236 return __builtin_s390_vfaezh((__vector
unsigned short)
__a,
12237 (__vector
unsigned short)
__b, 0);
12241vec_find_any_eq_or_0_idx(__vector
unsigned short __a,
12242 __vector
unsigned short __b) {
12243 return __builtin_s390_vfaezh(
__a,
__b, 0);
12247vec_find_any_eq_or_0_idx(__vector
signed int __a,
12248 __vector
signed int __b) {
12249 return (__vector
signed int)
12250 __builtin_s390_vfaezf((__vector
unsigned int)
__a,
12251 (__vector
unsigned int)
__b, 0);
12255vec_find_any_eq_or_0_idx(__vector __bool
int __a,
12256 __vector __bool
int __b) {
12257 return __builtin_s390_vfaezf((__vector
unsigned int)
__a,
12258 (__vector
unsigned int)
__b, 0);
12262vec_find_any_eq_or_0_idx(__vector
unsigned int __a,
12263 __vector
unsigned int __b) {
12264 return __builtin_s390_vfaezf(
__a,
__b, 0);
12270vec_find_any_eq_or_0_idx_cc(__vector
signed char __a,
12271 __vector
signed char __b,
int *__cc) {
12272 return (__vector
signed char)
12273 __builtin_s390_vfaezbs((__vector
unsigned char)
__a,
12274 (__vector
unsigned char)
__b, 0, __cc);
12278vec_find_any_eq_or_0_idx_cc(__vector __bool
char __a,
12279 __vector __bool
char __b,
int *__cc) {
12280 return __builtin_s390_vfaezbs((__vector
unsigned char)
__a,
12281 (__vector
unsigned char)
__b, 0, __cc);
12285vec_find_any_eq_or_0_idx_cc(__vector
unsigned char __a,
12286 __vector
unsigned char __b,
int *__cc) {
12287 return __builtin_s390_vfaezbs(
__a,
__b, 0, __cc);
12291vec_find_any_eq_or_0_idx_cc(__vector
signed short __a,
12292 __vector
signed short __b,
int *__cc) {
12293 return (__vector
signed short)
12294 __builtin_s390_vfaezhs((__vector
unsigned short)
__a,
12295 (__vector
unsigned short)
__b, 0, __cc);
12299vec_find_any_eq_or_0_idx_cc(__vector __bool
short __a,
12300 __vector __bool
short __b,
int *__cc) {
12301 return __builtin_s390_vfaezhs((__vector
unsigned short)
__a,
12302 (__vector
unsigned short)
__b, 0, __cc);
12306vec_find_any_eq_or_0_idx_cc(__vector
unsigned short __a,
12307 __vector
unsigned short __b,
int *__cc) {
12308 return __builtin_s390_vfaezhs(
__a,
__b, 0, __cc);
12312vec_find_any_eq_or_0_idx_cc(__vector
signed int __a,
12313 __vector
signed int __b,
int *__cc) {
12314 return (__vector
signed int)
12315 __builtin_s390_vfaezfs((__vector
unsigned int)
__a,
12316 (__vector
unsigned int)
__b, 0, __cc);
12320vec_find_any_eq_or_0_idx_cc(__vector __bool
int __a,
12321 __vector __bool
int __b,
int *__cc) {
12322 return __builtin_s390_vfaezfs((__vector
unsigned int)
__a,
12323 (__vector
unsigned int)
__b, 0, __cc);
12327vec_find_any_eq_or_0_idx_cc(__vector
unsigned int __a,
12328 __vector
unsigned int __b,
int *__cc) {
12329 return __builtin_s390_vfaezfs(
__a,
__b, 0, __cc);
12335vec_find_any_ne(__vector
signed char __a, __vector
signed char __b) {
12336 return (__vector __bool
char)
12337 __builtin_s390_vfaeb((__vector
unsigned char)
__a,
12338 (__vector
unsigned char)
__b, 12);
12342vec_find_any_ne(__vector __bool
char __a, __vector __bool
char __b) {
12343 return (__vector __bool
char)
12344 __builtin_s390_vfaeb((__vector
unsigned char)
__a,
12345 (__vector
unsigned char)
__b, 12);
12349vec_find_any_ne(__vector
unsigned char __a, __vector
unsigned char __b) {
12350 return (__vector __bool
char)__builtin_s390_vfaeb(
__a,
__b, 12);
12354vec_find_any_ne(__vector
signed short __a, __vector
signed short __b) {
12355 return (__vector __bool
short)
12356 __builtin_s390_vfaeh((__vector
unsigned short)
__a,
12357 (__vector
unsigned short)
__b, 12);
12361vec_find_any_ne(__vector __bool
short __a, __vector __bool
short __b) {
12362 return (__vector __bool
short)
12363 __builtin_s390_vfaeh((__vector
unsigned short)
__a,
12364 (__vector
unsigned short)
__b, 12);
12368vec_find_any_ne(__vector
unsigned short __a, __vector
unsigned short __b) {
12369 return (__vector __bool
short)__builtin_s390_vfaeh(
__a,
__b, 12);
12373vec_find_any_ne(__vector
signed int __a, __vector
signed int __b) {
12374 return (__vector __bool
int)
12375 __builtin_s390_vfaef((__vector
unsigned int)
__a,
12376 (__vector
unsigned int)
__b, 12);
12380vec_find_any_ne(__vector __bool
int __a, __vector __bool
int __b) {
12381 return (__vector __bool
int)
12382 __builtin_s390_vfaef((__vector
unsigned int)
__a,
12383 (__vector
unsigned int)
__b, 12);
12387vec_find_any_ne(__vector
unsigned int __a, __vector
unsigned int __b) {
12388 return (__vector __bool
int)__builtin_s390_vfaef(
__a,
__b, 12);
12394vec_find_any_ne_cc(__vector
signed char __a,
12395 __vector
signed char __b,
int *__cc) {
12396 return (__vector __bool
char)
12397 __builtin_s390_vfaebs((__vector
unsigned char)
__a,
12398 (__vector
unsigned char)
__b, 12, __cc);
12402vec_find_any_ne_cc(__vector __bool
char __a,
12403 __vector __bool
char __b,
int *__cc) {
12404 return (__vector __bool
char)
12405 __builtin_s390_vfaebs((__vector
unsigned char)
__a,
12406 (__vector
unsigned char)
__b, 12, __cc);
12410vec_find_any_ne_cc(__vector
unsigned char __a,
12411 __vector
unsigned char __b,
int *__cc) {
12412 return (__vector __bool
char)__builtin_s390_vfaebs(
__a,
__b, 12, __cc);
12416vec_find_any_ne_cc(__vector
signed short __a,
12417 __vector
signed short __b,
int *__cc) {
12418 return (__vector __bool
short)
12419 __builtin_s390_vfaehs((__vector
unsigned short)
__a,
12420 (__vector
unsigned short)
__b, 12, __cc);
12424vec_find_any_ne_cc(__vector __bool
short __a,
12425 __vector __bool
short __b,
int *__cc) {
12426 return (__vector __bool
short)
12427 __builtin_s390_vfaehs((__vector
unsigned short)
__a,
12428 (__vector
unsigned short)
__b, 12, __cc);
12432vec_find_any_ne_cc(__vector
unsigned short __a,
12433 __vector
unsigned short __b,
int *__cc) {
12434 return (__vector __bool
short)__builtin_s390_vfaehs(
__a,
__b, 12, __cc);
12438vec_find_any_ne_cc(__vector
signed int __a,
12439 __vector
signed int __b,
int *__cc) {
12440 return (__vector __bool
int)
12441 __builtin_s390_vfaefs((__vector
unsigned int)
__a,
12442 (__vector
unsigned int)
__b, 12, __cc);
12446vec_find_any_ne_cc(__vector __bool
int __a,
12447 __vector __bool
int __b,
int *__cc) {
12448 return (__vector __bool
int)
12449 __builtin_s390_vfaefs((__vector
unsigned int)
__a,
12450 (__vector
unsigned int)
__b, 12, __cc);
12454vec_find_any_ne_cc(__vector
unsigned int __a,
12455 __vector
unsigned int __b,
int *__cc) {
12456 return (__vector __bool
int)__builtin_s390_vfaefs(
__a,
__b, 12, __cc);
12462vec_find_any_ne_idx(__vector
signed char __a, __vector
signed char __b) {
12463 return (__vector
signed char)
12464 __builtin_s390_vfaeb((__vector
unsigned char)
__a,
12465 (__vector
unsigned char)
__b, 8);
12469vec_find_any_ne_idx(__vector __bool
char __a, __vector __bool
char __b) {
12470 return __builtin_s390_vfaeb((__vector
unsigned char)
__a,
12471 (__vector
unsigned char)
__b, 8);
12475vec_find_any_ne_idx(__vector
unsigned char __a, __vector
unsigned char __b) {
12476 return __builtin_s390_vfaeb(
__a,
__b, 8);
12480vec_find_any_ne_idx(__vector
signed short __a, __vector
signed short __b) {
12481 return (__vector
signed short)
12482 __builtin_s390_vfaeh((__vector
unsigned short)
__a,
12483 (__vector
unsigned short)
__b, 8);
12487vec_find_any_ne_idx(__vector __bool
short __a, __vector __bool
short __b) {
12488 return __builtin_s390_vfaeh((__vector
unsigned short)
__a,
12489 (__vector
unsigned short)
__b, 8);
12493vec_find_any_ne_idx(__vector
unsigned short __a, __vector
unsigned short __b) {
12494 return __builtin_s390_vfaeh(
__a,
__b, 8);
12498vec_find_any_ne_idx(__vector
signed int __a, __vector
signed int __b) {
12499 return (__vector
signed int)
12500 __builtin_s390_vfaef((__vector
unsigned int)
__a,
12501 (__vector
unsigned int)
__b, 8);
12505vec_find_any_ne_idx(__vector __bool
int __a, __vector __bool
int __b) {
12506 return __builtin_s390_vfaef((__vector
unsigned int)
__a,
12507 (__vector
unsigned int)
__b, 8);
12511vec_find_any_ne_idx(__vector
unsigned int __a, __vector
unsigned int __b) {
12512 return __builtin_s390_vfaef(
__a,
__b, 8);
12518vec_find_any_ne_idx_cc(__vector
signed char __a,
12519 __vector
signed char __b,
int *__cc) {
12520 return (__vector
signed char)
12521 __builtin_s390_vfaebs((__vector
unsigned char)
__a,
12522 (__vector
unsigned char)
__b, 8, __cc);
12526vec_find_any_ne_idx_cc(__vector __bool
char __a,
12527 __vector __bool
char __b,
int *__cc) {
12528 return __builtin_s390_vfaebs((__vector
unsigned char)
__a,
12529 (__vector
unsigned char)
__b, 8, __cc);
12533vec_find_any_ne_idx_cc(__vector
unsigned char __a,
12534 __vector
unsigned char __b,
12536 return __builtin_s390_vfaebs(
__a,
__b, 8, __cc);
12540vec_find_any_ne_idx_cc(__vector
signed short __a,
12541 __vector
signed short __b,
int *__cc) {
12542 return (__vector
signed short)
12543 __builtin_s390_vfaehs((__vector
unsigned short)
__a,
12544 (__vector
unsigned short)
__b, 8, __cc);
12548vec_find_any_ne_idx_cc(__vector __bool
short __a,
12549 __vector __bool
short __b,
int *__cc) {
12550 return __builtin_s390_vfaehs((__vector
unsigned short)
__a,
12551 (__vector
unsigned short)
__b, 8, __cc);
12555vec_find_any_ne_idx_cc(__vector
unsigned short __a,
12556 __vector
unsigned short __b,
int *__cc) {
12557 return __builtin_s390_vfaehs(
__a,
__b, 8, __cc);
12561vec_find_any_ne_idx_cc(__vector
signed int __a,
12562 __vector
signed int __b,
int *__cc) {
12563 return (__vector
signed int)
12564 __builtin_s390_vfaefs((__vector
unsigned int)
__a,
12565 (__vector
unsigned int)
__b, 8, __cc);
12569vec_find_any_ne_idx_cc(__vector __bool
int __a,
12570 __vector __bool
int __b,
int *__cc) {
12571 return __builtin_s390_vfaefs((__vector
unsigned int)
__a,
12572 (__vector
unsigned int)
__b, 8, __cc);
12576vec_find_any_ne_idx_cc(__vector
unsigned int __a,
12577 __vector
unsigned int __b,
int *__cc) {
12578 return __builtin_s390_vfaefs(
__a,
__b, 8, __cc);
12584vec_find_any_ne_or_0_idx(__vector
signed char __a,
12585 __vector
signed char __b) {
12586 return (__vector
signed char)
12587 __builtin_s390_vfaezb((__vector
unsigned char)
__a,
12588 (__vector
unsigned char)
__b, 8);
12592vec_find_any_ne_or_0_idx(__vector __bool
char __a,
12593 __vector __bool
char __b) {
12594 return __builtin_s390_vfaezb((__vector
unsigned char)
__a,
12595 (__vector
unsigned char)
__b, 8);
12599vec_find_any_ne_or_0_idx(__vector
unsigned char __a,
12600 __vector
unsigned char __b) {
12601 return __builtin_s390_vfaezb(
__a,
__b, 8);
12605vec_find_any_ne_or_0_idx(__vector
signed short __a,
12606 __vector
signed short __b) {
12607 return (__vector
signed short)
12608 __builtin_s390_vfaezh((__vector
unsigned short)
__a,
12609 (__vector
unsigned short)
__b, 8);
12613vec_find_any_ne_or_0_idx(__vector __bool
short __a,
12614 __vector __bool
short __b) {
12615 return __builtin_s390_vfaezh((__vector
unsigned short)
__a,
12616 (__vector
unsigned short)
__b, 8);
12620vec_find_any_ne_or_0_idx(__vector
unsigned short __a,
12621 __vector
unsigned short __b) {
12622 return __builtin_s390_vfaezh(
__a,
__b, 8);
12626vec_find_any_ne_or_0_idx(__vector
signed int __a,
12627 __vector
signed int __b) {
12628 return (__vector
signed int)
12629 __builtin_s390_vfaezf((__vector
unsigned int)
__a,
12630 (__vector
unsigned int)
__b, 8);
12634vec_find_any_ne_or_0_idx(__vector __bool
int __a,
12635 __vector __bool
int __b) {
12636 return __builtin_s390_vfaezf((__vector
unsigned int)
__a,
12637 (__vector
unsigned int)
__b, 8);
12641vec_find_any_ne_or_0_idx(__vector
unsigned int __a,
12642 __vector
unsigned int __b) {
12643 return __builtin_s390_vfaezf(
__a,
__b, 8);
12649vec_find_any_ne_or_0_idx_cc(__vector
signed char __a,
12650 __vector
signed char __b,
int *__cc) {
12651 return (__vector
signed char)
12652 __builtin_s390_vfaezbs((__vector
unsigned char)
__a,
12653 (__vector
unsigned char)
__b, 8, __cc);
12657vec_find_any_ne_or_0_idx_cc(__vector __bool
char __a,
12658 __vector __bool
char __b,
int *__cc) {
12659 return __builtin_s390_vfaezbs((__vector
unsigned char)
__a,
12660 (__vector
unsigned char)
__b, 8, __cc);
12664vec_find_any_ne_or_0_idx_cc(__vector
unsigned char __a,
12665 __vector
unsigned char __b,
int *__cc) {
12666 return __builtin_s390_vfaezbs(
__a,
__b, 8, __cc);
12670vec_find_any_ne_or_0_idx_cc(__vector
signed short __a,
12671 __vector
signed short __b,
int *__cc) {
12672 return (__vector
signed short)
12673 __builtin_s390_vfaezhs((__vector
unsigned short)
__a,
12674 (__vector
unsigned short)
__b, 8, __cc);
12678vec_find_any_ne_or_0_idx_cc(__vector __bool
short __a,
12679 __vector __bool
short __b,
int *__cc) {
12680 return __builtin_s390_vfaezhs((__vector
unsigned short)
__a,
12681 (__vector
unsigned short)
__b, 8, __cc);
12685vec_find_any_ne_or_0_idx_cc(__vector
unsigned short __a,
12686 __vector
unsigned short __b,
int *__cc) {
12687 return __builtin_s390_vfaezhs(
__a,
__b, 8, __cc);
12691vec_find_any_ne_or_0_idx_cc(__vector
signed int __a,
12692 __vector
signed int __b,
int *__cc) {
12693 return (__vector
signed int)
12694 __builtin_s390_vfaezfs((__vector
unsigned int)
__a,
12695 (__vector
unsigned int)
__b, 8, __cc);
12699vec_find_any_ne_or_0_idx_cc(__vector __bool
int __a,
12700 __vector __bool
int __b,
int *__cc) {
12701 return __builtin_s390_vfaezfs((__vector
unsigned int)
__a,
12702 (__vector
unsigned int)
__b, 8, __cc);
12706vec_find_any_ne_or_0_idx_cc(__vector
unsigned int __a,
12707 __vector
unsigned int __b,
int *__cc) {
12708 return __builtin_s390_vfaezfs(
__a,
__b, 8, __cc);
12716vec_search_string_cc(__vector
signed char __a, __vector
signed char __b,
12717 __vector
unsigned char __c,
int *__cc) {
12718 return __builtin_s390_vstrsb((__vector
unsigned char)
__a,
12719 (__vector
unsigned char)
__b,
__c, __cc);
12723vec_search_string_cc(__vector __bool
char __a, __vector __bool
char __b,
12724 __vector
unsigned char __c,
int *__cc) {
12725 return __builtin_s390_vstrsb((__vector
unsigned char)
__a,
12726 (__vector
unsigned char)
__b,
__c, __cc);
12730vec_search_string_cc(__vector
unsigned char __a, __vector
unsigned char __b,
12731 __vector
unsigned char __c,
int *__cc) {
12732 return __builtin_s390_vstrsb(
__a,
__b,
__c, __cc);
12736vec_search_string_cc(__vector
signed short __a, __vector
signed short __b,
12737 __vector
unsigned char __c,
int *__cc) {
12738 return __builtin_s390_vstrsh((__vector
unsigned short)
__a,
12739 (__vector
unsigned short)
__b,
__c, __cc);
12743vec_search_string_cc(__vector __bool
short __a, __vector __bool
short __b,
12744 __vector
unsigned char __c,
int *__cc) {
12745 return __builtin_s390_vstrsh((__vector
unsigned short)
__a,
12746 (__vector
unsigned short)
__b,
__c, __cc);
12750vec_search_string_cc(__vector
unsigned short __a, __vector
unsigned short __b,
12751 __vector
unsigned char __c,
int *__cc) {
12752 return __builtin_s390_vstrsh(
__a,
__b,
__c, __cc);
12756vec_search_string_cc(__vector
signed int __a, __vector
signed int __b,
12757 __vector
unsigned char __c,
int *__cc) {
12758 return __builtin_s390_vstrsf((__vector
unsigned int)
__a,
12759 (__vector
unsigned int)
__b,
__c, __cc);
12763vec_search_string_cc(__vector __bool
int __a, __vector __bool
int __b,
12764 __vector
unsigned char __c,
int *__cc) {
12765 return __builtin_s390_vstrsf((__vector
unsigned int)
__a,
12766 (__vector
unsigned int)
__b,
__c, __cc);
12770vec_search_string_cc(__vector
unsigned int __a, __vector
unsigned int __b,
12771 __vector
unsigned char __c,
int *__cc) {
12772 return __builtin_s390_vstrsf(
__a,
__b,
__c, __cc);
12782vec_search_string_until_zero_cc(__vector
signed char __a,
12783 __vector
signed char __b,
12784 __vector
unsigned char __c,
int *__cc) {
12785 return __builtin_s390_vstrszb((__vector
unsigned char)
__a,
12786 (__vector
unsigned char)
__b,
__c, __cc);
12790vec_search_string_until_zero_cc(__vector __bool
char __a,
12791 __vector __bool
char __b,
12792 __vector
unsigned char __c,
int *__cc) {
12793 return __builtin_s390_vstrszb((__vector
unsigned char)
__a,
12794 (__vector
unsigned char)
__b,
__c, __cc);
12798vec_search_string_until_zero_cc(__vector
unsigned char __a,
12799 __vector
unsigned char __b,
12800 __vector
unsigned char __c,
int *__cc) {
12801 return __builtin_s390_vstrszb(
__a,
__b,
__c, __cc);
12805vec_search_string_until_zero_cc(__vector
signed short __a,
12806 __vector
signed short __b,
12807 __vector
unsigned char __c,
int *__cc) {
12808 return __builtin_s390_vstrszh((__vector
unsigned short)
__a,
12809 (__vector
unsigned short)
__b,
__c, __cc);
12813vec_search_string_until_zero_cc(__vector __bool
short __a,
12814 __vector __bool
short __b,
12815 __vector
unsigned char __c,
int *__cc) {
12816 return __builtin_s390_vstrszh((__vector
unsigned short)
__a,
12817 (__vector
unsigned short)
__b,
__c, __cc);
12821vec_search_string_until_zero_cc(__vector
unsigned short __a,
12822 __vector
unsigned short __b,
12823 __vector
unsigned char __c,
int *__cc) {
12824 return __builtin_s390_vstrszh(
__a,
__b,
__c, __cc);
12828vec_search_string_until_zero_cc(__vector
signed int __a,
12829 __vector
signed int __b,
12830 __vector
unsigned char __c,
int *__cc) {
12831 return __builtin_s390_vstrszf((__vector
unsigned int)
__a,
12832 (__vector
unsigned int)
__b,
__c, __cc);
12836vec_search_string_until_zero_cc(__vector __bool
int __a,
12837 __vector __bool
int __b,
12838 __vector
unsigned char __c,
int *__cc) {
12839 return __builtin_s390_vstrszf((__vector
unsigned int)
__a,
12840 (__vector
unsigned int)
__b,
__c, __cc);
12844vec_search_string_until_zero_cc(__vector
unsigned int __a,
12845 __vector
unsigned int __b,
12846 __vector
unsigned char __c,
int *__cc) {
12847 return __builtin_s390_vstrszf(
__a,
__b,
__c, __cc);
12852#undef __constant_pow2_range
12853#undef __constant_range
12861#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__ 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 __ATTRS_o_ai vector signed char vec_xl(ptrdiff_t __offset, const signed char *__ptr)
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__ 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 __ATTRS_o_ai vector bool char vec_reve(vector bool char __a)
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 __ATTRS_o_ai void vec_xst(vector signed char __vec, ptrdiff_t __offset, signed char *__ptr)
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