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)))
29 extern __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))
46 vec_extract(__vector
signed char __vec,
int __index) {
47 return __vec[__index & 15];
51 vec_extract(__vector __bool
char __vec,
int __index) {
52 return __vec[__index & 15];
56 vec_extract(__vector
unsigned char __vec,
int __index) {
57 return __vec[__index & 15];
61 vec_extract(__vector
signed short __vec,
int __index) {
62 return __vec[__index & 7];
66 vec_extract(__vector __bool
short __vec,
int __index) {
67 return __vec[__index & 7];
71 vec_extract(__vector
unsigned short __vec,
int __index) {
72 return __vec[__index & 7];
76 vec_extract(__vector
signed int __vec,
int __index) {
77 return __vec[__index & 3];
81 vec_extract(__vector __bool
int __vec,
int __index) {
82 return __vec[__index & 3];
86 vec_extract(__vector
unsigned int __vec,
int __index) {
87 return __vec[__index & 3];
91 vec_extract(__vector
signed long long __vec,
int __index) {
92 return __vec[__index & 1];
96 vec_extract(__vector __bool
long long __vec,
int __index) {
97 return __vec[__index & 1];
101 vec_extract(__vector
unsigned long long __vec,
int __index) {
102 return __vec[__index & 1];
108 return __vec[__index & 3];
114 return __vec[__index & 1];
120 vec_insert(
signed char __scalar, __vector
signed char __vec,
int __index) {
121 __vec[__index & 15] = __scalar;
127 vec_insert(
unsigned char __scalar, __vector __bool
char __vec,
int __index) {
128 __vector
unsigned char __newvec = (__vector
unsigned char)__vec;
129 __newvec[__index & 15] = (
unsigned char)__scalar;
134 vec_insert(
unsigned char __scalar, __vector
unsigned char __vec,
int __index) {
135 __vec[__index & 15] = __scalar;
140 vec_insert(
signed short __scalar, __vector
signed short __vec,
int __index) {
141 __vec[__index & 7] = __scalar;
147 vec_insert(
unsigned short __scalar, __vector __bool
short __vec,
149 __vector
unsigned short __newvec = (__vector
unsigned short)__vec;
150 __newvec[__index & 7] = (
unsigned short)__scalar;
155 vec_insert(
unsigned short __scalar, __vector
unsigned short __vec,
157 __vec[__index & 7] = __scalar;
162 vec_insert(
signed int __scalar, __vector
signed int __vec,
int __index) {
163 __vec[__index & 3] = __scalar;
169 vec_insert(
unsigned int __scalar, __vector __bool
int __vec,
int __index) {
170 __vector
unsigned int __newvec = (__vector
unsigned int)__vec;
171 __newvec[__index & 3] = __scalar;
176 vec_insert(
unsigned int __scalar, __vector
unsigned int __vec,
int __index) {
177 __vec[__index & 3] = __scalar;
182 vec_insert(
signed long long __scalar, __vector
signed long long __vec,
184 __vec[__index & 1] = __scalar;
190 vec_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;
198 vec_insert(
unsigned long long __scalar, __vector
unsigned long long __vec,
200 __vec[__index & 1] = __scalar;
206 vec_insert(
float __scalar, __vector
float __vec,
int __index) {
207 __vec[__index & 1] = __scalar;
213 vec_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;
248 vec_promote(
unsigned short __scalar,
int __index) {
249 const __vector
unsigned short __zero = (__vector
unsigned short)0;
250 __vector
unsigned short __vec = __builtin_shufflevector(__zero, __zero,
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;
275 vec_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;
284 vec_promote(
unsigned long long __scalar,
int __index) {
285 const __vector
unsigned long long __zero = (__vector
unsigned long long)0;
286 __vector
unsigned long long __vec = __builtin_shufflevector(__zero, __zero,
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;
314 vec_insert_and_zero(
const signed char *__ptr) {
315 __vector
signed char __vec = (__vector
signed char)0;
321 vec_insert_and_zero(
const unsigned char *__ptr) {
322 __vector
unsigned char __vec = (__vector
unsigned char)0;
328 vec_insert_and_zero(
const signed short *__ptr) {
329 __vector
signed short __vec = (__vector
signed short)0;
335 vec_insert_and_zero(
const unsigned short *__ptr) {
336 __vector
unsigned short __vec = (__vector
unsigned short)0;
342 vec_insert_and_zero(
const signed int *__ptr) {
343 __vector
signed int __vec = (__vector
signed int)0;
349 vec_insert_and_zero(
const unsigned int *__ptr) {
350 __vector
unsigned int __vec = (__vector
unsigned int)0;
356 vec_insert_and_zero(
const signed long long *__ptr) {
357 __vector
signed long long __vec = (__vector
signed long long)0;
363 vec_insert_and_zero(
const unsigned long long *__ptr) {
364 __vector
unsigned long long __vec = (__vector
unsigned long long)0;
371 vec_insert_and_zero(
const float *__ptr) {
372 __vector
float __vec = (__vector
float)0.0f;
379 vec_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);
416 vec_perm(__vector
unsigned short __a, __vector
unsigned short __b,
417 __vector
unsigned char __c) {
418 return (__vector
unsigned short)__builtin_s390_vperm(
419 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
424 __vector
unsigned char __c) {
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);
451 vec_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);
458 vec_perm(__vector
unsigned long long __a, __vector
unsigned long long __b,
459 __vector
unsigned char __c) {
460 return (__vector
unsigned long long)__builtin_s390_vperm(
461 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
465 vec_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);
474 __vector
unsigned char __c) {
475 return (__vector
float)__builtin_s390_vperm(
476 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
482 __vector
unsigned char __c) {
483 return (__vector
double)__builtin_s390_vperm(
484 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
490 extern __ATTRS_o __vector
signed long long
491 vec_permi(__vector
signed long long __a, __vector
signed long long __b,
493 __constant_range(
__c, 0, 3);
496 extern __ATTRS_o __vector
unsigned long long
497 vec_permi(__vector
unsigned long long __a, __vector
unsigned long long __b,
499 __constant_range(
__c, 0, 3);
502 extern __ATTRS_o __vector __bool
long long
503 vec_permi(__vector __bool
long long __a, __vector __bool
long long __b,
505 __constant_range(
__c, 0, 3);
508 extern __ATTRS_o __vector
double
509 vec_permi(__vector
double __a, __vector
double __b,
int __c)
510 __constant_range(
__c, 0, 3);
512 #define vec_permi(X, Y, Z) ((__typeof__((vec_permi)((X), (Y), (Z)))) \
513 __builtin_s390_vpdi((__vector unsigned long long)(X), \
514 (__vector unsigned long long)(Y), \
515 (((Z) & 2) << 1) | ((Z) & 1)))
520 static inline __ATTRS_ai __vector
unsigned long long
521 vec_bperm_u128(__vector
unsigned char __a, __vector
unsigned char __b) {
522 return __builtin_s390_vbperm(
__a,
__b);
529 vec_revb(__vector
signed short __vec) {
530 return (__vector
signed short)
531 __builtin_s390_vlbrh((__vector
unsigned short)__vec);
535 vec_revb(__vector
unsigned short __vec) {
536 return __builtin_s390_vlbrh(__vec);
540 vec_revb(__vector
signed int __vec) {
541 return (__vector
signed int)
542 __builtin_s390_vlbrf((__vector
unsigned int)__vec);
546 vec_revb(__vector
unsigned int __vec) {
547 return __builtin_s390_vlbrf(__vec);
551 vec_revb(__vector
signed long long __vec) {
552 return (__vector
signed long long)
553 __builtin_s390_vlbrg((__vector
unsigned long long)__vec);
557 vec_revb(__vector
unsigned long long __vec) {
558 return __builtin_s390_vlbrg(__vec);
564 return (__vector
float)
565 __builtin_s390_vlbrf((__vector
unsigned int)__vec);
571 return (__vector
double)
572 __builtin_s390_vlbrg((__vector
unsigned long long)__vec);
578 vec_reve(__vector
signed char __vec) {
579 return (__vector
signed char) { __vec[15], __vec[14], __vec[13], __vec[12],
580 __vec[11], __vec[10], __vec[9], __vec[8],
581 __vec[7], __vec[6], __vec[5], __vec[4],
582 __vec[3], __vec[2], __vec[1], __vec[0] };
586 vec_reve(__vector
unsigned char __vec) {
587 return (__vector
unsigned char) { __vec[15], __vec[14], __vec[13], __vec[12],
588 __vec[11], __vec[10], __vec[9], __vec[8],
589 __vec[7], __vec[6], __vec[5], __vec[4],
590 __vec[3], __vec[2], __vec[1], __vec[0] };
594 vec_reve(__vector __bool
char __vec) {
595 return (__vector __bool
char) { __vec[15], __vec[14], __vec[13], __vec[12],
596 __vec[11], __vec[10], __vec[9], __vec[8],
597 __vec[7], __vec[6], __vec[5], __vec[4],
598 __vec[3], __vec[2], __vec[1], __vec[0] };
602 vec_reve(__vector
signed short __vec) {
603 return (__vector
signed short) { __vec[7], __vec[6], __vec[5], __vec[4],
604 __vec[3], __vec[2], __vec[1], __vec[0] };
608 vec_reve(__vector
unsigned short __vec) {
609 return (__vector
unsigned short) { __vec[7], __vec[6], __vec[5], __vec[4],
610 __vec[3], __vec[2], __vec[1], __vec[0] };
614 vec_reve(__vector __bool
short __vec) {
615 return (__vector __bool
short) { __vec[7], __vec[6], __vec[5], __vec[4],
616 __vec[3], __vec[2], __vec[1], __vec[0] };
620 vec_reve(__vector
signed int __vec) {
621 return (__vector
signed int) { __vec[3], __vec[2], __vec[1], __vec[0] };
625 vec_reve(__vector
unsigned int __vec) {
626 return (__vector
unsigned int) { __vec[3], __vec[2], __vec[1], __vec[0] };
630 vec_reve(__vector __bool
int __vec) {
631 return (__vector __bool
int) { __vec[3], __vec[2], __vec[1], __vec[0] };
635 vec_reve(__vector
signed long long __vec) {
636 return (__vector
signed long long) { __vec[1], __vec[0] };
640 vec_reve(__vector
unsigned long long __vec) {
641 return (__vector
unsigned long long) { __vec[1], __vec[0] };
645 vec_reve(__vector __bool
long long __vec) {
646 return (__vector __bool
long long) { __vec[1], __vec[0] };
652 return (__vector
float) { __vec[3], __vec[2], __vec[1], __vec[0] };
658 return (__vector
double) { __vec[1], __vec[0] };
665 __vector
unsigned char __c) {
666 return (((__vector
signed char)
__c &
__b) |
667 (~(__vector
signed char)
__c &
__a));
672 __vector __bool
char __c) {
673 return (((__vector
signed char)
__c &
__b) |
674 (~(__vector
signed char)
__c &
__a));
679 __vector
unsigned char __c) {
680 return (((__vector __bool
char)
__c &
__b) |
681 (~(__vector __bool
char)
__c &
__a));
686 __vector __bool
char __c) {
691 vec_sel(__vector
unsigned char __a, __vector
unsigned char __b,
692 __vector
unsigned char __c) {
697 vec_sel(__vector
unsigned char __a, __vector
unsigned char __b,
698 __vector __bool
char __c) {
699 return (((__vector
unsigned char)
__c &
__b) |
700 (~(__vector
unsigned char)
__c &
__a));
704 vec_sel(__vector
signed short __a, __vector
signed short __b,
705 __vector
unsigned short __c) {
706 return (((__vector
signed short)
__c &
__b) |
707 (~(__vector
signed short)
__c &
__a));
711 vec_sel(__vector
signed short __a, __vector
signed short __b,
712 __vector __bool
short __c) {
713 return (((__vector
signed short)
__c &
__b) |
714 (~(__vector
signed short)
__c &
__a));
718 vec_sel(__vector __bool
short __a, __vector __bool
short __b,
719 __vector
unsigned short __c) {
720 return (((__vector __bool
short)
__c &
__b) |
721 (~(__vector __bool
short)
__c &
__a));
725 vec_sel(__vector __bool
short __a, __vector __bool
short __b,
726 __vector __bool
short __c) {
731 vec_sel(__vector
unsigned short __a, __vector
unsigned short __b,
732 __vector
unsigned short __c) {
737 vec_sel(__vector
unsigned short __a, __vector
unsigned short __b,
738 __vector __bool
short __c) {
739 return (((__vector
unsigned short)
__c &
__b) |
740 (~(__vector
unsigned short)
__c &
__a));
745 __vector
unsigned int __c) {
746 return (((__vector
signed int)
__c &
__b) |
747 (~(__vector
signed int)
__c &
__a));
752 __vector __bool
int __c) {
753 return (((__vector
signed int)
__c &
__b) |
754 (~(__vector
signed int)
__c &
__a));
759 __vector
unsigned int __c) {
760 return (((__vector __bool
int)
__c &
__b) |
761 (~(__vector __bool
int)
__c &
__a));
766 __vector __bool
int __c) {
771 vec_sel(__vector
unsigned int __a, __vector
unsigned int __b,
772 __vector
unsigned int __c) {
777 vec_sel(__vector
unsigned int __a, __vector
unsigned int __b,
778 __vector __bool
int __c) {
779 return (((__vector
unsigned int)
__c &
__b) |
780 (~(__vector
unsigned int)
__c &
__a));
784 vec_sel(__vector
signed long long __a, __vector
signed long long __b,
785 __vector
unsigned long long __c) {
786 return (((__vector
signed long long)
__c &
__b) |
787 (~(__vector
signed long long)
__c &
__a));
791 vec_sel(__vector
signed long long __a, __vector
signed long long __b,
792 __vector __bool
long long __c) {
793 return (((__vector
signed long long)
__c &
__b) |
794 (~(__vector
signed long long)
__c &
__a));
798 vec_sel(__vector __bool
long long __a, __vector __bool
long long __b,
799 __vector
unsigned long long __c) {
800 return (((__vector __bool
long long)
__c &
__b) |
801 (~(__vector __bool
long long)
__c &
__a));
805 vec_sel(__vector __bool
long long __a, __vector __bool
long long __b,
806 __vector __bool
long long __c) {
811 vec_sel(__vector
unsigned long long __a, __vector
unsigned long long __b,
812 __vector
unsigned long long __c) {
817 vec_sel(__vector
unsigned long long __a, __vector
unsigned long long __b,
818 __vector __bool
long long __c) {
819 return (((__vector
unsigned long long)
__c &
__b) |
820 (~(__vector
unsigned long long)
__c &
__a));
825 vec_sel(__vector
float __a, __vector
float __b, __vector
unsigned int __c) {
826 return (__vector
float)((
__c & (__vector
unsigned int)
__b) |
832 __vector
unsigned int __ac = (__vector
unsigned int)
__a;
833 __vector
unsigned int __bc = (__vector
unsigned int)
__b;
834 __vector
unsigned int __cc = (__vector
unsigned int)
__c;
835 return (__vector
float)((__cc & __bc) | (~__cc & __ac));
841 __vector
unsigned long long __c) {
842 return (__vector
double)((
__c & (__vector
unsigned long long)
__b) |
843 (~
__c & (__vector
unsigned long long)
__a));
848 __vector __bool
long long __c) {
849 __vector
unsigned long long __ac = (__vector
unsigned long long)
__a;
850 __vector
unsigned long long __bc = (__vector
unsigned long long)
__b;
851 __vector
unsigned long long __cc = (__vector
unsigned long long)
__c;
852 return (__vector
double)((__cc & __bc) | (~__cc & __ac));
858 vec_gather_element(__vector
signed int __vec,
859 __vector
unsigned int __offset,
860 const signed int *__ptr,
int __index)
861 __constant_range(__index, 0, 3) {
862 __vec[__index] = *(
const signed int *)(
863 (
const char *)__ptr + __offset[__index]);
868 vec_gather_element(__vector __bool
int __vec,
869 __vector
unsigned int __offset,
870 const unsigned int *__ptr,
int __index)
871 __constant_range(__index, 0, 3) {
872 __vec[__index] = *(
const unsigned int *)(
873 (
const char *)__ptr + __offset[__index]);
878 vec_gather_element(__vector
unsigned int __vec,
879 __vector
unsigned int __offset,
880 const unsigned int *__ptr,
int __index)
881 __constant_range(__index, 0, 3) {
882 __vec[__index] = *(
const unsigned int *)(
883 (
const char *)__ptr + __offset[__index]);
888 vec_gather_element(__vector
signed long long __vec,
889 __vector
unsigned long long __offset,
890 const signed long long *__ptr,
int __index)
891 __constant_range(__index, 0, 1) {
892 __vec[__index] = *(
const signed long long *)(
893 (
const char *)__ptr + __offset[__index]);
898 vec_gather_element(__vector __bool
long long __vec,
899 __vector
unsigned long long __offset,
900 const unsigned long long *__ptr,
int __index)
901 __constant_range(__index, 0, 1) {
902 __vec[__index] = *(
const unsigned long long *)(
903 (
const char *)__ptr + __offset[__index]);
908 vec_gather_element(__vector
unsigned long long __vec,
909 __vector
unsigned long long __offset,
910 const unsigned long long *__ptr,
int __index)
911 __constant_range(__index, 0, 1) {
912 __vec[__index] = *(
const unsigned long long *)(
913 (
const char *)__ptr + __offset[__index]);
919 vec_gather_element(__vector
float __vec,
920 __vector
unsigned int __offset,
921 const float *__ptr,
int __index)
922 __constant_range(__index, 0, 3) {
923 __vec[__index] = *(
const float *)(
924 (
const char *)__ptr + __offset[__index]);
930 vec_gather_element(__vector
double __vec,
931 __vector
unsigned long long __offset,
932 const double *__ptr,
int __index)
933 __constant_range(__index, 0, 1) {
934 __vec[__index] = *(
const double *)(
935 (
const char *)__ptr + __offset[__index]);
942 vec_scatter_element(__vector
signed int __vec,
943 __vector
unsigned int __offset,
944 signed int *__ptr,
int __index)
945 __constant_range(__index, 0, 3) {
946 *(
signed int *)((
char *)__ptr + __offset[__index]) =
951 vec_scatter_element(__vector __bool
int __vec,
952 __vector
unsigned int __offset,
953 unsigned int *__ptr,
int __index)
954 __constant_range(__index, 0, 3) {
955 *(
unsigned int *)((
char *)__ptr + __offset[__index]) =
960 vec_scatter_element(__vector
unsigned int __vec,
961 __vector
unsigned int __offset,
962 unsigned int *__ptr,
int __index)
963 __constant_range(__index, 0, 3) {
964 *(
unsigned int *)((
char *)__ptr + __offset[__index]) =
969 vec_scatter_element(__vector
signed long long __vec,
970 __vector
unsigned long long __offset,
971 signed long long *__ptr,
int __index)
972 __constant_range(__index, 0, 1) {
973 *(
signed long long *)((
char *)__ptr + __offset[__index]) =
978 vec_scatter_element(__vector __bool
long long __vec,
979 __vector
unsigned long long __offset,
980 unsigned long long *__ptr,
int __index)
981 __constant_range(__index, 0, 1) {
982 *(
unsigned long long *)((
char *)__ptr + __offset[__index]) =
987 vec_scatter_element(__vector
unsigned long long __vec,
988 __vector
unsigned long long __offset,
989 unsigned long long *__ptr,
int __index)
990 __constant_range(__index, 0, 1) {
991 *(
unsigned long long *)((
char *)__ptr + __offset[__index]) =
997 vec_scatter_element(__vector
float __vec,
998 __vector
unsigned int __offset,
999 float *__ptr,
int __index)
1000 __constant_range(__index, 0, 3) {
1001 *(
float *)((
char *)__ptr + __offset[__index]) =
1007 vec_scatter_element(__vector
double __vec,
1008 __vector
unsigned long long __offset,
1009 double *__ptr,
int __index)
1010 __constant_range(__index, 0, 1) {
1011 *(
double *)((
char *)__ptr + __offset[__index]) =
1018 vec_xl(
long __offset,
const signed char *__ptr) {
1019 return *(
const __vector
signed char *)
1020 ((
const char *)__ptr + __offset);
1024 vec_xl(
long __offset,
const unsigned char *__ptr) {
1025 return *(
const __vector
unsigned char *)
1026 ((
const char *)__ptr + __offset);
1030 vec_xl(
long __offset,
const signed short *__ptr) {
1031 return *(
const __vector
signed short *)
1032 ((
const char *)__ptr + __offset);
1036 vec_xl(
long __offset,
const unsigned short *__ptr) {
1037 return *(
const __vector
unsigned short *)
1038 ((
const char *)__ptr + __offset);
1042 vec_xl(
long __offset,
const signed int *__ptr) {
1043 return *(
const __vector
signed int *)
1044 ((
const char *)__ptr + __offset);
1048 vec_xl(
long __offset,
const unsigned int *__ptr) {
1049 return *(
const __vector
unsigned int *)
1050 ((
const char *)__ptr + __offset);
1054 vec_xl(
long __offset,
const signed long long *__ptr) {
1055 return *(
const __vector
signed long long *)
1056 ((
const char *)__ptr + __offset);
1060 vec_xl(
long __offset,
const unsigned long long *__ptr) {
1061 return *(
const __vector
unsigned long long *)
1062 ((
const char *)__ptr + __offset);
1067 vec_xl(
long __offset,
const float *__ptr) {
1068 return *(
const __vector
float *)
1069 ((
const char *)__ptr + __offset);
1074 vec_xl(
long __offset,
const double *__ptr) {
1075 return *(
const __vector
double *)
1076 ((
const char *)__ptr + __offset);
1083 vec_xld2(
long __offset,
const signed char *__ptr) {
1084 return *(
const __vector
signed char *)
1085 ((
const char *)__ptr + __offset);
1090 vec_xld2(
long __offset,
const unsigned char *__ptr) {
1091 return *(
const __vector
unsigned char *)
1092 ((
const char *)__ptr + __offset);
1097 vec_xld2(
long __offset,
const signed short *__ptr) {
1098 return *(
const __vector
signed short *)
1099 ((
const char *)__ptr + __offset);
1104 vec_xld2(
long __offset,
const unsigned short *__ptr) {
1105 return *(
const __vector
unsigned short *)
1106 ((
const char *)__ptr + __offset);
1111 vec_xld2(
long __offset,
const signed int *__ptr) {
1112 return *(
const __vector
signed int *)
1113 ((
const char *)__ptr + __offset);
1118 vec_xld2(
long __offset,
const unsigned int *__ptr) {
1119 return *(
const __vector
unsigned int *)
1120 ((
const char *)__ptr + __offset);
1125 vec_xld2(
long __offset,
const signed long long *__ptr) {
1126 return *(
const __vector
signed long long *)
1127 ((
const char *)__ptr + __offset);
1132 vec_xld2(
long __offset,
const unsigned long long *__ptr) {
1133 return *(
const __vector
unsigned long long *)
1134 ((
const char *)__ptr + __offset);
1139 vec_xld2(
long __offset,
const double *__ptr) {
1140 return *(
const __vector
double *)
1141 ((
const char *)__ptr + __offset);
1148 vec_xlw4(
long __offset,
const signed char *__ptr) {
1149 return *(
const __vector
signed char *)
1150 ((
const char *)__ptr + __offset);
1155 vec_xlw4(
long __offset,
const unsigned char *__ptr) {
1156 return *(
const __vector
unsigned char *)
1157 ((
const char *)__ptr + __offset);
1162 vec_xlw4(
long __offset,
const signed short *__ptr) {
1163 return *(
const __vector
signed short *)
1164 ((
const char *)__ptr + __offset);
1169 vec_xlw4(
long __offset,
const unsigned short *__ptr) {
1170 return *(
const __vector
unsigned short *)
1171 ((
const char *)__ptr + __offset);
1176 vec_xlw4(
long __offset,
const signed int *__ptr) {
1177 return *(
const __vector
signed int *)
1178 ((
const char *)__ptr + __offset);
1183 vec_xlw4(
long __offset,
const unsigned int *__ptr) {
1184 return *(
const __vector
unsigned int *)
1185 ((
const char *)__ptr + __offset);
1191 vec_xst(__vector
signed char __vec,
long __offset,
signed char *__ptr) {
1192 *(__vector
signed char *)((
char *)__ptr + __offset) = __vec;
1196 vec_xst(__vector
unsigned char __vec,
long __offset,
unsigned char *__ptr) {
1197 *(__vector
unsigned char *)((
char *)__ptr + __offset) = __vec;
1201 vec_xst(__vector
signed short __vec,
long __offset,
signed short *__ptr) {
1202 *(__vector
signed short *)((
char *)__ptr + __offset) = __vec;
1206 vec_xst(__vector
unsigned short __vec,
long __offset,
unsigned short *__ptr) {
1207 *(__vector
unsigned short *)((
char *)__ptr + __offset) = __vec;
1211 vec_xst(__vector
signed int __vec,
long __offset,
signed int *__ptr) {
1212 *(__vector
signed int *)((
char *)__ptr + __offset) = __vec;
1216 vec_xst(__vector
unsigned int __vec,
long __offset,
unsigned int *__ptr) {
1217 *(__vector
unsigned int *)((
char *)__ptr + __offset) = __vec;
1221 vec_xst(__vector
signed long long __vec,
long __offset,
1222 signed long long *__ptr) {
1223 *(__vector
signed long long *)((
char *)__ptr + __offset) = __vec;
1227 vec_xst(__vector
unsigned long long __vec,
long __offset,
1228 unsigned long long *__ptr) {
1229 *(__vector
unsigned long long *)((
char *)__ptr + __offset) = __vec;
1234 vec_xst(__vector
float __vec,
long __offset,
float *__ptr) {
1235 *(__vector
float *)((
char *)__ptr + __offset) = __vec;
1240 vec_xst(__vector
double __vec,
long __offset,
double *__ptr) {
1241 *(__vector
double *)((
char *)__ptr + __offset) = __vec;
1248 vec_xstd2(__vector
signed char __vec,
long __offset,
signed char *__ptr) {
1249 *(__vector
signed char *)((
char *)__ptr + __offset) = __vec;
1254 vec_xstd2(__vector
unsigned char __vec,
long __offset,
unsigned char *__ptr) {
1255 *(__vector
unsigned char *)((
char *)__ptr + __offset) = __vec;
1260 vec_xstd2(__vector
signed short __vec,
long __offset,
signed short *__ptr) {
1261 *(__vector
signed short *)((
char *)__ptr + __offset) = __vec;
1266 vec_xstd2(__vector
unsigned short __vec,
long __offset,
unsigned short *__ptr) {
1267 *(__vector
unsigned short *)((
char *)__ptr + __offset) = __vec;
1272 vec_xstd2(__vector
signed int __vec,
long __offset,
signed int *__ptr) {
1273 *(__vector
signed int *)((
char *)__ptr + __offset) = __vec;
1278 vec_xstd2(__vector
unsigned int __vec,
long __offset,
unsigned int *__ptr) {
1279 *(__vector
unsigned int *)((
char *)__ptr + __offset) = __vec;
1284 vec_xstd2(__vector
signed long long __vec,
long __offset,
1285 signed long long *__ptr) {
1286 *(__vector
signed long long *)((
char *)__ptr + __offset) = __vec;
1291 vec_xstd2(__vector
unsigned long long __vec,
long __offset,
1292 unsigned long long *__ptr) {
1293 *(__vector
unsigned long long *)((
char *)__ptr + __offset) = __vec;
1298 vec_xstd2(__vector
double __vec,
long __offset,
double *__ptr) {
1299 *(__vector
double *)((
char *)__ptr + __offset) = __vec;
1306 vec_xstw4(__vector
signed char __vec,
long __offset,
signed char *__ptr) {
1307 *(__vector
signed char *)((
char *)__ptr + __offset) = __vec;
1312 vec_xstw4(__vector
unsigned char __vec,
long __offset,
unsigned char *__ptr) {
1313 *(__vector
unsigned char *)((
char *)__ptr + __offset) = __vec;
1318 vec_xstw4(__vector
signed short __vec,
long __offset,
signed short *__ptr) {
1319 *(__vector
signed short *)((
char *)__ptr + __offset) = __vec;
1324 vec_xstw4(__vector
unsigned short __vec,
long __offset,
unsigned short *__ptr) {
1325 *(__vector
unsigned short *)((
char *)__ptr + __offset) = __vec;
1330 vec_xstw4(__vector
signed int __vec,
long __offset,
signed int *__ptr) {
1331 *(__vector
signed int *)((
char *)__ptr + __offset) = __vec;
1336 vec_xstw4(__vector
unsigned int __vec,
long __offset,
unsigned int *__ptr) {
1337 *(__vector
unsigned int *)((
char *)__ptr + __offset) = __vec;
1342 extern __ATTRS_o __vector
signed char
1343 vec_load_bndry(
const signed char *__ptr,
unsigned short __len)
1344 __constant_pow2_range(__len, 64, 4096);
1346 extern __ATTRS_o __vector
unsigned char
1347 vec_load_bndry(
const unsigned char *__ptr,
unsigned short __len)
1348 __constant_pow2_range(__len, 64, 4096);
1350 extern __ATTRS_o __vector
signed short
1351 vec_load_bndry(
const signed short *__ptr,
unsigned short __len)
1352 __constant_pow2_range(__len, 64, 4096);
1354 extern __ATTRS_o __vector
unsigned short
1355 vec_load_bndry(
const unsigned short *__ptr,
unsigned short __len)
1356 __constant_pow2_range(__len, 64, 4096);
1358 extern __ATTRS_o __vector
signed int
1359 vec_load_bndry(
const signed int *__ptr,
unsigned short __len)
1360 __constant_pow2_range(__len, 64, 4096);
1362 extern __ATTRS_o __vector
unsigned int
1363 vec_load_bndry(
const unsigned int *__ptr,
unsigned short __len)
1364 __constant_pow2_range(__len, 64, 4096);
1366 extern __ATTRS_o __vector
signed long long
1367 vec_load_bndry(
const signed long long *__ptr,
unsigned short __len)
1368 __constant_pow2_range(__len, 64, 4096);
1370 extern __ATTRS_o __vector
unsigned long long
1371 vec_load_bndry(
const unsigned long long *__ptr,
unsigned short __len)
1372 __constant_pow2_range(__len, 64, 4096);
1375 extern __ATTRS_o __vector
float
1376 vec_load_bndry(
const float *__ptr,
unsigned short __len)
1377 __constant_pow2_range(__len, 64, 4096);
1380 extern __ATTRS_o __vector
double
1381 vec_load_bndry(
const double *__ptr,
unsigned short __len)
1382 __constant_pow2_range(__len, 64, 4096);
1384 #define vec_load_bndry(X, Y) ((__typeof__((vec_load_bndry)((X), (Y)))) \
1385 __builtin_s390_vlbb((X), ((Y) == 64 ? 0 : \
1391 (Y) == 4096 ? 6 : -1)))
1396 vec_load_len(
const signed char *__ptr,
unsigned int __len) {
1397 return (__vector
signed char)__builtin_s390_vll(__len, __ptr);
1401 vec_load_len(
const unsigned char *__ptr,
unsigned int __len) {
1402 return (__vector
unsigned char)__builtin_s390_vll(__len, __ptr);
1406 vec_load_len(
const signed short *__ptr,
unsigned int __len) {
1407 return (__vector
signed short)__builtin_s390_vll(__len, __ptr);
1411 vec_load_len(
const unsigned short *__ptr,
unsigned int __len) {
1412 return (__vector
unsigned short)__builtin_s390_vll(__len, __ptr);
1416 vec_load_len(
const signed int *__ptr,
unsigned int __len) {
1417 return (__vector
signed int)__builtin_s390_vll(__len, __ptr);
1421 vec_load_len(
const unsigned int *__ptr,
unsigned int __len) {
1422 return (__vector
unsigned int)__builtin_s390_vll(__len, __ptr);
1426 vec_load_len(
const signed long long *__ptr,
unsigned int __len) {
1427 return (__vector
signed long long)__builtin_s390_vll(__len, __ptr);
1431 vec_load_len(
const unsigned long long *__ptr,
unsigned int __len) {
1432 return (__vector
unsigned long long)__builtin_s390_vll(__len, __ptr);
1437 vec_load_len(
const float *__ptr,
unsigned int __len) {
1438 return (__vector
float)__builtin_s390_vll(__len, __ptr);
1443 vec_load_len(
const double *__ptr,
unsigned int __len) {
1444 return (__vector
double)__builtin_s390_vll(__len, __ptr);
1450 static inline __ATTRS_ai __vector
unsigned char
1451 vec_load_len_r(
const unsigned char *__ptr,
unsigned int __len) {
1452 return (__vector
unsigned char)__builtin_s390_vlrl(__len, __ptr);
1459 vec_store_len(__vector
signed char __vec,
signed char *__ptr,
1460 unsigned int __len) {
1461 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1465 vec_store_len(__vector
unsigned char __vec,
unsigned char *__ptr,
1466 unsigned int __len) {
1467 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1471 vec_store_len(__vector
signed short __vec,
signed short *__ptr,
1472 unsigned int __len) {
1473 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1477 vec_store_len(__vector
unsigned short __vec,
unsigned short *__ptr,
1478 unsigned int __len) {
1479 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1483 vec_store_len(__vector
signed int __vec,
signed int *__ptr,
1484 unsigned int __len) {
1485 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1489 vec_store_len(__vector
unsigned int __vec,
unsigned int *__ptr,
1490 unsigned int __len) {
1491 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1495 vec_store_len(__vector
signed long long __vec,
signed long long *__ptr,
1496 unsigned int __len) {
1497 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1501 vec_store_len(__vector
unsigned long long __vec,
unsigned long long *__ptr,
1502 unsigned int __len) {
1503 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1508 vec_store_len(__vector
float __vec,
float *__ptr,
1509 unsigned int __len) {
1510 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1515 vec_store_len(__vector
double __vec,
double *__ptr,
1516 unsigned int __len) {
1517 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1523 static inline __ATTRS_ai
void
1524 vec_store_len_r(__vector
unsigned char __vec,
unsigned char *__ptr,
1525 unsigned int __len) {
1526 __builtin_s390_vstrl((__vector
signed char)__vec, __len, __ptr);
1533 vec_load_pair(
signed long long __a,
signed long long __b) {
1534 return (__vector
signed long long)(
__a,
__b);
1538 vec_load_pair(
unsigned long long __a,
unsigned long long __b) {
1539 return (__vector
unsigned long long)(
__a,
__b);
1545 vec_genmask(
unsigned short __mask)
1546 __constant(__mask) {
1547 return (__vector
unsigned char)(
1548 __mask & 0x8000 ? 0xff : 0,
1549 __mask & 0x4000 ? 0xff : 0,
1550 __mask & 0x2000 ? 0xff : 0,
1551 __mask & 0x1000 ? 0xff : 0,
1552 __mask & 0x0800 ? 0xff : 0,
1553 __mask & 0x0400 ? 0xff : 0,
1554 __mask & 0x0200 ? 0xff : 0,
1555 __mask & 0x0100 ? 0xff : 0,
1556 __mask & 0x0080 ? 0xff : 0,
1557 __mask & 0x0040 ? 0xff : 0,
1558 __mask & 0x0020 ? 0xff : 0,
1559 __mask & 0x0010 ? 0xff : 0,
1560 __mask & 0x0008 ? 0xff : 0,
1561 __mask & 0x0004 ? 0xff : 0,
1562 __mask & 0x0002 ? 0xff : 0,
1563 __mask & 0x0001 ? 0xff : 0);
1569 vec_genmasks_8(
unsigned char __first,
unsigned char __last)
1570 __constant(__first) __constant(__last) {
1571 unsigned char __bit1 = __first & 7;
1572 unsigned char __bit2 = __last & 7;
1573 unsigned char __mask1 = (
unsigned char)(1U << (7 - __bit1) << 1) - 1;
1574 unsigned char __mask2 = (
unsigned char)(1U << (7 - __bit2)) - 1;
1575 unsigned char __value = (__bit1 <= __bit2 ?
1576 __mask1 & ~__mask2 :
1577 __mask1 | ~__mask2);
1578 return (__vector
unsigned char)
__value;
1582 vec_genmasks_16(
unsigned char __first,
unsigned char __last)
1583 __constant(__first) __constant(__last) {
1584 unsigned char __bit1 = __first & 15;
1585 unsigned char __bit2 = __last & 15;
1586 unsigned short __mask1 = (
unsigned short)(1U << (15 - __bit1) << 1) - 1;
1587 unsigned short __mask2 = (
unsigned short)(1U << (15 - __bit2)) - 1;
1588 unsigned short __value = (__bit1 <= __bit2 ?
1589 __mask1 & ~__mask2 :
1590 __mask1 | ~__mask2);
1591 return (__vector
unsigned short)
__value;
1595 vec_genmasks_32(
unsigned char __first,
unsigned char __last)
1596 __constant(__first) __constant(__last) {
1597 unsigned char __bit1 = __first & 31;
1598 unsigned char __bit2 = __last & 31;
1599 unsigned int __mask1 = (1U << (31 - __bit1) << 1) - 1;
1600 unsigned int __mask2 = (1U << (31 - __bit2)) - 1;
1601 unsigned int __value = (__bit1 <= __bit2 ?
1602 __mask1 & ~__mask2 :
1603 __mask1 | ~__mask2);
1604 return (__vector
unsigned int)
__value;
1608 vec_genmasks_64(
unsigned char __first,
unsigned char __last)
1609 __constant(__first) __constant(__last) {
1610 unsigned char __bit1 = __first & 63;
1611 unsigned char __bit2 = __last & 63;
1612 unsigned long long __mask1 = (1ULL << (63 - __bit1) << 1) - 1;
1613 unsigned long long __mask2 = (1ULL << (63 - __bit2)) - 1;
1614 unsigned long long __value = (__bit1 <= __bit2 ?
1615 __mask1 & ~__mask2 :
1616 __mask1 | ~__mask2);
1617 return (__vector
unsigned long long)
__value;
1623 vec_splat(__vector
signed char __vec,
int __index)
1624 __constant_range(__index, 0, 15) {
1625 return (__vector
signed char)__vec[__index];
1629 vec_splat(__vector __bool
char __vec,
int __index)
1630 __constant_range(__index, 0, 15) {
1631 return (__vector __bool
char)(__vector
unsigned char)__vec[__index];
1635 vec_splat(__vector
unsigned char __vec,
int __index)
1636 __constant_range(__index, 0, 15) {
1637 return (__vector
unsigned char)__vec[__index];
1641 vec_splat(__vector
signed short __vec,
int __index)
1642 __constant_range(__index, 0, 7) {
1643 return (__vector
signed short)__vec[__index];
1647 vec_splat(__vector __bool
short __vec,
int __index)
1648 __constant_range(__index, 0, 7) {
1649 return (__vector __bool
short)(__vector
unsigned short)__vec[__index];
1653 vec_splat(__vector
unsigned short __vec,
int __index)
1654 __constant_range(__index, 0, 7) {
1655 return (__vector
unsigned short)__vec[__index];
1659 vec_splat(__vector
signed int __vec,
int __index)
1660 __constant_range(__index, 0, 3) {
1661 return (__vector
signed int)__vec[__index];
1665 vec_splat(__vector __bool
int __vec,
int __index)
1666 __constant_range(__index, 0, 3) {
1667 return (__vector __bool
int)(__vector
unsigned int)__vec[__index];
1671 vec_splat(__vector
unsigned int __vec,
int __index)
1672 __constant_range(__index, 0, 3) {
1673 return (__vector
unsigned int)__vec[__index];
1677 vec_splat(__vector
signed long long __vec,
int __index)
1678 __constant_range(__index, 0, 1) {
1679 return (__vector
signed long long)__vec[__index];
1683 vec_splat(__vector __bool
long long __vec,
int __index)
1684 __constant_range(__index, 0, 1) {
1685 return ((__vector __bool
long long)
1686 (__vector
unsigned long long)__vec[__index]);
1690 vec_splat(__vector
unsigned long long __vec,
int __index)
1691 __constant_range(__index, 0, 1) {
1692 return (__vector
unsigned long long)__vec[__index];
1697 vec_splat(__vector
float __vec,
int __index)
1698 __constant_range(__index, 0, 3) {
1699 return (__vector
float)__vec[__index];
1704 vec_splat(__vector
double __vec,
int __index)
1705 __constant_range(__index, 0, 1) {
1706 return (__vector
double)__vec[__index];
1711 static inline __ATTRS_ai __vector
signed char
1713 __constant(__scalar) {
1714 return (__vector
signed char)__scalar;
1717 static inline __ATTRS_ai __vector
signed short
1719 __constant(__scalar) {
1720 return (__vector
signed short)__scalar;
1723 static inline __ATTRS_ai __vector
signed int
1725 __constant(__scalar) {
1726 return (__vector
signed int)(
signed int)__scalar;
1729 static inline __ATTRS_ai __vector
signed long long
1730 vec_splat_s64(
signed short __scalar)
1731 __constant(__scalar) {
1732 return (__vector
signed long long)(
signed long)__scalar;
1737 static inline __ATTRS_ai __vector
unsigned char
1739 __constant(__scalar) {
1740 return (__vector
unsigned char)__scalar;
1743 static inline __ATTRS_ai __vector
unsigned short
1745 __constant(__scalar) {
1746 return (__vector
unsigned short)__scalar;
1749 static inline __ATTRS_ai __vector
unsigned int
1751 __constant(__scalar) {
1752 return (__vector
unsigned int)(
signed int)__scalar;
1755 static inline __ATTRS_ai __vector
unsigned long long
1756 vec_splat_u64(
signed short __scalar)
1757 __constant(__scalar) {
1758 return (__vector
unsigned long long)(
signed long long)__scalar;
1765 return (__vector
signed char)__scalar;
1770 return (__vector
unsigned char)__scalar;
1775 return (__vector
signed short)__scalar;
1780 return (__vector
unsigned short)__scalar;
1785 return (__vector
signed int)__scalar;
1790 return (__vector
unsigned int)__scalar;
1795 return (__vector
signed long long)__scalar;
1800 return (__vector
unsigned long long)__scalar;
1806 return (__vector
float)__scalar;
1812 return (__vector
double)__scalar;
1818 vec_extend_s64(__vector
signed char __a) {
1819 return (__vector
signed long long)(
__a[7],
__a[15]);
1823 vec_extend_s64(__vector
signed short __a) {
1824 return (__vector
signed long long)(
__a[3],
__a[7]);
1828 vec_extend_s64(__vector
signed int __a) {
1829 return (__vector
signed long long)(
__a[1],
__a[3]);
1836 return (__vector
signed char)(
1843 return (__vector __bool
char)(
1850 return (__vector
unsigned char)(
1857 return (__vector
signed short)(
1863 return (__vector __bool
short)(
1869 return (__vector
unsigned short)(
1875 return (__vector
signed int)(
__a[0],
__b[0],
__a[1],
__b[1]);
1880 return (__vector __bool
int)(
__a[0],
__b[0],
__a[1],
__b[1]);
1885 return (__vector
unsigned int)(
__a[0],
__b[0],
__a[1],
__b[1]);
1890 return (__vector
signed long long)(
__a[0],
__b[0]);
1895 return (__vector __bool
long long)(
__a[0],
__b[0]);
1899 vec_mergeh(__vector
unsigned long long __a, __vector
unsigned long long __b) {
1900 return (__vector
unsigned long long)(
__a[0],
__b[0]);
1906 return (__vector
float)(
__a[0],
__b[0],
__a[1],
__b[1]);
1912 return (__vector
double)(
__a[0],
__b[0]);
1919 return (__vector
signed char)(
1926 return (__vector __bool
char)(
1933 return (__vector
unsigned char)(
1940 return (__vector
signed short)(
1946 return (__vector __bool
short)(
1952 return (__vector
unsigned short)(
1958 return (__vector
signed int)(
__a[2],
__b[2],
__a[3],
__b[3]);
1963 return (__vector __bool
int)(
__a[2],
__b[2],
__a[3],
__b[3]);
1968 return (__vector
unsigned int)(
__a[2],
__b[2],
__a[3],
__b[3]);
1973 return (__vector
signed long long)(
__a[1],
__b[1]);
1978 return (__vector __bool
long long)(
__a[1],
__b[1]);
1982 vec_mergel(__vector
unsigned long long __a, __vector
unsigned long long __b) {
1983 return (__vector
unsigned long long)(
__a[1],
__b[1]);
1989 return (__vector
float)(
__a[2],
__b[2],
__a[3],
__b[3]);
1995 return (__vector
double)(
__a[1],
__b[1]);
2002 __vector
signed char __ac = (__vector
signed char)
__a;
2003 __vector
signed char __bc = (__vector
signed char)
__b;
2004 return (__vector
signed char)(
2005 __ac[1], __ac[3], __ac[5], __ac[7], __ac[9], __ac[11], __ac[13], __ac[15],
2006 __bc[1], __bc[3], __bc[5], __bc[7], __bc[9], __bc[11], __bc[13], __bc[15]);
2011 __vector __bool
char __ac = (__vector __bool char)
__a;
2012 __vector __bool
char __bc = (__vector __bool char)
__b;
2013 return (__vector __bool
char)(
2014 __ac[1], __ac[3], __ac[5], __ac[7], __ac[9], __ac[11], __ac[13], __ac[15],
2015 __bc[1], __bc[3], __bc[5], __bc[7], __bc[9], __bc[11], __bc[13], __bc[15]);
2019 vec_pack(__vector
unsigned short __a, __vector
unsigned short __b) {
2020 __vector
unsigned char __ac = (__vector
unsigned char)
__a;
2021 __vector
unsigned char __bc = (__vector
unsigned char)
__b;
2022 return (__vector
unsigned char)(
2023 __ac[1], __ac[3], __ac[5], __ac[7], __ac[9], __ac[11], __ac[13], __ac[15],
2024 __bc[1], __bc[3], __bc[5], __bc[7], __bc[9], __bc[11], __bc[13], __bc[15]);
2029 __vector
signed short __ac = (__vector
signed short)
__a;
2030 __vector
signed short __bc = (__vector
signed short)
__b;
2031 return (__vector
signed short)(
2032 __ac[1], __ac[3], __ac[5], __ac[7],
2033 __bc[1], __bc[3], __bc[5], __bc[7]);
2038 __vector __bool
short __ac = (__vector __bool short)
__a;
2039 __vector __bool
short __bc = (__vector __bool short)
__b;
2040 return (__vector __bool
short)(
2041 __ac[1], __ac[3], __ac[5], __ac[7],
2042 __bc[1], __bc[3], __bc[5], __bc[7]);
2047 __vector
unsigned short __ac = (__vector
unsigned short)
__a;
2048 __vector
unsigned short __bc = (__vector
unsigned short)
__b;
2049 return (__vector
unsigned short)(
2050 __ac[1], __ac[3], __ac[5], __ac[7],
2051 __bc[1], __bc[3], __bc[5], __bc[7]);
2055 vec_pack(__vector
signed long long __a, __vector
signed long long __b) {
2056 __vector
signed int __ac = (__vector
signed int)
__a;
2057 __vector
signed int __bc = (__vector
signed int)
__b;
2058 return (__vector
signed int)(__ac[1], __ac[3], __bc[1], __bc[3]);
2062 vec_pack(__vector __bool
long long __a, __vector __bool
long long __b) {
2063 __vector __bool
int __ac = (__vector __bool
int)
__a;
2064 __vector __bool
int __bc = (__vector __bool
int)
__b;
2065 return (__vector __bool
int)(__ac[1], __ac[3], __bc[1], __bc[3]);
2069 vec_pack(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2070 __vector
unsigned int __ac = (__vector
unsigned int)
__a;
2071 __vector
unsigned int __bc = (__vector
unsigned int)
__b;
2072 return (__vector
unsigned int)(__ac[1], __ac[3], __bc[1], __bc[3]);
2079 return __builtin_s390_vpksh(
__a,
__b);
2084 return __builtin_s390_vpklsh(
__a,
__b);
2089 return __builtin_s390_vpksf(
__a,
__b);
2094 return __builtin_s390_vpklsf(
__a,
__b);
2098 vec_packs(__vector
signed long long __a, __vector
signed long long __b) {
2099 return __builtin_s390_vpksg(
__a,
__b);
2103 vec_packs(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2104 return __builtin_s390_vpklsg(
__a,
__b);
2110 vec_packs_cc(__vector
signed short __a, __vector
signed short __b,
int *__cc) {
2111 return __builtin_s390_vpkshs(
__a,
__b, __cc);
2115 vec_packs_cc(__vector
unsigned short __a, __vector
unsigned short __b,
2117 return __builtin_s390_vpklshs(
__a,
__b, __cc);
2121 vec_packs_cc(__vector
signed int __a, __vector
signed int __b,
int *__cc) {
2122 return __builtin_s390_vpksfs(
__a,
__b, __cc);
2126 vec_packs_cc(__vector
unsigned int __a, __vector
unsigned int __b,
int *__cc) {
2127 return __builtin_s390_vpklsfs(
__a,
__b, __cc);
2131 vec_packs_cc(__vector
signed long long __a, __vector
signed long long __b,
2133 return __builtin_s390_vpksgs(
__a,
__b, __cc);
2137 vec_packs_cc(__vector
unsigned long long __a, __vector
unsigned long long __b,
2139 return __builtin_s390_vpklsgs(
__a,
__b, __cc);
2146 const __vector
signed short __zero = (__vector
signed short)0;
2147 return __builtin_s390_vpklsh(
2148 (__vector
unsigned short)(
__a >= __zero) & (__vector
unsigned short)
__a,
2149 (__vector
unsigned short)(
__b >= __zero) & (__vector
unsigned short)
__b);
2154 return __builtin_s390_vpklsh(
__a,
__b);
2159 const __vector
signed int __zero = (__vector
signed int)0;
2160 return __builtin_s390_vpklsf(
2161 (__vector
unsigned int)(
__a >= __zero) & (__vector
unsigned int)
__a,
2162 (__vector
unsigned int)(
__b >= __zero) & (__vector
unsigned int)
__b);
2167 return __builtin_s390_vpklsf(
__a,
__b);
2172 const __vector
signed long long __zero = (__vector
signed long long)0;
2173 return __builtin_s390_vpklsg(
2174 (__vector
unsigned long long)(
__a >= __zero) &
2175 (__vector
unsigned long long)
__a,
2176 (__vector
unsigned long long)(
__b >= __zero) &
2177 (__vector
unsigned long long)
__b);
2181 vec_packsu(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2182 return __builtin_s390_vpklsg(
__a,
__b);
2188 vec_packsu_cc(__vector
unsigned short __a, __vector
unsigned short __b,
2190 return __builtin_s390_vpklshs(
__a,
__b, __cc);
2194 vec_packsu_cc(__vector
unsigned int __a, __vector
unsigned int __b,
int *__cc) {
2195 return __builtin_s390_vpklsfs(
__a,
__b, __cc);
2199 vec_packsu_cc(__vector
unsigned long long __a, __vector
unsigned long long __b,
2201 return __builtin_s390_vpklsgs(
__a,
__b, __cc);
2208 return __builtin_s390_vuphb(
__a);
2213 return ((__vector __bool
short)
2214 __builtin_s390_vuphb((__vector
signed char)
__a));
2219 return __builtin_s390_vuplhb(
__a);
2224 return __builtin_s390_vuphh(
__a);
2229 return (__vector __bool
int)__builtin_s390_vuphh((__vector
signed short)
__a);
2234 return __builtin_s390_vuplhh(
__a);
2239 return __builtin_s390_vuphf(
__a);
2244 return ((__vector __bool
long long)
2245 __builtin_s390_vuphf((__vector
signed int)
__a));
2250 return __builtin_s390_vuplhf(
__a);
2257 return __builtin_s390_vuplb(
__a);
2262 return ((__vector __bool
short)
2263 __builtin_s390_vuplb((__vector
signed char)
__a));
2268 return __builtin_s390_vupllb(
__a);
2273 return __builtin_s390_vuplhw(
__a);
2278 return ((__vector __bool
int)
2279 __builtin_s390_vuplhw((__vector
signed short)
__a));
2284 return __builtin_s390_vupllh(
__a);
2289 return __builtin_s390_vuplf(
__a);
2294 return ((__vector __bool
long long)
2295 __builtin_s390_vuplf((__vector
signed int)
__a));
2300 return __builtin_s390_vupllf(
__a);
2307 return (__vector __bool
char)(
__a ==
__b);
2312 return (__vector __bool
char)(
__a ==
__b);
2317 return (__vector __bool
char)(
__a ==
__b);
2322 return (__vector __bool
short)(
__a ==
__b);
2327 return (__vector __bool
short)(
__a ==
__b);
2332 return (__vector __bool
short)(
__a ==
__b);
2337 return (__vector __bool
int)(
__a ==
__b);
2342 return (__vector __bool
int)(
__a ==
__b);
2347 return (__vector __bool
int)(
__a ==
__b);
2351 vec_cmpeq(__vector __bool
long long __a, __vector __bool
long long __b) {
2352 return (__vector __bool
long long)(
__a ==
__b);
2356 vec_cmpeq(__vector
signed long long __a, __vector
signed long long __b) {
2357 return (__vector __bool
long long)(
__a ==
__b);
2361 vec_cmpeq(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2362 return (__vector __bool
long long)(
__a ==
__b);
2368 return (__vector __bool
int)(
__a ==
__b);
2374 return (__vector __bool
long long)(
__a ==
__b);
2381 return (__vector __bool
char)(
__a >=
__b);
2386 return (__vector __bool
char)(
__a >=
__b);
2391 return (__vector __bool
short)(
__a >=
__b);
2396 return (__vector __bool
short)(
__a >=
__b);
2401 return (__vector __bool
int)(
__a >=
__b);
2406 return (__vector __bool
int)(
__a >=
__b);
2410 vec_cmpge(__vector
signed long long __a, __vector
signed long long __b) {
2411 return (__vector __bool
long long)(
__a >=
__b);
2415 vec_cmpge(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2416 return (__vector __bool
long long)(
__a >=
__b);
2422 return (__vector __bool
int)(
__a >=
__b);
2428 return (__vector __bool
long long)(
__a >=
__b);
2435 return (__vector __bool
char)(
__a >
__b);
2440 return (__vector __bool
char)(
__a >
__b);
2445 return (__vector __bool
short)(
__a >
__b);
2450 return (__vector __bool
short)(
__a >
__b);
2455 return (__vector __bool
int)(
__a >
__b);
2460 return (__vector __bool
int)(
__a >
__b);
2464 vec_cmpgt(__vector
signed long long __a, __vector
signed long long __b) {
2465 return (__vector __bool
long long)(
__a >
__b);
2469 vec_cmpgt(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2470 return (__vector __bool
long long)(
__a >
__b);
2476 return (__vector __bool
int)(
__a >
__b);
2482 return (__vector __bool
long long)(
__a >
__b);
2489 return (__vector __bool
char)(
__a <=
__b);
2494 return (__vector __bool
char)(
__a <=
__b);
2499 return (__vector __bool
short)(
__a <=
__b);
2504 return (__vector __bool
short)(
__a <=
__b);
2509 return (__vector __bool
int)(
__a <=
__b);
2514 return (__vector __bool
int)(
__a <=
__b);
2518 vec_cmple(__vector
signed long long __a, __vector
signed long long __b) {
2519 return (__vector __bool
long long)(
__a <=
__b);
2523 vec_cmple(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2524 return (__vector __bool
long long)(
__a <=
__b);
2530 return (__vector __bool
int)(
__a <=
__b);
2536 return (__vector __bool
long long)(
__a <=
__b);
2543 return (__vector __bool
char)(
__a <
__b);
2548 return (__vector __bool
char)(
__a <
__b);
2553 return (__vector __bool
short)(
__a <
__b);
2558 return (__vector __bool
short)(
__a <
__b);
2563 return (__vector __bool
int)(
__a <
__b);
2568 return (__vector __bool
int)(
__a <
__b);
2572 vec_cmplt(__vector
signed long long __a, __vector
signed long long __b) {
2573 return (__vector __bool
long long)(
__a <
__b);
2577 vec_cmplt(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2578 return (__vector __bool
long long)(
__a <
__b);
2584 return (__vector __bool
int)(
__a <
__b);
2590 return (__vector __bool
long long)(
__a <
__b);
2598 __builtin_s390_vceqbs(
__a,
__b, &__cc);
2606 __builtin_s390_vceqbs(
__a, (__vector
signed char)
__b, &__cc);
2614 __builtin_s390_vceqbs((__vector
signed char)
__a,
__b, &__cc);
2621 __builtin_s390_vceqbs((__vector
signed char)
__a,
2622 (__vector
signed char)
__b, &__cc);
2630 __builtin_s390_vceqbs((__vector
signed char)
__a,
2631 (__vector
signed char)
__b, &__cc);
2639 __builtin_s390_vceqbs((__vector
signed char)
__a,
2640 (__vector
signed char)
__b, &__cc);
2647 __builtin_s390_vceqbs((__vector
signed char)
__a,
2648 (__vector
signed char)
__b, &__cc);
2655 __builtin_s390_vceqhs(
__a,
__b, &__cc);
2663 __builtin_s390_vceqhs(
__a, (__vector
signed short)
__b, &__cc);
2671 __builtin_s390_vceqhs((__vector
signed short)
__a,
__b, &__cc);
2678 __builtin_s390_vceqhs((__vector
signed short)
__a,
2679 (__vector
signed short)
__b, &__cc);
2687 __builtin_s390_vceqhs((__vector
signed short)
__a,
2688 (__vector
signed short)
__b, &__cc);
2696 __builtin_s390_vceqhs((__vector
signed short)
__a,
2697 (__vector
signed short)
__b, &__cc);
2704 __builtin_s390_vceqhs((__vector
signed short)
__a,
2705 (__vector
signed short)
__b, &__cc);
2712 __builtin_s390_vceqfs(
__a,
__b, &__cc);
2720 __builtin_s390_vceqfs(
__a, (__vector
signed int)
__b, &__cc);
2728 __builtin_s390_vceqfs((__vector
signed int)
__a,
__b, &__cc);
2735 __builtin_s390_vceqfs((__vector
signed int)
__a,
2736 (__vector
signed int)
__b, &__cc);
2744 __builtin_s390_vceqfs((__vector
signed int)
__a,
2745 (__vector
signed int)
__b, &__cc);
2753 __builtin_s390_vceqfs((__vector
signed int)
__a,
2754 (__vector
signed int)
__b, &__cc);
2761 __builtin_s390_vceqfs((__vector
signed int)
__a,
2762 (__vector
signed int)
__b, &__cc);
2769 __builtin_s390_vceqgs(
__a,
__b, &__cc);
2777 __builtin_s390_vceqgs(
__a, (__vector
signed long long)
__b, &__cc);
2785 __builtin_s390_vceqgs((__vector
signed long long)
__a,
__b, &__cc);
2790 vec_all_eq(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2792 __builtin_s390_vceqgs((__vector
signed long long)
__a,
2793 (__vector
signed long long)
__b, &__cc);
2799 vec_all_eq(__vector
unsigned long long __a, __vector __bool
long long __b) {
2801 __builtin_s390_vceqgs((__vector
signed long long)
__a,
2802 (__vector
signed long long)
__b, &__cc);
2808 vec_all_eq(__vector __bool
long long __a, __vector
unsigned long long __b) {
2810 __builtin_s390_vceqgs((__vector
signed long long)
__a,
2811 (__vector
signed long long)
__b, &__cc);
2818 __builtin_s390_vceqgs((__vector
signed long long)
__a,
2819 (__vector
signed long long)
__b, &__cc);
2827 __builtin_s390_vfcesbs(
__a,
__b, &__cc);
2835 __builtin_s390_vfcedbs(
__a,
__b, &__cc);
2844 __builtin_s390_vceqbs(
__a,
__b, &__cc);
2852 __builtin_s390_vceqbs(
__a, (__vector
signed char)
__b, &__cc);
2860 __builtin_s390_vceqbs((__vector
signed char)
__a,
__b, &__cc);
2867 __builtin_s390_vceqbs((__vector
signed char)
__a,
2868 (__vector
signed char)
__b, &__cc);
2876 __builtin_s390_vceqbs((__vector
signed char)
__a,
2877 (__vector
signed char)
__b, &__cc);
2885 __builtin_s390_vceqbs((__vector
signed char)
__a,
2886 (__vector
signed char)
__b, &__cc);
2893 __builtin_s390_vceqbs((__vector
signed char)
__a,
2894 (__vector
signed char)
__b, &__cc);
2901 __builtin_s390_vceqhs(
__a,
__b, &__cc);
2909 __builtin_s390_vceqhs(
__a, (__vector
signed short)
__b, &__cc);
2917 __builtin_s390_vceqhs((__vector
signed short)
__a,
__b, &__cc);
2924 __builtin_s390_vceqhs((__vector
signed short)
__a,
2925 (__vector
signed short)
__b, &__cc);
2933 __builtin_s390_vceqhs((__vector
signed short)
__a,
2934 (__vector
signed short)
__b, &__cc);
2942 __builtin_s390_vceqhs((__vector
signed short)
__a,
2943 (__vector
signed short)
__b, &__cc);
2950 __builtin_s390_vceqhs((__vector
signed short)
__a,
2951 (__vector
signed short)
__b, &__cc);
2958 __builtin_s390_vceqfs(
__a,
__b, &__cc);
2966 __builtin_s390_vceqfs(
__a, (__vector
signed int)
__b, &__cc);
2974 __builtin_s390_vceqfs((__vector
signed int)
__a,
__b, &__cc);
2981 __builtin_s390_vceqfs((__vector
signed int)
__a,
2982 (__vector
signed int)
__b, &__cc);
2990 __builtin_s390_vceqfs((__vector
signed int)
__a,
2991 (__vector
signed int)
__b, &__cc);
2999 __builtin_s390_vceqfs((__vector
signed int)
__a,
3000 (__vector
signed int)
__b, &__cc);
3007 __builtin_s390_vceqfs((__vector
signed int)
__a,
3008 (__vector
signed int)
__b, &__cc);
3015 __builtin_s390_vceqgs(
__a,
__b, &__cc);
3023 __builtin_s390_vceqgs(
__a, (__vector
signed long long)
__b, &__cc);
3031 __builtin_s390_vceqgs((__vector
signed long long)
__a,
__b, &__cc);
3036 vec_all_ne(__vector
unsigned long long __a, __vector
unsigned long long __b) {
3038 __builtin_s390_vceqgs((__vector
signed long long)
__a,
3039 (__vector
signed long long)
__b, &__cc);
3045 vec_all_ne(__vector
unsigned long long __a, __vector __bool
long long __b) {
3047 __builtin_s390_vceqgs((__vector
signed long long)
__a,
3048 (__vector
signed long long)
__b, &__cc);
3054 vec_all_ne(__vector __bool
long long __a, __vector
unsigned long long __b) {
3056 __builtin_s390_vceqgs((__vector
signed long long)
__a,
3057 (__vector
signed long long)
__b, &__cc);
3064 __builtin_s390_vceqgs((__vector
signed long long)
__a,
3065 (__vector
signed long long)
__b, &__cc);
3073 __builtin_s390_vfcesbs(
__a,
__b, &__cc);
3081 __builtin_s390_vfcedbs(
__a,
__b, &__cc);
3090 __builtin_s390_vchbs(
__b,
__a, &__cc);
3098 __builtin_s390_vchbs((__vector
signed char)
__b,
__a, &__cc);
3106 __builtin_s390_vchbs(
__b, (__vector
signed char)
__a, &__cc);
3113 __builtin_s390_vchlbs(
__b,
__a, &__cc);
3121 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
__a, &__cc);
3129 __builtin_s390_vchlbs(
__b, (__vector
unsigned char)
__a, &__cc);
3137 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
3138 (__vector
unsigned char)
__a, &__cc);
3145 __builtin_s390_vchhs(
__b,
__a, &__cc);
3153 __builtin_s390_vchhs((__vector
signed short)
__b,
__a, &__cc);
3161 __builtin_s390_vchhs(
__b, (__vector
signed short)
__a, &__cc);
3168 __builtin_s390_vchlhs(
__b,
__a, &__cc);
3176 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
__a, &__cc);
3184 __builtin_s390_vchlhs(
__b, (__vector
unsigned short)
__a, &__cc);
3192 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
3193 (__vector
unsigned short)
__a, &__cc);
3200 __builtin_s390_vchfs(
__b,
__a, &__cc);
3208 __builtin_s390_vchfs((__vector
signed int)
__b,
__a, &__cc);
3216 __builtin_s390_vchfs(
__b, (__vector
signed int)
__a, &__cc);
3223 __builtin_s390_vchlfs(
__b,
__a, &__cc);
3231 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
__a, &__cc);
3239 __builtin_s390_vchlfs(
__b, (__vector
unsigned int)
__a, &__cc);
3247 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
3248 (__vector
unsigned int)
__a, &__cc);
3255 __builtin_s390_vchgs(
__b,
__a, &__cc);
3263 __builtin_s390_vchgs((__vector
signed long long)
__b,
__a, &__cc);
3271 __builtin_s390_vchgs(
__b, (__vector
signed long long)
__a, &__cc);
3276 vec_all_ge(__vector
unsigned long long __a, __vector
unsigned long long __b) {
3278 __builtin_s390_vchlgs(
__b,
__a, &__cc);
3284 vec_all_ge(__vector
unsigned long long __a, __vector __bool
long long __b) {
3286 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
__a, &__cc);
3292 vec_all_ge(__vector __bool
long long __a, __vector
unsigned long long __b) {
3294 __builtin_s390_vchlgs(
__b, (__vector
unsigned long long)
__a, &__cc);
3302 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
3303 (__vector
unsigned long long)
__a, &__cc);
3311 __builtin_s390_vfchesbs(
__a,
__b, &__cc);
3319 __builtin_s390_vfchedbs(
__a,
__b, &__cc);
3328 __builtin_s390_vchbs(
__a,
__b, &__cc);
3336 __builtin_s390_vchbs(
__a, (__vector
signed char)
__b, &__cc);
3344 __builtin_s390_vchbs((__vector
signed char)
__a,
__b, &__cc);
3351 __builtin_s390_vchlbs(
__a,
__b, &__cc);
3359 __builtin_s390_vchlbs(
__a, (__vector
unsigned char)
__b, &__cc);
3367 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
__b, &__cc);
3375 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
3376 (__vector
unsigned char)
__b, &__cc);
3383 __builtin_s390_vchhs(
__a,
__b, &__cc);
3391 __builtin_s390_vchhs(
__a, (__vector
signed short)
__b, &__cc);
3399 __builtin_s390_vchhs((__vector
signed short)
__a,
__b, &__cc);
3406 __builtin_s390_vchlhs(
__a,
__b, &__cc);
3414 __builtin_s390_vchlhs(
__a, (__vector
unsigned short)
__b, &__cc);
3422 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
__b, &__cc);
3430 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
3431 (__vector
unsigned short)
__b, &__cc);
3438 __builtin_s390_vchfs(
__a,
__b, &__cc);
3446 __builtin_s390_vchfs(
__a, (__vector
signed int)
__b, &__cc);
3454 __builtin_s390_vchfs((__vector
signed int)
__a,
__b, &__cc);
3461 __builtin_s390_vchlfs(
__a,
__b, &__cc);
3469 __builtin_s390_vchlfs(
__a, (__vector
unsigned int)
__b, &__cc);
3477 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
__b, &__cc);
3485 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
3486 (__vector
unsigned int)
__b, &__cc);
3493 __builtin_s390_vchgs(
__a,
__b, &__cc);
3501 __builtin_s390_vchgs(
__a, (__vector
signed long long)
__b, &__cc);
3509 __builtin_s390_vchgs((__vector
signed long long)
__a,
__b, &__cc);
3514 vec_all_gt(__vector
unsigned long long __a, __vector
unsigned long long __b) {
3516 __builtin_s390_vchlgs(
__a,
__b, &__cc);
3522 vec_all_gt(__vector
unsigned long long __a, __vector __bool
long long __b) {
3524 __builtin_s390_vchlgs(
__a, (__vector
unsigned long long)
__b, &__cc);
3530 vec_all_gt(__vector __bool
long long __a, __vector
unsigned long long __b) {
3532 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
__b, &__cc);
3540 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
3541 (__vector
unsigned long long)
__b, &__cc);
3549 __builtin_s390_vfchsbs(
__a,
__b, &__cc);
3557 __builtin_s390_vfchdbs(
__a,
__b, &__cc);
3566 __builtin_s390_vchbs(
__a,
__b, &__cc);
3574 __builtin_s390_vchbs(
__a, (__vector
signed char)
__b, &__cc);
3582 __builtin_s390_vchbs((__vector
signed char)
__a,
__b, &__cc);
3589 __builtin_s390_vchlbs(
__a,
__b, &__cc);
3597 __builtin_s390_vchlbs(
__a, (__vector
unsigned char)
__b, &__cc);
3605 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
__b, &__cc);
3613 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
3614 (__vector
unsigned char)
__b, &__cc);
3621 __builtin_s390_vchhs(
__a,
__b, &__cc);
3629 __builtin_s390_vchhs(
__a, (__vector
signed short)
__b, &__cc);
3637 __builtin_s390_vchhs((__vector
signed short)
__a,
__b, &__cc);
3644 __builtin_s390_vchlhs(
__a,
__b, &__cc);
3652 __builtin_s390_vchlhs(
__a, (__vector
unsigned short)
__b, &__cc);
3660 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
__b, &__cc);
3668 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
3669 (__vector
unsigned short)
__b, &__cc);
3676 __builtin_s390_vchfs(
__a,
__b, &__cc);
3684 __builtin_s390_vchfs(
__a, (__vector
signed int)
__b, &__cc);
3692 __builtin_s390_vchfs((__vector
signed int)
__a,
__b, &__cc);
3699 __builtin_s390_vchlfs(
__a,
__b, &__cc);
3707 __builtin_s390_vchlfs(
__a, (__vector
unsigned int)
__b, &__cc);
3715 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
__b, &__cc);
3723 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
3724 (__vector
unsigned int)
__b, &__cc);
3731 __builtin_s390_vchgs(
__a,
__b, &__cc);
3739 __builtin_s390_vchgs(
__a, (__vector
signed long long)
__b, &__cc);
3747 __builtin_s390_vchgs((__vector
signed long long)
__a,
__b, &__cc);
3752 vec_all_le(__vector
unsigned long long __a, __vector
unsigned long long __b) {
3754 __builtin_s390_vchlgs(
__a,
__b, &__cc);
3760 vec_all_le(__vector
unsigned long long __a, __vector __bool
long long __b) {
3762 __builtin_s390_vchlgs(
__a, (__vector
unsigned long long)
__b, &__cc);
3768 vec_all_le(__vector __bool
long long __a, __vector
unsigned long long __b) {
3770 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
__b, &__cc);
3778 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
3779 (__vector
unsigned long long)
__b, &__cc);
3787 __builtin_s390_vfchesbs(
__b,
__a, &__cc);
3795 __builtin_s390_vfchedbs(
__b,
__a, &__cc);
3804 __builtin_s390_vchbs(
__b,
__a, &__cc);
3812 __builtin_s390_vchbs((__vector
signed char)
__b,
__a, &__cc);
3820 __builtin_s390_vchbs(
__b, (__vector
signed char)
__a, &__cc);
3827 __builtin_s390_vchlbs(
__b,
__a, &__cc);
3835 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
__a, &__cc);
3843 __builtin_s390_vchlbs(
__b, (__vector
unsigned char)
__a, &__cc);
3851 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
3852 (__vector
unsigned char)
__a, &__cc);
3859 __builtin_s390_vchhs(
__b,
__a, &__cc);
3867 __builtin_s390_vchhs((__vector
signed short)
__b,
__a, &__cc);
3875 __builtin_s390_vchhs(
__b, (__vector
signed short)
__a, &__cc);
3882 __builtin_s390_vchlhs(
__b,
__a, &__cc);
3890 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
__a, &__cc);
3898 __builtin_s390_vchlhs(
__b, (__vector
unsigned short)
__a, &__cc);
3906 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
3907 (__vector
unsigned short)
__a, &__cc);
3914 __builtin_s390_vchfs(
__b,
__a, &__cc);
3922 __builtin_s390_vchfs((__vector
signed int)
__b,
__a, &__cc);
3930 __builtin_s390_vchfs(
__b, (__vector
signed int)
__a, &__cc);
3937 __builtin_s390_vchlfs(
__b,
__a, &__cc);
3945 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
__a, &__cc);
3953 __builtin_s390_vchlfs(
__b, (__vector
unsigned int)
__a, &__cc);
3961 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
3962 (__vector
unsigned int)
__a, &__cc);
3969 __builtin_s390_vchgs(
__b,
__a, &__cc);
3977 __builtin_s390_vchgs((__vector
signed long long)
__b,
__a, &__cc);
3985 __builtin_s390_vchgs(
__b, (__vector
signed long long)
__a, &__cc);
3990 vec_all_lt(__vector
unsigned long long __a, __vector
unsigned long long __b) {
3992 __builtin_s390_vchlgs(
__b,
__a, &__cc);
3998 vec_all_lt(__vector
unsigned long long __a, __vector __bool
long long __b) {
4000 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
__a, &__cc);
4006 vec_all_lt(__vector __bool
long long __a, __vector
unsigned long long __b) {
4008 __builtin_s390_vchlgs(
__b, (__vector
unsigned long long)
__a, &__cc);
4016 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
4017 (__vector
unsigned long long)
__a, &__cc);
4025 __builtin_s390_vfchsbs(
__b,
__a, &__cc);
4033 __builtin_s390_vfchdbs(
__b,
__a, &__cc);
4043 __builtin_s390_vfchesbs(
__a,
__b, &__cc);
4051 __builtin_s390_vfchedbs(
__a,
__b, &__cc);
4061 __builtin_s390_vfchsbs(
__a,
__b, &__cc);
4069 __builtin_s390_vfchdbs(
__a,
__b, &__cc);
4077 vec_all_nle(__vector
float __a, __vector
float __b) {
4079 __builtin_s390_vfchesbs(
__b,
__a, &__cc);
4085 vec_all_nle(__vector
double __a, __vector
double __b) {
4087 __builtin_s390_vfchedbs(
__b,
__a, &__cc);
4095 vec_all_nlt(__vector
float __a, __vector
float __b) {
4097 __builtin_s390_vfchsbs(
__b,
__a, &__cc);
4103 vec_all_nlt(__vector
double __a, __vector
double __b) {
4105 __builtin_s390_vfchdbs(
__b,
__a, &__cc);
4115 __builtin_s390_vftcisb(
__a, 15, &__cc);
4123 __builtin_s390_vftcidb(
__a, 15, &__cc);
4131 vec_all_numeric(__vector
float __a) {
4133 __builtin_s390_vftcisb(
__a, 15, &__cc);
4139 vec_all_numeric(__vector
double __a) {
4141 __builtin_s390_vftcidb(
__a, 15, &__cc);
4150 __builtin_s390_vceqbs(
__a,
__b, &__cc);
4158 __builtin_s390_vceqbs(
__a, (__vector
signed char)
__b, &__cc);
4166 __builtin_s390_vceqbs((__vector
signed char)
__a,
__b, &__cc);
4173 __builtin_s390_vceqbs((__vector
signed char)
__a,
4174 (__vector
signed char)
__b, &__cc);
4182 __builtin_s390_vceqbs((__vector
signed char)
__a,
4183 (__vector
signed char)
__b, &__cc);
4191 __builtin_s390_vceqbs((__vector
signed char)
__a,
4192 (__vector
signed char)
__b, &__cc);
4199 __builtin_s390_vceqbs((__vector
signed char)
__a,
4200 (__vector
signed char)
__b, &__cc);
4207 __builtin_s390_vceqhs(
__a,
__b, &__cc);
4215 __builtin_s390_vceqhs(
__a, (__vector
signed short)
__b, &__cc);
4223 __builtin_s390_vceqhs((__vector
signed short)
__a,
__b, &__cc);
4230 __builtin_s390_vceqhs((__vector
signed short)
__a,
4231 (__vector
signed short)
__b, &__cc);
4239 __builtin_s390_vceqhs((__vector
signed short)
__a,
4240 (__vector
signed short)
__b, &__cc);
4248 __builtin_s390_vceqhs((__vector
signed short)
__a,
4249 (__vector
signed short)
__b, &__cc);
4256 __builtin_s390_vceqhs((__vector
signed short)
__a,
4257 (__vector
signed short)
__b, &__cc);
4264 __builtin_s390_vceqfs(
__a,
__b, &__cc);
4272 __builtin_s390_vceqfs(
__a, (__vector
signed int)
__b, &__cc);
4280 __builtin_s390_vceqfs((__vector
signed int)
__a,
__b, &__cc);
4287 __builtin_s390_vceqfs((__vector
signed int)
__a,
4288 (__vector
signed int)
__b, &__cc);
4296 __builtin_s390_vceqfs((__vector
signed int)
__a,
4297 (__vector
signed int)
__b, &__cc);
4305 __builtin_s390_vceqfs((__vector
signed int)
__a,
4306 (__vector
signed int)
__b, &__cc);
4313 __builtin_s390_vceqfs((__vector
signed int)
__a,
4314 (__vector
signed int)
__b, &__cc);
4321 __builtin_s390_vceqgs(
__a,
__b, &__cc);
4329 __builtin_s390_vceqgs(
__a, (__vector
signed long long)
__b, &__cc);
4337 __builtin_s390_vceqgs((__vector
signed long long)
__a,
__b, &__cc);
4342 vec_any_eq(__vector
unsigned long long __a, __vector
unsigned long long __b) {
4344 __builtin_s390_vceqgs((__vector
signed long long)
__a,
4345 (__vector
signed long long)
__b, &__cc);
4351 vec_any_eq(__vector
unsigned long long __a, __vector __bool
long long __b) {
4353 __builtin_s390_vceqgs((__vector
signed long long)
__a,
4354 (__vector
signed long long)
__b, &__cc);
4360 vec_any_eq(__vector __bool
long long __a, __vector
unsigned long long __b) {
4362 __builtin_s390_vceqgs((__vector
signed long long)
__a,
4363 (__vector
signed long long)
__b, &__cc);
4370 __builtin_s390_vceqgs((__vector
signed long long)
__a,
4371 (__vector
signed long long)
__b, &__cc);
4379 __builtin_s390_vfcesbs(
__a,
__b, &__cc);
4387 __builtin_s390_vfcedbs(
__a,
__b, &__cc);
4396 __builtin_s390_vceqbs(
__a,
__b, &__cc);
4404 __builtin_s390_vceqbs(
__a, (__vector
signed char)
__b, &__cc);
4412 __builtin_s390_vceqbs((__vector
signed char)
__a,
__b, &__cc);
4419 __builtin_s390_vceqbs((__vector
signed char)
__a,
4420 (__vector
signed char)
__b, &__cc);
4428 __builtin_s390_vceqbs((__vector
signed char)
__a,
4429 (__vector
signed char)
__b, &__cc);
4437 __builtin_s390_vceqbs((__vector
signed char)
__a,
4438 (__vector
signed char)
__b, &__cc);
4445 __builtin_s390_vceqbs((__vector
signed char)
__a,
4446 (__vector
signed char)
__b, &__cc);
4453 __builtin_s390_vceqhs(
__a,
__b, &__cc);
4461 __builtin_s390_vceqhs(
__a, (__vector
signed short)
__b, &__cc);
4469 __builtin_s390_vceqhs((__vector
signed short)
__a,
__b, &__cc);
4476 __builtin_s390_vceqhs((__vector
signed short)
__a,
4477 (__vector
signed short)
__b, &__cc);
4485 __builtin_s390_vceqhs((__vector
signed short)
__a,
4486 (__vector
signed short)
__b, &__cc);
4494 __builtin_s390_vceqhs((__vector
signed short)
__a,
4495 (__vector
signed short)
__b, &__cc);
4502 __builtin_s390_vceqhs((__vector
signed short)
__a,
4503 (__vector
signed short)
__b, &__cc);
4510 __builtin_s390_vceqfs(
__a,
__b, &__cc);
4518 __builtin_s390_vceqfs(
__a, (__vector
signed int)
__b, &__cc);
4526 __builtin_s390_vceqfs((__vector
signed int)
__a,
__b, &__cc);
4533 __builtin_s390_vceqfs((__vector
signed int)
__a,
4534 (__vector
signed int)
__b, &__cc);
4542 __builtin_s390_vceqfs((__vector
signed int)
__a,
4543 (__vector
signed int)
__b, &__cc);
4551 __builtin_s390_vceqfs((__vector
signed int)
__a,
4552 (__vector
signed int)
__b, &__cc);
4559 __builtin_s390_vceqfs((__vector
signed int)
__a,
4560 (__vector
signed int)
__b, &__cc);
4567 __builtin_s390_vceqgs(
__a,
__b, &__cc);
4575 __builtin_s390_vceqgs(
__a, (__vector
signed long long)
__b, &__cc);
4583 __builtin_s390_vceqgs((__vector
signed long long)
__a,
__b, &__cc);
4588 vec_any_ne(__vector
unsigned long long __a, __vector
unsigned long long __b) {
4590 __builtin_s390_vceqgs((__vector
signed long long)
__a,
4591 (__vector
signed long long)
__b, &__cc);
4597 vec_any_ne(__vector
unsigned long long __a, __vector __bool
long long __b) {
4599 __builtin_s390_vceqgs((__vector
signed long long)
__a,
4600 (__vector
signed long long)
__b, &__cc);
4606 vec_any_ne(__vector __bool
long long __a, __vector
unsigned long long __b) {
4608 __builtin_s390_vceqgs((__vector
signed long long)
__a,
4609 (__vector
signed long long)
__b, &__cc);
4616 __builtin_s390_vceqgs((__vector
signed long long)
__a,
4617 (__vector
signed long long)
__b, &__cc);
4625 __builtin_s390_vfcesbs(
__a,
__b, &__cc);
4633 __builtin_s390_vfcedbs(
__a,
__b, &__cc);
4642 __builtin_s390_vchbs(
__b,
__a, &__cc);
4650 __builtin_s390_vchbs((__vector
signed char)
__b,
__a, &__cc);
4658 __builtin_s390_vchbs(
__b, (__vector
signed char)
__a, &__cc);
4665 __builtin_s390_vchlbs(
__b,
__a, &__cc);
4673 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
__a, &__cc);
4681 __builtin_s390_vchlbs(
__b, (__vector
unsigned char)
__a, &__cc);
4689 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
4690 (__vector
unsigned char)
__a, &__cc);
4697 __builtin_s390_vchhs(
__b,
__a, &__cc);
4705 __builtin_s390_vchhs((__vector
signed short)
__b,
__a, &__cc);
4713 __builtin_s390_vchhs(
__b, (__vector
signed short)
__a, &__cc);
4720 __builtin_s390_vchlhs(
__b,
__a, &__cc);
4728 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
__a, &__cc);
4736 __builtin_s390_vchlhs(
__b, (__vector
unsigned short)
__a, &__cc);
4744 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
4745 (__vector
unsigned short)
__a, &__cc);
4752 __builtin_s390_vchfs(
__b,
__a, &__cc);
4760 __builtin_s390_vchfs((__vector
signed int)
__b,
__a, &__cc);
4768 __builtin_s390_vchfs(
__b, (__vector
signed int)
__a, &__cc);
4775 __builtin_s390_vchlfs(
__b,
__a, &__cc);
4783 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
__a, &__cc);
4791 __builtin_s390_vchlfs(
__b, (__vector
unsigned int)
__a, &__cc);
4799 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
4800 (__vector
unsigned int)
__a, &__cc);
4807 __builtin_s390_vchgs(
__b,
__a, &__cc);
4815 __builtin_s390_vchgs((__vector
signed long long)
__b,
__a, &__cc);
4823 __builtin_s390_vchgs(
__b, (__vector
signed long long)
__a, &__cc);
4828 vec_any_ge(__vector
unsigned long long __a, __vector
unsigned long long __b) {
4830 __builtin_s390_vchlgs(
__b,
__a, &__cc);
4836 vec_any_ge(__vector
unsigned long long __a, __vector __bool
long long __b) {
4838 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
__a, &__cc);
4844 vec_any_ge(__vector __bool
long long __a, __vector
unsigned long long __b) {
4846 __builtin_s390_vchlgs(
__b, (__vector
unsigned long long)
__a, &__cc);
4854 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
4855 (__vector
unsigned long long)
__a, &__cc);
4863 __builtin_s390_vfchesbs(
__a,
__b, &__cc);
4871 __builtin_s390_vfchedbs(
__a,
__b, &__cc);
4880 __builtin_s390_vchbs(
__a,
__b, &__cc);
4888 __builtin_s390_vchbs(
__a, (__vector
signed char)
__b, &__cc);
4896 __builtin_s390_vchbs((__vector
signed char)
__a,
__b, &__cc);
4903 __builtin_s390_vchlbs(
__a,
__b, &__cc);
4911 __builtin_s390_vchlbs(
__a, (__vector
unsigned char)
__b, &__cc);
4919 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
__b, &__cc);
4927 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
4928 (__vector
unsigned char)
__b, &__cc);
4935 __builtin_s390_vchhs(
__a,
__b, &__cc);
4943 __builtin_s390_vchhs(
__a, (__vector
signed short)
__b, &__cc);
4951 __builtin_s390_vchhs((__vector
signed short)
__a,
__b, &__cc);
4958 __builtin_s390_vchlhs(
__a,
__b, &__cc);
4966 __builtin_s390_vchlhs(
__a, (__vector
unsigned short)
__b, &__cc);
4974 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
__b, &__cc);
4982 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
4983 (__vector
unsigned short)
__b, &__cc);
4990 __builtin_s390_vchfs(
__a,
__b, &__cc);
4998 __builtin_s390_vchfs(
__a, (__vector
signed int)
__b, &__cc);
5006 __builtin_s390_vchfs((__vector
signed int)
__a,
__b, &__cc);
5013 __builtin_s390_vchlfs(
__a,
__b, &__cc);
5021 __builtin_s390_vchlfs(
__a, (__vector
unsigned int)
__b, &__cc);
5029 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
__b, &__cc);
5037 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
5038 (__vector
unsigned int)
__b, &__cc);
5045 __builtin_s390_vchgs(
__a,
__b, &__cc);
5053 __builtin_s390_vchgs(
__a, (__vector
signed long long)
__b, &__cc);
5061 __builtin_s390_vchgs((__vector
signed long long)
__a,
__b, &__cc);
5066 vec_any_gt(__vector
unsigned long long __a, __vector
unsigned long long __b) {
5068 __builtin_s390_vchlgs(
__a,
__b, &__cc);
5074 vec_any_gt(__vector
unsigned long long __a, __vector __bool
long long __b) {
5076 __builtin_s390_vchlgs(
__a, (__vector
unsigned long long)
__b, &__cc);
5082 vec_any_gt(__vector __bool
long long __a, __vector
unsigned long long __b) {
5084 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
__b, &__cc);
5092 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
5093 (__vector
unsigned long long)
__b, &__cc);
5101 __builtin_s390_vfchsbs(
__a,
__b, &__cc);
5109 __builtin_s390_vfchdbs(
__a,
__b, &__cc);
5118 __builtin_s390_vchbs(
__a,
__b, &__cc);
5126 __builtin_s390_vchbs(
__a, (__vector
signed char)
__b, &__cc);
5134 __builtin_s390_vchbs((__vector
signed char)
__a,
__b, &__cc);
5141 __builtin_s390_vchlbs(
__a,
__b, &__cc);
5149 __builtin_s390_vchlbs(
__a, (__vector
unsigned char)
__b, &__cc);
5157 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
__b, &__cc);
5165 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
5166 (__vector
unsigned char)
__b, &__cc);
5173 __builtin_s390_vchhs(
__a,
__b, &__cc);
5181 __builtin_s390_vchhs(
__a, (__vector
signed short)
__b, &__cc);
5189 __builtin_s390_vchhs((__vector
signed short)
__a,
__b, &__cc);
5196 __builtin_s390_vchlhs(
__a,
__b, &__cc);
5204 __builtin_s390_vchlhs(
__a, (__vector
unsigned short)
__b, &__cc);
5212 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
__b, &__cc);
5220 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
5221 (__vector
unsigned short)
__b, &__cc);
5228 __builtin_s390_vchfs(
__a,
__b, &__cc);
5236 __builtin_s390_vchfs(
__a, (__vector
signed int)
__b, &__cc);
5244 __builtin_s390_vchfs((__vector
signed int)
__a,
__b, &__cc);
5251 __builtin_s390_vchlfs(
__a,
__b, &__cc);
5259 __builtin_s390_vchlfs(
__a, (__vector
unsigned int)
__b, &__cc);
5267 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
__b, &__cc);
5275 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
5276 (__vector
unsigned int)
__b, &__cc);
5283 __builtin_s390_vchgs(
__a,
__b, &__cc);
5291 __builtin_s390_vchgs(
__a, (__vector
signed long long)
__b, &__cc);
5299 __builtin_s390_vchgs((__vector
signed long long)
__a,
__b, &__cc);
5304 vec_any_le(__vector
unsigned long long __a, __vector
unsigned long long __b) {
5306 __builtin_s390_vchlgs(
__a,
__b, &__cc);
5312 vec_any_le(__vector
unsigned long long __a, __vector __bool
long long __b) {
5314 __builtin_s390_vchlgs(
__a, (__vector
unsigned long long)
__b, &__cc);
5320 vec_any_le(__vector __bool
long long __a, __vector
unsigned long long __b) {
5322 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
__b, &__cc);
5330 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
5331 (__vector
unsigned long long)
__b, &__cc);
5339 __builtin_s390_vfchesbs(
__b,
__a, &__cc);
5347 __builtin_s390_vfchedbs(
__b,
__a, &__cc);
5356 __builtin_s390_vchbs(
__b,
__a, &__cc);
5364 __builtin_s390_vchbs((__vector
signed char)
__b,
__a, &__cc);
5372 __builtin_s390_vchbs(
__b, (__vector
signed char)
__a, &__cc);
5379 __builtin_s390_vchlbs(
__b,
__a, &__cc);
5387 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
__a, &__cc);
5395 __builtin_s390_vchlbs(
__b, (__vector
unsigned char)
__a, &__cc);
5403 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
5404 (__vector
unsigned char)
__a, &__cc);
5411 __builtin_s390_vchhs(
__b,
__a, &__cc);
5419 __builtin_s390_vchhs((__vector
signed short)
__b,
__a, &__cc);
5427 __builtin_s390_vchhs(
__b, (__vector
signed short)
__a, &__cc);
5434 __builtin_s390_vchlhs(
__b,
__a, &__cc);
5442 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
__a, &__cc);
5450 __builtin_s390_vchlhs(
__b, (__vector
unsigned short)
__a, &__cc);
5458 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
5459 (__vector
unsigned short)
__a, &__cc);
5466 __builtin_s390_vchfs(
__b,
__a, &__cc);
5474 __builtin_s390_vchfs((__vector
signed int)
__b,
__a, &__cc);
5482 __builtin_s390_vchfs(
__b, (__vector
signed int)
__a, &__cc);
5489 __builtin_s390_vchlfs(
__b,
__a, &__cc);
5497 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
__a, &__cc);
5505 __builtin_s390_vchlfs(
__b, (__vector
unsigned int)
__a, &__cc);
5513 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
5514 (__vector
unsigned int)
__a, &__cc);
5521 __builtin_s390_vchgs(
__b,
__a, &__cc);
5529 __builtin_s390_vchgs((__vector
signed long long)
__b,
__a, &__cc);
5537 __builtin_s390_vchgs(
__b, (__vector
signed long long)
__a, &__cc);
5542 vec_any_lt(__vector
unsigned long long __a, __vector
unsigned long long __b) {
5544 __builtin_s390_vchlgs(
__b,
__a, &__cc);
5550 vec_any_lt(__vector
unsigned long long __a, __vector __bool
long long __b) {
5552 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
__a, &__cc);
5558 vec_any_lt(__vector __bool
long long __a, __vector
unsigned long long __b) {
5560 __builtin_s390_vchlgs(
__b, (__vector
unsigned long long)
__a, &__cc);
5568 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
5569 (__vector
unsigned long long)
__a, &__cc);
5577 __builtin_s390_vfchsbs(
__b,
__a, &__cc);
5585 __builtin_s390_vfchdbs(
__b,
__a, &__cc);
5593 vec_any_nge(__vector
float __a, __vector
float __b) {
5595 __builtin_s390_vfchesbs(
__a,
__b, &__cc);
5601 vec_any_nge(__vector
double __a, __vector
double __b) {
5603 __builtin_s390_vfchedbs(
__a,
__b, &__cc);
5611 vec_any_ngt(__vector
float __a, __vector
float __b) {
5613 __builtin_s390_vfchsbs(
__a,
__b, &__cc);
5619 vec_any_ngt(__vector
double __a, __vector
double __b) {
5621 __builtin_s390_vfchdbs(
__a,
__b, &__cc);
5629 vec_any_nle(__vector
float __a, __vector
float __b) {
5631 __builtin_s390_vfchesbs(
__b,
__a, &__cc);
5637 vec_any_nle(__vector
double __a, __vector
double __b) {
5639 __builtin_s390_vfchedbs(
__b,
__a, &__cc);
5647 vec_any_nlt(__vector
float __a, __vector
float __b) {
5649 __builtin_s390_vfchsbs(
__b,
__a, &__cc);
5655 vec_any_nlt(__vector
double __a, __vector
double __b) {
5657 __builtin_s390_vfchdbs(
__b,
__a, &__cc);
5665 vec_any_nan(__vector
float __a) {
5667 __builtin_s390_vftcisb(
__a, 15, &__cc);
5673 vec_any_nan(__vector
double __a) {
5675 __builtin_s390_vftcidb(
__a, 15, &__cc);
5683 vec_any_numeric(__vector
float __a) {
5685 __builtin_s390_vftcisb(
__a, 15, &__cc);
5691 vec_any_numeric(__vector
double __a) {
5693 __builtin_s390_vftcidb(
__a, 15, &__cc);
5722 vec_andc(__vector
unsigned char __a, __vector
unsigned char __b) {
5761 vec_andc(__vector
unsigned short __a, __vector
unsigned short __b) {
5767 vec_andc(__vector __bool
short __a, __vector
unsigned short __b) {
5773 vec_andc(__vector
unsigned short __a, __vector __bool
short __b) {
5817 vec_andc(__vector __bool
long long __a, __vector __bool
long long __b) {
5822 vec_andc(__vector
signed long long __a, __vector
signed long long __b) {
5828 vec_andc(__vector __bool
long long __a, __vector
signed long long __b) {
5834 vec_andc(__vector
signed long long __a, __vector __bool
long long __b) {
5839 vec_andc(__vector
unsigned long long __a, __vector
unsigned long long __b) {
5845 vec_andc(__vector __bool
long long __a, __vector
unsigned long long __b) {
5851 vec_andc(__vector
unsigned long long __a, __vector __bool
long long __b) {
5858 return (__vector
float)((__vector
unsigned int)
__a &
5859 ~(__vector
unsigned int)
__b);
5865 return (__vector
double)((__vector
unsigned long long)
__a &
5866 ~(__vector
unsigned long long)
__b);
5872 return (__vector
double)((__vector
unsigned long long)
__a &
5873 ~(__vector
unsigned long long)
__b);
5879 return (__vector
double)((__vector
unsigned long long)
__a &
5880 ~(__vector
unsigned long long)
__b);
5886 vec_nor(__vector __bool
char __a, __vector __bool
char __b) {
5891 vec_nor(__vector
signed char __a, __vector
signed char __b) {
5897 vec_nor(__vector __bool
char __a, __vector
signed char __b) {
5903 vec_nor(__vector
signed char __a, __vector __bool
char __b) {
5908 vec_nor(__vector
unsigned char __a, __vector
unsigned char __b) {
5914 vec_nor(__vector __bool
char __a, __vector
unsigned char __b) {
5920 vec_nor(__vector
unsigned char __a, __vector __bool
char __b) {
5925 vec_nor(__vector __bool
short __a, __vector __bool
short __b) {
5930 vec_nor(__vector
signed short __a, __vector
signed short __b) {
5936 vec_nor(__vector __bool
short __a, __vector
signed short __b) {
5942 vec_nor(__vector
signed short __a, __vector __bool
short __b) {
5947 vec_nor(__vector
unsigned short __a, __vector
unsigned short __b) {
5953 vec_nor(__vector __bool
short __a, __vector
unsigned short __b) {
5959 vec_nor(__vector
unsigned short __a, __vector __bool
short __b) {
5986 vec_nor(__vector
unsigned int __a, __vector
unsigned int __b) {
5992 vec_nor(__vector __bool
int __a, __vector
unsigned int __b) {
5998 vec_nor(__vector
unsigned int __a, __vector __bool
int __b) {
6003 vec_nor(__vector __bool
long long __a, __vector __bool
long long __b) {
6008 vec_nor(__vector
signed long long __a, __vector
signed long long __b) {
6014 vec_nor(__vector __bool
long long __a, __vector
signed long long __b) {
6020 vec_nor(__vector
signed long long __a, __vector __bool
long long __b) {
6025 vec_nor(__vector
unsigned long long __a, __vector
unsigned long long __b) {
6031 vec_nor(__vector __bool
long long __a, __vector
unsigned long long __b) {
6037 vec_nor(__vector
unsigned long long __a, __vector __bool
long long __b) {
6044 return (__vector
float)~((__vector
unsigned int)
__a |
6045 (__vector
unsigned int)
__b);
6051 return (__vector
double)~((__vector
unsigned long long)
__a |
6052 (__vector
unsigned long long)
__b);
6057 vec_nor(__vector __bool
long long __a, __vector
double __b) {
6058 return (__vector
double)~((__vector
unsigned long long)
__a |
6059 (__vector
unsigned long long)
__b);
6064 vec_nor(__vector
double __a, __vector __bool
long long __b) {
6065 return (__vector
double)~((__vector
unsigned long long)
__a |
6066 (__vector
unsigned long long)
__b);
6073 vec_orc(__vector __bool
char __a, __vector __bool
char __b) {
6078 vec_orc(__vector
signed char __a, __vector
signed char __b) {
6083 vec_orc(__vector
unsigned char __a, __vector
unsigned char __b) {
6088 vec_orc(__vector __bool
short __a, __vector __bool
short __b) {
6093 vec_orc(__vector
signed short __a, __vector
signed short __b) {
6098 vec_orc(__vector
unsigned short __a, __vector
unsigned short __b) {
6103 vec_orc(__vector __bool
int __a, __vector __bool
int __b) {
6108 vec_orc(__vector
signed int __a, __vector
signed int __b) {
6113 vec_orc(__vector
unsigned int __a, __vector
unsigned int __b) {
6118 vec_orc(__vector __bool
long long __a, __vector __bool
long long __b) {
6123 vec_orc(__vector
signed long long __a, __vector
signed long long __b) {
6128 vec_orc(__vector
unsigned long long __a, __vector
unsigned long long __b) {
6133 vec_orc(__vector
float __a, __vector
float __b) {
6134 return (__vector
float)((__vector
unsigned int)
__a |
6135 ~(__vector
unsigned int)
__b);
6139 vec_orc(__vector
double __a, __vector
double __b) {
6140 return (__vector
double)((__vector
unsigned long long)
__a |
6141 ~(__vector
unsigned long long)
__b);
6149 vec_nand(__vector __bool
char __a, __vector __bool
char __b) {
6154 vec_nand(__vector
signed char __a, __vector
signed char __b) {
6159 vec_nand(__vector
unsigned char __a, __vector
unsigned char __b) {
6164 vec_nand(__vector __bool
short __a, __vector __bool
short __b) {
6169 vec_nand(__vector
signed short __a, __vector
signed short __b) {
6174 vec_nand(__vector
unsigned short __a, __vector
unsigned short __b) {
6179 vec_nand(__vector __bool
int __a, __vector __bool
int __b) {
6184 vec_nand(__vector
signed int __a, __vector
signed int __b) {
6189 vec_nand(__vector
unsigned int __a, __vector
unsigned int __b) {
6194 vec_nand(__vector __bool
long long __a, __vector __bool
long long __b) {
6199 vec_nand(__vector
signed long long __a, __vector
signed long long __b) {
6204 vec_nand(__vector
unsigned long long __a, __vector
unsigned long long __b) {
6209 vec_nand(__vector
float __a, __vector
float __b) {
6210 return (__vector
float)~((__vector
unsigned int)
__a &
6211 (__vector
unsigned int)
__b);
6215 vec_nand(__vector
double __a, __vector
double __b) {
6216 return (__vector
double)~((__vector
unsigned long long)
__a &
6217 (__vector
unsigned long long)
__b);
6225 vec_eqv(__vector __bool
char __a, __vector __bool
char __b) {
6230 vec_eqv(__vector
signed char __a, __vector
signed char __b) {
6235 vec_eqv(__vector
unsigned char __a, __vector
unsigned char __b) {
6240 vec_eqv(__vector __bool
short __a, __vector __bool
short __b) {
6245 vec_eqv(__vector
signed short __a, __vector
signed short __b) {
6250 vec_eqv(__vector
unsigned short __a, __vector
unsigned short __b) {
6255 vec_eqv(__vector __bool
int __a, __vector __bool
int __b) {
6260 vec_eqv(__vector
signed int __a, __vector
signed int __b) {
6265 vec_eqv(__vector
unsigned int __a, __vector
unsigned int __b) {
6270 vec_eqv(__vector __bool
long long __a, __vector __bool
long long __b) {
6275 vec_eqv(__vector
signed long long __a, __vector
signed long long __b) {
6280 vec_eqv(__vector
unsigned long long __a, __vector
unsigned long long __b) {
6285 vec_eqv(__vector
float __a, __vector
float __b) {
6286 return (__vector
float)~((__vector
unsigned int)
__a ^
6287 (__vector
unsigned int)
__b);
6291 vec_eqv(__vector
double __a, __vector
double __b) {
6292 return (__vector
double)~((__vector
unsigned long long)
__a ^
6293 (__vector
unsigned long long)
__b);
6300 vec_cntlz(__vector
signed char __a) {
6301 return __builtin_s390_vclzb((__vector
unsigned char)
__a);
6305 vec_cntlz(__vector
unsigned char __a) {
6306 return __builtin_s390_vclzb(
__a);
6310 vec_cntlz(__vector
signed short __a) {
6311 return __builtin_s390_vclzh((__vector
unsigned short)
__a);
6315 vec_cntlz(__vector
unsigned short __a) {
6316 return __builtin_s390_vclzh(
__a);
6320 vec_cntlz(__vector
signed int __a) {
6321 return __builtin_s390_vclzf((__vector
unsigned int)
__a);
6325 vec_cntlz(__vector
unsigned int __a) {
6326 return __builtin_s390_vclzf(
__a);
6330 vec_cntlz(__vector
signed long long __a) {
6331 return __builtin_s390_vclzg((__vector
unsigned long long)
__a);
6335 vec_cntlz(__vector
unsigned long long __a) {
6336 return __builtin_s390_vclzg(
__a);
6342 vec_cnttz(__vector
signed char __a) {
6343 return __builtin_s390_vctzb((__vector
unsigned char)
__a);
6347 vec_cnttz(__vector
unsigned char __a) {
6348 return __builtin_s390_vctzb(
__a);
6352 vec_cnttz(__vector
signed short __a) {
6353 return __builtin_s390_vctzh((__vector
unsigned short)
__a);
6357 vec_cnttz(__vector
unsigned short __a) {
6358 return __builtin_s390_vctzh(
__a);
6362 vec_cnttz(__vector
signed int __a) {
6363 return __builtin_s390_vctzf((__vector
unsigned int)
__a);
6367 vec_cnttz(__vector
unsigned int __a) {
6368 return __builtin_s390_vctzf(
__a);
6372 vec_cnttz(__vector
signed long long __a) {
6373 return __builtin_s390_vctzg((__vector
unsigned long long)
__a);
6377 vec_cnttz(__vector
unsigned long long __a) {
6378 return __builtin_s390_vctzg(
__a);
6384 vec_popcnt(__vector
signed char __a) {
6385 return __builtin_s390_vpopctb((__vector
unsigned char)
__a);
6389 vec_popcnt(__vector
unsigned char __a) {
6390 return __builtin_s390_vpopctb(
__a);
6394 vec_popcnt(__vector
signed short __a) {
6395 return __builtin_s390_vpopcth((__vector
unsigned short)
__a);
6399 vec_popcnt(__vector
unsigned short __a) {
6400 return __builtin_s390_vpopcth(
__a);
6404 vec_popcnt(__vector
signed int __a) {
6405 return __builtin_s390_vpopctf((__vector
unsigned int)
__a);
6409 vec_popcnt(__vector
unsigned int __a) {
6410 return __builtin_s390_vpopctf(
__a);
6414 vec_popcnt(__vector
signed long long __a) {
6415 return __builtin_s390_vpopctg((__vector
unsigned long long)
__a);
6419 vec_popcnt(__vector
unsigned long long __a) {
6420 return __builtin_s390_vpopctg(
__a);
6426 vec_rl(__vector
signed char __a, __vector
unsigned char __b) {
6427 return (__vector
signed char)__builtin_s390_verllvb(
6428 (__vector
unsigned char)
__a,
__b);
6432 vec_rl(__vector
unsigned char __a, __vector
unsigned char __b) {
6433 return __builtin_s390_verllvb(
__a,
__b);
6437 vec_rl(__vector
signed short __a, __vector
unsigned short __b) {
6438 return (__vector
signed short)__builtin_s390_verllvh(
6439 (__vector
unsigned short)
__a,
__b);
6443 vec_rl(__vector
unsigned short __a, __vector
unsigned short __b) {
6444 return __builtin_s390_verllvh(
__a,
__b);
6448 vec_rl(__vector
signed int __a, __vector
unsigned int __b) {
6449 return (__vector
signed int)__builtin_s390_verllvf(
6450 (__vector
unsigned int)
__a,
__b);
6454 vec_rl(__vector
unsigned int __a, __vector
unsigned int __b) {
6455 return __builtin_s390_verllvf(
__a,
__b);
6459 vec_rl(__vector
signed long long __a, __vector
unsigned long long __b) {
6460 return (__vector
signed long long)__builtin_s390_verllvg(
6461 (__vector
unsigned long long)
__a,
__b);
6465 vec_rl(__vector
unsigned long long __a, __vector
unsigned long long __b) {
6466 return __builtin_s390_verllvg(
__a,
__b);
6472 vec_rli(__vector
signed char __a,
unsigned long __b) {
6473 return (__vector
signed char)__builtin_s390_verllb(
6474 (__vector
unsigned char)
__a, (
int)
__b);
6478 vec_rli(__vector
unsigned char __a,
unsigned long __b) {
6479 return __builtin_s390_verllb(
__a, (
int)
__b);
6483 vec_rli(__vector
signed short __a,
unsigned long __b) {
6484 return (__vector
signed short)__builtin_s390_verllh(
6485 (__vector
unsigned short)
__a, (
int)
__b);
6489 vec_rli(__vector
unsigned short __a,
unsigned long __b) {
6490 return __builtin_s390_verllh(
__a, (
int)
__b);
6494 vec_rli(__vector
signed int __a,
unsigned long __b) {
6495 return (__vector
signed int)__builtin_s390_verllf(
6496 (__vector
unsigned int)
__a, (
int)
__b);
6500 vec_rli(__vector
unsigned int __a,
unsigned long __b) {
6501 return __builtin_s390_verllf(
__a, (
int)
__b);
6505 vec_rli(__vector
signed long long __a,
unsigned long __b) {
6506 return (__vector
signed long long)__builtin_s390_verllg(
6507 (__vector
unsigned long long)
__a, (
int)
__b);
6511 vec_rli(__vector
unsigned long long __a,
unsigned long __b) {
6512 return __builtin_s390_verllg(
__a, (
int)
__b);
6517 extern __ATTRS_o __vector
signed char
6518 vec_rl_mask(__vector
signed char __a, __vector
unsigned char __b,
6519 unsigned char __c) __constant(
__c);
6521 extern __ATTRS_o __vector
unsigned char
6522 vec_rl_mask(__vector
unsigned char __a, __vector
unsigned char __b,
6523 unsigned char __c) __constant(
__c);
6525 extern __ATTRS_o __vector
signed short
6526 vec_rl_mask(__vector
signed short __a, __vector
unsigned short __b,
6527 unsigned char __c) __constant(
__c);
6529 extern __ATTRS_o __vector
unsigned short
6530 vec_rl_mask(__vector
unsigned short __a, __vector
unsigned short __b,
6531 unsigned char __c) __constant(
__c);
6533 extern __ATTRS_o __vector
signed int
6534 vec_rl_mask(__vector
signed int __a, __vector
unsigned int __b,
6535 unsigned char __c) __constant(
__c);
6537 extern __ATTRS_o __vector
unsigned int
6538 vec_rl_mask(__vector
unsigned int __a, __vector
unsigned int __b,
6539 unsigned char __c) __constant(
__c);
6541 extern __ATTRS_o __vector
signed long long
6542 vec_rl_mask(__vector
signed long long __a, __vector
unsigned long long __b,
6543 unsigned char __c) __constant(
__c);
6545 extern __ATTRS_o __vector
unsigned long long
6546 vec_rl_mask(__vector
unsigned long long __a, __vector
unsigned long long __b,
6547 unsigned char __c) __constant(
__c);
6549 #define vec_rl_mask(X, Y, Z) ((__typeof__((vec_rl_mask)((X), (Y), (Z)))) \
6551 __vector unsigned char __res; \
6552 __vector unsigned char __x = (__vector unsigned char)(X); \
6553 __vector unsigned char __y = (__vector unsigned char)(Y); \
6554 switch (sizeof ((X)[0])) { \
6555 case 1: __res = (__vector unsigned char) __builtin_s390_verimb( \
6556 (__vector unsigned char)__x, (__vector unsigned char)__x, \
6557 (__vector unsigned char)__y, (Z)); break; \
6558 case 2: __res = (__vector unsigned char) __builtin_s390_verimh( \
6559 (__vector unsigned short)__x, (__vector unsigned short)__x, \
6560 (__vector unsigned short)__y, (Z)); break; \
6561 case 4: __res = (__vector unsigned char) __builtin_s390_verimf( \
6562 (__vector unsigned int)__x, (__vector unsigned int)__x, \
6563 (__vector unsigned int)__y, (Z)); break; \
6564 default: __res = (__vector unsigned char) __builtin_s390_verimg( \
6565 (__vector unsigned long long)__x, (__vector unsigned long long)__x, \
6566 (__vector unsigned long long)__y, (Z)); break; \
6572 vec_sll(__vector
signed char __a, __vector
unsigned char __b) {
6573 return (__vector
signed char)__builtin_s390_vsl(
6574 (__vector
unsigned char)
__a,
__b);
6579 vec_sll(__vector
signed char __a, __vector
unsigned short __b) {
6580 return (__vector
signed char)__builtin_s390_vsl(
6581 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6586 vec_sll(__vector
signed char __a, __vector
unsigned int __b) {
6587 return (__vector
signed char)__builtin_s390_vsl(
6588 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6593 vec_sll(__vector __bool
char __a, __vector
unsigned char __b) {
6594 return (__vector __bool
char)__builtin_s390_vsl(
6595 (__vector
unsigned char)
__a,
__b);
6600 vec_sll(__vector __bool
char __a, __vector
unsigned short __b) {
6601 return (__vector __bool
char)__builtin_s390_vsl(
6602 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6607 vec_sll(__vector __bool
char __a, __vector
unsigned int __b) {
6608 return (__vector __bool
char)__builtin_s390_vsl(
6609 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6613 vec_sll(__vector
unsigned char __a, __vector
unsigned char __b) {
6614 return __builtin_s390_vsl(
__a,
__b);
6619 vec_sll(__vector
unsigned char __a, __vector
unsigned short __b) {
6620 return __builtin_s390_vsl(
__a, (__vector
unsigned char)
__b);
6625 vec_sll(__vector
unsigned char __a, __vector
unsigned int __b) {
6626 return __builtin_s390_vsl(
__a, (__vector
unsigned char)
__b);
6630 vec_sll(__vector
signed short __a, __vector
unsigned char __b) {
6631 return (__vector
signed short)__builtin_s390_vsl(
6632 (__vector
unsigned char)
__a,
__b);
6637 vec_sll(__vector
signed short __a, __vector
unsigned short __b) {
6638 return (__vector
signed short)__builtin_s390_vsl(
6639 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6644 vec_sll(__vector
signed short __a, __vector
unsigned int __b) {
6645 return (__vector
signed short)__builtin_s390_vsl(
6646 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6651 vec_sll(__vector __bool
short __a, __vector
unsigned char __b) {
6652 return (__vector __bool
short)__builtin_s390_vsl(
6653 (__vector
unsigned char)
__a,
__b);
6658 vec_sll(__vector __bool
short __a, __vector
unsigned short __b) {
6659 return (__vector __bool
short)__builtin_s390_vsl(
6660 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6665 vec_sll(__vector __bool
short __a, __vector
unsigned int __b) {
6666 return (__vector __bool
short)__builtin_s390_vsl(
6667 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6671 vec_sll(__vector
unsigned short __a, __vector
unsigned char __b) {
6672 return (__vector
unsigned short)__builtin_s390_vsl(
6673 (__vector
unsigned char)
__a,
__b);
6678 vec_sll(__vector
unsigned short __a, __vector
unsigned short __b) {
6679 return (__vector
unsigned short)__builtin_s390_vsl(
6680 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6685 vec_sll(__vector
unsigned short __a, __vector
unsigned int __b) {
6686 return (__vector
unsigned short)__builtin_s390_vsl(
6687 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6691 vec_sll(__vector
signed int __a, __vector
unsigned char __b) {
6692 return (__vector
signed int)__builtin_s390_vsl(
6693 (__vector
unsigned char)
__a,
__b);
6698 vec_sll(__vector
signed int __a, __vector
unsigned short __b) {
6699 return (__vector
signed int)__builtin_s390_vsl(
6700 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6705 vec_sll(__vector
signed int __a, __vector
unsigned int __b) {
6706 return (__vector
signed int)__builtin_s390_vsl(
6707 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6712 vec_sll(__vector __bool
int __a, __vector
unsigned char __b) {
6713 return (__vector __bool
int)__builtin_s390_vsl(
6714 (__vector
unsigned char)
__a,
__b);
6719 vec_sll(__vector __bool
int __a, __vector
unsigned short __b) {
6720 return (__vector __bool
int)__builtin_s390_vsl(
6721 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6726 vec_sll(__vector __bool
int __a, __vector
unsigned int __b) {
6727 return (__vector __bool
int)__builtin_s390_vsl(
6728 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6732 vec_sll(__vector
unsigned int __a, __vector
unsigned char __b) {
6733 return (__vector
unsigned int)__builtin_s390_vsl(
6734 (__vector
unsigned char)
__a,
__b);
6739 vec_sll(__vector
unsigned int __a, __vector
unsigned short __b) {
6740 return (__vector
unsigned int)__builtin_s390_vsl(
6741 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6746 vec_sll(__vector
unsigned int __a, __vector
unsigned int __b) {
6747 return (__vector
unsigned int)__builtin_s390_vsl(
6748 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6752 vec_sll(__vector
signed long long __a, __vector
unsigned char __b) {
6753 return (__vector
signed long long)__builtin_s390_vsl(
6754 (__vector
unsigned char)
__a,
__b);
6759 vec_sll(__vector
signed long long __a, __vector
unsigned short __b) {
6760 return (__vector
signed long long)__builtin_s390_vsl(
6761 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6766 vec_sll(__vector
signed long long __a, __vector
unsigned int __b) {
6767 return (__vector
signed long long)__builtin_s390_vsl(
6768 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6773 vec_sll(__vector __bool
long long __a, __vector
unsigned char __b) {
6774 return (__vector __bool
long long)__builtin_s390_vsl(
6775 (__vector
unsigned char)
__a,
__b);
6780 vec_sll(__vector __bool
long long __a, __vector
unsigned short __b) {
6781 return (__vector __bool
long long)__builtin_s390_vsl(
6782 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6787 vec_sll(__vector __bool
long long __a, __vector
unsigned int __b) {
6788 return (__vector __bool
long long)__builtin_s390_vsl(
6789 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6793 vec_sll(__vector
unsigned long long __a, __vector
unsigned char __b) {
6794 return (__vector
unsigned long long)__builtin_s390_vsl(
6795 (__vector
unsigned char)
__a,
__b);
6800 vec_sll(__vector
unsigned long long __a, __vector
unsigned short __b) {
6801 return (__vector
unsigned long long)__builtin_s390_vsl(
6802 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6807 vec_sll(__vector
unsigned long long __a, __vector
unsigned int __b) {
6808 return (__vector
unsigned long long)__builtin_s390_vsl(
6809 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6815 vec_slb(__vector
signed char __a, __vector
signed char __b) {
6816 return (__vector
signed char)__builtin_s390_vslb(
6817 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6821 vec_slb(__vector
signed char __a, __vector
unsigned char __b) {
6822 return (__vector
signed char)__builtin_s390_vslb(
6823 (__vector
unsigned char)
__a,
__b);
6827 vec_slb(__vector
unsigned char __a, __vector
signed char __b) {
6828 return __builtin_s390_vslb(
__a, (__vector
unsigned char)
__b);
6832 vec_slb(__vector
unsigned char __a, __vector
unsigned char __b) {
6833 return __builtin_s390_vslb(
__a,
__b);
6837 vec_slb(__vector
signed short __a, __vector
signed short __b) {
6838 return (__vector
signed short)__builtin_s390_vslb(
6839 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6843 vec_slb(__vector
signed short __a, __vector
unsigned short __b) {
6844 return (__vector
signed short)__builtin_s390_vslb(
6845 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6849 vec_slb(__vector
unsigned short __a, __vector
signed short __b) {
6850 return (__vector
unsigned short)__builtin_s390_vslb(
6851 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6855 vec_slb(__vector
unsigned short __a, __vector
unsigned short __b) {
6856 return (__vector
unsigned short)__builtin_s390_vslb(
6857 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6861 vec_slb(__vector
signed int __a, __vector
signed int __b) {
6862 return (__vector
signed int)__builtin_s390_vslb(
6863 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6867 vec_slb(__vector
signed int __a, __vector
unsigned int __b) {
6868 return (__vector
signed int)__builtin_s390_vslb(
6869 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6873 vec_slb(__vector
unsigned int __a, __vector
signed int __b) {
6874 return (__vector
unsigned int)__builtin_s390_vslb(
6875 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6879 vec_slb(__vector
unsigned int __a, __vector
unsigned int __b) {
6880 return (__vector
unsigned int)__builtin_s390_vslb(
6881 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6885 vec_slb(__vector
signed long long __a, __vector
signed long long __b) {
6886 return (__vector
signed long long)__builtin_s390_vslb(
6887 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6891 vec_slb(__vector
signed long long __a, __vector
unsigned long long __b) {
6892 return (__vector
signed long long)__builtin_s390_vslb(
6893 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6897 vec_slb(__vector
unsigned long long __a, __vector
signed long long __b) {
6898 return (__vector
unsigned long long)__builtin_s390_vslb(
6899 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6903 vec_slb(__vector
unsigned long long __a, __vector
unsigned long long __b) {
6904 return (__vector
unsigned long long)__builtin_s390_vslb(
6905 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6910 vec_slb(__vector
float __a, __vector
signed int __b) {
6911 return (__vector
float)__builtin_s390_vslb(
6912 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6916 vec_slb(__vector
float __a, __vector
unsigned int __b) {
6917 return (__vector
float)__builtin_s390_vslb(
6918 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6923 vec_slb(__vector
double __a, __vector
signed long long __b) {
6924 return (__vector
double)__builtin_s390_vslb(
6925 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6929 vec_slb(__vector
double __a, __vector
unsigned long long __b) {
6930 return (__vector
double)__builtin_s390_vslb(
6931 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6936 extern __ATTRS_o __vector
signed char
6938 __constant_range(
__c, 0, 15);
6940 extern __ATTRS_o __vector __bool
char
6942 __constant_range(
__c, 0, 15);
6944 extern __ATTRS_o __vector
unsigned char
6946 __constant_range(
__c, 0, 15);
6948 extern __ATTRS_o __vector
signed short
6950 __constant_range(
__c, 0, 15);
6952 extern __ATTRS_o __vector __bool
short
6954 __constant_range(
__c, 0, 15);
6956 extern __ATTRS_o __vector
unsigned short
6958 __constant_range(
__c, 0, 15);
6960 extern __ATTRS_o __vector
signed int
6962 __constant_range(
__c, 0, 15);
6964 extern __ATTRS_o __vector __bool
int
6966 __constant_range(
__c, 0, 15);
6968 extern __ATTRS_o __vector
unsigned int
6970 __constant_range(
__c, 0, 15);
6972 extern __ATTRS_o __vector
signed long long
6973 vec_sld(__vector
signed long long __a, __vector
signed long long __b,
int __c)
6974 __constant_range(
__c, 0, 15);
6976 extern __ATTRS_o __vector __bool
long long
6977 vec_sld(__vector __bool
long long __a, __vector __bool
long long __b,
int __c)
6978 __constant_range(
__c, 0, 15);
6980 extern __ATTRS_o __vector
unsigned long long
6981 vec_sld(__vector
unsigned long long __a, __vector
unsigned long long __b,
6983 __constant_range(
__c, 0, 15);
6986 extern __ATTRS_o __vector
float
6988 __constant_range(
__c, 0, 15);
6991 extern __ATTRS_o __vector
double
6993 __constant_range(
__c, 0, 15);
6995 #define vec_sld(X, Y, Z) ((__typeof__((vec_sld)((X), (Y), (Z)))) \
6996 __builtin_s390_vsldb((__vector unsigned char)(X), \
6997 (__vector unsigned char)(Y), (Z)))
7001 extern __ATTRS_o __vector
signed char
7003 __constant_range(
__c, 0, 3);
7005 extern __ATTRS_o __vector
unsigned char
7007 __constant_range(
__c, 0, 3);
7009 extern __ATTRS_o __vector
signed short
7011 __constant_range(
__c, 0, 3);
7013 extern __ATTRS_o __vector
unsigned short
7015 __constant_range(
__c, 0, 3);
7017 extern __ATTRS_o __vector
signed int
7019 __constant_range(
__c, 0, 3);
7021 extern __ATTRS_o __vector
unsigned int
7023 __constant_range(
__c, 0, 3);
7025 extern __ATTRS_o __vector
signed long long
7027 __constant_range(
__c, 0, 3);
7029 extern __ATTRS_o __vector
unsigned long long
7030 vec_sldw(__vector
unsigned long long __a, __vector
unsigned long long __b,
7032 __constant_range(
__c, 0, 3);
7035 extern __ATTRS_o __vector
double
7037 __constant_range(
__c, 0, 3);
7039 #define vec_sldw(X, Y, Z) ((__typeof__((vec_sldw)((X), (Y), (Z)))) \
7040 __builtin_s390_vsldb((__vector unsigned char)(X), \
7041 (__vector unsigned char)(Y), (Z) * 4))
7047 extern __ATTRS_o __vector
signed char
7048 vec_sldb(__vector
signed char __a, __vector
signed char __b,
int __c)
7049 __constant_range(
__c, 0, 7);
7051 extern __ATTRS_o __vector
unsigned char
7052 vec_sldb(__vector
unsigned char __a, __vector
unsigned char __b,
int __c)
7053 __constant_range(
__c, 0, 7);
7055 extern __ATTRS_o __vector
signed short
7056 vec_sldb(__vector
signed short __a, __vector
signed short __b,
int __c)
7057 __constant_range(
__c, 0, 7);
7059 extern __ATTRS_o __vector
unsigned short
7060 vec_sldb(__vector
unsigned short __a, __vector
unsigned short __b,
int __c)
7061 __constant_range(
__c, 0, 7);
7063 extern __ATTRS_o __vector
signed int
7064 vec_sldb(__vector
signed int __a, __vector
signed int __b,
int __c)
7065 __constant_range(
__c, 0, 7);
7067 extern __ATTRS_o __vector
unsigned int
7068 vec_sldb(__vector
unsigned int __a, __vector
unsigned int __b,
int __c)
7069 __constant_range(
__c, 0, 7);
7071 extern __ATTRS_o __vector
signed long long
7072 vec_sldb(__vector
signed long long __a, __vector
signed long long __b,
int __c)
7073 __constant_range(
__c, 0, 7);
7075 extern __ATTRS_o __vector
unsigned long long
7076 vec_sldb(__vector
unsigned long long __a, __vector
unsigned long long __b,
7078 __constant_range(
__c, 0, 7);
7080 extern __ATTRS_o __vector
float
7081 vec_sldb(__vector
float __a, __vector
float __b,
int __c)
7082 __constant_range(
__c, 0, 7);
7084 extern __ATTRS_o __vector
double
7085 vec_sldb(__vector
double __a, __vector
double __b,
int __c)
7086 __constant_range(
__c, 0, 7);
7088 #define vec_sldb(X, Y, Z) ((__typeof__((vec_sldb)((X), (Y), (Z)))) \
7089 __builtin_s390_vsld((__vector unsigned char)(X), \
7090 (__vector unsigned char)(Y), (Z)))
7097 vec_sral(__vector
signed char __a, __vector
unsigned char __b) {
7098 return (__vector
signed char)__builtin_s390_vsra(
7099 (__vector
unsigned char)
__a,
__b);
7104 vec_sral(__vector
signed char __a, __vector
unsigned short __b) {
7105 return (__vector
signed char)__builtin_s390_vsra(
7106 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7111 vec_sral(__vector
signed char __a, __vector
unsigned int __b) {
7112 return (__vector
signed char)__builtin_s390_vsra(
7113 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7118 vec_sral(__vector __bool
char __a, __vector
unsigned char __b) {
7119 return (__vector __bool
char)__builtin_s390_vsra(
7120 (__vector
unsigned char)
__a,
__b);
7125 vec_sral(__vector __bool
char __a, __vector
unsigned short __b) {
7126 return (__vector __bool
char)__builtin_s390_vsra(
7127 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7132 vec_sral(__vector __bool
char __a, __vector
unsigned int __b) {
7133 return (__vector __bool
char)__builtin_s390_vsra(
7134 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7138 vec_sral(__vector
unsigned char __a, __vector
unsigned char __b) {
7139 return __builtin_s390_vsra(
__a,
__b);
7144 vec_sral(__vector
unsigned char __a, __vector
unsigned short __b) {
7145 return __builtin_s390_vsra(
__a, (__vector
unsigned char)
__b);
7150 vec_sral(__vector
unsigned char __a, __vector
unsigned int __b) {
7151 return __builtin_s390_vsra(
__a, (__vector
unsigned char)
__b);
7155 vec_sral(__vector
signed short __a, __vector
unsigned char __b) {
7156 return (__vector
signed short)__builtin_s390_vsra(
7157 (__vector
unsigned char)
__a,
__b);
7162 vec_sral(__vector
signed short __a, __vector
unsigned short __b) {
7163 return (__vector
signed short)__builtin_s390_vsra(
7164 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7169 vec_sral(__vector
signed short __a, __vector
unsigned int __b) {
7170 return (__vector
signed short)__builtin_s390_vsra(
7171 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7176 vec_sral(__vector __bool
short __a, __vector
unsigned char __b) {
7177 return (__vector __bool
short)__builtin_s390_vsra(
7178 (__vector
unsigned char)
__a,
__b);
7183 vec_sral(__vector __bool
short __a, __vector
unsigned short __b) {
7184 return (__vector __bool
short)__builtin_s390_vsra(
7185 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7190 vec_sral(__vector __bool
short __a, __vector
unsigned int __b) {
7191 return (__vector __bool
short)__builtin_s390_vsra(
7192 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7196 vec_sral(__vector
unsigned short __a, __vector
unsigned char __b) {
7197 return (__vector
unsigned short)__builtin_s390_vsra(
7198 (__vector
unsigned char)
__a,
__b);
7203 vec_sral(__vector
unsigned short __a, __vector
unsigned short __b) {
7204 return (__vector
unsigned short)__builtin_s390_vsra(
7205 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7210 vec_sral(__vector
unsigned short __a, __vector
unsigned int __b) {
7211 return (__vector
unsigned short)__builtin_s390_vsra(
7212 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7216 vec_sral(__vector
signed int __a, __vector
unsigned char __b) {
7217 return (__vector
signed int)__builtin_s390_vsra(
7218 (__vector
unsigned char)
__a,
__b);
7223 vec_sral(__vector
signed int __a, __vector
unsigned short __b) {
7224 return (__vector
signed int)__builtin_s390_vsra(
7225 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7230 vec_sral(__vector
signed int __a, __vector
unsigned int __b) {
7231 return (__vector
signed int)__builtin_s390_vsra(
7232 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7237 vec_sral(__vector __bool
int __a, __vector
unsigned char __b) {
7238 return (__vector __bool
int)__builtin_s390_vsra(
7239 (__vector
unsigned char)
__a,
__b);
7244 vec_sral(__vector __bool
int __a, __vector
unsigned short __b) {
7245 return (__vector __bool
int)__builtin_s390_vsra(
7246 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7251 vec_sral(__vector __bool
int __a, __vector
unsigned int __b) {
7252 return (__vector __bool
int)__builtin_s390_vsra(
7253 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7257 vec_sral(__vector
unsigned int __a, __vector
unsigned char __b) {
7258 return (__vector
unsigned int)__builtin_s390_vsra(
7259 (__vector
unsigned char)
__a,
__b);
7264 vec_sral(__vector
unsigned int __a, __vector
unsigned short __b) {
7265 return (__vector
unsigned int)__builtin_s390_vsra(
7266 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7271 vec_sral(__vector
unsigned int __a, __vector
unsigned int __b) {
7272 return (__vector
unsigned int)__builtin_s390_vsra(
7273 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7277 vec_sral(__vector
signed long long __a, __vector
unsigned char __b) {
7278 return (__vector
signed long long)__builtin_s390_vsra(
7279 (__vector
unsigned char)
__a,
__b);
7284 vec_sral(__vector
signed long long __a, __vector
unsigned short __b) {
7285 return (__vector
signed long long)__builtin_s390_vsra(
7286 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7291 vec_sral(__vector
signed long long __a, __vector
unsigned int __b) {
7292 return (__vector
signed long long)__builtin_s390_vsra(
7293 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7298 vec_sral(__vector __bool
long long __a, __vector
unsigned char __b) {
7299 return (__vector __bool
long long)__builtin_s390_vsra(
7300 (__vector
unsigned char)
__a,
__b);
7305 vec_sral(__vector __bool
long long __a, __vector
unsigned short __b) {
7306 return (__vector __bool
long long)__builtin_s390_vsra(
7307 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7312 vec_sral(__vector __bool
long long __a, __vector
unsigned int __b) {
7313 return (__vector __bool
long long)__builtin_s390_vsra(
7314 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7318 vec_sral(__vector
unsigned long long __a, __vector
unsigned char __b) {
7319 return (__vector
unsigned long long)__builtin_s390_vsra(
7320 (__vector
unsigned char)
__a,
__b);
7325 vec_sral(__vector
unsigned long long __a, __vector
unsigned short __b) {
7326 return (__vector
unsigned long long)__builtin_s390_vsra(
7327 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7332 vec_sral(__vector
unsigned long long __a, __vector
unsigned int __b) {
7333 return (__vector
unsigned long long)__builtin_s390_vsra(
7334 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7340 vec_srab(__vector
signed char __a, __vector
signed char __b) {
7341 return (__vector
signed char)__builtin_s390_vsrab(
7342 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7346 vec_srab(__vector
signed char __a, __vector
unsigned char __b) {
7347 return (__vector
signed char)__builtin_s390_vsrab(
7348 (__vector
unsigned char)
__a,
__b);
7352 vec_srab(__vector
unsigned char __a, __vector
signed char __b) {
7353 return __builtin_s390_vsrab(
__a, (__vector
unsigned char)
__b);
7357 vec_srab(__vector
unsigned char __a, __vector
unsigned char __b) {
7358 return __builtin_s390_vsrab(
__a,
__b);
7362 vec_srab(__vector
signed short __a, __vector
signed short __b) {
7363 return (__vector
signed short)__builtin_s390_vsrab(
7364 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7368 vec_srab(__vector
signed short __a, __vector
unsigned short __b) {
7369 return (__vector
signed short)__builtin_s390_vsrab(
7370 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7374 vec_srab(__vector
unsigned short __a, __vector
signed short __b) {
7375 return (__vector
unsigned short)__builtin_s390_vsrab(
7376 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7380 vec_srab(__vector
unsigned short __a, __vector
unsigned short __b) {
7381 return (__vector
unsigned short)__builtin_s390_vsrab(
7382 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7386 vec_srab(__vector
signed int __a, __vector
signed int __b) {
7387 return (__vector
signed int)__builtin_s390_vsrab(
7388 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7392 vec_srab(__vector
signed int __a, __vector
unsigned int __b) {
7393 return (__vector
signed int)__builtin_s390_vsrab(
7394 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7398 vec_srab(__vector
unsigned int __a, __vector
signed int __b) {
7399 return (__vector
unsigned int)__builtin_s390_vsrab(
7400 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7404 vec_srab(__vector
unsigned int __a, __vector
unsigned int __b) {
7405 return (__vector
unsigned int)__builtin_s390_vsrab(
7406 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7410 vec_srab(__vector
signed long long __a, __vector
signed long long __b) {
7411 return (__vector
signed long long)__builtin_s390_vsrab(
7412 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7416 vec_srab(__vector
signed long long __a, __vector
unsigned long long __b) {
7417 return (__vector
signed long long)__builtin_s390_vsrab(
7418 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7422 vec_srab(__vector
unsigned long long __a, __vector
signed long long __b) {
7423 return (__vector
unsigned long long)__builtin_s390_vsrab(
7424 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7428 vec_srab(__vector
unsigned long long __a, __vector
unsigned long long __b) {
7429 return (__vector
unsigned long long)__builtin_s390_vsrab(
7430 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7435 vec_srab(__vector
float __a, __vector
signed int __b) {
7436 return (__vector
float)__builtin_s390_vsrab(
7437 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7441 vec_srab(__vector
float __a, __vector
unsigned int __b) {
7442 return (__vector
float)__builtin_s390_vsrab(
7443 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7448 vec_srab(__vector
double __a, __vector
signed long long __b) {
7449 return (__vector
double)__builtin_s390_vsrab(
7450 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7454 vec_srab(__vector
double __a, __vector
unsigned long long __b) {
7455 return (__vector
double)__builtin_s390_vsrab(
7456 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7462 vec_srl(__vector
signed char __a, __vector
unsigned char __b) {
7463 return (__vector
signed char)__builtin_s390_vsrl(
7464 (__vector
unsigned char)
__a,
__b);
7469 vec_srl(__vector
signed char __a, __vector
unsigned short __b) {
7470 return (__vector
signed char)__builtin_s390_vsrl(
7471 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7476 vec_srl(__vector
signed char __a, __vector
unsigned int __b) {
7477 return (__vector
signed char)__builtin_s390_vsrl(
7478 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7483 vec_srl(__vector __bool
char __a, __vector
unsigned char __b) {
7484 return (__vector __bool
char)__builtin_s390_vsrl(
7485 (__vector
unsigned char)
__a,
__b);
7490 vec_srl(__vector __bool
char __a, __vector
unsigned short __b) {
7491 return (__vector __bool
char)__builtin_s390_vsrl(
7492 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7497 vec_srl(__vector __bool
char __a, __vector
unsigned int __b) {
7498 return (__vector __bool
char)__builtin_s390_vsrl(
7499 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7503 vec_srl(__vector
unsigned char __a, __vector
unsigned char __b) {
7504 return __builtin_s390_vsrl(
__a,
__b);
7509 vec_srl(__vector
unsigned char __a, __vector
unsigned short __b) {
7510 return __builtin_s390_vsrl(
__a, (__vector
unsigned char)
__b);
7515 vec_srl(__vector
unsigned char __a, __vector
unsigned int __b) {
7516 return __builtin_s390_vsrl(
__a, (__vector
unsigned char)
__b);
7520 vec_srl(__vector
signed short __a, __vector
unsigned char __b) {
7521 return (__vector
signed short)__builtin_s390_vsrl(
7522 (__vector
unsigned char)
__a,
__b);
7527 vec_srl(__vector
signed short __a, __vector
unsigned short __b) {
7528 return (__vector
signed short)__builtin_s390_vsrl(
7529 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7534 vec_srl(__vector
signed short __a, __vector
unsigned int __b) {
7535 return (__vector
signed short)__builtin_s390_vsrl(
7536 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7541 vec_srl(__vector __bool
short __a, __vector
unsigned char __b) {
7542 return (__vector __bool
short)__builtin_s390_vsrl(
7543 (__vector
unsigned char)
__a,
__b);
7548 vec_srl(__vector __bool
short __a, __vector
unsigned short __b) {
7549 return (__vector __bool
short)__builtin_s390_vsrl(
7550 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7555 vec_srl(__vector __bool
short __a, __vector
unsigned int __b) {
7556 return (__vector __bool
short)__builtin_s390_vsrl(
7557 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7561 vec_srl(__vector
unsigned short __a, __vector
unsigned char __b) {
7562 return (__vector
unsigned short)__builtin_s390_vsrl(
7563 (__vector
unsigned char)
__a,
__b);
7568 vec_srl(__vector
unsigned short __a, __vector
unsigned short __b) {
7569 return (__vector
unsigned short)__builtin_s390_vsrl(
7570 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7575 vec_srl(__vector
unsigned short __a, __vector
unsigned int __b) {
7576 return (__vector
unsigned short)__builtin_s390_vsrl(
7577 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7581 vec_srl(__vector
signed int __a, __vector
unsigned char __b) {
7582 return (__vector
signed int)__builtin_s390_vsrl(
7583 (__vector
unsigned char)
__a,
__b);
7588 vec_srl(__vector
signed int __a, __vector
unsigned short __b) {
7589 return (__vector
signed int)__builtin_s390_vsrl(
7590 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7595 vec_srl(__vector
signed int __a, __vector
unsigned int __b) {
7596 return (__vector
signed int)__builtin_s390_vsrl(
7597 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7602 vec_srl(__vector __bool
int __a, __vector
unsigned char __b) {
7603 return (__vector __bool
int)__builtin_s390_vsrl(
7604 (__vector
unsigned char)
__a,
__b);
7609 vec_srl(__vector __bool
int __a, __vector
unsigned short __b) {
7610 return (__vector __bool
int)__builtin_s390_vsrl(
7611 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7616 vec_srl(__vector __bool
int __a, __vector
unsigned int __b) {
7617 return (__vector __bool
int)__builtin_s390_vsrl(
7618 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7622 vec_srl(__vector
unsigned int __a, __vector
unsigned char __b) {
7623 return (__vector
unsigned int)__builtin_s390_vsrl(
7624 (__vector
unsigned char)
__a,
__b);
7629 vec_srl(__vector
unsigned int __a, __vector
unsigned short __b) {
7630 return (__vector
unsigned int)__builtin_s390_vsrl(
7631 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7636 vec_srl(__vector
unsigned int __a, __vector
unsigned int __b) {
7637 return (__vector
unsigned int)__builtin_s390_vsrl(
7638 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7642 vec_srl(__vector
signed long long __a, __vector
unsigned char __b) {
7643 return (__vector
signed long long)__builtin_s390_vsrl(
7644 (__vector
unsigned char)
__a,
__b);
7649 vec_srl(__vector
signed long long __a, __vector
unsigned short __b) {
7650 return (__vector
signed long long)__builtin_s390_vsrl(
7651 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7656 vec_srl(__vector
signed long long __a, __vector
unsigned int __b) {
7657 return (__vector
signed long long)__builtin_s390_vsrl(
7658 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7663 vec_srl(__vector __bool
long long __a, __vector
unsigned char __b) {
7664 return (__vector __bool
long long)__builtin_s390_vsrl(
7665 (__vector
unsigned char)
__a,
__b);
7670 vec_srl(__vector __bool
long long __a, __vector
unsigned short __b) {
7671 return (__vector __bool
long long)__builtin_s390_vsrl(
7672 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7677 vec_srl(__vector __bool
long long __a, __vector
unsigned int __b) {
7678 return (__vector __bool
long long)__builtin_s390_vsrl(
7679 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7683 vec_srl(__vector
unsigned long long __a, __vector
unsigned char __b) {
7684 return (__vector
unsigned long long)__builtin_s390_vsrl(
7685 (__vector
unsigned char)
__a,
__b);
7690 vec_srl(__vector
unsigned long long __a, __vector
unsigned short __b) {
7691 return (__vector
unsigned long long)__builtin_s390_vsrl(
7692 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7697 vec_srl(__vector
unsigned long long __a, __vector
unsigned int __b) {
7698 return (__vector
unsigned long long)__builtin_s390_vsrl(
7699 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7705 vec_srb(__vector
signed char __a, __vector
signed char __b) {
7706 return (__vector
signed char)__builtin_s390_vsrlb(
7707 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7711 vec_srb(__vector
signed char __a, __vector
unsigned char __b) {
7712 return (__vector
signed char)__builtin_s390_vsrlb(
7713 (__vector
unsigned char)
__a,
__b);
7717 vec_srb(__vector
unsigned char __a, __vector
signed char __b) {
7718 return __builtin_s390_vsrlb(
__a, (__vector
unsigned char)
__b);
7722 vec_srb(__vector
unsigned char __a, __vector
unsigned char __b) {
7723 return __builtin_s390_vsrlb(
__a,
__b);
7727 vec_srb(__vector
signed short __a, __vector
signed short __b) {
7728 return (__vector
signed short)__builtin_s390_vsrlb(
7729 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7733 vec_srb(__vector
signed short __a, __vector
unsigned short __b) {
7734 return (__vector
signed short)__builtin_s390_vsrlb(
7735 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7739 vec_srb(__vector
unsigned short __a, __vector
signed short __b) {
7740 return (__vector
unsigned short)__builtin_s390_vsrlb(
7741 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7745 vec_srb(__vector
unsigned short __a, __vector
unsigned short __b) {
7746 return (__vector
unsigned short)__builtin_s390_vsrlb(
7747 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7751 vec_srb(__vector
signed int __a, __vector
signed int __b) {
7752 return (__vector
signed int)__builtin_s390_vsrlb(
7753 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7757 vec_srb(__vector
signed int __a, __vector
unsigned int __b) {
7758 return (__vector
signed int)__builtin_s390_vsrlb(
7759 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7763 vec_srb(__vector
unsigned int __a, __vector
signed int __b) {
7764 return (__vector
unsigned int)__builtin_s390_vsrlb(
7765 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7769 vec_srb(__vector
unsigned int __a, __vector
unsigned int __b) {
7770 return (__vector
unsigned int)__builtin_s390_vsrlb(
7771 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7775 vec_srb(__vector
signed long long __a, __vector
signed long long __b) {
7776 return (__vector
signed long long)__builtin_s390_vsrlb(
7777 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7781 vec_srb(__vector
signed long long __a, __vector
unsigned long long __b) {
7782 return (__vector
signed long long)__builtin_s390_vsrlb(
7783 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7787 vec_srb(__vector
unsigned long long __a, __vector
signed long long __b) {
7788 return (__vector
unsigned long long)__builtin_s390_vsrlb(
7789 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7793 vec_srb(__vector
unsigned long long __a, __vector
unsigned long long __b) {
7794 return (__vector
unsigned long long)__builtin_s390_vsrlb(
7795 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7800 vec_srb(__vector
float __a, __vector
signed int __b) {
7801 return (__vector
float)__builtin_s390_vsrlb(
7802 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7806 vec_srb(__vector
float __a, __vector
unsigned int __b) {
7807 return (__vector
float)__builtin_s390_vsrlb(
7808 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7813 vec_srb(__vector
double __a, __vector
signed long long __b) {
7814 return (__vector
double)__builtin_s390_vsrlb(
7815 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7819 vec_srb(__vector
double __a, __vector
unsigned long long __b) {
7820 return (__vector
double)__builtin_s390_vsrlb(
7821 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7828 extern __ATTRS_o __vector
signed char
7829 vec_srdb(__vector
signed char __a, __vector
signed char __b,
int __c)
7830 __constant_range(
__c, 0, 7);
7832 extern __ATTRS_o __vector
unsigned char
7833 vec_srdb(__vector
unsigned char __a, __vector
unsigned char __b,
int __c)
7834 __constant_range(
__c, 0, 7);
7836 extern __ATTRS_o __vector
signed short
7837 vec_srdb(__vector
signed short __a, __vector
signed short __b,
int __c)
7838 __constant_range(
__c, 0, 7);
7840 extern __ATTRS_o __vector
unsigned short
7841 vec_srdb(__vector
unsigned short __a, __vector
unsigned short __b,
int __c)
7842 __constant_range(
__c, 0, 7);
7844 extern __ATTRS_o __vector
signed int
7845 vec_srdb(__vector
signed int __a, __vector
signed int __b,
int __c)
7846 __constant_range(
__c, 0, 7);
7848 extern __ATTRS_o __vector
unsigned int
7849 vec_srdb(__vector
unsigned int __a, __vector
unsigned int __b,
int __c)
7850 __constant_range(
__c, 0, 7);
7852 extern __ATTRS_o __vector
signed long long
7853 vec_srdb(__vector
signed long long __a, __vector
signed long long __b,
int __c)
7854 __constant_range(
__c, 0, 7);
7856 extern __ATTRS_o __vector
unsigned long long
7857 vec_srdb(__vector
unsigned long long __a, __vector
unsigned long long __b,
7859 __constant_range(
__c, 0, 7);
7861 extern __ATTRS_o __vector
float
7862 vec_srdb(__vector
float __a, __vector
float __b,
int __c)
7863 __constant_range(
__c, 0, 7);
7865 extern __ATTRS_o __vector
double
7866 vec_srdb(__vector
double __a, __vector
double __b,
int __c)
7867 __constant_range(
__c, 0, 7);
7869 #define vec_srdb(X, Y, Z) ((__typeof__((vec_srdb)((X), (Y), (Z)))) \
7870 __builtin_s390_vsrd((__vector unsigned char)(X), \
7871 (__vector unsigned char)(Y), (Z)))
7900 return __builtin_s390_vflpsb(
__a);
7906 return __builtin_s390_vflpdb(
__a);
7914 return __builtin_s390_vflnsb(
__a);
7920 return __builtin_s390_vflndb(
__a);
7926 vec_max(__vector
signed char __a, __vector
signed char __b) {
7932 vec_max(__vector
signed char __a, __vector __bool
char __b) {
7933 __vector
signed char __bc = (__vector
signed char)
__b;
7939 vec_max(__vector __bool
char __a, __vector
signed char __b) {
7940 __vector
signed char __ac = (__vector
signed char)
__a;
7945 vec_max(__vector
unsigned char __a, __vector
unsigned char __b) {
7951 vec_max(__vector
unsigned char __a, __vector __bool
char __b) {
7952 __vector
unsigned char __bc = (__vector
unsigned char)
__b;
7958 vec_max(__vector __bool
char __a, __vector
unsigned char __b) {
7959 __vector
unsigned char __ac = (__vector
unsigned char)
__a;
7964 vec_max(__vector
signed short __a, __vector
signed short __b) {
7970 vec_max(__vector
signed short __a, __vector __bool
short __b) {
7971 __vector
signed short __bc = (__vector
signed short)
__b;
7977 vec_max(__vector __bool
short __a, __vector
signed short __b) {
7978 __vector
signed short __ac = (__vector
signed short)
__a;
7983 vec_max(__vector
unsigned short __a, __vector
unsigned short __b) {
7989 vec_max(__vector
unsigned short __a, __vector __bool
short __b) {
7990 __vector
unsigned short __bc = (__vector
unsigned short)
__b;
7996 vec_max(__vector __bool
short __a, __vector
unsigned short __b) {
7997 __vector
unsigned short __ac = (__vector
unsigned short)
__a;
8009 __vector
signed int __bc = (__vector
signed int)
__b;
8016 __vector
signed int __ac = (__vector
signed int)
__a;
8021 vec_max(__vector
unsigned int __a, __vector
unsigned int __b) {
8027 vec_max(__vector
unsigned int __a, __vector __bool
int __b) {
8028 __vector
unsigned int __bc = (__vector
unsigned int)
__b;
8034 vec_max(__vector __bool
int __a, __vector
unsigned int __b) {
8035 __vector
unsigned int __ac = (__vector
unsigned int)
__a;
8040 vec_max(__vector
signed long long __a, __vector
signed long long __b) {
8046 vec_max(__vector
signed long long __a, __vector __bool
long long __b) {
8047 __vector
signed long long __bc = (__vector
signed long long)
__b;
8053 vec_max(__vector __bool
long long __a, __vector
signed long long __b) {
8054 __vector
signed long long __ac = (__vector
signed long long)
__a;
8059 vec_max(__vector
unsigned long long __a, __vector
unsigned long long __b) {
8065 vec_max(__vector
unsigned long long __a, __vector __bool
long long __b) {
8066 __vector
unsigned long long __bc = (__vector
unsigned long long)
__b;
8072 vec_max(__vector __bool
long long __a, __vector
unsigned long long __b) {
8073 __vector
unsigned long long __ac = (__vector
unsigned long long)
__a;
8080 return __builtin_s390_vfmaxsb(
__a,
__b, 0);
8087 return __builtin_s390_vfmaxdb(
__a,
__b, 0);
8096 vec_min(__vector
signed char __a, __vector
signed char __b) {
8102 vec_min(__vector
signed char __a, __vector __bool
char __b) {
8103 __vector
signed char __bc = (__vector
signed char)
__b;
8109 vec_min(__vector __bool
char __a, __vector
signed char __b) {
8110 __vector
signed char __ac = (__vector
signed char)
__a;
8115 vec_min(__vector
unsigned char __a, __vector
unsigned char __b) {
8121 vec_min(__vector
unsigned char __a, __vector __bool
char __b) {
8122 __vector
unsigned char __bc = (__vector
unsigned char)
__b;
8128 vec_min(__vector __bool
char __a, __vector
unsigned char __b) {
8129 __vector
unsigned char __ac = (__vector
unsigned char)
__a;
8134 vec_min(__vector
signed short __a, __vector
signed short __b) {
8140 vec_min(__vector
signed short __a, __vector __bool
short __b) {
8141 __vector
signed short __bc = (__vector
signed short)
__b;
8147 vec_min(__vector __bool
short __a, __vector
signed short __b) {
8148 __vector
signed short __ac = (__vector
signed short)
__a;
8153 vec_min(__vector
unsigned short __a, __vector
unsigned short __b) {
8159 vec_min(__vector
unsigned short __a, __vector __bool
short __b) {
8160 __vector
unsigned short __bc = (__vector
unsigned short)
__b;
8166 vec_min(__vector __bool
short __a, __vector
unsigned short __b) {
8167 __vector
unsigned short __ac = (__vector
unsigned short)
__a;
8179 __vector
signed int __bc = (__vector
signed int)
__b;
8186 __vector
signed int __ac = (__vector
signed int)
__a;
8191 vec_min(__vector
unsigned int __a, __vector
unsigned int __b) {
8197 vec_min(__vector
unsigned int __a, __vector __bool
int __b) {
8198 __vector
unsigned int __bc = (__vector
unsigned int)
__b;
8204 vec_min(__vector __bool
int __a, __vector
unsigned int __b) {
8205 __vector
unsigned int __ac = (__vector
unsigned int)
__a;
8210 vec_min(__vector
signed long long __a, __vector
signed long long __b) {
8216 vec_min(__vector
signed long long __a, __vector __bool
long long __b) {
8217 __vector
signed long long __bc = (__vector
signed long long)
__b;
8223 vec_min(__vector __bool
long long __a, __vector
signed long long __b) {
8224 __vector
signed long long __ac = (__vector
signed long long)
__a;
8229 vec_min(__vector
unsigned long long __a, __vector
unsigned long long __b) {
8235 vec_min(__vector
unsigned long long __a, __vector __bool
long long __b) {
8236 __vector
unsigned long long __bc = (__vector
unsigned long long)
__b;
8242 vec_min(__vector __bool
long long __a, __vector
unsigned long long __b) {
8243 __vector
unsigned long long __ac = (__vector
unsigned long long)
__a;
8250 return __builtin_s390_vfminsb(
__a,
__b, 0);
8257 return __builtin_s390_vfmindb(
__a,
__b, 0);
8265 static inline __ATTRS_ai __vector
unsigned char
8266 vec_add_u128(__vector
unsigned char __a, __vector
unsigned char __b) {
8267 return __builtin_s390_vaq(
__a,
__b);
8273 vec_addc(__vector
unsigned char __a, __vector
unsigned char __b) {
8274 return __builtin_s390_vaccb(
__a,
__b);
8278 vec_addc(__vector
unsigned short __a, __vector
unsigned short __b) {
8279 return __builtin_s390_vacch(
__a,
__b);
8284 return __builtin_s390_vaccf(
__a,
__b);
8288 vec_addc(__vector
unsigned long long __a, __vector
unsigned long long __b) {
8289 return __builtin_s390_vaccg(
__a,
__b);
8294 static inline __ATTRS_ai __vector
unsigned char
8295 vec_addc_u128(__vector
unsigned char __a, __vector
unsigned char __b) {
8296 return __builtin_s390_vaccq(
__a,
__b);
8301 static inline __ATTRS_ai __vector
unsigned char
8302 vec_adde_u128(__vector
unsigned char __a, __vector
unsigned char __b,
8303 __vector
unsigned char __c) {
8304 return __builtin_s390_vacq(
__a,
__b,
__c);
8309 static inline __ATTRS_ai __vector
unsigned char
8310 vec_addec_u128(__vector
unsigned char __a, __vector
unsigned char __b,
8311 __vector
unsigned char __c) {
8312 return __builtin_s390_vacccq(
__a,
__b,
__c);
8318 vec_avg(__vector
signed char __a, __vector
signed char __b) {
8319 return __builtin_s390_vavgb(
__a,
__b);
8323 vec_avg(__vector
signed short __a, __vector
signed short __b) {
8324 return __builtin_s390_vavgh(
__a,
__b);
8329 return __builtin_s390_vavgf(
__a,
__b);
8333 vec_avg(__vector
signed long long __a, __vector
signed long long __b) {
8334 return __builtin_s390_vavgg(
__a,
__b);
8338 vec_avg(__vector
unsigned char __a, __vector
unsigned char __b) {
8339 return __builtin_s390_vavglb(
__a,
__b);
8343 vec_avg(__vector
unsigned short __a, __vector
unsigned short __b) {
8344 return __builtin_s390_vavglh(
__a,
__b);
8348 vec_avg(__vector
unsigned int __a, __vector
unsigned int __b) {
8349 return __builtin_s390_vavglf(
__a,
__b);
8353 vec_avg(__vector
unsigned long long __a, __vector
unsigned long long __b) {
8354 return __builtin_s390_vavglg(
__a,
__b);
8359 static inline __ATTRS_ai __vector
unsigned int
8360 vec_checksum(__vector
unsigned int __a, __vector
unsigned int __b) {
8361 return __builtin_s390_vcksm(
__a,
__b);
8367 vec_gfmsum(__vector
unsigned char __a, __vector
unsigned char __b) {
8368 return __builtin_s390_vgfmb(
__a,
__b);
8372 vec_gfmsum(__vector
unsigned short __a, __vector
unsigned short __b) {
8373 return __builtin_s390_vgfmh(
__a,
__b);
8377 vec_gfmsum(__vector
unsigned int __a, __vector
unsigned int __b) {
8378 return __builtin_s390_vgfmf(
__a,
__b);
8384 vec_gfmsum_128(__vector
unsigned long long __a,
8385 __vector
unsigned long long __b) {
8386 return __builtin_s390_vgfmg(
__a,
__b);
8392 vec_gfmsum_accum(__vector
unsigned char __a, __vector
unsigned char __b,
8393 __vector
unsigned short __c) {
8394 return __builtin_s390_vgfmab(
__a,
__b,
__c);
8398 vec_gfmsum_accum(__vector
unsigned short __a, __vector
unsigned short __b,
8399 __vector
unsigned int __c) {
8400 return __builtin_s390_vgfmah(
__a,
__b,
__c);
8404 vec_gfmsum_accum(__vector
unsigned int __a, __vector
unsigned int __b,
8405 __vector
unsigned long long __c) {
8406 return __builtin_s390_vgfmaf(
__a,
__b,
__c);
8412 vec_gfmsum_accum_128(__vector
unsigned long long __a,
8413 __vector
unsigned long long __b,
8414 __vector
unsigned char __c) {
8415 return __builtin_s390_vgfmag(
__a,
__b,
__c);
8422 __vector
signed char __c) {
8428 __vector
signed char __c) {
8429 return (__vector
signed char)
__a *
__b +
__c;
8434 __vector
unsigned char __c) {
8435 return __a * (__vector
signed char)
__b + (__vector
signed char)
__c;
8440 __vector
unsigned char __c) {
8446 __vector
signed short __c) {
8452 __vector
signed short __c) {
8453 return (__vector
signed short)
__a *
__b +
__c;
8458 __vector
unsigned short __c) {
8459 return __a * (__vector
signed short)
__b + (__vector
signed short)
__c;
8464 __vector
unsigned short __c) {
8470 __vector
signed int __c) {
8476 __vector
signed int __c) {
8477 return (__vector
signed int)
__a *
__b +
__c;
8482 __vector
unsigned int __c) {
8483 return __a * (__vector
signed int)
__b + (__vector
signed int)
__c;
8488 __vector
unsigned int __c) {
8495 vec_mhadd(__vector
signed char __a, __vector
signed char __b,
8496 __vector
signed char __c) {
8497 return __builtin_s390_vmahb(
__a,
__b,
__c);
8501 vec_mhadd(__vector
unsigned char __a, __vector
unsigned char __b,
8502 __vector
unsigned char __c) {
8503 return __builtin_s390_vmalhb(
__a,
__b,
__c);
8507 vec_mhadd(__vector
signed short __a, __vector
signed short __b,
8508 __vector
signed short __c) {
8509 return __builtin_s390_vmahh(
__a,
__b,
__c);
8513 vec_mhadd(__vector
unsigned short __a, __vector
unsigned short __b,
8514 __vector
unsigned short __c) {
8515 return __builtin_s390_vmalhh(
__a,
__b,
__c);
8519 vec_mhadd(__vector
signed int __a, __vector
signed int __b,
8520 __vector
signed int __c) {
8521 return __builtin_s390_vmahf(
__a,
__b,
__c);
8525 vec_mhadd(__vector
unsigned int __a, __vector
unsigned int __b,
8526 __vector
unsigned int __c) {
8527 return __builtin_s390_vmalhf(
__a,
__b,
__c);
8533 vec_meadd(__vector
signed char __a, __vector
signed char __b,
8534 __vector
signed short __c) {
8535 return __builtin_s390_vmaeb(
__a,
__b,
__c);
8539 vec_meadd(__vector
unsigned char __a, __vector
unsigned char __b,
8540 __vector
unsigned short __c) {
8541 return __builtin_s390_vmaleb(
__a,
__b,
__c);
8545 vec_meadd(__vector
signed short __a, __vector
signed short __b,
8546 __vector
signed int __c) {
8547 return __builtin_s390_vmaeh(
__a,
__b,
__c);
8551 vec_meadd(__vector
unsigned short __a, __vector
unsigned short __b,
8552 __vector
unsigned int __c) {
8553 return __builtin_s390_vmaleh(
__a,
__b,
__c);
8557 vec_meadd(__vector
signed int __a, __vector
signed int __b,
8558 __vector
signed long long __c) {
8559 return __builtin_s390_vmaef(
__a,
__b,
__c);
8563 vec_meadd(__vector
unsigned int __a, __vector
unsigned int __b,
8564 __vector
unsigned long long __c) {
8565 return __builtin_s390_vmalef(
__a,
__b,
__c);
8571 vec_moadd(__vector
signed char __a, __vector
signed char __b,
8572 __vector
signed short __c) {
8573 return __builtin_s390_vmaob(
__a,
__b,
__c);
8577 vec_moadd(__vector
unsigned char __a, __vector
unsigned char __b,
8578 __vector
unsigned short __c) {
8579 return __builtin_s390_vmalob(
__a,
__b,
__c);
8583 vec_moadd(__vector
signed short __a, __vector
signed short __b,
8584 __vector
signed int __c) {
8585 return __builtin_s390_vmaoh(
__a,
__b,
__c);
8589 vec_moadd(__vector
unsigned short __a, __vector
unsigned short __b,
8590 __vector
unsigned int __c) {
8591 return __builtin_s390_vmaloh(
__a,
__b,
__c);
8595 vec_moadd(__vector
signed int __a, __vector
signed int __b,
8596 __vector
signed long long __c) {
8597 return __builtin_s390_vmaof(
__a,
__b,
__c);
8601 vec_moadd(__vector
unsigned int __a, __vector
unsigned int __b,
8602 __vector
unsigned long long __c) {
8603 return __builtin_s390_vmalof(
__a,
__b,
__c);
8609 vec_mulh(__vector
signed char __a, __vector
signed char __b) {
8610 return __builtin_s390_vmhb(
__a,
__b);
8614 vec_mulh(__vector
unsigned char __a, __vector
unsigned char __b) {
8615 return __builtin_s390_vmlhb(
__a,
__b);
8619 vec_mulh(__vector
signed short __a, __vector
signed short __b) {
8620 return __builtin_s390_vmhh(
__a,
__b);
8624 vec_mulh(__vector
unsigned short __a, __vector
unsigned short __b) {
8625 return __builtin_s390_vmlhh(
__a,
__b);
8629 vec_mulh(__vector
signed int __a, __vector
signed int __b) {
8630 return __builtin_s390_vmhf(
__a,
__b);
8634 vec_mulh(__vector
unsigned int __a, __vector
unsigned int __b) {
8635 return __builtin_s390_vmlhf(
__a,
__b);
8642 return __builtin_s390_vmeb(
__a,
__b);
8646 vec_mule(__vector
unsigned char __a, __vector
unsigned char __b) {
8647 return __builtin_s390_vmleb(
__a,
__b);
8652 return __builtin_s390_vmeh(
__a,
__b);
8656 vec_mule(__vector
unsigned short __a, __vector
unsigned short __b) {
8657 return __builtin_s390_vmleh(
__a,
__b);
8662 return __builtin_s390_vmef(
__a,
__b);
8667 return __builtin_s390_vmlef(
__a,
__b);
8674 return __builtin_s390_vmob(
__a,
__b);
8678 vec_mulo(__vector
unsigned char __a, __vector
unsigned char __b) {
8679 return __builtin_s390_vmlob(
__a,
__b);
8684 return __builtin_s390_vmoh(
__a,
__b);
8688 vec_mulo(__vector
unsigned short __a, __vector
unsigned short __b) {
8689 return __builtin_s390_vmloh(
__a,
__b);
8694 return __builtin_s390_vmof(
__a,
__b);
8699 return __builtin_s390_vmlof(
__a,
__b);
8705 #define vec_msum_u128(X, Y, Z, W) \
8706 ((__vector unsigned char)__builtin_s390_vmslg((X), (Y), (Z), (W)));
8711 static inline __ATTRS_ai __vector
unsigned char
8712 vec_sub_u128(__vector
unsigned char __a, __vector
unsigned char __b) {
8713 return __builtin_s390_vsq(
__a,
__b);
8719 vec_subc(__vector
unsigned char __a, __vector
unsigned char __b) {
8720 return __builtin_s390_vscbib(
__a,
__b);
8724 vec_subc(__vector
unsigned short __a, __vector
unsigned short __b) {
8725 return __builtin_s390_vscbih(
__a,
__b);
8730 return __builtin_s390_vscbif(
__a,
__b);
8734 vec_subc(__vector
unsigned long long __a, __vector
unsigned long long __b) {
8735 return __builtin_s390_vscbig(
__a,
__b);
8740 static inline __ATTRS_ai __vector
unsigned char
8741 vec_subc_u128(__vector
unsigned char __a, __vector
unsigned char __b) {
8742 return __builtin_s390_vscbiq(
__a,
__b);
8747 static inline __ATTRS_ai __vector
unsigned char
8748 vec_sube_u128(__vector
unsigned char __a, __vector
unsigned char __b,
8749 __vector
unsigned char __c) {
8750 return __builtin_s390_vsbiq(
__a,
__b,
__c);
8755 static inline __ATTRS_ai __vector
unsigned char
8756 vec_subec_u128(__vector
unsigned char __a, __vector
unsigned char __b,
8757 __vector
unsigned char __c) {
8758 return __builtin_s390_vsbcbiq(
__a,
__b,
__c);
8764 vec_sum2(__vector
unsigned short __a, __vector
unsigned short __b) {
8765 return __builtin_s390_vsumgh(
__a,
__b);
8769 vec_sum2(__vector
unsigned int __a, __vector
unsigned int __b) {
8770 return __builtin_s390_vsumgf(
__a,
__b);
8776 vec_sum_u128(__vector
unsigned int __a, __vector
unsigned int __b) {
8777 return __builtin_s390_vsumqf(
__a,
__b);
8781 vec_sum_u128(__vector
unsigned long long __a, __vector
unsigned long long __b) {
8782 return __builtin_s390_vsumqg(
__a,
__b);
8788 vec_sum4(__vector
unsigned char __a, __vector
unsigned char __b) {
8789 return __builtin_s390_vsumb(
__a,
__b);
8793 vec_sum4(__vector
unsigned short __a, __vector
unsigned short __b) {
8794 return __builtin_s390_vsumh(
__a,
__b);
8800 vec_test_mask(__vector
signed char __a, __vector
unsigned char __b) {
8801 return __builtin_s390_vtm((__vector
unsigned char)
__a,
8802 (__vector
unsigned char)
__b);
8806 vec_test_mask(__vector
unsigned char __a, __vector
unsigned char __b) {
8807 return __builtin_s390_vtm(
__a,
__b);
8811 vec_test_mask(__vector
signed short __a, __vector
unsigned short __b) {
8812 return __builtin_s390_vtm((__vector
unsigned char)
__a,
8813 (__vector
unsigned char)
__b);
8817 vec_test_mask(__vector
unsigned short __a, __vector
unsigned short __b) {
8818 return __builtin_s390_vtm((__vector
unsigned char)
__a,
8819 (__vector
unsigned char)
__b);
8823 vec_test_mask(__vector
signed int __a, __vector
unsigned int __b) {
8824 return __builtin_s390_vtm((__vector
unsigned char)
__a,
8825 (__vector
unsigned char)
__b);
8829 vec_test_mask(__vector
unsigned int __a, __vector
unsigned int __b) {
8830 return __builtin_s390_vtm((__vector
unsigned char)
__a,
8831 (__vector
unsigned char)
__b);
8835 vec_test_mask(__vector
signed long long __a, __vector
unsigned long long __b) {
8836 return __builtin_s390_vtm((__vector
unsigned char)
__a,
8837 (__vector
unsigned char)
__b);
8841 vec_test_mask(__vector
unsigned long long __a,
8842 __vector
unsigned long long __b) {
8843 return __builtin_s390_vtm((__vector
unsigned char)
__a,
8844 (__vector
unsigned char)
__b);
8849 vec_test_mask(__vector
float __a, __vector
unsigned int __b) {
8850 return __builtin_s390_vtm((__vector
unsigned char)
__a,
8851 (__vector
unsigned char)
__b);
8856 vec_test_mask(__vector
double __a, __vector
unsigned long long __b) {
8857 return __builtin_s390_vtm((__vector
unsigned char)
__a,
8858 (__vector
unsigned char)
__b);
8866 return __builtin_s390_vfmasb(
__a,
__b,
__c);
8872 return __builtin_s390_vfmadb(
__a,
__b,
__c);
8879 vec_msub(__vector
float __a, __vector
float __b, __vector
float __c) {
8880 return __builtin_s390_vfmssb(
__a,
__b,
__c);
8885 vec_msub(__vector
double __a, __vector
double __b, __vector
double __c) {
8886 return __builtin_s390_vfmsdb(
__a,
__b,
__c);
8893 vec_nmadd(__vector
float __a, __vector
float __b, __vector
float __c) {
8894 return __builtin_s390_vfnmasb(
__a,
__b,
__c);
8898 vec_nmadd(__vector
double __a, __vector
double __b, __vector
double __c) {
8899 return __builtin_s390_vfnmadb(
__a,
__b,
__c);
8908 return __builtin_s390_vfnmssb(
__a,
__b,
__c);
8913 return __builtin_s390_vfnmsdb(
__a,
__b,
__c);
8921 vec_sqrt(__vector
float __a) {
8922 return __builtin_s390_vfsqsb(
__a);
8927 vec_sqrt(__vector
double __a) {
8928 return __builtin_s390_vfsqdb(
__a);
8934 static inline __ATTRS_ai __vector
double
8935 vec_ld2f(
const float *__ptr) {
8937 return __builtin_convertvector(*(
const __v2f32 *)__ptr, __vector
double);
8943 static inline __ATTRS_ai
void
8944 vec_st2f(__vector
double __a,
float *__ptr) {
8946 *(__v2f32 *)__ptr = __builtin_convertvector(
__a, __v2f32);
8953 vec_ctd(__vector
signed long long __a,
int __b)
8954 __constant_range(
__b, 0, 31) {
8955 __vector
double __conv = __builtin_convertvector(
__a, __vector
double);
8956 __conv *= ((__vector
double)(__vector
unsigned long long)
8957 ((0x3ffULL -
__b) << 52));
8963 vec_ctd(__vector
unsigned long long __a,
int __b)
8964 __constant_range(
__b, 0, 31) {
8965 __vector
double __conv = __builtin_convertvector(
__a, __vector
double);
8966 __conv *= ((__vector
double)(__vector
unsigned long long)
8967 ((0x3ffULL -
__b) << 52));
8975 vec_ctsl(__vector
double __a,
int __b)
8976 __constant_range(
__b, 0, 31) {
8977 __a *= ((__vector
double)(__vector
unsigned long long)
8978 ((0x3ffULL +
__b) << 52));
8979 return __builtin_convertvector(
__a, __vector
signed long long);
8986 vec_ctul(__vector
double __a,
int __b)
8987 __constant_range(
__b, 0, 31) {
8988 __a *= ((__vector
double)(__vector
unsigned long long)
8989 ((0x3ffULL +
__b) << 52));
8990 return __builtin_convertvector(
__a, __vector
unsigned long long);
8996 static inline __ATTRS_ai __vector
double
8997 vec_doublee(__vector
float __a) {
8999 __v2f32 __pack = __builtin_shufflevector(
__a,
__a, 0, 2);
9000 return __builtin_convertvector(__pack, __vector
double);
9007 static inline __ATTRS_ai __vector
float
9008 vec_floate(__vector
double __a) {
9010 __v2f32 __pack = __builtin_convertvector(
__a, __v2f32);
9011 return __builtin_shufflevector(__pack, __pack, 0, -1, 1, -1);
9018 vec_double(__vector
signed long long __a) {
9019 return __builtin_convertvector(
__a, __vector
double);
9023 vec_double(__vector
unsigned long long __a) {
9024 return __builtin_convertvector(
__a, __vector
double);
9033 return __builtin_convertvector(
__a, __vector
float);
9038 return __builtin_convertvector(
__a, __vector
float);
9047 return __builtin_convertvector(
__a, __vector
signed long long);
9053 return __builtin_convertvector(
__a, __vector
signed int);
9061 return __builtin_convertvector(
__a, __vector
unsigned long long);
9067 return __builtin_convertvector(
__a, __vector
unsigned int);
9075 vec_roundp(__vector
float __a) {
9076 return __builtin_s390_vfisb(
__a, 4, 6);
9081 vec_roundp(__vector
double __a) {
9082 return __builtin_s390_vfidb(
__a, 4, 6);
9091 return __builtin_s390_vfisb(
__a, 4, 6);
9098 return __builtin_s390_vfidb(
__a, 4, 6);
9105 vec_roundm(__vector
float __a) {
9106 return __builtin_s390_vfisb(
__a, 4, 7);
9111 vec_roundm(__vector
double __a) {
9112 return __builtin_s390_vfidb(
__a, 4, 7);
9121 return __builtin_s390_vfisb(
__a, 4, 7);
9128 return __builtin_s390_vfidb(
__a, 4, 7);
9135 vec_roundz(__vector
float __a) {
9136 return __builtin_s390_vfisb(
__a, 4, 5);
9141 vec_roundz(__vector
double __a) {
9142 return __builtin_s390_vfidb(
__a, 4, 5);
9151 return __builtin_s390_vfisb(
__a, 4, 5);
9158 return __builtin_s390_vfidb(
__a, 4, 5);
9165 vec_roundc(__vector
float __a) {
9166 return __builtin_s390_vfisb(
__a, 4, 0);
9171 vec_roundc(__vector
double __a) {
9172 return __builtin_s390_vfidb(
__a, 4, 0);
9179 vec_rint(__vector
float __a) {
9181 return __builtin_s390_vfisb(
__a, 0, 0);
9186 vec_rint(__vector
double __a) {
9188 return __builtin_s390_vfidb(
__a, 0, 0);
9196 return __builtin_s390_vfisb(
__a, 4, 4);
9202 return __builtin_s390_vfidb(
__a, 4, 4);
9208 extern __ATTRS_o __vector __bool
int
9209 vec_fp_test_data_class(__vector
float __a,
int __b,
int *
__c)
9210 __constant_range(
__b, 0, 4095);
9212 extern __ATTRS_o __vector __bool
long long
9213 vec_fp_test_data_class(__vector
double __a,
int __b,
int *
__c)
9214 __constant_range(
__b, 0, 4095);
9216 #define vec_fp_test_data_class(X, Y, Z) \
9217 ((__typeof__((vec_fp_test_data_class)((X), (Y), (Z)))) \
9219 __vector unsigned char __res; \
9220 __vector unsigned char __x = (__vector unsigned char)(X); \
9222 switch (sizeof ((X)[0])) { \
9223 case 4: __res = (__vector unsigned char) \
9224 __builtin_s390_vftcisb((__vector float)__x, (Y), __z); \
9226 default: __res = (__vector unsigned char) \
9227 __builtin_s390_vftcidb((__vector double)__x, (Y), __z); \
9231 #define vec_fp_test_data_class(X, Y, Z) \
9232 ((__vector __bool long long)__builtin_s390_vftcidb((X), (Y), (Z)))
9235 #define __VEC_CLASS_FP_ZERO_P (1 << 11)
9236 #define __VEC_CLASS_FP_ZERO_N (1 << 10)
9237 #define __VEC_CLASS_FP_ZERO (__VEC_CLASS_FP_ZERO_P | __VEC_CLASS_FP_ZERO_N)
9238 #define __VEC_CLASS_FP_NORMAL_P (1 << 9)
9239 #define __VEC_CLASS_FP_NORMAL_N (1 << 8)
9240 #define __VEC_CLASS_FP_NORMAL (__VEC_CLASS_FP_NORMAL_P | \
9241 __VEC_CLASS_FP_NORMAL_N)
9242 #define __VEC_CLASS_FP_SUBNORMAL_P (1 << 7)
9243 #define __VEC_CLASS_FP_SUBNORMAL_N (1 << 6)
9244 #define __VEC_CLASS_FP_SUBNORMAL (__VEC_CLASS_FP_SUBNORMAL_P | \
9245 __VEC_CLASS_FP_SUBNORMAL_N)
9246 #define __VEC_CLASS_FP_INFINITY_P (1 << 5)
9247 #define __VEC_CLASS_FP_INFINITY_N (1 << 4)
9248 #define __VEC_CLASS_FP_INFINITY (__VEC_CLASS_FP_INFINITY_P | \
9249 __VEC_CLASS_FP_INFINITY_N)
9250 #define __VEC_CLASS_FP_QNAN_P (1 << 3)
9251 #define __VEC_CLASS_FP_QNAN_N (1 << 2)
9252 #define __VEC_CLASS_FP_QNAN (__VEC_CLASS_FP_QNAN_P | __VEC_CLASS_FP_QNAN_N)
9253 #define __VEC_CLASS_FP_SNAN_P (1 << 1)
9254 #define __VEC_CLASS_FP_SNAN_N (1 << 0)
9255 #define __VEC_CLASS_FP_SNAN (__VEC_CLASS_FP_SNAN_P | __VEC_CLASS_FP_SNAN_N)
9256 #define __VEC_CLASS_FP_NAN (__VEC_CLASS_FP_QNAN | __VEC_CLASS_FP_SNAN)
9257 #define __VEC_CLASS_FP_NOT_NORMAL (__VEC_CLASS_FP_NAN | \
9258 __VEC_CLASS_FP_SUBNORMAL | \
9259 __VEC_CLASS_FP_ZERO | \
9260 __VEC_CLASS_FP_INFINITY)
9265 vec_cp_until_zero(__vector
signed char __a) {
9266 return ((__vector
signed char)
9267 __builtin_s390_vistrb((__vector
unsigned char)
__a));
9271 vec_cp_until_zero(__vector __bool
char __a) {
9272 return ((__vector __bool
char)
9273 __builtin_s390_vistrb((__vector
unsigned char)
__a));
9277 vec_cp_until_zero(__vector
unsigned char __a) {
9278 return __builtin_s390_vistrb(
__a);
9282 vec_cp_until_zero(__vector
signed short __a) {
9283 return ((__vector
signed short)
9284 __builtin_s390_vistrh((__vector
unsigned short)
__a));
9288 vec_cp_until_zero(__vector __bool
short __a) {
9289 return ((__vector __bool
short)
9290 __builtin_s390_vistrh((__vector
unsigned short)
__a));
9294 vec_cp_until_zero(__vector
unsigned short __a) {
9295 return __builtin_s390_vistrh(
__a);
9299 vec_cp_until_zero(__vector
signed int __a) {
9300 return ((__vector
signed int)
9301 __builtin_s390_vistrf((__vector
unsigned int)
__a));
9305 vec_cp_until_zero(__vector __bool
int __a) {
9306 return ((__vector __bool
int)
9307 __builtin_s390_vistrf((__vector
unsigned int)
__a));
9311 vec_cp_until_zero(__vector
unsigned int __a) {
9312 return __builtin_s390_vistrf(
__a);
9318 vec_cp_until_zero_cc(__vector
signed char __a,
int *__cc) {
9319 return (__vector
signed char)
9320 __builtin_s390_vistrbs((__vector
unsigned char)
__a, __cc);
9324 vec_cp_until_zero_cc(__vector __bool
char __a,
int *__cc) {
9325 return (__vector __bool
char)
9326 __builtin_s390_vistrbs((__vector
unsigned char)
__a, __cc);
9330 vec_cp_until_zero_cc(__vector
unsigned char __a,
int *__cc) {
9331 return __builtin_s390_vistrbs(
__a, __cc);
9335 vec_cp_until_zero_cc(__vector
signed short __a,
int *__cc) {
9336 return (__vector
signed short)
9337 __builtin_s390_vistrhs((__vector
unsigned short)
__a, __cc);
9341 vec_cp_until_zero_cc(__vector __bool
short __a,
int *__cc) {
9342 return (__vector __bool
short)
9343 __builtin_s390_vistrhs((__vector
unsigned short)
__a, __cc);
9347 vec_cp_until_zero_cc(__vector
unsigned short __a,
int *__cc) {
9348 return __builtin_s390_vistrhs(
__a, __cc);
9352 vec_cp_until_zero_cc(__vector
signed int __a,
int *__cc) {
9353 return (__vector
signed int)
9354 __builtin_s390_vistrfs((__vector
unsigned int)
__a, __cc);
9358 vec_cp_until_zero_cc(__vector __bool
int __a,
int *__cc) {
9359 return (__vector __bool
int)
9360 __builtin_s390_vistrfs((__vector
unsigned int)
__a, __cc);
9364 vec_cp_until_zero_cc(__vector
unsigned int __a,
int *__cc) {
9365 return __builtin_s390_vistrfs(
__a, __cc);
9371 vec_cmpeq_idx(__vector
signed char __a, __vector
signed char __b) {
9372 return (__vector
signed char)
9373 __builtin_s390_vfeeb((__vector
unsigned char)
__a,
9374 (__vector
unsigned char)
__b);
9378 vec_cmpeq_idx(__vector __bool
char __a, __vector __bool
char __b) {
9379 return __builtin_s390_vfeeb((__vector
unsigned char)
__a,
9380 (__vector
unsigned char)
__b);
9384 vec_cmpeq_idx(__vector
unsigned char __a, __vector
unsigned char __b) {
9385 return __builtin_s390_vfeeb(
__a,
__b);
9389 vec_cmpeq_idx(__vector
signed short __a, __vector
signed short __b) {
9390 return (__vector
signed short)
9391 __builtin_s390_vfeeh((__vector
unsigned short)
__a,
9392 (__vector
unsigned short)
__b);
9396 vec_cmpeq_idx(__vector __bool
short __a, __vector __bool
short __b) {
9397 return __builtin_s390_vfeeh((__vector
unsigned short)
__a,
9398 (__vector
unsigned short)
__b);
9402 vec_cmpeq_idx(__vector
unsigned short __a, __vector
unsigned short __b) {
9403 return __builtin_s390_vfeeh(
__a,
__b);
9407 vec_cmpeq_idx(__vector
signed int __a, __vector
signed int __b) {
9408 return (__vector
signed int)
9409 __builtin_s390_vfeef((__vector
unsigned int)
__a,
9410 (__vector
unsigned int)
__b);
9414 vec_cmpeq_idx(__vector __bool
int __a, __vector __bool
int __b) {
9415 return __builtin_s390_vfeef((__vector
unsigned int)
__a,
9416 (__vector
unsigned int)
__b);
9420 vec_cmpeq_idx(__vector
unsigned int __a, __vector
unsigned int __b) {
9421 return __builtin_s390_vfeef(
__a,
__b);
9427 vec_cmpeq_idx_cc(__vector
signed char __a, __vector
signed char __b,
int *__cc) {
9428 return (__vector
signed char)
9429 __builtin_s390_vfeebs((__vector
unsigned char)
__a,
9430 (__vector
unsigned char)
__b, __cc);
9434 vec_cmpeq_idx_cc(__vector __bool
char __a, __vector __bool
char __b,
int *__cc) {
9435 return __builtin_s390_vfeebs((__vector
unsigned char)
__a,
9436 (__vector
unsigned char)
__b, __cc);
9440 vec_cmpeq_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
9442 return __builtin_s390_vfeebs(
__a,
__b, __cc);
9446 vec_cmpeq_idx_cc(__vector
signed short __a, __vector
signed short __b,
9448 return (__vector
signed short)
9449 __builtin_s390_vfeehs((__vector
unsigned short)
__a,
9450 (__vector
unsigned short)
__b, __cc);
9454 vec_cmpeq_idx_cc(__vector __bool
short __a, __vector __bool
short __b,
int *__cc) {
9455 return __builtin_s390_vfeehs((__vector
unsigned short)
__a,
9456 (__vector
unsigned short)
__b, __cc);
9460 vec_cmpeq_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
9462 return __builtin_s390_vfeehs(
__a,
__b, __cc);
9466 vec_cmpeq_idx_cc(__vector
signed int __a, __vector
signed int __b,
int *__cc) {
9467 return (__vector
signed int)
9468 __builtin_s390_vfeefs((__vector
unsigned int)
__a,
9469 (__vector
unsigned int)
__b, __cc);
9473 vec_cmpeq_idx_cc(__vector __bool
int __a, __vector __bool
int __b,
int *__cc) {
9474 return __builtin_s390_vfeefs((__vector
unsigned int)
__a,
9475 (__vector
unsigned int)
__b, __cc);
9479 vec_cmpeq_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
9481 return __builtin_s390_vfeefs(
__a,
__b, __cc);
9487 vec_cmpeq_or_0_idx(__vector
signed char __a, __vector
signed char __b) {
9488 return (__vector
signed char)
9489 __builtin_s390_vfeezb((__vector
unsigned char)
__a,
9490 (__vector
unsigned char)
__b);
9494 vec_cmpeq_or_0_idx(__vector __bool
char __a, __vector __bool
char __b) {
9495 return __builtin_s390_vfeezb((__vector
unsigned char)
__a,
9496 (__vector
unsigned char)
__b);
9500 vec_cmpeq_or_0_idx(__vector
unsigned char __a, __vector
unsigned char __b) {
9501 return __builtin_s390_vfeezb(
__a,
__b);
9505 vec_cmpeq_or_0_idx(__vector
signed short __a, __vector
signed short __b) {
9506 return (__vector
signed short)
9507 __builtin_s390_vfeezh((__vector
unsigned short)
__a,
9508 (__vector
unsigned short)
__b);
9512 vec_cmpeq_or_0_idx(__vector __bool
short __a, __vector __bool
short __b) {
9513 return __builtin_s390_vfeezh((__vector
unsigned short)
__a,
9514 (__vector
unsigned short)
__b);
9518 vec_cmpeq_or_0_idx(__vector
unsigned short __a, __vector
unsigned short __b) {
9519 return __builtin_s390_vfeezh(
__a,
__b);
9523 vec_cmpeq_or_0_idx(__vector
signed int __a, __vector
signed int __b) {
9524 return (__vector
signed int)
9525 __builtin_s390_vfeezf((__vector
unsigned int)
__a,
9526 (__vector
unsigned int)
__b);
9530 vec_cmpeq_or_0_idx(__vector __bool
int __a, __vector __bool
int __b) {
9531 return __builtin_s390_vfeezf((__vector
unsigned int)
__a,
9532 (__vector
unsigned int)
__b);
9536 vec_cmpeq_or_0_idx(__vector
unsigned int __a, __vector
unsigned int __b) {
9537 return __builtin_s390_vfeezf(
__a,
__b);
9543 vec_cmpeq_or_0_idx_cc(__vector
signed char __a, __vector
signed char __b,
9545 return (__vector
signed char)
9546 __builtin_s390_vfeezbs((__vector
unsigned char)
__a,
9547 (__vector
unsigned char)
__b, __cc);
9551 vec_cmpeq_or_0_idx_cc(__vector __bool
char __a, __vector __bool
char __b,
9553 return __builtin_s390_vfeezbs((__vector
unsigned char)
__a,
9554 (__vector
unsigned char)
__b, __cc);
9558 vec_cmpeq_or_0_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
9560 return __builtin_s390_vfeezbs(
__a,
__b, __cc);
9564 vec_cmpeq_or_0_idx_cc(__vector
signed short __a, __vector
signed short __b,
9566 return (__vector
signed short)
9567 __builtin_s390_vfeezhs((__vector
unsigned short)
__a,
9568 (__vector
unsigned short)
__b, __cc);
9572 vec_cmpeq_or_0_idx_cc(__vector __bool
short __a, __vector __bool
short __b,
9574 return __builtin_s390_vfeezhs((__vector
unsigned short)
__a,
9575 (__vector
unsigned short)
__b, __cc);
9579 vec_cmpeq_or_0_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
9581 return __builtin_s390_vfeezhs(
__a,
__b, __cc);
9585 vec_cmpeq_or_0_idx_cc(__vector
signed int __a, __vector
signed int __b,
9587 return (__vector
signed int)
9588 __builtin_s390_vfeezfs((__vector
unsigned int)
__a,
9589 (__vector
unsigned int)
__b, __cc);
9593 vec_cmpeq_or_0_idx_cc(__vector __bool
int __a, __vector __bool
int __b,
9595 return __builtin_s390_vfeezfs((__vector
unsigned int)
__a,
9596 (__vector
unsigned int)
__b, __cc);
9600 vec_cmpeq_or_0_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
9602 return __builtin_s390_vfeezfs(
__a,
__b, __cc);
9608 vec_cmpne_idx(__vector
signed char __a, __vector
signed char __b) {
9609 return (__vector
signed char)
9610 __builtin_s390_vfeneb((__vector
unsigned char)
__a,
9611 (__vector
unsigned char)
__b);
9615 vec_cmpne_idx(__vector __bool
char __a, __vector __bool
char __b) {
9616 return __builtin_s390_vfeneb((__vector
unsigned char)
__a,
9617 (__vector
unsigned char)
__b);
9621 vec_cmpne_idx(__vector
unsigned char __a, __vector
unsigned char __b) {
9622 return __builtin_s390_vfeneb(
__a,
__b);
9626 vec_cmpne_idx(__vector
signed short __a, __vector
signed short __b) {
9627 return (__vector
signed short)
9628 __builtin_s390_vfeneh((__vector
unsigned short)
__a,
9629 (__vector
unsigned short)
__b);
9633 vec_cmpne_idx(__vector __bool
short __a, __vector __bool
short __b) {
9634 return __builtin_s390_vfeneh((__vector
unsigned short)
__a,
9635 (__vector
unsigned short)
__b);
9639 vec_cmpne_idx(__vector
unsigned short __a, __vector
unsigned short __b) {
9640 return __builtin_s390_vfeneh(
__a,
__b);
9644 vec_cmpne_idx(__vector
signed int __a, __vector
signed int __b) {
9645 return (__vector
signed int)
9646 __builtin_s390_vfenef((__vector
unsigned int)
__a,
9647 (__vector
unsigned int)
__b);
9651 vec_cmpne_idx(__vector __bool
int __a, __vector __bool
int __b) {
9652 return __builtin_s390_vfenef((__vector
unsigned int)
__a,
9653 (__vector
unsigned int)
__b);
9657 vec_cmpne_idx(__vector
unsigned int __a, __vector
unsigned int __b) {
9658 return __builtin_s390_vfenef(
__a,
__b);
9664 vec_cmpne_idx_cc(__vector
signed char __a, __vector
signed char __b,
int *__cc) {
9665 return (__vector
signed char)
9666 __builtin_s390_vfenebs((__vector
unsigned char)
__a,
9667 (__vector
unsigned char)
__b, __cc);
9671 vec_cmpne_idx_cc(__vector __bool
char __a, __vector __bool
char __b,
int *__cc) {
9672 return __builtin_s390_vfenebs((__vector
unsigned char)
__a,
9673 (__vector
unsigned char)
__b, __cc);
9677 vec_cmpne_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
9679 return __builtin_s390_vfenebs(
__a,
__b, __cc);
9683 vec_cmpne_idx_cc(__vector
signed short __a, __vector
signed short __b,
9685 return (__vector
signed short)
9686 __builtin_s390_vfenehs((__vector
unsigned short)
__a,
9687 (__vector
unsigned short)
__b, __cc);
9691 vec_cmpne_idx_cc(__vector __bool
short __a, __vector __bool
short __b,
9693 return __builtin_s390_vfenehs((__vector
unsigned short)
__a,
9694 (__vector
unsigned short)
__b, __cc);
9698 vec_cmpne_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
9700 return __builtin_s390_vfenehs(
__a,
__b, __cc);
9704 vec_cmpne_idx_cc(__vector
signed int __a, __vector
signed int __b,
int *__cc) {
9705 return (__vector
signed int)
9706 __builtin_s390_vfenefs((__vector
unsigned int)
__a,
9707 (__vector
unsigned int)
__b, __cc);
9711 vec_cmpne_idx_cc(__vector __bool
int __a, __vector __bool
int __b,
int *__cc) {
9712 return __builtin_s390_vfenefs((__vector
unsigned int)
__a,
9713 (__vector
unsigned int)
__b, __cc);
9717 vec_cmpne_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
9719 return __builtin_s390_vfenefs(
__a,
__b, __cc);
9725 vec_cmpne_or_0_idx(__vector
signed char __a, __vector
signed char __b) {
9726 return (__vector
signed char)
9727 __builtin_s390_vfenezb((__vector
unsigned char)
__a,
9728 (__vector
unsigned char)
__b);
9732 vec_cmpne_or_0_idx(__vector __bool
char __a, __vector __bool
char __b) {
9733 return __builtin_s390_vfenezb((__vector
unsigned char)
__a,
9734 (__vector
unsigned char)
__b);
9738 vec_cmpne_or_0_idx(__vector
unsigned char __a, __vector
unsigned char __b) {
9739 return __builtin_s390_vfenezb(
__a,
__b);
9743 vec_cmpne_or_0_idx(__vector
signed short __a, __vector
signed short __b) {
9744 return (__vector
signed short)
9745 __builtin_s390_vfenezh((__vector
unsigned short)
__a,
9746 (__vector
unsigned short)
__b);
9750 vec_cmpne_or_0_idx(__vector __bool
short __a, __vector __bool
short __b) {
9751 return __builtin_s390_vfenezh((__vector
unsigned short)
__a,
9752 (__vector
unsigned short)
__b);
9756 vec_cmpne_or_0_idx(__vector
unsigned short __a, __vector
unsigned short __b) {
9757 return __builtin_s390_vfenezh(
__a,
__b);
9761 vec_cmpne_or_0_idx(__vector
signed int __a, __vector
signed int __b) {
9762 return (__vector
signed int)
9763 __builtin_s390_vfenezf((__vector
unsigned int)
__a,
9764 (__vector
unsigned int)
__b);
9768 vec_cmpne_or_0_idx(__vector __bool
int __a, __vector __bool
int __b) {
9769 return __builtin_s390_vfenezf((__vector
unsigned int)
__a,
9770 (__vector
unsigned int)
__b);
9774 vec_cmpne_or_0_idx(__vector
unsigned int __a, __vector
unsigned int __b) {
9775 return __builtin_s390_vfenezf(
__a,
__b);
9781 vec_cmpne_or_0_idx_cc(__vector
signed char __a, __vector
signed char __b,
9783 return (__vector
signed char)
9784 __builtin_s390_vfenezbs((__vector
unsigned char)
__a,
9785 (__vector
unsigned char)
__b, __cc);
9789 vec_cmpne_or_0_idx_cc(__vector __bool
char __a, __vector __bool
char __b,
9791 return __builtin_s390_vfenezbs((__vector
unsigned char)
__a,
9792 (__vector
unsigned char)
__b, __cc);
9796 vec_cmpne_or_0_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
9798 return __builtin_s390_vfenezbs(
__a,
__b, __cc);
9802 vec_cmpne_or_0_idx_cc(__vector
signed short __a, __vector
signed short __b,
9804 return (__vector
signed short)
9805 __builtin_s390_vfenezhs((__vector
unsigned short)
__a,
9806 (__vector
unsigned short)
__b, __cc);
9810 vec_cmpne_or_0_idx_cc(__vector __bool
short __a, __vector __bool
short __b,
9812 return __builtin_s390_vfenezhs((__vector
unsigned short)
__a,
9813 (__vector
unsigned short)
__b, __cc);
9817 vec_cmpne_or_0_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
9819 return __builtin_s390_vfenezhs(
__a,
__b, __cc);
9823 vec_cmpne_or_0_idx_cc(__vector
signed int __a, __vector
signed int __b,
9825 return (__vector
signed int)
9826 __builtin_s390_vfenezfs((__vector
unsigned int)
__a,
9827 (__vector
unsigned int)
__b, __cc);
9831 vec_cmpne_or_0_idx_cc(__vector __bool
int __a, __vector __bool
int __b,
9833 return __builtin_s390_vfenezfs((__vector
unsigned int)
__a,
9834 (__vector
unsigned int)
__b, __cc);
9838 vec_cmpne_or_0_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
9840 return __builtin_s390_vfenezfs(
__a,
__b, __cc);
9846 vec_cmprg(__vector
unsigned char __a, __vector
unsigned char __b,
9847 __vector
unsigned char __c) {
9848 return (__vector __bool
char)__builtin_s390_vstrcb(
__a,
__b,
__c, 4);
9852 vec_cmprg(__vector
unsigned short __a, __vector
unsigned short __b,
9853 __vector
unsigned short __c) {
9854 return (__vector __bool
short)__builtin_s390_vstrch(
__a,
__b,
__c, 4);
9858 vec_cmprg(__vector
unsigned int __a, __vector
unsigned int __b,
9859 __vector
unsigned int __c) {
9860 return (__vector __bool
int)__builtin_s390_vstrcf(
__a,
__b,
__c, 4);
9866 vec_cmprg_cc(__vector
unsigned char __a, __vector
unsigned char __b,
9867 __vector
unsigned char __c,
int *__cc) {
9868 return (__vector __bool
char)__builtin_s390_vstrcbs(
__a,
__b,
__c, 4, __cc);
9872 vec_cmprg_cc(__vector
unsigned short __a, __vector
unsigned short __b,
9873 __vector
unsigned short __c,
int *__cc) {
9874 return (__vector __bool
short)__builtin_s390_vstrchs(
__a,
__b,
__c, 4, __cc);
9878 vec_cmprg_cc(__vector
unsigned int __a, __vector
unsigned int __b,
9879 __vector
unsigned int __c,
int *__cc) {
9880 return (__vector __bool
int)__builtin_s390_vstrcfs(
__a,
__b,
__c, 4, __cc);
9886 vec_cmprg_idx(__vector
unsigned char __a, __vector
unsigned char __b,
9887 __vector
unsigned char __c) {
9888 return __builtin_s390_vstrcb(
__a,
__b,
__c, 0);
9892 vec_cmprg_idx(__vector
unsigned short __a, __vector
unsigned short __b,
9893 __vector
unsigned short __c) {
9894 return __builtin_s390_vstrch(
__a,
__b,
__c, 0);
9898 vec_cmprg_idx(__vector
unsigned int __a, __vector
unsigned int __b,
9899 __vector
unsigned int __c) {
9900 return __builtin_s390_vstrcf(
__a,
__b,
__c, 0);
9906 vec_cmprg_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
9907 __vector
unsigned char __c,
int *__cc) {
9908 return __builtin_s390_vstrcbs(
__a,
__b,
__c, 0, __cc);
9912 vec_cmprg_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
9913 __vector
unsigned short __c,
int *__cc) {
9914 return __builtin_s390_vstrchs(
__a,
__b,
__c, 0, __cc);
9918 vec_cmprg_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
9919 __vector
unsigned int __c,
int *__cc) {
9920 return __builtin_s390_vstrcfs(
__a,
__b,
__c, 0, __cc);
9926 vec_cmprg_or_0_idx(__vector
unsigned char __a, __vector
unsigned char __b,
9927 __vector
unsigned char __c) {
9928 return __builtin_s390_vstrczb(
__a,
__b,
__c, 0);
9932 vec_cmprg_or_0_idx(__vector
unsigned short __a, __vector
unsigned short __b,
9933 __vector
unsigned short __c) {
9934 return __builtin_s390_vstrczh(
__a,
__b,
__c, 0);
9938 vec_cmprg_or_0_idx(__vector
unsigned int __a, __vector
unsigned int __b,
9939 __vector
unsigned int __c) {
9940 return __builtin_s390_vstrczf(
__a,
__b,
__c, 0);
9946 vec_cmprg_or_0_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
9947 __vector
unsigned char __c,
int *__cc) {
9948 return __builtin_s390_vstrczbs(
__a,
__b,
__c, 0, __cc);
9952 vec_cmprg_or_0_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
9953 __vector
unsigned short __c,
int *__cc) {
9954 return __builtin_s390_vstrczhs(
__a,
__b,
__c, 0, __cc);
9958 vec_cmprg_or_0_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
9959 __vector
unsigned int __c,
int *__cc) {
9960 return __builtin_s390_vstrczfs(
__a,
__b,
__c, 0, __cc);
9966 vec_cmpnrg(__vector
unsigned char __a, __vector
unsigned char __b,
9967 __vector
unsigned char __c) {
9968 return (__vector __bool
char)__builtin_s390_vstrcb(
__a,
__b,
__c, 12);
9972 vec_cmpnrg(__vector
unsigned short __a, __vector
unsigned short __b,
9973 __vector
unsigned short __c) {
9974 return (__vector __bool
short)__builtin_s390_vstrch(
__a,
__b,
__c, 12);
9978 vec_cmpnrg(__vector
unsigned int __a, __vector
unsigned int __b,
9979 __vector
unsigned int __c) {
9980 return (__vector __bool
int)__builtin_s390_vstrcf(
__a,
__b,
__c, 12);
9986 vec_cmpnrg_cc(__vector
unsigned char __a, __vector
unsigned char __b,
9987 __vector
unsigned char __c,
int *__cc) {
9988 return (__vector __bool
char)
9989 __builtin_s390_vstrcbs(
__a,
__b,
__c, 12, __cc);
9993 vec_cmpnrg_cc(__vector
unsigned short __a, __vector
unsigned short __b,
9994 __vector
unsigned short __c,
int *__cc) {
9995 return (__vector __bool
short)
9996 __builtin_s390_vstrchs(
__a,
__b,
__c, 12, __cc);
10000 vec_cmpnrg_cc(__vector
unsigned int __a, __vector
unsigned int __b,
10001 __vector
unsigned int __c,
int *__cc) {
10002 return (__vector __bool
int)
10003 __builtin_s390_vstrcfs(
__a,
__b,
__c, 12, __cc);
10009 vec_cmpnrg_idx(__vector
unsigned char __a, __vector
unsigned char __b,
10010 __vector
unsigned char __c) {
10011 return __builtin_s390_vstrcb(
__a,
__b,
__c, 8);
10015 vec_cmpnrg_idx(__vector
unsigned short __a, __vector
unsigned short __b,
10016 __vector
unsigned short __c) {
10017 return __builtin_s390_vstrch(
__a,
__b,
__c, 8);
10021 vec_cmpnrg_idx(__vector
unsigned int __a, __vector
unsigned int __b,
10022 __vector
unsigned int __c) {
10023 return __builtin_s390_vstrcf(
__a,
__b,
__c, 8);
10029 vec_cmpnrg_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
10030 __vector
unsigned char __c,
int *__cc) {
10031 return __builtin_s390_vstrcbs(
__a,
__b,
__c, 8, __cc);
10035 vec_cmpnrg_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
10036 __vector
unsigned short __c,
int *__cc) {
10037 return __builtin_s390_vstrchs(
__a,
__b,
__c, 8, __cc);
10041 vec_cmpnrg_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
10042 __vector
unsigned int __c,
int *__cc) {
10043 return __builtin_s390_vstrcfs(
__a,
__b,
__c, 8, __cc);
10049 vec_cmpnrg_or_0_idx(__vector
unsigned char __a, __vector
unsigned char __b,
10050 __vector
unsigned char __c) {
10051 return __builtin_s390_vstrczb(
__a,
__b,
__c, 8);
10055 vec_cmpnrg_or_0_idx(__vector
unsigned short __a, __vector
unsigned short __b,
10056 __vector
unsigned short __c) {
10057 return __builtin_s390_vstrczh(
__a,
__b,
__c, 8);
10061 vec_cmpnrg_or_0_idx(__vector
unsigned int __a, __vector
unsigned int __b,
10062 __vector
unsigned int __c) {
10063 return __builtin_s390_vstrczf(
__a,
__b,
__c, 8);
10069 vec_cmpnrg_or_0_idx_cc(__vector
unsigned char __a,
10070 __vector
unsigned char __b,
10071 __vector
unsigned char __c,
int *__cc) {
10072 return __builtin_s390_vstrczbs(
__a,
__b,
__c, 8, __cc);
10076 vec_cmpnrg_or_0_idx_cc(__vector
unsigned short __a,
10077 __vector
unsigned short __b,
10078 __vector
unsigned short __c,
int *__cc) {
10079 return __builtin_s390_vstrczhs(
__a,
__b,
__c, 8, __cc);
10083 vec_cmpnrg_or_0_idx_cc(__vector
unsigned int __a,
10084 __vector
unsigned int __b,
10085 __vector
unsigned int __c,
int *__cc) {
10086 return __builtin_s390_vstrczfs(
__a,
__b,
__c, 8, __cc);
10092 vec_find_any_eq(__vector
signed char __a, __vector
signed char __b) {
10093 return (__vector __bool
char)
10094 __builtin_s390_vfaeb((__vector
unsigned char)
__a,
10095 (__vector
unsigned char)
__b, 4);
10099 vec_find_any_eq(__vector __bool
char __a, __vector __bool
char __b) {
10100 return (__vector __bool
char)
10101 __builtin_s390_vfaeb((__vector
unsigned char)
__a,
10102 (__vector
unsigned char)
__b, 4);
10106 vec_find_any_eq(__vector
unsigned char __a, __vector
unsigned char __b) {
10107 return (__vector __bool
char)__builtin_s390_vfaeb(
__a,
__b, 4);
10111 vec_find_any_eq(__vector
signed short __a, __vector
signed short __b) {
10112 return (__vector __bool
short)
10113 __builtin_s390_vfaeh((__vector
unsigned short)
__a,
10114 (__vector
unsigned short)
__b, 4);
10118 vec_find_any_eq(__vector __bool
short __a, __vector __bool
short __b) {
10119 return (__vector __bool
short)
10120 __builtin_s390_vfaeh((__vector
unsigned short)
__a,
10121 (__vector
unsigned short)
__b, 4);
10125 vec_find_any_eq(__vector
unsigned short __a, __vector
unsigned short __b) {
10126 return (__vector __bool
short)__builtin_s390_vfaeh(
__a,
__b, 4);
10130 vec_find_any_eq(__vector
signed int __a, __vector
signed int __b) {
10131 return (__vector __bool
int)
10132 __builtin_s390_vfaef((__vector
unsigned int)
__a,
10133 (__vector
unsigned int)
__b, 4);
10137 vec_find_any_eq(__vector __bool
int __a, __vector __bool
int __b) {
10138 return (__vector __bool
int)
10139 __builtin_s390_vfaef((__vector
unsigned int)
__a,
10140 (__vector
unsigned int)
__b, 4);
10144 vec_find_any_eq(__vector
unsigned int __a, __vector
unsigned int __b) {
10145 return (__vector __bool
int)__builtin_s390_vfaef(
__a,
__b, 4);
10151 vec_find_any_eq_cc(__vector
signed char __a, __vector
signed char __b,
10153 return (__vector __bool
char)
10154 __builtin_s390_vfaebs((__vector
unsigned char)
__a,
10155 (__vector
unsigned char)
__b, 4, __cc);
10159 vec_find_any_eq_cc(__vector __bool
char __a, __vector __bool
char __b,
10161 return (__vector __bool
char)
10162 __builtin_s390_vfaebs((__vector
unsigned char)
__a,
10163 (__vector
unsigned char)
__b, 4, __cc);
10167 vec_find_any_eq_cc(__vector
unsigned char __a, __vector
unsigned char __b,
10169 return (__vector __bool
char)__builtin_s390_vfaebs(
__a,
__b, 4, __cc);
10173 vec_find_any_eq_cc(__vector
signed short __a, __vector
signed short __b,
10175 return (__vector __bool
short)
10176 __builtin_s390_vfaehs((__vector
unsigned short)
__a,
10177 (__vector
unsigned short)
__b, 4, __cc);
10181 vec_find_any_eq_cc(__vector __bool
short __a, __vector __bool
short __b,
10183 return (__vector __bool
short)
10184 __builtin_s390_vfaehs((__vector
unsigned short)
__a,
10185 (__vector
unsigned short)
__b, 4, __cc);
10189 vec_find_any_eq_cc(__vector
unsigned short __a, __vector
unsigned short __b,
10191 return (__vector __bool
short)__builtin_s390_vfaehs(
__a,
__b, 4, __cc);
10195 vec_find_any_eq_cc(__vector
signed int __a, __vector
signed int __b,
10197 return (__vector __bool
int)
10198 __builtin_s390_vfaefs((__vector
unsigned int)
__a,
10199 (__vector
unsigned int)
__b, 4, __cc);
10203 vec_find_any_eq_cc(__vector __bool
int __a, __vector __bool
int __b,
10205 return (__vector __bool
int)
10206 __builtin_s390_vfaefs((__vector
unsigned int)
__a,
10207 (__vector
unsigned int)
__b, 4, __cc);
10211 vec_find_any_eq_cc(__vector
unsigned int __a, __vector
unsigned int __b,
10213 return (__vector __bool
int)__builtin_s390_vfaefs(
__a,
__b, 4, __cc);
10219 vec_find_any_eq_idx(__vector
signed char __a, __vector
signed char __b) {
10220 return (__vector
signed char)
10221 __builtin_s390_vfaeb((__vector
unsigned char)
__a,
10222 (__vector
unsigned char)
__b, 0);
10226 vec_find_any_eq_idx(__vector __bool
char __a, __vector __bool
char __b) {
10227 return __builtin_s390_vfaeb((__vector
unsigned char)
__a,
10228 (__vector
unsigned char)
__b, 0);
10232 vec_find_any_eq_idx(__vector
unsigned char __a, __vector
unsigned char __b) {
10233 return __builtin_s390_vfaeb(
__a,
__b, 0);
10237 vec_find_any_eq_idx(__vector
signed short __a, __vector
signed short __b) {
10238 return (__vector
signed short)
10239 __builtin_s390_vfaeh((__vector
unsigned short)
__a,
10240 (__vector
unsigned short)
__b, 0);
10244 vec_find_any_eq_idx(__vector __bool
short __a, __vector __bool
short __b) {
10245 return __builtin_s390_vfaeh((__vector
unsigned short)
__a,
10246 (__vector
unsigned short)
__b, 0);
10250 vec_find_any_eq_idx(__vector
unsigned short __a, __vector
unsigned short __b) {
10251 return __builtin_s390_vfaeh(
__a,
__b, 0);
10255 vec_find_any_eq_idx(__vector
signed int __a, __vector
signed int __b) {
10256 return (__vector
signed int)
10257 __builtin_s390_vfaef((__vector
unsigned int)
__a,
10258 (__vector
unsigned int)
__b, 0);
10262 vec_find_any_eq_idx(__vector __bool
int __a, __vector __bool
int __b) {
10263 return __builtin_s390_vfaef((__vector
unsigned int)
__a,
10264 (__vector
unsigned int)
__b, 0);
10268 vec_find_any_eq_idx(__vector
unsigned int __a, __vector
unsigned int __b) {
10269 return __builtin_s390_vfaef(
__a,
__b, 0);
10275 vec_find_any_eq_idx_cc(__vector
signed char __a,
10276 __vector
signed char __b,
int *__cc) {
10277 return (__vector
signed char)
10278 __builtin_s390_vfaebs((__vector
unsigned char)
__a,
10279 (__vector
unsigned char)
__b, 0, __cc);
10283 vec_find_any_eq_idx_cc(__vector __bool
char __a,
10284 __vector __bool
char __b,
int *__cc) {
10285 return __builtin_s390_vfaebs((__vector
unsigned char)
__a,
10286 (__vector
unsigned char)
__b, 0, __cc);
10290 vec_find_any_eq_idx_cc(__vector
unsigned char __a,
10291 __vector
unsigned char __b,
int *__cc) {
10292 return __builtin_s390_vfaebs(
__a,
__b, 0, __cc);
10296 vec_find_any_eq_idx_cc(__vector
signed short __a,
10297 __vector
signed short __b,
int *__cc) {
10298 return (__vector
signed short)
10299 __builtin_s390_vfaehs((__vector
unsigned short)
__a,
10300 (__vector
unsigned short)
__b, 0, __cc);
10304 vec_find_any_eq_idx_cc(__vector __bool
short __a,
10305 __vector __bool
short __b,
int *__cc) {
10306 return __builtin_s390_vfaehs((__vector
unsigned short)
__a,
10307 (__vector
unsigned short)
__b, 0, __cc);
10311 vec_find_any_eq_idx_cc(__vector
unsigned short __a,
10312 __vector
unsigned short __b,
int *__cc) {
10313 return __builtin_s390_vfaehs(
__a,
__b, 0, __cc);
10317 vec_find_any_eq_idx_cc(__vector
signed int __a,
10318 __vector
signed int __b,
int *__cc) {
10319 return (__vector
signed int)
10320 __builtin_s390_vfaefs((__vector
unsigned int)
__a,
10321 (__vector
unsigned int)
__b, 0, __cc);
10325 vec_find_any_eq_idx_cc(__vector __bool
int __a,
10326 __vector __bool
int __b,
int *__cc) {
10327 return __builtin_s390_vfaefs((__vector
unsigned int)
__a,
10328 (__vector
unsigned int)
__b, 0, __cc);
10332 vec_find_any_eq_idx_cc(__vector
unsigned int __a,
10333 __vector
unsigned int __b,
int *__cc) {
10334 return __builtin_s390_vfaefs(
__a,
__b, 0, __cc);
10340 vec_find_any_eq_or_0_idx(__vector
signed char __a,
10341 __vector
signed char __b) {
10342 return (__vector
signed char)
10343 __builtin_s390_vfaezb((__vector
unsigned char)
__a,
10344 (__vector
unsigned char)
__b, 0);
10348 vec_find_any_eq_or_0_idx(__vector __bool
char __a,
10349 __vector __bool
char __b) {
10350 return __builtin_s390_vfaezb((__vector
unsigned char)
__a,
10351 (__vector
unsigned char)
__b, 0);
10355 vec_find_any_eq_or_0_idx(__vector
unsigned char __a,
10356 __vector
unsigned char __b) {
10357 return __builtin_s390_vfaezb(
__a,
__b, 0);
10361 vec_find_any_eq_or_0_idx(__vector
signed short __a,
10362 __vector
signed short __b) {
10363 return (__vector
signed short)
10364 __builtin_s390_vfaezh((__vector
unsigned short)
__a,
10365 (__vector
unsigned short)
__b, 0);
10369 vec_find_any_eq_or_0_idx(__vector __bool
short __a,
10370 __vector __bool
short __b) {
10371 return __builtin_s390_vfaezh((__vector
unsigned short)
__a,
10372 (__vector
unsigned short)
__b, 0);
10376 vec_find_any_eq_or_0_idx(__vector
unsigned short __a,
10377 __vector
unsigned short __b) {
10378 return __builtin_s390_vfaezh(
__a,
__b, 0);
10382 vec_find_any_eq_or_0_idx(__vector
signed int __a,
10383 __vector
signed int __b) {
10384 return (__vector
signed int)
10385 __builtin_s390_vfaezf((__vector
unsigned int)
__a,
10386 (__vector
unsigned int)
__b, 0);
10390 vec_find_any_eq_or_0_idx(__vector __bool
int __a,
10391 __vector __bool
int __b) {
10392 return __builtin_s390_vfaezf((__vector
unsigned int)
__a,
10393 (__vector
unsigned int)
__b, 0);
10397 vec_find_any_eq_or_0_idx(__vector
unsigned int __a,
10398 __vector
unsigned int __b) {
10399 return __builtin_s390_vfaezf(
__a,
__b, 0);
10405 vec_find_any_eq_or_0_idx_cc(__vector
signed char __a,
10406 __vector
signed char __b,
int *__cc) {
10407 return (__vector
signed char)
10408 __builtin_s390_vfaezbs((__vector
unsigned char)
__a,
10409 (__vector
unsigned char)
__b, 0, __cc);
10413 vec_find_any_eq_or_0_idx_cc(__vector __bool
char __a,
10414 __vector __bool
char __b,
int *__cc) {
10415 return __builtin_s390_vfaezbs((__vector
unsigned char)
__a,
10416 (__vector
unsigned char)
__b, 0, __cc);
10420 vec_find_any_eq_or_0_idx_cc(__vector
unsigned char __a,
10421 __vector
unsigned char __b,
int *__cc) {
10422 return __builtin_s390_vfaezbs(
__a,
__b, 0, __cc);
10426 vec_find_any_eq_or_0_idx_cc(__vector
signed short __a,
10427 __vector
signed short __b,
int *__cc) {
10428 return (__vector
signed short)
10429 __builtin_s390_vfaezhs((__vector
unsigned short)
__a,
10430 (__vector
unsigned short)
__b, 0, __cc);
10434 vec_find_any_eq_or_0_idx_cc(__vector __bool
short __a,
10435 __vector __bool
short __b,
int *__cc) {
10436 return __builtin_s390_vfaezhs((__vector
unsigned short)
__a,
10437 (__vector
unsigned short)
__b, 0, __cc);
10441 vec_find_any_eq_or_0_idx_cc(__vector
unsigned short __a,
10442 __vector
unsigned short __b,
int *__cc) {
10443 return __builtin_s390_vfaezhs(
__a,
__b, 0, __cc);
10447 vec_find_any_eq_or_0_idx_cc(__vector
signed int __a,
10448 __vector
signed int __b,
int *__cc) {
10449 return (__vector
signed int)
10450 __builtin_s390_vfaezfs((__vector
unsigned int)
__a,
10451 (__vector
unsigned int)
__b, 0, __cc);
10455 vec_find_any_eq_or_0_idx_cc(__vector __bool
int __a,
10456 __vector __bool
int __b,
int *__cc) {
10457 return __builtin_s390_vfaezfs((__vector
unsigned int)
__a,
10458 (__vector
unsigned int)
__b, 0, __cc);
10462 vec_find_any_eq_or_0_idx_cc(__vector
unsigned int __a,
10463 __vector
unsigned int __b,
int *__cc) {
10464 return __builtin_s390_vfaezfs(
__a,
__b, 0, __cc);
10470 vec_find_any_ne(__vector
signed char __a, __vector
signed char __b) {
10471 return (__vector __bool
char)
10472 __builtin_s390_vfaeb((__vector
unsigned char)
__a,
10473 (__vector
unsigned char)
__b, 12);
10477 vec_find_any_ne(__vector __bool
char __a, __vector __bool
char __b) {
10478 return (__vector __bool
char)
10479 __builtin_s390_vfaeb((__vector
unsigned char)
__a,
10480 (__vector
unsigned char)
__b, 12);
10484 vec_find_any_ne(__vector
unsigned char __a, __vector
unsigned char __b) {
10485 return (__vector __bool
char)__builtin_s390_vfaeb(
__a,
__b, 12);
10489 vec_find_any_ne(__vector
signed short __a, __vector
signed short __b) {
10490 return (__vector __bool
short)
10491 __builtin_s390_vfaeh((__vector
unsigned short)
__a,
10492 (__vector
unsigned short)
__b, 12);
10496 vec_find_any_ne(__vector __bool
short __a, __vector __bool
short __b) {
10497 return (__vector __bool
short)
10498 __builtin_s390_vfaeh((__vector
unsigned short)
__a,
10499 (__vector
unsigned short)
__b, 12);
10503 vec_find_any_ne(__vector
unsigned short __a, __vector
unsigned short __b) {
10504 return (__vector __bool
short)__builtin_s390_vfaeh(
__a,
__b, 12);
10508 vec_find_any_ne(__vector
signed int __a, __vector
signed int __b) {
10509 return (__vector __bool
int)
10510 __builtin_s390_vfaef((__vector
unsigned int)
__a,
10511 (__vector
unsigned int)
__b, 12);
10515 vec_find_any_ne(__vector __bool
int __a, __vector __bool
int __b) {
10516 return (__vector __bool
int)
10517 __builtin_s390_vfaef((__vector
unsigned int)
__a,
10518 (__vector
unsigned int)
__b, 12);
10522 vec_find_any_ne(__vector
unsigned int __a, __vector
unsigned int __b) {
10523 return (__vector __bool
int)__builtin_s390_vfaef(
__a,
__b, 12);
10529 vec_find_any_ne_cc(__vector
signed char __a,
10530 __vector
signed char __b,
int *__cc) {
10531 return (__vector __bool
char)
10532 __builtin_s390_vfaebs((__vector
unsigned char)
__a,
10533 (__vector
unsigned char)
__b, 12, __cc);
10537 vec_find_any_ne_cc(__vector __bool
char __a,
10538 __vector __bool
char __b,
int *__cc) {
10539 return (__vector __bool
char)
10540 __builtin_s390_vfaebs((__vector
unsigned char)
__a,
10541 (__vector
unsigned char)
__b, 12, __cc);
10545 vec_find_any_ne_cc(__vector
unsigned char __a,
10546 __vector
unsigned char __b,
int *__cc) {
10547 return (__vector __bool
char)__builtin_s390_vfaebs(
__a,
__b, 12, __cc);
10551 vec_find_any_ne_cc(__vector
signed short __a,
10552 __vector
signed short __b,
int *__cc) {
10553 return (__vector __bool
short)
10554 __builtin_s390_vfaehs((__vector
unsigned short)
__a,
10555 (__vector
unsigned short)
__b, 12, __cc);
10559 vec_find_any_ne_cc(__vector __bool
short __a,
10560 __vector __bool
short __b,
int *__cc) {
10561 return (__vector __bool
short)
10562 __builtin_s390_vfaehs((__vector
unsigned short)
__a,
10563 (__vector
unsigned short)
__b, 12, __cc);
10567 vec_find_any_ne_cc(__vector
unsigned short __a,
10568 __vector
unsigned short __b,
int *__cc) {
10569 return (__vector __bool
short)__builtin_s390_vfaehs(
__a,
__b, 12, __cc);
10573 vec_find_any_ne_cc(__vector
signed int __a,
10574 __vector
signed int __b,
int *__cc) {
10575 return (__vector __bool
int)
10576 __builtin_s390_vfaefs((__vector
unsigned int)
__a,
10577 (__vector
unsigned int)
__b, 12, __cc);
10581 vec_find_any_ne_cc(__vector __bool
int __a,
10582 __vector __bool
int __b,
int *__cc) {
10583 return (__vector __bool
int)
10584 __builtin_s390_vfaefs((__vector
unsigned int)
__a,
10585 (__vector
unsigned int)
__b, 12, __cc);
10589 vec_find_any_ne_cc(__vector
unsigned int __a,
10590 __vector
unsigned int __b,
int *__cc) {
10591 return (__vector __bool
int)__builtin_s390_vfaefs(
__a,
__b, 12, __cc);
10597 vec_find_any_ne_idx(__vector
signed char __a, __vector
signed char __b) {
10598 return (__vector
signed char)
10599 __builtin_s390_vfaeb((__vector
unsigned char)
__a,
10600 (__vector
unsigned char)
__b, 8);
10604 vec_find_any_ne_idx(__vector __bool
char __a, __vector __bool
char __b) {
10605 return __builtin_s390_vfaeb((__vector
unsigned char)
__a,
10606 (__vector
unsigned char)
__b, 8);
10610 vec_find_any_ne_idx(__vector
unsigned char __a, __vector
unsigned char __b) {
10611 return __builtin_s390_vfaeb(
__a,
__b, 8);
10615 vec_find_any_ne_idx(__vector
signed short __a, __vector
signed short __b) {
10616 return (__vector
signed short)
10617 __builtin_s390_vfaeh((__vector
unsigned short)
__a,
10618 (__vector
unsigned short)
__b, 8);
10622 vec_find_any_ne_idx(__vector __bool
short __a, __vector __bool
short __b) {
10623 return __builtin_s390_vfaeh((__vector
unsigned short)
__a,
10624 (__vector
unsigned short)
__b, 8);
10628 vec_find_any_ne_idx(__vector
unsigned short __a, __vector
unsigned short __b) {
10629 return __builtin_s390_vfaeh(
__a,
__b, 8);
10633 vec_find_any_ne_idx(__vector
signed int __a, __vector
signed int __b) {
10634 return (__vector
signed int)
10635 __builtin_s390_vfaef((__vector
unsigned int)
__a,
10636 (__vector
unsigned int)
__b, 8);
10640 vec_find_any_ne_idx(__vector __bool
int __a, __vector __bool
int __b) {
10641 return __builtin_s390_vfaef((__vector
unsigned int)
__a,
10642 (__vector
unsigned int)
__b, 8);
10646 vec_find_any_ne_idx(__vector
unsigned int __a, __vector
unsigned int __b) {
10647 return __builtin_s390_vfaef(
__a,
__b, 8);
10653 vec_find_any_ne_idx_cc(__vector
signed char __a,
10654 __vector
signed char __b,
int *__cc) {
10655 return (__vector
signed char)
10656 __builtin_s390_vfaebs((__vector
unsigned char)
__a,
10657 (__vector
unsigned char)
__b, 8, __cc);
10661 vec_find_any_ne_idx_cc(__vector __bool
char __a,
10662 __vector __bool
char __b,
int *__cc) {
10663 return __builtin_s390_vfaebs((__vector
unsigned char)
__a,
10664 (__vector
unsigned char)
__b, 8, __cc);
10668 vec_find_any_ne_idx_cc(__vector
unsigned char __a,
10669 __vector
unsigned char __b,
10671 return __builtin_s390_vfaebs(
__a,
__b, 8, __cc);
10675 vec_find_any_ne_idx_cc(__vector
signed short __a,
10676 __vector
signed short __b,
int *__cc) {
10677 return (__vector
signed short)
10678 __builtin_s390_vfaehs((__vector
unsigned short)
__a,
10679 (__vector
unsigned short)
__b, 8, __cc);
10683 vec_find_any_ne_idx_cc(__vector __bool
short __a,
10684 __vector __bool
short __b,
int *__cc) {
10685 return __builtin_s390_vfaehs((__vector
unsigned short)
__a,
10686 (__vector
unsigned short)
__b, 8, __cc);
10690 vec_find_any_ne_idx_cc(__vector
unsigned short __a,
10691 __vector
unsigned short __b,
int *__cc) {
10692 return __builtin_s390_vfaehs(
__a,
__b, 8, __cc);
10696 vec_find_any_ne_idx_cc(__vector
signed int __a,
10697 __vector
signed int __b,
int *__cc) {
10698 return (__vector
signed int)
10699 __builtin_s390_vfaefs((__vector
unsigned int)
__a,
10700 (__vector
unsigned int)
__b, 8, __cc);
10704 vec_find_any_ne_idx_cc(__vector __bool
int __a,
10705 __vector __bool
int __b,
int *__cc) {
10706 return __builtin_s390_vfaefs((__vector
unsigned int)
__a,
10707 (__vector
unsigned int)
__b, 8, __cc);
10711 vec_find_any_ne_idx_cc(__vector
unsigned int __a,
10712 __vector
unsigned int __b,
int *__cc) {
10713 return __builtin_s390_vfaefs(
__a,
__b, 8, __cc);
10719 vec_find_any_ne_or_0_idx(__vector
signed char __a,
10720 __vector
signed char __b) {
10721 return (__vector
signed char)
10722 __builtin_s390_vfaezb((__vector
unsigned char)
__a,
10723 (__vector
unsigned char)
__b, 8);
10727 vec_find_any_ne_or_0_idx(__vector __bool
char __a,
10728 __vector __bool
char __b) {
10729 return __builtin_s390_vfaezb((__vector
unsigned char)
__a,
10730 (__vector
unsigned char)
__b, 8);
10734 vec_find_any_ne_or_0_idx(__vector
unsigned char __a,
10735 __vector
unsigned char __b) {
10736 return __builtin_s390_vfaezb(
__a,
__b, 8);
10740 vec_find_any_ne_or_0_idx(__vector
signed short __a,
10741 __vector
signed short __b) {
10742 return (__vector
signed short)
10743 __builtin_s390_vfaezh((__vector
unsigned short)
__a,
10744 (__vector
unsigned short)
__b, 8);
10748 vec_find_any_ne_or_0_idx(__vector __bool
short __a,
10749 __vector __bool
short __b) {
10750 return __builtin_s390_vfaezh((__vector
unsigned short)
__a,
10751 (__vector
unsigned short)
__b, 8);
10755 vec_find_any_ne_or_0_idx(__vector
unsigned short __a,
10756 __vector
unsigned short __b) {
10757 return __builtin_s390_vfaezh(
__a,
__b, 8);
10761 vec_find_any_ne_or_0_idx(__vector
signed int __a,
10762 __vector
signed int __b) {
10763 return (__vector
signed int)
10764 __builtin_s390_vfaezf((__vector
unsigned int)
__a,
10765 (__vector
unsigned int)
__b, 8);
10769 vec_find_any_ne_or_0_idx(__vector __bool
int __a,
10770 __vector __bool
int __b) {
10771 return __builtin_s390_vfaezf((__vector
unsigned int)
__a,
10772 (__vector
unsigned int)
__b, 8);
10776 vec_find_any_ne_or_0_idx(__vector
unsigned int __a,
10777 __vector
unsigned int __b) {
10778 return __builtin_s390_vfaezf(
__a,
__b, 8);
10784 vec_find_any_ne_or_0_idx_cc(__vector
signed char __a,
10785 __vector
signed char __b,
int *__cc) {
10786 return (__vector
signed char)
10787 __builtin_s390_vfaezbs((__vector
unsigned char)
__a,
10788 (__vector
unsigned char)
__b, 8, __cc);
10792 vec_find_any_ne_or_0_idx_cc(__vector __bool
char __a,
10793 __vector __bool
char __b,
int *__cc) {
10794 return __builtin_s390_vfaezbs((__vector
unsigned char)
__a,
10795 (__vector
unsigned char)
__b, 8, __cc);
10799 vec_find_any_ne_or_0_idx_cc(__vector
unsigned char __a,
10800 __vector
unsigned char __b,
int *__cc) {
10801 return __builtin_s390_vfaezbs(
__a,
__b, 8, __cc);
10805 vec_find_any_ne_or_0_idx_cc(__vector
signed short __a,
10806 __vector
signed short __b,
int *__cc) {
10807 return (__vector
signed short)
10808 __builtin_s390_vfaezhs((__vector
unsigned short)
__a,
10809 (__vector
unsigned short)
__b, 8, __cc);
10813 vec_find_any_ne_or_0_idx_cc(__vector __bool
short __a,
10814 __vector __bool
short __b,
int *__cc) {
10815 return __builtin_s390_vfaezhs((__vector
unsigned short)
__a,
10816 (__vector
unsigned short)
__b, 8, __cc);
10820 vec_find_any_ne_or_0_idx_cc(__vector
unsigned short __a,
10821 __vector
unsigned short __b,
int *__cc) {
10822 return __builtin_s390_vfaezhs(
__a,
__b, 8, __cc);
10826 vec_find_any_ne_or_0_idx_cc(__vector
signed int __a,
10827 __vector
signed int __b,
int *__cc) {
10828 return (__vector
signed int)
10829 __builtin_s390_vfaezfs((__vector
unsigned int)
__a,
10830 (__vector
unsigned int)
__b, 8, __cc);
10834 vec_find_any_ne_or_0_idx_cc(__vector __bool
int __a,
10835 __vector __bool
int __b,
int *__cc) {
10836 return __builtin_s390_vfaezfs((__vector
unsigned int)
__a,
10837 (__vector
unsigned int)
__b, 8, __cc);
10841 vec_find_any_ne_or_0_idx_cc(__vector
unsigned int __a,
10842 __vector
unsigned int __b,
int *__cc) {
10843 return __builtin_s390_vfaezfs(
__a,
__b, 8, __cc);
10851 vec_search_string_cc(__vector
signed char __a, __vector
signed char __b,
10852 __vector
unsigned char __c,
int *__cc) {
10853 return __builtin_s390_vstrsb((__vector
unsigned char)
__a,
10854 (__vector
unsigned char)
__b,
__c, __cc);
10858 vec_search_string_cc(__vector __bool
char __a, __vector __bool
char __b,
10859 __vector
unsigned char __c,
int *__cc) {
10860 return __builtin_s390_vstrsb((__vector
unsigned char)
__a,
10861 (__vector
unsigned char)
__b,
__c, __cc);
10865 vec_search_string_cc(__vector
unsigned char __a, __vector
unsigned char __b,
10866 __vector
unsigned char __c,
int *__cc) {
10867 return __builtin_s390_vstrsb(
__a,
__b,
__c, __cc);
10871 vec_search_string_cc(__vector
signed short __a, __vector
signed short __b,
10872 __vector
unsigned char __c,
int *__cc) {
10873 return __builtin_s390_vstrsh((__vector
unsigned short)
__a,
10874 (__vector
unsigned short)
__b,
__c, __cc);
10878 vec_search_string_cc(__vector __bool
short __a, __vector __bool
short __b,
10879 __vector
unsigned char __c,
int *__cc) {
10880 return __builtin_s390_vstrsh((__vector
unsigned short)
__a,
10881 (__vector
unsigned short)
__b,
__c, __cc);
10885 vec_search_string_cc(__vector
unsigned short __a, __vector
unsigned short __b,
10886 __vector
unsigned char __c,
int *__cc) {
10887 return __builtin_s390_vstrsh(
__a,
__b,
__c, __cc);
10891 vec_search_string_cc(__vector
signed int __a, __vector
signed int __b,
10892 __vector
unsigned char __c,
int *__cc) {
10893 return __builtin_s390_vstrsf((__vector
unsigned int)
__a,
10894 (__vector
unsigned int)
__b,
__c, __cc);
10898 vec_search_string_cc(__vector __bool
int __a, __vector __bool
int __b,
10899 __vector
unsigned char __c,
int *__cc) {
10900 return __builtin_s390_vstrsf((__vector
unsigned int)
__a,
10901 (__vector
unsigned int)
__b,
__c, __cc);
10905 vec_search_string_cc(__vector
unsigned int __a, __vector
unsigned int __b,
10906 __vector
unsigned char __c,
int *__cc) {
10907 return __builtin_s390_vstrsf(
__a,
__b,
__c, __cc);
10917 vec_search_string_until_zero_cc(__vector
signed char __a,
10918 __vector
signed char __b,
10919 __vector
unsigned char __c,
int *__cc) {
10920 return __builtin_s390_vstrszb((__vector
unsigned char)
__a,
10921 (__vector
unsigned char)
__b,
__c, __cc);
10925 vec_search_string_until_zero_cc(__vector __bool
char __a,
10926 __vector __bool
char __b,
10927 __vector
unsigned char __c,
int *__cc) {
10928 return __builtin_s390_vstrszb((__vector
unsigned char)
__a,
10929 (__vector
unsigned char)
__b,
__c, __cc);
10933 vec_search_string_until_zero_cc(__vector
unsigned char __a,
10934 __vector
unsigned char __b,
10935 __vector
unsigned char __c,
int *__cc) {
10936 return __builtin_s390_vstrszb(
__a,
__b,
__c, __cc);
10940 vec_search_string_until_zero_cc(__vector
signed short __a,
10941 __vector
signed short __b,
10942 __vector
unsigned char __c,
int *__cc) {
10943 return __builtin_s390_vstrszh((__vector
unsigned short)
__a,
10944 (__vector
unsigned short)
__b,
__c, __cc);
10948 vec_search_string_until_zero_cc(__vector __bool
short __a,
10949 __vector __bool
short __b,
10950 __vector
unsigned char __c,
int *__cc) {
10951 return __builtin_s390_vstrszh((__vector
unsigned short)
__a,
10952 (__vector
unsigned short)
__b,
__c, __cc);
10956 vec_search_string_until_zero_cc(__vector
unsigned short __a,
10957 __vector
unsigned short __b,
10958 __vector
unsigned char __c,
int *__cc) {
10959 return __builtin_s390_vstrszh(
__a,
__b,
__c, __cc);
10963 vec_search_string_until_zero_cc(__vector
signed int __a,
10964 __vector
signed int __b,
10965 __vector
unsigned char __c,
int *__cc) {
10966 return __builtin_s390_vstrszf((__vector
unsigned int)
__a,
10967 (__vector
unsigned int)
__b,
__c, __cc);
10971 vec_search_string_until_zero_cc(__vector __bool
int __a,
10972 __vector __bool
int __b,
10973 __vector
unsigned char __c,
int *__cc) {
10974 return __builtin_s390_vstrszf((__vector
unsigned int)
__a,
10975 (__vector
unsigned int)
__b,
__c, __cc);
10979 vec_search_string_until_zero_cc(__vector
unsigned int __a,
10980 __vector
unsigned int __b,
10981 __vector
unsigned char __c,
int *__cc) {
10982 return __builtin_s390_vstrszf(
__a,
__b,
__c, __cc);
10987 #undef __constant_pow2_range
10988 #undef __constant_range
10991 #undef __ATTRS_o_ai
10996 #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 bool char __ATTRS_o_ai vec_cmpeq(vector signed char __a, vector signed char __b)
static __inline__ vector float __ATTRS_o_ai vec_ceil(vector float __a)
static __inline__ int __ATTRS_o_ai vec_any_ne(vector signed char __a, vector signed char __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 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 __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_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_avg(vector signed char __a, vector signed char __b)
static __inline__ vector signed char __ATTRS_o_ai vec_splat_s8(signed char __a)
static __inline__ int __ATTRS_o_ai vec_all_nan(vector float __a)
static __inline__ vector signed char __ATTRS_o_ai vec_mergel(vector signed char __a, vector signed char __b)
static __inline__ vector float vector float __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__ 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__ signed char __ATTRS_o_ai vec_extract(vector signed char __a, int __b)
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 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 short __ATTRS_o_ai vec_unpackh(vector signed char __a)
static __inline__ vector short __ATTRS_o_ai vec_splat_s16(signed char __a)
static __ATTRS_o_ai void vec_xst(vector signed char __vec, signed long long __offset, signed char *__ptr)
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__ int __ATTRS_o_ai vec_all_ge(vector signed char __a, vector signed char __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__ 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 __ATTRS_o_ai vector signed char vec_xl(signed long long __offset, const signed char *__ptr)
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