10#if defined(__s390x__) && defined(__VEC__)
12#define __ATTRS_ai __attribute__((__always_inline__))
13#define __ATTRS_o __attribute__((__overloadable__))
14#define __ATTRS_o_ai __attribute__((__overloadable__, __always_inline__))
16#define __constant(PARM) \
17 __attribute__((__enable_if__ ((PARM) == (PARM), \
18 "argument must be a constant integer")))
19#define __constant_range(PARM, LOW, HIGH) \
20 __attribute__((__enable_if__ ((PARM) >= (LOW) && (PARM) <= (HIGH), \
21 "argument must be a constant integer from " #LOW " to " #HIGH)))
22#define __constant_pow2_range(PARM, LOW, HIGH) \
23 __attribute__((__enable_if__ ((PARM) >= (LOW) && (PARM) <= (HIGH) && \
24 ((PARM) & ((PARM) - 1)) == 0, \
25 "argument must be a constant power of 2 from " #LOW " to " #HIGH)))
29extern __ATTRS_o
unsigned int
30__lcbb(
const void *__ptr,
unsigned short __len)
31 __constant_pow2_range(__len, 64, 4096);
33#define __lcbb(X, Y) ((__typeof__((__lcbb)((X), (Y)))) \
34 __builtin_s390_lcbb((X), __builtin_constant_p((Y))? \
41 (Y) == 4096 ? 6 : 0) : 0))
46vec_extract(__vector
signed char __vec,
int __index) {
47 return __vec[__index & 15];
51vec_extract(__vector __bool
char __vec,
int __index) {
52 return __vec[__index & 15];
56vec_extract(__vector
unsigned char __vec,
int __index) {
57 return __vec[__index & 15];
61vec_extract(__vector
signed short __vec,
int __index) {
62 return __vec[__index & 7];
66vec_extract(__vector __bool
short __vec,
int __index) {
67 return __vec[__index & 7];
71vec_extract(__vector
unsigned short __vec,
int __index) {
72 return __vec[__index & 7];
76vec_extract(__vector
signed int __vec,
int __index) {
77 return __vec[__index & 3];
81vec_extract(__vector __bool
int __vec,
int __index) {
82 return __vec[__index & 3];
86vec_extract(__vector
unsigned int __vec,
int __index) {
87 return __vec[__index & 3];
91vec_extract(__vector
signed long long __vec,
int __index) {
92 return __vec[__index & 1];
96vec_extract(__vector __bool
long long __vec,
int __index) {
97 return __vec[__index & 1];
101vec_extract(__vector
unsigned long long __vec,
int __index) {
102 return __vec[__index & 1];
108 return __vec[__index & 3];
114 return __vec[__index & 1];
120vec_insert(
signed char __scalar, __vector
signed char __vec,
int __index) {
121 __vec[__index & 15] = __scalar;
127vec_insert(
unsigned char __scalar, __vector __bool
char __vec,
int __index) {
128 __vector
unsigned char __newvec = (__vector
unsigned char)__vec;
129 __newvec[__index & 15] = (
unsigned char)__scalar;
134vec_insert(
unsigned char __scalar, __vector
unsigned char __vec,
int __index) {
135 __vec[__index & 15] = __scalar;
140vec_insert(
signed short __scalar, __vector
signed short __vec,
int __index) {
141 __vec[__index & 7] = __scalar;
147vec_insert(
unsigned short __scalar, __vector __bool
short __vec,
149 __vector
unsigned short __newvec = (__vector
unsigned short)__vec;
150 __newvec[__index & 7] = (
unsigned short)__scalar;
155vec_insert(
unsigned short __scalar, __vector
unsigned short __vec,
157 __vec[__index & 7] = __scalar;
162vec_insert(
signed int __scalar, __vector
signed int __vec,
int __index) {
163 __vec[__index & 3] = __scalar;
169vec_insert(
unsigned int __scalar, __vector __bool
int __vec,
int __index) {
170 __vector
unsigned int __newvec = (__vector
unsigned int)__vec;
171 __newvec[__index & 3] = __scalar;
176vec_insert(
unsigned int __scalar, __vector
unsigned int __vec,
int __index) {
177 __vec[__index & 3] = __scalar;
182vec_insert(
signed long long __scalar, __vector
signed long long __vec,
184 __vec[__index & 1] = __scalar;
190vec_insert(
unsigned long long __scalar, __vector __bool
long long __vec,
192 __vector
unsigned long long __newvec = (__vector
unsigned long long)__vec;
193 __newvec[__index & 1] = __scalar;
198vec_insert(
unsigned long long __scalar, __vector
unsigned long long __vec,
200 __vec[__index & 1] = __scalar;
206vec_insert(
float __scalar, __vector
float __vec,
int __index) {
207 __vec[__index & 1] = __scalar;
213vec_insert(
double __scalar, __vector
double __vec,
int __index) {
214 __vec[__index & 1] = __scalar;
222 const __vector
signed char __zero = (__vector
signed char)0;
223 __vector
signed char __vec = __builtin_shufflevector(__zero, __zero,
224 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1);
225 __vec[__index & 15] = __scalar;
231 const __vector
unsigned char __zero = (__vector
unsigned char)0;
232 __vector
unsigned char __vec = __builtin_shufflevector(__zero, __zero,
233 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1);
234 __vec[__index & 15] = __scalar;
240 const __vector
signed short __zero = (__vector
signed short)0;
241 __vector
signed short __vec = __builtin_shufflevector(__zero, __zero,
242 -1, -1, -1, -1, -1, -1, -1, -1);
243 __vec[__index & 7] = __scalar;
249 const __vector
unsigned short __zero = (__vector
unsigned short)0;
250 __vector
unsigned short __vec = __builtin_shufflevector(__zero, __zero,
251 -1, -1, -1, -1, -1, -1, -1, -1);
252 __vec[__index & 7] = __scalar;
258 const __vector
signed int __zero = (__vector
signed int)0;
259 __vector
signed int __vec = __builtin_shufflevector(__zero, __zero,
261 __vec[__index & 3] = __scalar;
267 const __vector
unsigned int __zero = (__vector
unsigned int)0;
268 __vector
unsigned int __vec = __builtin_shufflevector(__zero, __zero,
270 __vec[__index & 3] = __scalar;
275vec_promote(
signed long long __scalar,
int __index) {
276 const __vector
signed long long __zero = (__vector
signed long long)0;
277 __vector
signed long long __vec = __builtin_shufflevector(__zero, __zero,
279 __vec[__index & 1] = __scalar;
284vec_promote(
unsigned long long __scalar,
int __index) {
285 const __vector
unsigned long long __zero = (__vector
unsigned long long)0;
286 __vector
unsigned long long __vec = __builtin_shufflevector(__zero, __zero,
288 __vec[__index & 1] = __scalar;
295 const __vector
float __zero = (__vector
float)0.0f;
296 __vector
float __vec = __builtin_shufflevector(__zero, __zero,
298 __vec[__index & 3] = __scalar;
305 const __vector
double __zero = (__vector
double)0.0;
306 __vector
double __vec = __builtin_shufflevector(__zero, __zero, -1, -1);
307 __vec[__index & 1] = __scalar;
314vec_insert_and_zero(
const signed char *__ptr) {
315 __vector
signed char __vec = (__vector
signed char)0;
321vec_insert_and_zero(
const unsigned char *__ptr) {
322 __vector
unsigned char __vec = (__vector
unsigned char)0;
328vec_insert_and_zero(
const signed short *__ptr) {
329 __vector
signed short __vec = (__vector
signed short)0;
335vec_insert_and_zero(
const unsigned short *__ptr) {
336 __vector
unsigned short __vec = (__vector
unsigned short)0;
342vec_insert_and_zero(
const signed int *__ptr) {
343 __vector
signed int __vec = (__vector
signed int)0;
349vec_insert_and_zero(
const unsigned int *__ptr) {
350 __vector
unsigned int __vec = (__vector
unsigned int)0;
356vec_insert_and_zero(
const signed long long *__ptr) {
357 __vector
signed long long __vec = (__vector
signed long long)0;
363vec_insert_and_zero(
const unsigned long long *__ptr) {
364 __vector
unsigned long long __vec = (__vector
unsigned long long)0;
371vec_insert_and_zero(
const float *__ptr) {
372 __vector
float __vec = (__vector
float)0.0f;
379vec_insert_and_zero(
const double *__ptr) {
380 __vector
double __vec = (__vector
double)0.0;
389 __vector
unsigned char __c) {
390 return (__vector
signed char)__builtin_s390_vperm(
391 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
396 __vector
unsigned char __c) {
397 return (__vector
unsigned char)__builtin_s390_vperm(
398 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
403 __vector
unsigned char __c) {
404 return (__vector __bool
char)__builtin_s390_vperm(
405 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
410 __vector
unsigned char __c) {
411 return (__vector
signed short)__builtin_s390_vperm(
412 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
417 __vector
unsigned char __c) {
418 return (__vector
unsigned short)__builtin_s390_vperm(
419 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
424 __vector
unsigned char __c) {
425 return (__vector __bool
short)__builtin_s390_vperm(
426 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
431 __vector
unsigned char __c) {
432 return (__vector
signed int)__builtin_s390_vperm(
433 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
438 __vector
unsigned char __c) {
439 return (__vector
unsigned int)__builtin_s390_vperm(
440 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
445 __vector
unsigned char __c) {
446 return (__vector __bool
int)__builtin_s390_vperm(
447 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
451vec_perm(__vector
signed long long __a, __vector
signed long long __b,
452 __vector
unsigned char __c) {
453 return (__vector
signed long long)__builtin_s390_vperm(
454 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
458vec_perm(__vector
unsigned long long __a, __vector
unsigned long long __b,
459 __vector
unsigned char __c) {
460 return (__vector
unsigned long long)__builtin_s390_vperm(
461 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
465vec_perm(__vector __bool
long long __a, __vector __bool
long long __b,
466 __vector
unsigned char __c) {
467 return (__vector __bool
long long)__builtin_s390_vperm(
468 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b,
__c);
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);
490extern __ATTRS_o __vector
signed long long
491vec_permi(__vector
signed long long __a, __vector
signed long long __b,
493 __constant_range(
__c, 0, 3);
496extern __ATTRS_o __vector
unsigned long long
497vec_permi(__vector
unsigned long long __a, __vector
unsigned long long __b,
499 __constant_range(
__c, 0, 3);
502extern __ATTRS_o __vector __bool
long long
503vec_permi(__vector __bool
long long __a, __vector __bool
long long __b,
505 __constant_range(
__c, 0, 3);
508extern __ATTRS_o __vector
double
509vec_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)))
520static inline __ATTRS_ai __vector
unsigned long long
521vec_bperm_u128(__vector
unsigned char __a, __vector
unsigned char __b) {
522 return __builtin_s390_vbperm(
__a,
__b);
529vec_revb(__vector
signed short __vec) {
530 return (__vector
signed short)
531 __builtin_s390_vlbrh((__vector
unsigned short)__vec);
535vec_revb(__vector
unsigned short __vec) {
536 return __builtin_s390_vlbrh(__vec);
540vec_revb(__vector
signed int __vec) {
541 return (__vector
signed int)
542 __builtin_s390_vlbrf((__vector
unsigned int)__vec);
546vec_revb(__vector
unsigned int __vec) {
547 return __builtin_s390_vlbrf(__vec);
551vec_revb(__vector
signed long long __vec) {
552 return (__vector
signed long long)
553 __builtin_s390_vlbrg((__vector
unsigned long long)__vec);
557vec_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);
578vec_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] };
586vec_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] };
594vec_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] };
602vec_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] };
608vec_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] };
614vec_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] };
620vec_reve(__vector
signed int __vec) {
621 return (__vector
signed int) { __vec[3], __vec[2], __vec[1], __vec[0] };
625vec_reve(__vector
unsigned int __vec) {
626 return (__vector
unsigned int) { __vec[3], __vec[2], __vec[1], __vec[0] };
630vec_reve(__vector __bool
int __vec) {
631 return (__vector __bool
int) { __vec[3], __vec[2], __vec[1], __vec[0] };
635vec_reve(__vector
signed long long __vec) {
636 return (__vector
signed long long) { __vec[1], __vec[0] };
640vec_reve(__vector
unsigned long long __vec) {
641 return (__vector
unsigned long long) { __vec[1], __vec[0] };
645vec_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) {
691vec_sel(__vector
unsigned char __a, __vector
unsigned char __b,
692 __vector
unsigned char __c) {
697vec_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));
705 __vector
unsigned short __c) {
706 return (((__vector
signed short)
__c &
__b) |
707 (~(__vector
signed short)
__c &
__a));
712 __vector __bool
short __c) {
713 return (((__vector
signed short)
__c &
__b) |
714 (~(__vector
signed short)
__c &
__a));
719 __vector
unsigned short __c) {
720 return (((__vector __bool
short)
__c &
__b) |
721 (~(__vector __bool
short)
__c &
__a));
726 __vector __bool
short __c) {
731vec_sel(__vector
unsigned short __a, __vector
unsigned short __b,
732 __vector
unsigned short __c) {
737vec_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) {
772 __vector
unsigned int __c) {
778 __vector __bool
int __c) {
779 return (((__vector
unsigned int)
__c &
__b) |
780 (~(__vector
unsigned int)
__c &
__a));
784vec_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));
791vec_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));
798vec_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));
805vec_sel(__vector __bool
long long __a, __vector __bool
long long __b,
806 __vector __bool
long long __c) {
811vec_sel(__vector
unsigned long long __a, __vector
unsigned long long __b,
812 __vector
unsigned long long __c) {
817vec_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));
826 return (__vector
float)((
__c & (__vector
unsigned int)
__b) |
827 (~__c & (__vector
unsigned int)
__a));
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));
858vec_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]);
868vec_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]);
878vec_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]);
888vec_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]);
898vec_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]);
908vec_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]);
919vec_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]);
930vec_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]);
942vec_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]) =
951vec_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]) =
960vec_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]) =
969vec_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]) =
978vec_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]) =
987vec_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]) =
997vec_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]) =
1007vec_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]) =
1018vec_xl(
long __offset,
const signed char *__ptr) {
1019 __vector
signed char V;
1020 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1021 sizeof(__vector
signed char));
1026vec_xl(
long __offset,
const unsigned char *__ptr) {
1027 __vector
unsigned char V;
1028 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1029 sizeof(__vector
unsigned char));
1034vec_xl(
long __offset,
const signed short *__ptr) {
1035 __vector
signed short V;
1036 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1037 sizeof(__vector
signed short));
1042vec_xl(
long __offset,
const unsigned short *__ptr) {
1043 __vector
unsigned short V;
1044 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1045 sizeof(__vector
unsigned short));
1050vec_xl(
long __offset,
const signed int *__ptr) {
1051 __vector
signed int V;
1052 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1053 sizeof(__vector
signed int));
1058vec_xl(
long __offset,
const unsigned int *__ptr) {
1059 __vector
unsigned int V;
1060 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1061 sizeof(__vector
unsigned int));
1066vec_xl(
long __offset,
const signed long long *__ptr) {
1067 __vector
signed long long V;
1068 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1069 sizeof(__vector
signed long long));
1074vec_xl(
long __offset,
const unsigned long long *__ptr) {
1075 __vector
unsigned long long V;
1076 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1077 sizeof(__vector
unsigned long long));
1083vec_xl(
long __offset,
const float *__ptr) {
1085 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1086 sizeof(__vector
float));
1092vec_xl(
long __offset,
const double *__ptr) {
1094 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1095 sizeof(__vector
double));
1103vec_xld2(
long __offset,
const signed char *__ptr) {
1104 __vector
signed char V;
1105 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1106 sizeof(__vector
signed char));
1112vec_xld2(
long __offset,
const unsigned char *__ptr) {
1113 __vector
unsigned char V;
1114 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1115 sizeof(__vector
unsigned char));
1121vec_xld2(
long __offset,
const signed short *__ptr) {
1122 __vector
signed short V;
1123 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1124 sizeof(__vector
signed short));
1130vec_xld2(
long __offset,
const unsigned short *__ptr) {
1131 __vector
unsigned short V;
1132 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1133 sizeof(__vector
unsigned short));
1139vec_xld2(
long __offset,
const signed int *__ptr) {
1140 __vector
signed int V;
1141 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1142 sizeof(__vector
signed int));
1148vec_xld2(
long __offset,
const unsigned int *__ptr) {
1149 __vector
unsigned int V;
1150 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1151 sizeof(__vector
unsigned int));
1157vec_xld2(
long __offset,
const signed long long *__ptr) {
1158 __vector
signed long long V;
1159 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1160 sizeof(__vector
signed long long));
1166vec_xld2(
long __offset,
const unsigned long long *__ptr) {
1167 __vector
unsigned long long V;
1168 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1169 sizeof(__vector
unsigned long long));
1175vec_xld2(
long __offset,
const double *__ptr) {
1177 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1178 sizeof(__vector
double));
1186vec_xlw4(
long __offset,
const signed char *__ptr) {
1187 __vector
signed char V;
1188 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1189 sizeof(__vector
signed char));
1195vec_xlw4(
long __offset,
const unsigned char *__ptr) {
1196 __vector
unsigned char V;
1197 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1198 sizeof(__vector
unsigned char));
1204vec_xlw4(
long __offset,
const signed short *__ptr) {
1205 __vector
signed short V;
1206 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1207 sizeof(__vector
signed short));
1213vec_xlw4(
long __offset,
const unsigned short *__ptr) {
1214 __vector
unsigned short V;
1215 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1216 sizeof(__vector
unsigned short));
1222vec_xlw4(
long __offset,
const signed int *__ptr) {
1223 __vector
signed int V;
1224 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1225 sizeof(__vector
signed int));
1231vec_xlw4(
long __offset,
const unsigned int *__ptr) {
1232 __vector
unsigned int V;
1233 __builtin_memcpy(&
V, ((
const char *)__ptr + __offset),
1234 sizeof(__vector
unsigned int));
1241vec_xst(__vector
signed char __vec,
long __offset,
signed char *__ptr) {
1242 __vector
signed char V = __vec;
1243 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1244 sizeof(__vector
signed char));
1248vec_xst(__vector
unsigned char __vec,
long __offset,
unsigned char *__ptr) {
1249 __vector
unsigned char V = __vec;
1250 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1251 sizeof(__vector
unsigned char));
1255vec_xst(__vector
signed short __vec,
long __offset,
signed short *__ptr) {
1256 __vector
signed short V = __vec;
1257 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1258 sizeof(__vector
signed short));
1262vec_xst(__vector
unsigned short __vec,
long __offset,
unsigned short *__ptr) {
1263 __vector
unsigned short V = __vec;
1264 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1265 sizeof(__vector
unsigned short));
1269vec_xst(__vector
signed int __vec,
long __offset,
signed int *__ptr) {
1270 __vector
signed int V = __vec;
1271 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
sizeof(__vector
signed int));
1275vec_xst(__vector
unsigned int __vec,
long __offset,
unsigned int *__ptr) {
1276 __vector
unsigned int V = __vec;
1277 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1278 sizeof(__vector
unsigned int));
1282vec_xst(__vector
signed long long __vec,
long __offset,
1283 signed long long *__ptr) {
1284 __vector
signed long long V = __vec;
1285 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1286 sizeof(__vector
signed long long));
1290vec_xst(__vector
unsigned long long __vec,
long __offset,
1291 unsigned long long *__ptr) {
1292 __vector
unsigned long long V = __vec;
1293 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1294 sizeof(__vector
unsigned long long));
1299vec_xst(__vector
float __vec,
long __offset,
float *__ptr) {
1300 __vector
float V = __vec;
1301 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
sizeof(__vector
float));
1306vec_xst(__vector
double __vec,
long __offset,
double *__ptr) {
1307 __vector
double V = __vec;
1308 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
sizeof(__vector
double));
1315vec_xstd2(__vector
signed char __vec,
long __offset,
signed char *__ptr) {
1316 __vector
signed char V = __vec;
1317 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1318 sizeof(__vector
signed char));
1323vec_xstd2(__vector
unsigned char __vec,
long __offset,
unsigned char *__ptr) {
1324 __vector
unsigned char V = __vec;
1325 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1326 sizeof(__vector
unsigned char));
1331vec_xstd2(__vector
signed short __vec,
long __offset,
signed short *__ptr) {
1332 __vector
signed short V = __vec;
1333 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1334 sizeof(__vector
signed short));
1339vec_xstd2(__vector
unsigned short __vec,
long __offset,
unsigned short *__ptr) {
1340 __vector
unsigned short V = __vec;
1341 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1342 sizeof(__vector
unsigned short));
1347vec_xstd2(__vector
signed int __vec,
long __offset,
signed int *__ptr) {
1348 __vector
signed int V = __vec;
1349 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
sizeof(__vector
signed int));
1354vec_xstd2(__vector
unsigned int __vec,
long __offset,
unsigned int *__ptr) {
1355 __vector
unsigned int V = __vec;
1356 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1357 sizeof(__vector
unsigned int));
1362vec_xstd2(__vector
signed long long __vec,
long __offset,
1363 signed long long *__ptr) {
1364 __vector
signed long long V = __vec;
1365 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1366 sizeof(__vector
signed long long));
1371vec_xstd2(__vector
unsigned long long __vec,
long __offset,
1372 unsigned long long *__ptr) {
1373 __vector
unsigned long long V = __vec;
1374 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1375 sizeof(__vector
unsigned long long));
1380vec_xstd2(__vector
double __vec,
long __offset,
double *__ptr) {
1381 __vector
double V = __vec;
1382 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
sizeof(__vector
double));
1389vec_xstw4(__vector
signed char __vec,
long __offset,
signed char *__ptr) {
1390 __vector
signed char V = __vec;
1391 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1392 sizeof(__vector
signed char));
1397vec_xstw4(__vector
unsigned char __vec,
long __offset,
unsigned char *__ptr) {
1398 __vector
unsigned char V = __vec;
1399 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1400 sizeof(__vector
unsigned char));
1405vec_xstw4(__vector
signed short __vec,
long __offset,
signed short *__ptr) {
1406 __vector
signed short V = __vec;
1407 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1408 sizeof(__vector
signed short));
1413vec_xstw4(__vector
unsigned short __vec,
long __offset,
unsigned short *__ptr) {
1414 __vector
unsigned short V = __vec;
1415 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1416 sizeof(__vector
unsigned short));
1421vec_xstw4(__vector
signed int __vec,
long __offset,
signed int *__ptr) {
1422 __vector
signed int V = __vec;
1423 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
sizeof(__vector
signed int));
1428vec_xstw4(__vector
unsigned int __vec,
long __offset,
unsigned int *__ptr) {
1429 __vector
unsigned int V = __vec;
1430 __builtin_memcpy(((
char *)__ptr + __offset), &
V,
1431 sizeof(__vector
unsigned int));
1436extern __ATTRS_o __vector
signed char
1437vec_load_bndry(
const signed char *__ptr,
unsigned short __len)
1438 __constant_pow2_range(__len, 64, 4096);
1440extern __ATTRS_o __vector
unsigned char
1441vec_load_bndry(
const unsigned char *__ptr,
unsigned short __len)
1442 __constant_pow2_range(__len, 64, 4096);
1444extern __ATTRS_o __vector
signed short
1445vec_load_bndry(
const signed short *__ptr,
unsigned short __len)
1446 __constant_pow2_range(__len, 64, 4096);
1448extern __ATTRS_o __vector
unsigned short
1449vec_load_bndry(
const unsigned short *__ptr,
unsigned short __len)
1450 __constant_pow2_range(__len, 64, 4096);
1452extern __ATTRS_o __vector
signed int
1453vec_load_bndry(
const signed int *__ptr,
unsigned short __len)
1454 __constant_pow2_range(__len, 64, 4096);
1456extern __ATTRS_o __vector
unsigned int
1457vec_load_bndry(
const unsigned int *__ptr,
unsigned short __len)
1458 __constant_pow2_range(__len, 64, 4096);
1460extern __ATTRS_o __vector
signed long long
1461vec_load_bndry(
const signed long long *__ptr,
unsigned short __len)
1462 __constant_pow2_range(__len, 64, 4096);
1464extern __ATTRS_o __vector
unsigned long long
1465vec_load_bndry(
const unsigned long long *__ptr,
unsigned short __len)
1466 __constant_pow2_range(__len, 64, 4096);
1469extern __ATTRS_o __vector
float
1470vec_load_bndry(
const float *__ptr,
unsigned short __len)
1471 __constant_pow2_range(__len, 64, 4096);
1474extern __ATTRS_o __vector
double
1475vec_load_bndry(
const double *__ptr,
unsigned short __len)
1476 __constant_pow2_range(__len, 64, 4096);
1478#define vec_load_bndry(X, Y) ((__typeof__((vec_load_bndry)((X), (Y)))) \
1479 __builtin_s390_vlbb((X), ((Y) == 64 ? 0 : \
1485 (Y) == 4096 ? 6 : -1)))
1490vec_load_len(
const signed char *__ptr,
unsigned int __len) {
1491 return (__vector
signed char)__builtin_s390_vll(__len, __ptr);
1495vec_load_len(
const unsigned char *__ptr,
unsigned int __len) {
1496 return (__vector
unsigned char)__builtin_s390_vll(__len, __ptr);
1500vec_load_len(
const signed short *__ptr,
unsigned int __len) {
1501 return (__vector
signed short)__builtin_s390_vll(__len, __ptr);
1505vec_load_len(
const unsigned short *__ptr,
unsigned int __len) {
1506 return (__vector
unsigned short)__builtin_s390_vll(__len, __ptr);
1510vec_load_len(
const signed int *__ptr,
unsigned int __len) {
1511 return (__vector
signed int)__builtin_s390_vll(__len, __ptr);
1515vec_load_len(
const unsigned int *__ptr,
unsigned int __len) {
1516 return (__vector
unsigned int)__builtin_s390_vll(__len, __ptr);
1520vec_load_len(
const signed long long *__ptr,
unsigned int __len) {
1521 return (__vector
signed long long)__builtin_s390_vll(__len, __ptr);
1525vec_load_len(
const unsigned long long *__ptr,
unsigned int __len) {
1526 return (__vector
unsigned long long)__builtin_s390_vll(__len, __ptr);
1531vec_load_len(
const float *__ptr,
unsigned int __len) {
1532 return (__vector
float)__builtin_s390_vll(__len, __ptr);
1537vec_load_len(
const double *__ptr,
unsigned int __len) {
1538 return (__vector
double)__builtin_s390_vll(__len, __ptr);
1544static inline __ATTRS_ai __vector
unsigned char
1545vec_load_len_r(
const unsigned char *__ptr,
unsigned int __len) {
1546 return (__vector
unsigned char)__builtin_s390_vlrlr(__len, __ptr);
1553vec_store_len(__vector
signed char __vec,
signed char *__ptr,
1554 unsigned int __len) {
1555 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1559vec_store_len(__vector
unsigned char __vec,
unsigned char *__ptr,
1560 unsigned int __len) {
1561 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1565vec_store_len(__vector
signed short __vec,
signed short *__ptr,
1566 unsigned int __len) {
1567 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1571vec_store_len(__vector
unsigned short __vec,
unsigned short *__ptr,
1572 unsigned int __len) {
1573 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1577vec_store_len(__vector
signed int __vec,
signed int *__ptr,
1578 unsigned int __len) {
1579 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1583vec_store_len(__vector
unsigned int __vec,
unsigned int *__ptr,
1584 unsigned int __len) {
1585 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1589vec_store_len(__vector
signed long long __vec,
signed long long *__ptr,
1590 unsigned int __len) {
1591 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1595vec_store_len(__vector
unsigned long long __vec,
unsigned long long *__ptr,
1596 unsigned int __len) {
1597 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1602vec_store_len(__vector
float __vec,
float *__ptr,
1603 unsigned int __len) {
1604 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1609vec_store_len(__vector
double __vec,
double *__ptr,
1610 unsigned int __len) {
1611 __builtin_s390_vstl((__vector
signed char)__vec, __len, __ptr);
1617static inline __ATTRS_ai
void
1618vec_store_len_r(__vector
unsigned char __vec,
unsigned char *__ptr,
1619 unsigned int __len) {
1620 __builtin_s390_vstrlr((__vector
signed char)__vec, __len, __ptr);
1627vec_load_pair(
signed long long __a,
signed long long __b) {
1628 return (__vector
signed long long)(
__a,
__b);
1632vec_load_pair(
unsigned long long __a,
unsigned long long __b) {
1633 return (__vector
unsigned long long)(
__a,
__b);
1639vec_genmask(
unsigned short __mask)
1640 __constant(__mask) {
1641 return (__vector
unsigned char)(
1642 __mask & 0x8000 ? 0xff : 0,
1643 __mask & 0x4000 ? 0xff : 0,
1644 __mask & 0x2000 ? 0xff : 0,
1645 __mask & 0x1000 ? 0xff : 0,
1646 __mask & 0x0800 ? 0xff : 0,
1647 __mask & 0x0400 ? 0xff : 0,
1648 __mask & 0x0200 ? 0xff : 0,
1649 __mask & 0x0100 ? 0xff : 0,
1650 __mask & 0x0080 ? 0xff : 0,
1651 __mask & 0x0040 ? 0xff : 0,
1652 __mask & 0x0020 ? 0xff : 0,
1653 __mask & 0x0010 ? 0xff : 0,
1654 __mask & 0x0008 ? 0xff : 0,
1655 __mask & 0x0004 ? 0xff : 0,
1656 __mask & 0x0002 ? 0xff : 0,
1657 __mask & 0x0001 ? 0xff : 0);
1663vec_genmasks_8(
unsigned char __first,
unsigned char __last)
1664 __constant(__first) __constant(__last) {
1665 unsigned char __bit1 = __first & 7;
1666 unsigned char __bit2 = __last & 7;
1667 unsigned char __mask1 = (
unsigned char)(1U << (7 - __bit1) << 1) - 1;
1668 unsigned char __mask2 = (
unsigned char)(1U << (7 - __bit2)) - 1;
1669 unsigned char __value = (__bit1 <= __bit2 ?
1670 __mask1 & ~__mask2 :
1671 __mask1 | ~__mask2);
1672 return (__vector
unsigned char)
__value;
1676vec_genmasks_16(
unsigned char __first,
unsigned char __last)
1677 __constant(__first) __constant(__last) {
1678 unsigned char __bit1 = __first & 15;
1679 unsigned char __bit2 = __last & 15;
1680 unsigned short __mask1 = (
unsigned short)(1U << (15 - __bit1) << 1) - 1;
1681 unsigned short __mask2 = (
unsigned short)(1U << (15 - __bit2)) - 1;
1682 unsigned short __value = (__bit1 <= __bit2 ?
1683 __mask1 & ~__mask2 :
1684 __mask1 | ~__mask2);
1685 return (__vector
unsigned short)
__value;
1689vec_genmasks_32(
unsigned char __first,
unsigned char __last)
1690 __constant(__first) __constant(__last) {
1691 unsigned char __bit1 = __first & 31;
1692 unsigned char __bit2 = __last & 31;
1693 unsigned int __mask1 = (1U << (31 - __bit1) << 1) - 1;
1694 unsigned int __mask2 = (1U << (31 - __bit2)) - 1;
1695 unsigned int __value = (__bit1 <= __bit2 ?
1696 __mask1 & ~__mask2 :
1697 __mask1 | ~__mask2);
1698 return (__vector
unsigned int)
__value;
1702vec_genmasks_64(
unsigned char __first,
unsigned char __last)
1703 __constant(__first) __constant(__last) {
1704 unsigned char __bit1 = __first & 63;
1705 unsigned char __bit2 = __last & 63;
1706 unsigned long long __mask1 = (1ULL << (63 - __bit1) << 1) - 1;
1707 unsigned long long __mask2 = (1ULL << (63 - __bit2)) - 1;
1708 unsigned long long __value = (__bit1 <= __bit2 ?
1709 __mask1 & ~__mask2 :
1710 __mask1 | ~__mask2);
1711 return (__vector
unsigned long long)
__value;
1717vec_splat(__vector
signed char __vec,
int __index)
1718 __constant_range(__index, 0, 15) {
1719 return (__vector
signed char)__vec[__index];
1723vec_splat(__vector __bool
char __vec,
int __index)
1724 __constant_range(__index, 0, 15) {
1725 return (__vector __bool
char)(__vector
unsigned char)__vec[__index];
1729vec_splat(__vector
unsigned char __vec,
int __index)
1730 __constant_range(__index, 0, 15) {
1731 return (__vector
unsigned char)__vec[__index];
1735vec_splat(__vector
signed short __vec,
int __index)
1736 __constant_range(__index, 0, 7) {
1737 return (__vector
signed short)__vec[__index];
1741vec_splat(__vector __bool
short __vec,
int __index)
1742 __constant_range(__index, 0, 7) {
1743 return (__vector __bool
short)(__vector
unsigned short)__vec[__index];
1747vec_splat(__vector
unsigned short __vec,
int __index)
1748 __constant_range(__index, 0, 7) {
1749 return (__vector
unsigned short)__vec[__index];
1753vec_splat(__vector
signed int __vec,
int __index)
1754 __constant_range(__index, 0, 3) {
1755 return (__vector
signed int)__vec[__index];
1759vec_splat(__vector __bool
int __vec,
int __index)
1760 __constant_range(__index, 0, 3) {
1761 return (__vector __bool
int)(__vector
unsigned int)__vec[__index];
1765vec_splat(__vector
unsigned int __vec,
int __index)
1766 __constant_range(__index, 0, 3) {
1767 return (__vector
unsigned int)__vec[__index];
1771vec_splat(__vector
signed long long __vec,
int __index)
1772 __constant_range(__index, 0, 1) {
1773 return (__vector
signed long long)__vec[__index];
1777vec_splat(__vector __bool
long long __vec,
int __index)
1778 __constant_range(__index, 0, 1) {
1779 return ((__vector __bool
long long)
1780 (__vector
unsigned long long)__vec[__index]);
1784vec_splat(__vector
unsigned long long __vec,
int __index)
1785 __constant_range(__index, 0, 1) {
1786 return (__vector
unsigned long long)__vec[__index];
1791vec_splat(__vector
float __vec,
int __index)
1792 __constant_range(__index, 0, 3) {
1793 return (__vector
float)__vec[__index];
1798vec_splat(__vector
double __vec,
int __index)
1799 __constant_range(__index, 0, 1) {
1800 return (__vector
double)__vec[__index];
1805static inline __ATTRS_ai __vector
signed char
1807 __constant(__scalar) {
1808 return (__vector
signed char)__scalar;
1811static inline __ATTRS_ai __vector
signed short
1813 __constant(__scalar) {
1814 return (__vector
signed short)__scalar;
1817static inline __ATTRS_ai __vector
signed int
1819 __constant(__scalar) {
1820 return (__vector
signed int)(
signed int)__scalar;
1823static inline __ATTRS_ai __vector
signed long long
1824vec_splat_s64(
signed short __scalar)
1825 __constant(__scalar) {
1826 return (__vector
signed long long)(
signed long)__scalar;
1831static inline __ATTRS_ai __vector
unsigned char
1833 __constant(__scalar) {
1834 return (__vector
unsigned char)__scalar;
1837static inline __ATTRS_ai __vector
unsigned short
1839 __constant(__scalar) {
1840 return (__vector
unsigned short)__scalar;
1843static inline __ATTRS_ai __vector
unsigned int
1845 __constant(__scalar) {
1846 return (__vector
unsigned int)(
signed int)__scalar;
1849static inline __ATTRS_ai __vector
unsigned long long
1850vec_splat_u64(
signed short __scalar)
1851 __constant(__scalar) {
1852 return (__vector
unsigned long long)(
signed long long)__scalar;
1859 return (__vector
signed char)__scalar;
1864 return (__vector
unsigned char)__scalar;
1869 return (__vector
signed short)__scalar;
1874 return (__vector
unsigned short)__scalar;
1879 return (__vector
signed int)__scalar;
1884 return (__vector
unsigned int)__scalar;
1889 return (__vector
signed long long)__scalar;
1894 return (__vector
unsigned long long)__scalar;
1900 return (__vector
float)__scalar;
1906 return (__vector
double)__scalar;
1912vec_extend_s64(__vector
signed char __a) {
1913 return (__vector
signed long long)(
__a[7],
__a[15]);
1917vec_extend_s64(__vector
signed short __a) {
1918 return (__vector
signed long long)(
__a[3],
__a[7]);
1922vec_extend_s64(__vector
signed int __a) {
1923 return (__vector
signed long long)(
__a[1],
__a[3]);
1930 return (__vector
signed char)(
1937 return (__vector __bool
char)(
1944 return (__vector
unsigned char)(
1951 return (__vector
signed short)(
1957 return (__vector __bool
short)(
1963 return (__vector
unsigned short)(
1969 return (__vector
signed int)(
__a[0],
__b[0],
__a[1],
__b[1]);
1974 return (__vector __bool
int)(
__a[0],
__b[0],
__a[1],
__b[1]);
1979 return (__vector
unsigned int)(
__a[0],
__b[0],
__a[1],
__b[1]);
1984 return (__vector
signed long long)(
__a[0],
__b[0]);
1989 return (__vector __bool
long long)(
__a[0],
__b[0]);
1993vec_mergeh(__vector
unsigned long long __a, __vector
unsigned long long __b) {
1994 return (__vector
unsigned long long)(
__a[0],
__b[0]);
2000 return (__vector
float)(
__a[0],
__b[0],
__a[1],
__b[1]);
2006 return (__vector
double)(
__a[0],
__b[0]);
2013 return (__vector
signed char)(
2020 return (__vector __bool
char)(
2027 return (__vector
unsigned char)(
2034 return (__vector
signed short)(
2040 return (__vector __bool
short)(
2046 return (__vector
unsigned short)(
2052 return (__vector
signed int)(
__a[2],
__b[2],
__a[3],
__b[3]);
2057 return (__vector __bool
int)(
__a[2],
__b[2],
__a[3],
__b[3]);
2062 return (__vector
unsigned int)(
__a[2],
__b[2],
__a[3],
__b[3]);
2067 return (__vector
signed long long)(
__a[1],
__b[1]);
2072 return (__vector __bool
long long)(
__a[1],
__b[1]);
2076vec_mergel(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2077 return (__vector
unsigned long long)(
__a[1],
__b[1]);
2083 return (__vector
float)(
__a[2],
__b[2],
__a[3],
__b[3]);
2089 return (__vector
double)(
__a[1],
__b[1]);
2096 __vector
signed char __ac = (__vector
signed char)
__a;
2097 __vector
signed char __bc = (__vector
signed char)
__b;
2098 return (__vector
signed char)(
2099 __ac[1], __ac[3], __ac[5], __ac[7], __ac[9], __ac[11], __ac[13], __ac[15],
2100 __bc[1], __bc[3], __bc[5], __bc[7], __bc[9], __bc[11], __bc[13], __bc[15]);
2105 __vector __bool
char __ac = (__vector __bool char)
__a;
2106 __vector __bool
char __bc = (__vector __bool char)
__b;
2107 return (__vector __bool
char)(
2108 __ac[1], __ac[3], __ac[5], __ac[7], __ac[9], __ac[11], __ac[13], __ac[15],
2109 __bc[1], __bc[3], __bc[5], __bc[7], __bc[9], __bc[11], __bc[13], __bc[15]);
2113vec_pack(__vector
unsigned short __a, __vector
unsigned short __b) {
2114 __vector
unsigned char __ac = (__vector
unsigned char)
__a;
2115 __vector
unsigned char __bc = (__vector
unsigned char)
__b;
2116 return (__vector
unsigned char)(
2117 __ac[1], __ac[3], __ac[5], __ac[7], __ac[9], __ac[11], __ac[13], __ac[15],
2118 __bc[1], __bc[3], __bc[5], __bc[7], __bc[9], __bc[11], __bc[13], __bc[15]);
2123 __vector
signed short __ac = (__vector
signed short)
__a;
2124 __vector
signed short __bc = (__vector
signed short)
__b;
2125 return (__vector
signed short)(
2126 __ac[1], __ac[3], __ac[5], __ac[7],
2127 __bc[1], __bc[3], __bc[5], __bc[7]);
2132 __vector __bool
short __ac = (__vector __bool short)
__a;
2133 __vector __bool
short __bc = (__vector __bool short)
__b;
2134 return (__vector __bool
short)(
2135 __ac[1], __ac[3], __ac[5], __ac[7],
2136 __bc[1], __bc[3], __bc[5], __bc[7]);
2141 __vector
unsigned short __ac = (__vector
unsigned short)
__a;
2142 __vector
unsigned short __bc = (__vector
unsigned short)
__b;
2143 return (__vector
unsigned short)(
2144 __ac[1], __ac[3], __ac[5], __ac[7],
2145 __bc[1], __bc[3], __bc[5], __bc[7]);
2149vec_pack(__vector
signed long long __a, __vector
signed long long __b) {
2150 __vector
signed int __ac = (__vector
signed int)
__a;
2151 __vector
signed int __bc = (__vector
signed int)
__b;
2152 return (__vector
signed int)(__ac[1], __ac[3], __bc[1], __bc[3]);
2156vec_pack(__vector __bool
long long __a, __vector __bool
long long __b) {
2157 __vector __bool
int __ac = (__vector __bool
int)
__a;
2158 __vector __bool
int __bc = (__vector __bool
int)
__b;
2159 return (__vector __bool
int)(__ac[1], __ac[3], __bc[1], __bc[3]);
2163vec_pack(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2164 __vector
unsigned int __ac = (__vector
unsigned int)
__a;
2165 __vector
unsigned int __bc = (__vector
unsigned int)
__b;
2166 return (__vector
unsigned int)(__ac[1], __ac[3], __bc[1], __bc[3]);
2173 return __builtin_s390_vpksh(
__a,
__b);
2178 return __builtin_s390_vpklsh(
__a,
__b);
2183 return __builtin_s390_vpksf(
__a,
__b);
2188 return __builtin_s390_vpklsf(
__a,
__b);
2192vec_packs(__vector
signed long long __a, __vector
signed long long __b) {
2193 return __builtin_s390_vpksg(
__a,
__b);
2197vec_packs(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2198 return __builtin_s390_vpklsg(
__a,
__b);
2204vec_packs_cc(__vector
signed short __a, __vector
signed short __b,
int *__cc) {
2205 return __builtin_s390_vpkshs(
__a,
__b, __cc);
2209vec_packs_cc(__vector
unsigned short __a, __vector
unsigned short __b,
2211 return __builtin_s390_vpklshs(
__a,
__b, __cc);
2215vec_packs_cc(__vector
signed int __a, __vector
signed int __b,
int *__cc) {
2216 return __builtin_s390_vpksfs(
__a,
__b, __cc);
2220vec_packs_cc(__vector
unsigned int __a, __vector
unsigned int __b,
int *__cc) {
2221 return __builtin_s390_vpklsfs(
__a,
__b, __cc);
2225vec_packs_cc(__vector
signed long long __a, __vector
signed long long __b,
2227 return __builtin_s390_vpksgs(
__a,
__b, __cc);
2231vec_packs_cc(__vector
unsigned long long __a, __vector
unsigned long long __b,
2233 return __builtin_s390_vpklsgs(
__a,
__b, __cc);
2240 const __vector
signed short __zero = (__vector
signed short)0;
2241 return __builtin_s390_vpklsh(
2242 (__vector
unsigned short)(
__a >= __zero) & (__vector
unsigned short)
__a,
2243 (__vector
unsigned short)(
__b >= __zero) & (__vector
unsigned short)
__b);
2248 return __builtin_s390_vpklsh(
__a,
__b);
2253 const __vector
signed int __zero = (__vector
signed int)0;
2254 return __builtin_s390_vpklsf(
2255 (__vector
unsigned int)(
__a >= __zero) & (__vector
unsigned int)
__a,
2256 (__vector
unsigned int)(
__b >= __zero) & (__vector
unsigned int)
__b);
2261 return __builtin_s390_vpklsf(
__a,
__b);
2266 const __vector
signed long long __zero = (__vector
signed long long)0;
2267 return __builtin_s390_vpklsg(
2268 (__vector
unsigned long long)(
__a >= __zero) &
2269 (__vector
unsigned long long)
__a,
2270 (__vector
unsigned long long)(
__b >= __zero) &
2271 (__vector
unsigned long long)
__b);
2275vec_packsu(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2276 return __builtin_s390_vpklsg(
__a,
__b);
2282vec_packsu_cc(__vector
unsigned short __a, __vector
unsigned short __b,
2284 return __builtin_s390_vpklshs(
__a,
__b, __cc);
2288vec_packsu_cc(__vector
unsigned int __a, __vector
unsigned int __b,
int *__cc) {
2289 return __builtin_s390_vpklsfs(
__a,
__b, __cc);
2293vec_packsu_cc(__vector
unsigned long long __a, __vector
unsigned long long __b,
2295 return __builtin_s390_vpklsgs(
__a,
__b, __cc);
2302 return __builtin_s390_vuphb(
__a);
2307 return ((__vector __bool
short)
2308 __builtin_s390_vuphb((__vector
signed char)
__a));
2313 return __builtin_s390_vuplhb(
__a);
2318 return __builtin_s390_vuphh(
__a);
2323 return (__vector __bool
int)__builtin_s390_vuphh((__vector
signed short)
__a);
2328 return __builtin_s390_vuplhh(
__a);
2333 return __builtin_s390_vuphf(
__a);
2338 return ((__vector __bool
long long)
2339 __builtin_s390_vuphf((__vector
signed int)
__a));
2344 return __builtin_s390_vuplhf(
__a);
2351 return __builtin_s390_vuplb(
__a);
2356 return ((__vector __bool
short)
2357 __builtin_s390_vuplb((__vector
signed char)
__a));
2362 return __builtin_s390_vupllb(
__a);
2367 return __builtin_s390_vuplhw(
__a);
2372 return ((__vector __bool
int)
2373 __builtin_s390_vuplhw((__vector
signed short)
__a));
2378 return __builtin_s390_vupllh(
__a);
2383 return __builtin_s390_vuplf(
__a);
2388 return ((__vector __bool
long long)
2389 __builtin_s390_vuplf((__vector
signed int)
__a));
2394 return __builtin_s390_vupllf(
__a);
2401 return (__vector __bool
char)(
__a ==
__b);
2406 return (__vector __bool
char)(
__a ==
__b);
2411 return (__vector __bool
char)(
__a ==
__b);
2416 return (__vector __bool
short)(
__a ==
__b);
2421 return (__vector __bool
short)(
__a ==
__b);
2426 return (__vector __bool
short)(
__a ==
__b);
2431 return (__vector __bool
int)(
__a ==
__b);
2436 return (__vector __bool
int)(
__a ==
__b);
2441 return (__vector __bool
int)(
__a ==
__b);
2445vec_cmpeq(__vector __bool
long long __a, __vector __bool
long long __b) {
2446 return (__vector __bool
long long)(
__a ==
__b);
2450vec_cmpeq(__vector
signed long long __a, __vector
signed long long __b) {
2451 return (__vector __bool
long long)(
__a ==
__b);
2455vec_cmpeq(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2456 return (__vector __bool
long long)(
__a ==
__b);
2462 return (__vector __bool
int)(
__a ==
__b);
2468 return (__vector __bool
long long)(
__a ==
__b);
2475 return (__vector __bool
char)(
__a >=
__b);
2480 return (__vector __bool
char)(
__a >=
__b);
2485 return (__vector __bool
short)(
__a >=
__b);
2490 return (__vector __bool
short)(
__a >=
__b);
2495 return (__vector __bool
int)(
__a >=
__b);
2500 return (__vector __bool
int)(
__a >=
__b);
2504vec_cmpge(__vector
signed long long __a, __vector
signed long long __b) {
2505 return (__vector __bool
long long)(
__a >=
__b);
2509vec_cmpge(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2510 return (__vector __bool
long long)(
__a >=
__b);
2516 return (__vector __bool
int)(
__a >=
__b);
2522 return (__vector __bool
long long)(
__a >=
__b);
2529 return (__vector __bool
char)(
__a >
__b);
2534 return (__vector __bool
char)(
__a >
__b);
2539 return (__vector __bool
short)(
__a >
__b);
2544 return (__vector __bool
short)(
__a >
__b);
2549 return (__vector __bool
int)(
__a >
__b);
2554 return (__vector __bool
int)(
__a >
__b);
2558vec_cmpgt(__vector
signed long long __a, __vector
signed long long __b) {
2559 return (__vector __bool
long long)(
__a >
__b);
2563vec_cmpgt(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2564 return (__vector __bool
long long)(
__a >
__b);
2570 return (__vector __bool
int)(
__a >
__b);
2576 return (__vector __bool
long long)(
__a >
__b);
2583 return (__vector __bool
char)(
__a <=
__b);
2588 return (__vector __bool
char)(
__a <=
__b);
2593 return (__vector __bool
short)(
__a <=
__b);
2598 return (__vector __bool
short)(
__a <=
__b);
2603 return (__vector __bool
int)(
__a <=
__b);
2608 return (__vector __bool
int)(
__a <=
__b);
2612vec_cmple(__vector
signed long long __a, __vector
signed long long __b) {
2613 return (__vector __bool
long long)(
__a <=
__b);
2617vec_cmple(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2618 return (__vector __bool
long long)(
__a <=
__b);
2624 return (__vector __bool
int)(
__a <=
__b);
2630 return (__vector __bool
long long)(
__a <=
__b);
2637 return (__vector __bool
char)(
__a <
__b);
2642 return (__vector __bool
char)(
__a <
__b);
2647 return (__vector __bool
short)(
__a <
__b);
2652 return (__vector __bool
short)(
__a <
__b);
2657 return (__vector __bool
int)(
__a <
__b);
2662 return (__vector __bool
int)(
__a <
__b);
2666vec_cmplt(__vector
signed long long __a, __vector
signed long long __b) {
2667 return (__vector __bool
long long)(
__a <
__b);
2671vec_cmplt(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2672 return (__vector __bool
long long)(
__a <
__b);
2678 return (__vector __bool
int)(
__a <
__b);
2684 return (__vector __bool
long long)(
__a <
__b);
2692 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
2693 (__vector
unsigned char)
__b, &__cc);
2701 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
2702 (__vector
unsigned char)
__b, &__cc);
2710 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
2711 (__vector
unsigned char)
__b, &__cc);
2718 __builtin_s390_vceqbs(
__a,
__b, &__cc);
2726 __builtin_s390_vceqbs(
__a, (__vector
unsigned char)
__b, &__cc);
2734 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
__b, &__cc);
2741 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
2742 (__vector
unsigned char)
__b, &__cc);
2749 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
2750 (__vector
unsigned short)
__b, &__cc);
2758 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
2759 (__vector
unsigned short)
__b, &__cc);
2767 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
2768 (__vector
unsigned short)
__b, &__cc);
2775 __builtin_s390_vceqhs(
__a,
__b, &__cc);
2783 __builtin_s390_vceqhs(
__a, (__vector
unsigned short)
__b, &__cc);
2791 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
__b, &__cc);
2798 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
2799 (__vector
unsigned short)
__b, &__cc);
2806 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
2807 (__vector
unsigned int)
__b, &__cc);
2815 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
2816 (__vector
unsigned int)
__b, &__cc);
2824 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
2825 (__vector
unsigned int)
__b, &__cc);
2832 __builtin_s390_vceqfs(
__a,
__b, &__cc);
2840 __builtin_s390_vceqfs(
__a, (__vector
unsigned int)
__b, &__cc);
2848 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
__b, &__cc);
2855 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
2856 (__vector
unsigned int)
__b, &__cc);
2863 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
2864 (__vector
unsigned long long)
__b, &__cc);
2872 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
2873 (__vector
unsigned long long)
__b, &__cc);
2881 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
2882 (__vector
unsigned long long)
__b, &__cc);
2887vec_all_eq(__vector
unsigned long long __a, __vector
unsigned long long __b) {
2889 __builtin_s390_vceqgs(
__a,
__b, &__cc);
2895vec_all_eq(__vector
unsigned long long __a, __vector __bool
long long __b) {
2897 __builtin_s390_vceqgs(
__a, (__vector
unsigned long long)
__b, &__cc);
2903vec_all_eq(__vector __bool
long long __a, __vector
unsigned long long __b) {
2905 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
__b, &__cc);
2912 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
2913 (__vector
unsigned long long)
__b, &__cc);
2921 __builtin_s390_vfcesbs(
__a,
__b, &__cc);
2929 __builtin_s390_vfcedbs(
__a,
__b, &__cc);
2938 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
2939 (__vector
unsigned char)
__b, &__cc);
2947 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
2948 (__vector
unsigned char)
__b, &__cc);
2956 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
2957 (__vector
unsigned char)
__b, &__cc);
2964 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
2965 (__vector
unsigned char)
__b, &__cc);
2973 __builtin_s390_vceqbs(
__a, (__vector
unsigned char)
__b, &__cc);
2981 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
__b, &__cc);
2988 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
2989 (__vector
unsigned char)
__b, &__cc);
2996 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
2997 (__vector
unsigned short)
__b, &__cc);
3005 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
3006 (__vector
unsigned short)
__b, &__cc);
3014 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
3015 (__vector
unsigned short)
__b, &__cc);
3022 __builtin_s390_vceqhs(
__a,
__b, &__cc);
3030 __builtin_s390_vceqhs(
__a, (__vector
unsigned short)
__b, &__cc);
3038 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
__b, &__cc);
3045 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
3046 (__vector
unsigned short)
__b, &__cc);
3053 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
3054 (__vector
unsigned int)
__b, &__cc);
3062 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
3063 (__vector
unsigned int)
__b, &__cc);
3071 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
3072 (__vector
unsigned int)
__b, &__cc);
3079 __builtin_s390_vceqfs(
__a,
__b, &__cc);
3087 __builtin_s390_vceqfs(
__a, (__vector
unsigned int)
__b, &__cc);
3095 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
__b, &__cc);
3102 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
3103 (__vector
unsigned int)
__b, &__cc);
3110 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
3111 (__vector
unsigned long long)
__b, &__cc);
3119 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
3120 (__vector
unsigned long long)
__b, &__cc);
3128 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
3129 (__vector
unsigned long long)
__b, &__cc);
3134vec_all_ne(__vector
unsigned long long __a, __vector
unsigned long long __b) {
3136 __builtin_s390_vceqgs(
__a,
__b, &__cc);
3142vec_all_ne(__vector
unsigned long long __a, __vector __bool
long long __b) {
3144 __builtin_s390_vceqgs(
__a, (__vector
unsigned long long)
__b, &__cc);
3150vec_all_ne(__vector __bool
long long __a, __vector
unsigned long long __b) {
3152 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
__b, &__cc);
3159 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
3160 (__vector
unsigned long long)
__b, &__cc);
3168 __builtin_s390_vfcesbs(
__a,
__b, &__cc);
3176 __builtin_s390_vfcedbs(
__a,
__b, &__cc);
3185 __builtin_s390_vchbs(
__b,
__a, &__cc);
3193 __builtin_s390_vchbs((__vector
signed char)
__b,
__a, &__cc);
3201 __builtin_s390_vchbs(
__b, (__vector
signed char)
__a, &__cc);
3208 __builtin_s390_vchlbs(
__b,
__a, &__cc);
3216 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
__a, &__cc);
3224 __builtin_s390_vchlbs(
__b, (__vector
unsigned char)
__a, &__cc);
3232 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
3233 (__vector
unsigned char)
__a, &__cc);
3240 __builtin_s390_vchhs(
__b,
__a, &__cc);
3248 __builtin_s390_vchhs((__vector
signed short)
__b,
__a, &__cc);
3256 __builtin_s390_vchhs(
__b, (__vector
signed short)
__a, &__cc);
3263 __builtin_s390_vchlhs(
__b,
__a, &__cc);
3271 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
__a, &__cc);
3279 __builtin_s390_vchlhs(
__b, (__vector
unsigned short)
__a, &__cc);
3287 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
3288 (__vector
unsigned short)
__a, &__cc);
3295 __builtin_s390_vchfs(
__b,
__a, &__cc);
3303 __builtin_s390_vchfs((__vector
signed int)
__b,
__a, &__cc);
3311 __builtin_s390_vchfs(
__b, (__vector
signed int)
__a, &__cc);
3318 __builtin_s390_vchlfs(
__b,
__a, &__cc);
3326 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
__a, &__cc);
3334 __builtin_s390_vchlfs(
__b, (__vector
unsigned int)
__a, &__cc);
3342 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
3343 (__vector
unsigned int)
__a, &__cc);
3350 __builtin_s390_vchgs(
__b,
__a, &__cc);
3358 __builtin_s390_vchgs((__vector
signed long long)
__b,
__a, &__cc);
3366 __builtin_s390_vchgs(
__b, (__vector
signed long long)
__a, &__cc);
3371vec_all_ge(__vector
unsigned long long __a, __vector
unsigned long long __b) {
3373 __builtin_s390_vchlgs(
__b,
__a, &__cc);
3379vec_all_ge(__vector
unsigned long long __a, __vector __bool
long long __b) {
3381 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
__a, &__cc);
3387vec_all_ge(__vector __bool
long long __a, __vector
unsigned long long __b) {
3389 __builtin_s390_vchlgs(
__b, (__vector
unsigned long long)
__a, &__cc);
3397 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
3398 (__vector
unsigned long long)
__a, &__cc);
3406 __builtin_s390_vfchesbs(
__a,
__b, &__cc);
3414 __builtin_s390_vfchedbs(
__a,
__b, &__cc);
3423 __builtin_s390_vchbs(
__a,
__b, &__cc);
3431 __builtin_s390_vchbs(
__a, (__vector
signed char)
__b, &__cc);
3439 __builtin_s390_vchbs((__vector
signed char)
__a,
__b, &__cc);
3446 __builtin_s390_vchlbs(
__a,
__b, &__cc);
3454 __builtin_s390_vchlbs(
__a, (__vector
unsigned char)
__b, &__cc);
3462 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
__b, &__cc);
3470 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
3471 (__vector
unsigned char)
__b, &__cc);
3478 __builtin_s390_vchhs(
__a,
__b, &__cc);
3486 __builtin_s390_vchhs(
__a, (__vector
signed short)
__b, &__cc);
3494 __builtin_s390_vchhs((__vector
signed short)
__a,
__b, &__cc);
3501 __builtin_s390_vchlhs(
__a,
__b, &__cc);
3509 __builtin_s390_vchlhs(
__a, (__vector
unsigned short)
__b, &__cc);
3517 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
__b, &__cc);
3525 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
3526 (__vector
unsigned short)
__b, &__cc);
3533 __builtin_s390_vchfs(
__a,
__b, &__cc);
3541 __builtin_s390_vchfs(
__a, (__vector
signed int)
__b, &__cc);
3549 __builtin_s390_vchfs((__vector
signed int)
__a,
__b, &__cc);
3556 __builtin_s390_vchlfs(
__a,
__b, &__cc);
3564 __builtin_s390_vchlfs(
__a, (__vector
unsigned int)
__b, &__cc);
3572 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
__b, &__cc);
3580 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
3581 (__vector
unsigned int)
__b, &__cc);
3588 __builtin_s390_vchgs(
__a,
__b, &__cc);
3596 __builtin_s390_vchgs(
__a, (__vector
signed long long)
__b, &__cc);
3604 __builtin_s390_vchgs((__vector
signed long long)
__a,
__b, &__cc);
3609vec_all_gt(__vector
unsigned long long __a, __vector
unsigned long long __b) {
3611 __builtin_s390_vchlgs(
__a,
__b, &__cc);
3617vec_all_gt(__vector
unsigned long long __a, __vector __bool
long long __b) {
3619 __builtin_s390_vchlgs(
__a, (__vector
unsigned long long)
__b, &__cc);
3625vec_all_gt(__vector __bool
long long __a, __vector
unsigned long long __b) {
3627 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
__b, &__cc);
3635 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
3636 (__vector
unsigned long long)
__b, &__cc);
3644 __builtin_s390_vfchsbs(
__a,
__b, &__cc);
3652 __builtin_s390_vfchdbs(
__a,
__b, &__cc);
3661 __builtin_s390_vchbs(
__a,
__b, &__cc);
3669 __builtin_s390_vchbs(
__a, (__vector
signed char)
__b, &__cc);
3677 __builtin_s390_vchbs((__vector
signed char)
__a,
__b, &__cc);
3684 __builtin_s390_vchlbs(
__a,
__b, &__cc);
3692 __builtin_s390_vchlbs(
__a, (__vector
unsigned char)
__b, &__cc);
3700 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
__b, &__cc);
3708 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
3709 (__vector
unsigned char)
__b, &__cc);
3716 __builtin_s390_vchhs(
__a,
__b, &__cc);
3724 __builtin_s390_vchhs(
__a, (__vector
signed short)
__b, &__cc);
3732 __builtin_s390_vchhs((__vector
signed short)
__a,
__b, &__cc);
3739 __builtin_s390_vchlhs(
__a,
__b, &__cc);
3747 __builtin_s390_vchlhs(
__a, (__vector
unsigned short)
__b, &__cc);
3755 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
__b, &__cc);
3763 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
3764 (__vector
unsigned short)
__b, &__cc);
3771 __builtin_s390_vchfs(
__a,
__b, &__cc);
3779 __builtin_s390_vchfs(
__a, (__vector
signed int)
__b, &__cc);
3787 __builtin_s390_vchfs((__vector
signed int)
__a,
__b, &__cc);
3794 __builtin_s390_vchlfs(
__a,
__b, &__cc);
3802 __builtin_s390_vchlfs(
__a, (__vector
unsigned int)
__b, &__cc);
3810 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
__b, &__cc);
3818 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
3819 (__vector
unsigned int)
__b, &__cc);
3826 __builtin_s390_vchgs(
__a,
__b, &__cc);
3834 __builtin_s390_vchgs(
__a, (__vector
signed long long)
__b, &__cc);
3842 __builtin_s390_vchgs((__vector
signed long long)
__a,
__b, &__cc);
3847vec_all_le(__vector
unsigned long long __a, __vector
unsigned long long __b) {
3849 __builtin_s390_vchlgs(
__a,
__b, &__cc);
3855vec_all_le(__vector
unsigned long long __a, __vector __bool
long long __b) {
3857 __builtin_s390_vchlgs(
__a, (__vector
unsigned long long)
__b, &__cc);
3863vec_all_le(__vector __bool
long long __a, __vector
unsigned long long __b) {
3865 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
__b, &__cc);
3873 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
3874 (__vector
unsigned long long)
__b, &__cc);
3882 __builtin_s390_vfchesbs(
__b,
__a, &__cc);
3890 __builtin_s390_vfchedbs(
__b,
__a, &__cc);
3899 __builtin_s390_vchbs(
__b,
__a, &__cc);
3907 __builtin_s390_vchbs((__vector
signed char)
__b,
__a, &__cc);
3915 __builtin_s390_vchbs(
__b, (__vector
signed char)
__a, &__cc);
3922 __builtin_s390_vchlbs(
__b,
__a, &__cc);
3930 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
__a, &__cc);
3938 __builtin_s390_vchlbs(
__b, (__vector
unsigned char)
__a, &__cc);
3946 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
3947 (__vector
unsigned char)
__a, &__cc);
3954 __builtin_s390_vchhs(
__b,
__a, &__cc);
3962 __builtin_s390_vchhs((__vector
signed short)
__b,
__a, &__cc);
3970 __builtin_s390_vchhs(
__b, (__vector
signed short)
__a, &__cc);
3977 __builtin_s390_vchlhs(
__b,
__a, &__cc);
3985 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
__a, &__cc);
3993 __builtin_s390_vchlhs(
__b, (__vector
unsigned short)
__a, &__cc);
4001 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
4002 (__vector
unsigned short)
__a, &__cc);
4009 __builtin_s390_vchfs(
__b,
__a, &__cc);
4017 __builtin_s390_vchfs((__vector
signed int)
__b,
__a, &__cc);
4025 __builtin_s390_vchfs(
__b, (__vector
signed int)
__a, &__cc);
4032 __builtin_s390_vchlfs(
__b,
__a, &__cc);
4040 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
__a, &__cc);
4048 __builtin_s390_vchlfs(
__b, (__vector
unsigned int)
__a, &__cc);
4056 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
4057 (__vector
unsigned int)
__a, &__cc);
4064 __builtin_s390_vchgs(
__b,
__a, &__cc);
4072 __builtin_s390_vchgs((__vector
signed long long)
__b,
__a, &__cc);
4080 __builtin_s390_vchgs(
__b, (__vector
signed long long)
__a, &__cc);
4085vec_all_lt(__vector
unsigned long long __a, __vector
unsigned long long __b) {
4087 __builtin_s390_vchlgs(
__b,
__a, &__cc);
4093vec_all_lt(__vector
unsigned long long __a, __vector __bool
long long __b) {
4095 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
__a, &__cc);
4101vec_all_lt(__vector __bool
long long __a, __vector
unsigned long long __b) {
4103 __builtin_s390_vchlgs(
__b, (__vector
unsigned long long)
__a, &__cc);
4111 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
4112 (__vector
unsigned long long)
__a, &__cc);
4120 __builtin_s390_vfchsbs(
__b,
__a, &__cc);
4128 __builtin_s390_vfchdbs(
__b,
__a, &__cc);
4138 __builtin_s390_vfchesbs(
__a,
__b, &__cc);
4146 __builtin_s390_vfchedbs(
__a,
__b, &__cc);
4156 __builtin_s390_vfchsbs(
__a,
__b, &__cc);
4164 __builtin_s390_vfchdbs(
__a,
__b, &__cc);
4174 __builtin_s390_vfchesbs(
__b,
__a, &__cc);
4182 __builtin_s390_vfchedbs(
__b,
__a, &__cc);
4192 __builtin_s390_vfchsbs(
__b,
__a, &__cc);
4200 __builtin_s390_vfchdbs(
__b,
__a, &__cc);
4210 __builtin_s390_vftcisb(
__a, 15, &__cc);
4218 __builtin_s390_vftcidb(
__a, 15, &__cc);
4228 __builtin_s390_vftcisb(
__a, 15, &__cc);
4236 __builtin_s390_vftcidb(
__a, 15, &__cc);
4245 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
4246 (__vector
unsigned char)
__b, &__cc);
4254 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
4255 (__vector
unsigned char)
__b, &__cc);
4263 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
4264 (__vector
unsigned char)
__b, &__cc);
4271 __builtin_s390_vceqbs(
__a,
__b, &__cc);
4279 __builtin_s390_vceqbs(
__a, (__vector
unsigned char)
__b, &__cc);
4287 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
__b, &__cc);
4294 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
4295 (__vector
unsigned char)
__b, &__cc);
4302 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
4303 (__vector
unsigned short)
__b, &__cc);
4311 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
4312 (__vector
unsigned short)
__b, &__cc);
4320 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
4321 (__vector
unsigned short)
__b, &__cc);
4328 __builtin_s390_vceqhs(
__a,
__b, &__cc);
4336 __builtin_s390_vceqhs(
__a, (__vector
unsigned short)
__b, &__cc);
4344 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
__b, &__cc);
4351 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
4352 (__vector
unsigned short)
__b, &__cc);
4359 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
4360 (__vector
unsigned int)
__b, &__cc);
4368 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
4369 (__vector
unsigned int)
__b, &__cc);
4377 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
4378 (__vector
unsigned int)
__b, &__cc);
4385 __builtin_s390_vceqfs(
__a,
__b, &__cc);
4393 __builtin_s390_vceqfs(
__a, (__vector
unsigned int)
__b, &__cc);
4401 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
__b, &__cc);
4408 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
4409 (__vector
unsigned int)
__b, &__cc);
4416 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
4417 (__vector
unsigned long long)
__b, &__cc);
4425 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
4426 (__vector
unsigned long long)
__b, &__cc);
4434 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
4435 (__vector
unsigned long long)
__b, &__cc);
4440vec_any_eq(__vector
unsigned long long __a, __vector
unsigned long long __b) {
4442 __builtin_s390_vceqgs(
__a,
__b, &__cc);
4448vec_any_eq(__vector
unsigned long long __a, __vector __bool
long long __b) {
4450 __builtin_s390_vceqgs(
__a, (__vector
unsigned long long)
__b, &__cc);
4456vec_any_eq(__vector __bool
long long __a, __vector
unsigned long long __b) {
4458 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
__b, &__cc);
4465 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
4466 (__vector
unsigned long long)
__b, &__cc);
4474 __builtin_s390_vfcesbs(
__a,
__b, &__cc);
4482 __builtin_s390_vfcedbs(
__a,
__b, &__cc);
4491 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
4492 (__vector
unsigned char)
__b, &__cc);
4500 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
4501 (__vector
unsigned char)
__b, &__cc);
4509 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
4510 (__vector
unsigned char)
__b, &__cc);
4517 __builtin_s390_vceqbs(
__a,
__b, &__cc);
4525 __builtin_s390_vceqbs(
__a, (__vector
unsigned char)
__b, &__cc);
4533 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
__b, &__cc);
4540 __builtin_s390_vceqbs((__vector
unsigned char)
__a,
4541 (__vector
unsigned char)
__b, &__cc);
4548 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
4549 (__vector
unsigned short)
__b, &__cc);
4557 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
4558 (__vector
unsigned short)
__b, &__cc);
4566 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
4567 (__vector
unsigned short)
__b, &__cc);
4574 __builtin_s390_vceqhs(
__a,
__b, &__cc);
4582 __builtin_s390_vceqhs(
__a, (__vector
unsigned short)
__b, &__cc);
4590 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
__b, &__cc);
4597 __builtin_s390_vceqhs((__vector
unsigned short)
__a,
4598 (__vector
unsigned short)
__b, &__cc);
4605 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
4606 (__vector
unsigned int)
__b, &__cc);
4614 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
4615 (__vector
unsigned int)
__b, &__cc);
4623 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
4624 (__vector
unsigned int)
__b, &__cc);
4631 __builtin_s390_vceqfs(
__a,
__b, &__cc);
4639 __builtin_s390_vceqfs(
__a, (__vector
unsigned int)
__b, &__cc);
4647 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
__b, &__cc);
4654 __builtin_s390_vceqfs((__vector
unsigned int)
__a,
4655 (__vector
unsigned int)
__b, &__cc);
4662 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
4663 (__vector
unsigned long long)
__b, &__cc);
4671 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
4672 (__vector
unsigned long long)
__b, &__cc);
4680 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
4681 (__vector
unsigned long long)
__b, &__cc);
4686vec_any_ne(__vector
unsigned long long __a, __vector
unsigned long long __b) {
4688 __builtin_s390_vceqgs(
__a,
__b, &__cc);
4694vec_any_ne(__vector
unsigned long long __a, __vector __bool
long long __b) {
4696 __builtin_s390_vceqgs(
__a, (__vector
unsigned long long)
__b, &__cc);
4702vec_any_ne(__vector __bool
long long __a, __vector
unsigned long long __b) {
4704 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
__b, &__cc);
4711 __builtin_s390_vceqgs((__vector
unsigned long long)
__a,
4712 (__vector
unsigned long long)
__b, &__cc);
4720 __builtin_s390_vfcesbs(
__a,
__b, &__cc);
4728 __builtin_s390_vfcedbs(
__a,
__b, &__cc);
4737 __builtin_s390_vchbs(
__b,
__a, &__cc);
4745 __builtin_s390_vchbs((__vector
signed char)
__b,
__a, &__cc);
4753 __builtin_s390_vchbs(
__b, (__vector
signed char)
__a, &__cc);
4760 __builtin_s390_vchlbs(
__b,
__a, &__cc);
4768 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
__a, &__cc);
4776 __builtin_s390_vchlbs(
__b, (__vector
unsigned char)
__a, &__cc);
4784 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
4785 (__vector
unsigned char)
__a, &__cc);
4792 __builtin_s390_vchhs(
__b,
__a, &__cc);
4800 __builtin_s390_vchhs((__vector
signed short)
__b,
__a, &__cc);
4808 __builtin_s390_vchhs(
__b, (__vector
signed short)
__a, &__cc);
4815 __builtin_s390_vchlhs(
__b,
__a, &__cc);
4823 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
__a, &__cc);
4831 __builtin_s390_vchlhs(
__b, (__vector
unsigned short)
__a, &__cc);
4839 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
4840 (__vector
unsigned short)
__a, &__cc);
4847 __builtin_s390_vchfs(
__b,
__a, &__cc);
4855 __builtin_s390_vchfs((__vector
signed int)
__b,
__a, &__cc);
4863 __builtin_s390_vchfs(
__b, (__vector
signed int)
__a, &__cc);
4870 __builtin_s390_vchlfs(
__b,
__a, &__cc);
4878 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
__a, &__cc);
4886 __builtin_s390_vchlfs(
__b, (__vector
unsigned int)
__a, &__cc);
4894 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
4895 (__vector
unsigned int)
__a, &__cc);
4902 __builtin_s390_vchgs(
__b,
__a, &__cc);
4910 __builtin_s390_vchgs((__vector
signed long long)
__b,
__a, &__cc);
4918 __builtin_s390_vchgs(
__b, (__vector
signed long long)
__a, &__cc);
4923vec_any_ge(__vector
unsigned long long __a, __vector
unsigned long long __b) {
4925 __builtin_s390_vchlgs(
__b,
__a, &__cc);
4931vec_any_ge(__vector
unsigned long long __a, __vector __bool
long long __b) {
4933 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
__a, &__cc);
4939vec_any_ge(__vector __bool
long long __a, __vector
unsigned long long __b) {
4941 __builtin_s390_vchlgs(
__b, (__vector
unsigned long long)
__a, &__cc);
4949 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
4950 (__vector
unsigned long long)
__a, &__cc);
4958 __builtin_s390_vfchesbs(
__a,
__b, &__cc);
4966 __builtin_s390_vfchedbs(
__a,
__b, &__cc);
4975 __builtin_s390_vchbs(
__a,
__b, &__cc);
4983 __builtin_s390_vchbs(
__a, (__vector
signed char)
__b, &__cc);
4991 __builtin_s390_vchbs((__vector
signed char)
__a,
__b, &__cc);
4998 __builtin_s390_vchlbs(
__a,
__b, &__cc);
5006 __builtin_s390_vchlbs(
__a, (__vector
unsigned char)
__b, &__cc);
5014 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
__b, &__cc);
5022 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
5023 (__vector
unsigned char)
__b, &__cc);
5030 __builtin_s390_vchhs(
__a,
__b, &__cc);
5038 __builtin_s390_vchhs(
__a, (__vector
signed short)
__b, &__cc);
5046 __builtin_s390_vchhs((__vector
signed short)
__a,
__b, &__cc);
5053 __builtin_s390_vchlhs(
__a,
__b, &__cc);
5061 __builtin_s390_vchlhs(
__a, (__vector
unsigned short)
__b, &__cc);
5069 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
__b, &__cc);
5077 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
5078 (__vector
unsigned short)
__b, &__cc);
5085 __builtin_s390_vchfs(
__a,
__b, &__cc);
5093 __builtin_s390_vchfs(
__a, (__vector
signed int)
__b, &__cc);
5101 __builtin_s390_vchfs((__vector
signed int)
__a,
__b, &__cc);
5108 __builtin_s390_vchlfs(
__a,
__b, &__cc);
5116 __builtin_s390_vchlfs(
__a, (__vector
unsigned int)
__b, &__cc);
5124 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
__b, &__cc);
5132 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
5133 (__vector
unsigned int)
__b, &__cc);
5140 __builtin_s390_vchgs(
__a,
__b, &__cc);
5148 __builtin_s390_vchgs(
__a, (__vector
signed long long)
__b, &__cc);
5156 __builtin_s390_vchgs((__vector
signed long long)
__a,
__b, &__cc);
5161vec_any_gt(__vector
unsigned long long __a, __vector
unsigned long long __b) {
5163 __builtin_s390_vchlgs(
__a,
__b, &__cc);
5169vec_any_gt(__vector
unsigned long long __a, __vector __bool
long long __b) {
5171 __builtin_s390_vchlgs(
__a, (__vector
unsigned long long)
__b, &__cc);
5177vec_any_gt(__vector __bool
long long __a, __vector
unsigned long long __b) {
5179 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
__b, &__cc);
5187 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
5188 (__vector
unsigned long long)
__b, &__cc);
5196 __builtin_s390_vfchsbs(
__a,
__b, &__cc);
5204 __builtin_s390_vfchdbs(
__a,
__b, &__cc);
5213 __builtin_s390_vchbs(
__a,
__b, &__cc);
5221 __builtin_s390_vchbs(
__a, (__vector
signed char)
__b, &__cc);
5229 __builtin_s390_vchbs((__vector
signed char)
__a,
__b, &__cc);
5236 __builtin_s390_vchlbs(
__a,
__b, &__cc);
5244 __builtin_s390_vchlbs(
__a, (__vector
unsigned char)
__b, &__cc);
5252 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
__b, &__cc);
5260 __builtin_s390_vchlbs((__vector
unsigned char)
__a,
5261 (__vector
unsigned char)
__b, &__cc);
5268 __builtin_s390_vchhs(
__a,
__b, &__cc);
5276 __builtin_s390_vchhs(
__a, (__vector
signed short)
__b, &__cc);
5284 __builtin_s390_vchhs((__vector
signed short)
__a,
__b, &__cc);
5291 __builtin_s390_vchlhs(
__a,
__b, &__cc);
5299 __builtin_s390_vchlhs(
__a, (__vector
unsigned short)
__b, &__cc);
5307 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
__b, &__cc);
5315 __builtin_s390_vchlhs((__vector
unsigned short)
__a,
5316 (__vector
unsigned short)
__b, &__cc);
5323 __builtin_s390_vchfs(
__a,
__b, &__cc);
5331 __builtin_s390_vchfs(
__a, (__vector
signed int)
__b, &__cc);
5339 __builtin_s390_vchfs((__vector
signed int)
__a,
__b, &__cc);
5346 __builtin_s390_vchlfs(
__a,
__b, &__cc);
5354 __builtin_s390_vchlfs(
__a, (__vector
unsigned int)
__b, &__cc);
5362 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
__b, &__cc);
5370 __builtin_s390_vchlfs((__vector
unsigned int)
__a,
5371 (__vector
unsigned int)
__b, &__cc);
5378 __builtin_s390_vchgs(
__a,
__b, &__cc);
5386 __builtin_s390_vchgs(
__a, (__vector
signed long long)
__b, &__cc);
5394 __builtin_s390_vchgs((__vector
signed long long)
__a,
__b, &__cc);
5399vec_any_le(__vector
unsigned long long __a, __vector
unsigned long long __b) {
5401 __builtin_s390_vchlgs(
__a,
__b, &__cc);
5407vec_any_le(__vector
unsigned long long __a, __vector __bool
long long __b) {
5409 __builtin_s390_vchlgs(
__a, (__vector
unsigned long long)
__b, &__cc);
5415vec_any_le(__vector __bool
long long __a, __vector
unsigned long long __b) {
5417 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
__b, &__cc);
5425 __builtin_s390_vchlgs((__vector
unsigned long long)
__a,
5426 (__vector
unsigned long long)
__b, &__cc);
5434 __builtin_s390_vfchesbs(
__b,
__a, &__cc);
5442 __builtin_s390_vfchedbs(
__b,
__a, &__cc);
5451 __builtin_s390_vchbs(
__b,
__a, &__cc);
5459 __builtin_s390_vchbs((__vector
signed char)
__b,
__a, &__cc);
5467 __builtin_s390_vchbs(
__b, (__vector
signed char)
__a, &__cc);
5474 __builtin_s390_vchlbs(
__b,
__a, &__cc);
5482 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
__a, &__cc);
5490 __builtin_s390_vchlbs(
__b, (__vector
unsigned char)
__a, &__cc);
5498 __builtin_s390_vchlbs((__vector
unsigned char)
__b,
5499 (__vector
unsigned char)
__a, &__cc);
5506 __builtin_s390_vchhs(
__b,
__a, &__cc);
5514 __builtin_s390_vchhs((__vector
signed short)
__b,
__a, &__cc);
5522 __builtin_s390_vchhs(
__b, (__vector
signed short)
__a, &__cc);
5529 __builtin_s390_vchlhs(
__b,
__a, &__cc);
5537 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
__a, &__cc);
5545 __builtin_s390_vchlhs(
__b, (__vector
unsigned short)
__a, &__cc);
5553 __builtin_s390_vchlhs((__vector
unsigned short)
__b,
5554 (__vector
unsigned short)
__a, &__cc);
5561 __builtin_s390_vchfs(
__b,
__a, &__cc);
5569 __builtin_s390_vchfs((__vector
signed int)
__b,
__a, &__cc);
5577 __builtin_s390_vchfs(
__b, (__vector
signed int)
__a, &__cc);
5584 __builtin_s390_vchlfs(
__b,
__a, &__cc);
5592 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
__a, &__cc);
5600 __builtin_s390_vchlfs(
__b, (__vector
unsigned int)
__a, &__cc);
5608 __builtin_s390_vchlfs((__vector
unsigned int)
__b,
5609 (__vector
unsigned int)
__a, &__cc);
5616 __builtin_s390_vchgs(
__b,
__a, &__cc);
5624 __builtin_s390_vchgs((__vector
signed long long)
__b,
__a, &__cc);
5632 __builtin_s390_vchgs(
__b, (__vector
signed long long)
__a, &__cc);
5637vec_any_lt(__vector
unsigned long long __a, __vector
unsigned long long __b) {
5639 __builtin_s390_vchlgs(
__b,
__a, &__cc);
5645vec_any_lt(__vector
unsigned long long __a, __vector __bool
long long __b) {
5647 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
__a, &__cc);
5653vec_any_lt(__vector __bool
long long __a, __vector
unsigned long long __b) {
5655 __builtin_s390_vchlgs(
__b, (__vector
unsigned long long)
__a, &__cc);
5663 __builtin_s390_vchlgs((__vector
unsigned long long)
__b,
5664 (__vector
unsigned long long)
__a, &__cc);
5672 __builtin_s390_vfchsbs(
__b,
__a, &__cc);
5680 __builtin_s390_vfchdbs(
__b,
__a, &__cc);
5690 __builtin_s390_vfchesbs(
__a,
__b, &__cc);
5698 __builtin_s390_vfchedbs(
__a,
__b, &__cc);
5708 __builtin_s390_vfchsbs(
__a,
__b, &__cc);
5716 __builtin_s390_vfchdbs(
__a,
__b, &__cc);
5726 __builtin_s390_vfchesbs(
__b,
__a, &__cc);
5734 __builtin_s390_vfchedbs(
__b,
__a, &__cc);
5744 __builtin_s390_vfchsbs(
__b,
__a, &__cc);
5752 __builtin_s390_vfchdbs(
__b,
__a, &__cc);
5762 __builtin_s390_vftcisb(
__a, 15, &__cc);
5770 __builtin_s390_vftcidb(
__a, 15, &__cc);
5780 __builtin_s390_vftcisb(
__a, 15, &__cc);
5788 __builtin_s390_vftcidb(
__a, 15, &__cc);
5817vec_andc(__vector
unsigned char __a, __vector
unsigned char __b) {
5856vec_andc(__vector
unsigned short __a, __vector
unsigned short __b) {
5862vec_andc(__vector __bool
short __a, __vector
unsigned short __b) {
5868vec_andc(__vector
unsigned short __a, __vector __bool
short __b) {
5912vec_andc(__vector __bool
long long __a, __vector __bool
long long __b) {
5917vec_andc(__vector
signed long long __a, __vector
signed long long __b) {
5923vec_andc(__vector __bool
long long __a, __vector
signed long long __b) {
5929vec_andc(__vector
signed long long __a, __vector __bool
long long __b) {
5934vec_andc(__vector
unsigned long long __a, __vector
unsigned long long __b) {
5940vec_andc(__vector __bool
long long __a, __vector
unsigned long long __b) {
5946vec_andc(__vector
unsigned long long __a, __vector __bool
long long __b) {
5953 return (__vector
float)((__vector
unsigned int)
__a &
5954 ~(__vector
unsigned int)
__b);
5960 return (__vector
double)((__vector
unsigned long long)
__a &
5961 ~(__vector
unsigned long long)
__b);
5967 return (__vector
double)((__vector
unsigned long long)
__a &
5968 ~(__vector
unsigned long long)
__b);
5974 return (__vector
double)((__vector
unsigned long long)
__a &
5975 ~(__vector
unsigned long long)
__b);
5981vec_nor(__vector __bool
char __a, __vector __bool
char __b) {
5986vec_nor(__vector
signed char __a, __vector
signed char __b) {
5992vec_nor(__vector __bool
char __a, __vector
signed char __b) {
5998vec_nor(__vector
signed char __a, __vector __bool
char __b) {
6003vec_nor(__vector
unsigned char __a, __vector
unsigned char __b) {
6009vec_nor(__vector __bool
char __a, __vector
unsigned char __b) {
6015vec_nor(__vector
unsigned char __a, __vector __bool
char __b) {
6020vec_nor(__vector __bool
short __a, __vector __bool
short __b) {
6025vec_nor(__vector
signed short __a, __vector
signed short __b) {
6031vec_nor(__vector __bool
short __a, __vector
signed short __b) {
6037vec_nor(__vector
signed short __a, __vector __bool
short __b) {
6042vec_nor(__vector
unsigned short __a, __vector
unsigned short __b) {
6048vec_nor(__vector __bool
short __a, __vector
unsigned short __b) {
6054vec_nor(__vector
unsigned short __a, __vector __bool
short __b) {
6081vec_nor(__vector
unsigned int __a, __vector
unsigned int __b) {
6087vec_nor(__vector __bool
int __a, __vector
unsigned int __b) {
6093vec_nor(__vector
unsigned int __a, __vector __bool
int __b) {
6098vec_nor(__vector __bool
long long __a, __vector __bool
long long __b) {
6103vec_nor(__vector
signed long long __a, __vector
signed long long __b) {
6109vec_nor(__vector __bool
long long __a, __vector
signed long long __b) {
6115vec_nor(__vector
signed long long __a, __vector __bool
long long __b) {
6120vec_nor(__vector
unsigned long long __a, __vector
unsigned long long __b) {
6126vec_nor(__vector __bool
long long __a, __vector
unsigned long long __b) {
6132vec_nor(__vector
unsigned long long __a, __vector __bool
long long __b) {
6139 return (__vector
float)~((__vector
unsigned int)
__a |
6140 (__vector
unsigned int)
__b);
6146 return (__vector
double)~((__vector
unsigned long long)
__a |
6147 (__vector
unsigned long long)
__b);
6152vec_nor(__vector __bool
long long __a, __vector
double __b) {
6153 return (__vector
double)~((__vector
unsigned long long)
__a |
6154 (__vector
unsigned long long)
__b);
6159vec_nor(__vector
double __a, __vector __bool
long long __b) {
6160 return (__vector
double)~((__vector
unsigned long long)
__a |
6161 (__vector
unsigned long long)
__b);
6168vec_orc(__vector __bool
char __a, __vector __bool
char __b) {
6173vec_orc(__vector
signed char __a, __vector
signed char __b) {
6178vec_orc(__vector
unsigned char __a, __vector
unsigned char __b) {
6183vec_orc(__vector __bool
short __a, __vector __bool
short __b) {
6188vec_orc(__vector
signed short __a, __vector
signed short __b) {
6193vec_orc(__vector
unsigned short __a, __vector
unsigned short __b) {
6198vec_orc(__vector __bool
int __a, __vector __bool
int __b) {
6203vec_orc(__vector
signed int __a, __vector
signed int __b) {
6208vec_orc(__vector
unsigned int __a, __vector
unsigned int __b) {
6213vec_orc(__vector __bool
long long __a, __vector __bool
long long __b) {
6218vec_orc(__vector
signed long long __a, __vector
signed long long __b) {
6223vec_orc(__vector
unsigned long long __a, __vector
unsigned long long __b) {
6228vec_orc(__vector
float __a, __vector
float __b) {
6229 return (__vector
float)((__vector
unsigned int)
__a |
6230 ~(__vector
unsigned int)
__b);
6234vec_orc(__vector
double __a, __vector
double __b) {
6235 return (__vector
double)((__vector
unsigned long long)
__a |
6236 ~(__vector
unsigned long long)
__b);
6244vec_nand(__vector __bool
char __a, __vector __bool
char __b) {
6249vec_nand(__vector
signed char __a, __vector
signed char __b) {
6254vec_nand(__vector
unsigned char __a, __vector
unsigned char __b) {
6259vec_nand(__vector __bool
short __a, __vector __bool
short __b) {
6264vec_nand(__vector
signed short __a, __vector
signed short __b) {
6269vec_nand(__vector
unsigned short __a, __vector
unsigned short __b) {
6274vec_nand(__vector __bool
int __a, __vector __bool
int __b) {
6279vec_nand(__vector
signed int __a, __vector
signed int __b) {
6284vec_nand(__vector
unsigned int __a, __vector
unsigned int __b) {
6289vec_nand(__vector __bool
long long __a, __vector __bool
long long __b) {
6294vec_nand(__vector
signed long long __a, __vector
signed long long __b) {
6299vec_nand(__vector
unsigned long long __a, __vector
unsigned long long __b) {
6304vec_nand(__vector
float __a, __vector
float __b) {
6305 return (__vector
float)~((__vector
unsigned int)
__a &
6306 (__vector
unsigned int)
__b);
6310vec_nand(__vector
double __a, __vector
double __b) {
6311 return (__vector
double)~((__vector
unsigned long long)
__a &
6312 (__vector
unsigned long long)
__b);
6320vec_eqv(__vector __bool
char __a, __vector __bool
char __b) {
6325vec_eqv(__vector
signed char __a, __vector
signed char __b) {
6330vec_eqv(__vector
unsigned char __a, __vector
unsigned char __b) {
6335vec_eqv(__vector __bool
short __a, __vector __bool
short __b) {
6340vec_eqv(__vector
signed short __a, __vector
signed short __b) {
6345vec_eqv(__vector
unsigned short __a, __vector
unsigned short __b) {
6350vec_eqv(__vector __bool
int __a, __vector __bool
int __b) {
6355vec_eqv(__vector
signed int __a, __vector
signed int __b) {
6360vec_eqv(__vector
unsigned int __a, __vector
unsigned int __b) {
6365vec_eqv(__vector __bool
long long __a, __vector __bool
long long __b) {
6370vec_eqv(__vector
signed long long __a, __vector
signed long long __b) {
6375vec_eqv(__vector
unsigned long long __a, __vector
unsigned long long __b) {
6380vec_eqv(__vector
float __a, __vector
float __b) {
6381 return (__vector
float)~((__vector
unsigned int)
__a ^
6382 (__vector
unsigned int)
__b);
6386vec_eqv(__vector
double __a, __vector
double __b) {
6387 return (__vector
double)~((__vector
unsigned long long)
__a ^
6388 (__vector
unsigned long long)
__b);
6395vec_cntlz(__vector
signed char __a) {
6396 return __builtin_s390_vclzb((__vector
unsigned char)
__a);
6400vec_cntlz(__vector
unsigned char __a) {
6401 return __builtin_s390_vclzb(
__a);
6405vec_cntlz(__vector
signed short __a) {
6406 return __builtin_s390_vclzh((__vector
unsigned short)
__a);
6410vec_cntlz(__vector
unsigned short __a) {
6411 return __builtin_s390_vclzh(
__a);
6415vec_cntlz(__vector
signed int __a) {
6416 return __builtin_s390_vclzf((__vector
unsigned int)
__a);
6420vec_cntlz(__vector
unsigned int __a) {
6421 return __builtin_s390_vclzf(
__a);
6425vec_cntlz(__vector
signed long long __a) {
6426 return __builtin_s390_vclzg((__vector
unsigned long long)
__a);
6430vec_cntlz(__vector
unsigned long long __a) {
6431 return __builtin_s390_vclzg(
__a);
6437vec_cnttz(__vector
signed char __a) {
6438 return __builtin_s390_vctzb((__vector
unsigned char)
__a);
6442vec_cnttz(__vector
unsigned char __a) {
6443 return __builtin_s390_vctzb(
__a);
6447vec_cnttz(__vector
signed short __a) {
6448 return __builtin_s390_vctzh((__vector
unsigned short)
__a);
6452vec_cnttz(__vector
unsigned short __a) {
6453 return __builtin_s390_vctzh(
__a);
6457vec_cnttz(__vector
signed int __a) {
6458 return __builtin_s390_vctzf((__vector
unsigned int)
__a);
6462vec_cnttz(__vector
unsigned int __a) {
6463 return __builtin_s390_vctzf(
__a);
6467vec_cnttz(__vector
signed long long __a) {
6468 return __builtin_s390_vctzg((__vector
unsigned long long)
__a);
6472vec_cnttz(__vector
unsigned long long __a) {
6473 return __builtin_s390_vctzg(
__a);
6479vec_popcnt(__vector
signed char __a) {
6480 return __builtin_elementwise_popcount((__vector
unsigned char)
__a);
6484vec_popcnt(__vector
unsigned char __a) {
6485 return __builtin_elementwise_popcount(
__a);
6489vec_popcnt(__vector
signed short __a) {
6490 return __builtin_elementwise_popcount((__vector
unsigned short)
__a);
6494vec_popcnt(__vector
unsigned short __a) {
6495 return __builtin_elementwise_popcount(
__a);
6499vec_popcnt(__vector
signed int __a) {
6500 return __builtin_elementwise_popcount((__vector
unsigned int)
__a);
6504vec_popcnt(__vector
unsigned int __a) {
6505 return __builtin_elementwise_popcount(
__a);
6509vec_popcnt(__vector
signed long long __a) {
6510 return __builtin_elementwise_popcount((__vector
unsigned long long)
__a);
6514vec_popcnt(__vector
unsigned long long __a) {
6515 return __builtin_elementwise_popcount(
__a);
6521vec_rl(__vector
signed char __a, __vector
unsigned char __b) {
6522 return (__vector
signed char)__builtin_s390_verllvb(
6523 (__vector
unsigned char)
__a,
__b);
6527vec_rl(__vector
unsigned char __a, __vector
unsigned char __b) {
6528 return __builtin_s390_verllvb(
__a,
__b);
6532vec_rl(__vector
signed short __a, __vector
unsigned short __b) {
6533 return (__vector
signed short)__builtin_s390_verllvh(
6534 (__vector
unsigned short)
__a,
__b);
6538vec_rl(__vector
unsigned short __a, __vector
unsigned short __b) {
6539 return __builtin_s390_verllvh(
__a,
__b);
6543vec_rl(__vector
signed int __a, __vector
unsigned int __b) {
6544 return (__vector
signed int)__builtin_s390_verllvf(
6545 (__vector
unsigned int)
__a,
__b);
6549vec_rl(__vector
unsigned int __a, __vector
unsigned int __b) {
6550 return __builtin_s390_verllvf(
__a,
__b);
6554vec_rl(__vector
signed long long __a, __vector
unsigned long long __b) {
6555 return (__vector
signed long long)__builtin_s390_verllvg(
6556 (__vector
unsigned long long)
__a,
__b);
6560vec_rl(__vector
unsigned long long __a, __vector
unsigned long long __b) {
6561 return __builtin_s390_verllvg(
__a,
__b);
6567vec_rli(__vector
signed char __a,
unsigned long __b) {
6568 return (__vector
signed char)__builtin_s390_verllb(
6569 (__vector
unsigned char)
__a, (
unsigned char)
__b);
6573vec_rli(__vector
unsigned char __a,
unsigned long __b) {
6574 return __builtin_s390_verllb(
__a, (
unsigned char)
__b);
6578vec_rli(__vector
signed short __a,
unsigned long __b) {
6579 return (__vector
signed short)__builtin_s390_verllh(
6580 (__vector
unsigned short)
__a, (
unsigned char)
__b);
6584vec_rli(__vector
unsigned short __a,
unsigned long __b) {
6585 return __builtin_s390_verllh(
__a, (
unsigned char)
__b);
6589vec_rli(__vector
signed int __a,
unsigned long __b) {
6590 return (__vector
signed int)__builtin_s390_verllf(
6591 (__vector
unsigned int)
__a, (
unsigned char)
__b);
6595vec_rli(__vector
unsigned int __a,
unsigned long __b) {
6596 return __builtin_s390_verllf(
__a, (
unsigned char)
__b);
6600vec_rli(__vector
signed long long __a,
unsigned long __b) {
6601 return (__vector
signed long long)__builtin_s390_verllg(
6602 (__vector
unsigned long long)
__a, (
unsigned char)
__b);
6606vec_rli(__vector
unsigned long long __a,
unsigned long __b) {
6607 return __builtin_s390_verllg(
__a, (
unsigned char)
__b);
6612extern __ATTRS_o __vector
signed char
6613vec_rl_mask(__vector
signed char __a, __vector
unsigned char __b,
6614 unsigned char __c) __constant(
__c);
6616extern __ATTRS_o __vector
unsigned char
6617vec_rl_mask(__vector
unsigned char __a, __vector
unsigned char __b,
6618 unsigned char __c) __constant(
__c);
6620extern __ATTRS_o __vector
signed short
6621vec_rl_mask(__vector
signed short __a, __vector
unsigned short __b,
6622 unsigned char __c) __constant(
__c);
6624extern __ATTRS_o __vector
unsigned short
6625vec_rl_mask(__vector
unsigned short __a, __vector
unsigned short __b,
6626 unsigned char __c) __constant(
__c);
6628extern __ATTRS_o __vector
signed int
6629vec_rl_mask(__vector
signed int __a, __vector
unsigned int __b,
6630 unsigned char __c) __constant(
__c);
6632extern __ATTRS_o __vector
unsigned int
6633vec_rl_mask(__vector
unsigned int __a, __vector
unsigned int __b,
6634 unsigned char __c) __constant(
__c);
6636extern __ATTRS_o __vector
signed long long
6637vec_rl_mask(__vector
signed long long __a, __vector
unsigned long long __b,
6638 unsigned char __c) __constant(
__c);
6640extern __ATTRS_o __vector
unsigned long long
6641vec_rl_mask(__vector
unsigned long long __a, __vector
unsigned long long __b,
6642 unsigned char __c) __constant(
__c);
6644#define vec_rl_mask(X, Y, Z) ((__typeof__((vec_rl_mask)((X), (Y), (Z)))) \
6646 __vector unsigned char __res; \
6647 __vector unsigned char __x = (__vector unsigned char)(X); \
6648 __vector unsigned char __y = (__vector unsigned char)(Y); \
6649 switch (sizeof ((X)[0])) { \
6650 case 1: __res = (__vector unsigned char) __builtin_s390_verimb( \
6651 (__vector unsigned char)__x, (__vector unsigned char)__x, \
6652 (__vector unsigned char)__y, (Z)); break; \
6653 case 2: __res = (__vector unsigned char) __builtin_s390_verimh( \
6654 (__vector unsigned short)__x, (__vector unsigned short)__x, \
6655 (__vector unsigned short)__y, (Z)); break; \
6656 case 4: __res = (__vector unsigned char) __builtin_s390_verimf( \
6657 (__vector unsigned int)__x, (__vector unsigned int)__x, \
6658 (__vector unsigned int)__y, (Z)); break; \
6659 default: __res = (__vector unsigned char) __builtin_s390_verimg( \
6660 (__vector unsigned long long)__x, (__vector unsigned long long)__x, \
6661 (__vector unsigned long long)__y, (Z)); break; \
6667vec_sll(__vector
signed char __a, __vector
unsigned char __b) {
6668 return (__vector
signed char)__builtin_s390_vsl(
6669 (__vector
unsigned char)
__a,
__b);
6674vec_sll(__vector
signed char __a, __vector
unsigned short __b) {
6675 return (__vector
signed char)__builtin_s390_vsl(
6676 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6681vec_sll(__vector
signed char __a, __vector
unsigned int __b) {
6682 return (__vector
signed char)__builtin_s390_vsl(
6683 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6688vec_sll(__vector __bool
char __a, __vector
unsigned char __b) {
6689 return (__vector __bool
char)__builtin_s390_vsl(
6690 (__vector
unsigned char)
__a,
__b);
6695vec_sll(__vector __bool
char __a, __vector
unsigned short __b) {
6696 return (__vector __bool
char)__builtin_s390_vsl(
6697 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6702vec_sll(__vector __bool
char __a, __vector
unsigned int __b) {
6703 return (__vector __bool
char)__builtin_s390_vsl(
6704 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6708vec_sll(__vector
unsigned char __a, __vector
unsigned char __b) {
6709 return __builtin_s390_vsl(
__a,
__b);
6714vec_sll(__vector
unsigned char __a, __vector
unsigned short __b) {
6715 return __builtin_s390_vsl(
__a, (__vector
unsigned char)
__b);
6720vec_sll(__vector
unsigned char __a, __vector
unsigned int __b) {
6721 return __builtin_s390_vsl(
__a, (__vector
unsigned char)
__b);
6725vec_sll(__vector
signed short __a, __vector
unsigned char __b) {
6726 return (__vector
signed short)__builtin_s390_vsl(
6727 (__vector
unsigned char)
__a,
__b);
6732vec_sll(__vector
signed short __a, __vector
unsigned short __b) {
6733 return (__vector
signed short)__builtin_s390_vsl(
6734 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6739vec_sll(__vector
signed short __a, __vector
unsigned int __b) {
6740 return (__vector
signed short)__builtin_s390_vsl(
6741 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6746vec_sll(__vector __bool
short __a, __vector
unsigned char __b) {
6747 return (__vector __bool
short)__builtin_s390_vsl(
6748 (__vector
unsigned char)
__a,
__b);
6753vec_sll(__vector __bool
short __a, __vector
unsigned short __b) {
6754 return (__vector __bool
short)__builtin_s390_vsl(
6755 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6760vec_sll(__vector __bool
short __a, __vector
unsigned int __b) {
6761 return (__vector __bool
short)__builtin_s390_vsl(
6762 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6766vec_sll(__vector
unsigned short __a, __vector
unsigned char __b) {
6767 return (__vector
unsigned short)__builtin_s390_vsl(
6768 (__vector
unsigned char)
__a,
__b);
6773vec_sll(__vector
unsigned short __a, __vector
unsigned short __b) {
6774 return (__vector
unsigned short)__builtin_s390_vsl(
6775 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6780vec_sll(__vector
unsigned short __a, __vector
unsigned int __b) {
6781 return (__vector
unsigned short)__builtin_s390_vsl(
6782 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6786vec_sll(__vector
signed int __a, __vector
unsigned char __b) {
6787 return (__vector
signed int)__builtin_s390_vsl(
6788 (__vector
unsigned char)
__a,
__b);
6793vec_sll(__vector
signed int __a, __vector
unsigned short __b) {
6794 return (__vector
signed int)__builtin_s390_vsl(
6795 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6800vec_sll(__vector
signed int __a, __vector
unsigned int __b) {
6801 return (__vector
signed int)__builtin_s390_vsl(
6802 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6807vec_sll(__vector __bool
int __a, __vector
unsigned char __b) {
6808 return (__vector __bool
int)__builtin_s390_vsl(
6809 (__vector
unsigned char)
__a,
__b);
6814vec_sll(__vector __bool
int __a, __vector
unsigned short __b) {
6815 return (__vector __bool
int)__builtin_s390_vsl(
6816 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6821vec_sll(__vector __bool
int __a, __vector
unsigned int __b) {
6822 return (__vector __bool
int)__builtin_s390_vsl(
6823 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6827vec_sll(__vector
unsigned int __a, __vector
unsigned char __b) {
6828 return (__vector
unsigned int)__builtin_s390_vsl(
6829 (__vector
unsigned char)
__a,
__b);
6834vec_sll(__vector
unsigned int __a, __vector
unsigned short __b) {
6835 return (__vector
unsigned int)__builtin_s390_vsl(
6836 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6841vec_sll(__vector
unsigned int __a, __vector
unsigned int __b) {
6842 return (__vector
unsigned int)__builtin_s390_vsl(
6843 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6847vec_sll(__vector
signed long long __a, __vector
unsigned char __b) {
6848 return (__vector
signed long long)__builtin_s390_vsl(
6849 (__vector
unsigned char)
__a,
__b);
6854vec_sll(__vector
signed long long __a, __vector
unsigned short __b) {
6855 return (__vector
signed long long)__builtin_s390_vsl(
6856 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6861vec_sll(__vector
signed long long __a, __vector
unsigned int __b) {
6862 return (__vector
signed long long)__builtin_s390_vsl(
6863 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6868vec_sll(__vector __bool
long long __a, __vector
unsigned char __b) {
6869 return (__vector __bool
long long)__builtin_s390_vsl(
6870 (__vector
unsigned char)
__a,
__b);
6875vec_sll(__vector __bool
long long __a, __vector
unsigned short __b) {
6876 return (__vector __bool
long long)__builtin_s390_vsl(
6877 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6882vec_sll(__vector __bool
long long __a, __vector
unsigned int __b) {
6883 return (__vector __bool
long long)__builtin_s390_vsl(
6884 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6888vec_sll(__vector
unsigned long long __a, __vector
unsigned char __b) {
6889 return (__vector
unsigned long long)__builtin_s390_vsl(
6890 (__vector
unsigned char)
__a,
__b);
6895vec_sll(__vector
unsigned long long __a, __vector
unsigned short __b) {
6896 return (__vector
unsigned long long)__builtin_s390_vsl(
6897 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6902vec_sll(__vector
unsigned long long __a, __vector
unsigned int __b) {
6903 return (__vector
unsigned long long)__builtin_s390_vsl(
6904 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6910vec_slb(__vector
signed char __a, __vector
signed char __b) {
6911 return (__vector
signed char)__builtin_s390_vslb(
6912 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6916vec_slb(__vector
signed char __a, __vector
unsigned char __b) {
6917 return (__vector
signed char)__builtin_s390_vslb(
6918 (__vector
unsigned char)
__a,
__b);
6922vec_slb(__vector
unsigned char __a, __vector
signed char __b) {
6923 return __builtin_s390_vslb(
__a, (__vector
unsigned char)
__b);
6927vec_slb(__vector
unsigned char __a, __vector
unsigned char __b) {
6928 return __builtin_s390_vslb(
__a,
__b);
6932vec_slb(__vector
signed short __a, __vector
signed short __b) {
6933 return (__vector
signed short)__builtin_s390_vslb(
6934 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6938vec_slb(__vector
signed short __a, __vector
unsigned short __b) {
6939 return (__vector
signed short)__builtin_s390_vslb(
6940 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6944vec_slb(__vector
unsigned short __a, __vector
signed short __b) {
6945 return (__vector
unsigned short)__builtin_s390_vslb(
6946 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6950vec_slb(__vector
unsigned short __a, __vector
unsigned short __b) {
6951 return (__vector
unsigned short)__builtin_s390_vslb(
6952 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6956vec_slb(__vector
signed int __a, __vector
signed int __b) {
6957 return (__vector
signed int)__builtin_s390_vslb(
6958 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6962vec_slb(__vector
signed int __a, __vector
unsigned int __b) {
6963 return (__vector
signed int)__builtin_s390_vslb(
6964 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6968vec_slb(__vector
unsigned int __a, __vector
signed int __b) {
6969 return (__vector
unsigned int)__builtin_s390_vslb(
6970 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6974vec_slb(__vector
unsigned int __a, __vector
unsigned int __b) {
6975 return (__vector
unsigned int)__builtin_s390_vslb(
6976 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6980vec_slb(__vector
signed long long __a, __vector
signed long long __b) {
6981 return (__vector
signed long long)__builtin_s390_vslb(
6982 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6986vec_slb(__vector
signed long long __a, __vector
unsigned long long __b) {
6987 return (__vector
signed long long)__builtin_s390_vslb(
6988 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6992vec_slb(__vector
unsigned long long __a, __vector
signed long long __b) {
6993 return (__vector
unsigned long long)__builtin_s390_vslb(
6994 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
6998vec_slb(__vector
unsigned long long __a, __vector
unsigned long long __b) {
6999 return (__vector
unsigned long long)__builtin_s390_vslb(
7000 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7005vec_slb(__vector
float __a, __vector
signed int __b) {
7006 return (__vector
float)__builtin_s390_vslb(
7007 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7011vec_slb(__vector
float __a, __vector
unsigned int __b) {
7012 return (__vector
float)__builtin_s390_vslb(
7013 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7018vec_slb(__vector
double __a, __vector
signed long long __b) {
7019 return (__vector
double)__builtin_s390_vslb(
7020 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7024vec_slb(__vector
double __a, __vector
unsigned long long __b) {
7025 return (__vector
double)__builtin_s390_vslb(
7026 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7031extern __ATTRS_o __vector
signed char
7033 __constant_range(
__c, 0, 15);
7035extern __ATTRS_o __vector __bool
char
7037 __constant_range(
__c, 0, 15);
7039extern __ATTRS_o __vector
unsigned char
7041 __constant_range(
__c, 0, 15);
7043extern __ATTRS_o __vector
signed short
7045 __constant_range(
__c, 0, 15);
7047extern __ATTRS_o __vector __bool
short
7049 __constant_range(
__c, 0, 15);
7051extern __ATTRS_o __vector
unsigned short
7053 __constant_range(
__c, 0, 15);
7055extern __ATTRS_o __vector
signed int
7057 __constant_range(
__c, 0, 15);
7059extern __ATTRS_o __vector __bool
int
7061 __constant_range(
__c, 0, 15);
7063extern __ATTRS_o __vector
unsigned int
7065 __constant_range(
__c, 0, 15);
7067extern __ATTRS_o __vector
signed long long
7068vec_sld(__vector
signed long long __a, __vector
signed long long __b,
int __c)
7069 __constant_range(
__c, 0, 15);
7071extern __ATTRS_o __vector __bool
long long
7072vec_sld(__vector __bool
long long __a, __vector __bool
long long __b,
int __c)
7073 __constant_range(
__c, 0, 15);
7075extern __ATTRS_o __vector
unsigned long long
7076vec_sld(__vector
unsigned long long __a, __vector
unsigned long long __b,
7078 __constant_range(
__c, 0, 15);
7081extern __ATTRS_o __vector
float
7083 __constant_range(
__c, 0, 15);
7086extern __ATTRS_o __vector
double
7088 __constant_range(
__c, 0, 15);
7090#define vec_sld(X, Y, Z) ((__typeof__((vec_sld)((X), (Y), (Z)))) \
7091 __builtin_s390_vsldb((__vector unsigned char)(X), \
7092 (__vector unsigned char)(Y), (Z)))
7096extern __ATTRS_o __vector
signed char
7098 __constant_range(
__c, 0, 3);
7100extern __ATTRS_o __vector
unsigned char
7102 __constant_range(
__c, 0, 3);
7104extern __ATTRS_o __vector
signed short
7106 __constant_range(
__c, 0, 3);
7108extern __ATTRS_o __vector
unsigned short
7110 __constant_range(
__c, 0, 3);
7112extern __ATTRS_o __vector
signed int
7114 __constant_range(
__c, 0, 3);
7116extern __ATTRS_o __vector
unsigned int
7118 __constant_range(
__c, 0, 3);
7120extern __ATTRS_o __vector
signed long long
7122 __constant_range(
__c, 0, 3);
7124extern __ATTRS_o __vector
unsigned long long
7125vec_sldw(__vector
unsigned long long __a, __vector
unsigned long long __b,
7127 __constant_range(
__c, 0, 3);
7130extern __ATTRS_o __vector
double
7132 __constant_range(
__c, 0, 3);
7134#define vec_sldw(X, Y, Z) ((__typeof__((vec_sldw)((X), (Y), (Z)))) \
7135 __builtin_s390_vsldb((__vector unsigned char)(X), \
7136 (__vector unsigned char)(Y), (Z) * 4))
7142extern __ATTRS_o __vector
signed char
7143vec_sldb(__vector
signed char __a, __vector
signed char __b,
int __c)
7144 __constant_range(
__c, 0, 7);
7146extern __ATTRS_o __vector
unsigned char
7147vec_sldb(__vector
unsigned char __a, __vector
unsigned char __b,
int __c)
7148 __constant_range(
__c, 0, 7);
7150extern __ATTRS_o __vector
signed short
7151vec_sldb(__vector
signed short __a, __vector
signed short __b,
int __c)
7152 __constant_range(
__c, 0, 7);
7154extern __ATTRS_o __vector
unsigned short
7155vec_sldb(__vector
unsigned short __a, __vector
unsigned short __b,
int __c)
7156 __constant_range(
__c, 0, 7);
7158extern __ATTRS_o __vector
signed int
7159vec_sldb(__vector
signed int __a, __vector
signed int __b,
int __c)
7160 __constant_range(
__c, 0, 7);
7162extern __ATTRS_o __vector
unsigned int
7163vec_sldb(__vector
unsigned int __a, __vector
unsigned int __b,
int __c)
7164 __constant_range(
__c, 0, 7);
7166extern __ATTRS_o __vector
signed long long
7167vec_sldb(__vector
signed long long __a, __vector
signed long long __b,
int __c)
7168 __constant_range(
__c, 0, 7);
7170extern __ATTRS_o __vector
unsigned long long
7171vec_sldb(__vector
unsigned long long __a, __vector
unsigned long long __b,
7173 __constant_range(
__c, 0, 7);
7175extern __ATTRS_o __vector
float
7176vec_sldb(__vector
float __a, __vector
float __b,
int __c)
7177 __constant_range(
__c, 0, 7);
7179extern __ATTRS_o __vector
double
7180vec_sldb(__vector
double __a, __vector
double __b,
int __c)
7181 __constant_range(
__c, 0, 7);
7183#define vec_sldb(X, Y, Z) ((__typeof__((vec_sldb)((X), (Y), (Z)))) \
7184 __builtin_s390_vsld((__vector unsigned char)(X), \
7185 (__vector unsigned char)(Y), (Z)))
7192vec_sral(__vector
signed char __a, __vector
unsigned char __b) {
7193 return (__vector
signed char)__builtin_s390_vsra(
7194 (__vector
unsigned char)
__a,
__b);
7199vec_sral(__vector
signed char __a, __vector
unsigned short __b) {
7200 return (__vector
signed char)__builtin_s390_vsra(
7201 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7206vec_sral(__vector
signed char __a, __vector
unsigned int __b) {
7207 return (__vector
signed char)__builtin_s390_vsra(
7208 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7213vec_sral(__vector __bool
char __a, __vector
unsigned char __b) {
7214 return (__vector __bool
char)__builtin_s390_vsra(
7215 (__vector
unsigned char)
__a,
__b);
7220vec_sral(__vector __bool
char __a, __vector
unsigned short __b) {
7221 return (__vector __bool
char)__builtin_s390_vsra(
7222 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7227vec_sral(__vector __bool
char __a, __vector
unsigned int __b) {
7228 return (__vector __bool
char)__builtin_s390_vsra(
7229 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7233vec_sral(__vector
unsigned char __a, __vector
unsigned char __b) {
7234 return __builtin_s390_vsra(
__a,
__b);
7239vec_sral(__vector
unsigned char __a, __vector
unsigned short __b) {
7240 return __builtin_s390_vsra(
__a, (__vector
unsigned char)
__b);
7245vec_sral(__vector
unsigned char __a, __vector
unsigned int __b) {
7246 return __builtin_s390_vsra(
__a, (__vector
unsigned char)
__b);
7250vec_sral(__vector
signed short __a, __vector
unsigned char __b) {
7251 return (__vector
signed short)__builtin_s390_vsra(
7252 (__vector
unsigned char)
__a,
__b);
7257vec_sral(__vector
signed short __a, __vector
unsigned short __b) {
7258 return (__vector
signed short)__builtin_s390_vsra(
7259 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7264vec_sral(__vector
signed short __a, __vector
unsigned int __b) {
7265 return (__vector
signed short)__builtin_s390_vsra(
7266 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7271vec_sral(__vector __bool
short __a, __vector
unsigned char __b) {
7272 return (__vector __bool
short)__builtin_s390_vsra(
7273 (__vector
unsigned char)
__a,
__b);
7278vec_sral(__vector __bool
short __a, __vector
unsigned short __b) {
7279 return (__vector __bool
short)__builtin_s390_vsra(
7280 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7285vec_sral(__vector __bool
short __a, __vector
unsigned int __b) {
7286 return (__vector __bool
short)__builtin_s390_vsra(
7287 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7291vec_sral(__vector
unsigned short __a, __vector
unsigned char __b) {
7292 return (__vector
unsigned short)__builtin_s390_vsra(
7293 (__vector
unsigned char)
__a,
__b);
7298vec_sral(__vector
unsigned short __a, __vector
unsigned short __b) {
7299 return (__vector
unsigned short)__builtin_s390_vsra(
7300 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7305vec_sral(__vector
unsigned short __a, __vector
unsigned int __b) {
7306 return (__vector
unsigned short)__builtin_s390_vsra(
7307 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7311vec_sral(__vector
signed int __a, __vector
unsigned char __b) {
7312 return (__vector
signed int)__builtin_s390_vsra(
7313 (__vector
unsigned char)
__a,
__b);
7318vec_sral(__vector
signed int __a, __vector
unsigned short __b) {
7319 return (__vector
signed int)__builtin_s390_vsra(
7320 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7325vec_sral(__vector
signed int __a, __vector
unsigned int __b) {
7326 return (__vector
signed int)__builtin_s390_vsra(
7327 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7332vec_sral(__vector __bool
int __a, __vector
unsigned char __b) {
7333 return (__vector __bool
int)__builtin_s390_vsra(
7334 (__vector
unsigned char)
__a,
__b);
7339vec_sral(__vector __bool
int __a, __vector
unsigned short __b) {
7340 return (__vector __bool
int)__builtin_s390_vsra(
7341 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7346vec_sral(__vector __bool
int __a, __vector
unsigned int __b) {
7347 return (__vector __bool
int)__builtin_s390_vsra(
7348 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7352vec_sral(__vector
unsigned int __a, __vector
unsigned char __b) {
7353 return (__vector
unsigned int)__builtin_s390_vsra(
7354 (__vector
unsigned char)
__a,
__b);
7359vec_sral(__vector
unsigned int __a, __vector
unsigned short __b) {
7360 return (__vector
unsigned int)__builtin_s390_vsra(
7361 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7366vec_sral(__vector
unsigned int __a, __vector
unsigned int __b) {
7367 return (__vector
unsigned int)__builtin_s390_vsra(
7368 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7372vec_sral(__vector
signed long long __a, __vector
unsigned char __b) {
7373 return (__vector
signed long long)__builtin_s390_vsra(
7374 (__vector
unsigned char)
__a,
__b);
7379vec_sral(__vector
signed long long __a, __vector
unsigned short __b) {
7380 return (__vector
signed long long)__builtin_s390_vsra(
7381 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7386vec_sral(__vector
signed long long __a, __vector
unsigned int __b) {
7387 return (__vector
signed long long)__builtin_s390_vsra(
7388 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7393vec_sral(__vector __bool
long long __a, __vector
unsigned char __b) {
7394 return (__vector __bool
long long)__builtin_s390_vsra(
7395 (__vector
unsigned char)
__a,
__b);
7400vec_sral(__vector __bool
long long __a, __vector
unsigned short __b) {
7401 return (__vector __bool
long long)__builtin_s390_vsra(
7402 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7407vec_sral(__vector __bool
long long __a, __vector
unsigned int __b) {
7408 return (__vector __bool
long long)__builtin_s390_vsra(
7409 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7413vec_sral(__vector
unsigned long long __a, __vector
unsigned char __b) {
7414 return (__vector
unsigned long long)__builtin_s390_vsra(
7415 (__vector
unsigned char)
__a,
__b);
7420vec_sral(__vector
unsigned long long __a, __vector
unsigned short __b) {
7421 return (__vector
unsigned long long)__builtin_s390_vsra(
7422 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7427vec_sral(__vector
unsigned long long __a, __vector
unsigned int __b) {
7428 return (__vector
unsigned long long)__builtin_s390_vsra(
7429 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7435vec_srab(__vector
signed char __a, __vector
signed char __b) {
7436 return (__vector
signed char)__builtin_s390_vsrab(
7437 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7441vec_srab(__vector
signed char __a, __vector
unsigned char __b) {
7442 return (__vector
signed char)__builtin_s390_vsrab(
7443 (__vector
unsigned char)
__a,
__b);
7447vec_srab(__vector
unsigned char __a, __vector
signed char __b) {
7448 return __builtin_s390_vsrab(
__a, (__vector
unsigned char)
__b);
7452vec_srab(__vector
unsigned char __a, __vector
unsigned char __b) {
7453 return __builtin_s390_vsrab(
__a,
__b);
7457vec_srab(__vector
signed short __a, __vector
signed short __b) {
7458 return (__vector
signed short)__builtin_s390_vsrab(
7459 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7463vec_srab(__vector
signed short __a, __vector
unsigned short __b) {
7464 return (__vector
signed short)__builtin_s390_vsrab(
7465 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7469vec_srab(__vector
unsigned short __a, __vector
signed short __b) {
7470 return (__vector
unsigned short)__builtin_s390_vsrab(
7471 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7475vec_srab(__vector
unsigned short __a, __vector
unsigned short __b) {
7476 return (__vector
unsigned short)__builtin_s390_vsrab(
7477 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7481vec_srab(__vector
signed int __a, __vector
signed int __b) {
7482 return (__vector
signed int)__builtin_s390_vsrab(
7483 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7487vec_srab(__vector
signed int __a, __vector
unsigned int __b) {
7488 return (__vector
signed int)__builtin_s390_vsrab(
7489 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7493vec_srab(__vector
unsigned int __a, __vector
signed int __b) {
7494 return (__vector
unsigned int)__builtin_s390_vsrab(
7495 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7499vec_srab(__vector
unsigned int __a, __vector
unsigned int __b) {
7500 return (__vector
unsigned int)__builtin_s390_vsrab(
7501 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7505vec_srab(__vector
signed long long __a, __vector
signed long long __b) {
7506 return (__vector
signed long long)__builtin_s390_vsrab(
7507 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7511vec_srab(__vector
signed long long __a, __vector
unsigned long long __b) {
7512 return (__vector
signed long long)__builtin_s390_vsrab(
7513 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7517vec_srab(__vector
unsigned long long __a, __vector
signed long long __b) {
7518 return (__vector
unsigned long long)__builtin_s390_vsrab(
7519 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7523vec_srab(__vector
unsigned long long __a, __vector
unsigned long long __b) {
7524 return (__vector
unsigned long long)__builtin_s390_vsrab(
7525 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7530vec_srab(__vector
float __a, __vector
signed int __b) {
7531 return (__vector
float)__builtin_s390_vsrab(
7532 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7536vec_srab(__vector
float __a, __vector
unsigned int __b) {
7537 return (__vector
float)__builtin_s390_vsrab(
7538 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7543vec_srab(__vector
double __a, __vector
signed long long __b) {
7544 return (__vector
double)__builtin_s390_vsrab(
7545 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7549vec_srab(__vector
double __a, __vector
unsigned long long __b) {
7550 return (__vector
double)__builtin_s390_vsrab(
7551 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7557vec_srl(__vector
signed char __a, __vector
unsigned char __b) {
7558 return (__vector
signed char)__builtin_s390_vsrl(
7559 (__vector
unsigned char)
__a,
__b);
7564vec_srl(__vector
signed char __a, __vector
unsigned short __b) {
7565 return (__vector
signed char)__builtin_s390_vsrl(
7566 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7571vec_srl(__vector
signed char __a, __vector
unsigned int __b) {
7572 return (__vector
signed char)__builtin_s390_vsrl(
7573 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7578vec_srl(__vector __bool
char __a, __vector
unsigned char __b) {
7579 return (__vector __bool
char)__builtin_s390_vsrl(
7580 (__vector
unsigned char)
__a,
__b);
7585vec_srl(__vector __bool
char __a, __vector
unsigned short __b) {
7586 return (__vector __bool
char)__builtin_s390_vsrl(
7587 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7592vec_srl(__vector __bool
char __a, __vector
unsigned int __b) {
7593 return (__vector __bool
char)__builtin_s390_vsrl(
7594 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7598vec_srl(__vector
unsigned char __a, __vector
unsigned char __b) {
7599 return __builtin_s390_vsrl(
__a,
__b);
7604vec_srl(__vector
unsigned char __a, __vector
unsigned short __b) {
7605 return __builtin_s390_vsrl(
__a, (__vector
unsigned char)
__b);
7610vec_srl(__vector
unsigned char __a, __vector
unsigned int __b) {
7611 return __builtin_s390_vsrl(
__a, (__vector
unsigned char)
__b);
7615vec_srl(__vector
signed short __a, __vector
unsigned char __b) {
7616 return (__vector
signed short)__builtin_s390_vsrl(
7617 (__vector
unsigned char)
__a,
__b);
7622vec_srl(__vector
signed short __a, __vector
unsigned short __b) {
7623 return (__vector
signed short)__builtin_s390_vsrl(
7624 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7629vec_srl(__vector
signed short __a, __vector
unsigned int __b) {
7630 return (__vector
signed short)__builtin_s390_vsrl(
7631 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7636vec_srl(__vector __bool
short __a, __vector
unsigned char __b) {
7637 return (__vector __bool
short)__builtin_s390_vsrl(
7638 (__vector
unsigned char)
__a,
__b);
7643vec_srl(__vector __bool
short __a, __vector
unsigned short __b) {
7644 return (__vector __bool
short)__builtin_s390_vsrl(
7645 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7650vec_srl(__vector __bool
short __a, __vector
unsigned int __b) {
7651 return (__vector __bool
short)__builtin_s390_vsrl(
7652 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7656vec_srl(__vector
unsigned short __a, __vector
unsigned char __b) {
7657 return (__vector
unsigned short)__builtin_s390_vsrl(
7658 (__vector
unsigned char)
__a,
__b);
7663vec_srl(__vector
unsigned short __a, __vector
unsigned short __b) {
7664 return (__vector
unsigned short)__builtin_s390_vsrl(
7665 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7670vec_srl(__vector
unsigned short __a, __vector
unsigned int __b) {
7671 return (__vector
unsigned short)__builtin_s390_vsrl(
7672 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7676vec_srl(__vector
signed int __a, __vector
unsigned char __b) {
7677 return (__vector
signed int)__builtin_s390_vsrl(
7678 (__vector
unsigned char)
__a,
__b);
7683vec_srl(__vector
signed int __a, __vector
unsigned short __b) {
7684 return (__vector
signed int)__builtin_s390_vsrl(
7685 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7690vec_srl(__vector
signed int __a, __vector
unsigned int __b) {
7691 return (__vector
signed int)__builtin_s390_vsrl(
7692 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7697vec_srl(__vector __bool
int __a, __vector
unsigned char __b) {
7698 return (__vector __bool
int)__builtin_s390_vsrl(
7699 (__vector
unsigned char)
__a,
__b);
7704vec_srl(__vector __bool
int __a, __vector
unsigned short __b) {
7705 return (__vector __bool
int)__builtin_s390_vsrl(
7706 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7711vec_srl(__vector __bool
int __a, __vector
unsigned int __b) {
7712 return (__vector __bool
int)__builtin_s390_vsrl(
7713 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7717vec_srl(__vector
unsigned int __a, __vector
unsigned char __b) {
7718 return (__vector
unsigned int)__builtin_s390_vsrl(
7719 (__vector
unsigned char)
__a,
__b);
7724vec_srl(__vector
unsigned int __a, __vector
unsigned short __b) {
7725 return (__vector
unsigned int)__builtin_s390_vsrl(
7726 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7731vec_srl(__vector
unsigned int __a, __vector
unsigned int __b) {
7732 return (__vector
unsigned int)__builtin_s390_vsrl(
7733 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7737vec_srl(__vector
signed long long __a, __vector
unsigned char __b) {
7738 return (__vector
signed long long)__builtin_s390_vsrl(
7739 (__vector
unsigned char)
__a,
__b);
7744vec_srl(__vector
signed long long __a, __vector
unsigned short __b) {
7745 return (__vector
signed long long)__builtin_s390_vsrl(
7746 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7751vec_srl(__vector
signed long long __a, __vector
unsigned int __b) {
7752 return (__vector
signed long long)__builtin_s390_vsrl(
7753 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7758vec_srl(__vector __bool
long long __a, __vector
unsigned char __b) {
7759 return (__vector __bool
long long)__builtin_s390_vsrl(
7760 (__vector
unsigned char)
__a,
__b);
7765vec_srl(__vector __bool
long long __a, __vector
unsigned short __b) {
7766 return (__vector __bool
long long)__builtin_s390_vsrl(
7767 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7772vec_srl(__vector __bool
long long __a, __vector
unsigned int __b) {
7773 return (__vector __bool
long long)__builtin_s390_vsrl(
7774 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7778vec_srl(__vector
unsigned long long __a, __vector
unsigned char __b) {
7779 return (__vector
unsigned long long)__builtin_s390_vsrl(
7780 (__vector
unsigned char)
__a,
__b);
7785vec_srl(__vector
unsigned long long __a, __vector
unsigned short __b) {
7786 return (__vector
unsigned long long)__builtin_s390_vsrl(
7787 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7792vec_srl(__vector
unsigned long long __a, __vector
unsigned int __b) {
7793 return (__vector
unsigned long long)__builtin_s390_vsrl(
7794 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7800vec_srb(__vector
signed char __a, __vector
signed char __b) {
7801 return (__vector
signed char)__builtin_s390_vsrlb(
7802 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7806vec_srb(__vector
signed char __a, __vector
unsigned char __b) {
7807 return (__vector
signed char)__builtin_s390_vsrlb(
7808 (__vector
unsigned char)
__a,
__b);
7812vec_srb(__vector
unsigned char __a, __vector
signed char __b) {
7813 return __builtin_s390_vsrlb(
__a, (__vector
unsigned char)
__b);
7817vec_srb(__vector
unsigned char __a, __vector
unsigned char __b) {
7818 return __builtin_s390_vsrlb(
__a,
__b);
7822vec_srb(__vector
signed short __a, __vector
signed short __b) {
7823 return (__vector
signed short)__builtin_s390_vsrlb(
7824 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7828vec_srb(__vector
signed short __a, __vector
unsigned short __b) {
7829 return (__vector
signed short)__builtin_s390_vsrlb(
7830 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7834vec_srb(__vector
unsigned short __a, __vector
signed short __b) {
7835 return (__vector
unsigned short)__builtin_s390_vsrlb(
7836 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7840vec_srb(__vector
unsigned short __a, __vector
unsigned short __b) {
7841 return (__vector
unsigned short)__builtin_s390_vsrlb(
7842 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7846vec_srb(__vector
signed int __a, __vector
signed int __b) {
7847 return (__vector
signed int)__builtin_s390_vsrlb(
7848 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7852vec_srb(__vector
signed int __a, __vector
unsigned int __b) {
7853 return (__vector
signed int)__builtin_s390_vsrlb(
7854 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7858vec_srb(__vector
unsigned int __a, __vector
signed int __b) {
7859 return (__vector
unsigned int)__builtin_s390_vsrlb(
7860 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7864vec_srb(__vector
unsigned int __a, __vector
unsigned int __b) {
7865 return (__vector
unsigned int)__builtin_s390_vsrlb(
7866 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7870vec_srb(__vector
signed long long __a, __vector
signed long long __b) {
7871 return (__vector
signed long long)__builtin_s390_vsrlb(
7872 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7876vec_srb(__vector
signed long long __a, __vector
unsigned long long __b) {
7877 return (__vector
signed long long)__builtin_s390_vsrlb(
7878 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7882vec_srb(__vector
unsigned long long __a, __vector
signed long long __b) {
7883 return (__vector
unsigned long long)__builtin_s390_vsrlb(
7884 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7888vec_srb(__vector
unsigned long long __a, __vector
unsigned long long __b) {
7889 return (__vector
unsigned long long)__builtin_s390_vsrlb(
7890 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7895vec_srb(__vector
float __a, __vector
signed int __b) {
7896 return (__vector
float)__builtin_s390_vsrlb(
7897 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7901vec_srb(__vector
float __a, __vector
unsigned int __b) {
7902 return (__vector
float)__builtin_s390_vsrlb(
7903 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7908vec_srb(__vector
double __a, __vector
signed long long __b) {
7909 return (__vector
double)__builtin_s390_vsrlb(
7910 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7914vec_srb(__vector
double __a, __vector
unsigned long long __b) {
7915 return (__vector
double)__builtin_s390_vsrlb(
7916 (__vector
unsigned char)
__a, (__vector
unsigned char)
__b);
7923extern __ATTRS_o __vector
signed char
7924vec_srdb(__vector
signed char __a, __vector
signed char __b,
int __c)
7925 __constant_range(
__c, 0, 7);
7927extern __ATTRS_o __vector
unsigned char
7928vec_srdb(__vector
unsigned char __a, __vector
unsigned char __b,
int __c)
7929 __constant_range(
__c, 0, 7);
7931extern __ATTRS_o __vector
signed short
7932vec_srdb(__vector
signed short __a, __vector
signed short __b,
int __c)
7933 __constant_range(
__c, 0, 7);
7935extern __ATTRS_o __vector
unsigned short
7936vec_srdb(__vector
unsigned short __a, __vector
unsigned short __b,
int __c)
7937 __constant_range(
__c, 0, 7);
7939extern __ATTRS_o __vector
signed int
7940vec_srdb(__vector
signed int __a, __vector
signed int __b,
int __c)
7941 __constant_range(
__c, 0, 7);
7943extern __ATTRS_o __vector
unsigned int
7944vec_srdb(__vector
unsigned int __a, __vector
unsigned int __b,
int __c)
7945 __constant_range(
__c, 0, 7);
7947extern __ATTRS_o __vector
signed long long
7948vec_srdb(__vector
signed long long __a, __vector
signed long long __b,
int __c)
7949 __constant_range(
__c, 0, 7);
7951extern __ATTRS_o __vector
unsigned long long
7952vec_srdb(__vector
unsigned long long __a, __vector
unsigned long long __b,
7954 __constant_range(
__c, 0, 7);
7956extern __ATTRS_o __vector
float
7957vec_srdb(__vector
float __a, __vector
float __b,
int __c)
7958 __constant_range(
__c, 0, 7);
7960extern __ATTRS_o __vector
double
7961vec_srdb(__vector
double __a, __vector
double __b,
int __c)
7962 __constant_range(
__c, 0, 7);
7964#define vec_srdb(X, Y, Z) ((__typeof__((vec_srdb)((X), (Y), (Z)))) \
7965 __builtin_s390_vsrd((__vector unsigned char)(X), \
7966 (__vector unsigned char)(Y), (Z)))
7995 return __builtin_s390_vflpsb(
__a);
8001 return __builtin_s390_vflpdb(
__a);
8009 return __builtin_s390_vflnsb(
__a);
8015 return __builtin_s390_vflndb(
__a);
8021vec_max(__vector
signed char __a, __vector
signed char __b) {
8027vec_max(__vector
signed char __a, __vector __bool
char __b) {
8028 __vector
signed char __bc = (__vector
signed char)
__b;
8034vec_max(__vector __bool
char __a, __vector
signed char __b) {
8035 __vector
signed char __ac = (__vector
signed char)
__a;
8040vec_max(__vector
unsigned char __a, __vector
unsigned char __b) {
8046vec_max(__vector
unsigned char __a, __vector __bool
char __b) {
8047 __vector
unsigned char __bc = (__vector
unsigned char)
__b;
8053vec_max(__vector __bool
char __a, __vector
unsigned char __b) {
8054 __vector
unsigned char __ac = (__vector
unsigned char)
__a;
8059vec_max(__vector
signed short __a, __vector
signed short __b) {
8065vec_max(__vector
signed short __a, __vector __bool
short __b) {
8066 __vector
signed short __bc = (__vector
signed short)
__b;
8072vec_max(__vector __bool
short __a, __vector
signed short __b) {
8073 __vector
signed short __ac = (__vector
signed short)
__a;
8078vec_max(__vector
unsigned short __a, __vector
unsigned short __b) {
8084vec_max(__vector
unsigned short __a, __vector __bool
short __b) {
8085 __vector
unsigned short __bc = (__vector
unsigned short)
__b;
8091vec_max(__vector __bool
short __a, __vector
unsigned short __b) {
8092 __vector
unsigned short __ac = (__vector
unsigned short)
__a;
8104 __vector
signed int __bc = (__vector
signed int)
__b;
8111 __vector
signed int __ac = (__vector
signed int)
__a;
8116vec_max(__vector
unsigned int __a, __vector
unsigned int __b) {
8122vec_max(__vector
unsigned int __a, __vector __bool
int __b) {
8123 __vector
unsigned int __bc = (__vector
unsigned int)
__b;
8129vec_max(__vector __bool
int __a, __vector
unsigned int __b) {
8130 __vector
unsigned int __ac = (__vector
unsigned int)
__a;
8135vec_max(__vector
signed long long __a, __vector
signed long long __b) {
8141vec_max(__vector
signed long long __a, __vector __bool
long long __b) {
8142 __vector
signed long long __bc = (__vector
signed long long)
__b;
8148vec_max(__vector __bool
long long __a, __vector
signed long long __b) {
8149 __vector
signed long long __ac = (__vector
signed long long)
__a;
8154vec_max(__vector
unsigned long long __a, __vector
unsigned long long __b) {
8160vec_max(__vector
unsigned long long __a, __vector __bool
long long __b) {
8161 __vector
unsigned long long __bc = (__vector
unsigned long long)
__b;
8167vec_max(__vector __bool
long long __a, __vector
unsigned long long __b) {
8168 __vector
unsigned long long __ac = (__vector
unsigned long long)
__a;
8175 return __builtin_s390_vfmaxsb(
__a,
__b, 0);
8182 return __builtin_s390_vfmaxdb(
__a,
__b, 0);
8191vec_min(__vector
signed char __a, __vector
signed char __b) {
8197vec_min(__vector
signed char __a, __vector __bool
char __b) {
8198 __vector
signed char __bc = (__vector
signed char)
__b;
8204vec_min(__vector __bool
char __a, __vector
signed char __b) {
8205 __vector
signed char __ac = (__vector
signed char)
__a;
8210vec_min(__vector
unsigned char __a, __vector
unsigned char __b) {
8216vec_min(__vector
unsigned char __a, __vector __bool
char __b) {
8217 __vector
unsigned char __bc = (__vector
unsigned char)
__b;
8223vec_min(__vector __bool
char __a, __vector
unsigned char __b) {
8224 __vector
unsigned char __ac = (__vector
unsigned char)
__a;
8229vec_min(__vector
signed short __a, __vector
signed short __b) {
8235vec_min(__vector
signed short __a, __vector __bool
short __b) {
8236 __vector
signed short __bc = (__vector
signed short)
__b;
8242vec_min(__vector __bool
short __a, __vector
signed short __b) {
8243 __vector
signed short __ac = (__vector
signed short)
__a;
8248vec_min(__vector
unsigned short __a, __vector
unsigned short __b) {
8254vec_min(__vector
unsigned short __a, __vector __bool
short __b) {
8255 __vector
unsigned short __bc = (__vector
unsigned short)
__b;
8261vec_min(__vector __bool
short __a, __vector
unsigned short __b) {
8262 __vector
unsigned short __ac = (__vector
unsigned short)
__a;
8274 __vector
signed int __bc = (__vector
signed int)
__b;
8281 __vector
signed int __ac = (__vector
signed int)
__a;
8286vec_min(__vector
unsigned int __a, __vector
unsigned int __b) {
8292vec_min(__vector
unsigned int __a, __vector __bool
int __b) {
8293 __vector
unsigned int __bc = (__vector
unsigned int)
__b;
8299vec_min(__vector __bool
int __a, __vector
unsigned int __b) {
8300 __vector
unsigned int __ac = (__vector
unsigned int)
__a;
8305vec_min(__vector
signed long long __a, __vector
signed long long __b) {
8311vec_min(__vector
signed long long __a, __vector __bool
long long __b) {
8312 __vector
signed long long __bc = (__vector
signed long long)
__b;
8318vec_min(__vector __bool
long long __a, __vector
signed long long __b) {
8319 __vector
signed long long __ac = (__vector
signed long long)
__a;
8324vec_min(__vector
unsigned long long __a, __vector
unsigned long long __b) {
8330vec_min(__vector
unsigned long long __a, __vector __bool
long long __b) {
8331 __vector
unsigned long long __bc = (__vector
unsigned long long)
__b;
8337vec_min(__vector __bool
long long __a, __vector
unsigned long long __b) {
8338 __vector
unsigned long long __ac = (__vector
unsigned long long)
__a;
8345 return __builtin_s390_vfminsb(
__a,
__b, 0);
8352 return __builtin_s390_vfmindb(
__a,
__b, 0);
8360static inline __ATTRS_ai __vector
unsigned char
8361vec_add_u128(__vector
unsigned char __a, __vector
unsigned char __b) {
8362 return (__vector
unsigned char)
8364 ((__int128)
__a + (__int128)
__b);
8370vec_addc(__vector
unsigned char __a, __vector
unsigned char __b) {
8371 return __builtin_s390_vaccb(
__a,
__b);
8375vec_addc(__vector
unsigned short __a, __vector
unsigned short __b) {
8376 return __builtin_s390_vacch(
__a,
__b);
8381 return __builtin_s390_vaccf(
__a,
__b);
8385vec_addc(__vector
unsigned long long __a, __vector
unsigned long long __b) {
8386 return __builtin_s390_vaccg(
__a,
__b);
8391static inline __ATTRS_ai __vector
unsigned char
8392vec_addc_u128(__vector
unsigned char __a, __vector
unsigned char __b) {
8393 return (__vector
unsigned char)
8395 __builtin_s390_vaccq((
unsigned __int128)
__a, (
unsigned __int128)
__b);
8400static inline __ATTRS_ai __vector
unsigned char
8401vec_adde_u128(__vector
unsigned char __a, __vector
unsigned char __b,
8402 __vector
unsigned char __c) {
8403 return (__vector
unsigned char)
8405 __builtin_s390_vacq((
unsigned __int128)
__a, (
unsigned __int128)
__b,
8406 (
unsigned __int128)
__c);
8411static inline __ATTRS_ai __vector
unsigned char
8412vec_addec_u128(__vector
unsigned char __a, __vector
unsigned char __b,
8413 __vector
unsigned char __c) {
8414 return (__vector
unsigned char)
8416 __builtin_s390_vacccq((
unsigned __int128)
__a, (
unsigned __int128)
__b,
8417 (
unsigned __int128)
__c);
8423vec_avg(__vector
signed char __a, __vector
signed char __b) {
8424 return __builtin_s390_vavgb(
__a,
__b);
8428vec_avg(__vector
signed short __a, __vector
signed short __b) {
8429 return __builtin_s390_vavgh(
__a,
__b);
8434 return __builtin_s390_vavgf(
__a,
__b);
8438vec_avg(__vector
signed long long __a, __vector
signed long long __b) {
8439 return __builtin_s390_vavgg(
__a,
__b);
8443vec_avg(__vector
unsigned char __a, __vector
unsigned char __b) {
8444 return __builtin_s390_vavglb(
__a,
__b);
8448vec_avg(__vector
unsigned short __a, __vector
unsigned short __b) {
8449 return __builtin_s390_vavglh(
__a,
__b);
8453vec_avg(__vector
unsigned int __a, __vector
unsigned int __b) {
8454 return __builtin_s390_vavglf(
__a,
__b);
8458vec_avg(__vector
unsigned long long __a, __vector
unsigned long long __b) {
8459 return __builtin_s390_vavglg(
__a,
__b);
8464static inline __ATTRS_ai __vector
unsigned int
8465vec_checksum(__vector
unsigned int __a, __vector
unsigned int __b) {
8466 return __builtin_s390_vcksm(
__a,
__b);
8472vec_gfmsum(__vector
unsigned char __a, __vector
unsigned char __b) {
8473 return __builtin_s390_vgfmb(
__a,
__b);
8477vec_gfmsum(__vector
unsigned short __a, __vector
unsigned short __b) {
8478 return __builtin_s390_vgfmh(
__a,
__b);
8482vec_gfmsum(__vector
unsigned int __a, __vector
unsigned int __b) {
8483 return __builtin_s390_vgfmf(
__a,
__b);
8489vec_gfmsum_128(__vector
unsigned long long __a,
8490 __vector
unsigned long long __b) {
8491 return (__vector
unsigned char)
8493 __builtin_s390_vgfmg(
__a,
__b);
8499vec_gfmsum_accum(__vector
unsigned char __a, __vector
unsigned char __b,
8500 __vector
unsigned short __c) {
8501 return __builtin_s390_vgfmab(
__a,
__b,
__c);
8505vec_gfmsum_accum(__vector
unsigned short __a, __vector
unsigned short __b,
8506 __vector
unsigned int __c) {
8507 return __builtin_s390_vgfmah(
__a,
__b,
__c);
8511vec_gfmsum_accum(__vector
unsigned int __a, __vector
unsigned int __b,
8512 __vector
unsigned long long __c) {
8513 return __builtin_s390_vgfmaf(
__a,
__b,
__c);
8519vec_gfmsum_accum_128(__vector
unsigned long long __a,
8520 __vector
unsigned long long __b,
8521 __vector
unsigned char __c) {
8522 return (__vector
unsigned char)
8524 __builtin_s390_vgfmag(
__a,
__b, (
unsigned __int128)
__c);
8531 __vector
signed char __c) {
8537 __vector
signed char __c) {
8538 return (__vector
signed char)
__a *
__b +
__c;
8543 __vector
unsigned char __c) {
8544 return __a * (__vector
signed char)
__b + (__vector
signed char)
__c;
8549 __vector
unsigned char __c) {
8555 __vector
signed short __c) {
8561 __vector
signed short __c) {
8562 return (__vector
signed short)
__a *
__b +
__c;
8567 __vector
unsigned short __c) {
8568 return __a * (__vector
signed short)
__b + (__vector
signed short)
__c;
8573 __vector
unsigned short __c) {
8579 __vector
signed int __c) {
8585 __vector
signed int __c) {
8586 return (__vector
signed int)
__a *
__b +
__c;
8591 __vector
unsigned int __c) {
8592 return __a * (__vector
signed int)
__b + (__vector
signed int)
__c;
8597 __vector
unsigned int __c) {
8604vec_mhadd(__vector
signed char __a, __vector
signed char __b,
8605 __vector
signed char __c) {
8606 return __builtin_s390_vmahb(
__a,
__b,
__c);
8610vec_mhadd(__vector
unsigned char __a, __vector
unsigned char __b,
8611 __vector
unsigned char __c) {
8612 return __builtin_s390_vmalhb(
__a,
__b,
__c);
8616vec_mhadd(__vector
signed short __a, __vector
signed short __b,
8617 __vector
signed short __c) {
8618 return __builtin_s390_vmahh(
__a,
__b,
__c);
8622vec_mhadd(__vector
unsigned short __a, __vector
unsigned short __b,
8623 __vector
unsigned short __c) {
8624 return __builtin_s390_vmalhh(
__a,
__b,
__c);
8628vec_mhadd(__vector
signed int __a, __vector
signed int __b,
8629 __vector
signed int __c) {
8630 return __builtin_s390_vmahf(
__a,
__b,
__c);
8634vec_mhadd(__vector
unsigned int __a, __vector
unsigned int __b,
8635 __vector
unsigned int __c) {
8636 return __builtin_s390_vmalhf(
__a,
__b,
__c);
8642vec_meadd(__vector
signed char __a, __vector
signed char __b,
8643 __vector
signed short __c) {
8644 return __builtin_s390_vmaeb(
__a,
__b,
__c);
8648vec_meadd(__vector
unsigned char __a, __vector
unsigned char __b,
8649 __vector
unsigned short __c) {
8650 return __builtin_s390_vmaleb(
__a,
__b,
__c);
8654vec_meadd(__vector
signed short __a, __vector
signed short __b,
8655 __vector
signed int __c) {
8656 return __builtin_s390_vmaeh(
__a,
__b,
__c);
8660vec_meadd(__vector
unsigned short __a, __vector
unsigned short __b,
8661 __vector
unsigned int __c) {
8662 return __builtin_s390_vmaleh(
__a,
__b,
__c);
8666vec_meadd(__vector
signed int __a, __vector
signed int __b,
8667 __vector
signed long long __c) {
8668 return __builtin_s390_vmaef(
__a,
__b,
__c);
8672vec_meadd(__vector
unsigned int __a, __vector
unsigned int __b,
8673 __vector
unsigned long long __c) {
8674 return __builtin_s390_vmalef(
__a,
__b,
__c);
8680vec_moadd(__vector
signed char __a, __vector
signed char __b,
8681 __vector
signed short __c) {
8682 return __builtin_s390_vmaob(
__a,
__b,
__c);
8686vec_moadd(__vector
unsigned char __a, __vector
unsigned char __b,
8687 __vector
unsigned short __c) {
8688 return __builtin_s390_vmalob(
__a,
__b,
__c);
8692vec_moadd(__vector
signed short __a, __vector
signed short __b,
8693 __vector
signed int __c) {
8694 return __builtin_s390_vmaoh(
__a,
__b,
__c);
8698vec_moadd(__vector
unsigned short __a, __vector
unsigned short __b,
8699 __vector
unsigned int __c) {
8700 return __builtin_s390_vmaloh(
__a,
__b,
__c);
8704vec_moadd(__vector
signed int __a, __vector
signed int __b,
8705 __vector
signed long long __c) {
8706 return __builtin_s390_vmaof(
__a,
__b,
__c);
8710vec_moadd(__vector
unsigned int __a, __vector
unsigned int __b,
8711 __vector
unsigned long long __c) {
8712 return __builtin_s390_vmalof(
__a,
__b,
__c);
8718vec_mulh(__vector
signed char __a, __vector
signed char __b) {
8719 return __builtin_s390_vmhb(
__a,
__b);
8723vec_mulh(__vector
unsigned char __a, __vector
unsigned char __b) {
8724 return __builtin_s390_vmlhb(
__a,
__b);
8728vec_mulh(__vector
signed short __a, __vector
signed short __b) {
8729 return __builtin_s390_vmhh(
__a,
__b);
8733vec_mulh(__vector
unsigned short __a, __vector
unsigned short __b) {
8734 return __builtin_s390_vmlhh(
__a,
__b);
8738vec_mulh(__vector
signed int __a, __vector
signed int __b) {
8739 return __builtin_s390_vmhf(
__a,
__b);
8743vec_mulh(__vector
unsigned int __a, __vector
unsigned int __b) {
8744 return __builtin_s390_vmlhf(
__a,
__b);
8751 return __builtin_s390_vmeb(
__a,
__b);
8755vec_mule(__vector
unsigned char __a, __vector
unsigned char __b) {
8756 return __builtin_s390_vmleb(
__a,
__b);
8761 return __builtin_s390_vmeh(
__a,
__b);
8765vec_mule(__vector
unsigned short __a, __vector
unsigned short __b) {
8766 return __builtin_s390_vmleh(
__a,
__b);
8771 return __builtin_s390_vmef(
__a,
__b);
8776 return __builtin_s390_vmlef(
__a,
__b);
8783 return __builtin_s390_vmob(
__a,
__b);
8787vec_mulo(__vector
unsigned char __a, __vector
unsigned char __b) {
8788 return __builtin_s390_vmlob(
__a,
__b);
8793 return __builtin_s390_vmoh(
__a,
__b);
8797vec_mulo(__vector
unsigned short __a, __vector
unsigned short __b) {
8798 return __builtin_s390_vmloh(
__a,
__b);
8803 return __builtin_s390_vmof(
__a,
__b);
8808 return __builtin_s390_vmlof(
__a,
__b);
8814extern __ATTRS_o __vector
unsigned char
8815vec_msum_u128(__vector
unsigned long long __a, __vector
unsigned long long __b,
8816 __vector
unsigned char __c,
int __d)
8817 __constant_range(__d, 0, 15);
8819#define vec_msum_u128(X, Y, Z, W) \
8820 ((__typeof__((vec_msum_u128)((X), (Y), (Z), (W)))) \
8821 (unsigned __int128 __attribute__((__vector_size__(16)))) \
8822 __builtin_s390_vmslg((X), (Y), (unsigned __int128)(Z), (W)))
8827static inline __ATTRS_ai __vector
unsigned char
8828vec_sub_u128(__vector
unsigned char __a, __vector
unsigned char __b) {
8829 return (__vector
unsigned char)
8831 ((__int128)
__a - (__int128)
__b);
8837vec_subc(__vector
unsigned char __a, __vector
unsigned char __b) {
8838 return __builtin_s390_vscbib(
__a,
__b);
8842vec_subc(__vector
unsigned short __a, __vector
unsigned short __b) {
8843 return __builtin_s390_vscbih(
__a,
__b);
8848 return __builtin_s390_vscbif(
__a,
__b);
8852vec_subc(__vector
unsigned long long __a, __vector
unsigned long long __b) {
8853 return __builtin_s390_vscbig(
__a,
__b);
8858static inline __ATTRS_ai __vector
unsigned char
8859vec_subc_u128(__vector
unsigned char __a, __vector
unsigned char __b) {
8860 return (__vector
unsigned char)
8862 __builtin_s390_vscbiq((
unsigned __int128)
__a, (
unsigned __int128)
__b);
8867static inline __ATTRS_ai __vector
unsigned char
8868vec_sube_u128(__vector
unsigned char __a, __vector
unsigned char __b,
8869 __vector
unsigned char __c) {
8870 return (__vector
unsigned char)
8872 __builtin_s390_vsbiq((
unsigned __int128)
__a, (
unsigned __int128)
__b,
8873 (
unsigned __int128)
__c);
8878static inline __ATTRS_ai __vector
unsigned char
8879vec_subec_u128(__vector
unsigned char __a, __vector
unsigned char __b,
8880 __vector
unsigned char __c) {
8881 return (__vector
unsigned char)
8883 __builtin_s390_vsbcbiq((
unsigned __int128)
__a, (
unsigned __int128)
__b,
8884 (
unsigned __int128)
__c);
8890vec_sum2(__vector
unsigned short __a, __vector
unsigned short __b) {
8891 return __builtin_s390_vsumgh(
__a,
__b);
8895vec_sum2(__vector
unsigned int __a, __vector
unsigned int __b) {
8896 return __builtin_s390_vsumgf(
__a,
__b);
8902vec_sum_u128(__vector
unsigned int __a, __vector
unsigned int __b) {
8903 return (__vector
unsigned char)
8905 __builtin_s390_vsumqf(
__a,
__b);
8909vec_sum_u128(__vector
unsigned long long __a, __vector
unsigned long long __b) {
8910 return (__vector
unsigned char)
8912 __builtin_s390_vsumqg(
__a,
__b);
8918vec_sum4(__vector
unsigned char __a, __vector
unsigned char __b) {
8919 return __builtin_s390_vsumb(
__a,
__b);
8923vec_sum4(__vector
unsigned short __a, __vector
unsigned short __b) {
8924 return __builtin_s390_vsumh(
__a,
__b);
8930vec_test_mask(__vector
signed char __a, __vector
unsigned char __b) {
8931 return __builtin_s390_vtm((__vector
unsigned char)
__a,
8932 (__vector
unsigned char)
__b);
8936vec_test_mask(__vector
unsigned char __a, __vector
unsigned char __b) {
8937 return __builtin_s390_vtm(
__a,
__b);
8941vec_test_mask(__vector
signed short __a, __vector
unsigned short __b) {
8942 return __builtin_s390_vtm((__vector
unsigned char)
__a,
8943 (__vector
unsigned char)
__b);
8947vec_test_mask(__vector
unsigned short __a, __vector
unsigned short __b) {
8948 return __builtin_s390_vtm((__vector
unsigned char)
__a,
8949 (__vector
unsigned char)
__b);
8953vec_test_mask(__vector
signed int __a, __vector
unsigned int __b) {
8954 return __builtin_s390_vtm((__vector
unsigned char)
__a,
8955 (__vector
unsigned char)
__b);
8959vec_test_mask(__vector
unsigned int __a, __vector
unsigned int __b) {
8960 return __builtin_s390_vtm((__vector
unsigned char)
__a,
8961 (__vector
unsigned char)
__b);
8965vec_test_mask(__vector
signed long long __a, __vector
unsigned long long __b) {
8966 return __builtin_s390_vtm((__vector
unsigned char)
__a,
8967 (__vector
unsigned char)
__b);
8971vec_test_mask(__vector
unsigned long long __a,
8972 __vector
unsigned long long __b) {
8973 return __builtin_s390_vtm((__vector
unsigned char)
__a,
8974 (__vector
unsigned char)
__b);
8979vec_test_mask(__vector
float __a, __vector
unsigned int __b) {
8980 return __builtin_s390_vtm((__vector
unsigned char)
__a,
8981 (__vector
unsigned char)
__b);
8986vec_test_mask(__vector
double __a, __vector
unsigned long long __b) {
8987 return __builtin_s390_vtm((__vector
unsigned char)
__a,
8988 (__vector
unsigned char)
__b);
8996 return __builtin_s390_vfmasb(
__a,
__b,
__c);
9002 return __builtin_s390_vfmadb(
__a,
__b,
__c);
9009vec_msub(__vector
float __a, __vector
float __b, __vector
float __c) {
9010 return __builtin_s390_vfmssb(
__a,
__b,
__c);
9015vec_msub(__vector
double __a, __vector
double __b, __vector
double __c) {
9016 return __builtin_s390_vfmsdb(
__a,
__b,
__c);
9023vec_nmadd(__vector
float __a, __vector
float __b, __vector
float __c) {
9024 return __builtin_s390_vfnmasb(
__a,
__b,
__c);
9028vec_nmadd(__vector
double __a, __vector
double __b, __vector
double __c) {
9029 return __builtin_s390_vfnmadb(
__a,
__b,
__c);
9038 return __builtin_s390_vfnmssb(
__a,
__b,
__c);
9043 return __builtin_s390_vfnmsdb(
__a,
__b,
__c);
9051vec_sqrt(__vector
float __a) {
9052 return __builtin_s390_vfsqsb(
__a);
9057vec_sqrt(__vector
double __a) {
9058 return __builtin_s390_vfsqdb(
__a);
9064static inline __ATTRS_ai __vector
double
9065vec_ld2f(
const float *__ptr) {
9067 return __builtin_convertvector(*(
const __v2f32 *)__ptr, __vector
double);
9073static inline __ATTRS_ai
void
9074vec_st2f(__vector
double __a,
float *__ptr) {
9076 *(__v2f32 *)__ptr = __builtin_convertvector(
__a, __v2f32);
9083vec_ctd(__vector
signed long long __a,
int __b)
9084 __constant_range(
__b, 0, 31) {
9085 __vector
double __conv = __builtin_convertvector(
__a, __vector
double);
9086 __conv *= ((__vector
double)(__vector
unsigned long long)
9087 ((0x3ffULL -
__b) << 52));
9093vec_ctd(__vector
unsigned long long __a,
int __b)
9094 __constant_range(
__b, 0, 31) {
9095 __vector
double __conv = __builtin_convertvector(
__a, __vector
double);
9096 __conv *= ((__vector
double)(__vector
unsigned long long)
9097 ((0x3ffULL -
__b) << 52));
9105vec_ctsl(__vector
double __a,
int __b)
9106 __constant_range(
__b, 0, 31) {
9107 __a *= ((__vector
double)(__vector
unsigned long long)
9108 ((0x3ffULL +
__b) << 52));
9109 return __builtin_convertvector(
__a, __vector
signed long long);
9116vec_ctul(__vector
double __a,
int __b)
9117 __constant_range(
__b, 0, 31) {
9118 __a *= ((__vector
double)(__vector
unsigned long long)
9119 ((0x3ffULL +
__b) << 52));
9120 return __builtin_convertvector(
__a, __vector
unsigned long long);
9126static inline __ATTRS_ai __vector
double
9127vec_doublee(__vector
float __a) {
9129 __v2f32 __pack = __builtin_shufflevector(
__a,
__a, 0, 2);
9130 return __builtin_convertvector(__pack, __vector
double);
9137static inline __ATTRS_ai __vector
float
9138vec_floate(__vector
double __a) {
9140 __v2f32 __pack = __builtin_convertvector(
__a, __v2f32);
9141 return __builtin_shufflevector(__pack, __pack, 0, -1, 1, -1);
9148vec_double(__vector
signed long long __a) {
9149 return __builtin_convertvector(
__a, __vector
double);
9153vec_double(__vector
unsigned long long __a) {
9154 return __builtin_convertvector(
__a, __vector
double);
9163 return __builtin_convertvector(
__a, __vector
float);
9168 return __builtin_convertvector(
__a, __vector
float);
9177 return __builtin_convertvector(
__a, __vector
signed long long);
9183 return __builtin_convertvector(
__a, __vector
signed int);
9191 return __builtin_convertvector(
__a, __vector
unsigned long long);
9197 return __builtin_convertvector(
__a, __vector
unsigned int);
9206 return __builtin_s390_vfisb(
__a, 4, 6);
9212 return __builtin_s390_vfidb(
__a, 4, 6);
9221 return __builtin_s390_vfisb(
__a, 4, 6);
9228 return __builtin_s390_vfidb(
__a, 4, 6);
9236 return __builtin_s390_vfisb(
__a, 4, 7);
9242 return __builtin_s390_vfidb(
__a, 4, 7);
9251 return __builtin_s390_vfisb(
__a, 4, 7);
9258 return __builtin_s390_vfidb(
__a, 4, 7);
9266 return __builtin_s390_vfisb(
__a, 4, 5);
9272 return __builtin_s390_vfidb(
__a, 4, 5);
9281 return __builtin_s390_vfisb(
__a, 4, 5);
9288 return __builtin_s390_vfidb(
__a, 4, 5);
9295vec_roundc(__vector
float __a) {
9296 return __builtin_s390_vfisb(
__a, 4, 0);
9301vec_roundc(__vector
double __a) {
9302 return __builtin_s390_vfidb(
__a, 4, 0);
9309vec_rint(__vector
float __a) {
9311 return __builtin_s390_vfisb(
__a, 0, 0);
9316vec_rint(__vector
double __a) {
9318 return __builtin_s390_vfidb(
__a, 0, 0);
9326 return __builtin_s390_vfisb(
__a, 4, 4);
9332 return __builtin_s390_vfidb(
__a, 4, 4);
9338extern __ATTRS_o __vector __bool
int
9339vec_fp_test_data_class(__vector
float __a,
int __b,
int *
__c)
9340 __constant_range(
__b, 0, 4095);
9342extern __ATTRS_o __vector __bool
long long
9343vec_fp_test_data_class(__vector
double __a,
int __b,
int *
__c)
9344 __constant_range(
__b, 0, 4095);
9346#define vec_fp_test_data_class(X, Y, Z) \
9347 ((__typeof__((vec_fp_test_data_class)((X), (Y), (Z)))) \
9349 __vector unsigned char __res; \
9350 __vector unsigned char __x = (__vector unsigned char)(X); \
9352 switch (sizeof ((X)[0])) { \
9353 case 4: __res = (__vector unsigned char) \
9354 __builtin_s390_vftcisb((__vector float)__x, (Y), __z); \
9356 default: __res = (__vector unsigned char) \
9357 __builtin_s390_vftcidb((__vector double)__x, (Y), __z); \
9361#define vec_fp_test_data_class(X, Y, Z) \
9362 ((__vector __bool long long)__builtin_s390_vftcidb((X), (Y), (Z)))
9365#define __VEC_CLASS_FP_ZERO_P (1 << 11)
9366#define __VEC_CLASS_FP_ZERO_N (1 << 10)
9367#define __VEC_CLASS_FP_ZERO (__VEC_CLASS_FP_ZERO_P | __VEC_CLASS_FP_ZERO_N)
9368#define __VEC_CLASS_FP_NORMAL_P (1 << 9)
9369#define __VEC_CLASS_FP_NORMAL_N (1 << 8)
9370#define __VEC_CLASS_FP_NORMAL (__VEC_CLASS_FP_NORMAL_P | \
9371 __VEC_CLASS_FP_NORMAL_N)
9372#define __VEC_CLASS_FP_SUBNORMAL_P (1 << 7)
9373#define __VEC_CLASS_FP_SUBNORMAL_N (1 << 6)
9374#define __VEC_CLASS_FP_SUBNORMAL (__VEC_CLASS_FP_SUBNORMAL_P | \
9375 __VEC_CLASS_FP_SUBNORMAL_N)
9376#define __VEC_CLASS_FP_INFINITY_P (1 << 5)
9377#define __VEC_CLASS_FP_INFINITY_N (1 << 4)
9378#define __VEC_CLASS_FP_INFINITY (__VEC_CLASS_FP_INFINITY_P | \
9379 __VEC_CLASS_FP_INFINITY_N)
9380#define __VEC_CLASS_FP_QNAN_P (1 << 3)
9381#define __VEC_CLASS_FP_QNAN_N (1 << 2)
9382#define __VEC_CLASS_FP_QNAN (__VEC_CLASS_FP_QNAN_P | __VEC_CLASS_FP_QNAN_N)
9383#define __VEC_CLASS_FP_SNAN_P (1 << 1)
9384#define __VEC_CLASS_FP_SNAN_N (1 << 0)
9385#define __VEC_CLASS_FP_SNAN (__VEC_CLASS_FP_SNAN_P | __VEC_CLASS_FP_SNAN_N)
9386#define __VEC_CLASS_FP_NAN (__VEC_CLASS_FP_QNAN | __VEC_CLASS_FP_SNAN)
9387#define __VEC_CLASS_FP_NOT_NORMAL (__VEC_CLASS_FP_NAN | \
9388 __VEC_CLASS_FP_SUBNORMAL | \
9389 __VEC_CLASS_FP_ZERO | \
9390 __VEC_CLASS_FP_INFINITY)
9395#define vec_extend_to_fp32_hi(X, W) \
9396 ((__vector float)__builtin_s390_vclfnhs((X), (W)));
9402#define vec_extend_to_fp32_lo(X, W) \
9403 ((__vector float)__builtin_s390_vclfnls((X), (W)));
9409#define vec_round_from_fp32(X, Y, W) \
9410 ((__vector unsigned short)__builtin_s390_vcrnfs((X), (Y), (W)));
9416#define vec_convert_to_fp16(X, W) \
9417 ((__vector unsigned short)__builtin_s390_vcfn((X), (W)));
9423#define vec_convert_from_fp16(X, W) \
9424 ((__vector unsigned short)__builtin_s390_vcnf((X), (W)));
9430vec_cp_until_zero(__vector
signed char __a) {
9431 return ((__vector
signed char)
9432 __builtin_s390_vistrb((__vector
unsigned char)
__a));
9436vec_cp_until_zero(__vector __bool
char __a) {
9437 return ((__vector __bool
char)
9438 __builtin_s390_vistrb((__vector
unsigned char)
__a));
9442vec_cp_until_zero(__vector
unsigned char __a) {
9443 return __builtin_s390_vistrb(
__a);
9447vec_cp_until_zero(__vector
signed short __a) {
9448 return ((__vector
signed short)
9449 __builtin_s390_vistrh((__vector
unsigned short)
__a));
9453vec_cp_until_zero(__vector __bool
short __a) {
9454 return ((__vector __bool
short)
9455 __builtin_s390_vistrh((__vector
unsigned short)
__a));
9459vec_cp_until_zero(__vector
unsigned short __a) {
9460 return __builtin_s390_vistrh(
__a);
9464vec_cp_until_zero(__vector
signed int __a) {
9465 return ((__vector
signed int)
9466 __builtin_s390_vistrf((__vector
unsigned int)
__a));
9470vec_cp_until_zero(__vector __bool
int __a) {
9471 return ((__vector __bool
int)
9472 __builtin_s390_vistrf((__vector
unsigned int)
__a));
9476vec_cp_until_zero(__vector
unsigned int __a) {
9477 return __builtin_s390_vistrf(
__a);
9483vec_cp_until_zero_cc(__vector
signed char __a,
int *__cc) {
9484 return (__vector
signed char)
9485 __builtin_s390_vistrbs((__vector
unsigned char)
__a, __cc);
9489vec_cp_until_zero_cc(__vector __bool
char __a,
int *__cc) {
9490 return (__vector __bool
char)
9491 __builtin_s390_vistrbs((__vector
unsigned char)
__a, __cc);
9495vec_cp_until_zero_cc(__vector
unsigned char __a,
int *__cc) {
9496 return __builtin_s390_vistrbs(
__a, __cc);
9500vec_cp_until_zero_cc(__vector
signed short __a,
int *__cc) {
9501 return (__vector
signed short)
9502 __builtin_s390_vistrhs((__vector
unsigned short)
__a, __cc);
9506vec_cp_until_zero_cc(__vector __bool
short __a,
int *__cc) {
9507 return (__vector __bool
short)
9508 __builtin_s390_vistrhs((__vector
unsigned short)
__a, __cc);
9512vec_cp_until_zero_cc(__vector
unsigned short __a,
int *__cc) {
9513 return __builtin_s390_vistrhs(
__a, __cc);
9517vec_cp_until_zero_cc(__vector
signed int __a,
int *__cc) {
9518 return (__vector
signed int)
9519 __builtin_s390_vistrfs((__vector
unsigned int)
__a, __cc);
9523vec_cp_until_zero_cc(__vector __bool
int __a,
int *__cc) {
9524 return (__vector __bool
int)
9525 __builtin_s390_vistrfs((__vector
unsigned int)
__a, __cc);
9529vec_cp_until_zero_cc(__vector
unsigned int __a,
int *__cc) {
9530 return __builtin_s390_vistrfs(
__a, __cc);
9536vec_cmpeq_idx(__vector
signed char __a, __vector
signed char __b) {
9537 return (__vector
signed char)
9538 __builtin_s390_vfeeb((__vector
unsigned char)
__a,
9539 (__vector
unsigned char)
__b);
9543vec_cmpeq_idx(__vector __bool
char __a, __vector __bool
char __b) {
9544 return __builtin_s390_vfeeb((__vector
unsigned char)
__a,
9545 (__vector
unsigned char)
__b);
9549vec_cmpeq_idx(__vector
unsigned char __a, __vector
unsigned char __b) {
9550 return __builtin_s390_vfeeb(
__a,
__b);
9554vec_cmpeq_idx(__vector
signed short __a, __vector
signed short __b) {
9555 return (__vector
signed short)
9556 __builtin_s390_vfeeh((__vector
unsigned short)
__a,
9557 (__vector
unsigned short)
__b);
9561vec_cmpeq_idx(__vector __bool
short __a, __vector __bool
short __b) {
9562 return __builtin_s390_vfeeh((__vector
unsigned short)
__a,
9563 (__vector
unsigned short)
__b);
9567vec_cmpeq_idx(__vector
unsigned short __a, __vector
unsigned short __b) {
9568 return __builtin_s390_vfeeh(
__a,
__b);
9572vec_cmpeq_idx(__vector
signed int __a, __vector
signed int __b) {
9573 return (__vector
signed int)
9574 __builtin_s390_vfeef((__vector
unsigned int)
__a,
9575 (__vector
unsigned int)
__b);
9579vec_cmpeq_idx(__vector __bool
int __a, __vector __bool
int __b) {
9580 return __builtin_s390_vfeef((__vector
unsigned int)
__a,
9581 (__vector
unsigned int)
__b);
9585vec_cmpeq_idx(__vector
unsigned int __a, __vector
unsigned int __b) {
9586 return __builtin_s390_vfeef(
__a,
__b);
9592vec_cmpeq_idx_cc(__vector
signed char __a, __vector
signed char __b,
int *__cc) {
9593 return (__vector
signed char)
9594 __builtin_s390_vfeebs((__vector
unsigned char)
__a,
9595 (__vector
unsigned char)
__b, __cc);
9599vec_cmpeq_idx_cc(__vector __bool
char __a, __vector __bool
char __b,
int *__cc) {
9600 return __builtin_s390_vfeebs((__vector
unsigned char)
__a,
9601 (__vector
unsigned char)
__b, __cc);
9605vec_cmpeq_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
9607 return __builtin_s390_vfeebs(
__a,
__b, __cc);
9611vec_cmpeq_idx_cc(__vector
signed short __a, __vector
signed short __b,
9613 return (__vector
signed short)
9614 __builtin_s390_vfeehs((__vector
unsigned short)
__a,
9615 (__vector
unsigned short)
__b, __cc);
9619vec_cmpeq_idx_cc(__vector __bool
short __a, __vector __bool
short __b,
int *__cc) {
9620 return __builtin_s390_vfeehs((__vector
unsigned short)
__a,
9621 (__vector
unsigned short)
__b, __cc);
9625vec_cmpeq_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
9627 return __builtin_s390_vfeehs(
__a,
__b, __cc);
9631vec_cmpeq_idx_cc(__vector
signed int __a, __vector
signed int __b,
int *__cc) {
9632 return (__vector
signed int)
9633 __builtin_s390_vfeefs((__vector
unsigned int)
__a,
9634 (__vector
unsigned int)
__b, __cc);
9638vec_cmpeq_idx_cc(__vector __bool
int __a, __vector __bool
int __b,
int *__cc) {
9639 return __builtin_s390_vfeefs((__vector
unsigned int)
__a,
9640 (__vector
unsigned int)
__b, __cc);
9644vec_cmpeq_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
9646 return __builtin_s390_vfeefs(
__a,
__b, __cc);
9652vec_cmpeq_or_0_idx(__vector
signed char __a, __vector
signed char __b) {
9653 return (__vector
signed char)
9654 __builtin_s390_vfeezb((__vector
unsigned char)
__a,
9655 (__vector
unsigned char)
__b);
9659vec_cmpeq_or_0_idx(__vector __bool
char __a, __vector __bool
char __b) {
9660 return __builtin_s390_vfeezb((__vector
unsigned char)
__a,
9661 (__vector
unsigned char)
__b);
9665vec_cmpeq_or_0_idx(__vector
unsigned char __a, __vector
unsigned char __b) {
9666 return __builtin_s390_vfeezb(
__a,
__b);
9670vec_cmpeq_or_0_idx(__vector
signed short __a, __vector
signed short __b) {
9671 return (__vector
signed short)
9672 __builtin_s390_vfeezh((__vector
unsigned short)
__a,
9673 (__vector
unsigned short)
__b);
9677vec_cmpeq_or_0_idx(__vector __bool
short __a, __vector __bool
short __b) {
9678 return __builtin_s390_vfeezh((__vector
unsigned short)
__a,
9679 (__vector
unsigned short)
__b);
9683vec_cmpeq_or_0_idx(__vector
unsigned short __a, __vector
unsigned short __b) {
9684 return __builtin_s390_vfeezh(
__a,
__b);
9688vec_cmpeq_or_0_idx(__vector
signed int __a, __vector
signed int __b) {
9689 return (__vector
signed int)
9690 __builtin_s390_vfeezf((__vector
unsigned int)
__a,
9691 (__vector
unsigned int)
__b);
9695vec_cmpeq_or_0_idx(__vector __bool
int __a, __vector __bool
int __b) {
9696 return __builtin_s390_vfeezf((__vector
unsigned int)
__a,
9697 (__vector
unsigned int)
__b);
9701vec_cmpeq_or_0_idx(__vector
unsigned int __a, __vector
unsigned int __b) {
9702 return __builtin_s390_vfeezf(
__a,
__b);
9708vec_cmpeq_or_0_idx_cc(__vector
signed char __a, __vector
signed char __b,
9710 return (__vector
signed char)
9711 __builtin_s390_vfeezbs((__vector
unsigned char)
__a,
9712 (__vector
unsigned char)
__b, __cc);
9716vec_cmpeq_or_0_idx_cc(__vector __bool
char __a, __vector __bool
char __b,
9718 return __builtin_s390_vfeezbs((__vector
unsigned char)
__a,
9719 (__vector
unsigned char)
__b, __cc);
9723vec_cmpeq_or_0_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
9725 return __builtin_s390_vfeezbs(
__a,
__b, __cc);
9729vec_cmpeq_or_0_idx_cc(__vector
signed short __a, __vector
signed short __b,
9731 return (__vector
signed short)
9732 __builtin_s390_vfeezhs((__vector
unsigned short)
__a,
9733 (__vector
unsigned short)
__b, __cc);
9737vec_cmpeq_or_0_idx_cc(__vector __bool
short __a, __vector __bool
short __b,
9739 return __builtin_s390_vfeezhs((__vector
unsigned short)
__a,
9740 (__vector
unsigned short)
__b, __cc);
9744vec_cmpeq_or_0_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
9746 return __builtin_s390_vfeezhs(
__a,
__b, __cc);
9750vec_cmpeq_or_0_idx_cc(__vector
signed int __a, __vector
signed int __b,
9752 return (__vector
signed int)
9753 __builtin_s390_vfeezfs((__vector
unsigned int)
__a,
9754 (__vector
unsigned int)
__b, __cc);
9758vec_cmpeq_or_0_idx_cc(__vector __bool
int __a, __vector __bool
int __b,
9760 return __builtin_s390_vfeezfs((__vector
unsigned int)
__a,
9761 (__vector
unsigned int)
__b, __cc);
9765vec_cmpeq_or_0_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
9767 return __builtin_s390_vfeezfs(
__a,
__b, __cc);
9773vec_cmpne_idx(__vector
signed char __a, __vector
signed char __b) {
9774 return (__vector
signed char)
9775 __builtin_s390_vfeneb((__vector
unsigned char)
__a,
9776 (__vector
unsigned char)
__b);
9780vec_cmpne_idx(__vector __bool
char __a, __vector __bool
char __b) {
9781 return __builtin_s390_vfeneb((__vector
unsigned char)
__a,
9782 (__vector
unsigned char)
__b);
9786vec_cmpne_idx(__vector
unsigned char __a, __vector
unsigned char __b) {
9787 return __builtin_s390_vfeneb(
__a,
__b);
9791vec_cmpne_idx(__vector
signed short __a, __vector
signed short __b) {
9792 return (__vector
signed short)
9793 __builtin_s390_vfeneh((__vector
unsigned short)
__a,
9794 (__vector
unsigned short)
__b);
9798vec_cmpne_idx(__vector __bool
short __a, __vector __bool
short __b) {
9799 return __builtin_s390_vfeneh((__vector
unsigned short)
__a,
9800 (__vector
unsigned short)
__b);
9804vec_cmpne_idx(__vector
unsigned short __a, __vector
unsigned short __b) {
9805 return __builtin_s390_vfeneh(
__a,
__b);
9809vec_cmpne_idx(__vector
signed int __a, __vector
signed int __b) {
9810 return (__vector
signed int)
9811 __builtin_s390_vfenef((__vector
unsigned int)
__a,
9812 (__vector
unsigned int)
__b);
9816vec_cmpne_idx(__vector __bool
int __a, __vector __bool
int __b) {
9817 return __builtin_s390_vfenef((__vector
unsigned int)
__a,
9818 (__vector
unsigned int)
__b);
9822vec_cmpne_idx(__vector
unsigned int __a, __vector
unsigned int __b) {
9823 return __builtin_s390_vfenef(
__a,
__b);
9829vec_cmpne_idx_cc(__vector
signed char __a, __vector
signed char __b,
int *__cc) {
9830 return (__vector
signed char)
9831 __builtin_s390_vfenebs((__vector
unsigned char)
__a,
9832 (__vector
unsigned char)
__b, __cc);
9836vec_cmpne_idx_cc(__vector __bool
char __a, __vector __bool
char __b,
int *__cc) {
9837 return __builtin_s390_vfenebs((__vector
unsigned char)
__a,
9838 (__vector
unsigned char)
__b, __cc);
9842vec_cmpne_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
9844 return __builtin_s390_vfenebs(
__a,
__b, __cc);
9848vec_cmpne_idx_cc(__vector
signed short __a, __vector
signed short __b,
9850 return (__vector
signed short)
9851 __builtin_s390_vfenehs((__vector
unsigned short)
__a,
9852 (__vector
unsigned short)
__b, __cc);
9856vec_cmpne_idx_cc(__vector __bool
short __a, __vector __bool
short __b,
9858 return __builtin_s390_vfenehs((__vector
unsigned short)
__a,
9859 (__vector
unsigned short)
__b, __cc);
9863vec_cmpne_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
9865 return __builtin_s390_vfenehs(
__a,
__b, __cc);
9869vec_cmpne_idx_cc(__vector
signed int __a, __vector
signed int __b,
int *__cc) {
9870 return (__vector
signed int)
9871 __builtin_s390_vfenefs((__vector
unsigned int)
__a,
9872 (__vector
unsigned int)
__b, __cc);
9876vec_cmpne_idx_cc(__vector __bool
int __a, __vector __bool
int __b,
int *__cc) {
9877 return __builtin_s390_vfenefs((__vector
unsigned int)
__a,
9878 (__vector
unsigned int)
__b, __cc);
9882vec_cmpne_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
9884 return __builtin_s390_vfenefs(
__a,
__b, __cc);
9890vec_cmpne_or_0_idx(__vector
signed char __a, __vector
signed char __b) {
9891 return (__vector
signed char)
9892 __builtin_s390_vfenezb((__vector
unsigned char)
__a,
9893 (__vector
unsigned char)
__b);
9897vec_cmpne_or_0_idx(__vector __bool
char __a, __vector __bool
char __b) {
9898 return __builtin_s390_vfenezb((__vector
unsigned char)
__a,
9899 (__vector
unsigned char)
__b);
9903vec_cmpne_or_0_idx(__vector
unsigned char __a, __vector
unsigned char __b) {
9904 return __builtin_s390_vfenezb(
__a,
__b);
9908vec_cmpne_or_0_idx(__vector
signed short __a, __vector
signed short __b) {
9909 return (__vector
signed short)
9910 __builtin_s390_vfenezh((__vector
unsigned short)
__a,
9911 (__vector
unsigned short)
__b);
9915vec_cmpne_or_0_idx(__vector __bool
short __a, __vector __bool
short __b) {
9916 return __builtin_s390_vfenezh((__vector
unsigned short)
__a,
9917 (__vector
unsigned short)
__b);
9921vec_cmpne_or_0_idx(__vector
unsigned short __a, __vector
unsigned short __b) {
9922 return __builtin_s390_vfenezh(
__a,
__b);
9926vec_cmpne_or_0_idx(__vector
signed int __a, __vector
signed int __b) {
9927 return (__vector
signed int)
9928 __builtin_s390_vfenezf((__vector
unsigned int)
__a,
9929 (__vector
unsigned int)
__b);
9933vec_cmpne_or_0_idx(__vector __bool
int __a, __vector __bool
int __b) {
9934 return __builtin_s390_vfenezf((__vector
unsigned int)
__a,
9935 (__vector
unsigned int)
__b);
9939vec_cmpne_or_0_idx(__vector
unsigned int __a, __vector
unsigned int __b) {
9940 return __builtin_s390_vfenezf(
__a,
__b);
9946vec_cmpne_or_0_idx_cc(__vector
signed char __a, __vector
signed char __b,
9948 return (__vector
signed char)
9949 __builtin_s390_vfenezbs((__vector
unsigned char)
__a,
9950 (__vector
unsigned char)
__b, __cc);
9954vec_cmpne_or_0_idx_cc(__vector __bool
char __a, __vector __bool
char __b,
9956 return __builtin_s390_vfenezbs((__vector
unsigned char)
__a,
9957 (__vector
unsigned char)
__b, __cc);
9961vec_cmpne_or_0_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
9963 return __builtin_s390_vfenezbs(
__a,
__b, __cc);
9967vec_cmpne_or_0_idx_cc(__vector
signed short __a, __vector
signed short __b,
9969 return (__vector
signed short)
9970 __builtin_s390_vfenezhs((__vector
unsigned short)
__a,
9971 (__vector
unsigned short)
__b, __cc);
9975vec_cmpne_or_0_idx_cc(__vector __bool
short __a, __vector __bool
short __b,
9977 return __builtin_s390_vfenezhs((__vector
unsigned short)
__a,
9978 (__vector
unsigned short)
__b, __cc);
9982vec_cmpne_or_0_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
9984 return __builtin_s390_vfenezhs(
__a,
__b, __cc);
9988vec_cmpne_or_0_idx_cc(__vector
signed int __a, __vector
signed int __b,
9990 return (__vector
signed int)
9991 __builtin_s390_vfenezfs((__vector
unsigned int)
__a,
9992 (__vector
unsigned int)
__b, __cc);
9996vec_cmpne_or_0_idx_cc(__vector __bool
int __a, __vector __bool
int __b,
9998 return __builtin_s390_vfenezfs((__vector
unsigned int)
__a,
9999 (__vector
unsigned int)
__b, __cc);
10003vec_cmpne_or_0_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
10005 return __builtin_s390_vfenezfs(
__a,
__b, __cc);
10011vec_cmprg(__vector
unsigned char __a, __vector
unsigned char __b,
10012 __vector
unsigned char __c) {
10013 return (__vector __bool
char)__builtin_s390_vstrcb(
__a,
__b,
__c, 4);
10017vec_cmprg(__vector
unsigned short __a, __vector
unsigned short __b,
10018 __vector
unsigned short __c) {
10019 return (__vector __bool
short)__builtin_s390_vstrch(
__a,
__b,
__c, 4);
10023vec_cmprg(__vector
unsigned int __a, __vector
unsigned int __b,
10024 __vector
unsigned int __c) {
10025 return (__vector __bool
int)__builtin_s390_vstrcf(
__a,
__b,
__c, 4);
10031vec_cmprg_cc(__vector
unsigned char __a, __vector
unsigned char __b,
10032 __vector
unsigned char __c,
int *__cc) {
10033 return (__vector __bool
char)__builtin_s390_vstrcbs(
__a,
__b,
__c, 4, __cc);
10037vec_cmprg_cc(__vector
unsigned short __a, __vector
unsigned short __b,
10038 __vector
unsigned short __c,
int *__cc) {
10039 return (__vector __bool
short)__builtin_s390_vstrchs(
__a,
__b,
__c, 4, __cc);
10043vec_cmprg_cc(__vector
unsigned int __a, __vector
unsigned int __b,
10044 __vector
unsigned int __c,
int *__cc) {
10045 return (__vector __bool
int)__builtin_s390_vstrcfs(
__a,
__b,
__c, 4, __cc);
10051vec_cmprg_idx(__vector
unsigned char __a, __vector
unsigned char __b,
10052 __vector
unsigned char __c) {
10053 return __builtin_s390_vstrcb(
__a,
__b,
__c, 0);
10057vec_cmprg_idx(__vector
unsigned short __a, __vector
unsigned short __b,
10058 __vector
unsigned short __c) {
10059 return __builtin_s390_vstrch(
__a,
__b,
__c, 0);
10063vec_cmprg_idx(__vector
unsigned int __a, __vector
unsigned int __b,
10064 __vector
unsigned int __c) {
10065 return __builtin_s390_vstrcf(
__a,
__b,
__c, 0);
10071vec_cmprg_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
10072 __vector
unsigned char __c,
int *__cc) {
10073 return __builtin_s390_vstrcbs(
__a,
__b,
__c, 0, __cc);
10077vec_cmprg_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
10078 __vector
unsigned short __c,
int *__cc) {
10079 return __builtin_s390_vstrchs(
__a,
__b,
__c, 0, __cc);
10083vec_cmprg_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
10084 __vector
unsigned int __c,
int *__cc) {
10085 return __builtin_s390_vstrcfs(
__a,
__b,
__c, 0, __cc);
10091vec_cmprg_or_0_idx(__vector
unsigned char __a, __vector
unsigned char __b,
10092 __vector
unsigned char __c) {
10093 return __builtin_s390_vstrczb(
__a,
__b,
__c, 0);
10097vec_cmprg_or_0_idx(__vector
unsigned short __a, __vector
unsigned short __b,
10098 __vector
unsigned short __c) {
10099 return __builtin_s390_vstrczh(
__a,
__b,
__c, 0);
10103vec_cmprg_or_0_idx(__vector
unsigned int __a, __vector
unsigned int __b,
10104 __vector
unsigned int __c) {
10105 return __builtin_s390_vstrczf(
__a,
__b,
__c, 0);
10111vec_cmprg_or_0_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
10112 __vector
unsigned char __c,
int *__cc) {
10113 return __builtin_s390_vstrczbs(
__a,
__b,
__c, 0, __cc);
10117vec_cmprg_or_0_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
10118 __vector
unsigned short __c,
int *__cc) {
10119 return __builtin_s390_vstrczhs(
__a,
__b,
__c, 0, __cc);
10123vec_cmprg_or_0_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
10124 __vector
unsigned int __c,
int *__cc) {
10125 return __builtin_s390_vstrczfs(
__a,
__b,
__c, 0, __cc);
10131vec_cmpnrg(__vector
unsigned char __a, __vector
unsigned char __b,
10132 __vector
unsigned char __c) {
10133 return (__vector __bool
char)__builtin_s390_vstrcb(
__a,
__b,
__c, 12);
10137vec_cmpnrg(__vector
unsigned short __a, __vector
unsigned short __b,
10138 __vector
unsigned short __c) {
10139 return (__vector __bool
short)__builtin_s390_vstrch(
__a,
__b,
__c, 12);
10143vec_cmpnrg(__vector
unsigned int __a, __vector
unsigned int __b,
10144 __vector
unsigned int __c) {
10145 return (__vector __bool
int)__builtin_s390_vstrcf(
__a,
__b,
__c, 12);
10151vec_cmpnrg_cc(__vector
unsigned char __a, __vector
unsigned char __b,
10152 __vector
unsigned char __c,
int *__cc) {
10153 return (__vector __bool
char)
10154 __builtin_s390_vstrcbs(
__a,
__b,
__c, 12, __cc);
10158vec_cmpnrg_cc(__vector
unsigned short __a, __vector
unsigned short __b,
10159 __vector
unsigned short __c,
int *__cc) {
10160 return (__vector __bool
short)
10161 __builtin_s390_vstrchs(
__a,
__b,
__c, 12, __cc);
10165vec_cmpnrg_cc(__vector
unsigned int __a, __vector
unsigned int __b,
10166 __vector
unsigned int __c,
int *__cc) {
10167 return (__vector __bool
int)
10168 __builtin_s390_vstrcfs(
__a,
__b,
__c, 12, __cc);
10174vec_cmpnrg_idx(__vector
unsigned char __a, __vector
unsigned char __b,
10175 __vector
unsigned char __c) {
10176 return __builtin_s390_vstrcb(
__a,
__b,
__c, 8);
10180vec_cmpnrg_idx(__vector
unsigned short __a, __vector
unsigned short __b,
10181 __vector
unsigned short __c) {
10182 return __builtin_s390_vstrch(
__a,
__b,
__c, 8);
10186vec_cmpnrg_idx(__vector
unsigned int __a, __vector
unsigned int __b,
10187 __vector
unsigned int __c) {
10188 return __builtin_s390_vstrcf(
__a,
__b,
__c, 8);
10194vec_cmpnrg_idx_cc(__vector
unsigned char __a, __vector
unsigned char __b,
10195 __vector
unsigned char __c,
int *__cc) {
10196 return __builtin_s390_vstrcbs(
__a,
__b,
__c, 8, __cc);
10200vec_cmpnrg_idx_cc(__vector
unsigned short __a, __vector
unsigned short __b,
10201 __vector
unsigned short __c,
int *__cc) {
10202 return __builtin_s390_vstrchs(
__a,
__b,
__c, 8, __cc);
10206vec_cmpnrg_idx_cc(__vector
unsigned int __a, __vector
unsigned int __b,
10207 __vector
unsigned int __c,
int *__cc) {
10208 return __builtin_s390_vstrcfs(
__a,
__b,
__c, 8, __cc);
10214vec_cmpnrg_or_0_idx(__vector
unsigned char __a, __vector
unsigned char __b,
10215 __vector
unsigned char __c) {
10216 return __builtin_s390_vstrczb(
__a,
__b,
__c, 8);
10220vec_cmpnrg_or_0_idx(__vector
unsigned short __a, __vector
unsigned short __b,
10221 __vector
unsigned short __c) {
10222 return __builtin_s390_vstrczh(
__a,
__b,
__c, 8);
10226vec_cmpnrg_or_0_idx(__vector
unsigned int __a, __vector
unsigned int __b,
10227 __vector
unsigned int __c) {
10228 return __builtin_s390_vstrczf(
__a,
__b,
__c, 8);
10234vec_cmpnrg_or_0_idx_cc(__vector
unsigned char __a,
10235 __vector
unsigned char __b,
10236 __vector
unsigned char __c,
int *__cc) {
10237 return __builtin_s390_vstrczbs(
__a,
__b,
__c, 8, __cc);
10241vec_cmpnrg_or_0_idx_cc(__vector
unsigned short __a,
10242 __vector
unsigned short __b,
10243 __vector
unsigned short __c,
int *__cc) {
10244 return __builtin_s390_vstrczhs(
__a,
__b,
__c, 8, __cc);
10248vec_cmpnrg_or_0_idx_cc(__vector
unsigned int __a,
10249 __vector
unsigned int __b,
10250 __vector
unsigned int __c,
int *__cc) {
10251 return __builtin_s390_vstrczfs(
__a,
__b,
__c, 8, __cc);
10257vec_find_any_eq(__vector
signed char __a, __vector
signed char __b) {
10258 return (__vector __bool
char)
10259 __builtin_s390_vfaeb((__vector
unsigned char)
__a,
10260 (__vector
unsigned char)
__b, 4);
10264vec_find_any_eq(__vector __bool
char __a, __vector __bool
char __b) {
10265 return (__vector __bool
char)
10266 __builtin_s390_vfaeb((__vector
unsigned char)
__a,
10267 (__vector
unsigned char)
__b, 4);
10271vec_find_any_eq(__vector
unsigned char __a, __vector
unsigned char __b) {
10272 return (__vector __bool
char)__builtin_s390_vfaeb(
__a,
__b, 4);
10276vec_find_any_eq(__vector
signed short __a, __vector
signed short __b) {
10277 return (__vector __bool
short)
10278 __builtin_s390_vfaeh((__vector
unsigned short)
__a,
10279 (__vector
unsigned short)
__b, 4);
10283vec_find_any_eq(__vector __bool
short __a, __vector __bool
short __b) {
10284 return (__vector __bool
short)
10285 __builtin_s390_vfaeh((__vector
unsigned short)
__a,
10286 (__vector
unsigned short)
__b, 4);
10290vec_find_any_eq(__vector
unsigned short __a, __vector
unsigned short __b) {
10291 return (__vector __bool
short)__builtin_s390_vfaeh(
__a,
__b, 4);
10295vec_find_any_eq(__vector
signed int __a, __vector
signed int __b) {
10296 return (__vector __bool
int)
10297 __builtin_s390_vfaef((__vector
unsigned int)
__a,
10298 (__vector
unsigned int)
__b, 4);
10302vec_find_any_eq(__vector __bool
int __a, __vector __bool
int __b) {
10303 return (__vector __bool
int)
10304 __builtin_s390_vfaef((__vector
unsigned int)
__a,
10305 (__vector
unsigned int)
__b, 4);
10309vec_find_any_eq(__vector
unsigned int __a, __vector
unsigned int __b) {
10310 return (__vector __bool
int)__builtin_s390_vfaef(
__a,
__b, 4);
10316vec_find_any_eq_cc(__vector
signed char __a, __vector
signed char __b,
10318 return (__vector __bool
char)
10319 __builtin_s390_vfaebs((__vector
unsigned char)
__a,
10320 (__vector
unsigned char)
__b, 4, __cc);
10324vec_find_any_eq_cc(__vector __bool
char __a, __vector __bool
char __b,
10326 return (__vector __bool
char)
10327 __builtin_s390_vfaebs((__vector
unsigned char)
__a,
10328 (__vector
unsigned char)
__b, 4, __cc);
10332vec_find_any_eq_cc(__vector
unsigned char __a, __vector
unsigned char __b,
10334 return (__vector __bool
char)__builtin_s390_vfaebs(
__a,
__b, 4, __cc);
10338vec_find_any_eq_cc(__vector
signed short __a, __vector
signed short __b,
10340 return (__vector __bool
short)
10341 __builtin_s390_vfaehs((__vector
unsigned short)
__a,
10342 (__vector
unsigned short)
__b, 4, __cc);
10346vec_find_any_eq_cc(__vector __bool
short __a, __vector __bool
short __b,
10348 return (__vector __bool
short)
10349 __builtin_s390_vfaehs((__vector
unsigned short)
__a,
10350 (__vector
unsigned short)
__b, 4, __cc);
10354vec_find_any_eq_cc(__vector
unsigned short __a, __vector
unsigned short __b,
10356 return (__vector __bool
short)__builtin_s390_vfaehs(
__a,
__b, 4, __cc);
10360vec_find_any_eq_cc(__vector
signed int __a, __vector
signed int __b,
10362 return (__vector __bool
int)
10363 __builtin_s390_vfaefs((__vector
unsigned int)
__a,
10364 (__vector
unsigned int)
__b, 4, __cc);
10368vec_find_any_eq_cc(__vector __bool
int __a, __vector __bool
int __b,
10370 return (__vector __bool
int)
10371 __builtin_s390_vfaefs((__vector
unsigned int)
__a,
10372 (__vector
unsigned int)
__b, 4, __cc);
10376vec_find_any_eq_cc(__vector
unsigned int __a, __vector
unsigned int __b,
10378 return (__vector __bool
int)__builtin_s390_vfaefs(
__a,
__b, 4, __cc);
10384vec_find_any_eq_idx(__vector
signed char __a, __vector
signed char __b) {
10385 return (__vector
signed char)
10386 __builtin_s390_vfaeb((__vector
unsigned char)
__a,
10387 (__vector
unsigned char)
__b, 0);
10391vec_find_any_eq_idx(__vector __bool
char __a, __vector __bool
char __b) {
10392 return __builtin_s390_vfaeb((__vector
unsigned char)
__a,
10393 (__vector
unsigned char)
__b, 0);
10397vec_find_any_eq_idx(__vector
unsigned char __a, __vector
unsigned char __b) {
10398 return __builtin_s390_vfaeb(
__a,
__b, 0);
10402vec_find_any_eq_idx(__vector
signed short __a, __vector
signed short __b) {
10403 return (__vector
signed short)
10404 __builtin_s390_vfaeh((__vector
unsigned short)
__a,
10405 (__vector
unsigned short)
__b, 0);
10409vec_find_any_eq_idx(__vector __bool
short __a, __vector __bool
short __b) {
10410 return __builtin_s390_vfaeh((__vector
unsigned short)
__a,
10411 (__vector
unsigned short)
__b, 0);
10415vec_find_any_eq_idx(__vector
unsigned short __a, __vector
unsigned short __b) {
10416 return __builtin_s390_vfaeh(
__a,
__b, 0);
10420vec_find_any_eq_idx(__vector
signed int __a, __vector
signed int __b) {
10421 return (__vector
signed int)
10422 __builtin_s390_vfaef((__vector
unsigned int)
__a,
10423 (__vector
unsigned int)
__b, 0);
10427vec_find_any_eq_idx(__vector __bool
int __a, __vector __bool
int __b) {
10428 return __builtin_s390_vfaef((__vector
unsigned int)
__a,
10429 (__vector
unsigned int)
__b, 0);
10433vec_find_any_eq_idx(__vector
unsigned int __a, __vector
unsigned int __b) {
10434 return __builtin_s390_vfaef(
__a,
__b, 0);
10440vec_find_any_eq_idx_cc(__vector
signed char __a,
10441 __vector
signed char __b,
int *__cc) {
10442 return (__vector
signed char)
10443 __builtin_s390_vfaebs((__vector
unsigned char)
__a,
10444 (__vector
unsigned char)
__b, 0, __cc);
10448vec_find_any_eq_idx_cc(__vector __bool
char __a,
10449 __vector __bool
char __b,
int *__cc) {
10450 return __builtin_s390_vfaebs((__vector
unsigned char)
__a,
10451 (__vector
unsigned char)
__b, 0, __cc);
10455vec_find_any_eq_idx_cc(__vector
unsigned char __a,
10456 __vector
unsigned char __b,
int *__cc) {
10457 return __builtin_s390_vfaebs(
__a,
__b, 0, __cc);
10461vec_find_any_eq_idx_cc(__vector
signed short __a,
10462 __vector
signed short __b,
int *__cc) {
10463 return (__vector
signed short)
10464 __builtin_s390_vfaehs((__vector
unsigned short)
__a,
10465 (__vector
unsigned short)
__b, 0, __cc);
10469vec_find_any_eq_idx_cc(__vector __bool
short __a,
10470 __vector __bool
short __b,
int *__cc) {
10471 return __builtin_s390_vfaehs((__vector
unsigned short)
__a,
10472 (__vector
unsigned short)
__b, 0, __cc);
10476vec_find_any_eq_idx_cc(__vector
unsigned short __a,
10477 __vector
unsigned short __b,
int *__cc) {
10478 return __builtin_s390_vfaehs(
__a,
__b, 0, __cc);
10482vec_find_any_eq_idx_cc(__vector
signed int __a,
10483 __vector
signed int __b,
int *__cc) {
10484 return (__vector
signed int)
10485 __builtin_s390_vfaefs((__vector
unsigned int)
__a,
10486 (__vector
unsigned int)
__b, 0, __cc);
10490vec_find_any_eq_idx_cc(__vector __bool
int __a,
10491 __vector __bool
int __b,
int *__cc) {
10492 return __builtin_s390_vfaefs((__vector
unsigned int)
__a,
10493 (__vector
unsigned int)
__b, 0, __cc);
10497vec_find_any_eq_idx_cc(__vector
unsigned int __a,
10498 __vector
unsigned int __b,
int *__cc) {
10499 return __builtin_s390_vfaefs(
__a,
__b, 0, __cc);
10505vec_find_any_eq_or_0_idx(__vector
signed char __a,
10506 __vector
signed char __b) {
10507 return (__vector
signed char)
10508 __builtin_s390_vfaezb((__vector
unsigned char)
__a,
10509 (__vector
unsigned char)
__b, 0);
10513vec_find_any_eq_or_0_idx(__vector __bool
char __a,
10514 __vector __bool
char __b) {
10515 return __builtin_s390_vfaezb((__vector
unsigned char)
__a,
10516 (__vector
unsigned char)
__b, 0);
10520vec_find_any_eq_or_0_idx(__vector
unsigned char __a,
10521 __vector
unsigned char __b) {
10522 return __builtin_s390_vfaezb(
__a,
__b, 0);
10526vec_find_any_eq_or_0_idx(__vector
signed short __a,
10527 __vector
signed short __b) {
10528 return (__vector
signed short)
10529 __builtin_s390_vfaezh((__vector
unsigned short)
__a,
10530 (__vector
unsigned short)
__b, 0);
10534vec_find_any_eq_or_0_idx(__vector __bool
short __a,
10535 __vector __bool
short __b) {
10536 return __builtin_s390_vfaezh((__vector
unsigned short)
__a,
10537 (__vector
unsigned short)
__b, 0);
10541vec_find_any_eq_or_0_idx(__vector
unsigned short __a,
10542 __vector
unsigned short __b) {
10543 return __builtin_s390_vfaezh(
__a,
__b, 0);
10547vec_find_any_eq_or_0_idx(__vector
signed int __a,
10548 __vector
signed int __b) {
10549 return (__vector
signed int)
10550 __builtin_s390_vfaezf((__vector
unsigned int)
__a,
10551 (__vector
unsigned int)
__b, 0);
10555vec_find_any_eq_or_0_idx(__vector __bool
int __a,
10556 __vector __bool
int __b) {
10557 return __builtin_s390_vfaezf((__vector
unsigned int)
__a,
10558 (__vector
unsigned int)
__b, 0);
10562vec_find_any_eq_or_0_idx(__vector
unsigned int __a,
10563 __vector
unsigned int __b) {
10564 return __builtin_s390_vfaezf(
__a,
__b, 0);
10570vec_find_any_eq_or_0_idx_cc(__vector
signed char __a,
10571 __vector
signed char __b,
int *__cc) {
10572 return (__vector
signed char)
10573 __builtin_s390_vfaezbs((__vector
unsigned char)
__a,
10574 (__vector
unsigned char)
__b, 0, __cc);
10578vec_find_any_eq_or_0_idx_cc(__vector __bool
char __a,
10579 __vector __bool
char __b,
int *__cc) {
10580 return __builtin_s390_vfaezbs((__vector
unsigned char)
__a,
10581 (__vector
unsigned char)
__b, 0, __cc);
10585vec_find_any_eq_or_0_idx_cc(__vector
unsigned char __a,
10586 __vector
unsigned char __b,
int *__cc) {
10587 return __builtin_s390_vfaezbs(
__a,
__b, 0, __cc);
10591vec_find_any_eq_or_0_idx_cc(__vector
signed short __a,
10592 __vector
signed short __b,
int *__cc) {
10593 return (__vector
signed short)
10594 __builtin_s390_vfaezhs((__vector
unsigned short)
__a,
10595 (__vector
unsigned short)
__b, 0, __cc);
10599vec_find_any_eq_or_0_idx_cc(__vector __bool
short __a,
10600 __vector __bool
short __b,
int *__cc) {
10601 return __builtin_s390_vfaezhs((__vector
unsigned short)
__a,
10602 (__vector
unsigned short)
__b, 0, __cc);
10606vec_find_any_eq_or_0_idx_cc(__vector
unsigned short __a,
10607 __vector
unsigned short __b,
int *__cc) {
10608 return __builtin_s390_vfaezhs(
__a,
__b, 0, __cc);
10612vec_find_any_eq_or_0_idx_cc(__vector
signed int __a,
10613 __vector
signed int __b,
int *__cc) {
10614 return (__vector
signed int)
10615 __builtin_s390_vfaezfs((__vector
unsigned int)
__a,
10616 (__vector
unsigned int)
__b, 0, __cc);
10620vec_find_any_eq_or_0_idx_cc(__vector __bool
int __a,
10621 __vector __bool
int __b,
int *__cc) {
10622 return __builtin_s390_vfaezfs((__vector
unsigned int)
__a,
10623 (__vector
unsigned int)
__b, 0, __cc);
10627vec_find_any_eq_or_0_idx_cc(__vector
unsigned int __a,
10628 __vector
unsigned int __b,
int *__cc) {
10629 return __builtin_s390_vfaezfs(
__a,
__b, 0, __cc);
10635vec_find_any_ne(__vector
signed char __a, __vector
signed char __b) {
10636 return (__vector __bool
char)
10637 __builtin_s390_vfaeb((__vector
unsigned char)
__a,
10638 (__vector
unsigned char)
__b, 12);
10642vec_find_any_ne(__vector __bool
char __a, __vector __bool
char __b) {
10643 return (__vector __bool
char)
10644 __builtin_s390_vfaeb((__vector
unsigned char)
__a,
10645 (__vector
unsigned char)
__b, 12);
10649vec_find_any_ne(__vector
unsigned char __a, __vector
unsigned char __b) {
10650 return (__vector __bool
char)__builtin_s390_vfaeb(
__a,
__b, 12);
10654vec_find_any_ne(__vector
signed short __a, __vector
signed short __b) {
10655 return (__vector __bool
short)
10656 __builtin_s390_vfaeh((__vector
unsigned short)
__a,
10657 (__vector
unsigned short)
__b, 12);
10661vec_find_any_ne(__vector __bool
short __a, __vector __bool
short __b) {
10662 return (__vector __bool
short)
10663 __builtin_s390_vfaeh((__vector
unsigned short)
__a,
10664 (__vector
unsigned short)
__b, 12);
10668vec_find_any_ne(__vector
unsigned short __a, __vector
unsigned short __b) {
10669 return (__vector __bool
short)__builtin_s390_vfaeh(
__a,
__b, 12);
10673vec_find_any_ne(__vector
signed int __a, __vector
signed int __b) {
10674 return (__vector __bool
int)
10675 __builtin_s390_vfaef((__vector
unsigned int)
__a,
10676 (__vector
unsigned int)
__b, 12);
10680vec_find_any_ne(__vector __bool
int __a, __vector __bool
int __b) {
10681 return (__vector __bool
int)
10682 __builtin_s390_vfaef((__vector
unsigned int)
__a,
10683 (__vector
unsigned int)
__b, 12);
10687vec_find_any_ne(__vector
unsigned int __a, __vector
unsigned int __b) {
10688 return (__vector __bool
int)__builtin_s390_vfaef(
__a,
__b, 12);
10694vec_find_any_ne_cc(__vector
signed char __a,
10695 __vector
signed char __b,
int *__cc) {
10696 return (__vector __bool
char)
10697 __builtin_s390_vfaebs((__vector
unsigned char)
__a,
10698 (__vector
unsigned char)
__b, 12, __cc);
10702vec_find_any_ne_cc(__vector __bool
char __a,
10703 __vector __bool
char __b,
int *__cc) {
10704 return (__vector __bool
char)
10705 __builtin_s390_vfaebs((__vector
unsigned char)
__a,
10706 (__vector
unsigned char)
__b, 12, __cc);
10710vec_find_any_ne_cc(__vector
unsigned char __a,
10711 __vector
unsigned char __b,
int *__cc) {
10712 return (__vector __bool
char)__builtin_s390_vfaebs(
__a,
__b, 12, __cc);
10716vec_find_any_ne_cc(__vector
signed short __a,
10717 __vector
signed short __b,
int *__cc) {
10718 return (__vector __bool
short)
10719 __builtin_s390_vfaehs((__vector
unsigned short)
__a,
10720 (__vector
unsigned short)
__b, 12, __cc);
10724vec_find_any_ne_cc(__vector __bool
short __a,
10725 __vector __bool
short __b,
int *__cc) {
10726 return (__vector __bool
short)
10727 __builtin_s390_vfaehs((__vector
unsigned short)
__a,
10728 (__vector
unsigned short)
__b, 12, __cc);
10732vec_find_any_ne_cc(__vector
unsigned short __a,
10733 __vector
unsigned short __b,
int *__cc) {
10734 return (__vector __bool
short)__builtin_s390_vfaehs(
__a,
__b, 12, __cc);
10738vec_find_any_ne_cc(__vector
signed int __a,
10739 __vector
signed int __b,
int *__cc) {
10740 return (__vector __bool
int)
10741 __builtin_s390_vfaefs((__vector
unsigned int)
__a,
10742 (__vector
unsigned int)
__b, 12, __cc);
10746vec_find_any_ne_cc(__vector __bool
int __a,
10747 __vector __bool
int __b,
int *__cc) {
10748 return (__vector __bool
int)
10749 __builtin_s390_vfaefs((__vector
unsigned int)
__a,
10750 (__vector
unsigned int)
__b, 12, __cc);
10754vec_find_any_ne_cc(__vector
unsigned int __a,
10755 __vector
unsigned int __b,
int *__cc) {
10756 return (__vector __bool
int)__builtin_s390_vfaefs(
__a,
__b, 12, __cc);
10762vec_find_any_ne_idx(__vector
signed char __a, __vector
signed char __b) {
10763 return (__vector
signed char)
10764 __builtin_s390_vfaeb((__vector
unsigned char)
__a,
10765 (__vector
unsigned char)
__b, 8);
10769vec_find_any_ne_idx(__vector __bool
char __a, __vector __bool
char __b) {
10770 return __builtin_s390_vfaeb((__vector
unsigned char)
__a,
10771 (__vector
unsigned char)
__b, 8);
10775vec_find_any_ne_idx(__vector
unsigned char __a, __vector
unsigned char __b) {
10776 return __builtin_s390_vfaeb(
__a,
__b, 8);
10780vec_find_any_ne_idx(__vector
signed short __a, __vector
signed short __b) {
10781 return (__vector
signed short)
10782 __builtin_s390_vfaeh((__vector
unsigned short)
__a,
10783 (__vector
unsigned short)
__b, 8);
10787vec_find_any_ne_idx(__vector __bool
short __a, __vector __bool
short __b) {
10788 return __builtin_s390_vfaeh((__vector
unsigned short)
__a,
10789 (__vector
unsigned short)
__b, 8);
10793vec_find_any_ne_idx(__vector
unsigned short __a, __vector
unsigned short __b) {
10794 return __builtin_s390_vfaeh(
__a,
__b, 8);
10798vec_find_any_ne_idx(__vector
signed int __a, __vector
signed int __b) {
10799 return (__vector
signed int)
10800 __builtin_s390_vfaef((__vector
unsigned int)
__a,
10801 (__vector
unsigned int)
__b, 8);
10805vec_find_any_ne_idx(__vector __bool
int __a, __vector __bool
int __b) {
10806 return __builtin_s390_vfaef((__vector
unsigned int)
__a,
10807 (__vector
unsigned int)
__b, 8);
10811vec_find_any_ne_idx(__vector
unsigned int __a, __vector
unsigned int __b) {
10812 return __builtin_s390_vfaef(
__a,
__b, 8);
10818vec_find_any_ne_idx_cc(__vector
signed char __a,
10819 __vector
signed char __b,
int *__cc) {
10820 return (__vector
signed char)
10821 __builtin_s390_vfaebs((__vector
unsigned char)
__a,
10822 (__vector
unsigned char)
__b, 8, __cc);
10826vec_find_any_ne_idx_cc(__vector __bool
char __a,
10827 __vector __bool
char __b,
int *__cc) {
10828 return __builtin_s390_vfaebs((__vector
unsigned char)
__a,
10829 (__vector
unsigned char)
__b, 8, __cc);
10833vec_find_any_ne_idx_cc(__vector
unsigned char __a,
10834 __vector
unsigned char __b,
10836 return __builtin_s390_vfaebs(
__a,
__b, 8, __cc);
10840vec_find_any_ne_idx_cc(__vector
signed short __a,
10841 __vector
signed short __b,
int *__cc) {
10842 return (__vector
signed short)
10843 __builtin_s390_vfaehs((__vector
unsigned short)
__a,
10844 (__vector
unsigned short)
__b, 8, __cc);
10848vec_find_any_ne_idx_cc(__vector __bool
short __a,
10849 __vector __bool
short __b,
int *__cc) {
10850 return __builtin_s390_vfaehs((__vector
unsigned short)
__a,
10851 (__vector
unsigned short)
__b, 8, __cc);
10855vec_find_any_ne_idx_cc(__vector
unsigned short __a,
10856 __vector
unsigned short __b,
int *__cc) {
10857 return __builtin_s390_vfaehs(
__a,
__b, 8, __cc);
10861vec_find_any_ne_idx_cc(__vector
signed int __a,
10862 __vector
signed int __b,
int *__cc) {
10863 return (__vector
signed int)
10864 __builtin_s390_vfaefs((__vector
unsigned int)
__a,
10865 (__vector
unsigned int)
__b, 8, __cc);
10869vec_find_any_ne_idx_cc(__vector __bool
int __a,
10870 __vector __bool
int __b,
int *__cc) {
10871 return __builtin_s390_vfaefs((__vector
unsigned int)
__a,
10872 (__vector
unsigned int)
__b, 8, __cc);
10876vec_find_any_ne_idx_cc(__vector
unsigned int __a,
10877 __vector
unsigned int __b,
int *__cc) {
10878 return __builtin_s390_vfaefs(
__a,
__b, 8, __cc);
10884vec_find_any_ne_or_0_idx(__vector
signed char __a,
10885 __vector
signed char __b) {
10886 return (__vector
signed char)
10887 __builtin_s390_vfaezb((__vector
unsigned char)
__a,
10888 (__vector
unsigned char)
__b, 8);
10892vec_find_any_ne_or_0_idx(__vector __bool
char __a,
10893 __vector __bool
char __b) {
10894 return __builtin_s390_vfaezb((__vector
unsigned char)
__a,
10895 (__vector
unsigned char)
__b, 8);
10899vec_find_any_ne_or_0_idx(__vector
unsigned char __a,
10900 __vector
unsigned char __b) {
10901 return __builtin_s390_vfaezb(
__a,
__b, 8);
10905vec_find_any_ne_or_0_idx(__vector
signed short __a,
10906 __vector
signed short __b) {
10907 return (__vector
signed short)
10908 __builtin_s390_vfaezh((__vector
unsigned short)
__a,
10909 (__vector
unsigned short)
__b, 8);
10913vec_find_any_ne_or_0_idx(__vector __bool
short __a,
10914 __vector __bool
short __b) {
10915 return __builtin_s390_vfaezh((__vector
unsigned short)
__a,
10916 (__vector
unsigned short)
__b, 8);
10920vec_find_any_ne_or_0_idx(__vector
unsigned short __a,
10921 __vector
unsigned short __b) {
10922 return __builtin_s390_vfaezh(
__a,
__b, 8);
10926vec_find_any_ne_or_0_idx(__vector
signed int __a,
10927 __vector
signed int __b) {
10928 return (__vector
signed int)
10929 __builtin_s390_vfaezf((__vector
unsigned int)
__a,
10930 (__vector
unsigned int)
__b, 8);
10934vec_find_any_ne_or_0_idx(__vector __bool
int __a,
10935 __vector __bool
int __b) {
10936 return __builtin_s390_vfaezf((__vector
unsigned int)
__a,
10937 (__vector
unsigned int)
__b, 8);
10941vec_find_any_ne_or_0_idx(__vector
unsigned int __a,
10942 __vector
unsigned int __b) {
10943 return __builtin_s390_vfaezf(
__a,
__b, 8);
10949vec_find_any_ne_or_0_idx_cc(__vector
signed char __a,
10950 __vector
signed char __b,
int *__cc) {
10951 return (__vector
signed char)
10952 __builtin_s390_vfaezbs((__vector
unsigned char)
__a,
10953 (__vector
unsigned char)
__b, 8, __cc);
10957vec_find_any_ne_or_0_idx_cc(__vector __bool
char __a,
10958 __vector __bool
char __b,
int *__cc) {
10959 return __builtin_s390_vfaezbs((__vector
unsigned char)
__a,
10960 (__vector
unsigned char)
__b, 8, __cc);
10964vec_find_any_ne_or_0_idx_cc(__vector
unsigned char __a,
10965 __vector
unsigned char __b,
int *__cc) {
10966 return __builtin_s390_vfaezbs(
__a,
__b, 8, __cc);
10970vec_find_any_ne_or_0_idx_cc(__vector
signed short __a,
10971 __vector
signed short __b,
int *__cc) {
10972 return (__vector
signed short)
10973 __builtin_s390_vfaezhs((__vector
unsigned short)
__a,
10974 (__vector
unsigned short)
__b, 8, __cc);
10978vec_find_any_ne_or_0_idx_cc(__vector __bool
short __a,
10979 __vector __bool
short __b,
int *__cc) {
10980 return __builtin_s390_vfaezhs((__vector
unsigned short)
__a,
10981 (__vector
unsigned short)
__b, 8, __cc);
10985vec_find_any_ne_or_0_idx_cc(__vector
unsigned short __a,
10986 __vector
unsigned short __b,
int *__cc) {
10987 return __builtin_s390_vfaezhs(
__a,
__b, 8, __cc);
10991vec_find_any_ne_or_0_idx_cc(__vector
signed int __a,
10992 __vector
signed int __b,
int *__cc) {
10993 return (__vector
signed int)
10994 __builtin_s390_vfaezfs((__vector
unsigned int)
__a,
10995 (__vector
unsigned int)
__b, 8, __cc);
10999vec_find_any_ne_or_0_idx_cc(__vector __bool
int __a,
11000 __vector __bool
int __b,
int *__cc) {
11001 return __builtin_s390_vfaezfs((__vector
unsigned int)
__a,
11002 (__vector
unsigned int)
__b, 8, __cc);
11006vec_find_any_ne_or_0_idx_cc(__vector
unsigned int __a,
11007 __vector
unsigned int __b,
int *__cc) {
11008 return __builtin_s390_vfaezfs(
__a,
__b, 8, __cc);
11016vec_search_string_cc(__vector
signed char __a, __vector
signed char __b,
11017 __vector
unsigned char __c,
int *__cc) {
11018 return __builtin_s390_vstrsb((__vector
unsigned char)
__a,
11019 (__vector
unsigned char)
__b,
__c, __cc);
11023vec_search_string_cc(__vector __bool
char __a, __vector __bool
char __b,
11024 __vector
unsigned char __c,
int *__cc) {
11025 return __builtin_s390_vstrsb((__vector
unsigned char)
__a,
11026 (__vector
unsigned char)
__b,
__c, __cc);
11030vec_search_string_cc(__vector
unsigned char __a, __vector
unsigned char __b,
11031 __vector
unsigned char __c,
int *__cc) {
11032 return __builtin_s390_vstrsb(
__a,
__b,
__c, __cc);
11036vec_search_string_cc(__vector
signed short __a, __vector
signed short __b,
11037 __vector
unsigned char __c,
int *__cc) {
11038 return __builtin_s390_vstrsh((__vector
unsigned short)
__a,
11039 (__vector
unsigned short)
__b,
__c, __cc);
11043vec_search_string_cc(__vector __bool
short __a, __vector __bool
short __b,
11044 __vector
unsigned char __c,
int *__cc) {
11045 return __builtin_s390_vstrsh((__vector
unsigned short)
__a,
11046 (__vector
unsigned short)
__b,
__c, __cc);
11050vec_search_string_cc(__vector
unsigned short __a, __vector
unsigned short __b,
11051 __vector
unsigned char __c,
int *__cc) {
11052 return __builtin_s390_vstrsh(
__a,
__b,
__c, __cc);
11056vec_search_string_cc(__vector
signed int __a, __vector
signed int __b,
11057 __vector
unsigned char __c,
int *__cc) {
11058 return __builtin_s390_vstrsf((__vector
unsigned int)
__a,
11059 (__vector
unsigned int)
__b,
__c, __cc);
11063vec_search_string_cc(__vector __bool
int __a, __vector __bool
int __b,
11064 __vector
unsigned char __c,
int *__cc) {
11065 return __builtin_s390_vstrsf((__vector
unsigned int)
__a,
11066 (__vector
unsigned int)
__b,
__c, __cc);
11070vec_search_string_cc(__vector
unsigned int __a, __vector
unsigned int __b,
11071 __vector
unsigned char __c,
int *__cc) {
11072 return __builtin_s390_vstrsf(
__a,
__b,
__c, __cc);
11082vec_search_string_until_zero_cc(__vector
signed char __a,
11083 __vector
signed char __b,
11084 __vector
unsigned char __c,
int *__cc) {
11085 return __builtin_s390_vstrszb((__vector
unsigned char)
__a,
11086 (__vector
unsigned char)
__b,
__c, __cc);
11090vec_search_string_until_zero_cc(__vector __bool
char __a,
11091 __vector __bool
char __b,
11092 __vector
unsigned char __c,
int *__cc) {
11093 return __builtin_s390_vstrszb((__vector
unsigned char)
__a,
11094 (__vector
unsigned char)
__b,
__c, __cc);
11098vec_search_string_until_zero_cc(__vector
unsigned char __a,
11099 __vector
unsigned char __b,
11100 __vector
unsigned char __c,
int *__cc) {
11101 return __builtin_s390_vstrszb(
__a,
__b,
__c, __cc);
11105vec_search_string_until_zero_cc(__vector
signed short __a,
11106 __vector
signed short __b,
11107 __vector
unsigned char __c,
int *__cc) {
11108 return __builtin_s390_vstrszh((__vector
unsigned short)
__a,
11109 (__vector
unsigned short)
__b,
__c, __cc);
11113vec_search_string_until_zero_cc(__vector __bool
short __a,
11114 __vector __bool
short __b,
11115 __vector
unsigned char __c,
int *__cc) {
11116 return __builtin_s390_vstrszh((__vector
unsigned short)
__a,
11117 (__vector
unsigned short)
__b,
__c, __cc);
11121vec_search_string_until_zero_cc(__vector
unsigned short __a,
11122 __vector
unsigned short __b,
11123 __vector
unsigned char __c,
int *__cc) {
11124 return __builtin_s390_vstrszh(
__a,
__b,
__c, __cc);
11128vec_search_string_until_zero_cc(__vector
signed int __a,
11129 __vector
signed int __b,
11130 __vector
unsigned char __c,
int *__cc) {
11131 return __builtin_s390_vstrszf((__vector
unsigned int)
__a,
11132 (__vector
unsigned int)
__b,
__c, __cc);
11136vec_search_string_until_zero_cc(__vector __bool
int __a,
11137 __vector __bool
int __b,
11138 __vector
unsigned char __c,
int *__cc) {
11139 return __builtin_s390_vstrszf((__vector
unsigned int)
__a,
11140 (__vector
unsigned int)
__b,
__c, __cc);
11144vec_search_string_until_zero_cc(__vector
unsigned int __a,
11145 __vector
unsigned int __b,
11146 __vector
unsigned char __c,
int *__cc) {
11147 return __builtin_s390_vstrszf(
__a,
__b,
__c, __cc);
11152#undef __constant_pow2_range
11153#undef __constant_range
11161#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__ signed char __ATTRS_o_ai vec_extract(vector signed char __a, signed int __b)
static __inline__ vector float __ATTRS_o_ai vec_ceil(vector float __a)
static __inline__ int __ATTRS_o_ai vec_any_ngt(vector float __a, vector float __b)
static __inline__ int __ATTRS_o_ai vec_any_ne(vector signed char __a, vector signed char __b)
static __ATTRS_o_ai vector signed char vec_xl(ptrdiff_t __offset, const signed char *__ptr)
static __inline__ int __ATTRS_o_ai vec_any_nge(vector float __a, vector float __b)
static __inline__ vector signed char __ATTRS_o_ai vec_sldw(vector signed char __a, vector signed char __b, unsigned const int __c)
static __inline__ vector float vector float vector float __c
static __inline__ vector short __ATTRS_o_ai vec_mule(vector signed char __a, vector signed char __b)
static __inline__ int __ATTRS_o_ai vec_any_le(vector signed char __a, vector signed char __b)
static __inline__ vector float vector float __b
static __inline__ vector float __ATTRS_o_ai vec_round(vector float __a)
static __inline__ vector signed int __ATTRS_o_ai vec_subc(vector signed int __a, vector signed int __b)
static __inline__ vector signed int __ATTRS_o_ai vec_addc(vector signed int __a, vector signed int __b)
static __inline__ int __ATTRS_o_ai vec_all_le(vector signed char __a, vector signed char __b)
static __ATTRS_o_ai vector bool char vec_reve(vector bool char __a)
static __inline__ vector signed char __ATTRS_o_ai vec_splats(signed char __a)
static __inline__ vector bool char __ATTRS_o_ai vec_revb(vector bool char __a)
static __inline__ int __ATTRS_o_ai vec_any_nan(vector float __a)
static __inline__ int __ATTRS_o_ai vec_all_eq(vector signed char __a, vector signed char __b)
static __inline__ vector signed char __ATTRS_o_ai vec_andc(vector signed char __a, vector signed char __b)
static __inline__ vector signed int __ATTRS_o_ai vec_sld(vector signed int, vector signed int, unsigned const int __c)
static __inline__ vector short __ATTRS_o_ai vec_unpackl(vector signed char __a)
static __inline__ int __ATTRS_o_ai vec_all_ne(vector signed char __a, vector signed char __b)
static __inline__ vector signed int __ATTRS_o_ai vec_signed(vector float __a)
static __inline__ vector signed char __ATTRS_o_ai vec_avg(vector signed char __a, vector signed char __b)
static __ATTRS_o_ai void vec_xst(vector signed char __vec, ptrdiff_t __offset, signed char *__ptr)
static __inline__ vector signed char __ATTRS_o_ai vec_splat_s8(signed char __a)
static __inline__ int __ATTRS_o_ai vec_all_nan(vector float __a)
static __inline__ vector signed char __ATTRS_o_ai vec_mergel(vector signed char __a, vector signed char __b)
static __inline__ int __ATTRS_o_ai vec_all_ngt(vector float __a, vector float __b)
static __inline__ vector float __ATTRS_o_ai vec_floor(vector float __a)
static __inline__ int __ATTRS_o_ai vec_all_gt(vector signed char __a, vector signed char __b)
static __inline__ vector int __ATTRS_o_ai vec_splat_s32(signed char __a)
static __inline__ vector signed char __ATTRS_o_ai vec_promote(signed char __a, int __b)
static __inline__ vector signed char __ATTRS_o_ai vec_perm(vector signed char __a, vector signed char __b, vector unsigned char __c)
static __inline__ vector signed short __ATTRS_o_ai vec_mladd(vector signed short, vector signed short, vector signed short)
static __inline__ vector signed char __ATTRS_o_ai vec_sel(vector signed char __a, vector signed char __b, vector unsigned char __c)
static __inline__ int __ATTRS_o_ai vec_any_numeric(vector float __a)
static __inline__ vector float __ATTRS_o_ai vec_float(vector signed int __a)
static __inline__ vector unsigned int __ATTRS_o_ai vec_splat_u32(signed char __a)
static __inline__ vector signed char __ATTRS_o_ai vec_mergeh(vector signed char __a, vector signed char __b)
static __inline__ vector signed char __ATTRS_o_ai vec_rl(vector signed char __a, vector unsigned char __b)
static __inline__ vector bool char __ATTRS_o_ai vec_cmplt(vector signed char __a, vector signed char __b)
static __inline__ vector unsigned int __ATTRS_o_ai vec_unsigned(vector float __a)
static __inline__ vector float __ATTRS_o_ai vec_roundp(vector float __a)
static __inline__ vector signed char __ATTRS_o_ai vec_max(vector signed char __a, vector signed char __b)
static __inline__ int __ATTRS_o_ai vec_all_lt(vector signed char __a, vector signed char __b)
static __inline__ int __ATTRS_o_ai vec_any_ge(vector signed char __a, vector signed char __b)
static __inline__ int __ATTRS_o_ai vec_all_numeric(vector float __a)
static __inline__ vector signed char __ATTRS_o_ai vec_nor(vector signed char __a, vector signed char __b)
static __inline__ vector bool char __ATTRS_o_ai vec_cmpge(vector signed char __a, vector signed char __b)
static __inline__ vector signed char __ATTRS_o_ai vec_pack(vector signed short __a, vector signed short __b)
static __inline__ vector unsigned char __ATTRS_o_ai vec_packsu(vector short __a, vector short __b)
static __inline__ vector short __ATTRS_o_ai vec_mulo(vector signed char __a, vector signed char __b)
static __inline__ int __ATTRS_o_ai vec_all_nge(vector float __a, vector float __b)
static __inline__ vector signed char __ATTRS_o_ai vec_srl(vector signed char __a, vector unsigned char __b)
static __inline__ vector signed char __ATTRS_o_ai vec_min(vector signed char __a, vector signed char __b)
static __inline__ vector signed char __ATTRS_o_ai vec_splat(vector signed char __a, unsigned const int __b)
static vector float __ATTRS_o_ai vec_nabs(vector float __a)
static __inline__ vector short __ATTRS_o_ai vec_unpackh(vector signed char __a)
static __inline__ vector short __ATTRS_o_ai vec_splat_s16(signed char __a)
static __inline__ int __ATTRS_o_ai vec_any_nlt(vector float __a, vector float __b)
static __inline__ vector signed char __ATTRS_o_ai vec_abs(vector signed char __a)
static __inline__ vector signed short __ATTRS_o_ai vec_madd(vector signed short __a, vector signed short __b, vector signed short __c)
static __inline__ int __ATTRS_o_ai vec_any_lt(vector signed char __a, vector signed char __b)
static __inline__ int __ATTRS_o_ai vec_all_ge(vector signed char __a, vector signed char __b)
static __inline__ vector float __ATTRS_o_ai vec_roundm(vector float __a)
static __inline__ int __ATTRS_o_ai vec_all_nle(vector float __a, vector float __b)
static __inline__ vector float __ATTRS_o_ai vec_trunc(vector float __a)
static __inline__ vector bool char __ATTRS_o_ai vec_cmpgt(vector signed char __a, vector signed char __b)
static __inline__ vector signed char __ATTRS_o_ai vec_insert(signed char __a, vector signed char __b, int __c)
static __inline__ vector signed char __ATTRS_o_ai vec_sll(vector signed char __a, vector unsigned char __b)
static __inline__ int __ATTRS_o_ai vec_any_gt(vector signed char __a, vector signed char __b)
static __inline__ vector bool char __ATTRS_o_ai vec_cmple(vector signed char __a, vector signed char __b)
static __inline__ vector unsigned short __ATTRS_o_ai vec_splat_u16(signed char __a)
static __inline__ int __ATTRS_o_ai vec_all_nlt(vector float __a, vector float __b)
static __inline__ vector signed char __ATTRS_o_ai vec_packs(vector short __a, vector short __b)
static __inline__ int __ATTRS_o_ai vec_any_eq(vector signed char __a, vector signed char __b)
static __inline__ vector float __ATTRS_o_ai vec_roundz(vector float __a)
static __inline__ int __ATTRS_o_ai vec_any_nle(vector float __a, vector float __b)
static __inline__ vector float __ATTRS_o_ai vec_nmsub(vector float __a, vector float __b, vector float __c)
static __inline__ vector unsigned char __ATTRS_o_ai vec_splat_u8(unsigned char __a)
static __inline__ void int __a
static __inline__ void unsigned int __value