Lines Matching refs:vector
48 static __inline__ vector signed char __ATTRS_o_ai vec_perm(
49 vector signed char __a, vector signed char __b, vector unsigned char __c);
51 static __inline__ vector unsigned char __ATTRS_o_ai
52 vec_perm(vector unsigned char __a, vector unsigned char __b,
53 vector unsigned char __c);
55 static __inline__ vector bool char __ATTRS_o_ai
56 vec_perm(vector bool char __a, vector bool char __b, vector unsigned char __c);
58 static __inline__ vector short __ATTRS_o_ai vec_perm(vector signed short __a,
59 vector signed short __b,
60 vector unsigned char __c);
62 static __inline__ vector unsigned short __ATTRS_o_ai
63 vec_perm(vector unsigned short __a, vector unsigned short __b,
64 vector unsigned char __c);
66 static __inline__ vector bool short __ATTRS_o_ai vec_perm(
67 vector bool short __a, vector bool short __b, vector unsigned char __c);
69 static __inline__ vector pixel __ATTRS_o_ai vec_perm(vector pixel __a,
70 vector pixel __b,
71 vector unsigned char __c);
73 static __inline__ vector int __ATTRS_o_ai vec_perm(vector signed int __a,
74 vector signed int __b,
75 vector unsigned char __c);
77 static __inline__ vector unsigned int __ATTRS_o_ai vec_perm(
78 vector unsigned int __a, vector unsigned int __b, vector unsigned char __c);
80 static __inline__ vector bool int __ATTRS_o_ai
81 vec_perm(vector bool int __a, vector bool int __b, vector unsigned char __c);
83 static __inline__ vector float __ATTRS_o_ai vec_perm(vector float __a,
84 vector float __b,
85 vector unsigned char __c);
88 static __inline__ vector long long __ATTRS_o_ai
89 vec_perm(vector signed long long __a, vector signed long long __b,
90 vector unsigned char __c);
92 static __inline__ vector unsigned long long __ATTRS_o_ai
93 vec_perm(vector unsigned long long __a, vector unsigned long long __b,
94 vector unsigned char __c);
96 static __inline__ vector bool long long __ATTRS_o_ai
97 vec_perm(vector bool long long __a, vector bool long long __b,
98 vector unsigned char __c);
100 static __inline__ vector double __ATTRS_o_ai vec_perm(vector double __a,
101 vector double __b,
102 vector unsigned char __c);
105 static __inline__ vector unsigned char __ATTRS_o_ai
106 vec_xor(vector unsigned char __a, vector unsigned char __b);
114 static __inline__ vector signed char __ATTRS_o_ai
115 vec_abs(vector signed char __a) { in vec_abs()
119 static __inline__ vector signed short __ATTRS_o_ai
120 vec_abs(vector signed short __a) { in vec_abs()
124 static __inline__ vector signed int __ATTRS_o_ai
125 vec_abs(vector signed int __a) { in vec_abs()
130 static __inline__ vector signed long long __ATTRS_o_ai
131 vec_abs(vector signed long long __a) { in vec_abs()
136 static __inline__ vector float __ATTRS_o_ai vec_abs(vector float __a) { in vec_abs()
140 vector unsigned int __res = in vec_abs()
141 (vector unsigned int)__a & (vector unsigned int)(0x7FFFFFFF); in vec_abs()
142 return (vector float)__res; in vec_abs()
147 static __inline__ vector double __ATTRS_o_ai vec_abs(vector double __a) { in vec_abs()
157 static __inline__ vector signed char __ATTRS_o_ai
158 vec_abss(vector signed char __a) { in vec_abss()
160 __a, __builtin_altivec_vsubsbs((vector signed char)(0), __a)); in vec_abss()
163 static __inline__ vector signed short __ATTRS_o_ai
164 vec_abss(vector signed short __a) { in vec_abss()
166 __a, __builtin_altivec_vsubshs((vector signed short)(0), __a)); in vec_abss()
169 static __inline__ vector signed int __ATTRS_o_ai
170 vec_abss(vector signed int __a) { in vec_abss()
172 __a, __builtin_altivec_vsubsws((vector signed int)(0), __a)); in vec_abss()
178 static __inline__ vector unsigned char __ATTRS_o_ai
179 vec_absd(vector unsigned char __a, vector unsigned char __b) { in vec_absd()
183 static __inline__ vector unsigned short __ATTRS_o_ai
184 vec_absd(vector unsigned short __a, vector unsigned short __b) { in vec_absd()
188 static __inline__ vector unsigned int __ATTRS_o_ai
189 vec_absd(vector unsigned int __a, vector unsigned int __b) { in vec_absd()
197 static __inline__ vector signed char __ATTRS_o_ai
198 vec_add(vector signed char __a, vector signed char __b) { in vec_add()
202 static __inline__ vector signed char __ATTRS_o_ai
203 vec_add(vector bool char __a, vector signed char __b) { in vec_add()
204 return (vector signed char)__a + __b; in vec_add()
207 static __inline__ vector signed char __ATTRS_o_ai
208 vec_add(vector signed char __a, vector bool char __b) { in vec_add()
209 return __a + (vector signed char)__b; in vec_add()
212 static __inline__ vector unsigned char __ATTRS_o_ai
213 vec_add(vector unsigned char __a, vector unsigned char __b) { in vec_add()
217 static __inline__ vector unsigned char __ATTRS_o_ai
218 vec_add(vector bool char __a, vector unsigned char __b) { in vec_add()
219 return (vector unsigned char)__a + __b; in vec_add()
222 static __inline__ vector unsigned char __ATTRS_o_ai
223 vec_add(vector unsigned char __a, vector bool char __b) { in vec_add()
224 return __a + (vector unsigned char)__b; in vec_add()
227 static __inline__ vector short __ATTRS_o_ai vec_add(vector short __a, in vec_add()
228 vector short __b) { in vec_add()
232 static __inline__ vector short __ATTRS_o_ai vec_add(vector bool short __a, in vec_add()
233 vector short __b) { in vec_add()
234 return (vector short)__a + __b; in vec_add()
237 static __inline__ vector short __ATTRS_o_ai vec_add(vector short __a, in vec_add()
238 vector bool short __b) { in vec_add()
239 return __a + (vector short)__b; in vec_add()
242 static __inline__ vector unsigned short __ATTRS_o_ai
243 vec_add(vector unsigned short __a, vector unsigned short __b) { in vec_add()
247 static __inline__ vector unsigned short __ATTRS_o_ai
248 vec_add(vector bool short __a, vector unsigned short __b) { in vec_add()
249 return (vector unsigned short)__a + __b; in vec_add()
252 static __inline__ vector unsigned short __ATTRS_o_ai
253 vec_add(vector unsigned short __a, vector bool short __b) { in vec_add()
254 return __a + (vector unsigned short)__b; in vec_add()
257 static __inline__ vector int __ATTRS_o_ai vec_add(vector int __a, in vec_add()
258 vector int __b) { in vec_add()
262 static __inline__ vector int __ATTRS_o_ai vec_add(vector bool int __a, in vec_add()
263 vector int __b) { in vec_add()
264 return (vector int)__a + __b; in vec_add()
267 static __inline__ vector int __ATTRS_o_ai vec_add(vector int __a, in vec_add()
268 vector bool int __b) { in vec_add()
269 return __a + (vector int)__b; in vec_add()
272 static __inline__ vector unsigned int __ATTRS_o_ai
273 vec_add(vector unsigned int __a, vector unsigned int __b) { in vec_add()
277 static __inline__ vector unsigned int __ATTRS_o_ai
278 vec_add(vector bool int __a, vector unsigned int __b) { in vec_add()
279 return (vector unsigned int)__a + __b; in vec_add()
282 static __inline__ vector unsigned int __ATTRS_o_ai
283 vec_add(vector unsigned int __a, vector bool int __b) { in vec_add()
284 return __a + (vector unsigned int)__b; in vec_add()
288 static __inline__ vector signed long long __ATTRS_o_ai
289 vec_add(vector signed long long __a, vector signed long long __b) { in vec_add()
293 static __inline__ vector unsigned long long __ATTRS_o_ai
294 vec_add(vector unsigned long long __a, vector unsigned long long __b) { in vec_add()
298 static __inline__ vector signed __int128 __ATTRS_o_ai
299 vec_add(vector signed __int128 __a, vector signed __int128 __b) { in vec_add()
303 static __inline__ vector unsigned __int128 __ATTRS_o_ai
304 vec_add(vector unsigned __int128 __a, vector unsigned __int128 __b) { in vec_add()
309 static __inline__ vector float __ATTRS_o_ai vec_add(vector float __a, in vec_add()
310 vector float __b) { in vec_add()
315 static __inline__ vector double __ATTRS_o_ai vec_add(vector double __a, in vec_add()
316 vector double __b) { in vec_add()
324 static __inline__ vector signed __int128 __ATTRS_o_ai
325 vec_adde(vector signed __int128 __a, vector signed __int128 __b, in vec_adde()
326 vector signed __int128 __c) { in vec_adde()
330 static __inline__ vector unsigned __int128 __ATTRS_o_ai
331 vec_adde(vector unsigned __int128 __a, vector unsigned __int128 __b, in vec_adde()
332 vector unsigned __int128 __c) { in vec_adde()
337 static __inline__ vector signed int __ATTRS_o_ai
338 vec_adde(vector signed int __a, vector signed int __b, in vec_adde()
339 vector signed int __c) { in vec_adde()
340 vector signed int __mask = {1, 1, 1, 1}; in vec_adde()
341 vector signed int __carry = __c & __mask; in vec_adde()
345 static __inline__ vector unsigned int __ATTRS_o_ai
346 vec_adde(vector unsigned int __a, vector unsigned int __b, in vec_adde()
347 vector unsigned int __c) { in vec_adde()
348 vector unsigned int __mask = {1, 1, 1, 1}; in vec_adde()
349 vector unsigned int __carry = __c & __mask; in vec_adde()
356 static __inline__ vector signed __int128 __ATTRS_o_ai
357 vec_addec(vector signed __int128 __a, vector signed __int128 __b, in vec_addec()
358 vector signed __int128 __c) { in vec_addec()
362 static __inline__ vector unsigned __int128 __ATTRS_o_ai
363 vec_addec(vector unsigned __int128 __a, vector unsigned __int128 __b, in vec_addec()
364 vector unsigned __int128 __c) { in vec_addec()
368 static __inline__ vector signed int __ATTRS_o_ai
369 vec_addec(vector signed int __a, vector signed int __b, in vec_addec()
370 vector signed int __c) { in vec_addec()
387 vector signed int ret = { __result[0], __result[1], __result[2], __result[3] }; in vec_addec()
391 static __inline__ vector unsigned int __ATTRS_o_ai
392 vec_addec(vector unsigned int __a, vector unsigned int __b, in vec_addec()
393 vector unsigned int __c) { in vec_addec()
407 vector unsigned int ret = { __result[0], __result[1], __result[2], __result[3] }; in vec_addec()
417 static __inline__ vector signed char __ATTRS_o_ai
418 vec_vaddubm(vector signed char __a, vector signed char __b) { in vec_vaddubm()
422 static __inline__ vector signed char __ATTRS_o_ai
423 vec_vaddubm(vector bool char __a, vector signed char __b) { in vec_vaddubm()
424 return (vector signed char)__a + __b; in vec_vaddubm()
427 static __inline__ vector signed char __ATTRS_o_ai
428 vec_vaddubm(vector signed char __a, vector bool char __b) { in vec_vaddubm()
429 return __a + (vector signed char)__b; in vec_vaddubm()
432 static __inline__ vector unsigned char __ATTRS_o_ai
433 vec_vaddubm(vector unsigned char __a, vector unsigned char __b) { in vec_vaddubm()
437 static __inline__ vector unsigned char __ATTRS_o_ai
438 vec_vaddubm(vector bool char __a, vector unsigned char __b) { in vec_vaddubm()
439 return (vector unsigned char)__a + __b; in vec_vaddubm()
442 static __inline__ vector unsigned char __ATTRS_o_ai
443 vec_vaddubm(vector unsigned char __a, vector bool char __b) { in vec_vaddubm()
444 return __a + (vector unsigned char)__b; in vec_vaddubm()
451 static __inline__ vector short __ATTRS_o_ai vec_vadduhm(vector short __a, in vec_vadduhm()
452 vector short __b) { in vec_vadduhm()
456 static __inline__ vector short __ATTRS_o_ai vec_vadduhm(vector bool short __a, in vec_vadduhm()
457 vector short __b) { in vec_vadduhm()
458 return (vector short)__a + __b; in vec_vadduhm()
461 static __inline__ vector short __ATTRS_o_ai vec_vadduhm(vector short __a, in vec_vadduhm()
462 vector bool short __b) { in vec_vadduhm()
463 return __a + (vector short)__b; in vec_vadduhm()
466 static __inline__ vector unsigned short __ATTRS_o_ai
467 vec_vadduhm(vector unsigned short __a, vector unsigned short __b) { in vec_vadduhm()
471 static __inline__ vector unsigned short __ATTRS_o_ai
472 vec_vadduhm(vector bool short __a, vector unsigned short __b) { in vec_vadduhm()
473 return (vector unsigned short)__a + __b; in vec_vadduhm()
476 static __inline__ vector unsigned short __ATTRS_o_ai
477 vec_vadduhm(vector unsigned short __a, vector bool short __b) { in vec_vadduhm()
478 return __a + (vector unsigned short)__b; in vec_vadduhm()
485 static __inline__ vector int __ATTRS_o_ai vec_vadduwm(vector int __a, in vec_vadduwm()
486 vector int __b) { in vec_vadduwm()
490 static __inline__ vector int __ATTRS_o_ai vec_vadduwm(vector bool int __a, in vec_vadduwm()
491 vector int __b) { in vec_vadduwm()
492 return (vector int)__a + __b; in vec_vadduwm()
495 static __inline__ vector int __ATTRS_o_ai vec_vadduwm(vector int __a, in vec_vadduwm()
496 vector bool int __b) { in vec_vadduwm()
497 return __a + (vector int)__b; in vec_vadduwm()
500 static __inline__ vector unsigned int __ATTRS_o_ai
501 vec_vadduwm(vector unsigned int __a, vector unsigned int __b) { in vec_vadduwm()
505 static __inline__ vector unsigned int __ATTRS_o_ai
506 vec_vadduwm(vector bool int __a, vector unsigned int __b) { in vec_vadduwm()
507 return (vector unsigned int)__a + __b; in vec_vadduwm()
510 static __inline__ vector unsigned int __ATTRS_o_ai
511 vec_vadduwm(vector unsigned int __a, vector bool int __b) { in vec_vadduwm()
512 return __a + (vector unsigned int)__b; in vec_vadduwm()
519 static __inline__ vector float __attribute__((__always_inline__))
520 vec_vaddfp(vector float __a, vector float __b) { in vec_vaddfp()
526 static __inline__ vector signed int __ATTRS_o_ai
527 vec_addc(vector signed int __a, vector signed int __b) { in vec_addc()
528 return (vector signed int)__builtin_altivec_vaddcuw((vector unsigned int)__a, in vec_addc()
529 (vector unsigned int)__b); in vec_addc()
532 static __inline__ vector unsigned int __ATTRS_o_ai
533 vec_addc(vector unsigned int __a, vector unsigned int __b) { in vec_addc()
538 static __inline__ vector signed __int128 __ATTRS_o_ai
539 vec_addc(vector signed __int128 __a, vector signed __int128 __b) { in vec_addc()
540 return (vector signed __int128)__builtin_altivec_vaddcuq( in vec_addc()
541 (vector unsigned __int128)__a, (vector unsigned __int128)__b); in vec_addc()
544 static __inline__ vector unsigned __int128 __ATTRS_o_ai
545 vec_addc(vector unsigned __int128 __a, vector unsigned __int128 __b) { in vec_addc()
552 static __inline__ vector unsigned int __attribute__((__always_inline__))
553 vec_vaddcuw(vector unsigned int __a, vector unsigned int __b) { in vec_vaddcuw()
559 static __inline__ vector signed char __ATTRS_o_ai
560 vec_adds(vector signed char __a, vector signed char __b) { in vec_adds()
564 static __inline__ vector signed char __ATTRS_o_ai
565 vec_adds(vector bool char __a, vector signed char __b) { in vec_adds()
566 return __builtin_altivec_vaddsbs((vector signed char)__a, __b); in vec_adds()
569 static __inline__ vector signed char __ATTRS_o_ai
570 vec_adds(vector signed char __a, vector bool char __b) { in vec_adds()
571 return __builtin_altivec_vaddsbs(__a, (vector signed char)__b); in vec_adds()
574 static __inline__ vector unsigned char __ATTRS_o_ai
575 vec_adds(vector unsigned char __a, vector unsigned char __b) { in vec_adds()
579 static __inline__ vector unsigned char __ATTRS_o_ai
580 vec_adds(vector bool char __a, vector unsigned char __b) { in vec_adds()
581 return __builtin_altivec_vaddubs((vector unsigned char)__a, __b); in vec_adds()
584 static __inline__ vector unsigned char __ATTRS_o_ai
585 vec_adds(vector unsigned char __a, vector bool char __b) { in vec_adds()
586 return __builtin_altivec_vaddubs(__a, (vector unsigned char)__b); in vec_adds()
589 static __inline__ vector short __ATTRS_o_ai vec_adds(vector short __a, in vec_adds()
590 vector short __b) { in vec_adds()
594 static __inline__ vector short __ATTRS_o_ai vec_adds(vector bool short __a, in vec_adds()
595 vector short __b) { in vec_adds()
596 return __builtin_altivec_vaddshs((vector short)__a, __b); in vec_adds()
599 static __inline__ vector short __ATTRS_o_ai vec_adds(vector short __a, in vec_adds()
600 vector bool short __b) { in vec_adds()
601 return __builtin_altivec_vaddshs(__a, (vector short)__b); in vec_adds()
604 static __inline__ vector unsigned short __ATTRS_o_ai
605 vec_adds(vector unsigned short __a, vector unsigned short __b) { in vec_adds()
609 static __inline__ vector unsigned short __ATTRS_o_ai
610 vec_adds(vector bool short __a, vector unsigned short __b) { in vec_adds()
611 return __builtin_altivec_vadduhs((vector unsigned short)__a, __b); in vec_adds()
614 static __inline__ vector unsigned short __ATTRS_o_ai
615 vec_adds(vector unsigned short __a, vector bool short __b) { in vec_adds()
616 return __builtin_altivec_vadduhs(__a, (vector unsigned short)__b); in vec_adds()
619 static __inline__ vector int __ATTRS_o_ai vec_adds(vector int __a, in vec_adds()
620 vector int __b) { in vec_adds()
624 static __inline__ vector int __ATTRS_o_ai vec_adds(vector bool int __a, in vec_adds()
625 vector int __b) { in vec_adds()
626 return __builtin_altivec_vaddsws((vector int)__a, __b); in vec_adds()
629 static __inline__ vector int __ATTRS_o_ai vec_adds(vector int __a, in vec_adds()
630 vector bool int __b) { in vec_adds()
631 return __builtin_altivec_vaddsws(__a, (vector int)__b); in vec_adds()
634 static __inline__ vector unsigned int __ATTRS_o_ai
635 vec_adds(vector unsigned int __a, vector unsigned int __b) { in vec_adds()
639 static __inline__ vector unsigned int __ATTRS_o_ai
640 vec_adds(vector bool int __a, vector unsigned int __b) { in vec_adds()
641 return __builtin_altivec_vadduws((vector unsigned int)__a, __b); in vec_adds()
644 static __inline__ vector unsigned int __ATTRS_o_ai
645 vec_adds(vector unsigned int __a, vector bool int __b) { in vec_adds()
646 return __builtin_altivec_vadduws(__a, (vector unsigned int)__b); in vec_adds()
651 static __inline__ vector signed char __ATTRS_o_ai
652 vec_vaddsbs(vector signed char __a, vector signed char __b) { in vec_vaddsbs()
656 static __inline__ vector signed char __ATTRS_o_ai
657 vec_vaddsbs(vector bool char __a, vector signed char __b) { in vec_vaddsbs()
658 return __builtin_altivec_vaddsbs((vector signed char)__a, __b); in vec_vaddsbs()
661 static __inline__ vector signed char __ATTRS_o_ai
662 vec_vaddsbs(vector signed char __a, vector bool char __b) { in vec_vaddsbs()
663 return __builtin_altivec_vaddsbs(__a, (vector signed char)__b); in vec_vaddsbs()
668 static __inline__ vector unsigned char __ATTRS_o_ai
669 vec_vaddubs(vector unsigned char __a, vector unsigned char __b) { in vec_vaddubs()
673 static __inline__ vector unsigned char __ATTRS_o_ai
674 vec_vaddubs(vector bool char __a, vector unsigned char __b) { in vec_vaddubs()
675 return __builtin_altivec_vaddubs((vector unsigned char)__a, __b); in vec_vaddubs()
678 static __inline__ vector unsigned char __ATTRS_o_ai
679 vec_vaddubs(vector unsigned char __a, vector bool char __b) { in vec_vaddubs()
680 return __builtin_altivec_vaddubs(__a, (vector unsigned char)__b); in vec_vaddubs()
685 static __inline__ vector short __ATTRS_o_ai vec_vaddshs(vector short __a, in vec_vaddshs()
686 vector short __b) { in vec_vaddshs()
690 static __inline__ vector short __ATTRS_o_ai vec_vaddshs(vector bool short __a, in vec_vaddshs()
691 vector short __b) { in vec_vaddshs()
692 return __builtin_altivec_vaddshs((vector short)__a, __b); in vec_vaddshs()
695 static __inline__ vector short __ATTRS_o_ai vec_vaddshs(vector short __a, in vec_vaddshs()
696 vector bool short __b) { in vec_vaddshs()
697 return __builtin_altivec_vaddshs(__a, (vector short)__b); in vec_vaddshs()
702 static __inline__ vector unsigned short __ATTRS_o_ai
703 vec_vadduhs(vector unsigned short __a, vector unsigned short __b) { in vec_vadduhs()
707 static __inline__ vector unsigned short __ATTRS_o_ai
708 vec_vadduhs(vector bool short __a, vector unsigned short __b) { in vec_vadduhs()
709 return __builtin_altivec_vadduhs((vector unsigned short)__a, __b); in vec_vadduhs()
712 static __inline__ vector unsigned short __ATTRS_o_ai
713 vec_vadduhs(vector unsigned short __a, vector bool short __b) { in vec_vadduhs()
714 return __builtin_altivec_vadduhs(__a, (vector unsigned short)__b); in vec_vadduhs()
719 static __inline__ vector int __ATTRS_o_ai vec_vaddsws(vector int __a, in vec_vaddsws()
720 vector int __b) { in vec_vaddsws()
724 static __inline__ vector int __ATTRS_o_ai vec_vaddsws(vector bool int __a, in vec_vaddsws()
725 vector int __b) { in vec_vaddsws()
726 return __builtin_altivec_vaddsws((vector int)__a, __b); in vec_vaddsws()
729 static __inline__ vector int __ATTRS_o_ai vec_vaddsws(vector int __a, in vec_vaddsws()
730 vector bool int __b) { in vec_vaddsws()
731 return __builtin_altivec_vaddsws(__a, (vector int)__b); in vec_vaddsws()
736 static __inline__ vector unsigned int __ATTRS_o_ai
737 vec_vadduws(vector unsigned int __a, vector unsigned int __b) { in vec_vadduws()
741 static __inline__ vector unsigned int __ATTRS_o_ai
742 vec_vadduws(vector bool int __a, vector unsigned int __b) { in vec_vadduws()
743 return __builtin_altivec_vadduws((vector unsigned int)__a, __b); in vec_vadduws()
746 static __inline__ vector unsigned int __ATTRS_o_ai
747 vec_vadduws(vector unsigned int __a, vector bool int __b) { in vec_vadduws()
748 return __builtin_altivec_vadduws(__a, (vector unsigned int)__b); in vec_vadduws()
754 static __inline__ vector signed __int128 __ATTRS_o_ai
755 vec_vadduqm(vector signed __int128 __a, vector signed __int128 __b) { in vec_vadduqm()
759 static __inline__ vector unsigned __int128 __ATTRS_o_ai
760 vec_vadduqm(vector unsigned __int128 __a, vector unsigned __int128 __b) { in vec_vadduqm()
766 static __inline__ vector signed __int128 __ATTRS_o_ai
767 vec_vaddeuqm(vector signed __int128 __a, vector signed __int128 __b, in vec_vaddeuqm()
768 vector signed __int128 __c) { in vec_vaddeuqm()
772 static __inline__ vector unsigned __int128 __ATTRS_o_ai
773 vec_vaddeuqm(vector unsigned __int128 __a, vector unsigned __int128 __b, in vec_vaddeuqm()
774 vector unsigned __int128 __c) { in vec_vaddeuqm()
780 static __inline__ vector signed __int128 __ATTRS_o_ai
781 vec_vaddcuq(vector signed __int128 __a, vector signed __int128 __b) { in vec_vaddcuq()
785 static __inline__ vector unsigned __int128 __ATTRS_o_ai
786 vec_vaddcuq(vector unsigned __int128 __a, vector unsigned __int128 __b) { in vec_vaddcuq()
792 static __inline__ vector signed __int128 __ATTRS_o_ai
793 vec_vaddecuq(vector signed __int128 __a, vector signed __int128 __b, in vec_vaddecuq()
794 vector signed __int128 __c) { in vec_vaddecuq()
798 static __inline__ vector unsigned __int128 __ATTRS_o_ai
799 vec_vaddecuq(vector unsigned __int128 __a, vector unsigned __int128 __b, in vec_vaddecuq()
800 vector unsigned __int128 __c) { in vec_vaddecuq()
809 static __inline__ vector signed char __ATTRS_o_ai
810 vec_and(vector signed char __a, vector signed char __b) { in vec_and()
814 static __inline__ vector signed char __ATTRS_o_ai
815 vec_and(vector bool char __a, vector signed char __b) { in vec_and()
816 return (vector signed char)__a & __b; in vec_and()
819 static __inline__ vector signed char __ATTRS_o_ai
820 vec_and(vector signed char __a, vector bool char __b) { in vec_and()
821 return __a & (vector signed char)__b; in vec_and()
824 static __inline__ vector unsigned char __ATTRS_o_ai
825 vec_and(vector unsigned char __a, vector unsigned char __b) { in vec_and()
829 static __inline__ vector unsigned char __ATTRS_o_ai
830 vec_and(vector bool char __a, vector unsigned char __b) { in vec_and()
831 return (vector unsigned char)__a & __b; in vec_and()
834 static __inline__ vector unsigned char __ATTRS_o_ai
835 vec_and(vector unsigned char __a, vector bool char __b) { in vec_and()
836 return __a & (vector unsigned char)__b; in vec_and()
839 static __inline__ vector bool char __ATTRS_o_ai vec_and(vector bool char __a, in vec_and()
840 vector bool char __b) { in vec_and()
844 static __inline__ vector short __ATTRS_o_ai vec_and(vector short __a, in vec_and()
845 vector short __b) { in vec_and()
849 static __inline__ vector short __ATTRS_o_ai vec_and(vector bool short __a, in vec_and()
850 vector short __b) { in vec_and()
851 return (vector short)__a & __b; in vec_and()
854 static __inline__ vector short __ATTRS_o_ai vec_and(vector short __a, in vec_and()
855 vector bool short __b) { in vec_and()
856 return __a & (vector short)__b; in vec_and()
859 static __inline__ vector unsigned short __ATTRS_o_ai
860 vec_and(vector unsigned short __a, vector unsigned short __b) { in vec_and()
864 static __inline__ vector unsigned short __ATTRS_o_ai
865 vec_and(vector bool short __a, vector unsigned short __b) { in vec_and()
866 return (vector unsigned short)__a & __b; in vec_and()
869 static __inline__ vector unsigned short __ATTRS_o_ai
870 vec_and(vector unsigned short __a, vector bool short __b) { in vec_and()
871 return __a & (vector unsigned short)__b; in vec_and()
874 static __inline__ vector bool short __ATTRS_o_ai
875 vec_and(vector bool short __a, vector bool short __b) { in vec_and()
879 static __inline__ vector int __ATTRS_o_ai vec_and(vector int __a, in vec_and()
880 vector int __b) { in vec_and()
884 static __inline__ vector int __ATTRS_o_ai vec_and(vector bool int __a, in vec_and()
885 vector int __b) { in vec_and()
886 return (vector int)__a & __b; in vec_and()
889 static __inline__ vector int __ATTRS_o_ai vec_and(vector int __a, in vec_and()
890 vector bool int __b) { in vec_and()
891 return __a & (vector int)__b; in vec_and()
894 static __inline__ vector unsigned int __ATTRS_o_ai
895 vec_and(vector unsigned int __a, vector unsigned int __b) { in vec_and()
899 static __inline__ vector unsigned int __ATTRS_o_ai
900 vec_and(vector bool int __a, vector unsigned int __b) { in vec_and()
901 return (vector unsigned int)__a & __b; in vec_and()
904 static __inline__ vector unsigned int __ATTRS_o_ai
905 vec_and(vector unsigned int __a, vector bool int __b) { in vec_and()
906 return __a & (vector unsigned int)__b; in vec_and()
909 static __inline__ vector bool int __ATTRS_o_ai vec_and(vector bool int __a, in vec_and()
910 vector bool int __b) { in vec_and()
914 static __inline__ vector float __ATTRS_o_ai vec_and(vector float __a, in vec_and()
915 vector float __b) { in vec_and()
916 vector unsigned int __res = in vec_and()
917 (vector unsigned int)__a & (vector unsigned int)__b; in vec_and()
918 return (vector float)__res; in vec_and()
921 static __inline__ vector float __ATTRS_o_ai vec_and(vector bool int __a, in vec_and()
922 vector float __b) { in vec_and()
923 vector unsigned int __res = in vec_and()
924 (vector unsigned int)__a & (vector unsigned int)__b; in vec_and()
925 return (vector float)__res; in vec_and()
928 static __inline__ vector float __ATTRS_o_ai vec_and(vector float __a, in vec_and()
929 vector bool int __b) { in vec_and()
930 vector unsigned int __res = in vec_and()
931 (vector unsigned int)__a & (vector unsigned int)__b; in vec_and()
932 return (vector float)__res; in vec_and()
936 static __inline__ vector double __ATTRS_o_ai vec_and(vector bool long long __a, in vec_and()
937 vector double __b) { in vec_and()
938 vector unsigned long long __res = in vec_and()
939 (vector unsigned long long)__a & (vector unsigned long long)__b; in vec_and()
940 return (vector double)__res; in vec_and()
943 static __inline__ vector double __ATTRS_o_ai
944 vec_and(vector double __a, vector bool long long __b) { in vec_and()
945 vector unsigned long long __res = in vec_and()
946 (vector unsigned long long)__a & (vector unsigned long long)__b; in vec_and()
947 return (vector double)__res; in vec_and()
950 static __inline__ vector double __ATTRS_o_ai vec_and(vector double __a, in vec_and()
951 vector double __b) { in vec_and()
952 vector unsigned long long __res = in vec_and()
953 (vector unsigned long long)__a & (vector unsigned long long)__b; in vec_and()
954 return (vector double)__res; in vec_and()
957 static __inline__ vector signed long long __ATTRS_o_ai
958 vec_and(vector signed long long __a, vector signed long long __b) { in vec_and()
962 static __inline__ vector signed long long __ATTRS_o_ai
963 vec_and(vector bool long long __a, vector signed long long __b) { in vec_and()
964 return (vector signed long long)__a & __b; in vec_and()
967 static __inline__ vector signed long long __ATTRS_o_ai
968 vec_and(vector signed long long __a, vector bool long long __b) { in vec_and()
969 return __a & (vector signed long long)__b; in vec_and()
972 static __inline__ vector unsigned long long __ATTRS_o_ai
973 vec_and(vector unsigned long long __a, vector unsigned long long __b) { in vec_and()
977 static __inline__ vector unsigned long long __ATTRS_o_ai
978 vec_and(vector bool long long __a, vector unsigned long long __b) { in vec_and()
979 return (vector unsigned long long)__a & __b; in vec_and()
982 static __inline__ vector unsigned long long __ATTRS_o_ai
983 vec_and(vector unsigned long long __a, vector bool long long __b) { in vec_and()
984 return __a & (vector unsigned long long)__b; in vec_and()
987 static __inline__ vector bool long long __ATTRS_o_ai
988 vec_and(vector bool long long __a, vector bool long long __b) { in vec_and()
995 static __inline__ vector signed char __ATTRS_o_ai
996 vec_vand(vector signed char __a, vector signed char __b) { in vec_vand()
1000 static __inline__ vector signed char __ATTRS_o_ai
1001 vec_vand(vector bool char __a, vector signed char __b) { in vec_vand()
1002 return (vector signed char)__a & __b; in vec_vand()
1005 static __inline__ vector signed char __ATTRS_o_ai
1006 vec_vand(vector signed char __a, vector bool char __b) { in vec_vand()
1007 return __a & (vector signed char)__b; in vec_vand()
1010 static __inline__ vector unsigned char __ATTRS_o_ai
1011 vec_vand(vector unsigned char __a, vector unsigned char __b) { in vec_vand()
1015 static __inline__ vector unsigned char __ATTRS_o_ai
1016 vec_vand(vector bool char __a, vector unsigned char __b) { in vec_vand()
1017 return (vector unsigned char)__a & __b; in vec_vand()
1020 static __inline__ vector unsigned char __ATTRS_o_ai
1021 vec_vand(vector unsigned char __a, vector bool char __b) { in vec_vand()
1022 return __a & (vector unsigned char)__b; in vec_vand()
1025 static __inline__ vector bool char __ATTRS_o_ai vec_vand(vector bool char __a, in vec_vand()
1026 vector bool char __b) { in vec_vand()
1030 static __inline__ vector short __ATTRS_o_ai vec_vand(vector short __a, in vec_vand()
1031 vector short __b) { in vec_vand()
1035 static __inline__ vector short __ATTRS_o_ai vec_vand(vector bool short __a, in vec_vand()
1036 vector short __b) { in vec_vand()
1037 return (vector short)__a & __b; in vec_vand()
1040 static __inline__ vector short __ATTRS_o_ai vec_vand(vector short __a, in vec_vand()
1041 vector bool short __b) { in vec_vand()
1042 return __a & (vector short)__b; in vec_vand()
1045 static __inline__ vector unsigned short __ATTRS_o_ai
1046 vec_vand(vector unsigned short __a, vector unsigned short __b) { in vec_vand()
1050 static __inline__ vector unsigned short __ATTRS_o_ai
1051 vec_vand(vector bool short __a, vector unsigned short __b) { in vec_vand()
1052 return (vector unsigned short)__a & __b; in vec_vand()
1055 static __inline__ vector unsigned short __ATTRS_o_ai
1056 vec_vand(vector unsigned short __a, vector bool short __b) { in vec_vand()
1057 return __a & (vector unsigned short)__b; in vec_vand()
1060 static __inline__ vector bool short __ATTRS_o_ai
1061 vec_vand(vector bool short __a, vector bool short __b) { in vec_vand()
1065 static __inline__ vector int __ATTRS_o_ai vec_vand(vector int __a, in vec_vand()
1066 vector int __b) { in vec_vand()
1070 static __inline__ vector int __ATTRS_o_ai vec_vand(vector bool int __a, in vec_vand()
1071 vector int __b) { in vec_vand()
1072 return (vector int)__a & __b; in vec_vand()
1075 static __inline__ vector int __ATTRS_o_ai vec_vand(vector int __a, in vec_vand()
1076 vector bool int __b) { in vec_vand()
1077 return __a & (vector int)__b; in vec_vand()
1080 static __inline__ vector unsigned int __ATTRS_o_ai
1081 vec_vand(vector unsigned int __a, vector unsigned int __b) { in vec_vand()
1085 static __inline__ vector unsigned int __ATTRS_o_ai
1086 vec_vand(vector bool int __a, vector unsigned int __b) { in vec_vand()
1087 return (vector unsigned int)__a & __b; in vec_vand()
1090 static __inline__ vector unsigned int __ATTRS_o_ai
1091 vec_vand(vector unsigned int __a, vector bool int __b) { in vec_vand()
1092 return __a & (vector unsigned int)__b; in vec_vand()
1095 static __inline__ vector bool int __ATTRS_o_ai vec_vand(vector bool int __a, in vec_vand()
1096 vector bool int __b) { in vec_vand()
1100 static __inline__ vector float __ATTRS_o_ai vec_vand(vector float __a, in vec_vand()
1101 vector float __b) { in vec_vand()
1102 vector unsigned int __res = in vec_vand()
1103 (vector unsigned int)__a & (vector unsigned int)__b; in vec_vand()
1104 return (vector float)__res; in vec_vand()
1107 static __inline__ vector float __ATTRS_o_ai vec_vand(vector bool int __a, in vec_vand()
1108 vector float __b) { in vec_vand()
1109 vector unsigned int __res = in vec_vand()
1110 (vector unsigned int)__a & (vector unsigned int)__b; in vec_vand()
1111 return (vector float)__res; in vec_vand()
1114 static __inline__ vector float __ATTRS_o_ai vec_vand(vector float __a, in vec_vand()
1115 vector bool int __b) { in vec_vand()
1116 vector unsigned int __res = in vec_vand()
1117 (vector unsigned int)__a & (vector unsigned int)__b; in vec_vand()
1118 return (vector float)__res; in vec_vand()
1122 static __inline__ vector signed long long __ATTRS_o_ai
1123 vec_vand(vector signed long long __a, vector signed long long __b) { in vec_vand()
1127 static __inline__ vector signed long long __ATTRS_o_ai
1128 vec_vand(vector bool long long __a, vector signed long long __b) { in vec_vand()
1129 return (vector signed long long)__a & __b; in vec_vand()
1132 static __inline__ vector signed long long __ATTRS_o_ai
1133 vec_vand(vector signed long long __a, vector bool long long __b) { in vec_vand()
1134 return __a & (vector signed long long)__b; in vec_vand()
1137 static __inline__ vector unsigned long long __ATTRS_o_ai
1138 vec_vand(vector unsigned long long __a, vector unsigned long long __b) { in vec_vand()
1142 static __inline__ vector unsigned long long __ATTRS_o_ai
1143 vec_vand(vector bool long long __a, vector unsigned long long __b) { in vec_vand()
1144 return (vector unsigned long long)__a & __b; in vec_vand()
1147 static __inline__ vector unsigned long long __ATTRS_o_ai
1148 vec_vand(vector unsigned long long __a, vector bool long long __b) { in vec_vand()
1149 return __a & (vector unsigned long long)__b; in vec_vand()
1152 static __inline__ vector bool long long __ATTRS_o_ai
1153 vec_vand(vector bool long long __a, vector bool long long __b) { in vec_vand()
1162 static __inline__ vector signed char __ATTRS_o_ai
1163 vec_andc(vector signed char __a, vector signed char __b) { in vec_andc()
1167 static __inline__ vector signed char __ATTRS_o_ai
1168 vec_andc(vector bool char __a, vector signed char __b) { in vec_andc()
1169 return (vector signed char)__a & ~__b; in vec_andc()
1172 static __inline__ vector signed char __ATTRS_o_ai
1173 vec_andc(vector signed char __a, vector bool char __b) { in vec_andc()
1174 return __a & ~(vector signed char)__b; in vec_andc()
1177 static __inline__ vector unsigned char __ATTRS_o_ai
1178 vec_andc(vector unsigned char __a, vector unsigned char __b) { in vec_andc()
1182 static __inline__ vector unsigned char __ATTRS_o_ai
1183 vec_andc(vector bool char __a, vector unsigned char __b) { in vec_andc()
1184 return (vector unsigned char)__a & ~__b; in vec_andc()
1187 static __inline__ vector unsigned char __ATTRS_o_ai
1188 vec_andc(vector unsigned char __a, vector bool char __b) { in vec_andc()
1189 return __a & ~(vector unsigned char)__b; in vec_andc()
1192 static __inline__ vector bool char __ATTRS_o_ai vec_andc(vector bool char __a, in vec_andc()
1193 vector bool char __b) { in vec_andc()
1197 static __inline__ vector short __ATTRS_o_ai vec_andc(vector short __a, in vec_andc()
1198 vector short __b) { in vec_andc()
1202 static __inline__ vector short __ATTRS_o_ai vec_andc(vector bool short __a, in vec_andc()
1203 vector short __b) { in vec_andc()
1204 return (vector short)__a & ~__b; in vec_andc()
1207 static __inline__ vector short __ATTRS_o_ai vec_andc(vector short __a, in vec_andc()
1208 vector bool short __b) { in vec_andc()
1209 return __a & ~(vector short)__b; in vec_andc()
1212 static __inline__ vector unsigned short __ATTRS_o_ai
1213 vec_andc(vector unsigned short __a, vector unsigned short __b) { in vec_andc()
1217 static __inline__ vector unsigned short __ATTRS_o_ai
1218 vec_andc(vector bool short __a, vector unsigned short __b) { in vec_andc()
1219 return (vector unsigned short)__a & ~__b; in vec_andc()
1222 static __inline__ vector unsigned short __ATTRS_o_ai
1223 vec_andc(vector unsigned short __a, vector bool short __b) { in vec_andc()
1224 return __a & ~(vector unsigned short)__b; in vec_andc()
1227 static __inline__ vector bool short __ATTRS_o_ai
1228 vec_andc(vector bool short __a, vector bool short __b) { in vec_andc()
1232 static __inline__ vector int __ATTRS_o_ai vec_andc(vector int __a, in vec_andc()
1233 vector int __b) { in vec_andc()
1237 static __inline__ vector int __ATTRS_o_ai vec_andc(vector bool int __a, in vec_andc()
1238 vector int __b) { in vec_andc()
1239 return (vector int)__a & ~__b; in vec_andc()
1242 static __inline__ vector int __ATTRS_o_ai vec_andc(vector int __a, in vec_andc()
1243 vector bool int __b) { in vec_andc()
1244 return __a & ~(vector int)__b; in vec_andc()
1247 static __inline__ vector unsigned int __ATTRS_o_ai
1248 vec_andc(vector unsigned int __a, vector unsigned int __b) { in vec_andc()
1252 static __inline__ vector unsigned int __ATTRS_o_ai
1253 vec_andc(vector bool int __a, vector unsigned int __b) { in vec_andc()
1254 return (vector unsigned int)__a & ~__b; in vec_andc()
1257 static __inline__ vector unsigned int __ATTRS_o_ai
1258 vec_andc(vector unsigned int __a, vector bool int __b) { in vec_andc()
1259 return __a & ~(vector unsigned int)__b; in vec_andc()
1262 static __inline__ vector bool int __ATTRS_o_ai vec_andc(vector bool int __a, in vec_andc()
1263 vector bool int __b) { in vec_andc()
1267 static __inline__ vector float __ATTRS_o_ai vec_andc(vector float __a, in vec_andc()
1268 vector float __b) { in vec_andc()
1269 vector unsigned int __res = in vec_andc()
1270 (vector unsigned int)__a & ~(vector unsigned int)__b; in vec_andc()
1271 return (vector float)__res; in vec_andc()
1274 static __inline__ vector float __ATTRS_o_ai vec_andc(vector bool int __a, in vec_andc()
1275 vector float __b) { in vec_andc()
1276 vector unsigned int __res = in vec_andc()
1277 (vector unsigned int)__a & ~(vector unsigned int)__b; in vec_andc()
1278 return (vector float)__res; in vec_andc()
1281 static __inline__ vector float __ATTRS_o_ai vec_andc(vector float __a, in vec_andc()
1282 vector bool int __b) { in vec_andc()
1283 vector unsigned int __res = in vec_andc()
1284 (vector unsigned int)__a & ~(vector unsigned int)__b; in vec_andc()
1285 return (vector float)__res; in vec_andc()
1289 static __inline__ vector double __ATTRS_o_ai vec_andc(vector bool long long __a, in vec_andc()
1290 vector double __b) { in vec_andc()
1291 vector unsigned long long __res = in vec_andc()
1292 (vector unsigned long long)__a & ~(vector unsigned long long)__b; in vec_andc()
1293 return (vector double)__res; in vec_andc()
1296 static __inline__ vector double __ATTRS_o_ai
1297 vec_andc(vector double __a, vector bool long long __b) { in vec_andc()
1298 vector unsigned long long __res = in vec_andc()
1299 (vector unsigned long long)__a & ~(vector unsigned long long)__b; in vec_andc()
1300 return (vector double)__res; in vec_andc()
1303 static __inline__ vector double __ATTRS_o_ai vec_andc(vector double __a, in vec_andc()
1304 vector double __b) { in vec_andc()
1305 vector unsigned long long __res = in vec_andc()
1306 (vector unsigned long long)__a & ~(vector unsigned long long)__b; in vec_andc()
1307 return (vector double)__res; in vec_andc()
1310 static __inline__ vector signed long long __ATTRS_o_ai
1311 vec_andc(vector signed long long __a, vector signed long long __b) { in vec_andc()
1315 static __inline__ vector signed long long __ATTRS_o_ai
1316 vec_andc(vector bool long long __a, vector signed long long __b) { in vec_andc()
1317 return (vector signed long long)__a & ~__b; in vec_andc()
1320 static __inline__ vector signed long long __ATTRS_o_ai
1321 vec_andc(vector signed long long __a, vector bool long long __b) { in vec_andc()
1322 return __a & ~(vector signed long long)__b; in vec_andc()
1325 static __inline__ vector unsigned long long __ATTRS_o_ai
1326 vec_andc(vector unsigned long long __a, vector unsigned long long __b) { in vec_andc()
1330 static __inline__ vector unsigned long long __ATTRS_o_ai
1331 vec_andc(vector bool long long __a, vector unsigned long long __b) { in vec_andc()
1332 return (vector unsigned long long)__a & ~__b; in vec_andc()
1335 static __inline__ vector unsigned long long __ATTRS_o_ai
1336 vec_andc(vector unsigned long long __a, vector bool long long __b) { in vec_andc()
1337 return __a & ~(vector unsigned long long)__b; in vec_andc()
1340 static __inline__ vector bool long long __ATTRS_o_ai
1341 vec_andc(vector bool long long __a, vector bool long long __b) { in vec_andc()
1348 static __inline__ vector signed char __ATTRS_o_ai
1349 vec_vandc(vector signed char __a, vector signed char __b) { in vec_vandc()
1353 static __inline__ vector signed char __ATTRS_o_ai
1354 vec_vandc(vector bool char __a, vector signed char __b) { in vec_vandc()
1355 return (vector signed char)__a & ~__b; in vec_vandc()
1358 static __inline__ vector signed char __ATTRS_o_ai
1359 vec_vandc(vector signed char __a, vector bool char __b) { in vec_vandc()
1360 return __a & ~(vector signed char)__b; in vec_vandc()
1363 static __inline__ vector unsigned char __ATTRS_o_ai
1364 vec_vandc(vector unsigned char __a, vector unsigned char __b) { in vec_vandc()
1368 static __inline__ vector unsigned char __ATTRS_o_ai
1369 vec_vandc(vector bool char __a, vector unsigned char __b) { in vec_vandc()
1370 return (vector unsigned char)__a & ~__b; in vec_vandc()
1373 static __inline__ vector unsigned char __ATTRS_o_ai
1374 vec_vandc(vector unsigned char __a, vector bool char __b) { in vec_vandc()
1375 return __a & ~(vector unsigned char)__b; in vec_vandc()
1378 static __inline__ vector bool char __ATTRS_o_ai
1379 vec_vandc(vector bool char __a, vector bool char __b) { in vec_vandc()
1383 static __inline__ vector short __ATTRS_o_ai vec_vandc(vector short __a, in vec_vandc()
1384 vector short __b) { in vec_vandc()
1388 static __inline__ vector short __ATTRS_o_ai vec_vandc(vector bool short __a, in vec_vandc()
1389 vector short __b) { in vec_vandc()
1390 return (vector short)__a & ~__b; in vec_vandc()
1393 static __inline__ vector short __ATTRS_o_ai vec_vandc(vector short __a, in vec_vandc()
1394 vector bool short __b) { in vec_vandc()
1395 return __a & ~(vector short)__b; in vec_vandc()
1398 static __inline__ vector unsigned short __ATTRS_o_ai
1399 vec_vandc(vector unsigned short __a, vector unsigned short __b) { in vec_vandc()
1403 static __inline__ vector unsigned short __ATTRS_o_ai
1404 vec_vandc(vector bool short __a, vector unsigned short __b) { in vec_vandc()
1405 return (vector unsigned short)__a & ~__b; in vec_vandc()
1408 static __inline__ vector unsigned short __ATTRS_o_ai
1409 vec_vandc(vector unsigned short __a, vector bool short __b) { in vec_vandc()
1410 return __a & ~(vector unsigned short)__b; in vec_vandc()
1413 static __inline__ vector bool short __ATTRS_o_ai
1414 vec_vandc(vector bool short __a, vector bool short __b) { in vec_vandc()
1418 static __inline__ vector int __ATTRS_o_ai vec_vandc(vector int __a, in vec_vandc()
1419 vector int __b) { in vec_vandc()
1423 static __inline__ vector int __ATTRS_o_ai vec_vandc(vector bool int __a, in vec_vandc()
1424 vector int __b) { in vec_vandc()
1425 return (vector int)__a & ~__b; in vec_vandc()
1428 static __inline__ vector int __ATTRS_o_ai vec_vandc(vector int __a, in vec_vandc()
1429 vector bool int __b) { in vec_vandc()
1430 return __a & ~(vector int)__b; in vec_vandc()
1433 static __inline__ vector unsigned int __ATTRS_o_ai
1434 vec_vandc(vector unsigned int __a, vector unsigned int __b) { in vec_vandc()
1438 static __inline__ vector unsigned int __ATTRS_o_ai
1439 vec_vandc(vector bool int __a, vector unsigned int __b) { in vec_vandc()
1440 return (vector unsigned int)__a & ~__b; in vec_vandc()
1443 static __inline__ vector unsigned int __ATTRS_o_ai
1444 vec_vandc(vector unsigned int __a, vector bool int __b) { in vec_vandc()
1445 return __a & ~(vector unsigned int)__b; in vec_vandc()
1448 static __inline__ vector bool int __ATTRS_o_ai vec_vandc(vector bool int __a, in vec_vandc()
1449 vector bool int __b) { in vec_vandc()
1453 static __inline__ vector float __ATTRS_o_ai vec_vandc(vector float __a, in vec_vandc()
1454 vector float __b) { in vec_vandc()
1455 vector unsigned int __res = in vec_vandc()
1456 (vector unsigned int)__a & ~(vector unsigned int)__b; in vec_vandc()
1457 return (vector float)__res; in vec_vandc()
1460 static __inline__ vector float __ATTRS_o_ai vec_vandc(vector bool int __a, in vec_vandc()
1461 vector float __b) { in vec_vandc()
1462 vector unsigned int __res = in vec_vandc()
1463 (vector unsigned int)__a & ~(vector unsigned int)__b; in vec_vandc()
1464 return (vector float)__res; in vec_vandc()
1467 static __inline__ vector float __ATTRS_o_ai vec_vandc(vector float __a, in vec_vandc()
1468 vector bool int __b) { in vec_vandc()
1469 vector unsigned int __res = in vec_vandc()
1470 (vector unsigned int)__a & ~(vector unsigned int)__b; in vec_vandc()
1471 return (vector float)__res; in vec_vandc()
1475 static __inline__ vector signed long long __ATTRS_o_ai
1476 vec_vandc(vector signed long long __a, vector signed long long __b) { in vec_vandc()
1480 static __inline__ vector signed long long __ATTRS_o_ai
1481 vec_vandc(vector bool long long __a, vector signed long long __b) { in vec_vandc()
1482 return (vector signed long long)__a & ~__b; in vec_vandc()
1485 static __inline__ vector signed long long __ATTRS_o_ai
1486 vec_vandc(vector signed long long __a, vector bool long long __b) { in vec_vandc()
1487 return __a & ~(vector signed long long)__b; in vec_vandc()
1490 static __inline__ vector unsigned long long __ATTRS_o_ai
1491 vec_vandc(vector unsigned long long __a, vector unsigned long long __b) { in vec_vandc()
1495 static __inline__ vector unsigned long long __ATTRS_o_ai
1496 vec_vandc(vector bool long long __a, vector unsigned long long __b) { in vec_vandc()
1497 return (vector unsigned long long)__a & ~__b; in vec_vandc()
1500 static __inline__ vector unsigned long long __ATTRS_o_ai
1501 vec_vandc(vector unsigned long long __a, vector bool long long __b) { in vec_vandc()
1502 return __a & ~(vector unsigned long long)__b; in vec_vandc()
1505 static __inline__ vector bool long long __ATTRS_o_ai
1506 vec_vandc(vector bool long long __a, vector bool long long __b) { in vec_vandc()
1513 static __inline__ vector signed char __ATTRS_o_ai
1514 vec_avg(vector signed char __a, vector signed char __b) { in vec_avg()
1518 static __inline__ vector unsigned char __ATTRS_o_ai
1519 vec_avg(vector unsigned char __a, vector unsigned char __b) { in vec_avg()
1523 static __inline__ vector short __ATTRS_o_ai vec_avg(vector short __a, in vec_avg()
1524 vector short __b) { in vec_avg()
1528 static __inline__ vector unsigned short __ATTRS_o_ai
1529 vec_avg(vector unsigned short __a, vector unsigned short __b) { in vec_avg()
1533 static __inline__ vector int __ATTRS_o_ai vec_avg(vector int __a, in vec_avg()
1534 vector int __b) { in vec_avg()
1538 static __inline__ vector unsigned int __ATTRS_o_ai
1539 vec_avg(vector unsigned int __a, vector unsigned int __b) { in vec_avg()
1545 static __inline__ vector signed char __attribute__((__always_inline__))
1546 vec_vavgsb(vector signed char __a, vector signed char __b) { in vec_vavgsb()
1552 static __inline__ vector unsigned char __attribute__((__always_inline__))
1553 vec_vavgub(vector unsigned char __a, vector unsigned char __b) { in vec_vavgub()
1559 static __inline__ vector short __attribute__((__always_inline__))
1560 vec_vavgsh(vector short __a, vector short __b) { in vec_vavgsh()
1566 static __inline__ vector unsigned short __attribute__((__always_inline__))
1567 vec_vavguh(vector unsigned short __a, vector unsigned short __b) { in vec_vavguh()
1573 static __inline__ vector int __attribute__((__always_inline__))
1574 vec_vavgsw(vector int __a, vector int __b) { in vec_vavgsw()
1580 static __inline__ vector unsigned int __attribute__((__always_inline__))
1581 vec_vavguw(vector unsigned int __a, vector unsigned int __b) { in vec_vavguw()
1587 static __inline__ vector float __ATTRS_o_ai vec_ceil(vector float __a) { in vec_ceil()
1596 static __inline__ vector double __ATTRS_o_ai vec_ceil(vector double __a) { in vec_ceil()
1603 static __inline__ vector float __attribute__((__always_inline__))
1604 vec_vrfip(vector float __a) { in vec_vrfip()
1610 static __inline__ vector int __attribute__((__always_inline__))
1611 vec_cmpb(vector float __a, vector float __b) { in vec_cmpb()
1617 static __inline__ vector int __attribute__((__always_inline__))
1618 vec_vcmpbfp(vector float __a, vector float __b) { in vec_vcmpbfp()
1624 static __inline__ vector bool char __ATTRS_o_ai
1625 vec_cmpeq(vector signed char __a, vector signed char __b) { in vec_cmpeq()
1626 return (vector bool char)__builtin_altivec_vcmpequb((vector char)__a, in vec_cmpeq()
1627 (vector char)__b); in vec_cmpeq()
1630 static __inline__ vector bool char __ATTRS_o_ai
1631 vec_cmpeq(vector unsigned char __a, vector unsigned char __b) { in vec_cmpeq()
1632 return (vector bool char)__builtin_altivec_vcmpequb((vector char)__a, in vec_cmpeq()
1633 (vector char)__b); in vec_cmpeq()
1636 static __inline__ vector bool char __ATTRS_o_ai
1637 vec_cmpeq(vector bool char __a, vector bool char __b) { in vec_cmpeq()
1638 return (vector bool char)__builtin_altivec_vcmpequb((vector char)__a, in vec_cmpeq()
1639 (vector char)__b); in vec_cmpeq()
1642 static __inline__ vector bool short __ATTRS_o_ai vec_cmpeq(vector short __a, in vec_cmpeq()
1643 vector short __b) { in vec_cmpeq()
1644 return (vector bool short)__builtin_altivec_vcmpequh(__a, __b); in vec_cmpeq()
1647 static __inline__ vector bool short __ATTRS_o_ai
1648 vec_cmpeq(vector unsigned short __a, vector unsigned short __b) { in vec_cmpeq()
1649 return (vector bool short)__builtin_altivec_vcmpequh((vector short)__a, in vec_cmpeq()
1650 (vector short)__b); in vec_cmpeq()
1653 static __inline__ vector bool short __ATTRS_o_ai
1654 vec_cmpeq(vector bool short __a, vector bool short __b) { in vec_cmpeq()
1655 return (vector bool short)__builtin_altivec_vcmpequh((vector short)__a, in vec_cmpeq()
1656 (vector short)__b); in vec_cmpeq()
1659 static __inline__ vector bool int __ATTRS_o_ai vec_cmpeq(vector int __a, in vec_cmpeq()
1660 vector int __b) { in vec_cmpeq()
1661 return (vector bool int)__builtin_altivec_vcmpequw(__a, __b); in vec_cmpeq()
1664 static __inline__ vector bool int __ATTRS_o_ai
1665 vec_cmpeq(vector unsigned int __a, vector unsigned int __b) { in vec_cmpeq()
1666 return (vector bool int)__builtin_altivec_vcmpequw((vector int)__a, in vec_cmpeq()
1667 (vector int)__b); in vec_cmpeq()
1670 static __inline__ vector bool int __ATTRS_o_ai vec_cmpeq(vector bool int __a, in vec_cmpeq()
1671 vector bool int __b) { in vec_cmpeq()
1672 return (vector bool int)__builtin_altivec_vcmpequw((vector int)__a, in vec_cmpeq()
1673 (vector int)__b); in vec_cmpeq()
1677 static __inline__ vector bool long long __ATTRS_o_ai
1678 vec_cmpeq(vector signed long long __a, vector signed long long __b) { in vec_cmpeq()
1679 return (vector bool long long)__builtin_altivec_vcmpequd(__a, __b); in vec_cmpeq()
1682 static __inline__ vector bool long long __ATTRS_o_ai
1683 vec_cmpeq(vector unsigned long long __a, vector unsigned long long __b) { in vec_cmpeq()
1684 return (vector bool long long)__builtin_altivec_vcmpequd( in vec_cmpeq()
1685 (vector long long)__a, (vector long long)__b); in vec_cmpeq()
1688 static __inline__ vector bool long long __ATTRS_o_ai
1689 vec_cmpeq(vector bool long long __a, vector bool long long __b) { in vec_cmpeq()
1690 return (vector bool long long)__builtin_altivec_vcmpequd( in vec_cmpeq()
1691 (vector long long)__a, (vector long long)__b); in vec_cmpeq()
1696 static __inline__ vector bool int __ATTRS_o_ai vec_cmpeq(vector float __a, in vec_cmpeq()
1697 vector float __b) { in vec_cmpeq()
1699 return (vector bool int)__builtin_vsx_xvcmpeqsp(__a, __b); in vec_cmpeq()
1701 return (vector bool int)__builtin_altivec_vcmpeqfp(__a, __b); in vec_cmpeq()
1706 static __inline__ vector bool long long __ATTRS_o_ai
1707 vec_cmpeq(vector double __a, vector double __b) { in vec_cmpeq()
1708 return (vector bool long long)__builtin_vsx_xvcmpeqdp(__a, __b); in vec_cmpeq()
1713 static __inline__ vector bool __int128 __ATTRS_o_ai
1714 vec_cmpeq(vector signed __int128 __a, vector signed __int128 __b) { in vec_cmpeq()
1715 return (vector bool __int128)__builtin_altivec_vcmpequq( in vec_cmpeq()
1716 (vector bool __int128)__a, (vector bool __int128)__b); in vec_cmpeq()
1719 static __inline__ vector bool __int128 __ATTRS_o_ai
1720 vec_cmpeq(vector unsigned __int128 __a, vector unsigned __int128 __b) { in vec_cmpeq()
1721 return (vector bool __int128)__builtin_altivec_vcmpequq( in vec_cmpeq()
1722 (vector bool __int128)__a, (vector bool __int128)__b); in vec_cmpeq()
1729 static __inline__ vector bool char __ATTRS_o_ai
1730 vec_cmpne(vector bool char __a, vector bool char __b) { in vec_cmpne()
1731 return (vector bool char)__builtin_altivec_vcmpneb((vector char)__a, in vec_cmpne()
1732 (vector char)__b); in vec_cmpne()
1735 static __inline__ vector bool char __ATTRS_o_ai
1736 vec_cmpne(vector signed char __a, vector signed char __b) { in vec_cmpne()
1737 return (vector bool char)__builtin_altivec_vcmpneb((vector char)__a, in vec_cmpne()
1738 (vector char)__b); in vec_cmpne()
1741 static __inline__ vector bool char __ATTRS_o_ai
1742 vec_cmpne(vector unsigned char __a, vector unsigned char __b) { in vec_cmpne()
1743 return (vector bool char)__builtin_altivec_vcmpneb((vector char)__a, in vec_cmpne()
1744 (vector char)__b); in vec_cmpne()
1747 static __inline__ vector bool short __ATTRS_o_ai
1748 vec_cmpne(vector bool short __a, vector bool short __b) { in vec_cmpne()
1749 return (vector bool short)__builtin_altivec_vcmpneh((vector short)__a, in vec_cmpne()
1750 (vector short)__b); in vec_cmpne()
1753 static __inline__ vector bool short __ATTRS_o_ai
1754 vec_cmpne(vector signed short __a, vector signed short __b) { in vec_cmpne()
1755 return (vector bool short)__builtin_altivec_vcmpneh((vector short)__a, in vec_cmpne()
1756 (vector short)__b); in vec_cmpne()
1759 static __inline__ vector bool short __ATTRS_o_ai
1760 vec_cmpne(vector unsigned short __a, vector unsigned short __b) { in vec_cmpne()
1761 return (vector bool short)__builtin_altivec_vcmpneh((vector short)__a, in vec_cmpne()
1762 (vector short)__b); in vec_cmpne()
1765 static __inline__ vector bool int __ATTRS_o_ai
1766 vec_cmpne(vector bool int __a, vector bool int __b) { in vec_cmpne()
1767 return (vector bool int)__builtin_altivec_vcmpnew((vector int)__a, in vec_cmpne()
1768 (vector int)__b); in vec_cmpne()
1771 static __inline__ vector bool int __ATTRS_o_ai
1772 vec_cmpne(vector signed int __a, vector signed int __b) { in vec_cmpne()
1773 return (vector bool int)__builtin_altivec_vcmpnew((vector int)__a, in vec_cmpne()
1774 (vector int)__b); in vec_cmpne()
1777 static __inline__ vector bool int __ATTRS_o_ai
1778 vec_cmpne(vector unsigned int __a, vector unsigned int __b) { in vec_cmpne()
1779 return (vector bool int)__builtin_altivec_vcmpnew((vector int)__a, in vec_cmpne()
1780 (vector int)__b); in vec_cmpne()
1783 static __inline__ vector bool int __ATTRS_o_ai
1784 vec_cmpne(vector float __a, vector float __b) { in vec_cmpne()
1785 return (vector bool int)__builtin_altivec_vcmpnew((vector int)__a, in vec_cmpne()
1786 (vector int)__b); in vec_cmpne()
1790 static __inline__ vector bool __int128 __ATTRS_o_ai
1791 vec_cmpne(vector unsigned __int128 __a, vector unsigned __int128 __b) { in vec_cmpne()
1792 return (vector bool __int128) ~(__builtin_altivec_vcmpequq( in vec_cmpne()
1793 (vector bool __int128)__a, (vector bool __int128)__b)); in vec_cmpne()
1796 static __inline__ vector bool __int128 __ATTRS_o_ai
1797 vec_cmpne(vector signed __int128 __a, vector signed __int128 __b) { in vec_cmpne()
1798 return (vector bool __int128) ~(__builtin_altivec_vcmpequq( in vec_cmpne()
1799 (vector bool __int128)__a, (vector bool __int128)__b)); in vec_cmpne()
1805 static __inline__ vector bool char __ATTRS_o_ai
1806 vec_cmpnez(vector signed char __a, vector signed char __b) { in vec_cmpnez()
1807 return (vector bool char)__builtin_altivec_vcmpnezb((vector char)__a, in vec_cmpnez()
1808 (vector char)__b); in vec_cmpnez()
1811 static __inline__ vector bool char __ATTRS_o_ai
1812 vec_cmpnez(vector unsigned char __a, vector unsigned char __b) { in vec_cmpnez()
1813 return (vector bool char)__builtin_altivec_vcmpnezb((vector char)__a, in vec_cmpnez()
1814 (vector char)__b); in vec_cmpnez()
1817 static __inline__ vector bool short __ATTRS_o_ai
1818 vec_cmpnez(vector signed short __a, vector signed short __b) { in vec_cmpnez()
1819 return (vector bool short)__builtin_altivec_vcmpnezh((vector short)__a, in vec_cmpnez()
1820 (vector short)__b); in vec_cmpnez()
1823 static __inline__ vector bool short __ATTRS_o_ai
1824 vec_cmpnez(vector unsigned short __a, vector unsigned short __b) { in vec_cmpnez()
1825 return (vector bool short)__builtin_altivec_vcmpnezh((vector short)__a, in vec_cmpnez()
1826 (vector short)__b); in vec_cmpnez()
1829 static __inline__ vector bool int __ATTRS_o_ai
1830 vec_cmpnez(vector signed int __a, vector signed int __b) { in vec_cmpnez()
1831 return (vector bool int)__builtin_altivec_vcmpnezw((vector int)__a, in vec_cmpnez()
1832 (vector int)__b); in vec_cmpnez()
1835 static __inline__ vector bool int __ATTRS_o_ai
1836 vec_cmpnez(vector unsigned int __a, vector unsigned int __b) { in vec_cmpnez()
1837 return (vector bool int)__builtin_altivec_vcmpnezw((vector int)__a, in vec_cmpnez()
1838 (vector int)__b); in vec_cmpnez()
1842 vec_cntlz_lsbb(vector signed char __a) { in vec_cntlz_lsbb()
1851 vec_cntlz_lsbb(vector unsigned char __a) { in vec_cntlz_lsbb()
1860 vec_cnttz_lsbb(vector signed char __a) { in vec_cnttz_lsbb()
1869 vec_cnttz_lsbb(vector unsigned char __a) { in vec_cnttz_lsbb()
1877 static __inline__ vector unsigned int __ATTRS_o_ai
1878 vec_parity_lsbb(vector unsigned int __a) { in vec_parity_lsbb()
1882 static __inline__ vector unsigned int __ATTRS_o_ai
1883 vec_parity_lsbb(vector signed int __a) { in vec_parity_lsbb()
1887 static __inline__ vector unsigned __int128 __ATTRS_o_ai
1888 vec_parity_lsbb(vector unsigned __int128 __a) { in vec_parity_lsbb()
1892 static __inline__ vector unsigned __int128 __ATTRS_o_ai
1893 vec_parity_lsbb(vector signed __int128 __a) { in vec_parity_lsbb()
1897 static __inline__ vector unsigned long long __ATTRS_o_ai
1898 vec_parity_lsbb(vector unsigned long long __a) { in vec_parity_lsbb()
1902 static __inline__ vector unsigned long long __ATTRS_o_ai
1903 vec_parity_lsbb(vector signed long long __a) { in vec_parity_lsbb()
1910 static __inline__ vector bool char __ATTRS_o_ai
1911 vec_cmpne(vector bool char __a, vector bool char __b) { in vec_cmpne()
1915 static __inline__ vector bool char __ATTRS_o_ai
1916 vec_cmpne(vector signed char __a, vector signed char __b) { in vec_cmpne()
1920 static __inline__ vector bool char __ATTRS_o_ai
1921 vec_cmpne(vector unsigned char __a, vector unsigned char __b) { in vec_cmpne()
1925 static __inline__ vector bool short __ATTRS_o_ai
1926 vec_cmpne(vector bool short __a, vector bool short __b) { in vec_cmpne()
1930 static __inline__ vector bool short __ATTRS_o_ai
1931 vec_cmpne(vector signed short __a, vector signed short __b) { in vec_cmpne()
1935 static __inline__ vector bool short __ATTRS_o_ai
1936 vec_cmpne(vector unsigned short __a, vector unsigned short __b) { in vec_cmpne()
1940 static __inline__ vector bool int __ATTRS_o_ai
1941 vec_cmpne(vector bool int __a, vector bool int __b) { in vec_cmpne()
1945 static __inline__ vector bool int __ATTRS_o_ai
1946 vec_cmpne(vector signed int __a, vector signed int __b) { in vec_cmpne()
1950 static __inline__ vector bool int __ATTRS_o_ai
1951 vec_cmpne(vector unsigned int __a, vector unsigned int __b) { in vec_cmpne()
1955 static __inline__ vector bool int __ATTRS_o_ai
1956 vec_cmpne(vector float __a, vector float __b) { in vec_cmpne()
1962 static __inline__ vector bool long long __ATTRS_o_ai
1963 vec_cmpne(vector bool long long __a, vector bool long long __b) { in vec_cmpne()
1964 return (vector bool long long) in vec_cmpne()
1965 ~(__builtin_altivec_vcmpequd((vector long long)__a, (vector long long)__b)); in vec_cmpne()
1968 static __inline__ vector bool long long __ATTRS_o_ai
1969 vec_cmpne(vector signed long long __a, vector signed long long __b) { in vec_cmpne()
1970 return (vector bool long long) in vec_cmpne()
1971 ~(__builtin_altivec_vcmpequd((vector long long)__a, (vector long long)__b)); in vec_cmpne()
1974 static __inline__ vector bool long long __ATTRS_o_ai
1975 vec_cmpne(vector unsigned long long __a, vector unsigned long long __b) { in vec_cmpne()
1976 return (vector bool long long) in vec_cmpne()
1977 ~(__builtin_altivec_vcmpequd((vector long long)__a, (vector long long)__b)); in vec_cmpne()
1982 static __inline__ vector bool long long __ATTRS_o_ai
1983 vec_cmpne(vector double __a, vector double __b) { in vec_cmpne()
1984 return (vector bool long long) in vec_cmpne()
1985 ~(__builtin_altivec_vcmpequd((vector long long)__a, (vector long long)__b)); in vec_cmpne()
1991 static __inline__ vector bool char __ATTRS_o_ai
1992 vec_cmpgt(vector signed char __a, vector signed char __b) { in vec_cmpgt()
1993 return (vector bool char)__builtin_altivec_vcmpgtsb(__a, __b); in vec_cmpgt()
1996 static __inline__ vector bool char __ATTRS_o_ai
1997 vec_cmpgt(vector unsigned char __a, vector unsigned char __b) { in vec_cmpgt()
1998 return (vector bool char)__builtin_altivec_vcmpgtub(__a, __b); in vec_cmpgt()
2001 static __inline__ vector bool short __ATTRS_o_ai vec_cmpgt(vector short __a, in vec_cmpgt()
2002 vector short __b) { in vec_cmpgt()
2003 return (vector bool short)__builtin_altivec_vcmpgtsh(__a, __b); in vec_cmpgt()
2006 static __inline__ vector bool short __ATTRS_o_ai
2007 vec_cmpgt(vector unsigned short __a, vector unsigned short __b) { in vec_cmpgt()
2008 return (vector bool short)__builtin_altivec_vcmpgtuh(__a, __b); in vec_cmpgt()
2011 static __inline__ vector bool int __ATTRS_o_ai vec_cmpgt(vector int __a, in vec_cmpgt()
2012 vector int __b) { in vec_cmpgt()
2013 return (vector bool int)__builtin_altivec_vcmpgtsw(__a, __b); in vec_cmpgt()
2016 static __inline__ vector bool int __ATTRS_o_ai
2017 vec_cmpgt(vector unsigned int __a, vector unsigned int __b) { in vec_cmpgt()
2018 return (vector bool int)__builtin_altivec_vcmpgtuw(__a, __b); in vec_cmpgt()
2022 static __inline__ vector bool long long __ATTRS_o_ai
2023 vec_cmpgt(vector signed long long __a, vector signed long long __b) { in vec_cmpgt()
2024 return (vector bool long long)__builtin_altivec_vcmpgtsd(__a, __b); in vec_cmpgt()
2027 static __inline__ vector bool long long __ATTRS_o_ai
2028 vec_cmpgt(vector unsigned long long __a, vector unsigned long long __b) { in vec_cmpgt()
2029 return (vector bool long long)__builtin_altivec_vcmpgtud(__a, __b); in vec_cmpgt()
2033 static __inline__ vector bool int __ATTRS_o_ai vec_cmpgt(vector float __a, in vec_cmpgt()
2034 vector float __b) { in vec_cmpgt()
2036 return (vector bool int)__builtin_vsx_xvcmpgtsp(__a, __b); in vec_cmpgt()
2038 return (vector bool int)__builtin_altivec_vcmpgtfp(__a, __b); in vec_cmpgt()
2043 static __inline__ vector bool long long __ATTRS_o_ai
2044 vec_cmpgt(vector double __a, vector double __b) { in vec_cmpgt()
2045 return (vector bool long long)__builtin_vsx_xvcmpgtdp(__a, __b); in vec_cmpgt()
2050 static __inline__ vector bool __int128 __ATTRS_o_ai
2051 vec_cmpgt(vector signed __int128 __a, vector signed __int128 __b) { in vec_cmpgt()
2052 return (vector bool __int128)__builtin_altivec_vcmpgtsq( in vec_cmpgt()
2053 (vector bool __int128)__a, (vector bool __int128)__b); in vec_cmpgt()
2056 static __inline__ vector bool __int128 __ATTRS_o_ai
2057 vec_cmpgt(vector unsigned __int128 __a, vector unsigned __int128 __b) { in vec_cmpgt()
2058 return (vector bool __int128)__builtin_altivec_vcmpgtuq( in vec_cmpgt()
2059 (vector bool __int128)__a, (vector bool __int128)__b); in vec_cmpgt()
2065 static __inline__ vector bool char __ATTRS_o_ai
2066 vec_cmpge(vector signed char __a, vector signed char __b) { in vec_cmpge()
2070 static __inline__ vector bool char __ATTRS_o_ai
2071 vec_cmpge(vector unsigned char __a, vector unsigned char __b) { in vec_cmpge()
2075 static __inline__ vector bool short __ATTRS_o_ai
2076 vec_cmpge(vector signed short __a, vector signed short __b) { in vec_cmpge()
2080 static __inline__ vector bool short __ATTRS_o_ai
2081 vec_cmpge(vector unsigned short __a, vector unsigned short __b) { in vec_cmpge()
2085 static __inline__ vector bool int __ATTRS_o_ai
2086 vec_cmpge(vector signed int __a, vector signed int __b) { in vec_cmpge()
2090 static __inline__ vector bool int __ATTRS_o_ai
2091 vec_cmpge(vector unsigned int __a, vector unsigned int __b) { in vec_cmpge()
2095 static __inline__ vector bool int __ATTRS_o_ai vec_cmpge(vector float __a, in vec_cmpge()
2096 vector float __b) { in vec_cmpge()
2098 return (vector bool int)__builtin_vsx_xvcmpgesp(__a, __b); in vec_cmpge()
2100 return (vector bool int)__builtin_altivec_vcmpgefp(__a, __b); in vec_cmpge()
2105 static __inline__ vector bool long long __ATTRS_o_ai
2106 vec_cmpge(vector double __a, vector double __b) { in vec_cmpge()
2107 return (vector bool long long)__builtin_vsx_xvcmpgedp(__a, __b); in vec_cmpge()
2112 static __inline__ vector bool long long __ATTRS_o_ai
2113 vec_cmpge(vector signed long long __a, vector signed long long __b) { in vec_cmpge()
2117 static __inline__ vector bool long long __ATTRS_o_ai
2118 vec_cmpge(vector unsigned long long __a, vector unsigned long long __b) { in vec_cmpge()
2124 static __inline__ vector bool __int128 __ATTRS_o_ai
2125 vec_cmpge(vector signed __int128 __a, vector signed __int128 __b) { in vec_cmpge()
2129 static __inline__ vector bool __int128 __ATTRS_o_ai
2130 vec_cmpge(vector unsigned __int128 __a, vector unsigned __int128 __b) { in vec_cmpge()
2137 static __inline__ vector bool int __attribute__((__always_inline__))
2138 vec_vcmpgefp(vector float __a, vector float __b) { in vec_vcmpgefp()
2139 return (vector bool int)__builtin_altivec_vcmpgefp(__a, __b); in vec_vcmpgefp()
2144 static __inline__ vector bool char __attribute__((__always_inline__))
2145 vec_vcmpgtsb(vector signed char __a, vector signed char __b) { in vec_vcmpgtsb()
2146 return (vector bool char)__builtin_altivec_vcmpgtsb(__a, __b); in vec_vcmpgtsb()
2151 static __inline__ vector bool char __attribute__((__always_inline__))
2152 vec_vcmpgtub(vector unsigned char __a, vector unsigned char __b) { in vec_vcmpgtub()
2153 return (vector bool char)__builtin_altivec_vcmpgtub(__a, __b); in vec_vcmpgtub()
2158 static __inline__ vector bool short __attribute__((__always_inline__))
2159 vec_vcmpgtsh(vector short __a, vector short __b) { in vec_vcmpgtsh()
2160 return (vector bool short)__builtin_altivec_vcmpgtsh(__a, __b); in vec_vcmpgtsh()
2165 static __inline__ vector bool short __attribute__((__always_inline__))
2166 vec_vcmpgtuh(vector unsigned short __a, vector unsigned short __b) { in vec_vcmpgtuh()
2167 return (vector bool short)__builtin_altivec_vcmpgtuh(__a, __b); in vec_vcmpgtuh()
2172 static __inline__ vector bool int __attribute__((__always_inline__))
2173 vec_vcmpgtsw(vector int __a, vector int __b) { in vec_vcmpgtsw()
2174 return (vector bool int)__builtin_altivec_vcmpgtsw(__a, __b); in vec_vcmpgtsw()
2179 static __inline__ vector bool int __attribute__((__always_inline__))
2180 vec_vcmpgtuw(vector unsigned int __a, vector unsigned int __b) { in vec_vcmpgtuw()
2181 return (vector bool int)__builtin_altivec_vcmpgtuw(__a, __b); in vec_vcmpgtuw()
2186 static __inline__ vector bool int __attribute__((__always_inline__))
2187 vec_vcmpgtfp(vector float __a, vector float __b) { in vec_vcmpgtfp()
2188 return (vector bool int)__builtin_altivec_vcmpgtfp(__a, __b); in vec_vcmpgtfp()
2193 static __inline__ vector bool char __ATTRS_o_ai
2194 vec_cmple(vector signed char __a, vector signed char __b) { in vec_cmple()
2198 static __inline__ vector bool char __ATTRS_o_ai
2199 vec_cmple(vector unsigned char __a, vector unsigned char __b) { in vec_cmple()
2203 static __inline__ vector bool short __ATTRS_o_ai
2204 vec_cmple(vector signed short __a, vector signed short __b) { in vec_cmple()
2208 static __inline__ vector bool short __ATTRS_o_ai
2209 vec_cmple(vector unsigned short __a, vector unsigned short __b) { in vec_cmple()
2213 static __inline__ vector bool int __ATTRS_o_ai
2214 vec_cmple(vector signed int __a, vector signed int __b) { in vec_cmple()
2218 static __inline__ vector bool int __ATTRS_o_ai
2219 vec_cmple(vector unsigned int __a, vector unsigned int __b) { in vec_cmple()
2223 static __inline__ vector bool int __ATTRS_o_ai vec_cmple(vector float __a, in vec_cmple()
2224 vector float __b) { in vec_cmple()
2229 static __inline__ vector bool long long __ATTRS_o_ai
2230 vec_cmple(vector double __a, vector double __b) { in vec_cmple()
2236 static __inline__ vector bool long long __ATTRS_o_ai
2237 vec_cmple(vector signed long long __a, vector signed long long __b) { in vec_cmple()
2241 static __inline__ vector bool long long __ATTRS_o_ai
2242 vec_cmple(vector unsigned long long __a, vector unsigned long long __b) { in vec_cmple()
2248 static __inline__ vector bool __int128 __ATTRS_o_ai
2249 vec_cmple(vector signed __int128 __a, vector signed __int128 __b) { in vec_cmple()
2253 static __inline__ vector bool __int128 __ATTRS_o_ai
2254 vec_cmple(vector unsigned __int128 __a, vector unsigned __int128 __b) { in vec_cmple()
2261 static __inline__ vector bool char __ATTRS_o_ai
2262 vec_cmplt(vector signed char __a, vector signed char __b) { in vec_cmplt()
2266 static __inline__ vector bool char __ATTRS_o_ai
2267 vec_cmplt(vector unsigned char __a, vector unsigned char __b) { in vec_cmplt()
2271 static __inline__ vector bool short __ATTRS_o_ai vec_cmplt(vector short __a, in vec_cmplt()
2272 vector short __b) { in vec_cmplt()
2276 static __inline__ vector bool short __ATTRS_o_ai
2277 vec_cmplt(vector unsigned short __a, vector unsigned short __b) { in vec_cmplt()
2281 static __inline__ vector bool int __ATTRS_o_ai vec_cmplt(vector int __a, in vec_cmplt()
2282 vector int __b) { in vec_cmplt()
2286 static __inline__ vector bool int __ATTRS_o_ai
2287 vec_cmplt(vector unsigned int __a, vector unsigned int __b) { in vec_cmplt()
2291 static __inline__ vector bool int __ATTRS_o_ai vec_cmplt(vector float __a, in vec_cmplt()
2292 vector float __b) { in vec_cmplt()
2297 static __inline__ vector bool long long __ATTRS_o_ai
2298 vec_cmplt(vector double __a, vector double __b) { in vec_cmplt()
2304 static __inline__ vector bool __int128 __ATTRS_o_ai
2305 vec_cmplt(vector signed __int128 __a, vector signed __int128 __b) { in vec_cmplt()
2309 static __inline__ vector bool __int128 __ATTRS_o_ai
2310 vec_cmplt(vector unsigned __int128 __a, vector unsigned __int128 __b) { in vec_cmplt()
2316 static __inline__ vector bool long long __ATTRS_o_ai
2317 vec_cmplt(vector signed long long __a, vector signed long long __b) { in vec_cmplt()
2321 static __inline__ vector bool long long __ATTRS_o_ai
2322 vec_cmplt(vector unsigned long long __a, vector unsigned long long __b) { in vec_cmplt()
2328 static __inline__ vector signed char __ATTRS_o_ai
2329 vec_popcnt(vector signed char __a) { in vec_popcnt()
2332 static __inline__ vector unsigned char __ATTRS_o_ai
2333 vec_popcnt(vector unsigned char __a) { in vec_popcnt()
2336 static __inline__ vector signed short __ATTRS_o_ai
2337 vec_popcnt(vector signed short __a) { in vec_popcnt()
2340 static __inline__ vector unsigned short __ATTRS_o_ai
2341 vec_popcnt(vector unsigned short __a) { in vec_popcnt()
2344 static __inline__ vector signed int __ATTRS_o_ai
2345 vec_popcnt(vector signed int __a) { in vec_popcnt()
2348 static __inline__ vector unsigned int __ATTRS_o_ai
2349 vec_popcnt(vector unsigned int __a) { in vec_popcnt()
2352 static __inline__ vector signed long long __ATTRS_o_ai
2353 vec_popcnt(vector signed long long __a) { in vec_popcnt()
2356 static __inline__ vector unsigned long long __ATTRS_o_ai
2357 vec_popcnt(vector unsigned long long __a) { in vec_popcnt()
2363 static __inline__ vector signed char __ATTRS_o_ai
2364 vec_cntlz(vector signed char __a) { in vec_cntlz()
2367 static __inline__ vector unsigned char __ATTRS_o_ai
2368 vec_cntlz(vector unsigned char __a) { in vec_cntlz()
2371 static __inline__ vector signed short __ATTRS_o_ai
2372 vec_cntlz(vector signed short __a) { in vec_cntlz()
2375 static __inline__ vector unsigned short __ATTRS_o_ai
2376 vec_cntlz(vector unsigned short __a) { in vec_cntlz()
2379 static __inline__ vector signed int __ATTRS_o_ai
2380 vec_cntlz(vector signed int __a) { in vec_cntlz()
2383 static __inline__ vector unsigned int __ATTRS_o_ai
2384 vec_cntlz(vector unsigned int __a) { in vec_cntlz()
2387 static __inline__ vector signed long long __ATTRS_o_ai
2388 vec_cntlz(vector signed long long __a) { in vec_cntlz()
2391 static __inline__ vector unsigned long long __ATTRS_o_ai
2392 vec_cntlz(vector unsigned long long __a) { in vec_cntlz()
2401 static __inline__ vector signed char __ATTRS_o_ai
2402 vec_cnttz(vector signed char __a) { in vec_cnttz()
2405 static __inline__ vector unsigned char __ATTRS_o_ai
2406 vec_cnttz(vector unsigned char __a) { in vec_cnttz()
2409 static __inline__ vector signed short __ATTRS_o_ai
2410 vec_cnttz(vector signed short __a) { in vec_cnttz()
2413 static __inline__ vector unsigned short __ATTRS_o_ai
2414 vec_cnttz(vector unsigned short __a) { in vec_cnttz()
2417 static __inline__ vector signed int __ATTRS_o_ai
2418 vec_cnttz(vector signed int __a) { in vec_cnttz()
2421 static __inline__ vector unsigned int __ATTRS_o_ai
2422 vec_cnttz(vector unsigned int __a) { in vec_cnttz()
2425 static __inline__ vector signed long long __ATTRS_o_ai
2426 vec_cnttz(vector signed long long __a) { in vec_cnttz()
2429 static __inline__ vector unsigned long long __ATTRS_o_ai
2430 vec_cnttz(vector unsigned long long __a) { in vec_cnttz()
2437 vec_first_match_index(vector signed char __a, vector signed char __b) { in vec_first_match_index()
2438 vector unsigned long long __res = in vec_first_match_index()
2440 vec_cnttz((vector unsigned long long)vec_cmpeq(__a, __b)); in vec_first_match_index()
2442 vec_cntlz((vector unsigned long long)vec_cmpeq(__a, __b)); in vec_first_match_index()
2451 vec_first_match_index(vector unsigned char __a, vector unsigned char __b) { in vec_first_match_index()
2452 vector unsigned long long __res = in vec_first_match_index()
2454 vec_cnttz((vector unsigned long long)vec_cmpeq(__a, __b)); in vec_first_match_index()
2456 vec_cntlz((vector unsigned long long)vec_cmpeq(__a, __b)); in vec_first_match_index()
2465 vec_first_match_index(vector signed short __a, vector signed short __b) { in vec_first_match_index()
2466 vector unsigned long long __res = in vec_first_match_index()
2468 vec_cnttz((vector unsigned long long)vec_cmpeq(__a, __b)); in vec_first_match_index()
2470 vec_cntlz((vector unsigned long long)vec_cmpeq(__a, __b)); in vec_first_match_index()
2479 vec_first_match_index(vector unsigned short __a, vector unsigned short __b) { in vec_first_match_index()
2480 vector unsigned long long __res = in vec_first_match_index()
2482 vec_cnttz((vector unsigned long long)vec_cmpeq(__a, __b)); in vec_first_match_index()
2484 vec_cntlz((vector unsigned long long)vec_cmpeq(__a, __b)); in vec_first_match_index()
2493 vec_first_match_index(vector signed int __a, vector signed int __b) { in vec_first_match_index()
2494 vector unsigned long long __res = in vec_first_match_index()
2496 vec_cnttz((vector unsigned long long)vec_cmpeq(__a, __b)); in vec_first_match_index()
2498 vec_cntlz((vector unsigned long long)vec_cmpeq(__a, __b)); in vec_first_match_index()
2507 vec_first_match_index(vector unsigned int __a, vector unsigned int __b) { in vec_first_match_index()
2508 vector unsigned long long __res = in vec_first_match_index()
2510 vec_cnttz((vector unsigned long long)vec_cmpeq(__a, __b)); in vec_first_match_index()
2512 vec_cntlz((vector unsigned long long)vec_cmpeq(__a, __b)); in vec_first_match_index()
2523 vec_first_match_or_eos_index(vector signed char __a, vector signed char __b) { in vec_first_match_or_eos_index()
2528 vector bool char __tmp1 = vec_cmpeq(__a, __b); in vec_first_match_or_eos_index()
2529 vector bool char __tmp2 = __tmp1 | in vec_first_match_or_eos_index()
2530 vec_cmpeq((vector signed char)__tmp1, __a) | in vec_first_match_or_eos_index()
2531 vec_cmpeq((vector signed char)__tmp1, __b); in vec_first_match_or_eos_index()
2533 vector unsigned long long __res = in vec_first_match_or_eos_index()
2535 vec_cnttz((vector unsigned long long)__tmp2); in vec_first_match_or_eos_index()
2537 vec_cntlz((vector unsigned long long)__tmp2); in vec_first_match_or_eos_index()
2546 vec_first_match_or_eos_index(vector unsigned char __a, in vec_first_match_or_eos_index()
2547 vector unsigned char __b) { in vec_first_match_or_eos_index()
2548 vector bool char __tmp1 = vec_cmpeq(__a, __b); in vec_first_match_or_eos_index()
2549 vector bool char __tmp2 = __tmp1 | in vec_first_match_or_eos_index()
2550 vec_cmpeq((vector unsigned char)__tmp1, __a) | in vec_first_match_or_eos_index()
2551 vec_cmpeq((vector unsigned char)__tmp1, __b); in vec_first_match_or_eos_index()
2553 vector unsigned long long __res = in vec_first_match_or_eos_index()
2555 vec_cnttz((vector unsigned long long)__tmp2); in vec_first_match_or_eos_index()
2557 vec_cntlz((vector unsigned long long)__tmp2); in vec_first_match_or_eos_index()
2566 vec_first_match_or_eos_index(vector signed short __a, vector signed short __b) { in vec_first_match_or_eos_index()
2567 vector bool short __tmp1 = vec_cmpeq(__a, __b); in vec_first_match_or_eos_index()
2568 vector bool short __tmp2 = __tmp1 | in vec_first_match_or_eos_index()
2569 vec_cmpeq((vector signed short)__tmp1, __a) | in vec_first_match_or_eos_index()
2570 vec_cmpeq((vector signed short)__tmp1, __b); in vec_first_match_or_eos_index()
2572 vector unsigned long long __res = in vec_first_match_or_eos_index()
2574 vec_cnttz((vector unsigned long long)__tmp2); in vec_first_match_or_eos_index()
2576 vec_cntlz((vector unsigned long long)__tmp2); in vec_first_match_or_eos_index()
2585 vec_first_match_or_eos_index(vector unsigned short __a, in vec_first_match_or_eos_index()
2586 vector unsigned short __b) { in vec_first_match_or_eos_index()
2587 vector bool short __tmp1 = vec_cmpeq(__a, __b); in vec_first_match_or_eos_index()
2588 vector bool short __tmp2 = __tmp1 | in vec_first_match_or_eos_index()
2589 vec_cmpeq((vector unsigned short)__tmp1, __a) | in vec_first_match_or_eos_index()
2590 vec_cmpeq((vector unsigned short)__tmp1, __b); in vec_first_match_or_eos_index()
2592 vector unsigned long long __res = in vec_first_match_or_eos_index()
2594 vec_cnttz((vector unsigned long long)__tmp2); in vec_first_match_or_eos_index()
2596 vec_cntlz((vector unsigned long long)__tmp2); in vec_first_match_or_eos_index()
2605 vec_first_match_or_eos_index(vector signed int __a, vector signed int __b) { in vec_first_match_or_eos_index()
2606 vector bool int __tmp1 = vec_cmpeq(__a, __b); in vec_first_match_or_eos_index()
2607 vector bool int __tmp2 = __tmp1 | vec_cmpeq((vector signed int)__tmp1, __a) | in vec_first_match_or_eos_index()
2608 vec_cmpeq((vector signed int)__tmp1, __b); in vec_first_match_or_eos_index()
2610 vector unsigned long long __res = in vec_first_match_or_eos_index()
2612 vec_cnttz((vector unsigned long long)__tmp2); in vec_first_match_or_eos_index()
2614 vec_cntlz((vector unsigned long long)__tmp2); in vec_first_match_or_eos_index()
2623 vec_first_match_or_eos_index(vector unsigned int __a, vector unsigned int __b) { in vec_first_match_or_eos_index()
2624 vector bool int __tmp1 = vec_cmpeq(__a, __b); in vec_first_match_or_eos_index()
2625 vector bool int __tmp2 = __tmp1 | in vec_first_match_or_eos_index()
2626 vec_cmpeq((vector unsigned int)__tmp1, __a) | in vec_first_match_or_eos_index()
2627 vec_cmpeq((vector unsigned int)__tmp1, __b); in vec_first_match_or_eos_index()
2629 vector unsigned long long __res = in vec_first_match_or_eos_index()
2631 vec_cnttz((vector unsigned long long)__tmp2); in vec_first_match_or_eos_index()
2633 vec_cntlz((vector unsigned long long)__tmp2); in vec_first_match_or_eos_index()
2644 vec_first_mismatch_index(vector signed char __a, vector signed char __b) { in vec_first_mismatch_index()
2645 vector unsigned long long __res = in vec_first_mismatch_index()
2647 vec_cnttz((vector unsigned long long)vec_cmpne(__a, __b)); in vec_first_mismatch_index()
2649 vec_cntlz((vector unsigned long long)vec_cmpne(__a, __b)); in vec_first_mismatch_index()
2658 vec_first_mismatch_index(vector unsigned char __a, vector unsigned char __b) { in vec_first_mismatch_index()
2659 vector unsigned long long __res = in vec_first_mismatch_index()
2661 vec_cnttz((vector unsigned long long)vec_cmpne(__a, __b)); in vec_first_mismatch_index()
2663 vec_cntlz((vector unsigned long long)vec_cmpne(__a, __b)); in vec_first_mismatch_index()
2672 vec_first_mismatch_index(vector signed short __a, vector signed short __b) { in vec_first_mismatch_index()
2673 vector unsigned long long __res = in vec_first_mismatch_index()
2675 vec_cnttz((vector unsigned long long)vec_cmpne(__a, __b)); in vec_first_mismatch_index()
2677 vec_cntlz((vector unsigned long long)vec_cmpne(__a, __b)); in vec_first_mismatch_index()
2686 vec_first_mismatch_index(vector unsigned short __a, vector unsigned short __b) { in vec_first_mismatch_index()
2687 vector unsigned long long __res = in vec_first_mismatch_index()
2689 vec_cnttz((vector unsigned long long)vec_cmpne(__a, __b)); in vec_first_mismatch_index()
2691 vec_cntlz((vector unsigned long long)vec_cmpne(__a, __b)); in vec_first_mismatch_index()
2700 vec_first_mismatch_index(vector signed int __a, vector signed int __b) { in vec_first_mismatch_index()
2701 vector unsigned long long __res = in vec_first_mismatch_index()
2703 vec_cnttz((vector unsigned long long)vec_cmpne(__a, __b)); in vec_first_mismatch_index()
2705 vec_cntlz((vector unsigned long long)vec_cmpne(__a, __b)); in vec_first_mismatch_index()
2714 vec_first_mismatch_index(vector unsigned int __a, vector unsigned int __b) { in vec_first_mismatch_index()
2715 vector unsigned long long __res = in vec_first_mismatch_index()
2717 vec_cnttz((vector unsigned long long)vec_cmpne(__a, __b)); in vec_first_mismatch_index()
2719 vec_cntlz((vector unsigned long long)vec_cmpne(__a, __b)); in vec_first_mismatch_index()
2730 vec_first_mismatch_or_eos_index(vector signed char __a, in vec_first_mismatch_or_eos_index()
2731 vector signed char __b) { in vec_first_mismatch_or_eos_index()
2732 vector unsigned long long __res = in vec_first_mismatch_or_eos_index()
2734 vec_cnttz((vector unsigned long long)vec_cmpnez(__a, __b)); in vec_first_mismatch_or_eos_index()
2736 vec_cntlz((vector unsigned long long)vec_cmpnez(__a, __b)); in vec_first_mismatch_or_eos_index()
2745 vec_first_mismatch_or_eos_index(vector unsigned char __a, in vec_first_mismatch_or_eos_index()
2746 vector unsigned char __b) { in vec_first_mismatch_or_eos_index()
2747 vector unsigned long long __res = in vec_first_mismatch_or_eos_index()
2749 vec_cnttz((vector unsigned long long)vec_cmpnez(__a, __b)); in vec_first_mismatch_or_eos_index()
2751 vec_cntlz((vector unsigned long long)vec_cmpnez(__a, __b)); in vec_first_mismatch_or_eos_index()
2760 vec_first_mismatch_or_eos_index(vector signed short __a, in vec_first_mismatch_or_eos_index()
2761 vector signed short __b) { in vec_first_mismatch_or_eos_index()
2762 vector unsigned long long __res = in vec_first_mismatch_or_eos_index()
2764 vec_cnttz((vector unsigned long long)vec_cmpnez(__a, __b)); in vec_first_mismatch_or_eos_index()
2766 vec_cntlz((vector unsigned long long)vec_cmpnez(__a, __b)); in vec_first_mismatch_or_eos_index()
2775 vec_first_mismatch_or_eos_index(vector unsigned short __a, in vec_first_mismatch_or_eos_index()
2776 vector unsigned short __b) { in vec_first_mismatch_or_eos_index()
2777 vector unsigned long long __res = in vec_first_mismatch_or_eos_index()
2779 vec_cnttz((vector unsigned long long)vec_cmpnez(__a, __b)); in vec_first_mismatch_or_eos_index()
2781 vec_cntlz((vector unsigned long long)vec_cmpnez(__a, __b)); in vec_first_mismatch_or_eos_index()
2790 vec_first_mismatch_or_eos_index(vector signed int __a, vector signed int __b) { in vec_first_mismatch_or_eos_index()
2791 vector unsigned long long __res = in vec_first_mismatch_or_eos_index()
2793 vec_cnttz((vector unsigned long long)vec_cmpnez(__a, __b)); in vec_first_mismatch_or_eos_index()
2795 vec_cntlz((vector unsigned long long)vec_cmpnez(__a, __b)); in vec_first_mismatch_or_eos_index()
2804 vec_first_mismatch_or_eos_index(vector unsigned int __a, in vec_first_mismatch_or_eos_index()
2805 vector unsigned int __b) { in vec_first_mismatch_or_eos_index()
2806 vector unsigned long long __res = in vec_first_mismatch_or_eos_index()
2808 vec_cnttz((vector unsigned long long)vec_cmpnez(__a, __b)); in vec_first_mismatch_or_eos_index()
2810 vec_cntlz((vector unsigned long long)vec_cmpnez(__a, __b)); in vec_first_mismatch_or_eos_index()
2818 static __inline__ vector double __ATTRS_o_ai
2819 vec_insert_exp(vector double __a, vector unsigned long long __b) { in vec_insert_exp()
2820 return __builtin_vsx_xviexpdp((vector unsigned long long)__a,__b); in vec_insert_exp()
2823 static __inline__ vector double __ATTRS_o_ai
2824 vec_insert_exp(vector unsigned long long __a, vector unsigned long long __b) { in vec_insert_exp()
2828 static __inline__ vector float __ATTRS_o_ai
2829 vec_insert_exp(vector float __a, vector unsigned int __b) { in vec_insert_exp()
2830 return __builtin_vsx_xviexpsp((vector unsigned int)__a,__b); in vec_insert_exp()
2833 static __inline__ vector float __ATTRS_o_ai
2834 vec_insert_exp(vector unsigned int __a, vector unsigned int __b) { in vec_insert_exp()
2839 static __inline__ vector signed char __ATTRS_o_ai vec_xl_len(const signed char *__a, in vec_xl_len()
2841 return (vector signed char)__builtin_vsx_lxvl(__a, (__b << 56)); in vec_xl_len()
2844 static __inline__ vector unsigned char __ATTRS_o_ai
2846 return (vector unsigned char)__builtin_vsx_lxvl(__a, (__b << 56)); in vec_xl_len()
2849 static __inline__ vector signed short __ATTRS_o_ai vec_xl_len(const signed short *__a, in vec_xl_len()
2851 return (vector signed short)__builtin_vsx_lxvl(__a, (__b << 56)); in vec_xl_len()
2854 static __inline__ vector unsigned short __ATTRS_o_ai
2856 return (vector unsigned short)__builtin_vsx_lxvl(__a, (__b << 56)); in vec_xl_len()
2859 static __inline__ vector signed int __ATTRS_o_ai vec_xl_len(const signed int *__a, in vec_xl_len()
2861 return (vector signed int)__builtin_vsx_lxvl(__a, (__b << 56)); in vec_xl_len()
2864 static __inline__ vector unsigned int __ATTRS_o_ai vec_xl_len(const unsigned int *__a, in vec_xl_len()
2866 return (vector unsigned int)__builtin_vsx_lxvl(__a, (__b << 56)); in vec_xl_len()
2869 static __inline__ vector float __ATTRS_o_ai vec_xl_len(const float *__a, size_t __b) { in vec_xl_len()
2870 return (vector float)__builtin_vsx_lxvl(__a, (__b << 56)); in vec_xl_len()
2873 static __inline__ vector signed __int128 __ATTRS_o_ai
2875 return (vector signed __int128)__builtin_vsx_lxvl(__a, (__b << 56)); in vec_xl_len()
2878 static __inline__ vector unsigned __int128 __ATTRS_o_ai
2880 return (vector unsigned __int128)__builtin_vsx_lxvl(__a, (__b << 56)); in vec_xl_len()
2883 static __inline__ vector signed long long __ATTRS_o_ai
2885 return (vector signed long long)__builtin_vsx_lxvl(__a, (__b << 56)); in vec_xl_len()
2888 static __inline__ vector unsigned long long __ATTRS_o_ai
2890 return (vector unsigned long long)__builtin_vsx_lxvl(__a, (__b << 56)); in vec_xl_len()
2893 static __inline__ vector double __ATTRS_o_ai vec_xl_len(const double *__a, in vec_xl_len()
2895 return (vector double)__builtin_vsx_lxvl(__a, (__b << 56)); in vec_xl_len()
2898 static __inline__ vector unsigned char __ATTRS_o_ai
2900 vector unsigned char __res = in vec_xl_len_r()
2901 (vector unsigned char)__builtin_vsx_lxvll(__a, (__b << 56)); in vec_xl_len_r()
2903 vector unsigned char __mask = in vec_xl_len_r()
2904 (vector unsigned char)__builtin_altivec_lvsr(16 - __b, (int *)NULL); in vec_xl_len_r()
2905 __res = (vector unsigned char)__builtin_altivec_vperm_4si( in vec_xl_len_r()
2906 (vector int)__res, (vector int)__res, __mask); in vec_xl_len_r()
2912 static __inline__ void __ATTRS_o_ai vec_xst_len(vector unsigned char __a, in vec_xst_len()
2915 return __builtin_vsx_stxvl((vector int)__a, __b, (__c << 56)); in vec_xst_len()
2918 static __inline__ void __ATTRS_o_ai vec_xst_len(vector signed char __a, in vec_xst_len()
2920 return __builtin_vsx_stxvl((vector int)__a, __b, (__c << 56)); in vec_xst_len()
2923 static __inline__ void __ATTRS_o_ai vec_xst_len(vector signed short __a, in vec_xst_len()
2925 return __builtin_vsx_stxvl((vector int)__a, __b, (__c << 56)); in vec_xst_len()
2928 static __inline__ void __ATTRS_o_ai vec_xst_len(vector unsigned short __a, in vec_xst_len()
2931 return __builtin_vsx_stxvl((vector int)__a, __b, (__c << 56)); in vec_xst_len()
2934 static __inline__ void __ATTRS_o_ai vec_xst_len(vector signed int __a, in vec_xst_len()
2936 return __builtin_vsx_stxvl((vector int)__a, __b, (__c << 56)); in vec_xst_len()
2939 static __inline__ void __ATTRS_o_ai vec_xst_len(vector unsigned int __a, in vec_xst_len()
2941 return __builtin_vsx_stxvl((vector int)__a, __b, (__c << 56)); in vec_xst_len()
2944 static __inline__ void __ATTRS_o_ai vec_xst_len(vector float __a, float *__b, in vec_xst_len()
2946 return __builtin_vsx_stxvl((vector int)__a, __b, (__c << 56)); in vec_xst_len()
2949 static __inline__ void __ATTRS_o_ai vec_xst_len(vector signed __int128 __a, in vec_xst_len()
2952 return __builtin_vsx_stxvl((vector int)__a, __b, (__c << 56)); in vec_xst_len()
2955 static __inline__ void __ATTRS_o_ai vec_xst_len(vector unsigned __int128 __a, in vec_xst_len()
2958 return __builtin_vsx_stxvl((vector int)__a, __b, (__c << 56)); in vec_xst_len()
2961 static __inline__ void __ATTRS_o_ai vec_xst_len(vector signed long long __a, in vec_xst_len()
2964 return __builtin_vsx_stxvl((vector int)__a, __b, (__c << 56)); in vec_xst_len()
2967 static __inline__ void __ATTRS_o_ai vec_xst_len(vector unsigned long long __a, in vec_xst_len()
2970 return __builtin_vsx_stxvl((vector int)__a, __b, (__c << 56)); in vec_xst_len()
2973 static __inline__ void __ATTRS_o_ai vec_xst_len(vector double __a, double *__b, in vec_xst_len()
2975 return __builtin_vsx_stxvl((vector int)__a, __b, (__c << 56)); in vec_xst_len()
2978 static __inline__ void __ATTRS_o_ai vec_xst_len_r(vector unsigned char __a, in vec_xst_len_r()
2982 vector unsigned char __mask = in vec_xst_len_r()
2983 (vector unsigned char)__builtin_altivec_lvsl(16 - __c, (int *)NULL); in vec_xst_len_r()
2984 vector unsigned char __res = in vec_xst_len_r()
2985 __builtin_altivec_vperm_4si((vector int)__a, (vector int)__a, __mask); in vec_xst_len_r()
2986 return __builtin_vsx_stxvll((vector int)__res, __b, (__c << 56)); in vec_xst_len_r()
2988 return __builtin_vsx_stxvll((vector int)__a, __b, (__c << 56)); in vec_xst_len_r()
2997 static __inline__ vector float __ATTRS_o_ai vec_cpsgn(vector float __a, in vec_cpsgn()
2998 vector float __b) { in vec_cpsgn()
3002 static __inline__ vector double __ATTRS_o_ai vec_cpsgn(vector double __a, in vec_cpsgn()
3003 vector double __b) { in vec_cpsgn()
3012 _Generic((__a), vector int \
3013 : (vector float)__builtin_altivec_vcfsx((vector int)(__a), (__b)), \
3014 vector unsigned int \
3015 : (vector float)__builtin_altivec_vcfux((vector unsigned int)(__a), \
3017 vector unsigned long long \
3018 : (__builtin_convertvector((vector unsigned long long)(__a), \
3019 vector double) * \
3020 (vector double)(vector unsigned long long)((0x3ffULL - (__b)) \
3022 vector signed long long \
3023 : (__builtin_convertvector((vector signed long long)(__a), \
3024 vector double) * \
3025 (vector double)(vector unsigned long long)((0x3ffULL - (__b)) \
3029 _Generic((__a), vector int \
3030 : (vector float)__builtin_altivec_vcfsx((vector int)(__a), (__b)), \
3031 vector unsigned int \
3032 : (vector float)__builtin_altivec_vcfux((vector unsigned int)(__a), \
3042 #define vec_vcfsx(__a, __b) __builtin_altivec_vcfsx((vector int)(__a), (__b))
3048 _Generic((__a), vector float \
3049 : __builtin_altivec_vctsxs((vector float)(__a), (__b)), \
3050 vector double \
3052 vector double __ret = \
3053 (vector double)(__a) * \
3054 (vector double)(vector unsigned long long)((0x3ffULL + (__b)) \
3056 __builtin_convertvector(__ret, vector signed long long); \
3070 _Generic((__a), vector float \
3071 : __builtin_altivec_vctuxs((vector float)(__a), (__b)), \
3072 vector double \
3074 vector double __ret = \
3075 (vector double)(__a) * \
3076 (vector double)(vector unsigned long long)((0x3ffULL + __b) \
3078 __builtin_convertvector(__ret, vector unsigned long long); \
3091 static __inline__ vector signed int __ATTRS_o_ai
3092 vec_signexti(vector signed char __a) { in vec_signexti()
3096 static __inline__ vector signed int __ATTRS_o_ai
3097 vec_signexti(vector signed short __a) { in vec_signexti()
3101 static __inline__ vector signed long long __ATTRS_o_ai
3102 vec_signextll(vector signed char __a) { in vec_signextll()
3106 static __inline__ vector signed long long __ATTRS_o_ai
3107 vec_signextll(vector signed short __a) { in vec_signextll()
3111 static __inline__ vector signed long long __ATTRS_o_ai
3112 vec_signextll(vector signed int __a) { in vec_signextll()
3118 static __inline__ vector signed __int128 __ATTRS_o_ai
3119 vec_signextq(vector signed long long __a) { in vec_signextq()
3126 static __inline__ vector signed int __ATTRS_o_ai
3127 vec_sld(vector signed int, vector signed int, unsigned const int __c);
3129 static __inline__ vector signed int __ATTRS_o_ai
3130 vec_signed(vector float __a) { in vec_signed()
3131 return __builtin_convertvector(__a, vector signed int); in vec_signed()
3135 static __inline__ vector signed long long __ATTRS_o_ai
3136 vec_signed(vector double __a) { in vec_signed()
3137 return __builtin_convertvector(__a, vector signed long long); in vec_signed()
3140 static __inline__ vector signed int __attribute__((__always_inline__))
3141 vec_signed2(vector double __a, vector double __b) { in vec_signed2()
3142 return (vector signed int) { __a[0], __a[1], __b[0], __b[1] }; in vec_signed2()
3145 static __inline__ vector signed int __ATTRS_o_ai
3146 vec_signede(vector double __a) { in vec_signede()
3148 vector signed int __ret = __builtin_vsx_xvcvdpsxws(__a); in vec_signede()
3155 static __inline__ vector signed int __ATTRS_o_ai
3156 vec_signedo(vector double __a) { in vec_signedo()
3160 vector signed int __ret = __builtin_vsx_xvcvdpsxws(__a); in vec_signedo()
3168 static __inline__ vector unsigned int __ATTRS_o_ai
3169 vec_sld(vector unsigned int, vector unsigned int, unsigned const int __c);
3171 static __inline__ vector unsigned int __ATTRS_o_ai
3172 vec_unsigned(vector float __a) { in vec_unsigned()
3173 return __builtin_convertvector(__a, vector unsigned int); in vec_unsigned()
3177 static __inline__ vector unsigned long long __ATTRS_o_ai
3178 vec_unsigned(vector double __a) { in vec_unsigned()
3179 return __builtin_convertvector(__a, vector unsigned long long); in vec_unsigned()
3182 static __inline__ vector unsigned int __attribute__((__always_inline__))
3183 vec_unsigned2(vector double __a, vector double __b) { in vec_unsigned2()
3184 return (vector unsigned int) { __a[0], __a[1], __b[0], __b[1] }; in vec_unsigned2()
3187 static __inline__ vector unsigned int __ATTRS_o_ai
3188 vec_unsignede(vector double __a) { in vec_unsignede()
3190 vector unsigned int __ret = __builtin_vsx_xvcvdpuxws(__a); in vec_unsignede()
3197 static __inline__ vector unsigned int __ATTRS_o_ai
3198 vec_unsignedo(vector double __a) { in vec_unsignedo()
3202 vector unsigned int __ret = __builtin_vsx_xvcvdpuxws(__a); in vec_unsignedo()
3210 static __inline__ vector float __ATTRS_o_ai
3211 vec_sld(vector float, vector float, unsigned const int __c);
3213 static __inline__ vector float __ATTRS_o_ai
3214 vec_float(vector signed int __a) { in vec_float()
3215 return __builtin_convertvector(__a, vector float); in vec_float()
3218 static __inline__ vector float __ATTRS_o_ai
3219 vec_float(vector unsigned int __a) { in vec_float()
3220 return __builtin_convertvector(__a, vector float); in vec_float()
3224 static __inline__ vector float __ATTRS_o_ai
3225 vec_float2(vector signed long long __a, vector signed long long __b) { in vec_float2()
3226 return (vector float) { __a[0], __a[1], __b[0], __b[1] }; in vec_float2()
3229 static __inline__ vector float __ATTRS_o_ai
3230 vec_float2(vector unsigned long long __a, vector unsigned long long __b) { in vec_float2()
3231 return (vector float) { __a[0], __a[1], __b[0], __b[1] }; in vec_float2()
3234 static __inline__ vector float __ATTRS_o_ai
3235 vec_float2(vector double __a, vector double __b) { in vec_float2()
3236 return (vector float) { __a[0], __a[1], __b[0], __b[1] }; in vec_float2()
3239 static __inline__ vector float __ATTRS_o_ai
3240 vec_floate(vector signed long long __a) { in vec_floate()
3242 vector float __ret = __builtin_vsx_xvcvsxdsp(__a); in vec_floate()
3249 static __inline__ vector float __ATTRS_o_ai
3250 vec_floate(vector unsigned long long __a) { in vec_floate()
3252 vector float __ret = __builtin_vsx_xvcvuxdsp(__a); in vec_floate()
3259 static __inline__ vector float __ATTRS_o_ai
3260 vec_floate(vector double __a) { in vec_floate()
3262 vector float __ret = __builtin_vsx_xvcvdpsp(__a); in vec_floate()
3269 static __inline__ vector float __ATTRS_o_ai
3270 vec_floato(vector signed long long __a) { in vec_floato()
3274 vector float __ret = __builtin_vsx_xvcvsxdsp(__a); in vec_floato()
3279 static __inline__ vector float __ATTRS_o_ai
3280 vec_floato(vector unsigned long long __a) { in vec_floato()
3284 vector float __ret = __builtin_vsx_xvcvuxdsp(__a); in vec_floato()
3289 static __inline__ vector float __ATTRS_o_ai
3290 vec_floato(vector double __a) { in vec_floato()
3294 vector float __ret = __builtin_vsx_xvcvdpsp(__a); in vec_floato()
3303 static __inline__ vector double __ATTRS_o_ai
3304 vec_double(vector signed long long __a) { in vec_double()
3305 return __builtin_convertvector(__a, vector double); in vec_double()
3308 static __inline__ vector double __ATTRS_o_ai
3309 vec_double(vector unsigned long long __a) { in vec_double()
3310 return __builtin_convertvector(__a, vector double); in vec_double()
3313 static __inline__ vector double __ATTRS_o_ai
3314 vec_doublee(vector signed int __a) { in vec_doublee()
3322 static __inline__ vector double __ATTRS_o_ai
3323 vec_doublee(vector unsigned int __a) { in vec_doublee()
3331 static __inline__ vector double __ATTRS_o_ai
3332 vec_doublee(vector float __a) { in vec_doublee()
3340 static __inline__ vector double __ATTRS_o_ai
3341 vec_doubleh(vector signed int __a) { in vec_doubleh()
3342 vector double __ret = {__a[0], __a[1]}; in vec_doubleh()
3346 static __inline__ vector double __ATTRS_o_ai
3347 vec_doubleh(vector unsigned int __a) { in vec_doubleh()
3348 vector double __ret = {__a[0], __a[1]}; in vec_doubleh()
3352 static __inline__ vector double __ATTRS_o_ai
3353 vec_doubleh(vector float __a) { in vec_doubleh()
3354 vector double __ret = {__a[0], __a[1]}; in vec_doubleh()
3358 static __inline__ vector double __ATTRS_o_ai
3359 vec_doublel(vector signed int __a) { in vec_doublel()
3360 vector double __ret = {__a[2], __a[3]}; in vec_doublel()
3364 static __inline__ vector double __ATTRS_o_ai
3365 vec_doublel(vector unsigned int __a) { in vec_doublel()
3366 vector double __ret = {__a[2], __a[3]}; in vec_doublel()
3370 static __inline__ vector double __ATTRS_o_ai
3371 vec_doublel(vector float __a) { in vec_doublel()
3372 vector double __ret = {__a[2], __a[3]}; in vec_doublel()
3376 static __inline__ vector double __ATTRS_o_ai
3377 vec_doubleo(vector signed int __a) { in vec_doubleo()
3385 static __inline__ vector double __ATTRS_o_ai
3386 vec_doubleo(vector unsigned int __a) { in vec_doubleo()
3394 static __inline__ vector double __ATTRS_o_ai
3395 vec_doubleo(vector float __a) { in vec_doubleo()
3409 static __inline__ vector signed char __ATTRS_o_ai
3410 vec_div(vector signed char __a, vector signed char __b) { in vec_div()
3414 static __inline__ vector unsigned char __ATTRS_o_ai
3415 vec_div(vector unsigned char __a, vector unsigned char __b) { in vec_div()
3419 static __inline__ vector signed short __ATTRS_o_ai
3420 vec_div(vector signed short __a, vector signed short __b) { in vec_div()
3424 static __inline__ vector unsigned short __ATTRS_o_ai
3425 vec_div(vector unsigned short __a, vector unsigned short __b) { in vec_div()
3429 static __inline__ vector signed int __ATTRS_o_ai
3430 vec_div(vector signed int __a, vector signed int __b) { in vec_div()
3434 static __inline__ vector unsigned int __ATTRS_o_ai
3435 vec_div(vector unsigned int __a, vector unsigned int __b) { in vec_div()
3440 static __inline__ vector signed long long __ATTRS_o_ai
3441 vec_div(vector signed long long __a, vector signed long long __b) { in vec_div()
3445 static __inline__ vector unsigned long long __ATTRS_o_ai
3446 vec_div(vector unsigned long long __a, vector unsigned long long __b) { in vec_div()
3450 static __inline__ vector float __ATTRS_o_ai vec_div(vector float __a, in vec_div()
3451 vector float __b) { in vec_div()
3455 static __inline__ vector double __ATTRS_o_ai vec_div(vector double __a, in vec_div()
3456 vector double __b) { in vec_div()
3464 static __inline__ vector signed int __ATTRS_o_ai
3465 vec_dive(vector signed int __a, vector signed int __b) { in vec_dive()
3469 static __inline__ vector unsigned int __ATTRS_o_ai
3470 vec_dive(vector unsigned int __a, vector unsigned int __b) { in vec_dive()
3474 static __inline__ vector signed long long __ATTRS_o_ai
3475 vec_dive(vector signed long long __a, vector signed long long __b) { in vec_dive()
3479 static __inline__ vector unsigned long long __ATTRS_o_ai
3480 vec_dive(vector unsigned long long __a, vector unsigned long long __b) { in vec_dive()
3484 static __inline__ vector unsigned __int128 __ATTRS_o_ai
3485 vec_dive(vector unsigned __int128 __a, vector unsigned __int128 __b) { in vec_dive()
3489 static __inline__ vector signed __int128 __ATTRS_o_ai
3490 vec_dive(vector signed __int128 __a, vector signed __int128 __b) { in vec_dive()
3496 static __inline__ vector unsigned __int128 __ATTRS_o_ai
3497 vec_div(vector unsigned __int128 __a, vector unsigned __int128 __b) { in vec_div()
3501 static __inline__ vector signed __int128 __ATTRS_o_ai
3502 vec_div(vector signed __int128 __a, vector signed __int128 __b) { in vec_div()
3510 static __inline__ int __ATTRS_o_ai vec_test_swdiv(vector double __a, in vec_test_swdiv()
3511 vector double __b) { in vec_test_swdiv()
3515 static __inline__ int __ATTRS_o_ai vec_test_swdivs(vector float __a, in vec_test_swdivs()
3516 vector float __b) { in vec_test_swdivs()
3550 static __inline__ vector signed char __ATTRS_o_ai
3551 vec_eqv(vector signed char __a, vector signed char __b) { in vec_eqv()
3552 return (vector signed char)__builtin_vsx_xxleqv((vector unsigned int)__a, in vec_eqv()
3553 (vector unsigned int)__b); in vec_eqv()
3556 static __inline__ vector unsigned char __ATTRS_o_ai
3557 vec_eqv(vector unsigned char __a, vector unsigned char __b) { in vec_eqv()
3558 return (vector unsigned char)__builtin_vsx_xxleqv((vector unsigned int)__a, in vec_eqv()
3559 (vector unsigned int)__b); in vec_eqv()
3562 static __inline__ vector bool char __ATTRS_o_ai vec_eqv(vector bool char __a, in vec_eqv()
3563 vector bool char __b) { in vec_eqv()
3564 return (vector bool char)__builtin_vsx_xxleqv((vector unsigned int)__a, in vec_eqv()
3565 (vector unsigned int)__b); in vec_eqv()
3568 static __inline__ vector signed short __ATTRS_o_ai
3569 vec_eqv(vector signed short __a, vector signed short __b) { in vec_eqv()
3570 return (vector signed short)__builtin_vsx_xxleqv((vector unsigned int)__a, in vec_eqv()
3571 (vector unsigned int)__b); in vec_eqv()
3574 static __inline__ vector unsigned short __ATTRS_o_ai
3575 vec_eqv(vector unsigned short __a, vector unsigned short __b) { in vec_eqv()
3576 return (vector unsigned short)__builtin_vsx_xxleqv((vector unsigned int)__a, in vec_eqv()
3577 (vector unsigned int)__b); in vec_eqv()
3580 static __inline__ vector bool short __ATTRS_o_ai
3581 vec_eqv(vector bool short __a, vector bool short __b) { in vec_eqv()
3582 return (vector bool short)__builtin_vsx_xxleqv((vector unsigned int)__a, in vec_eqv()
3583 (vector unsigned int)__b); in vec_eqv()
3586 static __inline__ vector signed int __ATTRS_o_ai
3587 vec_eqv(vector signed int __a, vector signed int __b) { in vec_eqv()
3588 return (vector signed int)__builtin_vsx_xxleqv((vector unsigned int)__a, in vec_eqv()
3589 (vector unsigned int)__b); in vec_eqv()
3592 static __inline__ vector unsigned int __ATTRS_o_ai
3593 vec_eqv(vector unsigned int __a, vector unsigned int __b) { in vec_eqv()
3597 static __inline__ vector bool int __ATTRS_o_ai vec_eqv(vector bool int __a, in vec_eqv()
3598 vector bool int __b) { in vec_eqv()
3599 return (vector bool int)__builtin_vsx_xxleqv((vector unsigned int)__a, in vec_eqv()
3600 (vector unsigned int)__b); in vec_eqv()
3603 static __inline__ vector signed long long __ATTRS_o_ai
3604 vec_eqv(vector signed long long __a, vector signed long long __b) { in vec_eqv()
3605 return (vector signed long long)__builtin_vsx_xxleqv( in vec_eqv()
3606 (vector unsigned int)__a, (vector unsigned int)__b); in vec_eqv()
3609 static __inline__ vector unsigned long long __ATTRS_o_ai
3610 vec_eqv(vector unsigned long long __a, vector unsigned long long __b) { in vec_eqv()
3611 return (vector unsigned long long)__builtin_vsx_xxleqv( in vec_eqv()
3612 (vector unsigned int)__a, (vector unsigned int)__b); in vec_eqv()
3615 static __inline__ vector bool long long __ATTRS_o_ai
3616 vec_eqv(vector bool long long __a, vector bool long long __b) { in vec_eqv()
3617 return (vector bool long long)__builtin_vsx_xxleqv((vector unsigned int)__a, in vec_eqv()
3618 (vector unsigned int)__b); in vec_eqv()
3621 static __inline__ vector float __ATTRS_o_ai vec_eqv(vector float __a, in vec_eqv()
3622 vector float __b) { in vec_eqv()
3623 return (vector float)__builtin_vsx_xxleqv((vector unsigned int)__a, in vec_eqv()
3624 (vector unsigned int)__b); in vec_eqv()
3627 static __inline__ vector double __ATTRS_o_ai vec_eqv(vector double __a, in vec_eqv()
3628 vector double __b) { in vec_eqv()
3629 return (vector double)__builtin_vsx_xxleqv((vector unsigned int)__a, in vec_eqv()
3630 (vector unsigned int)__b); in vec_eqv()
3636 static __inline__ vector float __attribute__((__always_inline__))
3637 vec_expte(vector float __a) { in vec_expte()
3643 static __inline__ vector float __attribute__((__always_inline__))
3644 vec_vexptefp(vector float __a) { in vec_vexptefp()
3650 static __inline__ vector float __ATTRS_o_ai vec_floor(vector float __a) { in vec_floor()
3659 static __inline__ vector double __ATTRS_o_ai vec_floor(vector double __a) { in vec_floor()
3666 static __inline__ vector float __attribute__((__always_inline__))
3667 vec_vrfim(vector float __a) { in vec_vrfim()
3673 static __inline__ vector signed char __ATTRS_o_ai
3674 vec_ld(int __a, const vector signed char *__b) { in vec_ld()
3675 return (vector signed char)__builtin_altivec_lvx(__a, __b); in vec_ld()
3678 static __inline__ vector signed char __ATTRS_o_ai
3680 return (vector signed char)__builtin_altivec_lvx(__a, __b); in vec_ld()
3683 static __inline__ vector unsigned char __ATTRS_o_ai
3684 vec_ld(int __a, const vector unsigned char *__b) { in vec_ld()
3685 return (vector unsigned char)__builtin_altivec_lvx(__a, __b); in vec_ld()
3688 static __inline__ vector unsigned char __ATTRS_o_ai
3690 return (vector unsigned char)__builtin_altivec_lvx(__a, __b); in vec_ld()
3693 static __inline__ vector bool char __ATTRS_o_ai
3694 vec_ld(int __a, const vector bool char *__b) { in vec_ld()
3695 return (vector bool char)__builtin_altivec_lvx(__a, __b); in vec_ld()
3698 static __inline__ vector short __ATTRS_o_ai vec_ld(int __a, in vec_ld()
3699 const vector short *__b) { in vec_ld()
3700 return (vector short)__builtin_altivec_lvx(__a, __b); in vec_ld()
3703 static __inline__ vector short __ATTRS_o_ai vec_ld(int __a, const short *__b) { in vec_ld()
3704 return (vector short)__builtin_altivec_lvx(__a, __b); in vec_ld()
3707 static __inline__ vector unsigned short __ATTRS_o_ai
3708 vec_ld(int __a, const vector unsigned short *__b) { in vec_ld()
3709 return (vector unsigned short)__builtin_altivec_lvx(__a, __b); in vec_ld()
3712 static __inline__ vector unsigned short __ATTRS_o_ai
3714 return (vector unsigned short)__builtin_altivec_lvx(__a, __b); in vec_ld()
3717 static __inline__ vector bool short __ATTRS_o_ai
3718 vec_ld(int __a, const vector bool short *__b) { in vec_ld()
3719 return (vector bool short)__builtin_altivec_lvx(__a, __b); in vec_ld()
3722 static __inline__ vector pixel __ATTRS_o_ai vec_ld(int __a, in vec_ld()
3723 const vector pixel *__b) { in vec_ld()
3724 return (vector pixel)__builtin_altivec_lvx(__a, __b); in vec_ld()
3727 static __inline__ vector int __ATTRS_o_ai vec_ld(int __a, in vec_ld()
3728 const vector int *__b) { in vec_ld()
3729 return (vector int)__builtin_altivec_lvx(__a, __b); in vec_ld()
3732 static __inline__ vector int __ATTRS_o_ai vec_ld(int __a, const int *__b) { in vec_ld()
3733 return (vector int)__builtin_altivec_lvx(__a, __b); in vec_ld()
3736 static __inline__ vector unsigned int __ATTRS_o_ai
3737 vec_ld(int __a, const vector unsigned int *__b) { in vec_ld()
3738 return (vector unsigned int)__builtin_altivec_lvx(__a, __b); in vec_ld()
3741 static __inline__ vector unsigned int __ATTRS_o_ai
3743 return (vector unsigned int)__builtin_altivec_lvx(__a, __b); in vec_ld()
3746 static __inline__ vector bool int __ATTRS_o_ai
3747 vec_ld(int __a, const vector bool int *__b) { in vec_ld()
3748 return (vector bool int)__builtin_altivec_lvx(__a, __b); in vec_ld()
3751 static __inline__ vector float __ATTRS_o_ai vec_ld(int __a, in vec_ld()
3752 const vector float *__b) { in vec_ld()
3753 return (vector float)__builtin_altivec_lvx(__a, __b); in vec_ld()
3756 static __inline__ vector float __ATTRS_o_ai vec_ld(int __a, const float *__b) { in vec_ld()
3757 return (vector float)__builtin_altivec_lvx(__a, __b); in vec_ld()
3762 static __inline__ vector signed char __ATTRS_o_ai
3763 vec_lvx(int __a, const vector signed char *__b) { in vec_lvx()
3764 return (vector signed char)__builtin_altivec_lvx(__a, __b); in vec_lvx()
3767 static __inline__ vector signed char __ATTRS_o_ai
3769 return (vector signed char)__builtin_altivec_lvx(__a, __b); in vec_lvx()
3772 static __inline__ vector unsigned char __ATTRS_o_ai
3773 vec_lvx(int __a, const vector unsigned char *__b) { in vec_lvx()
3774 return (vector unsigned char)__builtin_altivec_lvx(__a, __b); in vec_lvx()
3777 static __inline__ vector unsigned char __ATTRS_o_ai
3779 return (vector unsigned char)__builtin_altivec_lvx(__a, __b); in vec_lvx()
3782 static __inline__ vector bool char __ATTRS_o_ai
3783 vec_lvx(int __a, const vector bool char *__b) { in vec_lvx()
3784 return (vector bool char)__builtin_altivec_lvx(__a, __b); in vec_lvx()
3787 static __inline__ vector short __ATTRS_o_ai vec_lvx(int __a, in vec_lvx()
3788 const vector short *__b) { in vec_lvx()
3789 return (vector short)__builtin_altivec_lvx(__a, __b); in vec_lvx()
3792 static __inline__ vector short __ATTRS_o_ai vec_lvx(int __a, const short *__b) { in vec_lvx()
3793 return (vector short)__builtin_altivec_lvx(__a, __b); in vec_lvx()
3796 static __inline__ vector unsigned short __ATTRS_o_ai
3797 vec_lvx(int __a, const vector unsigned short *__b) { in vec_lvx()
3798 return (vector unsigned short)__builtin_altivec_lvx(__a, __b); in vec_lvx()
3801 static __inline__ vector unsigned short __ATTRS_o_ai
3803 return (vector unsigned short)__builtin_altivec_lvx(__a, __b); in vec_lvx()
3806 static __inline__ vector bool short __ATTRS_o_ai
3807 vec_lvx(int __a, const vector bool short *__b) { in vec_lvx()
3808 return (vector bool short)__builtin_altivec_lvx(__a, __b); in vec_lvx()
3811 static __inline__ vector pixel __ATTRS_o_ai vec_lvx(int __a, in vec_lvx()
3812 const vector pixel *__b) { in vec_lvx()
3813 return (vector pixel)__builtin_altivec_lvx(__a, __b); in vec_lvx()
3816 static __inline__ vector int __ATTRS_o_ai vec_lvx(int __a, in vec_lvx()
3817 const vector int *__b) { in vec_lvx()
3818 return (vector int)__builtin_altivec_lvx(__a, __b); in vec_lvx()
3821 static __inline__ vector int __ATTRS_o_ai vec_lvx(int __a, const int *__b) { in vec_lvx()
3822 return (vector int)__builtin_altivec_lvx(__a, __b); in vec_lvx()
3825 static __inline__ vector unsigned int __ATTRS_o_ai
3826 vec_lvx(int __a, const vector unsigned int *__b) { in vec_lvx()
3827 return (vector unsigned int)__builtin_altivec_lvx(__a, __b); in vec_lvx()
3830 static __inline__ vector unsigned int __ATTRS_o_ai
3832 return (vector unsigned int)__builtin_altivec_lvx(__a, __b); in vec_lvx()
3835 static __inline__ vector bool int __ATTRS_o_ai
3836 vec_lvx(int __a, const vector bool int *__b) { in vec_lvx()
3837 return (vector bool int)__builtin_altivec_lvx(__a, __b); in vec_lvx()
3840 static __inline__ vector float __ATTRS_o_ai vec_lvx(int __a, in vec_lvx()
3841 const vector float *__b) { in vec_lvx()
3842 return (vector float)__builtin_altivec_lvx(__a, __b); in vec_lvx()
3845 static __inline__ vector float __ATTRS_o_ai vec_lvx(int __a, const float *__b) { in vec_lvx()
3846 return (vector float)__builtin_altivec_lvx(__a, __b); in vec_lvx()
3851 static __inline__ vector signed char __ATTRS_o_ai
3853 return (vector signed char)__builtin_altivec_lvebx(__a, __b); in vec_lde()
3856 static __inline__ vector unsigned char __ATTRS_o_ai
3858 return (vector unsigned char)__builtin_altivec_lvebx(__a, __b); in vec_lde()
3861 static __inline__ vector short __ATTRS_o_ai vec_lde(int __a, const short *__b) { in vec_lde()
3862 return (vector short)__builtin_altivec_lvehx(__a, __b); in vec_lde()
3865 static __inline__ vector unsigned short __ATTRS_o_ai
3867 return (vector unsigned short)__builtin_altivec_lvehx(__a, __b); in vec_lde()
3870 static __inline__ vector int __ATTRS_o_ai vec_lde(int __a, const int *__b) { in vec_lde()
3871 return (vector int)__builtin_altivec_lvewx(__a, __b); in vec_lde()
3874 static __inline__ vector unsigned int __ATTRS_o_ai
3876 return (vector unsigned int)__builtin_altivec_lvewx(__a, __b); in vec_lde()
3879 static __inline__ vector float __ATTRS_o_ai vec_lde(int __a, const float *__b) { in vec_lde()
3880 return (vector float)__builtin_altivec_lvewx(__a, __b); in vec_lde()
3885 static __inline__ vector signed char __ATTRS_o_ai
3887 return (vector signed char)__builtin_altivec_lvebx(__a, __b); in vec_lvebx()
3890 static __inline__ vector unsigned char __ATTRS_o_ai
3892 return (vector unsigned char)__builtin_altivec_lvebx(__a, __b); in vec_lvebx()
3897 static __inline__ vector short __ATTRS_o_ai vec_lvehx(int __a, in vec_lvehx()
3899 return (vector short)__builtin_altivec_lvehx(__a, __b); in vec_lvehx()
3902 static __inline__ vector unsigned short __ATTRS_o_ai
3904 return (vector unsigned short)__builtin_altivec_lvehx(__a, __b); in vec_lvehx()
3909 static __inline__ vector int __ATTRS_o_ai vec_lvewx(int __a, const int *__b) { in vec_lvewx()
3910 return (vector int)__builtin_altivec_lvewx(__a, __b); in vec_lvewx()
3913 static __inline__ vector unsigned int __ATTRS_o_ai
3915 return (vector unsigned int)__builtin_altivec_lvewx(__a, __b); in vec_lvewx()
3918 static __inline__ vector float __ATTRS_o_ai vec_lvewx(int __a, in vec_lvewx()
3920 return (vector float)__builtin_altivec_lvewx(__a, __b); in vec_lvewx()
3925 static __inline__ vector signed char __ATTRS_o_ai
3926 vec_ldl(int __a, const vector signed char *__b) { in vec_ldl()
3927 return (vector signed char)__builtin_altivec_lvxl(__a, __b); in vec_ldl()
3930 static __inline__ vector signed char __ATTRS_o_ai
3932 return (vector signed char)__builtin_altivec_lvxl(__a, __b); in vec_ldl()
3935 static __inline__ vector unsigned char __ATTRS_o_ai
3936 vec_ldl(int __a, const vector unsigned char *__b) { in vec_ldl()
3937 return (vector unsigned char)__builtin_altivec_lvxl(__a, __b); in vec_ldl()
3940 static __inline__ vector unsigned char __ATTRS_o_ai
3942 return (vector unsigned char)__builtin_altivec_lvxl(__a, __b); in vec_ldl()
3945 static __inline__ vector bool char __ATTRS_o_ai
3946 vec_ldl(int __a, const vector bool char *__b) { in vec_ldl()
3947 return (vector bool char)__builtin_altivec_lvxl(__a, __b); in vec_ldl()
3950 static __inline__ vector short __ATTRS_o_ai vec_ldl(int __a, in vec_ldl()
3951 const vector short *__b) { in vec_ldl()
3952 return (vector short)__builtin_altivec_lvxl(__a, __b); in vec_ldl()
3955 static __inline__ vector short __ATTRS_o_ai vec_ldl(int __a, const short *__b) { in vec_ldl()
3956 return (vector short)__builtin_altivec_lvxl(__a, __b); in vec_ldl()
3959 static __inline__ vector unsigned short __ATTRS_o_ai
3960 vec_ldl(int __a, const vector unsigned short *__b) { in vec_ldl()
3961 return (vector unsigned short)__builtin_altivec_lvxl(__a, __b); in vec_ldl()
3964 static __inline__ vector unsigned short __ATTRS_o_ai
3966 return (vector unsigned short)__builtin_altivec_lvxl(__a, __b); in vec_ldl()
3969 static __inline__ vector bool short __ATTRS_o_ai
3970 vec_ldl(int __a, const vector bool short *__b) { in vec_ldl()
3971 return (vector bool short)__builtin_altivec_lvxl(__a, __b); in vec_ldl()
3974 static __inline__ vector pixel __ATTRS_o_ai vec_ldl(int __a, in vec_ldl()
3975 const vector pixel *__b) { in vec_ldl()
3976 return (vector pixel short)__builtin_altivec_lvxl(__a, __b); in vec_ldl()
3979 static __inline__ vector int __ATTRS_o_ai vec_ldl(int __a, in vec_ldl()
3980 const vector int *__b) { in vec_ldl()
3981 return (vector int)__builtin_altivec_lvxl(__a, __b); in vec_ldl()
3984 static __inline__ vector int __ATTRS_o_ai vec_ldl(int __a, const int *__b) { in vec_ldl()
3985 return (vector int)__builtin_altivec_lvxl(__a, __b); in vec_ldl()
3988 static __inline__ vector unsigned int __ATTRS_o_ai
3989 vec_ldl(int __a, const vector unsigned int *__b) { in vec_ldl()
3990 return (vector unsigned int)__builtin_altivec_lvxl(__a, __b); in vec_ldl()
3993 static __inline__ vector unsigned int __ATTRS_o_ai
3995 return (vector unsigned int)__builtin_altivec_lvxl(__a, __b); in vec_ldl()
3998 static __inline__ vector bool int __ATTRS_o_ai
3999 vec_ldl(int __a, const vector bool int *__b) { in vec_ldl()
4000 return (vector bool int)__builtin_altivec_lvxl(__a, __b); in vec_ldl()
4003 static __inline__ vector float __ATTRS_o_ai vec_ldl(int __a, in vec_ldl()
4004 const vector float *__b) { in vec_ldl()
4005 return (vector float)__builtin_altivec_lvxl(__a, __b); in vec_ldl()
4008 static __inline__ vector float __ATTRS_o_ai vec_ldl(int __a, const float *__b) { in vec_ldl()
4009 return (vector float)__builtin_altivec_lvxl(__a, __b); in vec_ldl()
4014 static __inline__ vector signed char __ATTRS_o_ai
4015 vec_lvxl(int __a, const vector signed char *__b) { in vec_lvxl()
4016 return (vector signed char)__builtin_altivec_lvxl(__a, __b); in vec_lvxl()
4019 static __inline__ vector signed char __ATTRS_o_ai
4021 return (vector signed char)__builtin_altivec_lvxl(__a, __b); in vec_lvxl()
4024 static __inline__ vector unsigned char __ATTRS_o_ai
4025 vec_lvxl(int __a, const vector unsigned char *__b) { in vec_lvxl()
4026 return (vector unsigned char)__builtin_altivec_lvxl(__a, __b); in vec_lvxl()
4029 static __inline__ vector unsigned char __ATTRS_o_ai
4031 return (vector unsigned char)__builtin_altivec_lvxl(__a, __b); in vec_lvxl()
4034 static __inline__ vector bool char __ATTRS_o_ai
4035 vec_lvxl(int __a, const vector bool char *__b) { in vec_lvxl()
4036 return (vector bool char)__builtin_altivec_lvxl(__a, __b); in vec_lvxl()
4039 static __inline__ vector short __ATTRS_o_ai vec_lvxl(int __a, in vec_lvxl()
4040 const vector short *__b) { in vec_lvxl()
4041 return (vector short)__builtin_altivec_lvxl(__a, __b); in vec_lvxl()
4044 static __inline__ vector short __ATTRS_o_ai vec_lvxl(int __a, in vec_lvxl()
4046 return (vector short)__builtin_altivec_lvxl(__a, __b); in vec_lvxl()
4049 static __inline__ vector unsigned short __ATTRS_o_ai
4050 vec_lvxl(int __a, const vector unsigned short *__b) { in vec_lvxl()
4051 return (vector unsigned short)__builtin_altivec_lvxl(__a, __b); in vec_lvxl()
4054 static __inline__ vector unsigned short __ATTRS_o_ai
4056 return (vector unsigned short)__builtin_altivec_lvxl(__a, __b); in vec_lvxl()
4059 static __inline__ vector bool short __ATTRS_o_ai
4060 vec_lvxl(int __a, const vector bool short *__b) { in vec_lvxl()
4061 return (vector bool short)__builtin_altivec_lvxl(__a, __b); in vec_lvxl()
4064 static __inline__ vector pixel __ATTRS_o_ai vec_lvxl(int __a, in vec_lvxl()
4065 const vector pixel *__b) { in vec_lvxl()
4066 return (vector pixel)__builtin_altivec_lvxl(__a, __b); in vec_lvxl()
4069 static __inline__ vector int __ATTRS_o_ai vec_lvxl(int __a, in vec_lvxl()
4070 const vector int *__b) { in vec_lvxl()
4071 return (vector int)__builtin_altivec_lvxl(__a, __b); in vec_lvxl()
4074 static __inline__ vector int __ATTRS_o_ai vec_lvxl(int __a, const int *__b) { in vec_lvxl()
4075 return (vector int)__builtin_altivec_lvxl(__a, __b); in vec_lvxl()
4078 static __inline__ vector unsigned int __ATTRS_o_ai
4079 vec_lvxl(int __a, const vector unsigned int *__b) { in vec_lvxl()
4080 return (vector unsigned int)__builtin_altivec_lvxl(__a, __b); in vec_lvxl()
4083 static __inline__ vector unsigned int __ATTRS_o_ai
4085 return (vector unsigned int)__builtin_altivec_lvxl(__a, __b); in vec_lvxl()
4088 static __inline__ vector bool int __ATTRS_o_ai
4089 vec_lvxl(int __a, const vector bool int *__b) { in vec_lvxl()
4090 return (vector bool int)__builtin_altivec_lvxl(__a, __b); in vec_lvxl()
4093 static __inline__ vector float __ATTRS_o_ai vec_lvxl(int __a, in vec_lvxl()
4094 const vector float *__b) { in vec_lvxl()
4095 return (vector float)__builtin_altivec_lvxl(__a, __b); in vec_lvxl()
4098 static __inline__ vector float __ATTRS_o_ai vec_lvxl(int __a, in vec_lvxl()
4100 return (vector float)__builtin_altivec_lvxl(__a, __b); in vec_lvxl()
4105 static __inline__ vector float __attribute__((__always_inline__))
4106 vec_loge(vector float __a) { in vec_loge()
4112 static __inline__ vector float __attribute__((__always_inline__))
4113 vec_vlogefp(vector float __a) { in vec_vlogefp()
4120 static __inline__ vector unsigned char __ATTRS_o_ai
4123 vector unsigned char mask = in vec_lvsl()
4124 (vector unsigned char)__builtin_altivec_lvsl(__a, __b); in vec_lvsl()
4125 vector unsigned char reverse = {15, 14, 13, 12, 11, 10, 9, 8, in vec_lvsl()
4130 static __inline__ vector unsigned char __ATTRS_o_ai
4132 return (vector unsigned char)__builtin_altivec_lvsl(__a, __b); in vec_lvsl()
4137 static __inline__ vector unsigned char __ATTRS_o_ai
4140 vector unsigned char mask = in vec_lvsl()
4141 (vector unsigned char)__builtin_altivec_lvsl(__a, __b); in vec_lvsl()
4142 vector unsigned char reverse = {15, 14, 13, 12, 11, 10, 9, 8, in vec_lvsl()
4147 static __inline__ vector unsigned char __ATTRS_o_ai
4149 return (vector unsigned char)__builtin_altivec_lvsl(__a, __b); in vec_lvsl()
4154 static __inline__ vector unsigned char __ATTRS_o_ai
4157 vector unsigned char mask = in vec_lvsl()
4158 (vector unsigned char)__builtin_altivec_lvsl(__a, __b); in vec_lvsl()
4159 vector unsigned char reverse = {15, 14, 13, 12, 11, 10, 9, 8, in vec_lvsl()
4164 static __inline__ vector unsigned char __ATTRS_o_ai vec_lvsl(int __a, in vec_lvsl()
4166 return (vector unsigned char)__builtin_altivec_lvsl(__a, __b); in vec_lvsl()
4171 static __inline__ vector unsigned char __ATTRS_o_ai
4174 vector unsigned char mask = in vec_lvsl()
4175 (vector unsigned char)__builtin_altivec_lvsl(__a, __b); in vec_lvsl()
4176 vector unsigned char reverse = {15, 14, 13, 12, 11, 10, 9, 8, in vec_lvsl()
4181 static __inline__ vector unsigned char __ATTRS_o_ai
4183 return (vector unsigned char)__builtin_altivec_lvsl(__a, __b); in vec_lvsl()
4188 static __inline__ vector unsigned char __ATTRS_o_ai
4191 vector unsigned char mask = in vec_lvsl()
4192 (vector unsigned char)__builtin_altivec_lvsl(__a, __b); in vec_lvsl()
4193 vector unsigned char reverse = {15, 14, 13, 12, 11, 10, 9, 8, in vec_lvsl()
4198 static __inline__ vector unsigned char __ATTRS_o_ai vec_lvsl(int __a, in vec_lvsl()
4200 return (vector unsigned char)__builtin_altivec_lvsl(__a, __b); in vec_lvsl()
4205 static __inline__ vector unsigned char __ATTRS_o_ai
4208 vector unsigned char mask = in vec_lvsl()
4209 (vector unsigned char)__builtin_altivec_lvsl(__a, __b); in vec_lvsl()
4210 vector unsigned char reverse = {15, 14, 13, 12, 11, 10, 9, 8, in vec_lvsl()
4215 static __inline__ vector unsigned char __ATTRS_o_ai
4217 return (vector unsigned char)__builtin_altivec_lvsl(__a, __b); in vec_lvsl()
4222 static __inline__ vector unsigned char __ATTRS_o_ai
4225 vector unsigned char mask = in vec_lvsl()
4226 (vector unsigned char)__builtin_altivec_lvsl(__a, __b); in vec_lvsl()
4227 vector unsigned char reverse = {15, 14, 13, 12, 11, 10, 9, 8, in vec_lvsl()
4232 static __inline__ vector unsigned char __ATTRS_o_ai vec_lvsl(int __a, in vec_lvsl()
4234 return (vector unsigned char)__builtin_altivec_lvsl(__a, __b); in vec_lvsl()
4241 static __inline__ vector unsigned char __ATTRS_o_ai
4244 vector unsigned char mask = in vec_lvsr()
4245 (vector unsigned char)__builtin_altivec_lvsr(__a, __b); in vec_lvsr()
4246 vector unsigned char reverse = {15, 14, 13, 12, 11, 10, 9, 8, in vec_lvsr()
4251 static __inline__ vector unsigned char __ATTRS_o_ai
4253 return (vector unsigned char)__builtin_altivec_lvsr(__a, __b); in vec_lvsr()
4258 static __inline__ vector unsigned char __ATTRS_o_ai
4261 vector unsigned char mask = in vec_lvsr()
4262 (vector unsigned char)__builtin_altivec_lvsr(__a, __b); in vec_lvsr()
4263 vector unsigned char reverse = {15, 14, 13, 12, 11, 10, 9, 8, in vec_lvsr()
4268 static __inline__ vector unsigned char __ATTRS_o_ai
4270 return (vector unsigned char)__builtin_altivec_lvsr(__a, __b); in vec_lvsr()
4275 static __inline__ vector unsigned char __ATTRS_o_ai
4278 vector unsigned char mask = in vec_lvsr()
4279 (vector unsigned char)__builtin_altivec_lvsr(__a, __b); in vec_lvsr()
4280 vector unsigned char reverse = {15, 14, 13, 12, 11, 10, 9, 8, in vec_lvsr()
4285 static __inline__ vector unsigned char __ATTRS_o_ai vec_lvsr(int __a, in vec_lvsr()
4287 return (vector unsigned char)__builtin_altivec_lvsr(__a, __b); in vec_lvsr()
4292 static __inline__ vector unsigned char __ATTRS_o_ai
4295 vector unsigned char mask = in vec_lvsr()
4296 (vector unsigned char)__builtin_altivec_lvsr(__a, __b); in vec_lvsr()
4297 vector unsigned char reverse = {15, 14, 13, 12, 11, 10, 9, 8, in vec_lvsr()
4302 static __inline__ vector unsigned char __ATTRS_o_ai
4304 return (vector unsigned char)__builtin_altivec_lvsr(__a, __b); in vec_lvsr()
4309 static __inline__ vector unsigned char __ATTRS_o_ai
4312 vector unsigned char mask = in vec_lvsr()
4313 (vector unsigned char)__builtin_altivec_lvsr(__a, __b); in vec_lvsr()
4314 vector unsigned char reverse = {15, 14, 13, 12, 11, 10, 9, 8, in vec_lvsr()
4319 static __inline__ vector unsigned char __ATTRS_o_ai vec_lvsr(int __a, in vec_lvsr()
4321 return (vector unsigned char)__builtin_altivec_lvsr(__a, __b); in vec_lvsr()
4326 static __inline__ vector unsigned char __ATTRS_o_ai
4329 vector unsigned char mask = in vec_lvsr()
4330 (vector unsigned char)__builtin_altivec_lvsr(__a, __b); in vec_lvsr()
4331 vector unsigned char reverse = {15, 14, 13, 12, 11, 10, 9, 8, in vec_lvsr()
4336 static __inline__ vector unsigned char __ATTRS_o_ai
4338 return (vector unsigned char)__builtin_altivec_lvsr(__a, __b); in vec_lvsr()
4343 static __inline__ vector unsigned char __ATTRS_o_ai
4346 vector unsigned char mask = in vec_lvsr()
4347 (vector unsigned char)__builtin_altivec_lvsr(__a, __b); in vec_lvsr()
4348 vector unsigned char reverse = {15, 14, 13, 12, 11, 10, 9, 8, in vec_lvsr()
4353 static __inline__ vector unsigned char __ATTRS_o_ai vec_lvsr(int __a, in vec_lvsr()
4355 return (vector unsigned char)__builtin_altivec_lvsr(__a, __b); in vec_lvsr()
4360 static __inline__ vector signed short __ATTRS_o_ai
4361 vec_mladd(vector signed short, vector signed short, vector signed short);
4362 static __inline__ vector signed short __ATTRS_o_ai
4363 vec_mladd(vector signed short, vector unsigned short, vector unsigned short);
4364 static __inline__ vector signed short __ATTRS_o_ai
4365 vec_mladd(vector unsigned short, vector signed short, vector signed short);
4366 static __inline__ vector unsigned short __ATTRS_o_ai
4367 vec_mladd(vector unsigned short, vector unsigned short, vector unsigned short);
4369 static __inline__ vector signed short __ATTRS_o_ai vec_madd( in vec_madd()
4370 vector signed short __a, vector signed short __b, vector signed short __c) { in vec_madd()
4374 static __inline__ vector signed short __ATTRS_o_ai
4375 vec_madd(vector signed short __a, vector unsigned short __b, in vec_madd()
4376 vector unsigned short __c) { in vec_madd()
4380 static __inline__ vector signed short __ATTRS_o_ai
4381 vec_madd(vector unsigned short __a, vector signed short __b, in vec_madd()
4382 vector signed short __c) { in vec_madd()
4386 static __inline__ vector unsigned short __ATTRS_o_ai
4387 vec_madd(vector unsigned short __a, vector unsigned short __b, in vec_madd()
4388 vector unsigned short __c) { in vec_madd()
4392 static __inline__ vector float __ATTRS_o_ai vec_madd(vector float __a, in vec_madd()
4393 vector float __b, in vec_madd()
4394 vector float __c) { in vec_madd()
4403 static __inline__ vector double __ATTRS_o_ai vec_madd(vector double __a, in vec_madd()
4404 vector double __b, in vec_madd()
4405 vector double __c) { in vec_madd()
4412 static __inline__ vector float __attribute__((__always_inline__))
4413 vec_vmaddfp(vector float __a, vector float __b, vector float __c) { in vec_vmaddfp()
4419 static __inline__ vector signed short __attribute__((__always_inline__))
4420 vec_madds(vector signed short __a, vector signed short __b, in vec_madds()
4421 vector signed short __c) { in vec_madds()
4426 static __inline__ vector signed short __attribute__((__always_inline__))
4427 vec_vmhaddshs(vector signed short __a, vector signed short __b, in vec_vmhaddshs()
4428 vector signed short __c) { in vec_vmhaddshs()
4435 static __inline__ vector float __ATTRS_o_ai vec_msub(vector float __a, in vec_msub()
4436 vector float __b, in vec_msub()
4437 vector float __c) { in vec_msub()
4441 static __inline__ vector double __ATTRS_o_ai vec_msub(vector double __a, in vec_msub()
4442 vector double __b, in vec_msub()
4443 vector double __c) { in vec_msub()
4450 static __inline__ vector signed char __ATTRS_o_ai
4451 vec_max(vector signed char __a, vector signed char __b) { in vec_max()
4455 static __inline__ vector signed char __ATTRS_o_ai
4456 vec_max(vector bool char __a, vector signed char __b) { in vec_max()
4457 return __builtin_altivec_vmaxsb((vector signed char)__a, __b); in vec_max()
4460 static __inline__ vector signed char __ATTRS_o_ai
4461 vec_max(vector signed char __a, vector bool char __b) { in vec_max()
4462 return __builtin_altivec_vmaxsb(__a, (vector signed char)__b); in vec_max()
4465 static __inline__ vector unsigned char __ATTRS_o_ai
4466 vec_max(vector unsigned char __a, vector unsigned char __b) { in vec_max()
4470 static __inline__ vector unsigned char __ATTRS_o_ai
4471 vec_max(vector bool char __a, vector unsigned char __b) { in vec_max()
4472 return __builtin_altivec_vmaxub((vector unsigned char)__a, __b); in vec_max()
4475 static __inline__ vector unsigned char __ATTRS_o_ai
4476 vec_max(vector unsigned char __a, vector bool char __b) { in vec_max()
4477 return __builtin_altivec_vmaxub(__a, (vector unsigned char)__b); in vec_max()
4480 static __inline__ vector short __ATTRS_o_ai vec_max(vector short __a, in vec_max()
4481 vector short __b) { in vec_max()
4485 static __inline__ vector short __ATTRS_o_ai vec_max(vector bool short __a, in vec_max()
4486 vector short __b) { in vec_max()
4487 return __builtin_altivec_vmaxsh((vector short)__a, __b); in vec_max()
4490 static __inline__ vector short __ATTRS_o_ai vec_max(vector short __a, in vec_max()
4491 vector bool short __b) { in vec_max()
4492 return __builtin_altivec_vmaxsh(__a, (vector short)__b); in vec_max()
4495 static __inline__ vector unsigned short __ATTRS_o_ai
4496 vec_max(vector unsigned short __a, vector unsigned short __b) { in vec_max()
4500 static __inline__ vector unsigned short __ATTRS_o_ai
4501 vec_max(vector bool short __a, vector unsigned short __b) { in vec_max()
4502 return __builtin_altivec_vmaxuh((vector unsigned short)__a, __b); in vec_max()
4505 static __inline__ vector unsigned short __ATTRS_o_ai
4506 vec_max(vector unsigned short __a, vector bool short __b) { in vec_max()
4507 return __builtin_altivec_vmaxuh(__a, (vector unsigned short)__b); in vec_max()
4510 static __inline__ vector int __ATTRS_o_ai vec_max(vector int __a, in vec_max()
4511 vector int __b) { in vec_max()
4515 static __inline__ vector int __ATTRS_o_ai vec_max(vector bool int __a, in vec_max()
4516 vector int __b) { in vec_max()
4517 return __builtin_altivec_vmaxsw((vector int)__a, __b); in vec_max()
4520 static __inline__ vector int __ATTRS_o_ai vec_max(vector int __a, in vec_max()
4521 vector bool int __b) { in vec_max()
4522 return __builtin_altivec_vmaxsw(__a, (vector int)__b); in vec_max()
4525 static __inline__ vector unsigned int __ATTRS_o_ai
4526 vec_max(vector unsigned int __a, vector unsigned int __b) { in vec_max()
4530 static __inline__ vector unsigned int __ATTRS_o_ai
4531 vec_max(vector bool int __a, vector unsigned int __b) { in vec_max()
4532 return __builtin_altivec_vmaxuw((vector unsigned int)__a, __b); in vec_max()
4535 static __inline__ vector unsigned int __ATTRS_o_ai
4536 vec_max(vector unsigned int __a, vector bool int __b) { in vec_max()
4537 return __builtin_altivec_vmaxuw(__a, (vector unsigned int)__b); in vec_max()
4541 static __inline__ vector signed long long __ATTRS_o_ai
4542 vec_max(vector signed long long __a, vector signed long long __b) { in vec_max()
4546 static __inline__ vector signed long long __ATTRS_o_ai
4547 vec_max(vector bool long long __a, vector signed long long __b) { in vec_max()
4548 return __builtin_altivec_vmaxsd((vector signed long long)__a, __b); in vec_max()
4551 static __inline__ vector signed long long __ATTRS_o_ai
4552 vec_max(vector signed long long __a, vector bool long long __b) { in vec_max()
4553 return __builtin_altivec_vmaxsd(__a, (vector signed long long)__b); in vec_max()
4556 static __inline__ vector unsigned long long __ATTRS_o_ai
4557 vec_max(vector unsigned long long __a, vector unsigned long long __b) { in vec_max()
4561 static __inline__ vector unsigned long long __ATTRS_o_ai
4562 vec_max(vector bool long long __a, vector unsigned long long __b) { in vec_max()
4563 return __builtin_altivec_vmaxud((vector unsigned long long)__a, __b); in vec_max()
4566 static __inline__ vector unsigned long long __ATTRS_o_ai
4567 vec_max(vector unsigned long long __a, vector bool long long __b) { in vec_max()
4568 return __builtin_altivec_vmaxud(__a, (vector unsigned long long)__b); in vec_max()
4572 static __inline__ vector float __ATTRS_o_ai vec_max(vector float __a, in vec_max()
4573 vector float __b) { in vec_max()
4582 static __inline__ vector double __ATTRS_o_ai vec_max(vector double __a, in vec_max()
4583 vector double __b) { in vec_max()
4590 static __inline__ vector signed char __ATTRS_o_ai
4591 vec_vmaxsb(vector signed char __a, vector signed char __b) { in vec_vmaxsb()
4595 static __inline__ vector signed char __ATTRS_o_ai
4596 vec_vmaxsb(vector bool char __a, vector signed char __b) { in vec_vmaxsb()
4597 return __builtin_altivec_vmaxsb((vector signed char)__a, __b); in vec_vmaxsb()
4600 static __inline__ vector signed char __ATTRS_o_ai
4601 vec_vmaxsb(vector signed char __a, vector bool char __b) { in vec_vmaxsb()
4602 return __builtin_altivec_vmaxsb(__a, (vector signed char)__b); in vec_vmaxsb()
4607 static __inline__ vector unsigned char __ATTRS_o_ai
4608 vec_vmaxub(vector unsigned char __a, vector unsigned char __b) { in vec_vmaxub()
4612 static __inline__ vector unsigned char __ATTRS_o_ai
4613 vec_vmaxub(vector bool char __a, vector unsigned char __b) { in vec_vmaxub()
4614 return __builtin_altivec_vmaxub((vector unsigned char)__a, __b); in vec_vmaxub()
4617 static __inline__ vector unsigned char __ATTRS_o_ai
4618 vec_vmaxub(vector unsigned char __a, vector bool char __b) { in vec_vmaxub()
4619 return __builtin_altivec_vmaxub(__a, (vector unsigned char)__b); in vec_vmaxub()
4624 static __inline__ vector short __ATTRS_o_ai vec_vmaxsh(vector short __a, in vec_vmaxsh()
4625 vector short __b) { in vec_vmaxsh()
4629 static __inline__ vector short __ATTRS_o_ai vec_vmaxsh(vector bool short __a, in vec_vmaxsh()
4630 vector short __b) { in vec_vmaxsh()
4631 return __builtin_altivec_vmaxsh((vector short)__a, __b); in vec_vmaxsh()
4634 static __inline__ vector short __ATTRS_o_ai vec_vmaxsh(vector short __a, in vec_vmaxsh()
4635 vector bool short __b) { in vec_vmaxsh()
4636 return __builtin_altivec_vmaxsh(__a, (vector short)__b); in vec_vmaxsh()
4641 static __inline__ vector unsigned short __ATTRS_o_ai
4642 vec_vmaxuh(vector unsigned short __a, vector unsigned short __b) { in vec_vmaxuh()
4646 static __inline__ vector unsigned short __ATTRS_o_ai
4647 vec_vmaxuh(vector bool short __a, vector unsigned short __b) { in vec_vmaxuh()
4648 return __builtin_altivec_vmaxuh((vector unsigned short)__a, __b); in vec_vmaxuh()
4651 static __inline__ vector unsigned short __ATTRS_o_ai
4652 vec_vmaxuh(vector unsigned short __a, vector bool short __b) { in vec_vmaxuh()
4653 return __builtin_altivec_vmaxuh(__a, (vector unsigned short)__b); in vec_vmaxuh()
4658 static __inline__ vector int __ATTRS_o_ai vec_vmaxsw(vector int __a, in vec_vmaxsw()
4659 vector int __b) { in vec_vmaxsw()
4663 static __inline__ vector int __ATTRS_o_ai vec_vmaxsw(vector bool int __a, in vec_vmaxsw()
4664 vector int __b) { in vec_vmaxsw()
4665 return __builtin_altivec_vmaxsw((vector int)__a, __b); in vec_vmaxsw()
4668 static __inline__ vector int __ATTRS_o_ai vec_vmaxsw(vector int __a, in vec_vmaxsw()
4669 vector bool int __b) { in vec_vmaxsw()
4670 return __builtin_altivec_vmaxsw(__a, (vector int)__b); in vec_vmaxsw()
4675 static __inline__ vector unsigned int __ATTRS_o_ai
4676 vec_vmaxuw(vector unsigned int __a, vector unsigned int __b) { in vec_vmaxuw()
4680 static __inline__ vector unsigned int __ATTRS_o_ai
4681 vec_vmaxuw(vector bool int __a, vector unsigned int __b) { in vec_vmaxuw()
4682 return __builtin_altivec_vmaxuw((vector unsigned int)__a, __b); in vec_vmaxuw()
4685 static __inline__ vector unsigned int __ATTRS_o_ai
4686 vec_vmaxuw(vector unsigned int __a, vector bool int __b) { in vec_vmaxuw()
4687 return __builtin_altivec_vmaxuw(__a, (vector unsigned int)__b); in vec_vmaxuw()
4692 static __inline__ vector float __attribute__((__always_inline__))
4693 vec_vmaxfp(vector float __a, vector float __b) { in vec_vmaxfp()
4703 static __inline__ vector signed char __ATTRS_o_ai
4704 vec_mergeh(vector signed char __a, vector signed char __b) { in vec_mergeh()
4706 (vector unsigned char)(0x00, 0x10, 0x01, 0x11, 0x02, 0x12, in vec_mergeh()
4711 static __inline__ vector unsigned char __ATTRS_o_ai
4712 vec_mergeh(vector unsigned char __a, vector unsigned char __b) { in vec_mergeh()
4714 (vector unsigned char)(0x00, 0x10, 0x01, 0x11, 0x02, 0x12, in vec_mergeh()
4719 static __inline__ vector bool char __ATTRS_o_ai
4720 vec_mergeh(vector bool char __a, vector bool char __b) { in vec_mergeh()
4722 (vector unsigned char)(0x00, 0x10, 0x01, 0x11, 0x02, 0x12, in vec_mergeh()
4727 static __inline__ vector short __ATTRS_o_ai vec_mergeh(vector short __a, in vec_mergeh()
4728 vector short __b) { in vec_mergeh()
4730 (vector unsigned char)(0x00, 0x01, 0x10, 0x11, 0x02, 0x03, in vec_mergeh()
4735 static __inline__ vector unsigned short __ATTRS_o_ai
4736 vec_mergeh(vector unsigned short __a, vector unsigned short __b) { in vec_mergeh()
4738 (vector unsigned char)(0x00, 0x01, 0x10, 0x11, 0x02, 0x03, in vec_mergeh()
4743 static __inline__ vector bool short __ATTRS_o_ai
4744 vec_mergeh(vector bool short __a, vector bool short __b) { in vec_mergeh()
4746 (vector unsigned char)(0x00, 0x01, 0x10, 0x11, 0x02, 0x03, in vec_mergeh()
4751 static __inline__ vector pixel __ATTRS_o_ai vec_mergeh(vector pixel __a, in vec_mergeh()
4752 vector pixel __b) { in vec_mergeh()
4754 (vector unsigned char)(0x00, 0x01, 0x10, 0x11, 0x02, 0x03, in vec_mergeh()
4759 static __inline__ vector int __ATTRS_o_ai vec_mergeh(vector int __a, in vec_mergeh()
4760 vector int __b) { in vec_mergeh()
4762 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x10, 0x11, in vec_mergeh()
4767 static __inline__ vector unsigned int __ATTRS_o_ai
4768 vec_mergeh(vector unsigned int __a, vector unsigned int __b) { in vec_mergeh()
4770 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x10, 0x11, in vec_mergeh()
4775 static __inline__ vector bool int __ATTRS_o_ai vec_mergeh(vector bool int __a, in vec_mergeh()
4776 vector bool int __b) { in vec_mergeh()
4778 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x10, 0x11, in vec_mergeh()
4783 static __inline__ vector float __ATTRS_o_ai vec_mergeh(vector float __a, in vec_mergeh()
4784 vector float __b) { in vec_mergeh()
4786 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x10, 0x11, in vec_mergeh()
4792 static __inline__ vector signed long long __ATTRS_o_ai
4793 vec_mergeh(vector signed long long __a, vector signed long long __b) { in vec_mergeh()
4795 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x04, 0x05, in vec_mergeh()
4800 static __inline__ vector signed long long __ATTRS_o_ai
4801 vec_mergeh(vector signed long long __a, vector bool long long __b) { in vec_mergeh()
4802 return vec_perm(__a, (vector signed long long)__b, in vec_mergeh()
4803 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x04, 0x05, in vec_mergeh()
4808 static __inline__ vector signed long long __ATTRS_o_ai
4809 vec_mergeh(vector bool long long __a, vector signed long long __b) { in vec_mergeh()
4810 return vec_perm((vector signed long long)__a, __b, in vec_mergeh()
4811 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x04, 0x05, in vec_mergeh()
4816 static __inline__ vector unsigned long long __ATTRS_o_ai
4817 vec_mergeh(vector unsigned long long __a, vector unsigned long long __b) { in vec_mergeh()
4819 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x04, 0x05, in vec_mergeh()
4824 static __inline__ vector unsigned long long __ATTRS_o_ai
4825 vec_mergeh(vector unsigned long long __a, vector bool long long __b) { in vec_mergeh()
4826 return vec_perm(__a, (vector unsigned long long)__b, in vec_mergeh()
4827 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x04, 0x05, in vec_mergeh()
4832 static __inline__ vector unsigned long long __ATTRS_o_ai
4833 vec_mergeh(vector bool long long __a, vector unsigned long long __b) { in vec_mergeh()
4834 return vec_perm((vector unsigned long long)__a, __b, in vec_mergeh()
4835 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x04, 0x05, in vec_mergeh()
4840 static __inline__ vector bool long long __ATTRS_o_ai
4841 vec_mergeh(vector bool long long __a, vector bool long long __b) { in vec_mergeh()
4843 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x04, 0x05, in vec_mergeh()
4848 static __inline__ vector double __ATTRS_o_ai vec_mergeh(vector double __a, in vec_mergeh()
4849 vector double __b) { in vec_mergeh()
4851 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x04, 0x05, in vec_mergeh()
4855 static __inline__ vector double __ATTRS_o_ai
4856 vec_mergeh(vector double __a, vector bool long long __b) { in vec_mergeh()
4857 return vec_perm(__a, (vector double)__b, in vec_mergeh()
4858 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x04, 0x05, in vec_mergeh()
4862 static __inline__ vector double __ATTRS_o_ai
4863 vec_mergeh(vector bool long long __a, vector double __b) { in vec_mergeh()
4864 return vec_perm((vector double)__a, __b, in vec_mergeh()
4865 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x04, 0x05, in vec_mergeh()
4875 static __inline__ vector signed char __ATTRS_o_ai
4876 vec_vmrghb(vector signed char __a, vector signed char __b) { in vec_vmrghb()
4878 (vector unsigned char)(0x00, 0x10, 0x01, 0x11, 0x02, 0x12, in vec_vmrghb()
4883 static __inline__ vector unsigned char __ATTRS_o_ai
4884 vec_vmrghb(vector unsigned char __a, vector unsigned char __b) { in vec_vmrghb()
4886 (vector unsigned char)(0x00, 0x10, 0x01, 0x11, 0x02, 0x12, in vec_vmrghb()
4891 static __inline__ vector bool char __ATTRS_o_ai
4892 vec_vmrghb(vector bool char __a, vector bool char __b) { in vec_vmrghb()
4894 (vector unsigned char)(0x00, 0x10, 0x01, 0x11, 0x02, 0x12, in vec_vmrghb()
4903 static __inline__ vector short __ATTRS_o_ai vec_vmrghh(vector short __a, in vec_vmrghh()
4904 vector short __b) { in vec_vmrghh()
4906 (vector unsigned char)(0x00, 0x01, 0x10, 0x11, 0x02, 0x03, in vec_vmrghh()
4911 static __inline__ vector unsigned short __ATTRS_o_ai
4912 vec_vmrghh(vector unsigned short __a, vector unsigned short __b) { in vec_vmrghh()
4914 (vector unsigned char)(0x00, 0x01, 0x10, 0x11, 0x02, 0x03, in vec_vmrghh()
4919 static __inline__ vector bool short __ATTRS_o_ai
4920 vec_vmrghh(vector bool short __a, vector bool short __b) { in vec_vmrghh()
4922 (vector unsigned char)(0x00, 0x01, 0x10, 0x11, 0x02, 0x03, in vec_vmrghh()
4927 static __inline__ vector pixel __ATTRS_o_ai vec_vmrghh(vector pixel __a, in vec_vmrghh()
4928 vector pixel __b) { in vec_vmrghh()
4930 (vector unsigned char)(0x00, 0x01, 0x10, 0x11, 0x02, 0x03, in vec_vmrghh()
4939 static __inline__ vector int __ATTRS_o_ai vec_vmrghw(vector int __a, in vec_vmrghw()
4940 vector int __b) { in vec_vmrghw()
4942 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x10, 0x11, in vec_vmrghw()
4947 static __inline__ vector unsigned int __ATTRS_o_ai
4948 vec_vmrghw(vector unsigned int __a, vector unsigned int __b) { in vec_vmrghw()
4950 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x10, 0x11, in vec_vmrghw()
4955 static __inline__ vector bool int __ATTRS_o_ai vec_vmrghw(vector bool int __a, in vec_vmrghw()
4956 vector bool int __b) { in vec_vmrghw()
4958 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x10, 0x11, in vec_vmrghw()
4963 static __inline__ vector float __ATTRS_o_ai vec_vmrghw(vector float __a, in vec_vmrghw()
4964 vector float __b) { in vec_vmrghw()
4966 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x10, 0x11, in vec_vmrghw()
4973 static __inline__ vector signed char __ATTRS_o_ai
4974 vec_mergel(vector signed char __a, vector signed char __b) { in vec_mergel()
4976 (vector unsigned char)(0x08, 0x18, 0x09, 0x19, 0x0A, 0x1A, in vec_mergel()
4981 static __inline__ vector unsigned char __ATTRS_o_ai
4982 vec_mergel(vector unsigned char __a, vector unsigned char __b) { in vec_mergel()
4984 (vector unsigned char)(0x08, 0x18, 0x09, 0x19, 0x0A, 0x1A, in vec_mergel()
4989 static __inline__ vector bool char __ATTRS_o_ai
4990 vec_mergel(vector bool char __a, vector bool char __b) { in vec_mergel()
4992 (vector unsigned char)(0x08, 0x18, 0x09, 0x19, 0x0A, 0x1A, in vec_mergel()
4997 static __inline__ vector short __ATTRS_o_ai vec_mergel(vector short __a, in vec_mergel()
4998 vector short __b) { in vec_mergel()
5000 (vector unsigned char)(0x08, 0x09, 0x18, 0x19, 0x0A, 0x0B, in vec_mergel()
5005 static __inline__ vector unsigned short __ATTRS_o_ai
5006 vec_mergel(vector unsigned short __a, vector unsigned short __b) { in vec_mergel()
5008 (vector unsigned char)(0x08, 0x09, 0x18, 0x19, 0x0A, 0x0B, in vec_mergel()
5013 static __inline__ vector bool short __ATTRS_o_ai
5014 vec_mergel(vector bool short __a, vector bool short __b) { in vec_mergel()
5016 (vector unsigned char)(0x08, 0x09, 0x18, 0x19, 0x0A, 0x0B, in vec_mergel()
5021 static __inline__ vector pixel __ATTRS_o_ai vec_mergel(vector pixel __a, in vec_mergel()
5022 vector pixel __b) { in vec_mergel()
5024 (vector unsigned char)(0x08, 0x09, 0x18, 0x19, 0x0A, 0x0B, in vec_mergel()
5029 static __inline__ vector int __ATTRS_o_ai vec_mergel(vector int __a, in vec_mergel()
5030 vector int __b) { in vec_mergel()
5032 (vector unsigned char)(0x08, 0x09, 0x0A, 0x0B, 0x18, 0x19, in vec_mergel()
5037 static __inline__ vector unsigned int __ATTRS_o_ai
5038 vec_mergel(vector unsigned int __a, vector unsigned int __b) { in vec_mergel()
5040 (vector unsigned char)(0x08, 0x09, 0x0A, 0x0B, 0x18, 0x19, in vec_mergel()
5045 static __inline__ vector bool int __ATTRS_o_ai vec_mergel(vector bool int __a, in vec_mergel()
5046 vector bool int __b) { in vec_mergel()
5048 (vector unsigned char)(0x08, 0x09, 0x0A, 0x0B, 0x18, 0x19, in vec_mergel()
5053 static __inline__ vector float __ATTRS_o_ai vec_mergel(vector float __a, in vec_mergel()
5054 vector float __b) { in vec_mergel()
5056 (vector unsigned char)(0x08, 0x09, 0x0A, 0x0B, 0x18, 0x19, in vec_mergel()
5062 static __inline__ vector signed long long __ATTRS_o_ai
5063 vec_mergel(vector signed long long __a, vector signed long long __b) { in vec_mergel()
5065 (vector unsigned char)(0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, in vec_mergel()
5069 static __inline__ vector signed long long __ATTRS_o_ai
5070 vec_mergel(vector signed long long __a, vector bool long long __b) { in vec_mergel()
5071 return vec_perm(__a, (vector signed long long)__b, in vec_mergel()
5072 (vector unsigned char)(0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, in vec_mergel()
5076 static __inline__ vector signed long long __ATTRS_o_ai
5077 vec_mergel(vector bool long long __a, vector signed long long __b) { in vec_mergel()
5078 return vec_perm((vector signed long long)__a, __b, in vec_mergel()
5079 (vector unsigned char)(0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, in vec_mergel()
5083 static __inline__ vector unsigned long long __ATTRS_o_ai
5084 vec_mergel(vector unsigned long long __a, vector unsigned long long __b) { in vec_mergel()
5086 (vector unsigned char)(0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, in vec_mergel()
5090 static __inline__ vector unsigned long long __ATTRS_o_ai
5091 vec_mergel(vector unsigned long long __a, vector bool long long __b) { in vec_mergel()
5092 return vec_perm(__a, (vector unsigned long long)__b, in vec_mergel()
5093 (vector unsigned char)(0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, in vec_mergel()
5097 static __inline__ vector unsigned long long __ATTRS_o_ai
5098 vec_mergel(vector bool long long __a, vector unsigned long long __b) { in vec_mergel()
5099 return vec_perm((vector unsigned long long)__a, __b, in vec_mergel()
5100 (vector unsigned char)(0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, in vec_mergel()
5104 static __inline__ vector bool long long __ATTRS_o_ai
5105 vec_mergel(vector bool long long __a, vector bool long long __b) { in vec_mergel()
5107 (vector unsigned char)(0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, in vec_mergel()
5111 static __inline__ vector double __ATTRS_o_ai vec_mergel(vector double __a, in vec_mergel()
5112 vector double __b) { in vec_mergel()
5114 (vector unsigned char)(0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, in vec_mergel()
5118 static __inline__ vector double __ATTRS_o_ai
5119 vec_mergel(vector double __a, vector bool long long __b) { in vec_mergel()
5120 return vec_perm(__a, (vector double)__b, in vec_mergel()
5121 (vector unsigned char)(0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, in vec_mergel()
5125 static __inline__ vector double __ATTRS_o_ai
5126 vec_mergel(vector bool long long __a, vector double __b) { in vec_mergel()
5127 return vec_perm((vector double)__a, __b, in vec_mergel()
5128 (vector unsigned char)(0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, in vec_mergel()
5138 static __inline__ vector signed char __ATTRS_o_ai
5139 vec_vmrglb(vector signed char __a, vector signed char __b) { in vec_vmrglb()
5141 (vector unsigned char)(0x08, 0x18, 0x09, 0x19, 0x0A, 0x1A, in vec_vmrglb()
5146 static __inline__ vector unsigned char __ATTRS_o_ai
5147 vec_vmrglb(vector unsigned char __a, vector unsigned char __b) { in vec_vmrglb()
5149 (vector unsigned char)(0x08, 0x18, 0x09, 0x19, 0x0A, 0x1A, in vec_vmrglb()
5154 static __inline__ vector bool char __ATTRS_o_ai
5155 vec_vmrglb(vector bool char __a, vector bool char __b) { in vec_vmrglb()
5157 (vector unsigned char)(0x08, 0x18, 0x09, 0x19, 0x0A, 0x1A, in vec_vmrglb()
5166 static __inline__ vector short __ATTRS_o_ai vec_vmrglh(vector short __a, in vec_vmrglh()
5167 vector short __b) { in vec_vmrglh()
5169 (vector unsigned char)(0x08, 0x09, 0x18, 0x19, 0x0A, 0x0B, in vec_vmrglh()
5174 static __inline__ vector unsigned short __ATTRS_o_ai
5175 vec_vmrglh(vector unsigned short __a, vector unsigned short __b) { in vec_vmrglh()
5177 (vector unsigned char)(0x08, 0x09, 0x18, 0x19, 0x0A, 0x0B, in vec_vmrglh()
5182 static __inline__ vector bool short __ATTRS_o_ai
5183 vec_vmrglh(vector bool short __a, vector bool short __b) { in vec_vmrglh()
5185 (vector unsigned char)(0x08, 0x09, 0x18, 0x19, 0x0A, 0x0B, in vec_vmrglh()
5190 static __inline__ vector pixel __ATTRS_o_ai vec_vmrglh(vector pixel __a, in vec_vmrglh()
5191 vector pixel __b) { in vec_vmrglh()
5193 (vector unsigned char)(0x08, 0x09, 0x18, 0x19, 0x0A, 0x0B, in vec_vmrglh()
5202 static __inline__ vector int __ATTRS_o_ai vec_vmrglw(vector int __a, in vec_vmrglw()
5203 vector int __b) { in vec_vmrglw()
5205 (vector unsigned char)(0x08, 0x09, 0x0A, 0x0B, 0x18, 0x19, in vec_vmrglw()
5210 static __inline__ vector unsigned int __ATTRS_o_ai
5211 vec_vmrglw(vector unsigned int __a, vector unsigned int __b) { in vec_vmrglw()
5213 (vector unsigned char)(0x08, 0x09, 0x0A, 0x0B, 0x18, 0x19, in vec_vmrglw()
5218 static __inline__ vector bool int __ATTRS_o_ai vec_vmrglw(vector bool int __a, in vec_vmrglw()
5219 vector bool int __b) { in vec_vmrglw()
5221 (vector unsigned char)(0x08, 0x09, 0x0A, 0x0B, 0x18, 0x19, in vec_vmrglw()
5226 static __inline__ vector float __ATTRS_o_ai vec_vmrglw(vector float __a, in vec_vmrglw()
5227 vector float __b) { in vec_vmrglw()
5229 (vector unsigned char)(0x08, 0x09, 0x0A, 0x0B, 0x18, 0x19, in vec_vmrglw()
5237 static __inline__ vector bool int __ATTRS_o_ai vec_mergee(vector bool int __a, in vec_mergee()
5238 vector bool int __b) { in vec_mergee()
5240 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x10, 0x11, in vec_mergee()
5245 static __inline__ vector signed int __ATTRS_o_ai
5246 vec_mergee(vector signed int __a, vector signed int __b) { in vec_mergee()
5248 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x10, 0x11, in vec_mergee()
5253 static __inline__ vector unsigned int __ATTRS_o_ai
5254 vec_mergee(vector unsigned int __a, vector unsigned int __b) { in vec_mergee()
5256 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x10, 0x11, in vec_mergee()
5261 static __inline__ vector bool long long __ATTRS_o_ai
5262 vec_mergee(vector bool long long __a, vector bool long long __b) { in vec_mergee()
5266 static __inline__ vector signed long long __ATTRS_o_ai
5267 vec_mergee(vector signed long long __a, vector signed long long __b) { in vec_mergee()
5271 static __inline__ vector unsigned long long __ATTRS_o_ai
5272 vec_mergee(vector unsigned long long __a, vector unsigned long long __b) { in vec_mergee()
5276 static __inline__ vector float __ATTRS_o_ai
5277 vec_mergee(vector float __a, vector float __b) { in vec_mergee()
5279 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x10, 0x11, in vec_mergee()
5284 static __inline__ vector double __ATTRS_o_ai
5285 vec_mergee(vector double __a, vector double __b) { in vec_mergee()
5291 static __inline__ vector bool int __ATTRS_o_ai vec_mergeo(vector bool int __a, in vec_mergeo()
5292 vector bool int __b) { in vec_mergeo()
5294 (vector unsigned char)(0x04, 0x05, 0x06, 0x07, 0x14, 0x15, in vec_mergeo()
5299 static __inline__ vector signed int __ATTRS_o_ai
5300 vec_mergeo(vector signed int __a, vector signed int __b) { in vec_mergeo()
5302 (vector unsigned char)(0x04, 0x05, 0x06, 0x07, 0x14, 0x15, in vec_mergeo()
5307 static __inline__ vector unsigned int __ATTRS_o_ai
5308 vec_mergeo(vector unsigned int __a, vector unsigned int __b) { in vec_mergeo()
5310 (vector unsigned char)(0x04, 0x05, 0x06, 0x07, 0x14, 0x15, in vec_mergeo()
5315 static __inline__ vector bool long long __ATTRS_o_ai
5316 vec_mergeo(vector bool long long __a, vector bool long long __b) { in vec_mergeo()
5320 static __inline__ vector signed long long __ATTRS_o_ai
5321 vec_mergeo(vector signed long long __a, vector signed long long __b) { in vec_mergeo()
5325 static __inline__ vector unsigned long long __ATTRS_o_ai
5326 vec_mergeo(vector unsigned long long __a, vector unsigned long long __b) { in vec_mergeo()
5330 static __inline__ vector float __ATTRS_o_ai
5331 vec_mergeo(vector float __a, vector float __b) { in vec_mergeo()
5333 (vector unsigned char)(0x04, 0x05, 0x06, 0x07, 0x14, 0x15, in vec_mergeo()
5338 static __inline__ vector double __ATTRS_o_ai
5339 vec_mergeo(vector double __a, vector double __b) { in vec_mergeo()
5347 static __inline__ vector unsigned short __attribute__((__always_inline__))
5354 static __inline__ vector signed char __ATTRS_o_ai
5355 vec_min(vector signed char __a, vector signed char __b) { in vec_min()
5359 static __inline__ vector signed char __ATTRS_o_ai
5360 vec_min(vector bool char __a, vector signed char __b) { in vec_min()
5361 return __builtin_altivec_vminsb((vector signed char)__a, __b); in vec_min()
5364 static __inline__ vector signed char __ATTRS_o_ai
5365 vec_min(vector signed char __a, vector bool char __b) { in vec_min()
5366 return __builtin_altivec_vminsb(__a, (vector signed char)__b); in vec_min()
5369 static __inline__ vector unsigned char __ATTRS_o_ai
5370 vec_min(vector unsigned char __a, vector unsigned char __b) { in vec_min()
5374 static __inline__ vector unsigned char __ATTRS_o_ai
5375 vec_min(vector bool char __a, vector unsigned char __b) { in vec_min()
5376 return __builtin_altivec_vminub((vector unsigned char)__a, __b); in vec_min()
5379 static __inline__ vector unsigned char __ATTRS_o_ai
5380 vec_min(vector unsigned char __a, vector bool char __b) { in vec_min()
5381 return __builtin_altivec_vminub(__a, (vector unsigned char)__b); in vec_min()
5384 static __inline__ vector short __ATTRS_o_ai vec_min(vector short __a, in vec_min()
5385 vector short __b) { in vec_min()
5389 static __inline__ vector short __ATTRS_o_ai vec_min(vector bool short __a, in vec_min()
5390 vector short __b) { in vec_min()
5391 return __builtin_altivec_vminsh((vector short)__a, __b); in vec_min()
5394 static __inline__ vector short __ATTRS_o_ai vec_min(vector short __a, in vec_min()
5395 vector bool short __b) { in vec_min()
5396 return __builtin_altivec_vminsh(__a, (vector short)__b); in vec_min()
5399 static __inline__ vector unsigned short __ATTRS_o_ai
5400 vec_min(vector unsigned short __a, vector unsigned short __b) { in vec_min()
5404 static __inline__ vector unsigned short __ATTRS_o_ai
5405 vec_min(vector bool short __a, vector unsigned short __b) { in vec_min()
5406 return __builtin_altivec_vminuh((vector unsigned short)__a, __b); in vec_min()
5409 static __inline__ vector unsigned short __ATTRS_o_ai
5410 vec_min(vector unsigned short __a, vector bool short __b) { in vec_min()
5411 return __builtin_altivec_vminuh(__a, (vector unsigned short)__b); in vec_min()
5414 static __inline__ vector int __ATTRS_o_ai vec_min(vector int __a, in vec_min()
5415 vector int __b) { in vec_min()
5419 static __inline__ vector int __ATTRS_o_ai vec_min(vector bool int __a, in vec_min()
5420 vector int __b) { in vec_min()
5421 return __builtin_altivec_vminsw((vector int)__a, __b); in vec_min()
5424 static __inline__ vector int __ATTRS_o_ai vec_min(vector int __a, in vec_min()
5425 vector bool int __b) { in vec_min()
5426 return __builtin_altivec_vminsw(__a, (vector int)__b); in vec_min()
5429 static __inline__ vector unsigned int __ATTRS_o_ai
5430 vec_min(vector unsigned int __a, vector unsigned int __b) { in vec_min()
5434 static __inline__ vector unsigned int __ATTRS_o_ai
5435 vec_min(vector bool int __a, vector unsigned int __b) { in vec_min()
5436 return __builtin_altivec_vminuw((vector unsigned int)__a, __b); in vec_min()
5439 static __inline__ vector unsigned int __ATTRS_o_ai
5440 vec_min(vector unsigned int __a, vector bool int __b) { in vec_min()
5441 return __builtin_altivec_vminuw(__a, (vector unsigned int)__b); in vec_min()
5445 static __inline__ vector signed long long __ATTRS_o_ai
5446 vec_min(vector signed long long __a, vector signed long long __b) { in vec_min()
5450 static __inline__ vector signed long long __ATTRS_o_ai
5451 vec_min(vector bool long long __a, vector signed long long __b) { in vec_min()
5452 return __builtin_altivec_vminsd((vector signed long long)__a, __b); in vec_min()
5455 static __inline__ vector signed long long __ATTRS_o_ai
5456 vec_min(vector signed long long __a, vector bool long long __b) { in vec_min()
5457 return __builtin_altivec_vminsd(__a, (vector signed long long)__b); in vec_min()
5460 static __inline__ vector unsigned long long __ATTRS_o_ai
5461 vec_min(vector unsigned long long __a, vector unsigned long long __b) { in vec_min()
5465 static __inline__ vector unsigned long long __ATTRS_o_ai
5466 vec_min(vector bool long long __a, vector unsigned long long __b) { in vec_min()
5467 return __builtin_altivec_vminud((vector unsigned long long)__a, __b); in vec_min()
5470 static __inline__ vector unsigned long long __ATTRS_o_ai
5471 vec_min(vector unsigned long long __a, vector bool long long __b) { in vec_min()
5472 return __builtin_altivec_vminud(__a, (vector unsigned long long)__b); in vec_min()
5476 static __inline__ vector float __ATTRS_o_ai vec_min(vector float __a, in vec_min()
5477 vector float __b) { in vec_min()
5486 static __inline__ vector double __ATTRS_o_ai vec_min(vector double __a, in vec_min()
5487 vector double __b) { in vec_min()
5494 static __inline__ vector signed char __ATTRS_o_ai
5495 vec_vminsb(vector signed char __a, vector signed char __b) { in vec_vminsb()
5499 static __inline__ vector signed char __ATTRS_o_ai
5500 vec_vminsb(vector bool char __a, vector signed char __b) { in vec_vminsb()
5501 return __builtin_altivec_vminsb((vector signed char)__a, __b); in vec_vminsb()
5504 static __inline__ vector signed char __ATTRS_o_ai
5505 vec_vminsb(vector signed char __a, vector bool char __b) { in vec_vminsb()
5506 return __builtin_altivec_vminsb(__a, (vector signed char)__b); in vec_vminsb()
5511 static __inline__ vector unsigned char __ATTRS_o_ai
5512 vec_vminub(vector unsigned char __a, vector unsigned char __b) { in vec_vminub()
5516 static __inline__ vector unsigned char __ATTRS_o_ai
5517 vec_vminub(vector bool char __a, vector unsigned char __b) { in vec_vminub()
5518 return __builtin_altivec_vminub((vector unsigned char)__a, __b); in vec_vminub()
5521 static __inline__ vector unsigned char __ATTRS_o_ai
5522 vec_vminub(vector unsigned char __a, vector bool char __b) { in vec_vminub()
5523 return __builtin_altivec_vminub(__a, (vector unsigned char)__b); in vec_vminub()
5528 static __inline__ vector short __ATTRS_o_ai vec_vminsh(vector short __a, in vec_vminsh()
5529 vector short __b) { in vec_vminsh()
5533 static __inline__ vector short __ATTRS_o_ai vec_vminsh(vector bool short __a, in vec_vminsh()
5534 vector short __b) { in vec_vminsh()
5535 return __builtin_altivec_vminsh((vector short)__a, __b); in vec_vminsh()
5538 static __inline__ vector short __ATTRS_o_ai vec_vminsh(vector short __a, in vec_vminsh()
5539 vector bool short __b) { in vec_vminsh()
5540 return __builtin_altivec_vminsh(__a, (vector short)__b); in vec_vminsh()
5545 static __inline__ vector unsigned short __ATTRS_o_ai
5546 vec_vminuh(vector unsigned short __a, vector unsigned short __b) { in vec_vminuh()
5550 static __inline__ vector unsigned short __ATTRS_o_ai
5551 vec_vminuh(vector bool short __a, vector unsigned short __b) { in vec_vminuh()
5552 return __builtin_altivec_vminuh((vector unsigned short)__a, __b); in vec_vminuh()
5555 static __inline__ vector unsigned short __ATTRS_o_ai
5556 vec_vminuh(vector unsigned short __a, vector bool short __b) { in vec_vminuh()
5557 return __builtin_altivec_vminuh(__a, (vector unsigned short)__b); in vec_vminuh()
5562 static __inline__ vector int __ATTRS_o_ai vec_vminsw(vector int __a, in vec_vminsw()
5563 vector int __b) { in vec_vminsw()
5567 static __inline__ vector int __ATTRS_o_ai vec_vminsw(vector bool int __a, in vec_vminsw()
5568 vector int __b) { in vec_vminsw()
5569 return __builtin_altivec_vminsw((vector int)__a, __b); in vec_vminsw()
5572 static __inline__ vector int __ATTRS_o_ai vec_vminsw(vector int __a, in vec_vminsw()
5573 vector bool int __b) { in vec_vminsw()
5574 return __builtin_altivec_vminsw(__a, (vector int)__b); in vec_vminsw()
5579 static __inline__ vector unsigned int __ATTRS_o_ai
5580 vec_vminuw(vector unsigned int __a, vector unsigned int __b) { in vec_vminuw()
5584 static __inline__ vector unsigned int __ATTRS_o_ai
5585 vec_vminuw(vector bool int __a, vector unsigned int __b) { in vec_vminuw()
5586 return __builtin_altivec_vminuw((vector unsigned int)__a, __b); in vec_vminuw()
5589 static __inline__ vector unsigned int __ATTRS_o_ai
5590 vec_vminuw(vector unsigned int __a, vector bool int __b) { in vec_vminuw()
5591 return __builtin_altivec_vminuw(__a, (vector unsigned int)__b); in vec_vminuw()
5596 static __inline__ vector float __attribute__((__always_inline__))
5597 vec_vminfp(vector float __a, vector float __b) { in vec_vminfp()
5609 static __inline__ vector short __ATTRS_o_ai vec_mladd(vector short __a, in vec_mladd()
5610 vector short __b, in vec_mladd()
5611 vector short __c) { in vec_mladd()
5615 static __inline__ vector short __ATTRS_o_ai vec_mladd( in vec_mladd()
5616 vector short __a, vector unsigned short __b, vector unsigned short __c) { in vec_mladd()
5617 return __a * (vector short)__b + (vector short)__c; in vec_mladd()
5620 static __inline__ vector short __ATTRS_o_ai vec_mladd(vector unsigned short __a, in vec_mladd()
5621 vector short __b, in vec_mladd()
5622 vector short __c) { in vec_mladd()
5623 return (vector short)__a * __b + __c; in vec_mladd()
5626 static __inline__ vector unsigned short __ATTRS_o_ai
5627 vec_mladd(vector unsigned short __a, vector unsigned short __b, in vec_mladd()
5628 vector unsigned short __c) { in vec_mladd()
5634 static __inline__ vector short __ATTRS_o_ai vec_vmladduhm(vector short __a, in vec_vmladduhm()
5635 vector short __b, in vec_vmladduhm()
5636 vector short __c) { in vec_vmladduhm()
5640 static __inline__ vector short __ATTRS_o_ai vec_vmladduhm( in vec_vmladduhm()
5641 vector short __a, vector unsigned short __b, vector unsigned short __c) { in vec_vmladduhm()
5642 return __a * (vector short)__b + (vector short)__c; in vec_vmladduhm()
5645 static __inline__ vector short __ATTRS_o_ai
5646 vec_vmladduhm(vector unsigned short __a, vector short __b, vector short __c) { in vec_vmladduhm()
5647 return (vector short)__a * __b + __c; in vec_vmladduhm()
5650 static __inline__ vector unsigned short __ATTRS_o_ai
5651 vec_vmladduhm(vector unsigned short __a, vector unsigned short __b, in vec_vmladduhm()
5652 vector unsigned short __c) { in vec_vmladduhm()
5658 static __inline__ vector short __attribute__((__always_inline__))
5659 vec_mradds(vector short __a, vector short __b, vector short __c) { in vec_mradds()
5665 static __inline__ vector short __attribute__((__always_inline__))
5666 vec_vmhraddshs(vector short __a, vector short __b, vector short __c) { in vec_vmhraddshs()
5672 static __inline__ vector int __ATTRS_o_ai vec_msum(vector signed char __a, in vec_msum()
5673 vector unsigned char __b, in vec_msum()
5674 vector int __c) { in vec_msum()
5678 static __inline__ vector unsigned int __ATTRS_o_ai
5679 vec_msum(vector unsigned char __a, vector unsigned char __b, in vec_msum()
5680 vector unsigned int __c) { in vec_msum()
5684 static __inline__ vector int __ATTRS_o_ai vec_msum(vector short __a, in vec_msum()
5685 vector short __b, in vec_msum()
5686 vector int __c) { in vec_msum()
5690 static __inline__ vector unsigned int __ATTRS_o_ai
5691 vec_msum(vector unsigned short __a, vector unsigned short __b, in vec_msum()
5692 vector unsigned int __c) { in vec_msum()
5699 static __inline__ vector unsigned __int128 __ATTRS_o_ai
5700 vec_msumc(vector unsigned long long __a, vector unsigned long long __b, in vec_msumc()
5701 vector unsigned __int128 __c) { in vec_msumc()
5708 static __inline__ vector int __attribute__((__always_inline__))
5709 vec_vmsummbm(vector signed char __a, vector unsigned char __b, vector int __c) { in vec_vmsummbm()
5715 static __inline__ vector unsigned int __attribute__((__always_inline__))
5716 vec_vmsumubm(vector unsigned char __a, vector unsigned char __b, in vec_vmsumubm()
5717 vector unsigned int __c) { in vec_vmsumubm()
5723 static __inline__ vector int __attribute__((__always_inline__))
5724 vec_vmsumshm(vector short __a, vector short __b, vector int __c) { in vec_vmsumshm()
5730 static __inline__ vector unsigned int __attribute__((__always_inline__))
5731 vec_vmsumuhm(vector unsigned short __a, vector unsigned short __b, in vec_vmsumuhm()
5732 vector unsigned int __c) { in vec_vmsumuhm()
5738 static __inline__ vector int __ATTRS_o_ai vec_msums(vector short __a, in vec_msums()
5739 vector short __b, in vec_msums()
5740 vector int __c) { in vec_msums()
5744 static __inline__ vector unsigned int __ATTRS_o_ai
5745 vec_msums(vector unsigned short __a, vector unsigned short __b, in vec_msums()
5746 vector unsigned int __c) { in vec_msums()
5752 static __inline__ vector int __attribute__((__always_inline__))
5753 vec_vmsumshs(vector short __a, vector short __b, vector int __c) { in vec_vmsumshs()
5759 static __inline__ vector unsigned int __attribute__((__always_inline__))
5760 vec_vmsumuhs(vector unsigned short __a, vector unsigned short __b, in vec_vmsumuhs()
5761 vector unsigned int __c) { in vec_vmsumuhs()
5767 static __inline__ void __ATTRS_o_ai vec_mtvscr(vector signed char __a) { in vec_mtvscr()
5768 __builtin_altivec_mtvscr((vector int)__a); in vec_mtvscr()
5771 static __inline__ void __ATTRS_o_ai vec_mtvscr(vector unsigned char __a) { in vec_mtvscr()
5772 __builtin_altivec_mtvscr((vector int)__a); in vec_mtvscr()
5775 static __inline__ void __ATTRS_o_ai vec_mtvscr(vector bool char __a) { in vec_mtvscr()
5776 __builtin_altivec_mtvscr((vector int)__a); in vec_mtvscr()
5779 static __inline__ void __ATTRS_o_ai vec_mtvscr(vector short __a) { in vec_mtvscr()
5780 __builtin_altivec_mtvscr((vector int)__a); in vec_mtvscr()
5783 static __inline__ void __ATTRS_o_ai vec_mtvscr(vector unsigned short __a) { in vec_mtvscr()
5784 __builtin_altivec_mtvscr((vector int)__a); in vec_mtvscr()
5787 static __inline__ void __ATTRS_o_ai vec_mtvscr(vector bool short __a) { in vec_mtvscr()
5788 __builtin_altivec_mtvscr((vector int)__a); in vec_mtvscr()
5791 static __inline__ void __ATTRS_o_ai vec_mtvscr(vector pixel __a) { in vec_mtvscr()
5792 __builtin_altivec_mtvscr((vector int)__a); in vec_mtvscr()
5795 static __inline__ void __ATTRS_o_ai vec_mtvscr(vector int __a) { in vec_mtvscr()
5796 __builtin_altivec_mtvscr((vector int)__a); in vec_mtvscr()
5799 static __inline__ void __ATTRS_o_ai vec_mtvscr(vector unsigned int __a) { in vec_mtvscr()
5800 __builtin_altivec_mtvscr((vector int)__a); in vec_mtvscr()
5803 static __inline__ void __ATTRS_o_ai vec_mtvscr(vector bool int __a) { in vec_mtvscr()
5804 __builtin_altivec_mtvscr((vector int)__a); in vec_mtvscr()
5807 static __inline__ void __ATTRS_o_ai vec_mtvscr(vector float __a) { in vec_mtvscr()
5808 __builtin_altivec_mtvscr((vector int)__a); in vec_mtvscr()
5817 static __inline__ vector signed char __ATTRS_o_ai
5818 vec_mul(vector signed char __a, vector signed char __b) { in vec_mul()
5822 static __inline__ vector unsigned char __ATTRS_o_ai
5823 vec_mul(vector unsigned char __a, vector unsigned char __b) { in vec_mul()
5827 static __inline__ vector signed short __ATTRS_o_ai
5828 vec_mul(vector signed short __a, vector signed short __b) { in vec_mul()
5832 static __inline__ vector unsigned short __ATTRS_o_ai
5833 vec_mul(vector unsigned short __a, vector unsigned short __b) { in vec_mul()
5837 static __inline__ vector signed int __ATTRS_o_ai
5838 vec_mul(vector signed int __a, vector signed int __b) { in vec_mul()
5842 static __inline__ vector unsigned int __ATTRS_o_ai
5843 vec_mul(vector unsigned int __a, vector unsigned int __b) { in vec_mul()
5848 static __inline__ vector signed long long __ATTRS_o_ai
5849 vec_mul(vector signed long long __a, vector signed long long __b) { in vec_mul()
5853 static __inline__ vector unsigned long long __ATTRS_o_ai
5854 vec_mul(vector unsigned long long __a, vector unsigned long long __b) { in vec_mul()
5859 static __inline__ vector float __ATTRS_o_ai vec_mul(vector float __a, in vec_mul()
5860 vector float __b) { in vec_mul()
5865 static __inline__ vector double __ATTRS_o_ai vec_mul(vector double __a, in vec_mul()
5866 vector double __b) { in vec_mul()
5876 static __inline__ vector short __ATTRS_o_ai vec_mule(vector signed char __a, in vec_mule()
5877 vector signed char __b) { in vec_mule()
5885 static __inline__ vector unsigned short __ATTRS_o_ai
5886 vec_mule(vector unsigned char __a, vector unsigned char __b) { in vec_mule()
5894 static __inline__ vector int __ATTRS_o_ai vec_mule(vector short __a, in vec_mule()
5895 vector short __b) { in vec_mule()
5903 static __inline__ vector unsigned int __ATTRS_o_ai
5904 vec_mule(vector unsigned short __a, vector unsigned short __b) { in vec_mule()
5913 static __inline__ vector signed long long __ATTRS_o_ai
5914 vec_mule(vector signed int __a, vector signed int __b) { in vec_mule()
5922 static __inline__ vector unsigned long long __ATTRS_o_ai
5923 vec_mule(vector unsigned int __a, vector unsigned int __b) { in vec_mule()
5933 static __inline__ vector signed __int128 __ATTRS_o_ai
5934 vec_mule(vector signed long long __a, vector signed long long __b) { in vec_mule()
5942 static __inline__ vector unsigned __int128 __ATTRS_o_ai
5943 vec_mule(vector unsigned long long __a, vector unsigned long long __b) { in vec_mule()
5954 static __inline__ vector short __attribute__((__always_inline__))
5955 vec_vmulesb(vector signed char __a, vector signed char __b) { in vec_vmulesb()
5965 static __inline__ vector unsigned short __attribute__((__always_inline__))
5966 vec_vmuleub(vector unsigned char __a, vector unsigned char __b) { in vec_vmuleub()
5976 static __inline__ vector int __attribute__((__always_inline__))
5977 vec_vmulesh(vector short __a, vector short __b) { in vec_vmulesh()
5987 static __inline__ vector unsigned int __attribute__((__always_inline__))
5988 vec_vmuleuh(vector unsigned short __a, vector unsigned short __b) { in vec_vmuleuh()
5999 static __inline__ vector signed int __ATTRS_o_ai
6000 vec_mulh(vector signed int __a, vector signed int __b) { in vec_mulh()
6004 static __inline__ vector unsigned int __ATTRS_o_ai
6005 vec_mulh(vector unsigned int __a, vector unsigned int __b) { in vec_mulh()
6009 static __inline__ vector signed long long __ATTRS_o_ai
6010 vec_mulh(vector signed long long __a, vector signed long long __b) { in vec_mulh()
6014 static __inline__ vector unsigned long long __ATTRS_o_ai
6015 vec_mulh(vector unsigned long long __a, vector unsigned long long __b) { in vec_mulh()
6022 static __inline__ vector short __ATTRS_o_ai vec_mulo(vector signed char __a, in vec_mulo()
6023 vector signed char __b) { in vec_mulo()
6031 static __inline__ vector unsigned short __ATTRS_o_ai
6032 vec_mulo(vector unsigned char __a, vector unsigned char __b) { in vec_mulo()
6040 static __inline__ vector int __ATTRS_o_ai vec_mulo(vector short __a, in vec_mulo()
6041 vector short __b) { in vec_mulo()
6049 static __inline__ vector unsigned int __ATTRS_o_ai
6050 vec_mulo(vector unsigned short __a, vector unsigned short __b) { in vec_mulo()
6059 static __inline__ vector signed long long __ATTRS_o_ai
6060 vec_mulo(vector signed int __a, vector signed int __b) { in vec_mulo()
6068 static __inline__ vector unsigned long long __ATTRS_o_ai
6069 vec_mulo(vector unsigned int __a, vector unsigned int __b) { in vec_mulo()
6079 static __inline__ vector signed __int128 __ATTRS_o_ai
6080 vec_mulo(vector signed long long __a, vector signed long long __b) { in vec_mulo()
6088 static __inline__ vector unsigned __int128 __ATTRS_o_ai
6089 vec_mulo(vector unsigned long long __a, vector unsigned long long __b) { in vec_mulo()
6100 static __inline__ vector short __attribute__((__always_inline__))
6101 vec_vmulosb(vector signed char __a, vector signed char __b) { in vec_vmulosb()
6111 static __inline__ vector unsigned short __attribute__((__always_inline__))
6112 vec_vmuloub(vector unsigned char __a, vector unsigned char __b) { in vec_vmuloub()
6122 static __inline__ vector int __attribute__((__always_inline__))
6123 vec_vmulosh(vector short __a, vector short __b) { in vec_vmulosh()
6133 static __inline__ vector unsigned int __attribute__((__always_inline__))
6134 vec_vmulouh(vector unsigned short __a, vector unsigned short __b) { in vec_vmulouh()
6145 static __inline__ vector signed char __ATTRS_o_ai
6146 vec_nand(vector signed char __a, vector signed char __b) { in vec_nand()
6150 static __inline__ vector signed char __ATTRS_o_ai
6151 vec_nand(vector signed char __a, vector bool char __b) { in vec_nand()
6155 static __inline__ vector signed char __ATTRS_o_ai
6156 vec_nand(vector bool char __a, vector signed char __b) { in vec_nand()
6160 static __inline__ vector unsigned char __ATTRS_o_ai
6161 vec_nand(vector unsigned char __a, vector unsigned char __b) { in vec_nand()
6165 static __inline__ vector unsigned char __ATTRS_o_ai
6166 vec_nand(vector unsigned char __a, vector bool char __b) { in vec_nand()
6170 static __inline__ vector unsigned char __ATTRS_o_ai
6171 vec_nand(vector bool char __a, vector unsigned char __b) { in vec_nand()
6175 static __inline__ vector bool char __ATTRS_o_ai vec_nand(vector bool char __a, in vec_nand()
6176 vector bool char __b) { in vec_nand()
6180 static __inline__ vector signed short __ATTRS_o_ai
6181 vec_nand(vector signed short __a, vector signed short __b) { in vec_nand()
6185 static __inline__ vector signed short __ATTRS_o_ai
6186 vec_nand(vector signed short __a, vector bool short __b) { in vec_nand()
6190 static __inline__ vector signed short __ATTRS_o_ai
6191 vec_nand(vector bool short __a, vector signed short __b) { in vec_nand()
6195 static __inline__ vector unsigned short __ATTRS_o_ai
6196 vec_nand(vector unsigned short __a, vector unsigned short __b) { in vec_nand()
6200 static __inline__ vector unsigned short __ATTRS_o_ai
6201 vec_nand(vector unsigned short __a, vector bool short __b) { in vec_nand()
6205 static __inline__ vector bool short __ATTRS_o_ai
6206 vec_nand(vector bool short __a, vector bool short __b) { in vec_nand()
6210 static __inline__ vector signed int __ATTRS_o_ai
6211 vec_nand(vector signed int __a, vector signed int __b) { in vec_nand()
6215 static __inline__ vector signed int __ATTRS_o_ai vec_nand(vector signed int __a, in vec_nand()
6216 vector bool int __b) { in vec_nand()
6220 static __inline__ vector signed int __ATTRS_o_ai
6221 vec_nand(vector bool int __a, vector signed int __b) { in vec_nand()
6225 static __inline__ vector unsigned int __ATTRS_o_ai
6226 vec_nand(vector unsigned int __a, vector unsigned int __b) { in vec_nand()
6230 static __inline__ vector unsigned int __ATTRS_o_ai
6231 vec_nand(vector unsigned int __a, vector bool int __b) { in vec_nand()
6235 static __inline__ vector unsigned int __ATTRS_o_ai
6236 vec_nand(vector bool int __a, vector unsigned int __b) { in vec_nand()
6240 static __inline__ vector bool int __ATTRS_o_ai vec_nand(vector bool int __a, in vec_nand()
6241 vector bool int __b) { in vec_nand()
6245 static __inline__ vector float __ATTRS_o_ai
6246 vec_nand(vector float __a, vector float __b) { in vec_nand()
6247 return (vector float)(~((vector unsigned int)__a & in vec_nand()
6248 (vector unsigned int)__b)); in vec_nand()
6251 static __inline__ vector signed long long __ATTRS_o_ai
6252 vec_nand(vector signed long long __a, vector signed long long __b) { in vec_nand()
6256 static __inline__ vector signed long long __ATTRS_o_ai
6257 vec_nand(vector signed long long __a, vector bool long long __b) { in vec_nand()
6261 static __inline__ vector signed long long __ATTRS_o_ai
6262 vec_nand(vector bool long long __a, vector signed long long __b) { in vec_nand()
6266 static __inline__ vector unsigned long long __ATTRS_o_ai
6267 vec_nand(vector unsigned long long __a, vector unsigned long long __b) { in vec_nand()
6271 static __inline__ vector unsigned long long __ATTRS_o_ai
6272 vec_nand(vector unsigned long long __a, vector bool long long __b) { in vec_nand()
6276 static __inline__ vector unsigned long long __ATTRS_o_ai
6277 vec_nand(vector bool long long __a, vector unsigned long long __b) { in vec_nand()
6281 static __inline__ vector bool long long __ATTRS_o_ai
6282 vec_nand(vector bool long long __a, vector bool long long __b) { in vec_nand()
6286 static __inline__ vector double __ATTRS_o_ai
6287 vec_nand(vector double __a, vector double __b) { in vec_nand()
6288 return (vector double)(~((vector unsigned long long)__a & in vec_nand()
6289 (vector unsigned long long)__b)); in vec_nand()
6297 static __inline__ vector float __ATTRS_o_ai vec_nmadd(vector float __a, in vec_nmadd()
6298 vector float __b, in vec_nmadd()
6299 vector float __c) { in vec_nmadd()
6303 static __inline__ vector double __ATTRS_o_ai vec_nmadd(vector double __a, in vec_nmadd()
6304 vector double __b, in vec_nmadd()
6305 vector double __c) { in vec_nmadd()
6312 static __inline__ vector float __ATTRS_o_ai vec_nmsub(vector float __a, in vec_nmsub()
6313 vector float __b, in vec_nmsub()
6314 vector float __c) { in vec_nmsub()
6323 static __inline__ vector double __ATTRS_o_ai vec_nmsub(vector double __a, in vec_nmsub()
6324 vector double __b, in vec_nmsub()
6325 vector double __c) { in vec_nmsub()
6332 static __inline__ vector float __attribute__((__always_inline__))
6333 vec_vnmsubfp(vector float __a, vector float __b, vector float __c) { in vec_vnmsubfp()
6341 static __inline__ vector signed char __ATTRS_o_ai
6342 vec_nor(vector signed char __a, vector signed char __b) { in vec_nor()
6346 static __inline__ vector unsigned char __ATTRS_o_ai
6347 vec_nor(vector unsigned char __a, vector unsigned char __b) { in vec_nor()
6351 static __inline__ vector bool char __ATTRS_o_ai vec_nor(vector bool char __a, in vec_nor()
6352 vector bool char __b) { in vec_nor()
6356 static __inline__ vector short __ATTRS_o_ai vec_nor(vector short __a, in vec_nor()
6357 vector short __b) { in vec_nor()
6361 static __inline__ vector unsigned short __ATTRS_o_ai
6362 vec_nor(vector unsigned short __a, vector unsigned short __b) { in vec_nor()
6366 static __inline__ vector bool short __ATTRS_o_ai
6367 vec_nor(vector bool short __a, vector bool short __b) { in vec_nor()
6371 static __inline__ vector int __ATTRS_o_ai vec_nor(vector int __a, in vec_nor()
6372 vector int __b) { in vec_nor()
6376 static __inline__ vector unsigned int __ATTRS_o_ai
6377 vec_nor(vector unsigned int __a, vector unsigned int __b) { in vec_nor()
6381 static __inline__ vector bool int __ATTRS_o_ai vec_nor(vector bool int __a, in vec_nor()
6382 vector bool int __b) { in vec_nor()
6386 static __inline__ vector float __ATTRS_o_ai vec_nor(vector float __a, in vec_nor()
6387 vector float __b) { in vec_nor()
6388 vector unsigned int __res = in vec_nor()
6389 ~((vector unsigned int)__a | (vector unsigned int)__b); in vec_nor()
6390 return (vector float)__res; in vec_nor()
6394 static __inline__ vector double __ATTRS_o_ai vec_nor(vector double __a, in vec_nor()
6395 vector double __b) { in vec_nor()
6396 vector unsigned long long __res = in vec_nor()
6397 ~((vector unsigned long long)__a | (vector unsigned long long)__b); in vec_nor()
6398 return (vector double)__res; in vec_nor()
6404 static __inline__ vector signed char __ATTRS_o_ai
6405 vec_vnor(vector signed char __a, vector signed char __b) { in vec_vnor()
6409 static __inline__ vector unsigned char __ATTRS_o_ai
6410 vec_vnor(vector unsigned char __a, vector unsigned char __b) { in vec_vnor()
6414 static __inline__ vector bool char __ATTRS_o_ai vec_vnor(vector bool char __a, in vec_vnor()
6415 vector bool char __b) { in vec_vnor()
6419 static __inline__ vector short __ATTRS_o_ai vec_vnor(vector short __a, in vec_vnor()
6420 vector short __b) { in vec_vnor()
6424 static __inline__ vector unsigned short __ATTRS_o_ai
6425 vec_vnor(vector unsigned short __a, vector unsigned short __b) { in vec_vnor()
6429 static __inline__ vector bool short __ATTRS_o_ai
6430 vec_vnor(vector bool short __a, vector bool short __b) { in vec_vnor()
6434 static __inline__ vector int __ATTRS_o_ai vec_vnor(vector int __a, in vec_vnor()
6435 vector int __b) { in vec_vnor()
6439 static __inline__ vector unsigned int __ATTRS_o_ai
6440 vec_vnor(vector unsigned int __a, vector unsigned int __b) { in vec_vnor()
6444 static __inline__ vector bool int __ATTRS_o_ai vec_vnor(vector bool int __a, in vec_vnor()
6445 vector bool int __b) { in vec_vnor()
6449 static __inline__ vector float __ATTRS_o_ai vec_vnor(vector float __a, in vec_vnor()
6450 vector float __b) { in vec_vnor()
6451 vector unsigned int __res = in vec_vnor()
6452 ~((vector unsigned int)__a | (vector unsigned int)__b); in vec_vnor()
6453 return (vector float)__res; in vec_vnor()
6457 static __inline__ vector signed long long __ATTRS_o_ai
6458 vec_nor(vector signed long long __a, vector signed long long __b) { in vec_nor()
6462 static __inline__ vector unsigned long long __ATTRS_o_ai
6463 vec_nor(vector unsigned long long __a, vector unsigned long long __b) { in vec_nor()
6467 static __inline__ vector bool long long __ATTRS_o_ai
6468 vec_nor(vector bool long long __a, vector bool long long __b) { in vec_nor()
6477 static __inline__ vector signed char __ATTRS_o_ai
6478 vec_or(vector signed char __a, vector signed char __b) { in vec_or()
6482 static __inline__ vector signed char __ATTRS_o_ai
6483 vec_or(vector bool char __a, vector signed char __b) { in vec_or()
6484 return (vector signed char)__a | __b; in vec_or()
6487 static __inline__ vector signed char __ATTRS_o_ai vec_or(vector signed char __a, in vec_or()
6488 vector bool char __b) { in vec_or()
6489 return __a | (vector signed char)__b; in vec_or()
6492 static __inline__ vector unsigned char __ATTRS_o_ai
6493 vec_or(vector unsigned char __a, vector unsigned char __b) { in vec_or()
6497 static __inline__ vector unsigned char __ATTRS_o_ai
6498 vec_or(vector bool char __a, vector unsigned char __b) { in vec_or()
6499 return (vector unsigned char)__a | __b; in vec_or()
6502 static __inline__ vector unsigned char __ATTRS_o_ai
6503 vec_or(vector unsigned char __a, vector bool char __b) { in vec_or()
6504 return __a | (vector unsigned char)__b; in vec_or()
6507 static __inline__ vector bool char __ATTRS_o_ai vec_or(vector bool char __a, in vec_or()
6508 vector bool char __b) { in vec_or()
6512 static __inline__ vector short __ATTRS_o_ai vec_or(vector short __a, in vec_or()
6513 vector short __b) { in vec_or()
6517 static __inline__ vector short __ATTRS_o_ai vec_or(vector bool short __a, in vec_or()
6518 vector short __b) { in vec_or()
6519 return (vector short)__a | __b; in vec_or()
6522 static __inline__ vector short __ATTRS_o_ai vec_or(vector short __a, in vec_or()
6523 vector bool short __b) { in vec_or()
6524 return __a | (vector short)__b; in vec_or()
6527 static __inline__ vector unsigned short __ATTRS_o_ai
6528 vec_or(vector unsigned short __a, vector unsigned short __b) { in vec_or()
6532 static __inline__ vector unsigned short __ATTRS_o_ai
6533 vec_or(vector bool short __a, vector unsigned short __b) { in vec_or()
6534 return (vector unsigned short)__a | __b; in vec_or()
6537 static __inline__ vector unsigned short __ATTRS_o_ai
6538 vec_or(vector unsigned short __a, vector bool short __b) { in vec_or()
6539 return __a | (vector unsigned short)__b; in vec_or()
6542 static __inline__ vector bool short __ATTRS_o_ai vec_or(vector bool short __a, in vec_or()
6543 vector bool short __b) { in vec_or()
6547 static __inline__ vector int __ATTRS_o_ai vec_or(vector int __a, in vec_or()
6548 vector int __b) { in vec_or()
6552 static __inline__ vector int __ATTRS_o_ai vec_or(vector bool int __a, in vec_or()
6553 vector int __b) { in vec_or()
6554 return (vector int)__a | __b; in vec_or()
6557 static __inline__ vector int __ATTRS_o_ai vec_or(vector int __a, in vec_or()
6558 vector bool int __b) { in vec_or()
6559 return __a | (vector int)__b; in vec_or()
6562 static __inline__ vector unsigned int __ATTRS_o_ai
6563 vec_or(vector unsigned int __a, vector unsigned int __b) { in vec_or()
6567 static __inline__ vector unsigned int __ATTRS_o_ai
6568 vec_or(vector bool int __a, vector unsigned int __b) { in vec_or()
6569 return (vector unsigned int)__a | __b; in vec_or()
6572 static __inline__ vector unsigned int __ATTRS_o_ai
6573 vec_or(vector unsigned int __a, vector bool int __b) { in vec_or()
6574 return __a | (vector unsigned int)__b; in vec_or()
6577 static __inline__ vector bool int __ATTRS_o_ai vec_or(vector bool int __a, in vec_or()
6578 vector bool int __b) { in vec_or()
6582 static __inline__ vector float __ATTRS_o_ai vec_or(vector float __a, in vec_or()
6583 vector float __b) { in vec_or()
6584 vector unsigned int __res = in vec_or()
6585 (vector unsigned int)__a | (vector unsigned int)__b; in vec_or()
6586 return (vector float)__res; in vec_or()
6589 static __inline__ vector float __ATTRS_o_ai vec_or(vector bool int __a, in vec_or()
6590 vector float __b) { in vec_or()
6591 vector unsigned int __res = in vec_or()
6592 (vector unsigned int)__a | (vector unsigned int)__b; in vec_or()
6593 return (vector float)__res; in vec_or()
6596 static __inline__ vector float __ATTRS_o_ai vec_or(vector float __a, in vec_or()
6597 vector bool int __b) { in vec_or()
6598 vector unsigned int __res = in vec_or()
6599 (vector unsigned int)__a | (vector unsigned int)__b; in vec_or()
6600 return (vector float)__res; in vec_or()
6604 static __inline__ vector double __ATTRS_o_ai vec_or(vector bool long long __a, in vec_or()
6605 vector double __b) { in vec_or()
6606 return (vector double)((vector unsigned long long)__a | in vec_or()
6607 (vector unsigned long long)__b); in vec_or()
6610 static __inline__ vector double __ATTRS_o_ai vec_or(vector double __a, in vec_or()
6611 vector bool long long __b) { in vec_or()
6612 return (vector double)((vector unsigned long long)__a | in vec_or()
6613 (vector unsigned long long)__b); in vec_or()
6616 static __inline__ vector double __ATTRS_o_ai vec_or(vector double __a, in vec_or()
6617 vector double __b) { in vec_or()
6618 return (vector double)((vector unsigned long long)__a | in vec_or()
6619 (vector unsigned long long)__b); in vec_or()
6622 static __inline__ vector signed long long __ATTRS_o_ai
6623 vec_or(vector signed long long __a, vector signed long long __b) { in vec_or()
6627 static __inline__ vector signed long long __ATTRS_o_ai
6628 vec_or(vector bool long long __a, vector signed long long __b) { in vec_or()
6629 return (vector signed long long)__a | __b; in vec_or()
6632 static __inline__ vector signed long long __ATTRS_o_ai
6633 vec_or(vector signed long long __a, vector bool long long __b) { in vec_or()
6634 return __a | (vector signed long long)__b; in vec_or()
6637 static __inline__ vector unsigned long long __ATTRS_o_ai
6638 vec_or(vector unsigned long long __a, vector unsigned long long __b) { in vec_or()
6642 static __inline__ vector unsigned long long __ATTRS_o_ai
6643 vec_or(vector bool long long __a, vector unsigned long long __b) { in vec_or()
6644 return (vector unsigned long long)__a | __b; in vec_or()
6647 static __inline__ vector unsigned long long __ATTRS_o_ai
6648 vec_or(vector unsigned long long __a, vector bool long long __b) { in vec_or()
6649 return __a | (vector unsigned long long)__b; in vec_or()
6652 static __inline__ vector bool long long __ATTRS_o_ai
6653 vec_or(vector bool long long __a, vector bool long long __b) { in vec_or()
6659 static __inline__ vector signed char __ATTRS_o_ai
6660 vec_orc(vector signed char __a, vector signed char __b) { in vec_orc()
6664 static __inline__ vector signed char __ATTRS_o_ai
6665 vec_orc(vector signed char __a, vector bool char __b) { in vec_orc()
6669 static __inline__ vector signed char __ATTRS_o_ai
6670 vec_orc(vector bool char __a, vector signed char __b) { in vec_orc()
6674 static __inline__ vector unsigned char __ATTRS_o_ai
6675 vec_orc(vector unsigned char __a, vector unsigned char __b) { in vec_orc()
6679 static __inline__ vector unsigned char __ATTRS_o_ai
6680 vec_orc(vector unsigned char __a, vector bool char __b) { in vec_orc()
6684 static __inline__ vector unsigned char __ATTRS_o_ai
6685 vec_orc(vector bool char __a, vector unsigned char __b) { in vec_orc()
6689 static __inline__ vector bool char __ATTRS_o_ai vec_orc(vector bool char __a, in vec_orc()
6690 vector bool char __b) { in vec_orc()
6694 static __inline__ vector signed short __ATTRS_o_ai
6695 vec_orc(vector signed short __a, vector signed short __b) { in vec_orc()
6699 static __inline__ vector signed short __ATTRS_o_ai
6700 vec_orc(vector signed short __a, vector bool short __b) { in vec_orc()
6704 static __inline__ vector signed short __ATTRS_o_ai
6705 vec_orc(vector bool short __a, vector signed short __b) { in vec_orc()
6709 static __inline__ vector unsigned short __ATTRS_o_ai
6710 vec_orc(vector unsigned short __a, vector unsigned short __b) { in vec_orc()
6714 static __inline__ vector unsigned short __ATTRS_o_ai
6715 vec_orc(vector unsigned short __a, vector bool short __b) { in vec_orc()
6719 static __inline__ vector unsigned short __ATTRS_o_ai
6720 vec_orc(vector bool short __a, vector unsigned short __b) { in vec_orc()
6724 static __inline__ vector bool short __ATTRS_o_ai
6725 vec_orc(vector bool short __a, vector bool short __b) { in vec_orc()
6729 static __inline__ vector signed int __ATTRS_o_ai
6730 vec_orc(vector signed int __a, vector signed int __b) { in vec_orc()
6734 static __inline__ vector signed int __ATTRS_o_ai vec_orc(vector signed int __a, in vec_orc()
6735 vector bool int __b) { in vec_orc()
6739 static __inline__ vector signed int __ATTRS_o_ai
6740 vec_orc(vector bool int __a, vector signed int __b) { in vec_orc()
6744 static __inline__ vector unsigned int __ATTRS_o_ai
6745 vec_orc(vector unsigned int __a, vector unsigned int __b) { in vec_orc()
6749 static __inline__ vector unsigned int __ATTRS_o_ai
6750 vec_orc(vector unsigned int __a, vector bool int __b) { in vec_orc()
6754 static __inline__ vector unsigned int __ATTRS_o_ai
6755 vec_orc(vector bool int __a, vector unsigned int __b) { in vec_orc()
6759 static __inline__ vector bool int __ATTRS_o_ai vec_orc(vector bool int __a, in vec_orc()
6760 vector bool int __b) { in vec_orc()
6764 static __inline__ vector float __ATTRS_o_ai
6765 vec_orc(vector bool int __a, vector float __b) { in vec_orc()
6766 return (vector float)(__a | ~(vector unsigned int)__b); in vec_orc()
6769 static __inline__ vector float __ATTRS_o_ai
6770 vec_orc(vector float __a, vector bool int __b) { in vec_orc()
6771 return (vector float)((vector unsigned int)__a | ~__b); in vec_orc()
6774 static __inline__ vector signed long long __ATTRS_o_ai
6775 vec_orc(vector signed long long __a, vector signed long long __b) { in vec_orc()
6779 static __inline__ vector signed long long __ATTRS_o_ai
6780 vec_orc(vector signed long long __a, vector bool long long __b) { in vec_orc()
6784 static __inline__ vector signed long long __ATTRS_o_ai
6785 vec_orc(vector bool long long __a, vector signed long long __b) { in vec_orc()
6789 static __inline__ vector unsigned long long __ATTRS_o_ai
6790 vec_orc(vector unsigned long long __a, vector unsigned long long __b) { in vec_orc()
6794 static __inline__ vector unsigned long long __ATTRS_o_ai
6795 vec_orc(vector unsigned long long __a, vector bool long long __b) { in vec_orc()
6799 static __inline__ vector unsigned long long __ATTRS_o_ai
6800 vec_orc(vector bool long long __a, vector unsigned long long __b) { in vec_orc()
6804 static __inline__ vector bool long long __ATTRS_o_ai
6805 vec_orc(vector bool long long __a, vector bool long long __b) { in vec_orc()
6809 static __inline__ vector double __ATTRS_o_ai
6810 vec_orc(vector double __a, vector bool long long __b) { in vec_orc()
6811 return (vector double)((vector unsigned long long)__a | ~__b); in vec_orc()
6814 static __inline__ vector double __ATTRS_o_ai
6815 vec_orc(vector bool long long __a, vector double __b) { in vec_orc()
6816 return (vector double)(__a | ~(vector unsigned long long)__b); in vec_orc()
6822 static __inline__ vector signed char __ATTRS_o_ai
6823 vec_vor(vector signed char __a, vector signed char __b) { in vec_vor()
6827 static __inline__ vector signed char __ATTRS_o_ai
6828 vec_vor(vector bool char __a, vector signed char __b) { in vec_vor()
6829 return (vector signed char)__a | __b; in vec_vor()
6832 static __inline__ vector signed char __ATTRS_o_ai
6833 vec_vor(vector signed char __a, vector bool char __b) { in vec_vor()
6834 return __a | (vector signed char)__b; in vec_vor()
6837 static __inline__ vector unsigned char __ATTRS_o_ai
6838 vec_vor(vector unsigned char __a, vector unsigned char __b) { in vec_vor()
6842 static __inline__ vector unsigned char __ATTRS_o_ai
6843 vec_vor(vector bool char __a, vector unsigned char __b) { in vec_vor()
6844 return (vector unsigned char)__a | __b; in vec_vor()
6847 static __inline__ vector unsigned char __ATTRS_o_ai
6848 vec_vor(vector unsigned char __a, vector bool char __b) { in vec_vor()
6849 return __a | (vector unsigned char)__b; in vec_vor()
6852 static __inline__ vector bool char __ATTRS_o_ai vec_vor(vector bool char __a, in vec_vor()
6853 vector bool char __b) { in vec_vor()
6857 static __inline__ vector short __ATTRS_o_ai vec_vor(vector short __a, in vec_vor()
6858 vector short __b) { in vec_vor()
6862 static __inline__ vector short __ATTRS_o_ai vec_vor(vector bool short __a, in vec_vor()
6863 vector short __b) { in vec_vor()
6864 return (vector short)__a | __b; in vec_vor()
6867 static __inline__ vector short __ATTRS_o_ai vec_vor(vector short __a, in vec_vor()
6868 vector bool short __b) { in vec_vor()
6869 return __a | (vector short)__b; in vec_vor()
6872 static __inline__ vector unsigned short __ATTRS_o_ai
6873 vec_vor(vector unsigned short __a, vector unsigned short __b) { in vec_vor()
6877 static __inline__ vector unsigned short __ATTRS_o_ai
6878 vec_vor(vector bool short __a, vector unsigned short __b) { in vec_vor()
6879 return (vector unsigned short)__a | __b; in vec_vor()
6882 static __inline__ vector unsigned short __ATTRS_o_ai
6883 vec_vor(vector unsigned short __a, vector bool short __b) { in vec_vor()
6884 return __a | (vector unsigned short)__b; in vec_vor()
6887 static __inline__ vector bool short __ATTRS_o_ai
6888 vec_vor(vector bool short __a, vector bool short __b) { in vec_vor()
6892 static __inline__ vector int __ATTRS_o_ai vec_vor(vector int __a, in vec_vor()
6893 vector int __b) { in vec_vor()
6897 static __inline__ vector int __ATTRS_o_ai vec_vor(vector bool int __a, in vec_vor()
6898 vector int __b) { in vec_vor()
6899 return (vector int)__a | __b; in vec_vor()
6902 static __inline__ vector int __ATTRS_o_ai vec_vor(vector int __a, in vec_vor()
6903 vector bool int __b) { in vec_vor()
6904 return __a | (vector int)__b; in vec_vor()
6907 static __inline__ vector unsigned int __ATTRS_o_ai
6908 vec_vor(vector unsigned int __a, vector unsigned int __b) { in vec_vor()
6912 static __inline__ vector unsigned int __ATTRS_o_ai
6913 vec_vor(vector bool int __a, vector unsigned int __b) { in vec_vor()
6914 return (vector unsigned int)__a | __b; in vec_vor()
6917 static __inline__ vector unsigned int __ATTRS_o_ai
6918 vec_vor(vector unsigned int __a, vector bool int __b) { in vec_vor()
6919 return __a | (vector unsigned int)__b; in vec_vor()
6922 static __inline__ vector bool int __ATTRS_o_ai vec_vor(vector bool int __a, in vec_vor()
6923 vector bool int __b) { in vec_vor()
6927 static __inline__ vector float __ATTRS_o_ai vec_vor(vector float __a, in vec_vor()
6928 vector float __b) { in vec_vor()
6929 vector unsigned int __res = in vec_vor()
6930 (vector unsigned int)__a | (vector unsigned int)__b; in vec_vor()
6931 return (vector float)__res; in vec_vor()
6934 static __inline__ vector float __ATTRS_o_ai vec_vor(vector bool int __a, in vec_vor()
6935 vector float __b) { in vec_vor()
6936 vector unsigned int __res = in vec_vor()
6937 (vector unsigned int)__a | (vector unsigned int)__b; in vec_vor()
6938 return (vector float)__res; in vec_vor()
6941 static __inline__ vector float __ATTRS_o_ai vec_vor(vector float __a, in vec_vor()
6942 vector bool int __b) { in vec_vor()
6943 vector unsigned int __res = in vec_vor()
6944 (vector unsigned int)__a | (vector unsigned int)__b; in vec_vor()
6945 return (vector float)__res; in vec_vor()
6949 static __inline__ vector signed long long __ATTRS_o_ai
6950 vec_vor(vector signed long long __a, vector signed long long __b) { in vec_vor()
6954 static __inline__ vector signed long long __ATTRS_o_ai
6955 vec_vor(vector bool long long __a, vector signed long long __b) { in vec_vor()
6956 return (vector signed long long)__a | __b; in vec_vor()
6959 static __inline__ vector signed long long __ATTRS_o_ai
6960 vec_vor(vector signed long long __a, vector bool long long __b) { in vec_vor()
6961 return __a | (vector signed long long)__b; in vec_vor()
6964 static __inline__ vector unsigned long long __ATTRS_o_ai
6965 vec_vor(vector unsigned long long __a, vector unsigned long long __b) { in vec_vor()
6969 static __inline__ vector unsigned long long __ATTRS_o_ai
6970 vec_vor(vector bool long long __a, vector unsigned long long __b) { in vec_vor()
6971 return (vector unsigned long long)__a | __b; in vec_vor()
6974 static __inline__ vector unsigned long long __ATTRS_o_ai
6975 vec_vor(vector unsigned long long __a, vector bool long long __b) { in vec_vor()
6976 return __a | (vector unsigned long long)__b; in vec_vor()
6979 static __inline__ vector bool long long __ATTRS_o_ai
6980 vec_vor(vector bool long long __a, vector bool long long __b) { in vec_vor()
6990 static __inline__ vector signed char __ATTRS_o_ai
6991 vec_pack(vector signed short __a, vector signed short __b) { in vec_pack()
6993 return (vector signed char)vec_perm( in vec_pack()
6995 (vector unsigned char)(0x00, 0x02, 0x04, 0x06, 0x08, 0x0A, 0x0C, 0x0E, in vec_pack()
6998 return (vector signed char)vec_perm( in vec_pack()
7000 (vector unsigned char)(0x01, 0x03, 0x05, 0x07, 0x09, 0x0B, 0x0D, 0x0F, in vec_pack()
7005 static __inline__ vector unsigned char __ATTRS_o_ai
7006 vec_pack(vector unsigned short __a, vector unsigned short __b) { in vec_pack()
7008 return (vector unsigned char)vec_perm( in vec_pack()
7010 (vector unsigned char)(0x00, 0x02, 0x04, 0x06, 0x08, 0x0A, 0x0C, 0x0E, in vec_pack()
7013 return (vector unsigned char)vec_perm( in vec_pack()
7015 (vector unsigned char)(0x01, 0x03, 0x05, 0x07, 0x09, 0x0B, 0x0D, 0x0F, in vec_pack()
7020 static __inline__ vector bool char __ATTRS_o_ai
7021 vec_pack(vector bool short __a, vector bool short __b) { in vec_pack()
7023 return (vector bool char)vec_perm( in vec_pack()
7025 (vector unsigned char)(0x00, 0x02, 0x04, 0x06, 0x08, 0x0A, 0x0C, 0x0E, in vec_pack()
7028 return (vector bool char)vec_perm( in vec_pack()
7030 (vector unsigned char)(0x01, 0x03, 0x05, 0x07, 0x09, 0x0B, 0x0D, 0x0F, in vec_pack()
7035 static __inline__ vector short __ATTRS_o_ai vec_pack(vector int __a, in vec_pack()
7036 vector int __b) { in vec_pack()
7038 return (vector short)vec_perm( in vec_pack()
7040 (vector unsigned char)(0x00, 0x01, 0x04, 0x05, 0x08, 0x09, 0x0C, 0x0D, in vec_pack()
7043 return (vector short)vec_perm( in vec_pack()
7045 (vector unsigned char)(0x02, 0x03, 0x06, 0x07, 0x0A, 0x0B, 0x0E, 0x0F, in vec_pack()
7050 static __inline__ vector unsigned short __ATTRS_o_ai
7051 vec_pack(vector unsigned int __a, vector unsigned int __b) { in vec_pack()
7053 return (vector unsigned short)vec_perm( in vec_pack()
7055 (vector unsigned char)(0x00, 0x01, 0x04, 0x05, 0x08, 0x09, 0x0C, 0x0D, in vec_pack()
7058 return (vector unsigned short)vec_perm( in vec_pack()
7060 (vector unsigned char)(0x02, 0x03, 0x06, 0x07, 0x0A, 0x0B, 0x0E, 0x0F, in vec_pack()
7065 static __inline__ vector bool short __ATTRS_o_ai vec_pack(vector bool int __a, in vec_pack()
7066 vector bool int __b) { in vec_pack()
7068 return (vector bool short)vec_perm( in vec_pack()
7070 (vector unsigned char)(0x00, 0x01, 0x04, 0x05, 0x08, 0x09, 0x0C, 0x0D, in vec_pack()
7073 return (vector bool short)vec_perm( in vec_pack()
7075 (vector unsigned char)(0x02, 0x03, 0x06, 0x07, 0x0A, 0x0B, 0x0E, 0x0F, in vec_pack()
7081 static __inline__ vector signed int __ATTRS_o_ai
7082 vec_pack(vector signed long long __a, vector signed long long __b) { in vec_pack()
7084 return (vector signed int)vec_perm( in vec_pack()
7086 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x08, 0x09, 0x0A, 0x0B, in vec_pack()
7089 return (vector signed int)vec_perm( in vec_pack()
7091 (vector unsigned char)(0x04, 0x05, 0x06, 0x07, 0x0C, 0x0D, 0x0E, 0x0F, in vec_pack()
7095 static __inline__ vector unsigned int __ATTRS_o_ai
7096 vec_pack(vector unsigned long long __a, vector unsigned long long __b) { in vec_pack()
7098 return (vector unsigned int)vec_perm( in vec_pack()
7100 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x08, 0x09, 0x0A, 0x0B, in vec_pack()
7103 return (vector unsigned int)vec_perm( in vec_pack()
7105 (vector unsigned char)(0x04, 0x05, 0x06, 0x07, 0x0C, 0x0D, 0x0E, 0x0F, in vec_pack()
7110 static __inline__ vector bool int __ATTRS_o_ai
7111 vec_pack(vector bool long long __a, vector bool long long __b) { in vec_pack()
7113 return (vector bool int)vec_perm( in vec_pack()
7115 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x08, 0x09, 0x0A, 0x0B, in vec_pack()
7118 return (vector bool int)vec_perm( in vec_pack()
7120 (vector unsigned char)(0x04, 0x05, 0x06, 0x07, 0x0C, 0x0D, 0x0E, 0x0F, in vec_pack()
7125 static __inline__ vector float __ATTRS_o_ai
7126 vec_pack(vector double __a, vector double __b) { in vec_pack()
7127 return (vector float) (__a[0], __a[1], __b[0], __b[1]); in vec_pack()
7132 static __inline__ vector unsigned short __ATTRS_o_ai
7133 vec_pack_to_short_fp32(vector float __a, vector float __b) { in vec_pack_to_short_fp32()
7134 vector float __resa = __builtin_vsx_xvcvsphp(__a); in vec_pack_to_short_fp32()
7135 vector float __resb = __builtin_vsx_xvcvsphp(__b); in vec_pack_to_short_fp32()
7137 return (vector unsigned short)vec_mergee(__resa, __resb); in vec_pack_to_short_fp32()
7139 return (vector unsigned short)vec_mergeo(__resa, __resb); in vec_pack_to_short_fp32()
7148 static __inline__ vector signed char __ATTRS_o_ai
7149 vec_vpkuhum(vector signed short __a, vector signed short __b) { in vec_vpkuhum()
7151 return (vector signed char)vec_perm( in vec_vpkuhum()
7153 (vector unsigned char)(0x00, 0x02, 0x04, 0x06, 0x08, 0x0A, 0x0C, 0x0E, in vec_vpkuhum()
7156 return (vector signed char)vec_perm( in vec_vpkuhum()
7158 (vector unsigned char)(0x01, 0x03, 0x05, 0x07, 0x09, 0x0B, 0x0D, 0x0F, in vec_vpkuhum()
7163 static __inline__ vector unsigned char __ATTRS_o_ai
7164 vec_vpkuhum(vector unsigned short __a, vector unsigned short __b) { in vec_vpkuhum()
7166 return (vector unsigned char)vec_perm( in vec_vpkuhum()
7168 (vector unsigned char)(0x00, 0x02, 0x04, 0x06, 0x08, 0x0A, 0x0C, 0x0E, in vec_vpkuhum()
7171 return (vector unsigned char)vec_perm( in vec_vpkuhum()
7173 (vector unsigned char)(0x01, 0x03, 0x05, 0x07, 0x09, 0x0B, 0x0D, 0x0F, in vec_vpkuhum()
7178 static __inline__ vector bool char __ATTRS_o_ai
7179 vec_vpkuhum(vector bool short __a, vector bool short __b) { in vec_vpkuhum()
7181 return (vector bool char)vec_perm( in vec_vpkuhum()
7183 (vector unsigned char)(0x00, 0x02, 0x04, 0x06, 0x08, 0x0A, 0x0C, 0x0E, in vec_vpkuhum()
7186 return (vector bool char)vec_perm( in vec_vpkuhum()
7188 (vector unsigned char)(0x01, 0x03, 0x05, 0x07, 0x09, 0x0B, 0x0D, 0x0F, in vec_vpkuhum()
7197 static __inline__ vector short __ATTRS_o_ai vec_vpkuwum(vector int __a, in vec_vpkuwum()
7198 vector int __b) { in vec_vpkuwum()
7200 return (vector short)vec_perm( in vec_vpkuwum()
7202 (vector unsigned char)(0x00, 0x01, 0x04, 0x05, 0x08, 0x09, 0x0C, 0x0D, in vec_vpkuwum()
7205 return (vector short)vec_perm( in vec_vpkuwum()
7207 (vector unsigned char)(0x02, 0x03, 0x06, 0x07, 0x0A, 0x0B, 0x0E, 0x0F, in vec_vpkuwum()
7212 static __inline__ vector unsigned short __ATTRS_o_ai
7213 vec_vpkuwum(vector unsigned int __a, vector unsigned int __b) { in vec_vpkuwum()
7215 return (vector unsigned short)vec_perm( in vec_vpkuwum()
7217 (vector unsigned char)(0x00, 0x01, 0x04, 0x05, 0x08, 0x09, 0x0C, 0x0D, in vec_vpkuwum()
7220 return (vector unsigned short)vec_perm( in vec_vpkuwum()
7222 (vector unsigned char)(0x02, 0x03, 0x06, 0x07, 0x0A, 0x0B, 0x0E, 0x0F, in vec_vpkuwum()
7227 static __inline__ vector bool short __ATTRS_o_ai
7228 vec_vpkuwum(vector bool int __a, vector bool int __b) { in vec_vpkuwum()
7230 return (vector bool short)vec_perm( in vec_vpkuwum()
7232 (vector unsigned char)(0x00, 0x01, 0x04, 0x05, 0x08, 0x09, 0x0C, 0x0D, in vec_vpkuwum()
7235 return (vector bool short)vec_perm( in vec_vpkuwum()
7237 (vector unsigned char)(0x02, 0x03, 0x06, 0x07, 0x0A, 0x0B, 0x0E, 0x0F, in vec_vpkuwum()
7247 static __inline__ vector int __ATTRS_o_ai vec_vpkudum(vector long long __a, in vec_vpkudum()
7248 vector long long __b) { in vec_vpkudum()
7250 return (vector int)vec_perm( in vec_vpkudum()
7252 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x08, 0x09, 0x0A, 0x0B, in vec_vpkudum()
7255 return (vector int)vec_perm( in vec_vpkudum()
7257 (vector unsigned char)(0x04, 0x05, 0x06, 0x07, 0x0C, 0x0D, 0x0E, 0x0F, in vec_vpkudum()
7262 static __inline__ vector unsigned int __ATTRS_o_ai
7263 vec_vpkudum(vector unsigned long long __a, vector unsigned long long __b) { in vec_vpkudum()
7265 return (vector unsigned int)vec_perm( in vec_vpkudum()
7267 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x08, 0x09, 0x0A, 0x0B, in vec_vpkudum()
7270 return (vector unsigned int)vec_perm( in vec_vpkudum()
7272 (vector unsigned char)(0x04, 0x05, 0x06, 0x07, 0x0C, 0x0D, 0x0E, 0x0F, in vec_vpkudum()
7277 static __inline__ vector bool int __ATTRS_o_ai
7278 vec_vpkudum(vector bool long long __a, vector bool long long __b) { in vec_vpkudum()
7280 return (vector bool int)vec_perm( in vec_vpkudum()
7281 (vector long long)__a, (vector long long)__b, in vec_vpkudum()
7282 (vector unsigned char)(0x00, 0x01, 0x02, 0x03, 0x08, 0x09, 0x0A, 0x0B, in vec_vpkudum()
7285 return (vector bool int)vec_perm( in vec_vpkudum()
7286 (vector long long)__a, (vector long long)__b, in vec_vpkudum()
7287 (vector unsigned char)(0x04, 0x05, 0x06, 0x07, 0x0C, 0x0D, 0x0E, 0x0F, in vec_vpkudum()
7295 static __inline__ vector pixel __attribute__((__always_inline__))
7296 vec_packpx(vector unsigned int __a, vector unsigned int __b) { in vec_packpx()
7298 return (vector pixel)__builtin_altivec_vpkpx(__b, __a); in vec_packpx()
7300 return (vector pixel)__builtin_altivec_vpkpx(__a, __b); in vec_packpx()
7306 static __inline__ vector pixel __attribute__((__always_inline__))
7307 vec_vpkpx(vector unsigned int __a, vector unsigned int __b) { in vec_vpkpx()
7309 return (vector pixel)__builtin_altivec_vpkpx(__b, __a); in vec_vpkpx()
7311 return (vector pixel)__builtin_altivec_vpkpx(__a, __b); in vec_vpkpx()
7317 static __inline__ vector signed char __ATTRS_o_ai vec_packs(vector short __a, in vec_packs()
7318 vector short __b) { in vec_packs()
7326 static __inline__ vector unsigned char __ATTRS_o_ai
7327 vec_packs(vector unsigned short __a, vector unsigned short __b) { in vec_packs()
7335 static __inline__ vector signed short __ATTRS_o_ai vec_packs(vector int __a, in vec_packs()
7336 vector int __b) { in vec_packs()
7344 static __inline__ vector unsigned short __ATTRS_o_ai
7345 vec_packs(vector unsigned int __a, vector unsigned int __b) { in vec_packs()
7354 static __inline__ vector int __ATTRS_o_ai vec_packs(vector long long __a, in vec_packs()
7355 vector long long __b) { in vec_packs()
7363 static __inline__ vector unsigned int __ATTRS_o_ai
7364 vec_packs(vector unsigned long long __a, vector unsigned long long __b) { in vec_packs()
7375 static __inline__ vector signed char __attribute__((__always_inline__))
7376 vec_vpkshss(vector short __a, vector short __b) { in vec_vpkshss()
7387 static __inline__ vector int __ATTRS_o_ai vec_vpksdss(vector long long __a, in vec_vpksdss()
7388 vector long long __b) { in vec_vpksdss()
7399 static __inline__ vector unsigned char __attribute__((__always_inline__))
7400 vec_vpkuhus(vector unsigned short __a, vector unsigned short __b) { in vec_vpkuhus()
7411 static __inline__ vector unsigned int __attribute__((__always_inline__))
7412 vec_vpkudus(vector unsigned long long __a, vector unsigned long long __b) { in vec_vpkudus()
7423 static __inline__ vector signed short __attribute__((__always_inline__))
7424 vec_vpkswss(vector int __a, vector int __b) { in vec_vpkswss()
7434 static __inline__ vector unsigned short __attribute__((__always_inline__))
7435 vec_vpkuwus(vector unsigned int __a, vector unsigned int __b) { in vec_vpkuwus()
7445 static __inline__ vector unsigned char __ATTRS_o_ai
7446 vec_packsu(vector short __a, vector short __b) { in vec_packsu()
7454 static __inline__ vector unsigned char __ATTRS_o_ai
7455 vec_packsu(vector unsigned short __a, vector unsigned short __b) { in vec_packsu()
7463 static __inline__ vector unsigned short __ATTRS_o_ai
7464 vec_packsu(vector int __a, vector int __b) { in vec_packsu()
7472 static __inline__ vector unsigned short __ATTRS_o_ai
7473 vec_packsu(vector unsigned int __a, vector unsigned int __b) { in vec_packsu()
7482 static __inline__ vector unsigned int __ATTRS_o_ai
7483 vec_packsu(vector long long __a, vector long long __b) { in vec_packsu()
7491 static __inline__ vector unsigned int __ATTRS_o_ai
7492 vec_packsu(vector unsigned long long __a, vector unsigned long long __b) { in vec_packsu()
7503 static __inline__ vector unsigned char __ATTRS_o_ai
7504 vec_vpkshus(vector short __a, vector short __b) { in vec_vpkshus()
7512 static __inline__ vector unsigned char __ATTRS_o_ai
7513 vec_vpkshus(vector unsigned short __a, vector unsigned short __b) { in vec_vpkshus()
7523 static __inline__ vector unsigned short __ATTRS_o_ai
7524 vec_vpkswus(vector int __a, vector int __b) { in vec_vpkswus()
7532 static __inline__ vector unsigned short __ATTRS_o_ai
7533 vec_vpkswus(vector unsigned int __a, vector unsigned int __b) { in vec_vpkswus()
7544 static __inline__ vector unsigned int __ATTRS_o_ai
7545 vec_vpksdus(vector long long __a, vector long long __b) { in vec_vpksdus()
7564 static __inline__ vector signed char __ATTRS_o_ai vec_perm( in vec_perm()
7565 vector signed char __a, vector signed char __b, vector unsigned char __c) { in vec_perm()
7567 vector unsigned char __d = {255, 255, 255, 255, 255, 255, 255, 255, in vec_perm()
7570 return (vector signed char)__builtin_altivec_vperm_4si((vector int)__b, in vec_perm()
7571 (vector int)__a, __d); in vec_perm()
7573 return (vector signed char)__builtin_altivec_vperm_4si((vector int)__a, in vec_perm()
7574 (vector int)__b, __c); in vec_perm()
7578 static __inline__ vector unsigned char __ATTRS_o_ai
7579 vec_perm(vector unsigned char __a, vector unsigned char __b, in vec_perm()
7580 vector unsigned char __c) { in vec_perm()
7582 vector unsigned char __d = {255, 255, 255, 255, 255, 255, 255, 255, in vec_perm()
7585 return (vector unsigned char)__builtin_altivec_vperm_4si( in vec_perm()
7586 (vector int)__b, (vector int)__a, __d); in vec_perm()
7588 return (vector unsigned char)__builtin_altivec_vperm_4si( in vec_perm()
7589 (vector int)__a, (vector int)__b, __c); in vec_perm()
7593 static __inline__ vector bool char __ATTRS_o_ai
7594 vec_perm(vector bool char __a, vector bool char __b, vector unsigned char __c) { in vec_perm()
7596 vector unsigned char __d = {255, 255, 255, 255, 255, 255, 255, 255, in vec_perm()
7599 return (vector bool char)__builtin_altivec_vperm_4si((vector int)__b, in vec_perm()
7600 (vector int)__a, __d); in vec_perm()
7602 return (vector bool char)__builtin_altivec_vperm_4si((vector int)__a, in vec_perm()
7603 (vector int)__b, __c); in vec_perm()
7607 static __inline__ vector short __ATTRS_o_ai vec_perm(vector signed short __a, in vec_perm()
7608 vector signed short __b, in vec_perm()
7609 vector unsigned char __c) { in vec_perm()
7611 vector unsigned char __d = {255, 255, 255, 255, 255, 255, 255, 255, in vec_perm()
7614 return (vector signed short)__builtin_altivec_vperm_4si((vector int)__b, in vec_perm()
7615 (vector int)__a, __d); in vec_perm()
7617 return (vector signed short)__builtin_altivec_vperm_4si((vector int)__a, in vec_perm()
7618 (vector int)__b, __c); in vec_perm()
7622 static __inline__ vector unsigned short __ATTRS_o_ai
7623 vec_perm(vector unsigned short __a, vector unsigned short __b, in vec_perm()
7624 vector unsigned char __c) { in vec_perm()
7626 vector unsigned char __d = {255, 255, 255, 255, 255, 255, 255, 255, in vec_perm()
7629 return (vector unsigned short)__builtin_altivec_vperm_4si( in vec_perm()
7630 (vector int)__b, (vector int)__a, __d); in vec_perm()
7632 return (vector unsigned short)__builtin_altivec_vperm_4si( in vec_perm()
7633 (vector int)__a, (vector int)__b, __c); in vec_perm()
7637 static __inline__ vector bool short __ATTRS_o_ai vec_perm( in vec_perm()
7638 vector bool short __a, vector bool short __b, vector unsigned char __c) { in vec_perm()
7640 vector unsigned char __d = {255, 255, 255, 255, 255, 255, 255, 255, in vec_perm()
7643 return (vector bool short)__builtin_altivec_vperm_4si((vector int)__b, in vec_perm()
7644 (vector int)__a, __d); in vec_perm()
7646 return (vector bool short)__builtin_altivec_vperm_4si((vector int)__a, in vec_perm()
7647 (vector int)__b, __c); in vec_perm()
7651 static __inline__ vector pixel __ATTRS_o_ai vec_perm(vector pixel __a, in vec_perm()
7652 vector pixel __b, in vec_perm()
7653 vector unsigned char __c) { in vec_perm()
7655 vector unsigned char __d = {255, 255, 255, 255, 255, 255, 255, 255, in vec_perm()
7658 return (vector pixel)__builtin_altivec_vperm_4si((vector int)__b, in vec_perm()
7659 (vector int)__a, __d); in vec_perm()
7661 return (vector pixel)__builtin_altivec_vperm_4si((vector int)__a, in vec_perm()
7662 (vector int)__b, __c); in vec_perm()
7666 static __inline__ vector int __ATTRS_o_ai vec_perm(vector signed int __a, in vec_perm()
7667 vector signed int __b, in vec_perm()
7668 vector unsigned char __c) { in vec_perm()
7670 vector unsigned char __d = {255, 255, 255, 255, 255, 255, 255, 255, in vec_perm()
7673 return (vector signed int)__builtin_altivec_vperm_4si(__b, __a, __d); in vec_perm()
7675 return (vector signed int)__builtin_altivec_vperm_4si(__a, __b, __c); in vec_perm()
7679 static __inline__ vector unsigned int __ATTRS_o_ai
7680 vec_perm(vector unsigned int __a, vector unsigned int __b, in vec_perm()
7681 vector unsigned char __c) { in vec_perm()
7683 vector unsigned char __d = {255, 255, 255, 255, 255, 255, 255, 255, in vec_perm()
7686 return (vector unsigned int)__builtin_altivec_vperm_4si((vector int)__b, in vec_perm()
7687 (vector int)__a, __d); in vec_perm()
7689 return (vector unsigned int)__builtin_altivec_vperm_4si((vector int)__a, in vec_perm()
7690 (vector int)__b, __c); in vec_perm()
7694 static __inline__ vector bool int __ATTRS_o_ai
7695 vec_perm(vector bool int __a, vector bool int __b, vector unsigned char __c) { in vec_perm()
7697 vector unsigned char __d = {255, 255, 255, 255, 255, 255, 255, 255, in vec_perm()
7700 return (vector bool int)__builtin_altivec_vperm_4si((vector int)__b, in vec_perm()
7701 (vector int)__a, __d); in vec_perm()
7703 return (vector bool int)__builtin_altivec_vperm_4si((vector int)__a, in vec_perm()
7704 (vector int)__b, __c); in vec_perm()
7708 static __inline__ vector float __ATTRS_o_ai vec_perm(vector float __a, in vec_perm()
7709 vector float __b, in vec_perm()
7710 vector unsigned char __c) { in vec_perm()
7712 vector unsigned char __d = {255, 255, 255, 255, 255, 255, 255, 255, in vec_perm()
7715 return (vector float)__builtin_altivec_vperm_4si((vector int)__b, in vec_perm()
7716 (vector int)__a, __d); in vec_perm()
7718 return (vector float)__builtin_altivec_vperm_4si((vector int)__a, in vec_perm()
7719 (vector int)__b, __c); in vec_perm()
7724 static __inline__ vector long long __ATTRS_o_ai
7725 vec_perm(vector signed long long __a, vector signed long long __b, in vec_perm()
7726 vector unsigned char __c) { in vec_perm()
7728 vector unsigned char __d = {255, 255, 255, 255, 255, 255, 255, 255, in vec_perm()
7731 return (vector signed long long)__builtin_altivec_vperm_4si( in vec_perm()
7732 (vector int)__b, (vector int)__a, __d); in vec_perm()
7734 return (vector signed long long)__builtin_altivec_vperm_4si( in vec_perm()
7735 (vector int)__a, (vector int)__b, __c); in vec_perm()
7739 static __inline__ vector unsigned long long __ATTRS_o_ai
7740 vec_perm(vector unsigned long long __a, vector unsigned long long __b, in vec_perm()
7741 vector unsigned char __c) { in vec_perm()
7743 vector unsigned char __d = {255, 255, 255, 255, 255, 255, 255, 255, in vec_perm()
7746 return (vector unsigned long long)__builtin_altivec_vperm_4si( in vec_perm()
7747 (vector int)__b, (vector int)__a, __d); in vec_perm()
7749 return (vector unsigned long long)__builtin_altivec_vperm_4si( in vec_perm()
7750 (vector int)__a, (vector int)__b, __c); in vec_perm()
7754 static __inline__ vector bool long long __ATTRS_o_ai
7755 vec_perm(vector bool long long __a, vector bool long long __b, in vec_perm()
7756 vector unsigned char __c) { in vec_perm()
7758 vector unsigned char __d = {255, 255, 255, 255, 255, 255, 255, 255, in vec_perm()
7761 return (vector bool long long)__builtin_altivec_vperm_4si( in vec_perm()
7762 (vector int)__b, (vector int)__a, __d); in vec_perm()
7764 return (vector bool long long)__builtin_altivec_vperm_4si( in vec_perm()
7765 (vector int)__a, (vector int)__b, __c); in vec_perm()
7769 static __inline__ vector double __ATTRS_o_ai
7770 vec_perm(vector double __a, vector double __b, vector unsigned char __c) { in vec_perm()
7772 vector unsigned char __d = {255, 255, 255, 255, 255, 255, 255, 255, in vec_perm()
7775 return (vector double)__builtin_altivec_vperm_4si((vector int)__b, in vec_perm()
7776 (vector int)__a, __d); in vec_perm()
7778 return (vector double)__builtin_altivec_vperm_4si((vector int)__a, in vec_perm()
7779 (vector int)__b, __c); in vec_perm()
7786 static __inline__ vector signed char __ATTRS_o_ai vec_vperm( in vec_vperm()
7787 vector signed char __a, vector signed char __b, vector unsigned char __c) { in vec_vperm()
7791 static __inline__ vector unsigned char __ATTRS_o_ai
7792 vec_vperm(vector unsigned char __a, vector unsigned char __b, in vec_vperm()
7793 vector unsigned char __c) { in vec_vperm()
7797 static __inline__ vector bool char __ATTRS_o_ai vec_vperm( in vec_vperm()
7798 vector bool char __a, vector bool char __b, vector unsigned char __c) { in vec_vperm()
7802 static __inline__ vector short __ATTRS_o_ai
7803 vec_vperm(vector short __a, vector short __b, vector unsigned char __c) { in vec_vperm()
7807 static __inline__ vector unsigned short __ATTRS_o_ai
7808 vec_vperm(vector unsigned short __a, vector unsigned short __b, in vec_vperm()
7809 vector unsigned char __c) { in vec_vperm()
7813 static __inline__ vector bool short __ATTRS_o_ai vec_vperm( in vec_vperm()
7814 vector bool short __a, vector bool short __b, vector unsigned char __c) { in vec_vperm()
7818 static __inline__ vector pixel __ATTRS_o_ai
7819 vec_vperm(vector pixel __a, vector pixel __b, vector unsigned char __c) { in vec_vperm()
7823 static __inline__ vector int __ATTRS_o_ai vec_vperm(vector int __a, in vec_vperm()
7824 vector int __b, in vec_vperm()
7825 vector unsigned char __c) { in vec_vperm()
7829 static __inline__ vector unsigned int __ATTRS_o_ai
7830 vec_vperm(vector unsigned int __a, vector unsigned int __b, in vec_vperm()
7831 vector unsigned char __c) { in vec_vperm()
7835 static __inline__ vector bool int __ATTRS_o_ai
7836 vec_vperm(vector bool int __a, vector bool int __b, vector unsigned char __c) { in vec_vperm()
7840 static __inline__ vector float __ATTRS_o_ai
7841 vec_vperm(vector float __a, vector float __b, vector unsigned char __c) { in vec_vperm()
7846 static __inline__ vector long long __ATTRS_o_ai vec_vperm( in vec_vperm()
7847 vector long long __a, vector long long __b, vector unsigned char __c) { in vec_vperm()
7851 static __inline__ vector unsigned long long __ATTRS_o_ai
7852 vec_vperm(vector unsigned long long __a, vector unsigned long long __b, in vec_vperm()
7853 vector unsigned char __c) { in vec_vperm()
7857 static __inline__ vector double __ATTRS_o_ai
7858 vec_vperm(vector double __a, vector double __b, vector unsigned char __c) { in vec_vperm()
7865 static __inline__ vector float __ATTRS_o_ai vec_re(vector float __a) { in vec_re()
7874 static __inline__ vector double __ATTRS_o_ai vec_re(vector double __a) { in vec_re()
7881 static __inline__ vector float __attribute__((__always_inline__))
7882 vec_vrefp(vector float __a) { in vec_vrefp()
7888 static __inline__ vector signed char __ATTRS_o_ai
7889 vec_rl(vector signed char __a, vector unsigned char __b) { in vec_rl()
7890 return (vector signed char)__builtin_altivec_vrlb((vector char)__a, __b); in vec_rl()
7893 static __inline__ vector unsigned char __ATTRS_o_ai
7894 vec_rl(vector unsigned char __a, vector unsigned char __b) { in vec_rl()
7895 return (vector unsigned char)__builtin_altivec_vrlb((vector char)__a, __b); in vec_rl()
7898 static __inline__ vector short __ATTRS_o_ai vec_rl(vector short __a, in vec_rl()
7899 vector unsigned short __b) { in vec_rl()
7903 static __inline__ vector unsigned short __ATTRS_o_ai
7904 vec_rl(vector unsigned short __a, vector unsigned short __b) { in vec_rl()
7905 return (vector unsigned short)__builtin_altivec_vrlh((vector short)__a, __b); in vec_rl()
7908 static __inline__ vector int __ATTRS_o_ai vec_rl(vector int __a, in vec_rl()
7909 vector unsigned int __b) { in vec_rl()
7913 static __inline__ vector unsigned int __ATTRS_o_ai
7914 vec_rl(vector unsigned int __a, vector unsigned int __b) { in vec_rl()
7915 return (vector unsigned int)__builtin_altivec_vrlw((vector int)__a, __b); in vec_rl()
7919 static __inline__ vector signed long long __ATTRS_o_ai
7920 vec_rl(vector signed long long __a, vector unsigned long long __b) { in vec_rl()
7924 static __inline__ vector unsigned long long __ATTRS_o_ai
7925 vec_rl(vector unsigned long long __a, vector unsigned long long __b) { in vec_rl()
7931 static __inline__ vector signed __int128 __ATTRS_o_ai
7932 vec_rl(vector signed __int128 __a, vector unsigned __int128 __b) { in vec_rl()
7933 return (__b << __a)|(__b >> ((__CHAR_BIT__ * sizeof(vector signed __int128)) - __a)); in vec_rl()
7936 static __inline__ vector unsigned __int128 __ATTRS_o_ai
7937 vec_rl(vector unsigned __int128 __a, vector unsigned __int128 __b) { in vec_rl()
7938 return (__b << __a)|(__b >> ((__CHAR_BIT__ * sizeof(vector unsigned __int128)) - __a)); in vec_rl()
7944 static __inline__ vector unsigned int __ATTRS_o_ai
7945 vec_rlmi(vector unsigned int __a, vector unsigned int __b, in vec_rlmi()
7946 vector unsigned int __c) { in vec_rlmi()
7950 static __inline__ vector unsigned long long __ATTRS_o_ai
7951 vec_rlmi(vector unsigned long long __a, vector unsigned long long __b, in vec_rlmi()
7952 vector unsigned long long __c) { in vec_rlmi()
7958 static __inline__ vector unsigned __int128 __ATTRS_o_ai
7959 vec_rlmi(vector unsigned __int128 __a, vector unsigned __int128 __b, in vec_rlmi()
7960 vector unsigned __int128 __c) { in vec_rlmi()
7964 static __inline__ vector signed __int128 __ATTRS_o_ai
7965 vec_rlmi(vector signed __int128 __a, vector signed __int128 __b, in vec_rlmi()
7966 vector signed __int128 __c) { in vec_rlmi()
7973 static __inline__ vector unsigned int __ATTRS_o_ai
7974 vec_rlnm(vector unsigned int __a, vector unsigned int __b, in vec_rlnm()
7975 vector unsigned int __c) { in vec_rlnm()
7976 vector unsigned int OneByte = { 0x8, 0x8, 0x8, 0x8 }; in vec_rlnm()
7980 static __inline__ vector unsigned long long __ATTRS_o_ai
7981 vec_rlnm(vector unsigned long long __a, vector unsigned long long __b, in vec_rlnm()
7982 vector unsigned long long __c) { in vec_rlnm()
7983 vector unsigned long long OneByte = { 0x8, 0x8 }; in vec_rlnm()
7989 static __inline__ vector unsigned __int128 __ATTRS_o_ai
7990 vec_rlnm(vector unsigned __int128 __a, vector unsigned __int128 __b, in vec_rlnm()
7991 vector unsigned __int128 __c) { in vec_rlnm()
7993 vector unsigned char TmpB = (vector unsigned char)__b; in vec_rlnm()
7994 vector unsigned char TmpC = (vector unsigned char)__c; in vec_rlnm()
7995 vector unsigned char MaskAndShift = in vec_rlnm()
8003 return __builtin_altivec_vrlqnm(__a, (vector unsigned __int128) MaskAndShift); in vec_rlnm()
8006 static __inline__ vector signed __int128 __ATTRS_o_ai
8007 vec_rlnm(vector signed __int128 __a, vector signed __int128 __b, in vec_rlnm()
8008 vector signed __int128 __c) { in vec_rlnm()
8010 vector unsigned char TmpB = (vector unsigned char)__b; in vec_rlnm()
8011 vector unsigned char TmpC = (vector unsigned char)__c; in vec_rlnm()
8012 vector unsigned char MaskAndShift = in vec_rlnm()
8020 return __builtin_altivec_vrlqnm(__a, (vector unsigned __int128) MaskAndShift); in vec_rlnm()
8026 static __inline__ vector signed char __ATTRS_o_ai
8027 vec_vrlb(vector signed char __a, vector unsigned char __b) { in vec_vrlb()
8028 return (vector signed char)__builtin_altivec_vrlb((vector char)__a, __b); in vec_vrlb()
8031 static __inline__ vector unsigned char __ATTRS_o_ai
8032 vec_vrlb(vector unsigned char __a, vector unsigned char __b) { in vec_vrlb()
8033 return (vector unsigned char)__builtin_altivec_vrlb((vector char)__a, __b); in vec_vrlb()
8038 static __inline__ vector short __ATTRS_o_ai
8039 vec_vrlh(vector short __a, vector unsigned short __b) { in vec_vrlh()
8043 static __inline__ vector unsigned short __ATTRS_o_ai
8044 vec_vrlh(vector unsigned short __a, vector unsigned short __b) { in vec_vrlh()
8045 return (vector unsigned short)__builtin_altivec_vrlh((vector short)__a, __b); in vec_vrlh()
8050 static __inline__ vector int __ATTRS_o_ai vec_vrlw(vector int __a, in vec_vrlw()
8051 vector unsigned int __b) { in vec_vrlw()
8055 static __inline__ vector unsigned int __ATTRS_o_ai
8056 vec_vrlw(vector unsigned int __a, vector unsigned int __b) { in vec_vrlw()
8057 return (vector unsigned int)__builtin_altivec_vrlw((vector int)__a, __b); in vec_vrlw()
8062 static __inline__ vector float __ATTRS_o_ai vec_round(vector float __a) { in vec_round()
8071 static __inline__ vector double __ATTRS_o_ai vec_round(vector double __a) { in vec_round()
8077 static __inline__ vector float __ATTRS_o_ai vec_rint(vector float __a) { in vec_rint()
8081 static __inline__ vector double __ATTRS_o_ai vec_rint(vector double __a) { in vec_rint()
8087 static __inline__ vector float __ATTRS_o_ai vec_nearbyint(vector float __a) { in vec_nearbyint()
8091 static __inline__ vector double __ATTRS_o_ai vec_nearbyint(vector double __a) { in vec_nearbyint()
8098 static __inline__ vector float __attribute__((__always_inline__))
8099 vec_vrfin(vector float __a) { in vec_vrfin()
8106 static __inline__ vector float __ATTRS_o_ai vec_sqrt(vector float __a) { in vec_sqrt()
8110 static __inline__ vector double __ATTRS_o_ai vec_sqrt(vector double __a) { in vec_sqrt()
8117 static __inline__ vector float __ATTRS_o_ai vec_rsqrte(vector float __a) { in vec_rsqrte()
8126 static __inline__ vector double __ATTRS_o_ai vec_rsqrte(vector double __a) { in vec_rsqrte()
8134 vec_vrsqrtefp(vector float __a) { in vec_vrsqrtefp()
8141 static __inline__ int __ATTRS_o_ai vec_test_swsqrt(vector double __a) { in vec_test_swsqrt()
8145 static __inline__ int __ATTRS_o_ai vec_test_swsqrts(vector float __a) { in vec_test_swsqrts()
8154 static __inline__ vector signed char __ATTRS_o_ai vec_sel( in vec_sel()
8155 vector signed char __a, vector signed char __b, vector unsigned char __c) { in vec_sel()
8156 return (__a & ~(vector signed char)__c) | (__b & (vector signed char)__c); in vec_sel()
8159 static __inline__ vector signed char __ATTRS_o_ai
8160 vec_sel(vector signed char __a, vector signed char __b, vector bool char __c) { in vec_sel()
8161 return (__a & ~(vector signed char)__c) | (__b & (vector signed char)__c); in vec_sel()
8164 static __inline__ vector unsigned char __ATTRS_o_ai
8165 vec_sel(vector unsigned char __a, vector unsigned char __b, in vec_sel()
8166 vector unsigned char __c) { in vec_sel()
8170 static __inline__ vector unsigned char __ATTRS_o_ai vec_sel( in vec_sel()
8171 vector unsigned char __a, vector unsigned char __b, vector bool char __c) { in vec_sel()
8172 return (__a & ~(vector unsigned char)__c) | (__b & (vector unsigned char)__c); in vec_sel()
8175 static __inline__ vector bool char __ATTRS_o_ai
8176 vec_sel(vector bool char __a, vector bool char __b, vector unsigned char __c) { in vec_sel()
8177 return (__a & ~(vector bool char)__c) | (__b & (vector bool char)__c); in vec_sel()
8180 static __inline__ vector bool char __ATTRS_o_ai vec_sel(vector bool char __a, in vec_sel()
8181 vector bool char __b, in vec_sel()
8182 vector bool char __c) { in vec_sel()
8186 static __inline__ vector short __ATTRS_o_ai vec_sel(vector short __a, in vec_sel()
8187 vector short __b, in vec_sel()
8188 vector unsigned short __c) { in vec_sel()
8189 return (__a & ~(vector short)__c) | (__b & (vector short)__c); in vec_sel()
8192 static __inline__ vector short __ATTRS_o_ai vec_sel(vector short __a, in vec_sel()
8193 vector short __b, in vec_sel()
8194 vector bool short __c) { in vec_sel()
8195 return (__a & ~(vector short)__c) | (__b & (vector short)__c); in vec_sel()
8198 static __inline__ vector unsigned short __ATTRS_o_ai
8199 vec_sel(vector unsigned short __a, vector unsigned short __b, in vec_sel()
8200 vector unsigned short __c) { in vec_sel()
8204 static __inline__ vector unsigned short __ATTRS_o_ai
8205 vec_sel(vector unsigned short __a, vector unsigned short __b, in vec_sel()
8206 vector bool short __c) { in vec_sel()
8207 return (__a & ~(vector unsigned short)__c) | in vec_sel()
8208 (__b & (vector unsigned short)__c); in vec_sel()
8211 static __inline__ vector bool short __ATTRS_o_ai vec_sel( in vec_sel()
8212 vector bool short __a, vector bool short __b, vector unsigned short __c) { in vec_sel()
8213 return (__a & ~(vector bool short)__c) | (__b & (vector bool short)__c); in vec_sel()
8216 static __inline__ vector bool short __ATTRS_o_ai
8217 vec_sel(vector bool short __a, vector bool short __b, vector bool short __c) { in vec_sel()
8221 static __inline__ vector int __ATTRS_o_ai vec_sel(vector int __a, in vec_sel()
8222 vector int __b, in vec_sel()
8223 vector unsigned int __c) { in vec_sel()
8224 return (__a & ~(vector int)__c) | (__b & (vector int)__c); in vec_sel()
8227 static __inline__ vector int __ATTRS_o_ai vec_sel(vector int __a, in vec_sel()
8228 vector int __b, in vec_sel()
8229 vector bool int __c) { in vec_sel()
8230 return (__a & ~(vector int)__c) | (__b & (vector int)__c); in vec_sel()
8233 static __inline__ vector unsigned int __ATTRS_o_ai vec_sel( in vec_sel()
8234 vector unsigned int __a, vector unsigned int __b, vector unsigned int __c) { in vec_sel()
8238 static __inline__ vector unsigned int __ATTRS_o_ai
8239 vec_sel(vector unsigned int __a, vector unsigned int __b, vector bool int __c) { in vec_sel()
8240 return (__a & ~(vector unsigned int)__c) | (__b & (vector unsigned int)__c); in vec_sel()
8243 static __inline__ vector bool int __ATTRS_o_ai
8244 vec_sel(vector bool int __a, vector bool int __b, vector unsigned int __c) { in vec_sel()
8245 return (__a & ~(vector bool int)__c) | (__b & (vector bool int)__c); in vec_sel()
8248 static __inline__ vector bool int __ATTRS_o_ai vec_sel(vector bool int __a, in vec_sel()
8249 vector bool int __b, in vec_sel()
8250 vector bool int __c) { in vec_sel()
8254 static __inline__ vector float __ATTRS_o_ai vec_sel(vector float __a, in vec_sel()
8255 vector float __b, in vec_sel()
8256 vector unsigned int __c) { in vec_sel()
8257 vector int __res = ((vector int)__a & ~(vector int)__c) | in vec_sel()
8258 ((vector int)__b & (vector int)__c); in vec_sel()
8259 return (vector float)__res; in vec_sel()
8262 static __inline__ vector float __ATTRS_o_ai vec_sel(vector float __a, in vec_sel()
8263 vector float __b, in vec_sel()
8264 vector bool int __c) { in vec_sel()
8265 vector int __res = ((vector int)__a & ~(vector int)__c) | in vec_sel()
8266 ((vector int)__b & (vector int)__c); in vec_sel()
8267 return (vector float)__res; in vec_sel()
8271 static __inline__ vector double __ATTRS_o_ai
8272 vec_sel(vector double __a, vector double __b, vector bool long long __c) { in vec_sel()
8273 vector long long __res = ((vector long long)__a & ~(vector long long)__c) | in vec_sel()
8274 ((vector long long)__b & (vector long long)__c); in vec_sel()
8275 return (vector double)__res; in vec_sel()
8278 static __inline__ vector double __ATTRS_o_ai
8279 vec_sel(vector double __a, vector double __b, vector unsigned long long __c) { in vec_sel()
8280 vector long long __res = ((vector long long)__a & ~(vector long long)__c) | in vec_sel()
8281 ((vector long long)__b & (vector long long)__c); in vec_sel()
8282 return (vector double)__res; in vec_sel()
8288 static __inline__ vector signed char __ATTRS_o_ai vec_vsel( in vec_vsel()
8289 vector signed char __a, vector signed char __b, vector unsigned char __c) { in vec_vsel()
8290 return (__a & ~(vector signed char)__c) | (__b & (vector signed char)__c); in vec_vsel()
8293 static __inline__ vector signed char __ATTRS_o_ai
8294 vec_vsel(vector signed char __a, vector signed char __b, vector bool char __c) { in vec_vsel()
8295 return (__a & ~(vector signed char)__c) | (__b & (vector signed char)__c); in vec_vsel()
8298 static __inline__ vector unsigned char __ATTRS_o_ai
8299 vec_vsel(vector unsigned char __a, vector unsigned char __b, in vec_vsel()
8300 vector unsigned char __c) { in vec_vsel()
8304 static __inline__ vector unsigned char __ATTRS_o_ai vec_vsel( in vec_vsel()
8305 vector unsigned char __a, vector unsigned char __b, vector bool char __c) { in vec_vsel()
8306 return (__a & ~(vector unsigned char)__c) | (__b & (vector unsigned char)__c); in vec_vsel()
8309 static __inline__ vector bool char __ATTRS_o_ai
8310 vec_vsel(vector bool char __a, vector bool char __b, vector unsigned char __c) { in vec_vsel()
8311 return (__a & ~(vector bool char)__c) | (__b & (vector bool char)__c); in vec_vsel()
8314 static __inline__ vector bool char __ATTRS_o_ai vec_vsel(vector bool char __a, in vec_vsel()
8315 vector bool char __b, in vec_vsel()
8316 vector bool char __c) { in vec_vsel()
8320 static __inline__ vector short __ATTRS_o_ai
8321 vec_vsel(vector short __a, vector short __b, vector unsigned short __c) { in vec_vsel()
8322 return (__a & ~(vector short)__c) | (__b & (vector short)__c); in vec_vsel()
8325 static __inline__ vector short __ATTRS_o_ai vec_vsel(vector short __a, in vec_vsel()
8326 vector short __b, in vec_vsel()
8327 vector bool short __c) { in vec_vsel()
8328 return (__a & ~(vector short)__c) | (__b & (vector short)__c); in vec_vsel()
8331 static __inline__ vector unsigned short __ATTRS_o_ai
8332 vec_vsel(vector unsigned short __a, vector unsigned short __b, in vec_vsel()
8333 vector unsigned short __c) { in vec_vsel()
8337 static __inline__ vector unsigned short __ATTRS_o_ai
8338 vec_vsel(vector unsigned short __a, vector unsigned short __b, in vec_vsel()
8339 vector bool short __c) { in vec_vsel()
8340 return (__a & ~(vector unsigned short)__c) | in vec_vsel()
8341 (__b & (vector unsigned short)__c); in vec_vsel()
8344 static __inline__ vector bool short __ATTRS_o_ai vec_vsel( in vec_vsel()
8345 vector bool short __a, vector bool short __b, vector unsigned short __c) { in vec_vsel()
8346 return (__a & ~(vector bool short)__c) | (__b & (vector bool short)__c); in vec_vsel()
8349 static __inline__ vector bool short __ATTRS_o_ai
8350 vec_vsel(vector bool short __a, vector bool short __b, vector bool short __c) { in vec_vsel()
8354 static __inline__ vector int __ATTRS_o_ai vec_vsel(vector int __a, in vec_vsel()
8355 vector int __b, in vec_vsel()
8356 vector unsigned int __c) { in vec_vsel()
8357 return (__a & ~(vector int)__c) | (__b & (vector int)__c); in vec_vsel()
8360 static __inline__ vector int __ATTRS_o_ai vec_vsel(vector int __a, in vec_vsel()
8361 vector int __b, in vec_vsel()
8362 vector bool int __c) { in vec_vsel()
8363 return (__a & ~(vector int)__c) | (__b & (vector int)__c); in vec_vsel()
8366 static __inline__ vector unsigned int __ATTRS_o_ai vec_vsel( in vec_vsel()
8367 vector unsigned int __a, vector unsigned int __b, vector unsigned int __c) { in vec_vsel()
8371 static __inline__ vector unsigned int __ATTRS_o_ai vec_vsel( in vec_vsel()
8372 vector unsigned int __a, vector unsigned int __b, vector bool int __c) { in vec_vsel()
8373 return (__a & ~(vector unsigned int)__c) | (__b & (vector unsigned int)__c); in vec_vsel()
8376 static __inline__ vector bool int __ATTRS_o_ai
8377 vec_vsel(vector bool int __a, vector bool int __b, vector unsigned int __c) { in vec_vsel()
8378 return (__a & ~(vector bool int)__c) | (__b & (vector bool int)__c); in vec_vsel()
8381 static __inline__ vector bool int __ATTRS_o_ai vec_vsel(vector bool int __a, in vec_vsel()
8382 vector bool int __b, in vec_vsel()
8383 vector bool int __c) { in vec_vsel()
8387 static __inline__ vector float __ATTRS_o_ai vec_vsel(vector float __a, in vec_vsel()
8388 vector float __b, in vec_vsel()
8389 vector unsigned int __c) { in vec_vsel()
8390 vector int __res = ((vector int)__a & ~(vector int)__c) | in vec_vsel()
8391 ((vector int)__b & (vector int)__c); in vec_vsel()
8392 return (vector float)__res; in vec_vsel()
8395 static __inline__ vector float __ATTRS_o_ai vec_vsel(vector float __a, in vec_vsel()
8396 vector float __b, in vec_vsel()
8397 vector bool int __c) { in vec_vsel()
8398 vector int __res = ((vector int)__a & ~(vector int)__c) | in vec_vsel()
8399 ((vector int)__b & (vector int)__c); in vec_vsel()
8400 return (vector float)__res; in vec_vsel()
8407 static __inline__ vector unsigned char __ATTRS_o_ai
8408 vec_sl(vector unsigned char __a, vector unsigned char __b) { in vec_sl()
8410 (vector unsigned char)(sizeof(unsigned char) * __CHAR_BIT__)); in vec_sl()
8413 static __inline__ vector signed char __ATTRS_o_ai
8414 vec_sl(vector signed char __a, vector unsigned char __b) { in vec_sl()
8415 return (vector signed char)vec_sl((vector unsigned char)__a, __b); in vec_sl()
8418 static __inline__ vector unsigned short __ATTRS_o_ai
8419 vec_sl(vector unsigned short __a, vector unsigned short __b) { in vec_sl()
8420 return __a << (__b % (vector unsigned short)(sizeof(unsigned short) * in vec_sl()
8424 static __inline__ vector short __ATTRS_o_ai vec_sl(vector short __a, in vec_sl()
8425 vector unsigned short __b) { in vec_sl()
8426 return (vector short)vec_sl((vector unsigned short)__a, __b); in vec_sl()
8429 static __inline__ vector unsigned int __ATTRS_o_ai
8430 vec_sl(vector unsigned int __a, vector unsigned int __b) { in vec_sl()
8432 (vector unsigned int)(sizeof(unsigned int) * __CHAR_BIT__)); in vec_sl()
8435 static __inline__ vector int __ATTRS_o_ai vec_sl(vector int __a, in vec_sl()
8436 vector unsigned int __b) { in vec_sl()
8437 return (vector int)vec_sl((vector unsigned int)__a, __b); in vec_sl()
8441 static __inline__ vector unsigned long long __ATTRS_o_ai
8442 vec_sl(vector unsigned long long __a, vector unsigned long long __b) { in vec_sl()
8443 return __a << (__b % (vector unsigned long long)(sizeof(unsigned long long) * in vec_sl()
8447 static __inline__ vector long long __ATTRS_o_ai
8448 vec_sl(vector long long __a, vector unsigned long long __b) { in vec_sl()
8449 return (vector long long)vec_sl((vector unsigned long long)__a, __b); in vec_sl()
8457 static __inline__ vector signed char __ATTRS_o_ai
8458 vec_vslb(vector signed char __a, vector unsigned char __b) { in vec_vslb()
8462 static __inline__ vector unsigned char __ATTRS_o_ai
8463 vec_vslb(vector unsigned char __a, vector unsigned char __b) { in vec_vslb()
8471 static __inline__ vector short __ATTRS_o_ai
8472 vec_vslh(vector short __a, vector unsigned short __b) { in vec_vslh()
8476 static __inline__ vector unsigned short __ATTRS_o_ai
8477 vec_vslh(vector unsigned short __a, vector unsigned short __b) { in vec_vslh()
8485 static __inline__ vector int __ATTRS_o_ai vec_vslw(vector int __a, in vec_vslw()
8486 vector unsigned int __b) { in vec_vslw()
8490 static __inline__ vector unsigned int __ATTRS_o_ai
8491 vec_vslw(vector unsigned int __a, vector unsigned int __b) { in vec_vslw()
8499 static __inline__ vector signed char __ATTRS_o_ai vec_sld( in vec_sld()
8500 vector signed char __a, vector signed char __b, unsigned const int __c) { in vec_sld()
8504 __b, __a, (vector unsigned char)(16 - __d, 17 - __d, 18 - __d, 19 - __d, in vec_sld()
8511 (vector unsigned char)(__d, __d + 1, __d + 2, __d + 3, __d + 4, __d + 5, in vec_sld()
8517 static __inline__ vector unsigned char __ATTRS_o_ai
8518 vec_sld(vector unsigned char __a, vector unsigned char __b, in vec_sld()
8523 __b, __a, (vector unsigned char)(16 - __d, 17 - __d, 18 - __d, 19 - __d, in vec_sld()
8530 (vector unsigned char)(__d, __d + 1, __d + 2, __d + 3, __d + 4, __d + 5, in vec_sld()
8536 static __inline__ vector bool char __ATTRS_o_ai
8537 vec_sld(vector bool char __a, vector bool char __b, unsigned const int __c) { in vec_sld()
8541 __b, __a, (vector unsigned char)(16 - __d, 17 - __d, 18 - __d, 19 - __d, in vec_sld()
8548 (vector unsigned char)(__d, __d + 1, __d + 2, __d + 3, __d + 4, __d + 5, in vec_sld()
8554 static __inline__ vector signed short __ATTRS_o_ai vec_sld( in vec_sld()
8555 vector signed short __a, vector signed short __b, unsigned const int __c) { in vec_sld()
8559 __b, __a, (vector unsigned char)(16 - __d, 17 - __d, 18 - __d, 19 - __d, in vec_sld()
8566 (vector unsigned char)(__d, __d + 1, __d + 2, __d + 3, __d + 4, __d + 5, in vec_sld()
8572 static __inline__ vector unsigned short __ATTRS_o_ai
8573 vec_sld(vector unsigned short __a, vector unsigned short __b, in vec_sld()
8578 __b, __a, (vector unsigned char)(16 - __d, 17 - __d, 18 - __d, 19 - __d, in vec_sld()
8585 (vector unsigned char)(__d, __d + 1, __d + 2, __d + 3, __d + 4, __d + 5, in vec_sld()
8591 static __inline__ vector bool short __ATTRS_o_ai
8592 vec_sld(vector bool short __a, vector bool short __b, unsigned const int __c) { in vec_sld()
8596 __b, __a, (vector unsigned char)(16 - __d, 17 - __d, 18 - __d, 19 - __d, in vec_sld()
8603 (vector unsigned char)(__d, __d + 1, __d + 2, __d + 3, __d + 4, __d + 5, in vec_sld()
8609 static __inline__ vector pixel __ATTRS_o_ai vec_sld(vector pixel __a, in vec_sld()
8610 vector pixel __b, in vec_sld()
8615 __b, __a, (vector unsigned char)(16 - __d, 17 - __d, 18 - __d, 19 - __d, in vec_sld()
8622 (vector unsigned char)(__d, __d + 1, __d + 2, __d + 3, __d + 4, __d + 5, in vec_sld()
8628 static __inline__ vector signed int __ATTRS_o_ai
8629 vec_sld(vector signed int __a, vector signed int __b, unsigned const int __c) { in vec_sld()
8633 __b, __a, (vector unsigned char)(16 - __d, 17 - __d, 18 - __d, 19 - __d, in vec_sld()
8640 (vector unsigned char)(__d, __d + 1, __d + 2, __d + 3, __d + 4, __d + 5, in vec_sld()
8646 static __inline__ vector unsigned int __ATTRS_o_ai vec_sld( in vec_sld()
8647 vector unsigned int __a, vector unsigned int __b, unsigned const int __c) { in vec_sld()
8651 __b, __a, (vector unsigned char)(16 - __d, 17 - __d, 18 - __d, 19 - __d, in vec_sld()
8658 (vector unsigned char)(__d, __d + 1, __d + 2, __d + 3, __d + 4, __d + 5, in vec_sld()
8664 static __inline__ vector bool int __ATTRS_o_ai vec_sld(vector bool int __a, in vec_sld()
8665 vector bool int __b, in vec_sld()
8670 __b, __a, (vector unsigned char)(16 - __d, 17 - __d, 18 - __d, 19 - __d, in vec_sld()
8677 (vector unsigned char)(__d, __d + 1, __d + 2, __d + 3, __d + 4, __d + 5, in vec_sld()
8683 static __inline__ vector float __ATTRS_o_ai vec_sld(vector float __a, in vec_sld()
8684 vector float __b, in vec_sld()
8689 __b, __a, (vector unsigned char)(16 - __d, 17 - __d, 18 - __d, 19 - __d, in vec_sld()
8696 (vector unsigned char)(__d, __d + 1, __d + 2, __d + 3, __d + 4, __d + 5, in vec_sld()
8703 static __inline__ vector bool long long __ATTRS_o_ai
8704 vec_sld(vector bool long long __a, vector bool long long __b, in vec_sld()
8709 __b, __a, (vector unsigned char)(16 - __d, 17 - __d, 18 - __d, 19 - __d, in vec_sld()
8716 (vector unsigned char)(__d, __d + 1, __d + 2, __d + 3, __d + 4, __d + 5, in vec_sld()
8722 static __inline__ vector signed long long __ATTRS_o_ai
8723 vec_sld(vector signed long long __a, vector signed long long __b, in vec_sld()
8728 __b, __a, (vector unsigned char)(16 - __d, 17 - __d, 18 - __d, 19 - __d, in vec_sld()
8735 (vector unsigned char)(__d, __d + 1, __d + 2, __d + 3, __d + 4, __d + 5, in vec_sld()
8741 static __inline__ vector unsigned long long __ATTRS_o_ai
8742 vec_sld(vector unsigned long long __a, vector unsigned long long __b, in vec_sld()
8747 __b, __a, (vector unsigned char)(16 - __d, 17 - __d, 18 - __d, 19 - __d, in vec_sld()
8754 (vector unsigned char)(__d, __d + 1, __d + 2, __d + 3, __d + 4, __d + 5, in vec_sld()
8760 static __inline__ vector double __ATTRS_o_ai vec_sld(vector double __a, in vec_sld()
8761 vector double __b, in vec_sld()
8766 __b, __a, (vector unsigned char)(16 - __d, 17 - __d, 18 - __d, 19 - __d, in vec_sld()
8773 (vector unsigned char)(__d, __d + 1, __d + 2, __d + 3, __d + 4, __d + 5, in vec_sld()
8781 static __inline__ vector signed char __ATTRS_o_ai vec_sldw( in vec_sldw()
8782 vector signed char __a, vector signed char __b, unsigned const int __c) { in vec_sldw()
8786 static __inline__ vector unsigned char __ATTRS_o_ai
8787 vec_sldw(vector unsigned char __a, vector unsigned char __b, in vec_sldw()
8792 static __inline__ vector signed short __ATTRS_o_ai vec_sldw( in vec_sldw()
8793 vector signed short __a, vector signed short __b, unsigned const int __c) { in vec_sldw()
8797 static __inline__ vector unsigned short __ATTRS_o_ai
8798 vec_sldw(vector unsigned short __a, vector unsigned short __b, in vec_sldw()
8803 static __inline__ vector signed int __ATTRS_o_ai
8804 vec_sldw(vector signed int __a, vector signed int __b, unsigned const int __c) { in vec_sldw()
8808 static __inline__ vector unsigned int __ATTRS_o_ai vec_sldw( in vec_sldw()
8809 vector unsigned int __a, vector unsigned int __b, unsigned const int __c) { in vec_sldw()
8814 static __inline__ vector signed long long __ATTRS_o_ai
8815 vec_sldw(vector signed long long __a, vector signed long long __b, in vec_sldw()
8820 static __inline__ vector unsigned long long __ATTRS_o_ai
8821 vec_sldw(vector unsigned long long __a, vector unsigned long long __b, in vec_sldw()
8829 static __inline__ vector unsigned char __ATTRS_o_ai
8830 vec_slv(vector unsigned char __a, vector unsigned char __b) { in vec_slv()
8835 static __inline__ vector unsigned char __ATTRS_o_ai
8836 vec_srv(vector unsigned char __a, vector unsigned char __b) { in vec_srv()
8843 static __inline__ vector signed char __ATTRS_o_ai
8844 vec_vsldoi(vector signed char __a, vector signed char __b, unsigned char __c) { in vec_vsldoi()
8848 __b, __a, (vector unsigned char)(16 - __d, 17 - __d, 18 - __d, 19 - __d, in vec_vsldoi()
8855 (vector unsigned char)(__d, __d + 1, __d + 2, __d + 3, __d + 4, __d + 5, in vec_vsldoi()
8861 static __inline__ vector unsigned char __ATTRS_o_ai vec_vsldoi( in vec_vsldoi()
8862 vector unsigned char __a, vector unsigned char __b, unsigned char __c) { in vec_vsldoi()
8866 __b, __a, (vector unsigned char)(16 - __d, 17 - __d, 18 - __d, 19 - __d, in vec_vsldoi()
8873 (vector unsigned char)(__d, __d + 1, __d + 2, __d + 3, __d + 4, __d + 5, in vec_vsldoi()
8879 static __inline__ vector short __ATTRS_o_ai vec_vsldoi(vector short __a, in vec_vsldoi()
8880 vector short __b, in vec_vsldoi()
8885 __b, __a, (vector unsigned char)(16 - __d, 17 - __d, 18 - __d, 19 - __d, in vec_vsldoi()
8892 (vector unsigned char)(__d, __d + 1, __d + 2, __d + 3, __d + 4, __d + 5, in vec_vsldoi()
8898 static __inline__ vector unsigned short __ATTRS_o_ai vec_vsldoi( in vec_vsldoi()
8899 vector unsigned short __a, vector unsigned short __b, unsigned char __c) { in vec_vsldoi()
8903 __b, __a, (vector unsigned char)(16 - __d, 17 - __d, 18 - __d, 19 - __d, in vec_vsldoi()
8910 (vector unsigned char)(__d, __d + 1, __d + 2, __d + 3, __d + 4, __d + 5, in vec_vsldoi()
8916 static __inline__ vector pixel __ATTRS_o_ai vec_vsldoi(vector pixel __a, in vec_vsldoi()
8917 vector pixel __b, in vec_vsldoi()
8922 __b, __a, (vector unsigned char)(16 - __d, 17 - __d, 18 - __d, 19 - __d, in vec_vsldoi()
8929 (vector unsigned char)(__d, __d + 1, __d + 2, __d + 3, __d + 4, __d + 5, in vec_vsldoi()
8935 static __inline__ vector int __ATTRS_o_ai vec_vsldoi(vector int __a, in vec_vsldoi()
8936 vector int __b, in vec_vsldoi()
8941 __b, __a, (vector unsigned char)(16 - __d, 17 - __d, 18 - __d, 19 - __d, in vec_vsldoi()
8948 (vector unsigned char)(__d, __d + 1, __d + 2, __d + 3, __d + 4, __d + 5, in vec_vsldoi()
8954 static __inline__ vector unsigned int __ATTRS_o_ai vec_vsldoi( in vec_vsldoi()
8955 vector unsigned int __a, vector unsigned int __b, unsigned char __c) { in vec_vsldoi()
8959 __b, __a, (vector unsigned char)(16 - __d, 17 - __d, 18 - __d, 19 - __d, in vec_vsldoi()
8966 (vector unsigned char)(__d, __d + 1, __d + 2, __d + 3, __d + 4, __d + 5, in vec_vsldoi()
8972 static __inline__ vector float __ATTRS_o_ai vec_vsldoi(vector float __a, in vec_vsldoi()
8973 vector float __b, in vec_vsldoi()
8978 __b, __a, (vector unsigned char)(16 - __d, 17 - __d, 18 - __d, 19 - __d, in vec_vsldoi()
8985 (vector unsigned char)(__d, __d + 1, __d + 2, __d + 3, __d + 4, __d + 5, in vec_vsldoi()
8993 static __inline__ vector signed char __ATTRS_o_ai
8994 vec_sll(vector signed char __a, vector unsigned char __b) { in vec_sll()
8995 return (vector signed char)__builtin_altivec_vsl((vector int)__a, in vec_sll()
8996 (vector int)__b); in vec_sll()
8999 static __inline__ vector signed char __ATTRS_o_ai
9000 vec_sll(vector signed char __a, vector unsigned short __b) { in vec_sll()
9001 return (vector signed char)__builtin_altivec_vsl((vector int)__a, in vec_sll()
9002 (vector int)__b); in vec_sll()
9005 static __inline__ vector signed char __ATTRS_o_ai
9006 vec_sll(vector signed char __a, vector unsigned int __b) { in vec_sll()
9007 return (vector signed char)__builtin_altivec_vsl((vector int)__a, in vec_sll()
9008 (vector int)__b); in vec_sll()
9011 static __inline__ vector unsigned char __ATTRS_o_ai
9012 vec_sll(vector unsigned char __a, vector unsigned char __b) { in vec_sll()
9013 return (vector unsigned char)__builtin_altivec_vsl((vector int)__a, in vec_sll()
9014 (vector int)__b); in vec_sll()
9017 static __inline__ vector unsigned char __ATTRS_o_ai
9018 vec_sll(vector unsigned char __a, vector unsigned short __b) { in vec_sll()
9019 return (vector unsigned char)__builtin_altivec_vsl((vector int)__a, in vec_sll()
9020 (vector int)__b); in vec_sll()
9023 static __inline__ vector unsigned char __ATTRS_o_ai
9024 vec_sll(vector unsigned char __a, vector unsigned int __b) { in vec_sll()
9025 return (vector unsigned char)__builtin_altivec_vsl((vector int)__a, in vec_sll()
9026 (vector int)__b); in vec_sll()
9029 static __inline__ vector bool char __ATTRS_o_ai
9030 vec_sll(vector bool char __a, vector unsigned char __b) { in vec_sll()
9031 return (vector bool char)__builtin_altivec_vsl((vector int)__a, in vec_sll()
9032 (vector int)__b); in vec_sll()
9035 static __inline__ vector bool char __ATTRS_o_ai
9036 vec_sll(vector bool char __a, vector unsigned short __b) { in vec_sll()
9037 return (vector bool char)__builtin_altivec_vsl((vector int)__a, in vec_sll()
9038 (vector int)__b); in vec_sll()
9041 static __inline__ vector bool char __ATTRS_o_ai
9042 vec_sll(vector bool char __a, vector unsigned int __b) { in vec_sll()
9043 return (vector bool char)__builtin_altivec_vsl((vector int)__a, in vec_sll()
9044 (vector int)__b); in vec_sll()
9047 static __inline__ vector short __ATTRS_o_ai vec_sll(vector short __a, in vec_sll()
9048 vector unsigned char __b) { in vec_sll()
9049 return (vector short)__builtin_altivec_vsl((vector int)__a, (vector int)__b); in vec_sll()
9052 static __inline__ vector short __ATTRS_o_ai vec_sll(vector short __a, in vec_sll()
9053 vector unsigned short __b) { in vec_sll()
9054 return (vector short)__builtin_altivec_vsl((vector int)__a, (vector int)__b); in vec_sll()
9057 static __inline__ vector short __ATTRS_o_ai vec_sll(vector short __a, in vec_sll()
9058 vector unsigned int __b) { in vec_sll()
9059 return (vector short)__builtin_altivec_vsl((vector int)__a, (vector int)__b); in vec_sll()
9062 static __inline__ vector unsigned short __ATTRS_o_ai
9063 vec_sll(vector unsigned short __a, vector unsigned char __b) { in vec_sll()
9064 return (vector unsigned short)__builtin_altivec_vsl((vector int)__a, in vec_sll()
9065 (vector int)__b); in vec_sll()
9068 static __inline__ vector unsigned short __ATTRS_o_ai
9069 vec_sll(vector unsigned short __a, vector unsigned short __b) { in vec_sll()
9070 return (vector unsigned short)__builtin_altivec_vsl((vector int)__a, in vec_sll()
9071 (vector int)__b); in vec_sll()
9074 static __inline__ vector unsigned short __ATTRS_o_ai
9075 vec_sll(vector unsigned short __a, vector unsigned int __b) { in vec_sll()
9076 return (vector unsigned short)__builtin_altivec_vsl((vector int)__a, in vec_sll()
9077 (vector int)__b); in vec_sll()
9080 static __inline__ vector bool short __ATTRS_o_ai
9081 vec_sll(vector bool short __a, vector unsigned char __b) { in vec_sll()
9082 return (vector bool short)__builtin_altivec_vsl((vector int)__a, in vec_sll()
9083 (vector int)__b); in vec_sll()
9086 static __inline__ vector bool short __ATTRS_o_ai
9087 vec_sll(vector bool short __a, vector unsigned short __b) { in vec_sll()
9088 return (vector bool short)__builtin_altivec_vsl((vector int)__a, in vec_sll()
9089 (vector int)__b); in vec_sll()
9092 static __inline__ vector bool short __ATTRS_o_ai
9093 vec_sll(vector bool short __a, vector unsigned int __b) { in vec_sll()
9094 return (vector bool short)__builtin_altivec_vsl((vector int)__a, in vec_sll()
9095 (vector int)__b); in vec_sll()
9098 static __inline__ vector pixel __ATTRS_o_ai vec_sll(vector pixel __a, in vec_sll()
9099 vector unsigned char __b) { in vec_sll()
9100 return (vector pixel)__builtin_altivec_vsl((vector int)__a, (vector int)__b); in vec_sll()
9103 static __inline__ vector pixel __ATTRS_o_ai vec_sll(vector pixel __a, in vec_sll()
9104 vector unsigned short __b) { in vec_sll()
9105 return (vector pixel)__builtin_altivec_vsl((vector int)__a, (vector int)__b); in vec_sll()
9108 static __inline__ vector pixel __ATTRS_o_ai vec_sll(vector pixel __a, in vec_sll()
9109 vector unsigned int __b) { in vec_sll()
9110 return (vector pixel)__builtin_altivec_vsl((vector int)__a, (vector int)__b); in vec_sll()
9113 static __inline__ vector int __ATTRS_o_ai vec_sll(vector int __a, in vec_sll()
9114 vector unsigned char __b) { in vec_sll()
9115 return (vector int)__builtin_altivec_vsl(__a, (vector int)__b); in vec_sll()
9118 static __inline__ vector int __ATTRS_o_ai vec_sll(vector int __a, in vec_sll()
9119 vector unsigned short __b) { in vec_sll()
9120 return (vector int)__builtin_altivec_vsl(__a, (vector int)__b); in vec_sll()
9123 static __inline__ vector int __ATTRS_o_ai vec_sll(vector int __a, in vec_sll()
9124 vector unsigned int __b) { in vec_sll()
9125 return (vector int)__builtin_altivec_vsl(__a, (vector int)__b); in vec_sll()
9128 static __inline__ vector unsigned int __ATTRS_o_ai
9129 vec_sll(vector unsigned int __a, vector unsigned char __b) { in vec_sll()
9130 return (vector unsigned int)__builtin_altivec_vsl((vector int)__a, in vec_sll()
9131 (vector int)__b); in vec_sll()
9134 static __inline__ vector unsigned int __ATTRS_o_ai
9135 vec_sll(vector unsigned int __a, vector unsigned short __b) { in vec_sll()
9136 return (vector unsigned int)__builtin_altivec_vsl((vector int)__a, in vec_sll()
9137 (vector int)__b); in vec_sll()
9140 static __inline__ vector unsigned int __ATTRS_o_ai
9141 vec_sll(vector unsigned int __a, vector unsigned int __b) { in vec_sll()
9142 return (vector unsigned int)__builtin_altivec_vsl((vector int)__a, in vec_sll()
9143 (vector int)__b); in vec_sll()
9146 static __inline__ vector bool int __ATTRS_o_ai
9147 vec_sll(vector bool int __a, vector unsigned char __b) { in vec_sll()
9148 return (vector bool int)__builtin_altivec_vsl((vector int)__a, in vec_sll()
9149 (vector int)__b); in vec_sll()
9152 static __inline__ vector bool int __ATTRS_o_ai
9153 vec_sll(vector bool int __a, vector unsigned short __b) { in vec_sll()
9154 return (vector bool int)__builtin_altivec_vsl((vector int)__a, in vec_sll()
9155 (vector int)__b); in vec_sll()
9158 static __inline__ vector bool int __ATTRS_o_ai
9159 vec_sll(vector bool int __a, vector unsigned int __b) { in vec_sll()
9160 return (vector bool int)__builtin_altivec_vsl((vector int)__a, in vec_sll()
9161 (vector int)__b); in vec_sll()
9165 static __inline__ vector signed long long __ATTRS_o_ai
9166 vec_sll(vector signed long long __a, vector unsigned char __b) { in vec_sll()
9167 return (vector signed long long)__builtin_altivec_vsl((vector int)__a, in vec_sll()
9168 (vector int)__b); in vec_sll()
9171 static __inline__ vector unsigned long long __ATTRS_o_ai
9172 vec_sll(vector unsigned long long __a, vector unsigned char __b) { in vec_sll()
9173 return (vector unsigned long long)__builtin_altivec_vsl((vector int)__a, in vec_sll()
9174 (vector int)__b); in vec_sll()
9180 static __inline__ vector signed char __ATTRS_o_ai
9181 vec_vsl(vector signed char __a, vector unsigned char __b) { in vec_vsl()
9182 return (vector signed char)__builtin_altivec_vsl((vector int)__a, in vec_vsl()
9183 (vector int)__b); in vec_vsl()
9186 static __inline__ vector signed char __ATTRS_o_ai
9187 vec_vsl(vector signed char __a, vector unsigned short __b) { in vec_vsl()
9188 return (vector signed char)__builtin_altivec_vsl((vector int)__a, in vec_vsl()
9189 (vector int)__b); in vec_vsl()
9192 static __inline__ vector signed char __ATTRS_o_ai
9193 vec_vsl(vector signed char __a, vector unsigned int __b) { in vec_vsl()
9194 return (vector signed char)__builtin_altivec_vsl((vector int)__a, in vec_vsl()
9195 (vector int)__b); in vec_vsl()
9198 static __inline__ vector unsigned char __ATTRS_o_ai
9199 vec_vsl(vector unsigned char __a, vector unsigned char __b) { in vec_vsl()
9200 return (vector unsigned char)__builtin_altivec_vsl((vector int)__a, in vec_vsl()
9201 (vector int)__b); in vec_vsl()
9204 static __inline__ vector unsigned char __ATTRS_o_ai
9205 vec_vsl(vector unsigned char __a, vector unsigned short __b) { in vec_vsl()
9206 return (vector unsigned char)__builtin_altivec_vsl((vector int)__a, in vec_vsl()
9207 (vector int)__b); in vec_vsl()
9210 static __inline__ vector unsigned char __ATTRS_o_ai
9211 vec_vsl(vector unsigned char __a, vector unsigned int __b) { in vec_vsl()
9212 return (vector unsigned char)__builtin_altivec_vsl((vector int)__a, in vec_vsl()
9213 (vector int)__b); in vec_vsl()
9216 static __inline__ vector bool char __ATTRS_o_ai
9217 vec_vsl(vector bool char __a, vector unsigned char __b) { in vec_vsl()
9218 return (vector bool char)__builtin_altivec_vsl((vector int)__a, in vec_vsl()
9219 (vector int)__b); in vec_vsl()
9222 static __inline__ vector bool char __ATTRS_o_ai
9223 vec_vsl(vector bool char __a, vector unsigned short __b) { in vec_vsl()
9224 return (vector bool char)__builtin_altivec_vsl((vector int)__a, in vec_vsl()
9225 (vector int)__b); in vec_vsl()
9228 static __inline__ vector bool char __ATTRS_o_ai
9229 vec_vsl(vector bool char __a, vector unsigned int __b) { in vec_vsl()
9230 return (vector bool char)__builtin_altivec_vsl((vector int)__a, in vec_vsl()
9231 (vector int)__b); in vec_vsl()
9234 static __inline__ vector short __ATTRS_o_ai vec_vsl(vector short __a, in vec_vsl()
9235 vector unsigned char __b) { in vec_vsl()
9236 return (vector short)__builtin_altivec_vsl((vector int)__a, (vector int)__b); in vec_vsl()
9239 static __inline__ vector short __ATTRS_o_ai vec_vsl(vector short __a, in vec_vsl()
9240 vector unsigned short __b) { in vec_vsl()
9241 return (vector short)__builtin_altivec_vsl((vector int)__a, (vector int)__b); in vec_vsl()
9244 static __inline__ vector short __ATTRS_o_ai vec_vsl(vector short __a, in vec_vsl()
9245 vector unsigned int __b) { in vec_vsl()
9246 return (vector short)__builtin_altivec_vsl((vector int)__a, (vector int)__b); in vec_vsl()
9249 static __inline__ vector unsigned short __ATTRS_o_ai
9250 vec_vsl(vector unsigned short __a, vector unsigned char __b) { in vec_vsl()
9251 return (vector unsigned short)__builtin_altivec_vsl((vector int)__a, in vec_vsl()
9252 (vector int)__b); in vec_vsl()
9255 static __inline__ vector unsigned short __ATTRS_o_ai
9256 vec_vsl(vector unsigned short __a, vector unsigned short __b) { in vec_vsl()
9257 return (vector unsigned short)__builtin_altivec_vsl((vector int)__a, in vec_vsl()
9258 (vector int)__b); in vec_vsl()
9261 static __inline__ vector unsigned short __ATTRS_o_ai
9262 vec_vsl(vector unsigned short __a, vector unsigned int __b) { in vec_vsl()
9263 return (vector unsigned short)__builtin_altivec_vsl((vector int)__a, in vec_vsl()
9264 (vector int)__b); in vec_vsl()
9267 static __inline__ vector bool short __ATTRS_o_ai
9268 vec_vsl(vector bool short __a, vector unsigned char __b) { in vec_vsl()
9269 return (vector bool short)__builtin_altivec_vsl((vector int)__a, in vec_vsl()
9270 (vector int)__b); in vec_vsl()
9273 static __inline__ vector bool short __ATTRS_o_ai
9274 vec_vsl(vector bool short __a, vector unsigned short __b) { in vec_vsl()
9275 return (vector bool short)__builtin_altivec_vsl((vector int)__a, in vec_vsl()
9276 (vector int)__b); in vec_vsl()
9279 static __inline__ vector bool short __ATTRS_o_ai
9280 vec_vsl(vector bool short __a, vector unsigned int __b) { in vec_vsl()
9281 return (vector bool short)__builtin_altivec_vsl((vector int)__a, in vec_vsl()
9282 (vector int)__b); in vec_vsl()
9285 static __inline__ vector pixel __ATTRS_o_ai vec_vsl(vector pixel __a, in vec_vsl()
9286 vector unsigned char __b) { in vec_vsl()
9287 return (vector pixel)__builtin_altivec_vsl((vector int)__a, (vector int)__b); in vec_vsl()
9290 static __inline__ vector pixel __ATTRS_o_ai vec_vsl(vector pixel __a, in vec_vsl()
9291 vector unsigned short __b) { in vec_vsl()
9292 return (vector pixel)__builtin_altivec_vsl((vector int)__a, (vector int)__b); in vec_vsl()
9295 static __inline__ vector pixel __ATTRS_o_ai vec_vsl(vector pixel __a, in vec_vsl()
9296 vector unsigned int __b) { in vec_vsl()
9297 return (vector pixel)__builtin_altivec_vsl((vector int)__a, (vector int)__b); in vec_vsl()
9300 static __inline__ vector int __ATTRS_o_ai vec_vsl(vector int __a, in vec_vsl()
9301 vector unsigned char __b) { in vec_vsl()
9302 return (vector int)__builtin_altivec_vsl(__a, (vector int)__b); in vec_vsl()
9305 static __inline__ vector int __ATTRS_o_ai vec_vsl(vector int __a, in vec_vsl()
9306 vector unsigned short __b) { in vec_vsl()
9307 return (vector int)__builtin_altivec_vsl(__a, (vector int)__b); in vec_vsl()
9310 static __inline__ vector int __ATTRS_o_ai vec_vsl(vector int __a, in vec_vsl()
9311 vector unsigned int __b) { in vec_vsl()
9312 return (vector int)__builtin_altivec_vsl(__a, (vector int)__b); in vec_vsl()
9315 static __inline__ vector unsigned int __ATTRS_o_ai
9316 vec_vsl(vector unsigned int __a, vector unsigned char __b) { in vec_vsl()
9317 return (vector unsigned int)__builtin_altivec_vsl((vector int)__a, in vec_vsl()
9318 (vector int)__b); in vec_vsl()
9321 static __inline__ vector unsigned int __ATTRS_o_ai
9322 vec_vsl(vector unsigned int __a, vector unsigned short __b) { in vec_vsl()
9323 return (vector unsigned int)__builtin_altivec_vsl((vector int)__a, in vec_vsl()
9324 (vector int)__b); in vec_vsl()
9327 static __inline__ vector unsigned int __ATTRS_o_ai
9328 vec_vsl(vector unsigned int __a, vector unsigned int __b) { in vec_vsl()
9329 return (vector unsigned int)__builtin_altivec_vsl((vector int)__a, in vec_vsl()
9330 (vector int)__b); in vec_vsl()
9333 static __inline__ vector bool int __ATTRS_o_ai
9334 vec_vsl(vector bool int __a, vector unsigned char __b) { in vec_vsl()
9335 return (vector bool int)__builtin_altivec_vsl((vector int)__a, in vec_vsl()
9336 (vector int)__b); in vec_vsl()
9339 static __inline__ vector bool int __ATTRS_o_ai
9340 vec_vsl(vector bool int __a, vector unsigned short __b) { in vec_vsl()
9341 return (vector bool int)__builtin_altivec_vsl((vector int)__a, in vec_vsl()
9342 (vector int)__b); in vec_vsl()
9345 static __inline__ vector bool int __ATTRS_o_ai
9346 vec_vsl(vector bool int __a, vector unsigned int __b) { in vec_vsl()
9347 return (vector bool int)__builtin_altivec_vsl((vector int)__a, in vec_vsl()
9348 (vector int)__b); in vec_vsl()
9353 static __inline__ vector signed char __ATTRS_o_ai
9354 vec_slo(vector signed char __a, vector signed char __b) { in vec_slo()
9355 return (vector signed char)__builtin_altivec_vslo((vector int)__a, in vec_slo()
9356 (vector int)__b); in vec_slo()
9359 static __inline__ vector signed char __ATTRS_o_ai
9360 vec_slo(vector signed char __a, vector unsigned char __b) { in vec_slo()
9361 return (vector signed char)__builtin_altivec_vslo((vector int)__a, in vec_slo()
9362 (vector int)__b); in vec_slo()
9365 static __inline__ vector unsigned char __ATTRS_o_ai
9366 vec_slo(vector unsigned char __a, vector signed char __b) { in vec_slo()
9367 return (vector unsigned char)__builtin_altivec_vslo((vector int)__a, in vec_slo()
9368 (vector int)__b); in vec_slo()
9371 static __inline__ vector unsigned char __ATTRS_o_ai
9372 vec_slo(vector unsigned char __a, vector unsigned char __b) { in vec_slo()
9373 return (vector unsigned char)__builtin_altivec_vslo((vector int)__a, in vec_slo()
9374 (vector int)__b); in vec_slo()
9377 static __inline__ vector short __ATTRS_o_ai vec_slo(vector short __a, in vec_slo()
9378 vector signed char __b) { in vec_slo()
9379 return (vector short)__builtin_altivec_vslo((vector int)__a, (vector int)__b); in vec_slo()
9382 static __inline__ vector short __ATTRS_o_ai vec_slo(vector short __a, in vec_slo()
9383 vector unsigned char __b) { in vec_slo()
9384 return (vector short)__builtin_altivec_vslo((vector int)__a, (vector int)__b); in vec_slo()
9387 static __inline__ vector unsigned short __ATTRS_o_ai
9388 vec_slo(vector unsigned short __a, vector signed char __b) { in vec_slo()
9389 return (vector unsigned short)__builtin_altivec_vslo((vector int)__a, in vec_slo()
9390 (vector int)__b); in vec_slo()
9393 static __inline__ vector unsigned short __ATTRS_o_ai
9394 vec_slo(vector unsigned short __a, vector unsigned char __b) { in vec_slo()
9395 return (vector unsigned short)__builtin_altivec_vslo((vector int)__a, in vec_slo()
9396 (vector int)__b); in vec_slo()
9399 static __inline__ vector pixel __ATTRS_o_ai vec_slo(vector pixel __a, in vec_slo()
9400 vector signed char __b) { in vec_slo()
9401 return (vector pixel)__builtin_altivec_vslo((vector int)__a, (vector int)__b); in vec_slo()
9404 static __inline__ vector pixel __ATTRS_o_ai vec_slo(vector pixel __a, in vec_slo()
9405 vector unsigned char __b) { in vec_slo()
9406 return (vector pixel)__builtin_altivec_vslo((vector int)__a, (vector int)__b); in vec_slo()
9409 static __inline__ vector int __ATTRS_o_ai vec_slo(vector int __a, in vec_slo()
9410 vector signed char __b) { in vec_slo()
9411 return (vector int)__builtin_altivec_vslo(__a, (vector int)__b); in vec_slo()
9414 static __inline__ vector int __ATTRS_o_ai vec_slo(vector int __a, in vec_slo()
9415 vector unsigned char __b) { in vec_slo()
9416 return (vector int)__builtin_altivec_vslo(__a, (vector int)__b); in vec_slo()
9419 static __inline__ vector unsigned int __ATTRS_o_ai
9420 vec_slo(vector unsigned int __a, vector signed char __b) { in vec_slo()
9421 return (vector unsigned int)__builtin_altivec_vslo((vector int)__a, in vec_slo()
9422 (vector int)__b); in vec_slo()
9425 static __inline__ vector unsigned int __ATTRS_o_ai
9426 vec_slo(vector unsigned int __a, vector unsigned char __b) { in vec_slo()
9427 return (vector unsigned int)__builtin_altivec_vslo((vector int)__a, in vec_slo()
9428 (vector int)__b); in vec_slo()
9431 static __inline__ vector float __ATTRS_o_ai vec_slo(vector float __a, in vec_slo()
9432 vector signed char __b) { in vec_slo()
9433 return (vector float)__builtin_altivec_vslo((vector int)__a, (vector int)__b); in vec_slo()
9436 static __inline__ vector float __ATTRS_o_ai vec_slo(vector float __a, in vec_slo()
9437 vector unsigned char __b) { in vec_slo()
9438 return (vector float)__builtin_altivec_vslo((vector int)__a, (vector int)__b); in vec_slo()
9442 static __inline__ vector signed long long __ATTRS_o_ai
9443 vec_slo(vector signed long long __a, vector signed char __b) { in vec_slo()
9444 return (vector signed long long)__builtin_altivec_vslo((vector int)__a, in vec_slo()
9445 (vector int)__b); in vec_slo()
9448 static __inline__ vector signed long long __ATTRS_o_ai
9449 vec_slo(vector signed long long __a, vector unsigned char __b) { in vec_slo()
9450 return (vector signed long long)__builtin_altivec_vslo((vector int)__a, in vec_slo()
9451 (vector int)__b); in vec_slo()
9454 static __inline__ vector unsigned long long __ATTRS_o_ai
9455 vec_slo(vector unsigned long long __a, vector signed char __b) { in vec_slo()
9456 return (vector unsigned long long)__builtin_altivec_vslo((vector int)__a, in vec_slo()
9457 (vector int)__b); in vec_slo()
9460 static __inline__ vector unsigned long long __ATTRS_o_ai
9461 vec_slo(vector unsigned long long __a, vector unsigned char __b) { in vec_slo()
9462 return (vector unsigned long long)__builtin_altivec_vslo((vector int)__a, in vec_slo()
9463 (vector int)__b); in vec_slo()
9469 static __inline__ vector signed char __ATTRS_o_ai
9470 vec_vslo(vector signed char __a, vector signed char __b) { in vec_vslo()
9471 return (vector signed char)__builtin_altivec_vslo((vector int)__a, in vec_vslo()
9472 (vector int)__b); in vec_vslo()
9475 static __inline__ vector signed char __ATTRS_o_ai
9476 vec_vslo(vector signed char __a, vector unsigned char __b) { in vec_vslo()
9477 return (vector signed char)__builtin_altivec_vslo((vector int)__a, in vec_vslo()
9478 (vector int)__b); in vec_vslo()
9481 static __inline__ vector unsigned char __ATTRS_o_ai
9482 vec_vslo(vector unsigned char __a, vector signed char __b) { in vec_vslo()
9483 return (vector unsigned char)__builtin_altivec_vslo((vector int)__a, in vec_vslo()
9484 (vector int)__b); in vec_vslo()
9487 static __inline__ vector unsigned char __ATTRS_o_ai
9488 vec_vslo(vector unsigned char __a, vector unsigned char __b) { in vec_vslo()
9489 return (vector unsigned char)__builtin_altivec_vslo((vector int)__a, in vec_vslo()
9490 (vector int)__b); in vec_vslo()
9493 static __inline__ vector short __ATTRS_o_ai vec_vslo(vector short __a, in vec_vslo()
9494 vector signed char __b) { in vec_vslo()
9495 return (vector short)__builtin_altivec_vslo((vector int)__a, (vector int)__b); in vec_vslo()
9498 static __inline__ vector short __ATTRS_o_ai vec_vslo(vector short __a, in vec_vslo()
9499 vector unsigned char __b) { in vec_vslo()
9500 return (vector short)__builtin_altivec_vslo((vector int)__a, (vector int)__b); in vec_vslo()
9503 static __inline__ vector unsigned short __ATTRS_o_ai
9504 vec_vslo(vector unsigned short __a, vector signed char __b) { in vec_vslo()
9505 return (vector unsigned short)__builtin_altivec_vslo((vector int)__a, in vec_vslo()
9506 (vector int)__b); in vec_vslo()
9509 static __inline__ vector unsigned short __ATTRS_o_ai
9510 vec_vslo(vector unsigned short __a, vector unsigned char __b) { in vec_vslo()
9511 return (vector unsigned short)__builtin_altivec_vslo((vector int)__a, in vec_vslo()
9512 (vector int)__b); in vec_vslo()
9515 static __inline__ vector pixel __ATTRS_o_ai vec_vslo(vector pixel __a, in vec_vslo()
9516 vector signed char __b) { in vec_vslo()
9517 return (vector pixel)__builtin_altivec_vslo((vector int)__a, (vector int)__b); in vec_vslo()
9520 static __inline__ vector pixel __ATTRS_o_ai vec_vslo(vector pixel __a, in vec_vslo()
9521 vector unsigned char __b) { in vec_vslo()
9522 return (vector pixel)__builtin_altivec_vslo((vector int)__a, (vector int)__b); in vec_vslo()
9525 static __inline__ vector int __ATTRS_o_ai vec_vslo(vector int __a, in vec_vslo()
9526 vector signed char __b) { in vec_vslo()
9527 return (vector int)__builtin_altivec_vslo(__a, (vector int)__b); in vec_vslo()
9530 static __inline__ vector int __ATTRS_o_ai vec_vslo(vector int __a, in vec_vslo()
9531 vector unsigned char __b) { in vec_vslo()
9532 return (vector int)__builtin_altivec_vslo(__a, (vector int)__b); in vec_vslo()
9535 static __inline__ vector unsigned int __ATTRS_o_ai
9536 vec_vslo(vector unsigned int __a, vector signed char __b) { in vec_vslo()
9537 return (vector unsigned int)__builtin_altivec_vslo((vector int)__a, in vec_vslo()
9538 (vector int)__b); in vec_vslo()
9541 static __inline__ vector unsigned int __ATTRS_o_ai
9542 vec_vslo(vector unsigned int __a, vector unsigned char __b) { in vec_vslo()
9543 return (vector unsigned int)__builtin_altivec_vslo((vector int)__a, in vec_vslo()
9544 (vector int)__b); in vec_vslo()
9547 static __inline__ vector float __ATTRS_o_ai vec_vslo(vector float __a, in vec_vslo()
9548 vector signed char __b) { in vec_vslo()
9549 return (vector float)__builtin_altivec_vslo((vector int)__a, (vector int)__b); in vec_vslo()
9552 static __inline__ vector float __ATTRS_o_ai vec_vslo(vector float __a, in vec_vslo()
9553 vector unsigned char __b) { in vec_vslo()
9554 return (vector float)__builtin_altivec_vslo((vector int)__a, (vector int)__b); in vec_vslo()
9559 static __inline__ vector signed char __ATTRS_o_ai
9560 vec_splat(vector signed char __a, unsigned const int __b) { in vec_splat()
9561 return vec_perm(__a, __a, (vector unsigned char)(__b & 0x0F)); in vec_splat()
9564 static __inline__ vector unsigned char __ATTRS_o_ai
9565 vec_splat(vector unsigned char __a, unsigned const int __b) { in vec_splat()
9566 return vec_perm(__a, __a, (vector unsigned char)(__b & 0x0F)); in vec_splat()
9569 static __inline__ vector bool char __ATTRS_o_ai
9570 vec_splat(vector bool char __a, unsigned const int __b) { in vec_splat()
9571 return vec_perm(__a, __a, (vector unsigned char)(__b & 0x0F)); in vec_splat()
9574 static __inline__ vector signed short __ATTRS_o_ai
9575 vec_splat(vector signed short __a, unsigned const int __b) { in vec_splat()
9579 (vector unsigned char)(b0, b1, b0, b1, b0, b1, b0, b1, b0, b1, in vec_splat()
9583 static __inline__ vector unsigned short __ATTRS_o_ai
9584 vec_splat(vector unsigned short __a, unsigned const int __b) { in vec_splat()
9588 (vector unsigned char)(b0, b1, b0, b1, b0, b1, b0, b1, b0, b1, in vec_splat()
9592 static __inline__ vector bool short __ATTRS_o_ai
9593 vec_splat(vector bool short __a, unsigned const int __b) { in vec_splat()
9597 (vector unsigned char)(b0, b1, b0, b1, b0, b1, b0, b1, b0, b1, in vec_splat()
9601 static __inline__ vector pixel __ATTRS_o_ai vec_splat(vector pixel __a, in vec_splat()
9606 (vector unsigned char)(b0, b1, b0, b1, b0, b1, b0, b1, b0, b1, in vec_splat()
9610 static __inline__ vector signed int __ATTRS_o_ai
9611 vec_splat(vector signed int __a, unsigned const int __b) { in vec_splat()
9615 (vector unsigned char)(b0, b1, b2, b3, b0, b1, b2, b3, b0, b1, in vec_splat()
9619 static __inline__ vector unsigned int __ATTRS_o_ai
9620 vec_splat(vector unsigned int __a, unsigned const int __b) { in vec_splat()
9624 (vector unsigned char)(b0, b1, b2, b3, b0, b1, b2, b3, b0, b1, in vec_splat()
9628 static __inline__ vector bool int __ATTRS_o_ai
9629 vec_splat(vector bool int __a, unsigned const int __b) { in vec_splat()
9633 (vector unsigned char)(b0, b1, b2, b3, b0, b1, b2, b3, b0, b1, in vec_splat()
9637 static __inline__ vector float __ATTRS_o_ai vec_splat(vector float __a, in vec_splat()
9642 (vector unsigned char)(b0, b1, b2, b3, b0, b1, b2, b3, b0, b1, in vec_splat()
9647 static __inline__ vector double __ATTRS_o_ai vec_splat(vector double __a, in vec_splat()
9653 (vector unsigned char)(b0, b1, b2, b3, b4, b5, b6, b7, b0, b1, in vec_splat()
9656 static __inline__ vector bool long long __ATTRS_o_ai
9657 vec_splat(vector bool long long __a, unsigned const int __b) { in vec_splat()
9662 (vector unsigned char)(b0, b1, b2, b3, b4, b5, b6, b7, b0, b1, in vec_splat()
9665 static __inline__ vector signed long long __ATTRS_o_ai
9666 vec_splat(vector signed long long __a, unsigned const int __b) { in vec_splat()
9671 (vector unsigned char)(b0, b1, b2, b3, b4, b5, b6, b7, b0, b1, in vec_splat()
9674 static __inline__ vector unsigned long long __ATTRS_o_ai
9675 vec_splat(vector unsigned long long __a, unsigned const int __b) { in vec_splat()
9680 (vector unsigned char)(b0, b1, b2, b3, b4, b5, b6, b7, b0, b1, in vec_splat()
9689 static __inline__ vector signed char __ATTRS_o_ai
9690 vec_vspltb(vector signed char __a, unsigned char __b) { in vec_vspltb()
9691 return vec_perm(__a, __a, (vector unsigned char)(__b)); in vec_vspltb()
9694 static __inline__ vector unsigned char __ATTRS_o_ai
9695 vec_vspltb(vector unsigned char __a, unsigned char __b) { in vec_vspltb()
9696 return vec_perm(__a, __a, (vector unsigned char)(__b)); in vec_vspltb()
9699 static __inline__ vector bool char __ATTRS_o_ai vec_vspltb(vector bool char __a, in vec_vspltb()
9701 return vec_perm(__a, __a, (vector unsigned char)(__b)); in vec_vspltb()
9708 static __inline__ vector short __ATTRS_o_ai vec_vsplth(vector short __a, in vec_vsplth()
9713 (vector unsigned char)(__b, b1, __b, b1, __b, b1, __b, b1, in vec_vsplth()
9717 static __inline__ vector unsigned short __ATTRS_o_ai
9718 vec_vsplth(vector unsigned short __a, unsigned char __b) { in vec_vsplth()
9722 (vector unsigned char)(__b, b1, __b, b1, __b, b1, __b, b1, in vec_vsplth()
9726 static __inline__ vector bool short __ATTRS_o_ai
9727 vec_vsplth(vector bool short __a, unsigned char __b) { in vec_vsplth()
9731 (vector unsigned char)(__b, b1, __b, b1, __b, b1, __b, b1, in vec_vsplth()
9735 static __inline__ vector pixel __ATTRS_o_ai vec_vsplth(vector pixel __a, in vec_vsplth()
9740 (vector unsigned char)(__b, b1, __b, b1, __b, b1, __b, b1, in vec_vsplth()
9748 static __inline__ vector int __ATTRS_o_ai vec_vspltw(vector int __a, in vec_vspltw()
9753 (vector unsigned char)(__b, b1, b2, b3, __b, b1, b2, b3, __b, in vec_vspltw()
9757 static __inline__ vector unsigned int __ATTRS_o_ai
9758 vec_vspltw(vector unsigned int __a, unsigned char __b) { in vec_vspltw()
9762 (vector unsigned char)(__b, b1, b2, b3, __b, b1, b2, b3, __b, in vec_vspltw()
9766 static __inline__ vector bool int __ATTRS_o_ai vec_vspltw(vector bool int __a, in vec_vspltw()
9771 (vector unsigned char)(__b, b1, b2, b3, __b, b1, b2, b3, __b, in vec_vspltw()
9775 static __inline__ vector float __ATTRS_o_ai vec_vspltw(vector float __a, in vec_vspltw()
9780 (vector unsigned char)(__b, b1, b2, b3, __b, b1, b2, b3, __b, in vec_vspltw()
9789 static __inline__ vector signed char __ATTRS_o_ai
9791 return (vector signed char)(__a); in vec_splat_s8()
9797 static __inline__ vector signed char __ATTRS_o_ai
9799 return (vector signed char)(__a); in vec_vspltisb()
9807 static __inline__ vector short __ATTRS_o_ai vec_splat_s16(signed char __a) { in vec_splat_s16()
9808 return (vector short)(__a); in vec_splat_s16()
9814 static __inline__ vector short __ATTRS_o_ai vec_vspltish(signed char __a) { in vec_vspltish()
9815 return (vector short)(__a); in vec_vspltish()
9823 static __inline__ vector int __ATTRS_o_ai vec_splat_s32(signed char __a) { in vec_splat_s32()
9824 return (vector int)(__a); in vec_splat_s32()
9830 static __inline__ vector int __ATTRS_o_ai vec_vspltisw(signed char __a) { in vec_vspltisw()
9831 return (vector int)(__a); in vec_vspltisw()
9837 static __inline__ vector unsigned char __ATTRS_o_ai
9839 return (vector unsigned char)(__a); in vec_splat_u8()
9845 static __inline__ vector unsigned short __ATTRS_o_ai
9847 return (vector unsigned short)(__a); in vec_splat_u16()
9853 static __inline__ vector unsigned int __ATTRS_o_ai
9855 return (vector unsigned int)(__a); in vec_splat_u32()
9862 static __inline__ vector unsigned char __ATTRS_o_ai
9863 vec_sr(vector unsigned char __a, vector unsigned char __b) { in vec_sr()
9865 (__b % (vector unsigned char)(sizeof(unsigned char) * __CHAR_BIT__)); in vec_sr()
9868 static __inline__ vector signed char __ATTRS_o_ai
9869 vec_sr(vector signed char __a, vector unsigned char __b) { in vec_sr()
9870 return (vector signed char)vec_sr((vector unsigned char)__a, __b); in vec_sr()
9873 static __inline__ vector unsigned short __ATTRS_o_ai
9874 vec_sr(vector unsigned short __a, vector unsigned short __b) { in vec_sr()
9876 (__b % (vector unsigned short)(sizeof(unsigned short) * __CHAR_BIT__)); in vec_sr()
9879 static __inline__ vector short __ATTRS_o_ai vec_sr(vector short __a, in vec_sr()
9880 vector unsigned short __b) { in vec_sr()
9881 return (vector short)vec_sr((vector unsigned short)__a, __b); in vec_sr()
9884 static __inline__ vector unsigned int __ATTRS_o_ai
9885 vec_sr(vector unsigned int __a, vector unsigned int __b) { in vec_sr()
9887 (__b % (vector unsigned int)(sizeof(unsigned int) * __CHAR_BIT__)); in vec_sr()
9890 static __inline__ vector int __ATTRS_o_ai vec_sr(vector int __a, in vec_sr()
9891 vector unsigned int __b) { in vec_sr()
9892 return (vector int)vec_sr((vector unsigned int)__a, __b); in vec_sr()
9896 static __inline__ vector unsigned long long __ATTRS_o_ai
9897 vec_sr(vector unsigned long long __a, vector unsigned long long __b) { in vec_sr()
9898 return __a >> (__b % (vector unsigned long long)(sizeof(unsigned long long) * in vec_sr()
9902 static __inline__ vector long long __ATTRS_o_ai
9903 vec_sr(vector long long __a, vector unsigned long long __b) { in vec_sr()
9904 return (vector long long)vec_sr((vector unsigned long long)__a, __b); in vec_sr()
9912 static __inline__ vector signed char __ATTRS_o_ai
9913 vec_vsrb(vector signed char __a, vector unsigned char __b) { in vec_vsrb()
9917 static __inline__ vector unsigned char __ATTRS_o_ai
9918 vec_vsrb(vector unsigned char __a, vector unsigned char __b) { in vec_vsrb()
9926 static __inline__ vector short __ATTRS_o_ai
9927 vec_vsrh(vector short __a, vector unsigned short __b) { in vec_vsrh()
9931 static __inline__ vector unsigned short __ATTRS_o_ai
9932 vec_vsrh(vector unsigned short __a, vector unsigned short __b) { in vec_vsrh()
9940 static __inline__ vector int __ATTRS_o_ai vec_vsrw(vector int __a, in vec_vsrw()
9941 vector unsigned int __b) { in vec_vsrw()
9945 static __inline__ vector unsigned int __ATTRS_o_ai
9946 vec_vsrw(vector unsigned int __a, vector unsigned int __b) { in vec_vsrw()
9952 static __inline__ vector signed char __ATTRS_o_ai
9953 vec_sra(vector signed char __a, vector unsigned char __b) { in vec_sra()
9954 return (vector signed char)__builtin_altivec_vsrab((vector char)__a, __b); in vec_sra()
9957 static __inline__ vector unsigned char __ATTRS_o_ai
9958 vec_sra(vector unsigned char __a, vector unsigned char __b) { in vec_sra()
9959 return (vector unsigned char)__builtin_altivec_vsrab((vector char)__a, __b); in vec_sra()
9962 static __inline__ vector short __ATTRS_o_ai vec_sra(vector short __a, in vec_sra()
9963 vector unsigned short __b) { in vec_sra()
9964 return __builtin_altivec_vsrah(__a, (vector unsigned short)__b); in vec_sra()
9967 static __inline__ vector unsigned short __ATTRS_o_ai
9968 vec_sra(vector unsigned short __a, vector unsigned short __b) { in vec_sra()
9969 return (vector unsigned short)__builtin_altivec_vsrah((vector short)__a, __b); in vec_sra()
9972 static __inline__ vector int __ATTRS_o_ai vec_sra(vector int __a, in vec_sra()
9973 vector unsigned int __b) { in vec_sra()
9977 static __inline__ vector unsigned int __ATTRS_o_ai
9978 vec_sra(vector unsigned int __a, vector unsigned int __b) { in vec_sra()
9979 return (vector unsigned int)__builtin_altivec_vsraw((vector int)__a, __b); in vec_sra()
9983 static __inline__ vector signed long long __ATTRS_o_ai
9984 vec_sra(vector signed long long __a, vector unsigned long long __b) { in vec_sra()
9988 static __inline__ vector unsigned long long __ATTRS_o_ai
9989 vec_sra(vector unsigned long long __a, vector unsigned long long __b) { in vec_sra()
9990 return (vector unsigned long long)((vector signed long long)__a >> __b); in vec_sra()
9996 static __inline__ vector signed char __ATTRS_o_ai
9997 vec_vsrab(vector signed char __a, vector unsigned char __b) { in vec_vsrab()
9998 return (vector signed char)__builtin_altivec_vsrab((vector char)__a, __b); in vec_vsrab()
10001 static __inline__ vector unsigned char __ATTRS_o_ai
10002 vec_vsrab(vector unsigned char __a, vector unsigned char __b) { in vec_vsrab()
10003 return (vector unsigned char)__builtin_altivec_vsrab((vector char)__a, __b); in vec_vsrab()
10008 static __inline__ vector short __ATTRS_o_ai
10009 vec_vsrah(vector short __a, vector unsigned short __b) { in vec_vsrah()
10010 return __builtin_altivec_vsrah(__a, (vector unsigned short)__b); in vec_vsrah()
10013 static __inline__ vector unsigned short __ATTRS_o_ai
10014 vec_vsrah(vector unsigned short __a, vector unsigned short __b) { in vec_vsrah()
10015 return (vector unsigned short)__builtin_altivec_vsrah((vector short)__a, __b); in vec_vsrah()
10020 static __inline__ vector int __ATTRS_o_ai vec_vsraw(vector int __a, in vec_vsraw()
10021 vector unsigned int __b) { in vec_vsraw()
10025 static __inline__ vector unsigned int __ATTRS_o_ai
10026 vec_vsraw(vector unsigned int __a, vector unsigned int __b) { in vec_vsraw()
10027 return (vector unsigned int)__builtin_altivec_vsraw((vector int)__a, __b); in vec_vsraw()
10032 static __inline__ vector signed char __ATTRS_o_ai
10033 vec_srl(vector signed char __a, vector unsigned char __b) { in vec_srl()
10034 return (vector signed char)__builtin_altivec_vsr((vector int)__a, in vec_srl()
10035 (vector int)__b); in vec_srl()
10038 static __inline__ vector signed char __ATTRS_o_ai
10039 vec_srl(vector signed char __a, vector unsigned short __b) { in vec_srl()
10040 return (vector signed char)__builtin_altivec_vsr((vector int)__a, in vec_srl()
10041 (vector int)__b); in vec_srl()
10044 static __inline__ vector signed char __ATTRS_o_ai
10045 vec_srl(vector signed char __a, vector unsigned int __b) { in vec_srl()
10046 return (vector signed char)__builtin_altivec_vsr((vector int)__a, in vec_srl()
10047 (vector int)__b); in vec_srl()
10050 static __inline__ vector unsigned char __ATTRS_o_ai
10051 vec_srl(vector unsigned char __a, vector unsigned char __b) { in vec_srl()
10052 return (vector unsigned char)__builtin_altivec_vsr((vector int)__a, in vec_srl()
10053 (vector int)__b); in vec_srl()
10056 static __inline__ vector unsigned char __ATTRS_o_ai
10057 vec_srl(vector unsigned char __a, vector unsigned short __b) { in vec_srl()
10058 return (vector unsigned char)__builtin_altivec_vsr((vector int)__a, in vec_srl()
10059 (vector int)__b); in vec_srl()
10062 static __inline__ vector unsigned char __ATTRS_o_ai
10063 vec_srl(vector unsigned char __a, vector unsigned int __b) { in vec_srl()
10064 return (vector unsigned char)__builtin_altivec_vsr((vector int)__a, in vec_srl()
10065 (vector int)__b); in vec_srl()
10068 static __inline__ vector bool char __ATTRS_o_ai
10069 vec_srl(vector bool char __a, vector unsigned char __b) { in vec_srl()
10070 return (vector bool char)__builtin_altivec_vsr((vector int)__a, in vec_srl()
10071 (vector int)__b); in vec_srl()
10074 static __inline__ vector bool char __ATTRS_o_ai
10075 vec_srl(vector bool char __a, vector unsigned short __b) { in vec_srl()
10076 return (vector bool char)__builtin_altivec_vsr((vector int)__a, in vec_srl()
10077 (vector int)__b); in vec_srl()
10080 static __inline__ vector bool char __ATTRS_o_ai
10081 vec_srl(vector bool char __a, vector unsigned int __b) { in vec_srl()
10082 return (vector bool char)__builtin_altivec_vsr((vector int)__a, in vec_srl()
10083 (vector int)__b); in vec_srl()
10086 static __inline__ vector short __ATTRS_o_ai vec_srl(vector short __a, in vec_srl()
10087 vector unsigned char __b) { in vec_srl()
10088 return (vector short)__builtin_altivec_vsr((vector int)__a, (vector int)__b); in vec_srl()
10091 static __inline__ vector short __ATTRS_o_ai vec_srl(vector short __a, in vec_srl()
10092 vector unsigned short __b) { in vec_srl()
10093 return (vector short)__builtin_altivec_vsr((vector int)__a, (vector int)__b); in vec_srl()
10096 static __inline__ vector short __ATTRS_o_ai vec_srl(vector short __a, in vec_srl()
10097 vector unsigned int __b) { in vec_srl()
10098 return (vector short)__builtin_altivec_vsr((vector int)__a, (vector int)__b); in vec_srl()
10101 static __inline__ vector unsigned short __ATTRS_o_ai
10102 vec_srl(vector unsigned short __a, vector unsigned char __b) { in vec_srl()
10103 return (vector unsigned short)__builtin_altivec_vsr((vector int)__a, in vec_srl()
10104 (vector int)__b); in vec_srl()
10107 static __inline__ vector unsigned short __ATTRS_o_ai
10108 vec_srl(vector unsigned short __a, vector unsigned short __b) { in vec_srl()
10109 return (vector unsigned short)__builtin_altivec_vsr((vector int)__a, in vec_srl()
10110 (vector int)__b); in vec_srl()
10113 static __inline__ vector unsigned short __ATTRS_o_ai
10114 vec_srl(vector unsigned short __a, vector unsigned int __b) { in vec_srl()
10115 return (vector unsigned short)__builtin_altivec_vsr((vector int)__a, in vec_srl()
10116 (vector int)__b); in vec_srl()
10119 static __inline__ vector bool short __ATTRS_o_ai
10120 vec_srl(vector bool short __a, vector unsigned char __b) { in vec_srl()
10121 return (vector bool short)__builtin_altivec_vsr((vector int)__a, in vec_srl()
10122 (vector int)__b); in vec_srl()
10125 static __inline__ vector bool short __ATTRS_o_ai
10126 vec_srl(vector bool short __a, vector unsigned short __b) { in vec_srl()
10127 return (vector bool short)__builtin_altivec_vsr((vector int)__a, in vec_srl()
10128 (vector int)__b); in vec_srl()
10131 static __inline__ vector bool short __ATTRS_o_ai
10132 vec_srl(vector bool short __a, vector unsigned int __b) { in vec_srl()
10133 return (vector bool short)__builtin_altivec_vsr((vector int)__a, in vec_srl()
10134 (vector int)__b); in vec_srl()
10137 static __inline__ vector pixel __ATTRS_o_ai vec_srl(vector pixel __a, in vec_srl()
10138 vector unsigned char __b) { in vec_srl()
10139 return (vector pixel)__builtin_altivec_vsr((vector int)__a, (vector int)__b); in vec_srl()
10142 static __inline__ vector pixel __ATTRS_o_ai vec_srl(vector pixel __a, in vec_srl()
10143 vector unsigned short __b) { in vec_srl()
10144 return (vector pixel)__builtin_altivec_vsr((vector int)__a, (vector int)__b); in vec_srl()
10147 static __inline__ vector pixel __ATTRS_o_ai vec_srl(vector pixel __a, in vec_srl()
10148 vector unsigned int __b) { in vec_srl()
10149 return (vector pixel)__builtin_altivec_vsr((vector int)__a, (vector int)__b); in vec_srl()
10152 static __inline__ vector int __ATTRS_o_ai vec_srl(vector int __a, in vec_srl()
10153 vector unsigned char __b) { in vec_srl()
10154 return (vector int)__builtin_altivec_vsr(__a, (vector int)__b); in vec_srl()
10157 static __inline__ vector int __ATTRS_o_ai vec_srl(vector int __a, in vec_srl()
10158 vector unsigned short __b) { in vec_srl()
10159 return (vector int)__builtin_altivec_vsr(__a, (vector int)__b); in vec_srl()
10162 static __inline__ vector int __ATTRS_o_ai vec_srl(vector int __a, in vec_srl()
10163 vector unsigned int __b) { in vec_srl()
10164 return (vector int)__builtin_altivec_vsr(__a, (vector int)__b); in vec_srl()
10167 static __inline__ vector unsigned int __ATTRS_o_ai
10168 vec_srl(vector unsigned int __a, vector unsigned char __b) { in vec_srl()
10169 return (vector unsigned int)__builtin_altivec_vsr((vector int)__a, in vec_srl()
10170 (vector int)__b); in vec_srl()
10173 static __inline__ vector unsigned int __ATTRS_o_ai
10174 vec_srl(vector unsigned int __a, vector unsigned short __b) { in vec_srl()
10175 return (vector unsigned int)__builtin_altivec_vsr((vector int)__a, in vec_srl()
10176 (vector int)__b); in vec_srl()
10179 static __inline__ vector unsigned int __ATTRS_o_ai
10180 vec_srl(vector unsigned int __a, vector unsigned int __b) { in vec_srl()
10181 return (vector unsigned int)__builtin_altivec_vsr((vector int)__a, in vec_srl()
10182 (vector int)__b); in vec_srl()
10185 static __inline__ vector bool int __ATTRS_o_ai
10186 vec_srl(vector bool int __a, vector unsigned char __b) { in vec_srl()
10187 return (vector bool int)__builtin_altivec_vsr((vector int)__a, in vec_srl()
10188 (vector int)__b); in vec_srl()
10191 static __inline__ vector bool int __ATTRS_o_ai
10192 vec_srl(vector bool int __a, vector unsigned short __b) { in vec_srl()
10193 return (vector bool int)__builtin_altivec_vsr((vector int)__a, in vec_srl()
10194 (vector int)__b); in vec_srl()
10197 static __inline__ vector bool int __ATTRS_o_ai
10198 vec_srl(vector bool int __a, vector unsigned int __b) { in vec_srl()
10199 return (vector bool int)__builtin_altivec_vsr((vector int)__a, in vec_srl()
10200 (vector int)__b); in vec_srl()
10204 static __inline__ vector signed long long __ATTRS_o_ai
10205 vec_srl(vector signed long long __a, vector unsigned char __b) { in vec_srl()
10206 return (vector signed long long)__builtin_altivec_vsr((vector int)__a, in vec_srl()
10207 (vector int)__b); in vec_srl()
10210 static __inline__ vector unsigned long long __ATTRS_o_ai
10211 vec_srl(vector unsigned long long __a, vector unsigned char __b) { in vec_srl()
10212 return (vector unsigned long long)__builtin_altivec_vsr((vector int)__a, in vec_srl()
10213 (vector int)__b); in vec_srl()
10219 static __inline__ vector signed char __ATTRS_o_ai
10220 vec_vsr(vector signed char __a, vector unsigned char __b) { in vec_vsr()
10221 return (vector signed char)__builtin_altivec_vsr((vector int)__a, in vec_vsr()
10222 (vector int)__b); in vec_vsr()
10225 static __inline__ vector signed char __ATTRS_o_ai
10226 vec_vsr(vector signed char __a, vector unsigned short __b) { in vec_vsr()
10227 return (vector signed char)__builtin_altivec_vsr((vector int)__a, in vec_vsr()
10228 (vector int)__b); in vec_vsr()
10231 static __inline__ vector signed char __ATTRS_o_ai
10232 vec_vsr(vector signed char __a, vector unsigned int __b) { in vec_vsr()
10233 return (vector signed char)__builtin_altivec_vsr((vector int)__a, in vec_vsr()
10234 (vector int)__b); in vec_vsr()
10237 static __inline__ vector unsigned char __ATTRS_o_ai
10238 vec_vsr(vector unsigned char __a, vector unsigned char __b) { in vec_vsr()
10239 return (vector unsigned char)__builtin_altivec_vsr((vector int)__a, in vec_vsr()
10240 (vector int)__b); in vec_vsr()
10243 static __inline__ vector unsigned char __ATTRS_o_ai
10244 vec_vsr(vector unsigned char __a, vector unsigned short __b) { in vec_vsr()
10245 return (vector unsigned char)__builtin_altivec_vsr((vector int)__a, in vec_vsr()
10246 (vector int)__b); in vec_vsr()
10249 static __inline__ vector unsigned char __ATTRS_o_ai
10250 vec_vsr(vector unsigned char __a, vector unsigned int __b) { in vec_vsr()
10251 return (vector unsigned char)__builtin_altivec_vsr((vector int)__a, in vec_vsr()
10252 (vector int)__b); in vec_vsr()
10255 static __inline__ vector bool char __ATTRS_o_ai
10256 vec_vsr(vector bool char __a, vector unsigned char __b) { in vec_vsr()
10257 return (vector bool char)__builtin_altivec_vsr((vector int)__a, in vec_vsr()
10258 (vector int)__b); in vec_vsr()
10261 static __inline__ vector bool char __ATTRS_o_ai
10262 vec_vsr(vector bool char __a, vector unsigned short __b) { in vec_vsr()
10263 return (vector bool char)__builtin_altivec_vsr((vector int)__a, in vec_vsr()
10264 (vector int)__b); in vec_vsr()
10267 static __inline__ vector bool char __ATTRS_o_ai
10268 vec_vsr(vector bool char __a, vector unsigned int __b) { in vec_vsr()
10269 return (vector bool char)__builtin_altivec_vsr((vector int)__a, in vec_vsr()
10270 (vector int)__b); in vec_vsr()
10273 static __inline__ vector short __ATTRS_o_ai vec_vsr(vector short __a, in vec_vsr()
10274 vector unsigned char __b) { in vec_vsr()
10275 return (vector short)__builtin_altivec_vsr((vector int)__a, (vector int)__b); in vec_vsr()
10278 static __inline__ vector short __ATTRS_o_ai vec_vsr(vector short __a, in vec_vsr()
10279 vector unsigned short __b) { in vec_vsr()
10280 return (vector short)__builtin_altivec_vsr((vector int)__a, (vector int)__b); in vec_vsr()
10283 static __inline__ vector short __ATTRS_o_ai vec_vsr(vector short __a, in vec_vsr()
10284 vector unsigned int __b) { in vec_vsr()
10285 return (vector short)__builtin_altivec_vsr((vector int)__a, (vector int)__b); in vec_vsr()
10288 static __inline__ vector unsigned short __ATTRS_o_ai
10289 vec_vsr(vector unsigned short __a, vector unsigned char __b) { in vec_vsr()
10290 return (vector unsigned short)__builtin_altivec_vsr((vector int)__a, in vec_vsr()
10291 (vector int)__b); in vec_vsr()
10294 static __inline__ vector unsigned short __ATTRS_o_ai
10295 vec_vsr(vector unsigned short __a, vector unsigned short __b) { in vec_vsr()
10296 return (vector unsigned short)__builtin_altivec_vsr((vector int)__a, in vec_vsr()
10297 (vector int)__b); in vec_vsr()
10300 static __inline__ vector unsigned short __ATTRS_o_ai
10301 vec_vsr(vector unsigned short __a, vector unsigned int __b) { in vec_vsr()
10302 return (vector unsigned short)__builtin_altivec_vsr((vector int)__a, in vec_vsr()
10303 (vector int)__b); in vec_vsr()
10306 static __inline__ vector bool short __ATTRS_o_ai
10307 vec_vsr(vector bool short __a, vector unsigned char __b) { in vec_vsr()
10308 return (vector bool short)__builtin_altivec_vsr((vector int)__a, in vec_vsr()
10309 (vector int)__b); in vec_vsr()
10312 static __inline__ vector bool short __ATTRS_o_ai
10313 vec_vsr(vector bool short __a, vector unsigned short __b) { in vec_vsr()
10314 return (vector bool short)__builtin_altivec_vsr((vector int)__a, in vec_vsr()
10315 (vector int)__b); in vec_vsr()
10318 static __inline__ vector bool short __ATTRS_o_ai
10319 vec_vsr(vector bool short __a, vector unsigned int __b) { in vec_vsr()
10320 return (vector bool short)__builtin_altivec_vsr((vector int)__a, in vec_vsr()
10321 (vector int)__b); in vec_vsr()
10324 static __inline__ vector pixel __ATTRS_o_ai vec_vsr(vector pixel __a, in vec_vsr()
10325 vector unsigned char __b) { in vec_vsr()
10326 return (vector pixel)__builtin_altivec_vsr((vector int)__a, (vector int)__b); in vec_vsr()
10329 static __inline__ vector pixel __ATTRS_o_ai vec_vsr(vector pixel __a, in vec_vsr()
10330 vector unsigned short __b) { in vec_vsr()
10331 return (vector pixel)__builtin_altivec_vsr((vector int)__a, (vector int)__b); in vec_vsr()
10334 static __inline__ vector pixel __ATTRS_o_ai vec_vsr(vector pixel __a, in vec_vsr()
10335 vector unsigned int __b) { in vec_vsr()
10336 return (vector pixel)__builtin_altivec_vsr((vector int)__a, (vector int)__b); in vec_vsr()
10339 static __inline__ vector int __ATTRS_o_ai vec_vsr(vector int __a, in vec_vsr()
10340 vector unsigned char __b) { in vec_vsr()
10341 return (vector int)__builtin_altivec_vsr(__a, (vector int)__b); in vec_vsr()
10344 static __inline__ vector int __ATTRS_o_ai vec_vsr(vector int __a, in vec_vsr()
10345 vector unsigned short __b) { in vec_vsr()
10346 return (vector int)__builtin_altivec_vsr(__a, (vector int)__b); in vec_vsr()
10349 static __inline__ vector int __ATTRS_o_ai vec_vsr(vector int __a, in vec_vsr()
10350 vector unsigned int __b) { in vec_vsr()
10351 return (vector int)__builtin_altivec_vsr(__a, (vector int)__b); in vec_vsr()
10354 static __inline__ vector unsigned int __ATTRS_o_ai
10355 vec_vsr(vector unsigned int __a, vector unsigned char __b) { in vec_vsr()
10356 return (vector unsigned int)__builtin_altivec_vsr((vector int)__a, in vec_vsr()
10357 (vector int)__b); in vec_vsr()
10360 static __inline__ vector unsigned int __ATTRS_o_ai
10361 vec_vsr(vector unsigned int __a, vector unsigned short __b) { in vec_vsr()
10362 return (vector unsigned int)__builtin_altivec_vsr((vector int)__a, in vec_vsr()
10363 (vector int)__b); in vec_vsr()
10366 static __inline__ vector unsigned int __ATTRS_o_ai
10367 vec_vsr(vector unsigned int __a, vector unsigned int __b) { in vec_vsr()
10368 return (vector unsigned int)__builtin_altivec_vsr((vector int)__a, in vec_vsr()
10369 (vector int)__b); in vec_vsr()
10372 static __inline__ vector bool int __ATTRS_o_ai
10373 vec_vsr(vector bool int __a, vector unsigned char __b) { in vec_vsr()
10374 return (vector bool int)__builtin_altivec_vsr((vector int)__a, in vec_vsr()
10375 (vector int)__b); in vec_vsr()
10378 static __inline__ vector bool int __ATTRS_o_ai
10379 vec_vsr(vector bool int __a, vector unsigned short __b) { in vec_vsr()
10380 return (vector bool int)__builtin_altivec_vsr((vector int)__a, in vec_vsr()
10381 (vector int)__b); in vec_vsr()
10384 static __inline__ vector bool int __ATTRS_o_ai
10385 vec_vsr(vector bool int __a, vector unsigned int __b) { in vec_vsr()
10386 return (vector bool int)__builtin_altivec_vsr((vector int)__a, in vec_vsr()
10387 (vector int)__b); in vec_vsr()
10392 static __inline__ vector signed char __ATTRS_o_ai
10393 vec_sro(vector signed char __a, vector signed char __b) { in vec_sro()
10394 return (vector signed char)__builtin_altivec_vsro((vector int)__a, in vec_sro()
10395 (vector int)__b); in vec_sro()
10398 static __inline__ vector signed char __ATTRS_o_ai
10399 vec_sro(vector signed char __a, vector unsigned char __b) { in vec_sro()
10400 return (vector signed char)__builtin_altivec_vsro((vector int)__a, in vec_sro()
10401 (vector int)__b); in vec_sro()
10404 static __inline__ vector unsigned char __ATTRS_o_ai
10405 vec_sro(vector unsigned char __a, vector signed char __b) { in vec_sro()
10406 return (vector unsigned char)__builtin_altivec_vsro((vector int)__a, in vec_sro()
10407 (vector int)__b); in vec_sro()
10410 static __inline__ vector unsigned char __ATTRS_o_ai
10411 vec_sro(vector unsigned char __a, vector unsigned char __b) { in vec_sro()
10412 return (vector unsigned char)__builtin_altivec_vsro((vector int)__a, in vec_sro()
10413 (vector int)__b); in vec_sro()
10416 static __inline__ vector short __ATTRS_o_ai vec_sro(vector short __a, in vec_sro()
10417 vector signed char __b) { in vec_sro()
10418 return (vector short)__builtin_altivec_vsro((vector int)__a, (vector int)__b); in vec_sro()
10421 static __inline__ vector short __ATTRS_o_ai vec_sro(vector short __a, in vec_sro()
10422 vector unsigned char __b) { in vec_sro()
10423 return (vector short)__builtin_altivec_vsro((vector int)__a, (vector int)__b); in vec_sro()
10426 static __inline__ vector unsigned short __ATTRS_o_ai
10427 vec_sro(vector unsigned short __a, vector signed char __b) { in vec_sro()
10428 return (vector unsigned short)__builtin_altivec_vsro((vector int)__a, in vec_sro()
10429 (vector int)__b); in vec_sro()
10432 static __inline__ vector unsigned short __ATTRS_o_ai
10433 vec_sro(vector unsigned short __a, vector unsigned char __b) { in vec_sro()
10434 return (vector unsigned short)__builtin_altivec_vsro((vector int)__a, in vec_sro()
10435 (vector int)__b); in vec_sro()
10438 static __inline__ vector pixel __ATTRS_o_ai vec_sro(vector pixel __a, in vec_sro()
10439 vector signed char __b) { in vec_sro()
10440 return (vector pixel)__builtin_altivec_vsro((vector int)__a, (vector int)__b); in vec_sro()
10443 static __inline__ vector pixel __ATTRS_o_ai vec_sro(vector pixel __a, in vec_sro()
10444 vector unsigned char __b) { in vec_sro()
10445 return (vector pixel)__builtin_altivec_vsro((vector int)__a, (vector int)__b); in vec_sro()
10448 static __inline__ vector int __ATTRS_o_ai vec_sro(vector int __a, in vec_sro()
10449 vector signed char __b) { in vec_sro()
10450 return (vector int)__builtin_altivec_vsro(__a, (vector int)__b); in vec_sro()
10453 static __inline__ vector int __ATTRS_o_ai vec_sro(vector int __a, in vec_sro()
10454 vector unsigned char __b) { in vec_sro()
10455 return (vector int)__builtin_altivec_vsro(__a, (vector int)__b); in vec_sro()
10458 static __inline__ vector unsigned int __ATTRS_o_ai
10459 vec_sro(vector unsigned int __a, vector signed char __b) { in vec_sro()
10460 return (vector unsigned int)__builtin_altivec_vsro((vector int)__a, in vec_sro()
10461 (vector int)__b); in vec_sro()
10464 static __inline__ vector unsigned int __ATTRS_o_ai
10465 vec_sro(vector unsigned int __a, vector unsigned char __b) { in vec_sro()
10466 return (vector unsigned int)__builtin_altivec_vsro((vector int)__a, in vec_sro()
10467 (vector int)__b); in vec_sro()
10470 static __inline__ vector float __ATTRS_o_ai vec_sro(vector float __a, in vec_sro()
10471 vector signed char __b) { in vec_sro()
10472 return (vector float)__builtin_altivec_vsro((vector int)__a, (vector int)__b); in vec_sro()
10475 static __inline__ vector float __ATTRS_o_ai vec_sro(vector float __a, in vec_sro()
10476 vector unsigned char __b) { in vec_sro()
10477 return (vector float)__builtin_altivec_vsro((vector int)__a, (vector int)__b); in vec_sro()
10481 static __inline__ vector signed long long __ATTRS_o_ai
10482 vec_sro(vector signed long long __a, vector signed char __b) { in vec_sro()
10483 return (vector signed long long)__builtin_altivec_vsro((vector int)__a, in vec_sro()
10484 (vector int)__b); in vec_sro()
10487 static __inline__ vector signed long long __ATTRS_o_ai
10488 vec_sro(vector signed long long __a, vector unsigned char __b) { in vec_sro()
10489 return (vector signed long long)__builtin_altivec_vsro((vector int)__a, in vec_sro()
10490 (vector int)__b); in vec_sro()
10493 static __inline__ vector unsigned long long __ATTRS_o_ai
10494 vec_sro(vector unsigned long long __a, vector signed char __b) { in vec_sro()
10495 return (vector unsigned long long)__builtin_altivec_vsro((vector int)__a, in vec_sro()
10496 (vector int)__b); in vec_sro()
10499 static __inline__ vector unsigned long long __ATTRS_o_ai
10500 vec_sro(vector unsigned long long __a, vector unsigned char __b) { in vec_sro()
10501 return (vector unsigned long long)__builtin_altivec_vsro((vector int)__a, in vec_sro()
10502 (vector int)__b); in vec_sro()
10508 static __inline__ vector signed char __ATTRS_o_ai
10509 vec_vsro(vector signed char __a, vector signed char __b) { in vec_vsro()
10510 return (vector signed char)__builtin_altivec_vsro((vector int)__a, in vec_vsro()
10511 (vector int)__b); in vec_vsro()
10514 static __inline__ vector signed char __ATTRS_o_ai
10515 vec_vsro(vector signed char __a, vector unsigned char __b) { in vec_vsro()
10516 return (vector signed char)__builtin_altivec_vsro((vector int)__a, in vec_vsro()
10517 (vector int)__b); in vec_vsro()
10520 static __inline__ vector unsigned char __ATTRS_o_ai
10521 vec_vsro(vector unsigned char __a, vector signed char __b) { in vec_vsro()
10522 return (vector unsigned char)__builtin_altivec_vsro((vector int)__a, in vec_vsro()
10523 (vector int)__b); in vec_vsro()
10526 static __inline__ vector unsigned char __ATTRS_o_ai
10527 vec_vsro(vector unsigned char __a, vector unsigned char __b) { in vec_vsro()
10528 return (vector unsigned char)__builtin_altivec_vsro((vector int)__a, in vec_vsro()
10529 (vector int)__b); in vec_vsro()
10532 static __inline__ vector short __ATTRS_o_ai vec_vsro(vector short __a, in vec_vsro()
10533 vector signed char __b) { in vec_vsro()
10534 return (vector short)__builtin_altivec_vsro((vector int)__a, (vector int)__b); in vec_vsro()
10537 static __inline__ vector short __ATTRS_o_ai vec_vsro(vector short __a, in vec_vsro()
10538 vector unsigned char __b) { in vec_vsro()
10539 return (vector short)__builtin_altivec_vsro((vector int)__a, (vector int)__b); in vec_vsro()
10542 static __inline__ vector unsigned short __ATTRS_o_ai
10543 vec_vsro(vector unsigned short __a, vector signed char __b) { in vec_vsro()
10544 return (vector unsigned short)__builtin_altivec_vsro((vector int)__a, in vec_vsro()
10545 (vector int)__b); in vec_vsro()
10548 static __inline__ vector unsigned short __ATTRS_o_ai
10549 vec_vsro(vector unsigned short __a, vector unsigned char __b) { in vec_vsro()
10550 return (vector unsigned short)__builtin_altivec_vsro((vector int)__a, in vec_vsro()
10551 (vector int)__b); in vec_vsro()
10554 static __inline__ vector pixel __ATTRS_o_ai vec_vsro(vector pixel __a, in vec_vsro()
10555 vector signed char __b) { in vec_vsro()
10556 return (vector pixel)__builtin_altivec_vsro((vector int)__a, (vector int)__b); in vec_vsro()
10559 static __inline__ vector pixel __ATTRS_o_ai vec_vsro(vector pixel __a, in vec_vsro()
10560 vector unsigned char __b) { in vec_vsro()
10561 return (vector pixel)__builtin_altivec_vsro((vector int)__a, (vector int)__b); in vec_vsro()
10564 static __inline__ vector int __ATTRS_o_ai vec_vsro(vector int __a, in vec_vsro()
10565 vector signed char __b) { in vec_vsro()
10566 return (vector int)__builtin_altivec_vsro(__a, (vector int)__b); in vec_vsro()
10569 static __inline__ vector int __ATTRS_o_ai vec_vsro(vector int __a, in vec_vsro()
10570 vector unsigned char __b) { in vec_vsro()
10571 return (vector int)__builtin_altivec_vsro(__a, (vector int)__b); in vec_vsro()
10574 static __inline__ vector unsigned int __ATTRS_o_ai
10575 vec_vsro(vector unsigned int __a, vector signed char __b) { in vec_vsro()
10576 return (vector unsigned int)__builtin_altivec_vsro((vector int)__a, in vec_vsro()
10577 (vector int)__b); in vec_vsro()
10580 static __inline__ vector unsigned int __ATTRS_o_ai
10581 vec_vsro(vector unsigned int __a, vector unsigned char __b) { in vec_vsro()
10582 return (vector unsigned int)__builtin_altivec_vsro((vector int)__a, in vec_vsro()
10583 (vector int)__b); in vec_vsro()
10586 static __inline__ vector float __ATTRS_o_ai vec_vsro(vector float __a, in vec_vsro()
10587 vector signed char __b) { in vec_vsro()
10588 return (vector float)__builtin_altivec_vsro((vector int)__a, (vector int)__b); in vec_vsro()
10591 static __inline__ vector float __ATTRS_o_ai vec_vsro(vector float __a, in vec_vsro()
10592 vector unsigned char __b) { in vec_vsro()
10593 return (vector float)__builtin_altivec_vsro((vector int)__a, (vector int)__b); in vec_vsro()
10598 static __inline__ void __ATTRS_o_ai vec_st(vector signed char __a, int __b, in vec_st()
10599 vector signed char *__c) { in vec_st()
10600 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_st()
10603 static __inline__ void __ATTRS_o_ai vec_st(vector signed char __a, int __b, in vec_st()
10605 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_st()
10608 static __inline__ void __ATTRS_o_ai vec_st(vector unsigned char __a, int __b, in vec_st()
10609 vector unsigned char *__c) { in vec_st()
10610 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_st()
10613 static __inline__ void __ATTRS_o_ai vec_st(vector unsigned char __a, int __b, in vec_st()
10615 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_st()
10618 static __inline__ void __ATTRS_o_ai vec_st(vector bool char __a, int __b, in vec_st()
10620 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_st()
10623 static __inline__ void __ATTRS_o_ai vec_st(vector bool char __a, int __b, in vec_st()
10625 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_st()
10628 static __inline__ void __ATTRS_o_ai vec_st(vector bool char __a, int __b, in vec_st()
10629 vector bool char *__c) { in vec_st()
10630 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_st()
10633 static __inline__ void __ATTRS_o_ai vec_st(vector short __a, int __b, in vec_st()
10634 vector short *__c) { in vec_st()
10635 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_st()
10638 static __inline__ void __ATTRS_o_ai vec_st(vector short __a, int __b, in vec_st()
10640 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_st()
10643 static __inline__ void __ATTRS_o_ai vec_st(vector unsigned short __a, int __b, in vec_st()
10644 vector unsigned short *__c) { in vec_st()
10645 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_st()
10648 static __inline__ void __ATTRS_o_ai vec_st(vector unsigned short __a, int __b, in vec_st()
10650 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_st()
10653 static __inline__ void __ATTRS_o_ai vec_st(vector bool short __a, int __b, in vec_st()
10655 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_st()
10658 static __inline__ void __ATTRS_o_ai vec_st(vector bool short __a, int __b, in vec_st()
10660 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_st()
10663 static __inline__ void __ATTRS_o_ai vec_st(vector bool short __a, int __b, in vec_st()
10664 vector bool short *__c) { in vec_st()
10665 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_st()
10668 static __inline__ void __ATTRS_o_ai vec_st(vector pixel __a, int __b, in vec_st()
10670 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_st()
10673 static __inline__ void __ATTRS_o_ai vec_st(vector pixel __a, int __b, in vec_st()
10675 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_st()
10678 static __inline__ void __ATTRS_o_ai vec_st(vector pixel __a, int __b, in vec_st()
10679 vector pixel *__c) { in vec_st()
10680 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_st()
10683 static __inline__ void __ATTRS_o_ai vec_st(vector int __a, int __b, in vec_st()
10684 vector int *__c) { in vec_st()
10688 static __inline__ void __ATTRS_o_ai vec_st(vector int __a, int __b, int *__c) { in vec_st()
10692 static __inline__ void __ATTRS_o_ai vec_st(vector unsigned int __a, int __b, in vec_st()
10693 vector unsigned int *__c) { in vec_st()
10694 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_st()
10697 static __inline__ void __ATTRS_o_ai vec_st(vector unsigned int __a, int __b, in vec_st()
10699 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_st()
10702 static __inline__ void __ATTRS_o_ai vec_st(vector bool int __a, int __b, in vec_st()
10704 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_st()
10707 static __inline__ void __ATTRS_o_ai vec_st(vector bool int __a, int __b, in vec_st()
10709 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_st()
10712 static __inline__ void __ATTRS_o_ai vec_st(vector bool int __a, int __b, in vec_st()
10713 vector bool int *__c) { in vec_st()
10714 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_st()
10717 static __inline__ void __ATTRS_o_ai vec_st(vector float __a, int __b, in vec_st()
10718 vector float *__c) { in vec_st()
10719 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_st()
10722 static __inline__ void __ATTRS_o_ai vec_st(vector float __a, int __b, in vec_st()
10724 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_st()
10729 static __inline__ void __ATTRS_o_ai vec_stvx(vector signed char __a, int __b, in vec_stvx()
10730 vector signed char *__c) { in vec_stvx()
10731 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_stvx()
10734 static __inline__ void __ATTRS_o_ai vec_stvx(vector signed char __a, int __b, in vec_stvx()
10736 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_stvx()
10739 static __inline__ void __ATTRS_o_ai vec_stvx(vector unsigned char __a, int __b, in vec_stvx()
10740 vector unsigned char *__c) { in vec_stvx()
10741 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_stvx()
10744 static __inline__ void __ATTRS_o_ai vec_stvx(vector unsigned char __a, int __b, in vec_stvx()
10746 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_stvx()
10749 static __inline__ void __ATTRS_o_ai vec_stvx(vector bool char __a, int __b, in vec_stvx()
10751 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_stvx()
10754 static __inline__ void __ATTRS_o_ai vec_stvx(vector bool char __a, int __b, in vec_stvx()
10756 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_stvx()
10759 static __inline__ void __ATTRS_o_ai vec_stvx(vector bool char __a, int __b, in vec_stvx()
10760 vector bool char *__c) { in vec_stvx()
10761 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_stvx()
10764 static __inline__ void __ATTRS_o_ai vec_stvx(vector short __a, int __b, in vec_stvx()
10765 vector short *__c) { in vec_stvx()
10766 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_stvx()
10769 static __inline__ void __ATTRS_o_ai vec_stvx(vector short __a, int __b, in vec_stvx()
10771 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_stvx()
10774 static __inline__ void __ATTRS_o_ai vec_stvx(vector unsigned short __a, int __b, in vec_stvx()
10775 vector unsigned short *__c) { in vec_stvx()
10776 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_stvx()
10779 static __inline__ void __ATTRS_o_ai vec_stvx(vector unsigned short __a, int __b, in vec_stvx()
10781 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_stvx()
10784 static __inline__ void __ATTRS_o_ai vec_stvx(vector bool short __a, int __b, in vec_stvx()
10786 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_stvx()
10789 static __inline__ void __ATTRS_o_ai vec_stvx(vector bool short __a, int __b, in vec_stvx()
10791 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_stvx()
10794 static __inline__ void __ATTRS_o_ai vec_stvx(vector bool short __a, int __b, in vec_stvx()
10795 vector bool short *__c) { in vec_stvx()
10796 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_stvx()
10799 static __inline__ void __ATTRS_o_ai vec_stvx(vector pixel __a, int __b, in vec_stvx()
10801 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_stvx()
10804 static __inline__ void __ATTRS_o_ai vec_stvx(vector pixel __a, int __b, in vec_stvx()
10806 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_stvx()
10809 static __inline__ void __ATTRS_o_ai vec_stvx(vector pixel __a, int __b, in vec_stvx()
10810 vector pixel *__c) { in vec_stvx()
10811 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_stvx()
10814 static __inline__ void __ATTRS_o_ai vec_stvx(vector int __a, int __b, in vec_stvx()
10815 vector int *__c) { in vec_stvx()
10819 static __inline__ void __ATTRS_o_ai vec_stvx(vector int __a, int __b, in vec_stvx()
10824 static __inline__ void __ATTRS_o_ai vec_stvx(vector unsigned int __a, int __b, in vec_stvx()
10825 vector unsigned int *__c) { in vec_stvx()
10826 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_stvx()
10829 static __inline__ void __ATTRS_o_ai vec_stvx(vector unsigned int __a, int __b, in vec_stvx()
10831 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_stvx()
10834 static __inline__ void __ATTRS_o_ai vec_stvx(vector bool int __a, int __b, in vec_stvx()
10836 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_stvx()
10839 static __inline__ void __ATTRS_o_ai vec_stvx(vector bool int __a, int __b, in vec_stvx()
10841 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_stvx()
10844 static __inline__ void __ATTRS_o_ai vec_stvx(vector bool int __a, int __b, in vec_stvx()
10845 vector bool int *__c) { in vec_stvx()
10846 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_stvx()
10849 static __inline__ void __ATTRS_o_ai vec_stvx(vector float __a, int __b, in vec_stvx()
10850 vector float *__c) { in vec_stvx()
10851 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_stvx()
10854 static __inline__ void __ATTRS_o_ai vec_stvx(vector float __a, int __b, in vec_stvx()
10856 __builtin_altivec_stvx((vector int)__a, __b, __c); in vec_stvx()
10861 static __inline__ void __ATTRS_o_ai vec_ste(vector signed char __a, int __b, in vec_ste()
10863 __builtin_altivec_stvebx((vector char)__a, __b, __c); in vec_ste()
10866 static __inline__ void __ATTRS_o_ai vec_ste(vector unsigned char __a, int __b, in vec_ste()
10868 __builtin_altivec_stvebx((vector char)__a, __b, __c); in vec_ste()
10871 static __inline__ void __ATTRS_o_ai vec_ste(vector bool char __a, int __b, in vec_ste()
10873 __builtin_altivec_stvebx((vector char)__a, __b, __c); in vec_ste()
10876 static __inline__ void __ATTRS_o_ai vec_ste(vector bool char __a, int __b, in vec_ste()
10878 __builtin_altivec_stvebx((vector char)__a, __b, __c); in vec_ste()
10881 static __inline__ void __ATTRS_o_ai vec_ste(vector short __a, int __b, in vec_ste()
10886 static __inline__ void __ATTRS_o_ai vec_ste(vector unsigned short __a, int __b, in vec_ste()
10888 __builtin_altivec_stvehx((vector short)__a, __b, __c); in vec_ste()
10891 static __inline__ void __ATTRS_o_ai vec_ste(vector bool short __a, int __b, in vec_ste()
10893 __builtin_altivec_stvehx((vector short)__a, __b, __c); in vec_ste()
10896 static __inline__ void __ATTRS_o_ai vec_ste(vector bool short __a, int __b, in vec_ste()
10898 __builtin_altivec_stvehx((vector short)__a, __b, __c); in vec_ste()
10901 static __inline__ void __ATTRS_o_ai vec_ste(vector pixel __a, int __b, in vec_ste()
10903 __builtin_altivec_stvehx((vector short)__a, __b, __c); in vec_ste()
10906 static __inline__ void __ATTRS_o_ai vec_ste(vector pixel __a, int __b, in vec_ste()
10908 __builtin_altivec_stvehx((vector short)__a, __b, __c); in vec_ste()
10911 static __inline__ void __ATTRS_o_ai vec_ste(vector int __a, int __b, int *__c) { in vec_ste()
10915 static __inline__ void __ATTRS_o_ai vec_ste(vector unsigned int __a, int __b, in vec_ste()
10917 __builtin_altivec_stvewx((vector int)__a, __b, __c); in vec_ste()
10920 static __inline__ void __ATTRS_o_ai vec_ste(vector bool int __a, int __b, in vec_ste()
10922 __builtin_altivec_stvewx((vector int)__a, __b, __c); in vec_ste()
10925 static __inline__ void __ATTRS_o_ai vec_ste(vector bool int __a, int __b, in vec_ste()
10927 __builtin_altivec_stvewx((vector int)__a, __b, __c); in vec_ste()
10930 static __inline__ void __ATTRS_o_ai vec_ste(vector float __a, int __b, in vec_ste()
10932 __builtin_altivec_stvewx((vector int)__a, __b, __c); in vec_ste()
10937 static __inline__ void __ATTRS_o_ai vec_stvebx(vector signed char __a, int __b, in vec_stvebx()
10939 __builtin_altivec_stvebx((vector char)__a, __b, __c); in vec_stvebx()
10942 static __inline__ void __ATTRS_o_ai vec_stvebx(vector unsigned char __a, in vec_stvebx()
10944 __builtin_altivec_stvebx((vector char)__a, __b, __c); in vec_stvebx()
10947 static __inline__ void __ATTRS_o_ai vec_stvebx(vector bool char __a, int __b, in vec_stvebx()
10949 __builtin_altivec_stvebx((vector char)__a, __b, __c); in vec_stvebx()
10952 static __inline__ void __ATTRS_o_ai vec_stvebx(vector bool char __a, int __b, in vec_stvebx()
10954 __builtin_altivec_stvebx((vector char)__a, __b, __c); in vec_stvebx()
10959 static __inline__ void __ATTRS_o_ai vec_stvehx(vector short __a, int __b, in vec_stvehx()
10964 static __inline__ void __ATTRS_o_ai vec_stvehx(vector unsigned short __a, in vec_stvehx()
10966 __builtin_altivec_stvehx((vector short)__a, __b, __c); in vec_stvehx()
10969 static __inline__ void __ATTRS_o_ai vec_stvehx(vector bool short __a, int __b, in vec_stvehx()
10971 __builtin_altivec_stvehx((vector short)__a, __b, __c); in vec_stvehx()
10974 static __inline__ void __ATTRS_o_ai vec_stvehx(vector bool short __a, int __b, in vec_stvehx()
10976 __builtin_altivec_stvehx((vector short)__a, __b, __c); in vec_stvehx()
10979 static __inline__ void __ATTRS_o_ai vec_stvehx(vector pixel __a, int __b, in vec_stvehx()
10981 __builtin_altivec_stvehx((vector short)__a, __b, __c); in vec_stvehx()
10984 static __inline__ void __ATTRS_o_ai vec_stvehx(vector pixel __a, int __b, in vec_stvehx()
10986 __builtin_altivec_stvehx((vector short)__a, __b, __c); in vec_stvehx()
10991 static __inline__ void __ATTRS_o_ai vec_stvewx(vector int __a, int __b, in vec_stvewx()
10996 static __inline__ void __ATTRS_o_ai vec_stvewx(vector unsigned int __a, int __b, in vec_stvewx()
10998 __builtin_altivec_stvewx((vector int)__a, __b, __c); in vec_stvewx()
11001 static __inline__ void __ATTRS_o_ai vec_stvewx(vector bool int __a, int __b, in vec_stvewx()
11003 __builtin_altivec_stvewx((vector int)__a, __b, __c); in vec_stvewx()
11006 static __inline__ void __ATTRS_o_ai vec_stvewx(vector bool int __a, int __b, in vec_stvewx()
11008 __builtin_altivec_stvewx((vector int)__a, __b, __c); in vec_stvewx()
11011 static __inline__ void __ATTRS_o_ai vec_stvewx(vector float __a, int __b, in vec_stvewx()
11013 __builtin_altivec_stvewx((vector int)__a, __b, __c); in vec_stvewx()
11018 static __inline__ void __ATTRS_o_ai vec_stl(vector signed char __a, int __b, in vec_stl()
11019 vector signed char *__c) { in vec_stl()
11020 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stl()
11023 static __inline__ void __ATTRS_o_ai vec_stl(vector signed char __a, int __b, in vec_stl()
11025 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stl()
11028 static __inline__ void __ATTRS_o_ai vec_stl(vector unsigned char __a, int __b, in vec_stl()
11029 vector unsigned char *__c) { in vec_stl()
11030 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stl()
11033 static __inline__ void __ATTRS_o_ai vec_stl(vector unsigned char __a, int __b, in vec_stl()
11035 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stl()
11038 static __inline__ void __ATTRS_o_ai vec_stl(vector bool char __a, int __b, in vec_stl()
11040 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stl()
11043 static __inline__ void __ATTRS_o_ai vec_stl(vector bool char __a, int __b, in vec_stl()
11045 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stl()
11048 static __inline__ void __ATTRS_o_ai vec_stl(vector bool char __a, int __b, in vec_stl()
11049 vector bool char *__c) { in vec_stl()
11050 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stl()
11053 static __inline__ void __ATTRS_o_ai vec_stl(vector short __a, int __b, in vec_stl()
11054 vector short *__c) { in vec_stl()
11055 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stl()
11058 static __inline__ void __ATTRS_o_ai vec_stl(vector short __a, int __b, in vec_stl()
11060 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stl()
11063 static __inline__ void __ATTRS_o_ai vec_stl(vector unsigned short __a, int __b, in vec_stl()
11064 vector unsigned short *__c) { in vec_stl()
11065 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stl()
11068 static __inline__ void __ATTRS_o_ai vec_stl(vector unsigned short __a, int __b, in vec_stl()
11070 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stl()
11073 static __inline__ void __ATTRS_o_ai vec_stl(vector bool short __a, int __b, in vec_stl()
11075 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stl()
11078 static __inline__ void __ATTRS_o_ai vec_stl(vector bool short __a, int __b, in vec_stl()
11080 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stl()
11083 static __inline__ void __ATTRS_o_ai vec_stl(vector bool short __a, int __b, in vec_stl()
11084 vector bool short *__c) { in vec_stl()
11085 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stl()
11088 static __inline__ void __ATTRS_o_ai vec_stl(vector pixel __a, int __b, in vec_stl()
11090 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stl()
11093 static __inline__ void __ATTRS_o_ai vec_stl(vector pixel __a, int __b, in vec_stl()
11095 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stl()
11098 static __inline__ void __ATTRS_o_ai vec_stl(vector pixel __a, int __b, in vec_stl()
11099 vector pixel *__c) { in vec_stl()
11100 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stl()
11103 static __inline__ void __ATTRS_o_ai vec_stl(vector int __a, int __b, in vec_stl()
11104 vector int *__c) { in vec_stl()
11108 static __inline__ void __ATTRS_o_ai vec_stl(vector int __a, int __b, int *__c) { in vec_stl()
11112 static __inline__ void __ATTRS_o_ai vec_stl(vector unsigned int __a, int __b, in vec_stl()
11113 vector unsigned int *__c) { in vec_stl()
11114 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stl()
11117 static __inline__ void __ATTRS_o_ai vec_stl(vector unsigned int __a, int __b, in vec_stl()
11119 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stl()
11122 static __inline__ void __ATTRS_o_ai vec_stl(vector bool int __a, int __b, in vec_stl()
11124 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stl()
11127 static __inline__ void __ATTRS_o_ai vec_stl(vector bool int __a, int __b, in vec_stl()
11129 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stl()
11132 static __inline__ void __ATTRS_o_ai vec_stl(vector bool int __a, int __b, in vec_stl()
11133 vector bool int *__c) { in vec_stl()
11134 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stl()
11137 static __inline__ void __ATTRS_o_ai vec_stl(vector float __a, int __b, in vec_stl()
11138 vector float *__c) { in vec_stl()
11139 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stl()
11142 static __inline__ void __ATTRS_o_ai vec_stl(vector float __a, int __b, in vec_stl()
11144 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stl()
11149 static __inline__ void __ATTRS_o_ai vec_stvxl(vector signed char __a, int __b, in vec_stvxl()
11150 vector signed char *__c) { in vec_stvxl()
11151 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stvxl()
11154 static __inline__ void __ATTRS_o_ai vec_stvxl(vector signed char __a, int __b, in vec_stvxl()
11156 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stvxl()
11159 static __inline__ void __ATTRS_o_ai vec_stvxl(vector unsigned char __a, int __b, in vec_stvxl()
11160 vector unsigned char *__c) { in vec_stvxl()
11161 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stvxl()
11164 static __inline__ void __ATTRS_o_ai vec_stvxl(vector unsigned char __a, int __b, in vec_stvxl()
11166 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stvxl()
11169 static __inline__ void __ATTRS_o_ai vec_stvxl(vector bool char __a, int __b, in vec_stvxl()
11171 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stvxl()
11174 static __inline__ void __ATTRS_o_ai vec_stvxl(vector bool char __a, int __b, in vec_stvxl()
11176 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stvxl()
11179 static __inline__ void __ATTRS_o_ai vec_stvxl(vector bool char __a, int __b, in vec_stvxl()
11180 vector bool char *__c) { in vec_stvxl()
11181 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stvxl()
11184 static __inline__ void __ATTRS_o_ai vec_stvxl(vector short __a, int __b, in vec_stvxl()
11185 vector short *__c) { in vec_stvxl()
11186 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stvxl()
11189 static __inline__ void __ATTRS_o_ai vec_stvxl(vector short __a, int __b, in vec_stvxl()
11191 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stvxl()
11194 static __inline__ void __ATTRS_o_ai vec_stvxl(vector unsigned short __a, in vec_stvxl()
11196 vector unsigned short *__c) { in vec_stvxl()
11197 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stvxl()
11200 static __inline__ void __ATTRS_o_ai vec_stvxl(vector unsigned short __a, in vec_stvxl()
11202 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stvxl()
11205 static __inline__ void __ATTRS_o_ai vec_stvxl(vector bool short __a, int __b, in vec_stvxl()
11207 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stvxl()
11210 static __inline__ void __ATTRS_o_ai vec_stvxl(vector bool short __a, int __b, in vec_stvxl()
11212 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stvxl()
11215 static __inline__ void __ATTRS_o_ai vec_stvxl(vector bool short __a, int __b, in vec_stvxl()
11216 vector bool short *__c) { in vec_stvxl()
11217 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stvxl()
11220 static __inline__ void __ATTRS_o_ai vec_stvxl(vector pixel __a, int __b, in vec_stvxl()
11222 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stvxl()
11225 static __inline__ void __ATTRS_o_ai vec_stvxl(vector pixel __a, int __b, in vec_stvxl()
11227 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stvxl()
11230 static __inline__ void __ATTRS_o_ai vec_stvxl(vector pixel __a, int __b, in vec_stvxl()
11231 vector pixel *__c) { in vec_stvxl()
11232 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stvxl()
11235 static __inline__ void __ATTRS_o_ai vec_stvxl(vector int __a, int __b, in vec_stvxl()
11236 vector int *__c) { in vec_stvxl()
11240 static __inline__ void __ATTRS_o_ai vec_stvxl(vector int __a, int __b, in vec_stvxl()
11245 static __inline__ void __ATTRS_o_ai vec_stvxl(vector unsigned int __a, int __b, in vec_stvxl()
11246 vector unsigned int *__c) { in vec_stvxl()
11247 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stvxl()
11250 static __inline__ void __ATTRS_o_ai vec_stvxl(vector unsigned int __a, int __b, in vec_stvxl()
11252 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stvxl()
11255 static __inline__ void __ATTRS_o_ai vec_stvxl(vector bool int __a, int __b, in vec_stvxl()
11257 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stvxl()
11260 static __inline__ void __ATTRS_o_ai vec_stvxl(vector bool int __a, int __b, in vec_stvxl()
11262 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stvxl()
11265 static __inline__ void __ATTRS_o_ai vec_stvxl(vector bool int __a, int __b, in vec_stvxl()
11266 vector bool int *__c) { in vec_stvxl()
11267 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stvxl()
11270 static __inline__ void __ATTRS_o_ai vec_stvxl(vector float __a, int __b, in vec_stvxl()
11271 vector float *__c) { in vec_stvxl()
11272 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stvxl()
11275 static __inline__ void __ATTRS_o_ai vec_stvxl(vector float __a, int __b, in vec_stvxl()
11277 __builtin_altivec_stvxl((vector int)__a, __b, __c); in vec_stvxl()
11282 static __inline__ vector signed char __ATTRS_o_ai
11283 vec_sub(vector signed char __a, vector signed char __b) { in vec_sub()
11287 static __inline__ vector signed char __ATTRS_o_ai
11288 vec_sub(vector bool char __a, vector signed char __b) { in vec_sub()
11289 return (vector signed char)__a - __b; in vec_sub()
11292 static __inline__ vector signed char __ATTRS_o_ai
11293 vec_sub(vector signed char __a, vector bool char __b) { in vec_sub()
11294 return __a - (vector signed char)__b; in vec_sub()
11297 static __inline__ vector unsigned char __ATTRS_o_ai
11298 vec_sub(vector unsigned char __a, vector unsigned char __b) { in vec_sub()
11302 static __inline__ vector unsigned char __ATTRS_o_ai
11303 vec_sub(vector bool char __a, vector unsigned char __b) { in vec_sub()
11304 return (vector unsigned char)__a - __b; in vec_sub()
11307 static __inline__ vector unsigned char __ATTRS_o_ai
11308 vec_sub(vector unsigned char __a, vector bool char __b) { in vec_sub()
11309 return __a - (vector unsigned char)__b; in vec_sub()
11312 static __inline__ vector short __ATTRS_o_ai vec_sub(vector short __a, in vec_sub()
11313 vector short __b) { in vec_sub()
11317 static __inline__ vector short __ATTRS_o_ai vec_sub(vector bool short __a, in vec_sub()
11318 vector short __b) { in vec_sub()
11319 return (vector short)__a - __b; in vec_sub()
11322 static __inline__ vector short __ATTRS_o_ai vec_sub(vector short __a, in vec_sub()
11323 vector bool short __b) { in vec_sub()
11324 return __a - (vector short)__b; in vec_sub()
11327 static __inline__ vector unsigned short __ATTRS_o_ai
11328 vec_sub(vector unsigned short __a, vector unsigned short __b) { in vec_sub()
11332 static __inline__ vector unsigned short __ATTRS_o_ai
11333 vec_sub(vector bool short __a, vector unsigned short __b) { in vec_sub()
11334 return (vector unsigned short)__a - __b; in vec_sub()
11337 static __inline__ vector unsigned short __ATTRS_o_ai
11338 vec_sub(vector unsigned short __a, vector bool short __b) { in vec_sub()
11339 return __a - (vector unsigned short)__b; in vec_sub()
11342 static __inline__ vector int __ATTRS_o_ai vec_sub(vector int __a, in vec_sub()
11343 vector int __b) { in vec_sub()
11347 static __inline__ vector int __ATTRS_o_ai vec_sub(vector bool int __a, in vec_sub()
11348 vector int __b) { in vec_sub()
11349 return (vector int)__a - __b; in vec_sub()
11352 static __inline__ vector int __ATTRS_o_ai vec_sub(vector int __a, in vec_sub()
11353 vector bool int __b) { in vec_sub()
11354 return __a - (vector int)__b; in vec_sub()
11357 static __inline__ vector unsigned int __ATTRS_o_ai
11358 vec_sub(vector unsigned int __a, vector unsigned int __b) { in vec_sub()
11362 static __inline__ vector unsigned int __ATTRS_o_ai
11363 vec_sub(vector bool int __a, vector unsigned int __b) { in vec_sub()
11364 return (vector unsigned int)__a - __b; in vec_sub()
11367 static __inline__ vector unsigned int __ATTRS_o_ai
11368 vec_sub(vector unsigned int __a, vector bool int __b) { in vec_sub()
11369 return __a - (vector unsigned int)__b; in vec_sub()
11373 static __inline__ vector signed __int128 __ATTRS_o_ai
11374 vec_sub(vector signed __int128 __a, vector signed __int128 __b) { in vec_sub()
11378 static __inline__ vector unsigned __int128 __ATTRS_o_ai
11379 vec_sub(vector unsigned __int128 __a, vector unsigned __int128 __b) { in vec_sub()
11385 static __inline__ vector signed long long __ATTRS_o_ai
11386 vec_sub(vector signed long long __a, vector signed long long __b) { in vec_sub()
11390 static __inline__ vector unsigned long long __ATTRS_o_ai
11391 vec_sub(vector unsigned long long __a, vector unsigned long long __b) { in vec_sub()
11395 static __inline__ vector double __ATTRS_o_ai vec_sub(vector double __a, in vec_sub()
11396 vector double __b) { in vec_sub()
11401 static __inline__ vector float __ATTRS_o_ai vec_sub(vector float __a, in vec_sub()
11402 vector float __b) { in vec_sub()
11410 static __inline__ vector signed char __ATTRS_o_ai
11411 vec_vsububm(vector signed char __a, vector signed char __b) { in vec_vsububm()
11415 static __inline__ vector signed char __ATTRS_o_ai
11416 vec_vsububm(vector bool char __a, vector signed char __b) { in vec_vsububm()
11417 return (vector signed char)__a - __b; in vec_vsububm()
11420 static __inline__ vector signed char __ATTRS_o_ai
11421 vec_vsububm(vector signed char __a, vector bool char __b) { in vec_vsububm()
11422 return __a - (vector signed char)__b; in vec_vsububm()
11425 static __inline__ vector unsigned char __ATTRS_o_ai
11426 vec_vsububm(vector unsigned char __a, vector unsigned char __b) { in vec_vsububm()
11430 static __inline__ vector unsigned char __ATTRS_o_ai
11431 vec_vsububm(vector bool char __a, vector unsigned char __b) { in vec_vsububm()
11432 return (vector unsigned char)__a - __b; in vec_vsububm()
11435 static __inline__ vector unsigned char __ATTRS_o_ai
11436 vec_vsububm(vector unsigned char __a, vector bool char __b) { in vec_vsububm()
11437 return __a - (vector unsigned char)__b; in vec_vsububm()
11444 static __inline__ vector short __ATTRS_o_ai vec_vsubuhm(vector short __a, in vec_vsubuhm()
11445 vector short __b) { in vec_vsubuhm()
11449 static __inline__ vector short __ATTRS_o_ai vec_vsubuhm(vector bool short __a, in vec_vsubuhm()
11450 vector short __b) { in vec_vsubuhm()
11451 return (vector short)__a - __b; in vec_vsubuhm()
11454 static __inline__ vector short __ATTRS_o_ai vec_vsubuhm(vector short __a, in vec_vsubuhm()
11455 vector bool short __b) { in vec_vsubuhm()
11456 return __a - (vector short)__b; in vec_vsubuhm()
11459 static __inline__ vector unsigned short __ATTRS_o_ai
11460 vec_vsubuhm(vector unsigned short __a, vector unsigned short __b) { in vec_vsubuhm()
11464 static __inline__ vector unsigned short __ATTRS_o_ai
11465 vec_vsubuhm(vector bool short __a, vector unsigned short __b) { in vec_vsubuhm()
11466 return (vector unsigned short)__a - __b; in vec_vsubuhm()
11469 static __inline__ vector unsigned short __ATTRS_o_ai
11470 vec_vsubuhm(vector unsigned short __a, vector bool short __b) { in vec_vsubuhm()
11471 return __a - (vector unsigned short)__b; in vec_vsubuhm()
11478 static __inline__ vector int __ATTRS_o_ai vec_vsubuwm(vector int __a, in vec_vsubuwm()
11479 vector int __b) { in vec_vsubuwm()
11483 static __inline__ vector int __ATTRS_o_ai vec_vsubuwm(vector bool int __a, in vec_vsubuwm()
11484 vector int __b) { in vec_vsubuwm()
11485 return (vector int)__a - __b; in vec_vsubuwm()
11488 static __inline__ vector int __ATTRS_o_ai vec_vsubuwm(vector int __a, in vec_vsubuwm()
11489 vector bool int __b) { in vec_vsubuwm()
11490 return __a - (vector int)__b; in vec_vsubuwm()
11493 static __inline__ vector unsigned int __ATTRS_o_ai
11494 vec_vsubuwm(vector unsigned int __a, vector unsigned int __b) { in vec_vsubuwm()
11498 static __inline__ vector unsigned int __ATTRS_o_ai
11499 vec_vsubuwm(vector bool int __a, vector unsigned int __b) { in vec_vsubuwm()
11500 return (vector unsigned int)__a - __b; in vec_vsubuwm()
11503 static __inline__ vector unsigned int __ATTRS_o_ai
11504 vec_vsubuwm(vector unsigned int __a, vector bool int __b) { in vec_vsubuwm()
11505 return __a - (vector unsigned int)__b; in vec_vsubuwm()
11512 static __inline__ vector float __attribute__((__always_inline__))
11513 vec_vsubfp(vector float __a, vector float __b) { in vec_vsubfp()
11519 static __inline__ vector signed int __ATTRS_o_ai
11520 vec_subc(vector signed int __a, vector signed int __b) { in vec_subc()
11521 return (vector signed int)__builtin_altivec_vsubcuw((vector unsigned int)__a, in vec_subc()
11522 (vector unsigned int) __b); in vec_subc()
11525 static __inline__ vector unsigned int __ATTRS_o_ai
11526 vec_subc(vector unsigned int __a, vector unsigned int __b) { in vec_subc()
11531 static __inline__ vector unsigned __int128 __ATTRS_o_ai
11532 vec_subc(vector unsigned __int128 __a, vector unsigned __int128 __b) { in vec_subc()
11536 static __inline__ vector signed __int128 __ATTRS_o_ai
11537 vec_subc(vector signed __int128 __a, vector signed __int128 __b) { in vec_subc()
11544 static __inline__ vector unsigned int __attribute__((__always_inline__))
11545 vec_vsubcuw(vector unsigned int __a, vector unsigned int __b) { in vec_vsubcuw()
11551 static __inline__ vector signed char __ATTRS_o_ai
11552 vec_subs(vector signed char __a, vector signed char __b) { in vec_subs()
11556 static __inline__ vector signed char __ATTRS_o_ai
11557 vec_subs(vector bool char __a, vector signed char __b) { in vec_subs()
11558 return __builtin_altivec_vsubsbs((vector signed char)__a, __b); in vec_subs()
11561 static __inline__ vector signed char __ATTRS_o_ai
11562 vec_subs(vector signed char __a, vector bool char __b) { in vec_subs()
11563 return __builtin_altivec_vsubsbs(__a, (vector signed char)__b); in vec_subs()
11566 static __inline__ vector unsigned char __ATTRS_o_ai
11567 vec_subs(vector unsigned char __a, vector unsigned char __b) { in vec_subs()
11571 static __inline__ vector unsigned char __ATTRS_o_ai
11572 vec_subs(vector bool char __a, vector unsigned char __b) { in vec_subs()
11573 return __builtin_altivec_vsububs((vector unsigned char)__a, __b); in vec_subs()
11576 static __inline__ vector unsigned char __ATTRS_o_ai
11577 vec_subs(vector unsigned char __a, vector bool char __b) { in vec_subs()
11578 return __builtin_altivec_vsububs(__a, (vector unsigned char)__b); in vec_subs()
11581 static __inline__ vector short __ATTRS_o_ai vec_subs(vector short __a, in vec_subs()
11582 vector short __b) { in vec_subs()
11586 static __inline__ vector short __ATTRS_o_ai vec_subs(vector bool short __a, in vec_subs()
11587 vector short __b) { in vec_subs()
11588 return __builtin_altivec_vsubshs((vector short)__a, __b); in vec_subs()
11591 static __inline__ vector short __ATTRS_o_ai vec_subs(vector short __a, in vec_subs()
11592 vector bool short __b) { in vec_subs()
11593 return __builtin_altivec_vsubshs(__a, (vector short)__b); in vec_subs()
11596 static __inline__ vector unsigned short __ATTRS_o_ai
11597 vec_subs(vector unsigned short __a, vector unsigned short __b) { in vec_subs()
11601 static __inline__ vector unsigned short __ATTRS_o_ai
11602 vec_subs(vector bool short __a, vector unsigned short __b) { in vec_subs()
11603 return __builtin_altivec_vsubuhs((vector unsigned short)__a, __b); in vec_subs()
11606 static __inline__ vector unsigned short __ATTRS_o_ai
11607 vec_subs(vector unsigned short __a, vector bool short __b) { in vec_subs()
11608 return __builtin_altivec_vsubuhs(__a, (vector unsigned short)__b); in vec_subs()
11611 static __inline__ vector int __ATTRS_o_ai vec_subs(vector int __a, in vec_subs()
11612 vector int __b) { in vec_subs()
11616 static __inline__ vector int __ATTRS_o_ai vec_subs(vector bool int __a, in vec_subs()
11617 vector int __b) { in vec_subs()
11618 return __builtin_altivec_vsubsws((vector int)__a, __b); in vec_subs()
11621 static __inline__ vector int __ATTRS_o_ai vec_subs(vector int __a, in vec_subs()
11622 vector bool int __b) { in vec_subs()
11623 return __builtin_altivec_vsubsws(__a, (vector int)__b); in vec_subs()
11626 static __inline__ vector unsigned int __ATTRS_o_ai
11627 vec_subs(vector unsigned int __a, vector unsigned int __b) { in vec_subs()
11631 static __inline__ vector unsigned int __ATTRS_o_ai
11632 vec_subs(vector bool int __a, vector unsigned int __b) { in vec_subs()
11633 return __builtin_altivec_vsubuws((vector unsigned int)__a, __b); in vec_subs()
11636 static __inline__ vector unsigned int __ATTRS_o_ai
11637 vec_subs(vector unsigned int __a, vector bool int __b) { in vec_subs()
11638 return __builtin_altivec_vsubuws(__a, (vector unsigned int)__b); in vec_subs()
11643 static __inline__ vector signed char __ATTRS_o_ai
11644 vec_vsubsbs(vector signed char __a, vector signed char __b) { in vec_vsubsbs()
11648 static __inline__ vector signed char __ATTRS_o_ai
11649 vec_vsubsbs(vector bool char __a, vector signed char __b) { in vec_vsubsbs()
11650 return __builtin_altivec_vsubsbs((vector signed char)__a, __b); in vec_vsubsbs()
11653 static __inline__ vector signed char __ATTRS_o_ai
11654 vec_vsubsbs(vector signed char __a, vector bool char __b) { in vec_vsubsbs()
11655 return __builtin_altivec_vsubsbs(__a, (vector signed char)__b); in vec_vsubsbs()
11660 static __inline__ vector unsigned char __ATTRS_o_ai
11661 vec_vsububs(vector unsigned char __a, vector unsigned char __b) { in vec_vsububs()
11665 static __inline__ vector unsigned char __ATTRS_o_ai
11666 vec_vsububs(vector bool char __a, vector unsigned char __b) { in vec_vsububs()
11667 return __builtin_altivec_vsububs((vector unsigned char)__a, __b); in vec_vsububs()
11670 static __inline__ vector unsigned char __ATTRS_o_ai
11671 vec_vsububs(vector unsigned char __a, vector bool char __b) { in vec_vsububs()
11672 return __builtin_altivec_vsububs(__a, (vector unsigned char)__b); in vec_vsububs()
11677 static __inline__ vector short __ATTRS_o_ai vec_vsubshs(vector short __a, in vec_vsubshs()
11678 vector short __b) { in vec_vsubshs()
11682 static __inline__ vector short __ATTRS_o_ai vec_vsubshs(vector bool short __a, in vec_vsubshs()
11683 vector short __b) { in vec_vsubshs()
11684 return __builtin_altivec_vsubshs((vector short)__a, __b); in vec_vsubshs()
11687 static __inline__ vector short __ATTRS_o_ai vec_vsubshs(vector short __a, in vec_vsubshs()
11688 vector bool short __b) { in vec_vsubshs()
11689 return __builtin_altivec_vsubshs(__a, (vector short)__b); in vec_vsubshs()
11694 static __inline__ vector unsigned short __ATTRS_o_ai
11695 vec_vsubuhs(vector unsigned short __a, vector unsigned short __b) { in vec_vsubuhs()
11699 static __inline__ vector unsigned short __ATTRS_o_ai
11700 vec_vsubuhs(vector bool short __a, vector unsigned short __b) { in vec_vsubuhs()
11701 return __builtin_altivec_vsubuhs((vector unsigned short)__a, __b); in vec_vsubuhs()
11704 static __inline__ vector unsigned short __ATTRS_o_ai
11705 vec_vsubuhs(vector unsigned short __a, vector bool short __b) { in vec_vsubuhs()
11706 return __builtin_altivec_vsubuhs(__a, (vector unsigned short)__b); in vec_vsubuhs()
11711 static __inline__ vector int __ATTRS_o_ai vec_vsubsws(vector int __a, in vec_vsubsws()
11712 vector int __b) { in vec_vsubsws()
11716 static __inline__ vector int __ATTRS_o_ai vec_vsubsws(vector bool int __a, in vec_vsubsws()
11717 vector int __b) { in vec_vsubsws()
11718 return __builtin_altivec_vsubsws((vector int)__a, __b); in vec_vsubsws()
11721 static __inline__ vector int __ATTRS_o_ai vec_vsubsws(vector int __a, in vec_vsubsws()
11722 vector bool int __b) { in vec_vsubsws()
11723 return __builtin_altivec_vsubsws(__a, (vector int)__b); in vec_vsubsws()
11728 static __inline__ vector unsigned int __ATTRS_o_ai
11729 vec_vsubuws(vector unsigned int __a, vector unsigned int __b) { in vec_vsubuws()
11733 static __inline__ vector unsigned int __ATTRS_o_ai
11734 vec_vsubuws(vector bool int __a, vector unsigned int __b) { in vec_vsubuws()
11735 return __builtin_altivec_vsubuws((vector unsigned int)__a, __b); in vec_vsubuws()
11738 static __inline__ vector unsigned int __ATTRS_o_ai
11739 vec_vsubuws(vector unsigned int __a, vector bool int __b) { in vec_vsubuws()
11740 return __builtin_altivec_vsubuws(__a, (vector unsigned int)__b); in vec_vsubuws()
11746 static __inline__ vector signed __int128 __ATTRS_o_ai
11747 vec_vsubuqm(vector signed __int128 __a, vector signed __int128 __b) { in vec_vsubuqm()
11751 static __inline__ vector unsigned __int128 __ATTRS_o_ai
11752 vec_vsubuqm(vector unsigned __int128 __a, vector unsigned __int128 __b) { in vec_vsubuqm()
11759 static __inline__ vector signed __int128 __ATTRS_o_ai
11760 vec_vsubeuqm(vector signed __int128 __a, vector signed __int128 __b, in vec_vsubeuqm()
11761 vector signed __int128 __c) { in vec_vsubeuqm()
11765 static __inline__ vector unsigned __int128 __ATTRS_o_ai
11766 vec_vsubeuqm(vector unsigned __int128 __a, vector unsigned __int128 __b, in vec_vsubeuqm()
11767 vector unsigned __int128 __c) { in vec_vsubeuqm()
11771 static __inline__ vector signed __int128 __ATTRS_o_ai
11772 vec_sube(vector signed __int128 __a, vector signed __int128 __b, in vec_sube()
11773 vector signed __int128 __c) { in vec_sube()
11777 static __inline__ vector unsigned __int128 __ATTRS_o_ai
11778 vec_sube(vector unsigned __int128 __a, vector unsigned __int128 __b, in vec_sube()
11779 vector unsigned __int128 __c) { in vec_sube()
11785 static __inline__ vector signed __int128 __ATTRS_o_ai
11786 vec_vsubcuq(vector signed __int128 __a, vector signed __int128 __b) { in vec_vsubcuq()
11790 static __inline__ vector unsigned __int128 __ATTRS_o_ai
11791 vec_vsubcuq(vector unsigned __int128 __a, vector unsigned __int128 __b) { in vec_vsubcuq()
11797 static __inline__ vector signed __int128 __ATTRS_o_ai
11798 vec_vsubecuq(vector signed __int128 __a, vector signed __int128 __b, in vec_vsubecuq()
11799 vector signed __int128 __c) { in vec_vsubecuq()
11803 static __inline__ vector unsigned __int128 __ATTRS_o_ai
11804 vec_vsubecuq(vector unsigned __int128 __a, vector unsigned __int128 __b, in vec_vsubecuq()
11805 vector unsigned __int128 __c) { in vec_vsubecuq()
11809 static __inline__ vector signed int __ATTRS_o_ai
11810 vec_subec(vector signed int __a, vector signed int __b, in vec_subec()
11811 vector signed int __c) { in vec_subec()
11815 static __inline__ vector unsigned int __ATTRS_o_ai
11816 vec_subec(vector unsigned int __a, vector unsigned int __b, in vec_subec()
11817 vector unsigned int __c) { in vec_subec()
11821 static __inline__ vector signed __int128 __ATTRS_o_ai
11822 vec_subec(vector signed __int128 __a, vector signed __int128 __b, in vec_subec()
11823 vector signed __int128 __c) { in vec_subec()
11827 static __inline__ vector unsigned __int128 __ATTRS_o_ai
11828 vec_subec(vector unsigned __int128 __a, vector unsigned __int128 __b, in vec_subec()
11829 vector unsigned __int128 __c) { in vec_subec()
11834 static __inline__ vector signed int __ATTRS_o_ai
11835 vec_sube(vector signed int __a, vector signed int __b, in vec_sube()
11836 vector signed int __c) { in vec_sube()
11837 vector signed int __mask = {1, 1, 1, 1}; in vec_sube()
11838 vector signed int __carry = __c & __mask; in vec_sube()
11842 static __inline__ vector unsigned int __ATTRS_o_ai
11843 vec_sube(vector unsigned int __a, vector unsigned int __b, in vec_sube()
11844 vector unsigned int __c) { in vec_sube()
11845 vector unsigned int __mask = {1, 1, 1, 1}; in vec_sube()
11846 vector unsigned int __carry = __c & __mask; in vec_sube()
11851 static __inline__ vector int __ATTRS_o_ai vec_sum4s(vector signed char __a, in vec_sum4s()
11852 vector int __b) { in vec_sum4s()
11856 static __inline__ vector unsigned int __ATTRS_o_ai
11857 vec_sum4s(vector unsigned char __a, vector unsigned int __b) { in vec_sum4s()
11861 static __inline__ vector int __ATTRS_o_ai vec_sum4s(vector signed short __a, in vec_sum4s()
11862 vector int __b) { in vec_sum4s()
11868 static __inline__ vector int __attribute__((__always_inline__))
11869 vec_vsum4sbs(vector signed char __a, vector int __b) { in vec_vsum4sbs()
11875 static __inline__ vector unsigned int __attribute__((__always_inline__))
11876 vec_vsum4ubs(vector unsigned char __a, vector unsigned int __b) { in vec_vsum4ubs()
11882 static __inline__ vector int __attribute__((__always_inline__))
11883 vec_vsum4shs(vector signed short __a, vector int __b) { in vec_vsum4shs()
11895 static __inline__ vector signed int __attribute__((__always_inline__))
11896 vec_sum2s(vector int __a, vector int __b) { in vec_sum2s()
11898 vector int __c = (vector signed int)vec_perm( in vec_sum2s()
11899 __b, __b, (vector unsigned char)(4, 5, 6, 7, 0, 1, 2, 3, 12, 13, 14, 15, in vec_sum2s()
11902 return (vector signed int)vec_perm( in vec_sum2s()
11903 __c, __c, (vector unsigned char)(4, 5, 6, 7, 0, 1, 2, 3, 12, 13, 14, 15, in vec_sum2s()
11912 static __inline__ vector signed int __attribute__((__always_inline__))
11913 vec_vsum2sws(vector int __a, vector int __b) { in vec_vsum2sws()
11915 vector int __c = (vector signed int)vec_perm( in vec_vsum2sws()
11916 __b, __b, (vector unsigned char)(4, 5, 6, 7, 0, 1, 2, 3, 12, 13, 14, 15, in vec_vsum2sws()
11919 return (vector signed int)vec_perm( in vec_vsum2sws()
11920 __c, __c, (vector unsigned char)(4, 5, 6, 7, 0, 1, 2, 3, 12, 13, 14, 15, in vec_vsum2sws()
11935 static __inline__ vector signed int __attribute__((__always_inline__))
11936 vec_sums(vector signed int __a, vector signed int __b) { in vec_sums()
11938 __b = (vector signed int)vec_splat(__b, 3); in vec_sums()
11940 return (vector signed int)(0, 0, 0, __b[0]); in vec_sums()
11948 static __inline__ vector signed int __attribute__((__always_inline__))
11949 vec_vsumsws(vector signed int __a, vector signed int __b) { in vec_vsumsws()
11951 __b = (vector signed int)vec_splat(__b, 3); in vec_vsumsws()
11953 return (vector signed int)(0, 0, 0, __b[0]); in vec_vsumsws()
11961 static __inline__ vector float __ATTRS_o_ai vec_trunc(vector float __a) { in vec_trunc()
11970 static __inline__ vector double __ATTRS_o_ai vec_trunc(vector double __a) { in vec_trunc()
11977 static __inline__ vector float __attribute__((__always_inline__))
11978 vec_vrfiz(vector float __a) { in vec_vrfiz()
11987 static __inline__ vector short __ATTRS_o_ai
11988 vec_unpackh(vector signed char __a) { in vec_unpackh()
11990 return __builtin_altivec_vupklsb((vector char)__a); in vec_unpackh()
11992 return __builtin_altivec_vupkhsb((vector char)__a); in vec_unpackh()
11996 static __inline__ vector bool short __ATTRS_o_ai
11997 vec_unpackh(vector bool char __a) { in vec_unpackh()
11999 return (vector bool short)__builtin_altivec_vupklsb((vector char)__a); in vec_unpackh()
12001 return (vector bool short)__builtin_altivec_vupkhsb((vector char)__a); in vec_unpackh()
12005 static __inline__ vector int __ATTRS_o_ai vec_unpackh(vector short __a) { in vec_unpackh()
12013 static __inline__ vector bool int __ATTRS_o_ai
12014 vec_unpackh(vector bool short __a) { in vec_unpackh()
12016 return (vector bool int)__builtin_altivec_vupklsh((vector short)__a); in vec_unpackh()
12018 return (vector bool int)__builtin_altivec_vupkhsh((vector short)__a); in vec_unpackh()
12022 static __inline__ vector unsigned int __ATTRS_o_ai
12023 vec_unpackh(vector pixel __a) { in vec_unpackh()
12025 return (vector unsigned int)__builtin_altivec_vupklpx((vector short)__a); in vec_unpackh()
12027 return (vector unsigned int)__builtin_altivec_vupkhpx((vector short)__a); in vec_unpackh()
12032 static __inline__ vector long long __ATTRS_o_ai vec_unpackh(vector int __a) { in vec_unpackh()
12040 static __inline__ vector bool long long __ATTRS_o_ai
12041 vec_unpackh(vector bool int __a) { in vec_unpackh()
12043 return (vector bool long long)__builtin_altivec_vupklsw((vector int)__a); in vec_unpackh()
12045 return (vector bool long long)__builtin_altivec_vupkhsw((vector int)__a); in vec_unpackh()
12049 static __inline__ vector double __ATTRS_o_ai
12050 vec_unpackh(vector float __a) { in vec_unpackh()
12051 return (vector double)(__a[0], __a[1]); in vec_unpackh()
12057 static __inline__ vector short __ATTRS_o_ai
12058 vec_vupkhsb(vector signed char __a) { in vec_vupkhsb()
12060 return __builtin_altivec_vupklsb((vector char)__a); in vec_vupkhsb()
12062 return __builtin_altivec_vupkhsb((vector char)__a); in vec_vupkhsb()
12066 static __inline__ vector bool short __ATTRS_o_ai
12067 vec_vupkhsb(vector bool char __a) { in vec_vupkhsb()
12069 return (vector bool short)__builtin_altivec_vupklsb((vector char)__a); in vec_vupkhsb()
12071 return (vector bool short)__builtin_altivec_vupkhsb((vector char)__a); in vec_vupkhsb()
12077 static __inline__ vector int __ATTRS_o_ai vec_vupkhsh(vector short __a) { in vec_vupkhsh()
12085 static __inline__ vector bool int __ATTRS_o_ai
12086 vec_vupkhsh(vector bool short __a) { in vec_vupkhsh()
12088 return (vector bool int)__builtin_altivec_vupklsh((vector short)__a); in vec_vupkhsh()
12090 return (vector bool int)__builtin_altivec_vupkhsh((vector short)__a); in vec_vupkhsh()
12094 static __inline__ vector unsigned int __ATTRS_o_ai
12095 vec_vupkhsh(vector pixel __a) { in vec_vupkhsh()
12097 return (vector unsigned int)__builtin_altivec_vupklpx((vector short)__a); in vec_vupkhsh()
12099 return (vector unsigned int)__builtin_altivec_vupkhpx((vector short)__a); in vec_vupkhsh()
12106 static __inline__ vector long long __ATTRS_o_ai vec_vupkhsw(vector int __a) { in vec_vupkhsw()
12114 static __inline__ vector bool long long __ATTRS_o_ai
12115 vec_vupkhsw(vector bool int __a) { in vec_vupkhsw()
12117 return (vector bool long long)__builtin_altivec_vupklsw((vector int)__a); in vec_vupkhsw()
12119 return (vector bool long long)__builtin_altivec_vupkhsw((vector int)__a); in vec_vupkhsw()
12126 static __inline__ vector short __ATTRS_o_ai
12127 vec_unpackl(vector signed char __a) { in vec_unpackl()
12129 return __builtin_altivec_vupkhsb((vector char)__a); in vec_unpackl()
12131 return __builtin_altivec_vupklsb((vector char)__a); in vec_unpackl()
12135 static __inline__ vector bool short __ATTRS_o_ai
12136 vec_unpackl(vector bool char __a) { in vec_unpackl()
12138 return (vector bool short)__builtin_altivec_vupkhsb((vector char)__a); in vec_unpackl()
12140 return (vector bool short)__builtin_altivec_vupklsb((vector char)__a); in vec_unpackl()
12144 static __inline__ vector int __ATTRS_o_ai vec_unpackl(vector short __a) { in vec_unpackl()
12152 static __inline__ vector bool int __ATTRS_o_ai
12153 vec_unpackl(vector bool short __a) { in vec_unpackl()
12155 return (vector bool int)__builtin_altivec_vupkhsh((vector short)__a); in vec_unpackl()
12157 return (vector bool int)__builtin_altivec_vupklsh((vector short)__a); in vec_unpackl()
12161 static __inline__ vector unsigned int __ATTRS_o_ai
12162 vec_unpackl(vector pixel __a) { in vec_unpackl()
12164 return (vector unsigned int)__builtin_altivec_vupkhpx((vector short)__a); in vec_unpackl()
12166 return (vector unsigned int)__builtin_altivec_vupklpx((vector short)__a); in vec_unpackl()
12171 static __inline__ vector long long __ATTRS_o_ai vec_unpackl(vector int __a) { in vec_unpackl()
12179 static __inline__ vector bool long long __ATTRS_o_ai
12180 vec_unpackl(vector bool int __a) { in vec_unpackl()
12182 return (vector bool long long)__builtin_altivec_vupkhsw((vector int)__a); in vec_unpackl()
12184 return (vector bool long long)__builtin_altivec_vupklsw((vector int)__a); in vec_unpackl()
12188 static __inline__ vector double __ATTRS_o_ai
12189 vec_unpackl(vector float __a) { in vec_unpackl()
12190 return (vector double)(__a[2], __a[3]); in vec_unpackl()
12196 static __inline__ vector short __ATTRS_o_ai
12197 vec_vupklsb(vector signed char __a) { in vec_vupklsb()
12199 return __builtin_altivec_vupkhsb((vector char)__a); in vec_vupklsb()
12201 return __builtin_altivec_vupklsb((vector char)__a); in vec_vupklsb()
12205 static __inline__ vector bool short __ATTRS_o_ai
12206 vec_vupklsb(vector bool char __a) { in vec_vupklsb()
12208 return (vector bool short)__builtin_altivec_vupkhsb((vector char)__a); in vec_vupklsb()
12210 return (vector bool short)__builtin_altivec_vupklsb((vector char)__a); in vec_vupklsb()
12216 static __inline__ vector int __ATTRS_o_ai vec_vupklsh(vector short __a) { in vec_vupklsh()
12224 static __inline__ vector bool int __ATTRS_o_ai
12225 vec_vupklsh(vector bool short __a) { in vec_vupklsh()
12227 return (vector bool int)__builtin_altivec_vupkhsh((vector short)__a); in vec_vupklsh()
12229 return (vector bool int)__builtin_altivec_vupklsh((vector short)__a); in vec_vupklsh()
12233 static __inline__ vector unsigned int __ATTRS_o_ai
12234 vec_vupklsh(vector pixel __a) { in vec_vupklsh()
12236 return (vector unsigned int)__builtin_altivec_vupkhpx((vector short)__a); in vec_vupklsh()
12238 return (vector unsigned int)__builtin_altivec_vupklpx((vector short)__a); in vec_vupklsh()
12245 static __inline__ vector long long __ATTRS_o_ai vec_vupklsw(vector int __a) { in vec_vupklsw()
12253 static __inline__ vector bool long long __ATTRS_o_ai
12254 vec_vupklsw(vector bool int __a) { in vec_vupklsw()
12256 return (vector bool long long)__builtin_altivec_vupkhsw((vector int)__a); in vec_vupklsw()
12258 return (vector bool long long)__builtin_altivec_vupklsw((vector int)__a); in vec_vupklsw()
12267 static __inline__ vector bool int __ATTRS_o_ai
12268 vec_vsx_ld(int __a, const vector bool int *__b) { in vec_vsx_ld()
12269 return (vector bool int)__builtin_vsx_lxvw4x(__a, __b); in vec_vsx_ld()
12272 static __inline__ vector signed int __ATTRS_o_ai
12273 vec_vsx_ld(int __a, const vector signed int *__b) { in vec_vsx_ld()
12274 return (vector signed int)__builtin_vsx_lxvw4x(__a, __b); in vec_vsx_ld()
12277 static __inline__ vector signed int __ATTRS_o_ai
12279 return (vector signed int)__builtin_vsx_lxvw4x(__a, __b); in vec_vsx_ld()
12282 static __inline__ vector unsigned int __ATTRS_o_ai
12283 vec_vsx_ld(int __a, const vector unsigned int *__b) { in vec_vsx_ld()
12284 return (vector unsigned int)__builtin_vsx_lxvw4x(__a, __b); in vec_vsx_ld()
12287 static __inline__ vector unsigned int __ATTRS_o_ai
12289 return (vector unsigned int)__builtin_vsx_lxvw4x(__a, __b); in vec_vsx_ld()
12292 static __inline__ vector float __ATTRS_o_ai
12293 vec_vsx_ld(int __a, const vector float *__b) { in vec_vsx_ld()
12294 return (vector float)__builtin_vsx_lxvw4x(__a, __b); in vec_vsx_ld()
12297 static __inline__ vector float __ATTRS_o_ai vec_vsx_ld(int __a, in vec_vsx_ld()
12299 return (vector float)__builtin_vsx_lxvw4x(__a, __b); in vec_vsx_ld()
12302 static __inline__ vector signed long long __ATTRS_o_ai
12303 vec_vsx_ld(int __a, const vector signed long long *__b) { in vec_vsx_ld()
12304 return (vector signed long long)__builtin_vsx_lxvd2x(__a, __b); in vec_vsx_ld()
12307 static __inline__ vector unsigned long long __ATTRS_o_ai
12308 vec_vsx_ld(int __a, const vector unsigned long long *__b) { in vec_vsx_ld()
12309 return (vector unsigned long long)__builtin_vsx_lxvd2x(__a, __b); in vec_vsx_ld()
12312 static __inline__ vector double __ATTRS_o_ai
12313 vec_vsx_ld(int __a, const vector double *__b) { in vec_vsx_ld()
12314 return (vector double)__builtin_vsx_lxvd2x(__a, __b); in vec_vsx_ld()
12317 static __inline__ vector double __ATTRS_o_ai
12319 return (vector double)__builtin_vsx_lxvd2x(__a, __b); in vec_vsx_ld()
12322 static __inline__ vector bool short __ATTRS_o_ai
12323 vec_vsx_ld(int __a, const vector bool short *__b) { in vec_vsx_ld()
12324 return (vector bool short)__builtin_vsx_lxvw4x(__a, __b); in vec_vsx_ld()
12327 static __inline__ vector signed short __ATTRS_o_ai
12328 vec_vsx_ld(int __a, const vector signed short *__b) { in vec_vsx_ld()
12329 return (vector signed short)__builtin_vsx_lxvw4x(__a, __b); in vec_vsx_ld()
12332 static __inline__ vector signed short __ATTRS_o_ai
12334 return (vector signed short)__builtin_vsx_lxvw4x(__a, __b); in vec_vsx_ld()
12337 static __inline__ vector unsigned short __ATTRS_o_ai
12338 vec_vsx_ld(int __a, const vector unsigned short *__b) { in vec_vsx_ld()
12339 return (vector unsigned short)__builtin_vsx_lxvw4x(__a, __b); in vec_vsx_ld()
12342 static __inline__ vector unsigned short __ATTRS_o_ai
12344 return (vector unsigned short)__builtin_vsx_lxvw4x(__a, __b); in vec_vsx_ld()
12347 static __inline__ vector bool char __ATTRS_o_ai
12348 vec_vsx_ld(int __a, const vector bool char *__b) { in vec_vsx_ld()
12349 return (vector bool char)__builtin_vsx_lxvw4x(__a, __b); in vec_vsx_ld()
12352 static __inline__ vector signed char __ATTRS_o_ai
12353 vec_vsx_ld(int __a, const vector signed char *__b) { in vec_vsx_ld()
12354 return (vector signed char)__builtin_vsx_lxvw4x(__a, __b); in vec_vsx_ld()
12357 static __inline__ vector signed char __ATTRS_o_ai
12359 return (vector signed char)__builtin_vsx_lxvw4x(__a, __b); in vec_vsx_ld()
12362 static __inline__ vector unsigned char __ATTRS_o_ai
12363 vec_vsx_ld(int __a, const vector unsigned char *__b) { in vec_vsx_ld()
12364 return (vector unsigned char)__builtin_vsx_lxvw4x(__a, __b); in vec_vsx_ld()
12367 static __inline__ vector unsigned char __ATTRS_o_ai
12369 return (vector unsigned char)__builtin_vsx_lxvw4x(__a, __b); in vec_vsx_ld()
12378 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector bool int __a, int __b, in vec_vsx_st()
12379 vector bool int *__c) { in vec_vsx_st()
12380 __builtin_vsx_stxvw4x((vector int)__a, __b, __c); in vec_vsx_st()
12383 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector bool int __a, int __b, in vec_vsx_st()
12385 __builtin_vsx_stxvw4x((vector int)__a, __b, __c); in vec_vsx_st()
12388 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector bool int __a, int __b, in vec_vsx_st()
12390 __builtin_vsx_stxvw4x((vector int)__a, __b, __c); in vec_vsx_st()
12393 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector signed int __a, int __b, in vec_vsx_st()
12394 vector signed int *__c) { in vec_vsx_st()
12395 __builtin_vsx_stxvw4x((vector int)__a, __b, __c); in vec_vsx_st()
12398 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector signed int __a, int __b, in vec_vsx_st()
12400 __builtin_vsx_stxvw4x((vector int)__a, __b, __c); in vec_vsx_st()
12403 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector unsigned int __a, int __b, in vec_vsx_st()
12404 vector unsigned int *__c) { in vec_vsx_st()
12405 __builtin_vsx_stxvw4x((vector int)__a, __b, __c); in vec_vsx_st()
12408 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector unsigned int __a, int __b, in vec_vsx_st()
12410 __builtin_vsx_stxvw4x((vector int)__a, __b, __c); in vec_vsx_st()
12413 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector float __a, int __b, in vec_vsx_st()
12414 vector float *__c) { in vec_vsx_st()
12415 __builtin_vsx_stxvw4x((vector int)__a, __b, __c); in vec_vsx_st()
12418 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector float __a, int __b, in vec_vsx_st()
12420 __builtin_vsx_stxvw4x((vector int)__a, __b, __c); in vec_vsx_st()
12423 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector signed long long __a, in vec_vsx_st()
12425 vector signed long long *__c) { in vec_vsx_st()
12426 __builtin_vsx_stxvd2x((vector double)__a, __b, __c); in vec_vsx_st()
12429 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector unsigned long long __a, in vec_vsx_st()
12431 vector unsigned long long *__c) { in vec_vsx_st()
12432 __builtin_vsx_stxvd2x((vector double)__a, __b, __c); in vec_vsx_st()
12435 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector double __a, int __b, in vec_vsx_st()
12436 vector double *__c) { in vec_vsx_st()
12437 __builtin_vsx_stxvd2x((vector double)__a, __b, __c); in vec_vsx_st()
12440 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector double __a, int __b, in vec_vsx_st()
12442 __builtin_vsx_stxvd2x((vector double)__a, __b, __c); in vec_vsx_st()
12445 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector bool short __a, int __b, in vec_vsx_st()
12446 vector bool short *__c) { in vec_vsx_st()
12447 __builtin_vsx_stxvw4x((vector int)__a, __b, __c); in vec_vsx_st()
12450 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector bool short __a, int __b, in vec_vsx_st()
12452 __builtin_vsx_stxvw4x((vector int)__a, __b, __c); in vec_vsx_st()
12455 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector bool short __a, int __b, in vec_vsx_st()
12457 __builtin_vsx_stxvw4x((vector int)__a, __b, __c); in vec_vsx_st()
12459 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector signed short __a, int __b, in vec_vsx_st()
12460 vector signed short *__c) { in vec_vsx_st()
12461 __builtin_vsx_stxvw4x((vector int)__a, __b, __c); in vec_vsx_st()
12464 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector signed short __a, int __b, in vec_vsx_st()
12466 __builtin_vsx_stxvw4x((vector int)__a, __b, __c); in vec_vsx_st()
12469 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector unsigned short __a, in vec_vsx_st()
12471 vector unsigned short *__c) { in vec_vsx_st()
12472 __builtin_vsx_stxvw4x((vector int)__a, __b, __c); in vec_vsx_st()
12475 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector unsigned short __a, in vec_vsx_st()
12477 __builtin_vsx_stxvw4x((vector int)__a, __b, __c); in vec_vsx_st()
12480 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector bool char __a, int __b, in vec_vsx_st()
12481 vector bool char *__c) { in vec_vsx_st()
12482 __builtin_vsx_stxvw4x((vector int)__a, __b, __c); in vec_vsx_st()
12485 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector bool char __a, int __b, in vec_vsx_st()
12487 __builtin_vsx_stxvw4x((vector int)__a, __b, __c); in vec_vsx_st()
12490 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector bool char __a, int __b, in vec_vsx_st()
12492 __builtin_vsx_stxvw4x((vector int)__a, __b, __c); in vec_vsx_st()
12495 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector signed char __a, int __b, in vec_vsx_st()
12496 vector signed char *__c) { in vec_vsx_st()
12497 __builtin_vsx_stxvw4x((vector int)__a, __b, __c); in vec_vsx_st()
12500 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector signed char __a, int __b, in vec_vsx_st()
12502 __builtin_vsx_stxvw4x((vector int)__a, __b, __c); in vec_vsx_st()
12505 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector unsigned char __a, in vec_vsx_st()
12507 vector unsigned char *__c) { in vec_vsx_st()
12508 __builtin_vsx_stxvw4x((vector int)__a, __b, __c); in vec_vsx_st()
12511 static __inline__ void __ATTRS_o_ai vec_vsx_st(vector unsigned char __a, in vec_vsx_st()
12513 __builtin_vsx_stxvw4x((vector int)__a, __b, __c); in vec_vsx_st()
12527 static __inline__ vector signed char __ATTRS_o_ai
12528 vec_xor(vector signed char __a, vector signed char __b) { in vec_xor()
12532 static __inline__ vector signed char __ATTRS_o_ai
12533 vec_xor(vector bool char __a, vector signed char __b) { in vec_xor()
12534 return (vector signed char)__a ^ __b; in vec_xor()
12537 static __inline__ vector signed char __ATTRS_o_ai
12538 vec_xor(vector signed char __a, vector bool char __b) { in vec_xor()
12539 return __a ^ (vector signed char)__b; in vec_xor()
12542 static __inline__ vector unsigned char __ATTRS_o_ai
12543 vec_xor(vector unsigned char __a, vector unsigned char __b) { in vec_xor()
12547 static __inline__ vector unsigned char __ATTRS_o_ai
12548 vec_xor(vector bool char __a, vector unsigned char __b) { in vec_xor()
12549 return (vector unsigned char)__a ^ __b; in vec_xor()
12552 static __inline__ vector unsigned char __ATTRS_o_ai
12553 vec_xor(vector unsigned char __a, vector bool char __b) { in vec_xor()
12554 return __a ^ (vector unsigned char)__b; in vec_xor()
12557 static __inline__ vector bool char __ATTRS_o_ai vec_xor(vector bool char __a, in vec_xor()
12558 vector bool char __b) { in vec_xor()
12562 static __inline__ vector short __ATTRS_o_ai vec_xor(vector short __a, in vec_xor()
12563 vector short __b) { in vec_xor()
12567 static __inline__ vector short __ATTRS_o_ai vec_xor(vector bool short __a, in vec_xor()
12568 vector short __b) { in vec_xor()
12569 return (vector short)__a ^ __b; in vec_xor()
12572 static __inline__ vector short __ATTRS_o_ai vec_xor(vector short __a, in vec_xor()
12573 vector bool short __b) { in vec_xor()
12574 return __a ^ (vector short)__b; in vec_xor()
12577 static __inline__ vector unsigned short __ATTRS_o_ai
12578 vec_xor(vector unsigned short __a, vector unsigned short __b) { in vec_xor()
12582 static __inline__ vector unsigned short __ATTRS_o_ai
12583 vec_xor(vector bool short __a, vector unsigned short __b) { in vec_xor()
12584 return (vector unsigned short)__a ^ __b; in vec_xor()
12587 static __inline__ vector unsigned short __ATTRS_o_ai
12588 vec_xor(vector unsigned short __a, vector bool short __b) { in vec_xor()
12589 return __a ^ (vector unsigned short)__b; in vec_xor()
12592 static __inline__ vector bool short __ATTRS_o_ai
12593 vec_xor(vector bool short __a, vector bool short __b) { in vec_xor()
12597 static __inline__ vector int __ATTRS_o_ai vec_xor(vector int __a, in vec_xor()
12598 vector int __b) { in vec_xor()
12602 static __inline__ vector int __ATTRS_o_ai vec_xor(vector bool int __a, in vec_xor()
12603 vector int __b) { in vec_xor()
12604 return (vector int)__a ^ __b; in vec_xor()
12607 static __inline__ vector int __ATTRS_o_ai vec_xor(vector int __a, in vec_xor()
12608 vector bool int __b) { in vec_xor()
12609 return __a ^ (vector int)__b; in vec_xor()
12612 static __inline__ vector unsigned int __ATTRS_o_ai
12613 vec_xor(vector unsigned int __a, vector unsigned int __b) { in vec_xor()
12617 static __inline__ vector unsigned int __ATTRS_o_ai
12618 vec_xor(vector bool int __a, vector unsigned int __b) { in vec_xor()
12619 return (vector unsigned int)__a ^ __b; in vec_xor()
12622 static __inline__ vector unsigned int __ATTRS_o_ai
12623 vec_xor(vector unsigned int __a, vector bool int __b) { in vec_xor()
12624 return __a ^ (vector unsigned int)__b; in vec_xor()
12627 static __inline__ vector bool int __ATTRS_o_ai vec_xor(vector bool int __a, in vec_xor()
12628 vector bool int __b) { in vec_xor()
12632 static __inline__ vector float __ATTRS_o_ai vec_xor(vector float __a, in vec_xor()
12633 vector float __b) { in vec_xor()
12634 vector unsigned int __res = in vec_xor()
12635 (vector unsigned int)__a ^ (vector unsigned int)__b; in vec_xor()
12636 return (vector float)__res; in vec_xor()
12639 static __inline__ vector float __ATTRS_o_ai vec_xor(vector bool int __a, in vec_xor()
12640 vector float __b) { in vec_xor()
12641 vector unsigned int __res = in vec_xor()
12642 (vector unsigned int)__a ^ (vector unsigned int)__b; in vec_xor()
12643 return (vector float)__res; in vec_xor()
12646 static __inline__ vector float __ATTRS_o_ai vec_xor(vector float __a, in vec_xor()
12647 vector bool int __b) { in vec_xor()
12648 vector unsigned int __res = in vec_xor()
12649 (vector unsigned int)__a ^ (vector unsigned int)__b; in vec_xor()
12650 return (vector float)__res; in vec_xor()
12654 static __inline__ vector signed long long __ATTRS_o_ai
12655 vec_xor(vector signed long long __a, vector signed long long __b) { in vec_xor()
12659 static __inline__ vector signed long long __ATTRS_o_ai
12660 vec_xor(vector bool long long __a, vector signed long long __b) { in vec_xor()
12661 return (vector signed long long)__a ^ __b; in vec_xor()
12664 static __inline__ vector signed long long __ATTRS_o_ai
12665 vec_xor(vector signed long long __a, vector bool long long __b) { in vec_xor()
12666 return __a ^ (vector signed long long)__b; in vec_xor()
12669 static __inline__ vector unsigned long long __ATTRS_o_ai
12670 vec_xor(vector unsigned long long __a, vector unsigned long long __b) { in vec_xor()
12674 static __inline__ vector unsigned long long __ATTRS_o_ai
12675 vec_xor(vector bool long long __a, vector unsigned long long __b) { in vec_xor()
12676 return (vector unsigned long long)__a ^ __b; in vec_xor()
12679 static __inline__ vector unsigned long long __ATTRS_o_ai
12680 vec_xor(vector unsigned long long __a, vector bool long long __b) { in vec_xor()
12681 return __a ^ (vector unsigned long long)__b; in vec_xor()
12684 static __inline__ vector bool long long __ATTRS_o_ai
12685 vec_xor(vector bool long long __a, vector bool long long __b) { in vec_xor()
12689 static __inline__ vector double __ATTRS_o_ai vec_xor(vector double __a, in vec_xor()
12690 vector double __b) { in vec_xor()
12691 return (vector double)((vector unsigned long long)__a ^ in vec_xor()
12692 (vector unsigned long long)__b); in vec_xor()
12695 static __inline__ vector double __ATTRS_o_ai
12696 vec_xor(vector double __a, vector bool long long __b) { in vec_xor()
12697 return (vector double)((vector unsigned long long)__a ^ in vec_xor()
12698 (vector unsigned long long)__b); in vec_xor()
12701 static __inline__ vector double __ATTRS_o_ai vec_xor(vector bool long long __a, in vec_xor()
12702 vector double __b) { in vec_xor()
12703 return (vector double)((vector unsigned long long)__a ^ in vec_xor()
12704 (vector unsigned long long)__b); in vec_xor()
12710 static __inline__ vector signed char __ATTRS_o_ai
12711 vec_vxor(vector signed char __a, vector signed char __b) { in vec_vxor()
12715 static __inline__ vector signed char __ATTRS_o_ai
12716 vec_vxor(vector bool char __a, vector signed char __b) { in vec_vxor()
12717 return (vector signed char)__a ^ __b; in vec_vxor()
12720 static __inline__ vector signed char __ATTRS_o_ai
12721 vec_vxor(vector signed char __a, vector bool char __b) { in vec_vxor()
12722 return __a ^ (vector signed char)__b; in vec_vxor()
12725 static __inline__ vector unsigned char __ATTRS_o_ai
12726 vec_vxor(vector unsigned char __a, vector unsigned char __b) { in vec_vxor()
12730 static __inline__ vector unsigned char __ATTRS_o_ai
12731 vec_vxor(vector bool char __a, vector unsigned char __b) { in vec_vxor()
12732 return (vector unsigned char)__a ^ __b; in vec_vxor()
12735 static __inline__ vector unsigned char __ATTRS_o_ai
12736 vec_vxor(vector unsigned char __a, vector bool char __b) { in vec_vxor()
12737 return __a ^ (vector unsigned char)__b; in vec_vxor()
12740 static __inline__ vector bool char __ATTRS_o_ai vec_vxor(vector bool char __a, in vec_vxor()
12741 vector bool char __b) { in vec_vxor()
12745 static __inline__ vector short __ATTRS_o_ai vec_vxor(vector short __a, in vec_vxor()
12746 vector short __b) { in vec_vxor()
12750 static __inline__ vector short __ATTRS_o_ai vec_vxor(vector bool short __a, in vec_vxor()
12751 vector short __b) { in vec_vxor()
12752 return (vector short)__a ^ __b; in vec_vxor()
12755 static __inline__ vector short __ATTRS_o_ai vec_vxor(vector short __a, in vec_vxor()
12756 vector bool short __b) { in vec_vxor()
12757 return __a ^ (vector short)__b; in vec_vxor()
12760 static __inline__ vector unsigned short __ATTRS_o_ai
12761 vec_vxor(vector unsigned short __a, vector unsigned short __b) { in vec_vxor()
12765 static __inline__ vector unsigned short __ATTRS_o_ai
12766 vec_vxor(vector bool short __a, vector unsigned short __b) { in vec_vxor()
12767 return (vector unsigned short)__a ^ __b; in vec_vxor()
12770 static __inline__ vector unsigned short __ATTRS_o_ai
12771 vec_vxor(vector unsigned short __a, vector bool short __b) { in vec_vxor()
12772 return __a ^ (vector unsigned short)__b; in vec_vxor()
12775 static __inline__ vector bool short __ATTRS_o_ai
12776 vec_vxor(vector bool short __a, vector bool short __b) { in vec_vxor()
12780 static __inline__ vector int __ATTRS_o_ai vec_vxor(vector int __a, in vec_vxor()
12781 vector int __b) { in vec_vxor()
12785 static __inline__ vector int __ATTRS_o_ai vec_vxor(vector bool int __a, in vec_vxor()
12786 vector int __b) { in vec_vxor()
12787 return (vector int)__a ^ __b; in vec_vxor()
12790 static __inline__ vector int __ATTRS_o_ai vec_vxor(vector int __a, in vec_vxor()
12791 vector bool int __b) { in vec_vxor()
12792 return __a ^ (vector int)__b; in vec_vxor()
12795 static __inline__ vector unsigned int __ATTRS_o_ai
12796 vec_vxor(vector unsigned int __a, vector unsigned int __b) { in vec_vxor()
12800 static __inline__ vector unsigned int __ATTRS_o_ai
12801 vec_vxor(vector bool int __a, vector unsigned int __b) { in vec_vxor()
12802 return (vector unsigned int)__a ^ __b; in vec_vxor()
12805 static __inline__ vector unsigned int __ATTRS_o_ai
12806 vec_vxor(vector unsigned int __a, vector bool int __b) { in vec_vxor()
12807 return __a ^ (vector unsigned int)__b; in vec_vxor()
12810 static __inline__ vector bool int __ATTRS_o_ai vec_vxor(vector bool int __a, in vec_vxor()
12811 vector bool int __b) { in vec_vxor()
12815 static __inline__ vector float __ATTRS_o_ai vec_vxor(vector float __a, in vec_vxor()
12816 vector float __b) { in vec_vxor()
12817 vector unsigned int __res = in vec_vxor()
12818 (vector unsigned int)__a ^ (vector unsigned int)__b; in vec_vxor()
12819 return (vector float)__res; in vec_vxor()
12822 static __inline__ vector float __ATTRS_o_ai vec_vxor(vector bool int __a, in vec_vxor()
12823 vector float __b) { in vec_vxor()
12824 vector unsigned int __res = in vec_vxor()
12825 (vector unsigned int)__a ^ (vector unsigned int)__b; in vec_vxor()
12826 return (vector float)__res; in vec_vxor()
12829 static __inline__ vector float __ATTRS_o_ai vec_vxor(vector float __a, in vec_vxor()
12830 vector bool int __b) { in vec_vxor()
12831 vector unsigned int __res = in vec_vxor()
12832 (vector unsigned int)__a ^ (vector unsigned int)__b; in vec_vxor()
12833 return (vector float)__res; in vec_vxor()
12837 static __inline__ vector signed long long __ATTRS_o_ai
12838 vec_vxor(vector signed long long __a, vector signed long long __b) { in vec_vxor()
12842 static __inline__ vector signed long long __ATTRS_o_ai
12843 vec_vxor(vector bool long long __a, vector signed long long __b) { in vec_vxor()
12844 return (vector signed long long)__a ^ __b; in vec_vxor()
12847 static __inline__ vector signed long long __ATTRS_o_ai
12848 vec_vxor(vector signed long long __a, vector bool long long __b) { in vec_vxor()
12849 return __a ^ (vector signed long long)__b; in vec_vxor()
12852 static __inline__ vector unsigned long long __ATTRS_o_ai
12853 vec_vxor(vector unsigned long long __a, vector unsigned long long __b) { in vec_vxor()
12857 static __inline__ vector unsigned long long __ATTRS_o_ai
12858 vec_vxor(vector bool long long __a, vector unsigned long long __b) { in vec_vxor()
12859 return (vector unsigned long long)__a ^ __b; in vec_vxor()
12862 static __inline__ vector unsigned long long __ATTRS_o_ai
12863 vec_vxor(vector unsigned long long __a, vector bool long long __b) { in vec_vxor()
12864 return __a ^ (vector unsigned long long)__b; in vec_vxor()
12867 static __inline__ vector bool long long __ATTRS_o_ai
12868 vec_vxor(vector bool long long __a, vector bool long long __b) { in vec_vxor()
12877 static __inline__ signed char __ATTRS_o_ai vec_extract(vector signed char __a, in vec_extract()
12883 vec_extract(vector unsigned char __a, int __b) { in vec_extract()
12887 static __inline__ unsigned char __ATTRS_o_ai vec_extract(vector bool char __a, in vec_extract()
12892 static __inline__ signed short __ATTRS_o_ai vec_extract(vector signed short __a, in vec_extract()
12898 vec_extract(vector unsigned short __a, int __b) { in vec_extract()
12902 static __inline__ unsigned short __ATTRS_o_ai vec_extract(vector bool short __a, in vec_extract()
12907 static __inline__ signed int __ATTRS_o_ai vec_extract(vector signed int __a, in vec_extract()
12912 static __inline__ unsigned int __ATTRS_o_ai vec_extract(vector unsigned int __a, in vec_extract()
12917 static __inline__ unsigned int __ATTRS_o_ai vec_extract(vector bool int __a, in vec_extract()
12924 vec_extract(vector signed long long __a, int __b) { in vec_extract()
12929 vec_extract(vector unsigned long long __a, int __b) { in vec_extract()
12934 vec_extract(vector bool long long __a, int __b) { in vec_extract()
12938 static __inline__ double __ATTRS_o_ai vec_extract(vector double __a, int __b) { in vec_extract()
12943 static __inline__ float __ATTRS_o_ai vec_extract(vector float __a, int __b) { in vec_extract()
12954 static __inline__ vector unsigned int __ATTRS_o_ai
12955 vec_extract_exp(vector float __a) { in vec_extract_exp()
12959 static __inline__ vector unsigned long long __ATTRS_o_ai
12960 vec_extract_exp(vector double __a) { in vec_extract_exp()
12966 static __inline__ vector unsigned int __ATTRS_o_ai
12967 vec_extract_sig(vector float __a) { in vec_extract_sig()
12971 static __inline__ vector unsigned long long __ATTRS_o_ai
12972 vec_extract_sig (vector double __a) { in vec_extract_sig()
12976 static __inline__ vector float __ATTRS_o_ai
12977 vec_extract_fp32_from_shorth(vector unsigned short __a) { in vec_extract_fp32_from_shorth()
12978 vector unsigned short __b = in vec_extract_fp32_from_shorth()
12987 static __inline__ vector float __ATTRS_o_ai
12988 vec_extract_fp32_from_shortl(vector unsigned short __a) { in vec_extract_fp32_from_shortl()
12989 vector unsigned short __b = in vec_extract_fp32_from_shortl()
13001 static __inline__ vector signed char __ATTRS_o_ai
13002 vec_insert(signed char __a, vector signed char __b, int __c) { in vec_insert()
13007 static __inline__ vector unsigned char __ATTRS_o_ai
13008 vec_insert(unsigned char __a, vector unsigned char __b, int __c) { in vec_insert()
13013 static __inline__ vector bool char __ATTRS_o_ai vec_insert(unsigned char __a, in vec_insert()
13014 vector bool char __b, in vec_insert()
13020 static __inline__ vector signed short __ATTRS_o_ai
13021 vec_insert(signed short __a, vector signed short __b, int __c) { in vec_insert()
13026 static __inline__ vector unsigned short __ATTRS_o_ai
13027 vec_insert(unsigned short __a, vector unsigned short __b, int __c) { in vec_insert()
13032 static __inline__ vector bool short __ATTRS_o_ai
13033 vec_insert(unsigned short __a, vector bool short __b, int __c) { in vec_insert()
13038 static __inline__ vector signed int __ATTRS_o_ai
13039 vec_insert(signed int __a, vector signed int __b, int __c) { in vec_insert()
13044 static __inline__ vector unsigned int __ATTRS_o_ai
13045 vec_insert(unsigned int __a, vector unsigned int __b, int __c) { in vec_insert()
13050 static __inline__ vector bool int __ATTRS_o_ai vec_insert(unsigned int __a, in vec_insert()
13051 vector bool int __b, in vec_insert()
13058 static __inline__ vector signed long long __ATTRS_o_ai
13059 vec_insert(signed long long __a, vector signed long long __b, int __c) { in vec_insert()
13064 static __inline__ vector unsigned long long __ATTRS_o_ai
13065 vec_insert(unsigned long long __a, vector unsigned long long __b, int __c) { in vec_insert()
13070 static __inline__ vector bool long long __ATTRS_o_ai
13071 vec_insert(unsigned long long __a, vector bool long long __b, int __c) { in vec_insert()
13075 static __inline__ vector double __ATTRS_o_ai vec_insert(double __a, in vec_insert()
13076 vector double __b, in vec_insert()
13083 static __inline__ vector float __ATTRS_o_ai vec_insert(float __a, in vec_insert()
13084 vector float __b, in vec_insert()
13092 static __inline__ vector signed char __ATTRS_o_ai
13094 return vec_perm(vec_ld(__a, __b), (vector signed char)(0), in vec_lvlx()
13098 static __inline__ vector signed char __ATTRS_o_ai
13099 vec_lvlx(int __a, const vector signed char *__b) { in vec_lvlx()
13100 return vec_perm(vec_ld(__a, __b), (vector signed char)(0), in vec_lvlx()
13104 static __inline__ vector unsigned char __ATTRS_o_ai
13106 return vec_perm(vec_ld(__a, __b), (vector unsigned char)(0), in vec_lvlx()
13110 static __inline__ vector unsigned char __ATTRS_o_ai
13111 vec_lvlx(int __a, const vector unsigned char *__b) { in vec_lvlx()
13112 return vec_perm(vec_ld(__a, __b), (vector unsigned char)(0), in vec_lvlx()
13116 static __inline__ vector bool char __ATTRS_o_ai
13117 vec_lvlx(int __a, const vector bool char *__b) { in vec_lvlx()
13118 return vec_perm(vec_ld(__a, __b), (vector bool char)(0), in vec_lvlx()
13122 static __inline__ vector short __ATTRS_o_ai vec_lvlx(int __a, in vec_lvlx()
13124 return vec_perm(vec_ld(__a, __b), (vector short)(0), vec_lvsl(__a, __b)); in vec_lvlx()
13127 static __inline__ vector short __ATTRS_o_ai vec_lvlx(int __a, in vec_lvlx()
13128 const vector short *__b) { in vec_lvlx()
13129 return vec_perm(vec_ld(__a, __b), (vector short)(0), in vec_lvlx()
13133 static __inline__ vector unsigned short __ATTRS_o_ai
13135 return vec_perm(vec_ld(__a, __b), (vector unsigned short)(0), in vec_lvlx()
13139 static __inline__ vector unsigned short __ATTRS_o_ai
13140 vec_lvlx(int __a, const vector unsigned short *__b) { in vec_lvlx()
13141 return vec_perm(vec_ld(__a, __b), (vector unsigned short)(0), in vec_lvlx()
13145 static __inline__ vector bool short __ATTRS_o_ai
13146 vec_lvlx(int __a, const vector bool short *__b) { in vec_lvlx()
13147 return vec_perm(vec_ld(__a, __b), (vector bool short)(0), in vec_lvlx()
13151 static __inline__ vector pixel __ATTRS_o_ai vec_lvlx(int __a, in vec_lvlx()
13152 const vector pixel *__b) { in vec_lvlx()
13153 return vec_perm(vec_ld(__a, __b), (vector pixel)(0), in vec_lvlx()
13157 static __inline__ vector int __ATTRS_o_ai vec_lvlx(int __a, const int *__b) { in vec_lvlx()
13158 return vec_perm(vec_ld(__a, __b), (vector int)(0), vec_lvsl(__a, __b)); in vec_lvlx()
13161 static __inline__ vector int __ATTRS_o_ai vec_lvlx(int __a, in vec_lvlx()
13162 const vector int *__b) { in vec_lvlx()
13163 return vec_perm(vec_ld(__a, __b), (vector int)(0), in vec_lvlx()
13167 static __inline__ vector unsigned int __ATTRS_o_ai
13169 return vec_perm(vec_ld(__a, __b), (vector unsigned int)(0), in vec_lvlx()
13173 static __inline__ vector unsigned int __ATTRS_o_ai
13174 vec_lvlx(int __a, const vector unsigned int *__b) { in vec_lvlx()
13175 return vec_perm(vec_ld(__a, __b), (vector unsigned int)(0), in vec_lvlx()
13179 static __inline__ vector bool int __ATTRS_o_ai
13180 vec_lvlx(int __a, const vector bool int *__b) { in vec_lvlx()
13181 return vec_perm(vec_ld(__a, __b), (vector bool int)(0), in vec_lvlx()
13185 static __inline__ vector float __ATTRS_o_ai vec_lvlx(int __a, in vec_lvlx()
13187 return vec_perm(vec_ld(__a, __b), (vector float)(0), vec_lvsl(__a, __b)); in vec_lvlx()
13190 static __inline__ vector float __ATTRS_o_ai vec_lvlx(int __a, in vec_lvlx()
13191 const vector float *__b) { in vec_lvlx()
13192 return vec_perm(vec_ld(__a, __b), (vector float)(0), in vec_lvlx()
13198 static __inline__ vector signed char __ATTRS_o_ai
13200 return vec_perm(vec_ldl(__a, __b), (vector signed char)(0), in vec_lvlxl()
13204 static __inline__ vector signed char __ATTRS_o_ai
13205 vec_lvlxl(int __a, const vector signed char *__b) { in vec_lvlxl()
13206 return vec_perm(vec_ldl(__a, __b), (vector signed char)(0), in vec_lvlxl()
13210 static __inline__ vector unsigned char __ATTRS_o_ai
13212 return vec_perm(vec_ldl(__a, __b), (vector unsigned char)(0), in vec_lvlxl()
13216 static __inline__ vector unsigned char __ATTRS_o_ai
13217 vec_lvlxl(int __a, const vector unsigned char *__b) { in vec_lvlxl()
13218 return vec_perm(vec_ldl(__a, __b), (vector unsigned char)(0), in vec_lvlxl()
13222 static __inline__ vector bool char __ATTRS_o_ai
13223 vec_lvlxl(int __a, const vector bool char *__b) { in vec_lvlxl()
13224 return vec_perm(vec_ldl(__a, __b), (vector bool char)(0), in vec_lvlxl()
13228 static __inline__ vector short __ATTRS_o_ai vec_lvlxl(int __a, in vec_lvlxl()
13230 return vec_perm(vec_ldl(__a, __b), (vector short)(0), vec_lvsl(__a, __b)); in vec_lvlxl()
13233 static __inline__ vector short __ATTRS_o_ai vec_lvlxl(int __a, in vec_lvlxl()
13234 const vector short *__b) { in vec_lvlxl()
13235 return vec_perm(vec_ldl(__a, __b), (vector short)(0), in vec_lvlxl()
13239 static __inline__ vector unsigned short __ATTRS_o_ai
13241 return vec_perm(vec_ldl(__a, __b), (vector unsigned short)(0), in vec_lvlxl()
13245 static __inline__ vector unsigned short __ATTRS_o_ai
13246 vec_lvlxl(int __a, const vector unsigned short *__b) { in vec_lvlxl()
13247 return vec_perm(vec_ldl(__a, __b), (vector unsigned short)(0), in vec_lvlxl()
13251 static __inline__ vector bool short __ATTRS_o_ai
13252 vec_lvlxl(int __a, const vector bool short *__b) { in vec_lvlxl()
13253 return vec_perm(vec_ldl(__a, __b), (vector bool short)(0), in vec_lvlxl()
13257 static __inline__ vector pixel __ATTRS_o_ai vec_lvlxl(int __a, in vec_lvlxl()
13258 const vector pixel *__b) { in vec_lvlxl()
13259 return vec_perm(vec_ldl(__a, __b), (vector pixel)(0), in vec_lvlxl()
13263 static __inline__ vector int __ATTRS_o_ai vec_lvlxl(int __a, const int *__b) { in vec_lvlxl()
13264 return vec_perm(vec_ldl(__a, __b), (vector int)(0), vec_lvsl(__a, __b)); in vec_lvlxl()
13267 static __inline__ vector int __ATTRS_o_ai vec_lvlxl(int __a, in vec_lvlxl()
13268 const vector int *__b) { in vec_lvlxl()
13269 return vec_perm(vec_ldl(__a, __b), (vector int)(0), in vec_lvlxl()
13273 static __inline__ vector unsigned int __ATTRS_o_ai
13275 return vec_perm(vec_ldl(__a, __b), (vector unsigned int)(0), in vec_lvlxl()
13279 static __inline__ vector unsigned int __ATTRS_o_ai
13280 vec_lvlxl(int __a, const vector unsigned int *__b) { in vec_lvlxl()
13281 return vec_perm(vec_ldl(__a, __b), (vector unsigned int)(0), in vec_lvlxl()
13285 static __inline__ vector bool int __ATTRS_o_ai
13286 vec_lvlxl(int __a, const vector bool int *__b) { in vec_lvlxl()
13287 return vec_perm(vec_ldl(__a, __b), (vector bool int)(0), in vec_lvlxl()
13291 static __inline__ vector float __ATTRS_o_ai vec_lvlxl(int __a, in vec_lvlxl()
13293 return vec_perm(vec_ldl(__a, __b), (vector float)(0), vec_lvsl(__a, __b)); in vec_lvlxl()
13296 static __inline__ vector float __ATTRS_o_ai vec_lvlxl(int __a, in vec_lvlxl()
13297 vector float *__b) { in vec_lvlxl()
13298 return vec_perm(vec_ldl(__a, __b), (vector float)(0), in vec_lvlxl()
13304 static __inline__ vector signed char __ATTRS_o_ai
13306 return vec_perm((vector signed char)(0), vec_ld(__a, __b), in vec_lvrx()
13310 static __inline__ vector signed char __ATTRS_o_ai
13311 vec_lvrx(int __a, const vector signed char *__b) { in vec_lvrx()
13312 return vec_perm((vector signed char)(0), vec_ld(__a, __b), in vec_lvrx()
13316 static __inline__ vector unsigned char __ATTRS_o_ai
13318 return vec_perm((vector unsigned char)(0), vec_ld(__a, __b), in vec_lvrx()
13322 static __inline__ vector unsigned char __ATTRS_o_ai
13323 vec_lvrx(int __a, const vector unsigned char *__b) { in vec_lvrx()
13324 return vec_perm((vector unsigned char)(0), vec_ld(__a, __b), in vec_lvrx()
13328 static __inline__ vector bool char __ATTRS_o_ai
13329 vec_lvrx(int __a, const vector bool char *__b) { in vec_lvrx()
13330 return vec_perm((vector bool char)(0), vec_ld(__a, __b), in vec_lvrx()
13334 static __inline__ vector short __ATTRS_o_ai vec_lvrx(int __a, in vec_lvrx()
13336 return vec_perm((vector short)(0), vec_ld(__a, __b), vec_lvsl(__a, __b)); in vec_lvrx()
13339 static __inline__ vector short __ATTRS_o_ai vec_lvrx(int __a, in vec_lvrx()
13340 const vector short *__b) { in vec_lvrx()
13341 return vec_perm((vector short)(0), vec_ld(__a, __b), in vec_lvrx()
13345 static __inline__ vector unsigned short __ATTRS_o_ai
13347 return vec_perm((vector unsigned short)(0), vec_ld(__a, __b), in vec_lvrx()
13351 static __inline__ vector unsigned short __ATTRS_o_ai
13352 vec_lvrx(int __a, const vector unsigned short *__b) { in vec_lvrx()
13353 return vec_perm((vector unsigned short)(0), vec_ld(__a, __b), in vec_lvrx()
13357 static __inline__ vector bool short __ATTRS_o_ai
13358 vec_lvrx(int __a, const vector bool short *__b) { in vec_lvrx()
13359 return vec_perm((vector bool short)(0), vec_ld(__a, __b), in vec_lvrx()
13363 static __inline__ vector pixel __ATTRS_o_ai vec_lvrx(int __a, in vec_lvrx()
13364 const vector pixel *__b) { in vec_lvrx()
13365 return vec_perm((vector pixel)(0), vec_ld(__a, __b), in vec_lvrx()
13369 static __inline__ vector int __ATTRS_o_ai vec_lvrx(int __a, const int *__b) { in vec_lvrx()
13370 return vec_perm((vector int)(0), vec_ld(__a, __b), vec_lvsl(__a, __b)); in vec_lvrx()
13373 static __inline__ vector int __ATTRS_o_ai vec_lvrx(int __a, in vec_lvrx()
13374 const vector int *__b) { in vec_lvrx()
13375 return vec_perm((vector int)(0), vec_ld(__a, __b), in vec_lvrx()
13379 static __inline__ vector unsigned int __ATTRS_o_ai
13381 return vec_perm((vector unsigned int)(0), vec_ld(__a, __b), in vec_lvrx()
13385 static __inline__ vector unsigned int __ATTRS_o_ai
13386 vec_lvrx(int __a, const vector unsigned int *__b) { in vec_lvrx()
13387 return vec_perm((vector unsigned int)(0), vec_ld(__a, __b), in vec_lvrx()
13391 static __inline__ vector bool int __ATTRS_o_ai
13392 vec_lvrx(int __a, const vector bool int *__b) { in vec_lvrx()
13393 return vec_perm((vector bool int)(0), vec_ld(__a, __b), in vec_lvrx()
13397 static __inline__ vector float __ATTRS_o_ai vec_lvrx(int __a, in vec_lvrx()
13399 return vec_perm((vector float)(0), vec_ld(__a, __b), vec_lvsl(__a, __b)); in vec_lvrx()
13402 static __inline__ vector float __ATTRS_o_ai vec_lvrx(int __a, in vec_lvrx()
13403 const vector float *__b) { in vec_lvrx()
13404 return vec_perm((vector float)(0), vec_ld(__a, __b), in vec_lvrx()
13410 static __inline__ vector signed char __ATTRS_o_ai
13412 return vec_perm((vector signed char)(0), vec_ldl(__a, __b), in vec_lvrxl()
13416 static __inline__ vector signed char __ATTRS_o_ai
13417 vec_lvrxl(int __a, const vector signed char *__b) { in vec_lvrxl()
13418 return vec_perm((vector signed char)(0), vec_ldl(__a, __b), in vec_lvrxl()
13422 static __inline__ vector unsigned char __ATTRS_o_ai
13424 return vec_perm((vector unsigned char)(0), vec_ldl(__a, __b), in vec_lvrxl()
13428 static __inline__ vector unsigned char __ATTRS_o_ai
13429 vec_lvrxl(int __a, const vector unsigned char *__b) { in vec_lvrxl()
13430 return vec_perm((vector unsigned char)(0), vec_ldl(__a, __b), in vec_lvrxl()
13434 static __inline__ vector bool char __ATTRS_o_ai
13435 vec_lvrxl(int __a, const vector bool char *__b) { in vec_lvrxl()
13436 return vec_perm((vector bool char)(0), vec_ldl(__a, __b), in vec_lvrxl()
13440 static __inline__ vector short __ATTRS_o_ai vec_lvrxl(int __a, in vec_lvrxl()
13442 return vec_perm((vector short)(0), vec_ldl(__a, __b), vec_lvsl(__a, __b)); in vec_lvrxl()
13445 static __inline__ vector short __ATTRS_o_ai vec_lvrxl(int __a, in vec_lvrxl()
13446 const vector short *__b) { in vec_lvrxl()
13447 return vec_perm((vector short)(0), vec_ldl(__a, __b), in vec_lvrxl()
13451 static __inline__ vector unsigned short __ATTRS_o_ai
13453 return vec_perm((vector unsigned short)(0), vec_ldl(__a, __b), in vec_lvrxl()
13457 static __inline__ vector unsigned short __ATTRS_o_ai
13458 vec_lvrxl(int __a, const vector unsigned short *__b) { in vec_lvrxl()
13459 return vec_perm((vector unsigned short)(0), vec_ldl(__a, __b), in vec_lvrxl()
13463 static __inline__ vector bool short __ATTRS_o_ai
13464 vec_lvrxl(int __a, const vector bool short *__b) { in vec_lvrxl()
13465 return vec_perm((vector bool short)(0), vec_ldl(__a, __b), in vec_lvrxl()
13469 static __inline__ vector pixel __ATTRS_o_ai vec_lvrxl(int __a, in vec_lvrxl()
13470 const vector pixel *__b) { in vec_lvrxl()
13471 return vec_perm((vector pixel)(0), vec_ldl(__a, __b), in vec_lvrxl()
13475 static __inline__ vector int __ATTRS_o_ai vec_lvrxl(int __a, const int *__b) { in vec_lvrxl()
13476 return vec_perm((vector int)(0), vec_ldl(__a, __b), vec_lvsl(__a, __b)); in vec_lvrxl()
13479 static __inline__ vector int __ATTRS_o_ai vec_lvrxl(int __a, in vec_lvrxl()
13480 const vector int *__b) { in vec_lvrxl()
13481 return vec_perm((vector int)(0), vec_ldl(__a, __b), in vec_lvrxl()
13485 static __inline__ vector unsigned int __ATTRS_o_ai
13487 return vec_perm((vector unsigned int)(0), vec_ldl(__a, __b), in vec_lvrxl()
13491 static __inline__ vector unsigned int __ATTRS_o_ai
13492 vec_lvrxl(int __a, const vector unsigned int *__b) { in vec_lvrxl()
13493 return vec_perm((vector unsigned int)(0), vec_ldl(__a, __b), in vec_lvrxl()
13497 static __inline__ vector bool int __ATTRS_o_ai
13498 vec_lvrxl(int __a, const vector bool int *__b) { in vec_lvrxl()
13499 return vec_perm((vector bool int)(0), vec_ldl(__a, __b), in vec_lvrxl()
13503 static __inline__ vector float __ATTRS_o_ai vec_lvrxl(int __a, in vec_lvrxl()
13505 return vec_perm((vector float)(0), vec_ldl(__a, __b), vec_lvsl(__a, __b)); in vec_lvrxl()
13508 static __inline__ vector float __ATTRS_o_ai vec_lvrxl(int __a, in vec_lvrxl()
13509 const vector float *__b) { in vec_lvrxl()
13510 return vec_perm((vector float)(0), vec_ldl(__a, __b), in vec_lvrxl()
13516 static __inline__ void __ATTRS_o_ai vec_stvlx(vector signed char __a, int __b, in vec_stvlx()
13522 static __inline__ void __ATTRS_o_ai vec_stvlx(vector signed char __a, int __b, in vec_stvlx()
13523 vector signed char *__c) { in vec_stvlx()
13529 static __inline__ void __ATTRS_o_ai vec_stvlx(vector unsigned char __a, int __b, in vec_stvlx()
13535 static __inline__ void __ATTRS_o_ai vec_stvlx(vector unsigned char __a, int __b, in vec_stvlx()
13536 vector unsigned char *__c) { in vec_stvlx()
13542 static __inline__ void __ATTRS_o_ai vec_stvlx(vector bool char __a, int __b, in vec_stvlx()
13543 vector bool char *__c) { in vec_stvlx()
13549 static __inline__ void __ATTRS_o_ai vec_stvlx(vector short __a, int __b, in vec_stvlx()
13555 static __inline__ void __ATTRS_o_ai vec_stvlx(vector short __a, int __b, in vec_stvlx()
13556 vector short *__c) { in vec_stvlx()
13562 static __inline__ void __ATTRS_o_ai vec_stvlx(vector unsigned short __a, in vec_stvlx()
13568 static __inline__ void __ATTRS_o_ai vec_stvlx(vector unsigned short __a, in vec_stvlx()
13570 vector unsigned short *__c) { in vec_stvlx()
13576 static __inline__ void __ATTRS_o_ai vec_stvlx(vector bool short __a, int __b, in vec_stvlx()
13577 vector bool short *__c) { in vec_stvlx()
13583 static __inline__ void __ATTRS_o_ai vec_stvlx(vector pixel __a, int __b, in vec_stvlx()
13584 vector pixel *__c) { in vec_stvlx()
13590 static __inline__ void __ATTRS_o_ai vec_stvlx(vector int __a, int __b, in vec_stvlx()
13596 static __inline__ void __ATTRS_o_ai vec_stvlx(vector int __a, int __b, in vec_stvlx()
13597 vector int *__c) { in vec_stvlx()
13603 static __inline__ void __ATTRS_o_ai vec_stvlx(vector unsigned int __a, int __b, in vec_stvlx()
13609 static __inline__ void __ATTRS_o_ai vec_stvlx(vector unsigned int __a, int __b, in vec_stvlx()
13610 vector unsigned int *__c) { in vec_stvlx()
13616 static __inline__ void __ATTRS_o_ai vec_stvlx(vector bool int __a, int __b, in vec_stvlx()
13617 vector bool int *__c) { in vec_stvlx()
13623 static __inline__ void __ATTRS_o_ai vec_stvlx(vector float __a, int __b, in vec_stvlx()
13624 vector float *__c) { in vec_stvlx()
13632 static __inline__ void __ATTRS_o_ai vec_stvlxl(vector signed char __a, int __b, in vec_stvlxl()
13638 static __inline__ void __ATTRS_o_ai vec_stvlxl(vector signed char __a, int __b, in vec_stvlxl()
13639 vector signed char *__c) { in vec_stvlxl()
13645 static __inline__ void __ATTRS_o_ai vec_stvlxl(vector unsigned char __a, in vec_stvlxl()
13651 static __inline__ void __ATTRS_o_ai vec_stvlxl(vector unsigned char __a, in vec_stvlxl()
13653 vector unsigned char *__c) { in vec_stvlxl()
13659 static __inline__ void __ATTRS_o_ai vec_stvlxl(vector bool char __a, int __b, in vec_stvlxl()
13660 vector bool char *__c) { in vec_stvlxl()
13666 static __inline__ void __ATTRS_o_ai vec_stvlxl(vector short __a, int __b, in vec_stvlxl()
13672 static __inline__ void __ATTRS_o_ai vec_stvlxl(vector short __a, int __b, in vec_stvlxl()
13673 vector short *__c) { in vec_stvlxl()
13679 static __inline__ void __ATTRS_o_ai vec_stvlxl(vector unsigned short __a, in vec_stvlxl()
13685 static __inline__ void __ATTRS_o_ai vec_stvlxl(vector unsigned short __a, in vec_stvlxl()
13687 vector unsigned short *__c) { in vec_stvlxl()
13693 static __inline__ void __ATTRS_o_ai vec_stvlxl(vector bool short __a, int __b, in vec_stvlxl()
13694 vector bool short *__c) { in vec_stvlxl()
13700 static __inline__ void __ATTRS_o_ai vec_stvlxl(vector pixel __a, int __b, in vec_stvlxl()
13701 vector pixel *__c) { in vec_stvlxl()
13707 static __inline__ void __ATTRS_o_ai vec_stvlxl(vector int __a, int __b, in vec_stvlxl()
13713 static __inline__ void __ATTRS_o_ai vec_stvlxl(vector int __a, int __b, in vec_stvlxl()
13714 vector int *__c) { in vec_stvlxl()
13720 static __inline__ void __ATTRS_o_ai vec_stvlxl(vector unsigned int __a, int __b, in vec_stvlxl()
13726 static __inline__ void __ATTRS_o_ai vec_stvlxl(vector unsigned int __a, int __b, in vec_stvlxl()
13727 vector unsigned int *__c) { in vec_stvlxl()
13733 static __inline__ void __ATTRS_o_ai vec_stvlxl(vector bool int __a, int __b, in vec_stvlxl()
13734 vector bool int *__c) { in vec_stvlxl()
13740 static __inline__ void __ATTRS_o_ai vec_stvlxl(vector float __a, int __b, in vec_stvlxl()
13741 vector float *__c) { in vec_stvlxl()
13749 static __inline__ void __ATTRS_o_ai vec_stvrx(vector signed char __a, int __b, in vec_stvrx()
13755 static __inline__ void __ATTRS_o_ai vec_stvrx(vector signed char __a, int __b, in vec_stvrx()
13756 vector signed char *__c) { in vec_stvrx()
13762 static __inline__ void __ATTRS_o_ai vec_stvrx(vector unsigned char __a, int __b, in vec_stvrx()
13768 static __inline__ void __ATTRS_o_ai vec_stvrx(vector unsigned char __a, int __b, in vec_stvrx()
13769 vector unsigned char *__c) { in vec_stvrx()
13775 static __inline__ void __ATTRS_o_ai vec_stvrx(vector bool char __a, int __b, in vec_stvrx()
13776 vector bool char *__c) { in vec_stvrx()
13782 static __inline__ void __ATTRS_o_ai vec_stvrx(vector short __a, int __b, in vec_stvrx()
13788 static __inline__ void __ATTRS_o_ai vec_stvrx(vector short __a, int __b, in vec_stvrx()
13789 vector short *__c) { in vec_stvrx()
13795 static __inline__ void __ATTRS_o_ai vec_stvrx(vector unsigned short __a, in vec_stvrx()
13801 static __inline__ void __ATTRS_o_ai vec_stvrx(vector unsigned short __a, in vec_stvrx()
13803 vector unsigned short *__c) { in vec_stvrx()
13809 static __inline__ void __ATTRS_o_ai vec_stvrx(vector bool short __a, int __b, in vec_stvrx()
13810 vector bool short *__c) { in vec_stvrx()
13816 static __inline__ void __ATTRS_o_ai vec_stvrx(vector pixel __a, int __b, in vec_stvrx()
13817 vector pixel *__c) { in vec_stvrx()
13823 static __inline__ void __ATTRS_o_ai vec_stvrx(vector int __a, int __b, in vec_stvrx()
13829 static __inline__ void __ATTRS_o_ai vec_stvrx(vector int __a, int __b, in vec_stvrx()
13830 vector int *__c) { in vec_stvrx()
13836 static __inline__ void __ATTRS_o_ai vec_stvrx(vector unsigned int __a, int __b, in vec_stvrx()
13842 static __inline__ void __ATTRS_o_ai vec_stvrx(vector unsigned int __a, int __b, in vec_stvrx()
13843 vector unsigned int *__c) { in vec_stvrx()
13849 static __inline__ void __ATTRS_o_ai vec_stvrx(vector bool int __a, int __b, in vec_stvrx()
13850 vector bool int *__c) { in vec_stvrx()
13856 static __inline__ void __ATTRS_o_ai vec_stvrx(vector float __a, int __b, in vec_stvrx()
13857 vector float *__c) { in vec_stvrx()
13865 static __inline__ void __ATTRS_o_ai vec_stvrxl(vector signed char __a, int __b, in vec_stvrxl()
13871 static __inline__ void __ATTRS_o_ai vec_stvrxl(vector signed char __a, int __b, in vec_stvrxl()
13872 vector signed char *__c) { in vec_stvrxl()
13878 static __inline__ void __ATTRS_o_ai vec_stvrxl(vector unsigned char __a, in vec_stvrxl()
13884 static __inline__ void __ATTRS_o_ai vec_stvrxl(vector unsigned char __a, in vec_stvrxl()
13886 vector unsigned char *__c) { in vec_stvrxl()
13892 static __inline__ void __ATTRS_o_ai vec_stvrxl(vector bool char __a, int __b, in vec_stvrxl()
13893 vector bool char *__c) { in vec_stvrxl()
13899 static __inline__ void __ATTRS_o_ai vec_stvrxl(vector short __a, int __b, in vec_stvrxl()
13905 static __inline__ void __ATTRS_o_ai vec_stvrxl(vector short __a, int __b, in vec_stvrxl()
13906 vector short *__c) { in vec_stvrxl()
13912 static __inline__ void __ATTRS_o_ai vec_stvrxl(vector unsigned short __a, in vec_stvrxl()
13918 static __inline__ void __ATTRS_o_ai vec_stvrxl(vector unsigned short __a, in vec_stvrxl()
13920 vector unsigned short *__c) { in vec_stvrxl()
13926 static __inline__ void __ATTRS_o_ai vec_stvrxl(vector bool short __a, int __b, in vec_stvrxl()
13927 vector bool short *__c) { in vec_stvrxl()
13933 static __inline__ void __ATTRS_o_ai vec_stvrxl(vector pixel __a, int __b, in vec_stvrxl()
13934 vector pixel *__c) { in vec_stvrxl()
13940 static __inline__ void __ATTRS_o_ai vec_stvrxl(vector int __a, int __b, in vec_stvrxl()
13946 static __inline__ void __ATTRS_o_ai vec_stvrxl(vector int __a, int __b, in vec_stvrxl()
13947 vector int *__c) { in vec_stvrxl()
13953 static __inline__ void __ATTRS_o_ai vec_stvrxl(vector unsigned int __a, int __b, in vec_stvrxl()
13959 static __inline__ void __ATTRS_o_ai vec_stvrxl(vector unsigned int __a, int __b, in vec_stvrxl()
13960 vector unsigned int *__c) { in vec_stvrxl()
13966 static __inline__ void __ATTRS_o_ai vec_stvrxl(vector bool int __a, int __b, in vec_stvrxl()
13967 vector bool int *__c) { in vec_stvrxl()
13973 static __inline__ void __ATTRS_o_ai vec_stvrxl(vector float __a, int __b, in vec_stvrxl()
13974 vector float *__c) { in vec_stvrxl()
13982 static __inline__ vector signed char __ATTRS_o_ai vec_promote(signed char __a, in vec_promote()
13984 vector signed char __res = (vector signed char)(0); in vec_promote()
13989 static __inline__ vector unsigned char __ATTRS_o_ai
13991 vector unsigned char __res = (vector unsigned char)(0); in vec_promote()
13996 static __inline__ vector short __ATTRS_o_ai vec_promote(short __a, int __b) { in vec_promote()
13997 vector short __res = (vector short)(0); in vec_promote()
14002 static __inline__ vector unsigned short __ATTRS_o_ai
14004 vector unsigned short __res = (vector unsigned short)(0); in vec_promote()
14009 static __inline__ vector int __ATTRS_o_ai vec_promote(int __a, int __b) { in vec_promote()
14010 vector int __res = (vector int)(0); in vec_promote()
14015 static __inline__ vector unsigned int __ATTRS_o_ai vec_promote(unsigned int __a, in vec_promote()
14017 vector unsigned int __res = (vector unsigned int)(0); in vec_promote()
14022 static __inline__ vector float __ATTRS_o_ai vec_promote(float __a, int __b) { in vec_promote()
14023 vector float __res = (vector float)(0); in vec_promote()
14030 static __inline__ vector signed char __ATTRS_o_ai vec_splats(signed char __a) { in vec_splats()
14031 return (vector signed char)(__a); in vec_splats()
14034 static __inline__ vector unsigned char __ATTRS_o_ai
14036 return (vector unsigned char)(__a); in vec_splats()
14039 static __inline__ vector short __ATTRS_o_ai vec_splats(short __a) { in vec_splats()
14040 return (vector short)(__a); in vec_splats()
14043 static __inline__ vector unsigned short __ATTRS_o_ai
14045 return (vector unsigned short)(__a); in vec_splats()
14048 static __inline__ vector int __ATTRS_o_ai vec_splats(int __a) { in vec_splats()
14049 return (vector int)(__a); in vec_splats()
14052 static __inline__ vector unsigned int __ATTRS_o_ai
14054 return (vector unsigned int)(__a); in vec_splats()
14058 static __inline__ vector signed long long __ATTRS_o_ai
14060 return (vector signed long long)(__a); in vec_splats()
14063 static __inline__ vector unsigned long long __ATTRS_o_ai
14065 return (vector unsigned long long)(__a); in vec_splats()
14069 static __inline__ vector signed __int128 __ATTRS_o_ai
14071 return (vector signed __int128)(__a); in vec_splats()
14074 static __inline__ vector unsigned __int128 __ATTRS_o_ai
14076 return (vector unsigned __int128)(__a); in vec_splats()
14081 static __inline__ vector double __ATTRS_o_ai vec_splats(double __a) { in vec_splats()
14082 return (vector double)(__a); in vec_splats()
14086 static __inline__ vector float __ATTRS_o_ai vec_splats(float __a) { in vec_splats()
14087 return (vector float)(__a); in vec_splats()
14094 static __inline__ int __ATTRS_o_ai vec_all_eq(vector signed char __a, in vec_all_eq()
14095 vector signed char __b) { in vec_all_eq()
14096 return __builtin_altivec_vcmpequb_p(__CR6_LT, (vector char)__a, in vec_all_eq()
14097 (vector char)__b); in vec_all_eq()
14100 static __inline__ int __ATTRS_o_ai vec_all_eq(vector signed char __a, in vec_all_eq()
14101 vector bool char __b) { in vec_all_eq()
14102 return __builtin_altivec_vcmpequb_p(__CR6_LT, (vector char)__a, in vec_all_eq()
14103 (vector char)__b); in vec_all_eq()
14106 static __inline__ int __ATTRS_o_ai vec_all_eq(vector unsigned char __a, in vec_all_eq()
14107 vector unsigned char __b) { in vec_all_eq()
14108 return __builtin_altivec_vcmpequb_p(__CR6_LT, (vector char)__a, in vec_all_eq()
14109 (vector char)__b); in vec_all_eq()
14112 static __inline__ int __ATTRS_o_ai vec_all_eq(vector unsigned char __a, in vec_all_eq()
14113 vector bool char __b) { in vec_all_eq()
14114 return __builtin_altivec_vcmpequb_p(__CR6_LT, (vector char)__a, in vec_all_eq()
14115 (vector char)__b); in vec_all_eq()
14118 static __inline__ int __ATTRS_o_ai vec_all_eq(vector bool char __a, in vec_all_eq()
14119 vector signed char __b) { in vec_all_eq()
14120 return __builtin_altivec_vcmpequb_p(__CR6_LT, (vector char)__a, in vec_all_eq()
14121 (vector char)__b); in vec_all_eq()
14124 static __inline__ int __ATTRS_o_ai vec_all_eq(vector bool char __a, in vec_all_eq()
14125 vector unsigned char __b) { in vec_all_eq()
14126 return __builtin_altivec_vcmpequb_p(__CR6_LT, (vector char)__a, in vec_all_eq()
14127 (vector char)__b); in vec_all_eq()
14130 static __inline__ int __ATTRS_o_ai vec_all_eq(vector bool char __a, in vec_all_eq()
14131 vector bool char __b) { in vec_all_eq()
14132 return __builtin_altivec_vcmpequb_p(__CR6_LT, (vector char)__a, in vec_all_eq()
14133 (vector char)__b); in vec_all_eq()
14136 static __inline__ int __ATTRS_o_ai vec_all_eq(vector short __a, in vec_all_eq()
14137 vector short __b) { in vec_all_eq()
14141 static __inline__ int __ATTRS_o_ai vec_all_eq(vector short __a, in vec_all_eq()
14142 vector bool short __b) { in vec_all_eq()
14143 return __builtin_altivec_vcmpequh_p(__CR6_LT, __a, (vector short)__b); in vec_all_eq()
14146 static __inline__ int __ATTRS_o_ai vec_all_eq(vector unsigned short __a, in vec_all_eq()
14147 vector unsigned short __b) { in vec_all_eq()
14148 return __builtin_altivec_vcmpequh_p(__CR6_LT, (vector short)__a, in vec_all_eq()
14149 (vector short)__b); in vec_all_eq()
14152 static __inline__ int __ATTRS_o_ai vec_all_eq(vector unsigned short __a, in vec_all_eq()
14153 vector bool short __b) { in vec_all_eq()
14154 return __builtin_altivec_vcmpequh_p(__CR6_LT, (vector short)__a, in vec_all_eq()
14155 (vector short)__b); in vec_all_eq()
14158 static __inline__ int __ATTRS_o_ai vec_all_eq(vector bool short __a, in vec_all_eq()
14159 vector short __b) { in vec_all_eq()
14160 return __builtin_altivec_vcmpequh_p(__CR6_LT, (vector short)__a, in vec_all_eq()
14161 (vector short)__b); in vec_all_eq()
14164 static __inline__ int __ATTRS_o_ai vec_all_eq(vector bool short __a, in vec_all_eq()
14165 vector unsigned short __b) { in vec_all_eq()
14166 return __builtin_altivec_vcmpequh_p(__CR6_LT, (vector short)__a, in vec_all_eq()
14167 (vector short)__b); in vec_all_eq()
14170 static __inline__ int __ATTRS_o_ai vec_all_eq(vector bool short __a, in vec_all_eq()
14171 vector bool short __b) { in vec_all_eq()
14172 return __builtin_altivec_vcmpequh_p(__CR6_LT, (vector short)__a, in vec_all_eq()
14173 (vector short)__b); in vec_all_eq()
14176 static __inline__ int __ATTRS_o_ai vec_all_eq(vector pixel __a, in vec_all_eq()
14177 vector pixel __b) { in vec_all_eq()
14178 return __builtin_altivec_vcmpequh_p(__CR6_LT, (vector short)__a, in vec_all_eq()
14179 (vector short)__b); in vec_all_eq()
14182 static __inline__ int __ATTRS_o_ai vec_all_eq(vector int __a, vector int __b) { in vec_all_eq()
14186 static __inline__ int __ATTRS_o_ai vec_all_eq(vector int __a, in vec_all_eq()
14187 vector bool int __b) { in vec_all_eq()
14188 return __builtin_altivec_vcmpequw_p(__CR6_LT, __a, (vector int)__b); in vec_all_eq()
14191 static __inline__ int __ATTRS_o_ai vec_all_eq(vector unsigned int __a, in vec_all_eq()
14192 vector unsigned int __b) { in vec_all_eq()
14193 return __builtin_altivec_vcmpequw_p(__CR6_LT, (vector int)__a, in vec_all_eq()
14194 (vector int)__b); in vec_all_eq()
14197 static __inline__ int __ATTRS_o_ai vec_all_eq(vector unsigned int __a, in vec_all_eq()
14198 vector bool int __b) { in vec_all_eq()
14199 return __builtin_altivec_vcmpequw_p(__CR6_LT, (vector int)__a, in vec_all_eq()
14200 (vector int)__b); in vec_all_eq()
14203 static __inline__ int __ATTRS_o_ai vec_all_eq(vector bool int __a, in vec_all_eq()
14204 vector int __b) { in vec_all_eq()
14205 return __builtin_altivec_vcmpequw_p(__CR6_LT, (vector int)__a, in vec_all_eq()
14206 (vector int)__b); in vec_all_eq()
14209 static __inline__ int __ATTRS_o_ai vec_all_eq(vector bool int __a, in vec_all_eq()
14210 vector unsigned int __b) { in vec_all_eq()
14211 return __builtin_altivec_vcmpequw_p(__CR6_LT, (vector int)__a, in vec_all_eq()
14212 (vector int)__b); in vec_all_eq()
14215 static __inline__ int __ATTRS_o_ai vec_all_eq(vector bool int __a, in vec_all_eq()
14216 vector bool int __b) { in vec_all_eq()
14217 return __builtin_altivec_vcmpequw_p(__CR6_LT, (vector int)__a, in vec_all_eq()
14218 (vector int)__b); in vec_all_eq()
14222 static __inline__ int __ATTRS_o_ai vec_all_eq(vector signed long long __a, in vec_all_eq()
14223 vector signed long long __b) { in vec_all_eq()
14227 static __inline__ int __ATTRS_o_ai vec_all_eq(vector long long __a, in vec_all_eq()
14228 vector bool long long __b) { in vec_all_eq()
14229 return __builtin_altivec_vcmpequd_p(__CR6_LT, __a, (vector long long)__b); in vec_all_eq()
14232 static __inline__ int __ATTRS_o_ai vec_all_eq(vector unsigned long long __a, in vec_all_eq()
14233 vector unsigned long long __b) { in vec_all_eq()
14234 return __builtin_altivec_vcmpequd_p(__CR6_LT, (vector long long)__a, in vec_all_eq()
14235 (vector long long)__b); in vec_all_eq()
14238 static __inline__ int __ATTRS_o_ai vec_all_eq(vector unsigned long long __a, in vec_all_eq()
14239 vector bool long long __b) { in vec_all_eq()
14240 return __builtin_altivec_vcmpequd_p(__CR6_LT, (vector long long)__a, in vec_all_eq()
14241 (vector long long)__b); in vec_all_eq()
14244 static __inline__ int __ATTRS_o_ai vec_all_eq(vector bool long long __a, in vec_all_eq()
14245 vector long long __b) { in vec_all_eq()
14246 return __builtin_altivec_vcmpequd_p(__CR6_LT, (vector long long)__a, in vec_all_eq()
14247 (vector long long)__b); in vec_all_eq()
14250 static __inline__ int __ATTRS_o_ai vec_all_eq(vector bool long long __a, in vec_all_eq()
14251 vector unsigned long long __b) { in vec_all_eq()
14252 return __builtin_altivec_vcmpequd_p(__CR6_LT, (vector long long)__a, in vec_all_eq()
14253 (vector long long)__b); in vec_all_eq()
14256 static __inline__ int __ATTRS_o_ai vec_all_eq(vector bool long long __a, in vec_all_eq()
14257 vector bool long long __b) { in vec_all_eq()
14258 return __builtin_altivec_vcmpequd_p(__CR6_LT, (vector long long)__a, in vec_all_eq()
14259 (vector long long)__b); in vec_all_eq()
14263 static __inline__ int __ATTRS_o_ai vec_all_eq(vector float __a, in vec_all_eq()
14264 vector float __b) { in vec_all_eq()
14273 static __inline__ int __ATTRS_o_ai vec_all_eq(vector double __a, in vec_all_eq()
14274 vector double __b) { in vec_all_eq()
14280 static __inline__ int __ATTRS_o_ai vec_all_eq(vector signed __int128 __a, in vec_all_eq()
14281 vector signed __int128 __b) { in vec_all_eq()
14285 static __inline__ int __ATTRS_o_ai vec_all_eq(vector unsigned __int128 __a, in vec_all_eq()
14286 vector unsigned __int128 __b) { in vec_all_eq()
14293 static __inline__ int __ATTRS_o_ai vec_all_ge(vector signed char __a, in vec_all_ge()
14294 vector signed char __b) { in vec_all_ge()
14298 static __inline__ int __ATTRS_o_ai vec_all_ge(vector signed char __a, in vec_all_ge()
14299 vector bool char __b) { in vec_all_ge()
14300 return __builtin_altivec_vcmpgtsb_p(__CR6_EQ, (vector signed char)__b, __a); in vec_all_ge()
14303 static __inline__ int __ATTRS_o_ai vec_all_ge(vector unsigned char __a, in vec_all_ge()
14304 vector unsigned char __b) { in vec_all_ge()
14308 static __inline__ int __ATTRS_o_ai vec_all_ge(vector unsigned char __a, in vec_all_ge()
14309 vector bool char __b) { in vec_all_ge()
14310 return __builtin_altivec_vcmpgtub_p(__CR6_EQ, (vector unsigned char)__b, __a); in vec_all_ge()
14313 static __inline__ int __ATTRS_o_ai vec_all_ge(vector bool char __a, in vec_all_ge()
14314 vector signed char __b) { in vec_all_ge()
14315 return __builtin_altivec_vcmpgtub_p(__CR6_EQ, (vector unsigned char)__b, in vec_all_ge()
14316 (vector unsigned char)__a); in vec_all_ge()
14319 static __inline__ int __ATTRS_o_ai vec_all_ge(vector bool char __a, in vec_all_ge()
14320 vector unsigned char __b) { in vec_all_ge()
14321 return __builtin_altivec_vcmpgtub_p(__CR6_EQ, __b, (vector unsigned char)__a); in vec_all_ge()
14324 static __inline__ int __ATTRS_o_ai vec_all_ge(vector bool char __a, in vec_all_ge()
14325 vector bool char __b) { in vec_all_ge()
14326 return __builtin_altivec_vcmpgtub_p(__CR6_EQ, (vector unsigned char)__b, in vec_all_ge()
14327 (vector unsigned char)__a); in vec_all_ge()
14330 static __inline__ int __ATTRS_o_ai vec_all_ge(vector short __a, in vec_all_ge()
14331 vector short __b) { in vec_all_ge()
14335 static __inline__ int __ATTRS_o_ai vec_all_ge(vector short __a, in vec_all_ge()
14336 vector bool short __b) { in vec_all_ge()
14337 return __builtin_altivec_vcmpgtsh_p(__CR6_EQ, (vector short)__b, __a); in vec_all_ge()
14340 static __inline__ int __ATTRS_o_ai vec_all_ge(vector unsigned short __a, in vec_all_ge()
14341 vector unsigned short __b) { in vec_all_ge()
14345 static __inline__ int __ATTRS_o_ai vec_all_ge(vector unsigned short __a, in vec_all_ge()
14346 vector bool short __b) { in vec_all_ge()
14347 return __builtin_altivec_vcmpgtuh_p(__CR6_EQ, (vector unsigned short)__b, in vec_all_ge()
14351 static __inline__ int __ATTRS_o_ai vec_all_ge(vector bool short __a, in vec_all_ge()
14352 vector short __b) { in vec_all_ge()
14353 return __builtin_altivec_vcmpgtuh_p(__CR6_EQ, (vector unsigned short)__b, in vec_all_ge()
14354 (vector unsigned short)__a); in vec_all_ge()
14357 static __inline__ int __ATTRS_o_ai vec_all_ge(vector bool short __a, in vec_all_ge()
14358 vector unsigned short __b) { in vec_all_ge()
14360 (vector unsigned short)__a); in vec_all_ge()
14363 static __inline__ int __ATTRS_o_ai vec_all_ge(vector bool short __a, in vec_all_ge()
14364 vector bool short __b) { in vec_all_ge()
14365 return __builtin_altivec_vcmpgtuh_p(__CR6_EQ, (vector unsigned short)__b, in vec_all_ge()
14366 (vector unsigned short)__a); in vec_all_ge()
14369 static __inline__ int __ATTRS_o_ai vec_all_ge(vector int __a, vector int __b) { in vec_all_ge()
14373 static __inline__ int __ATTRS_o_ai vec_all_ge(vector int __a, in vec_all_ge()
14374 vector bool int __b) { in vec_all_ge()
14375 return __builtin_altivec_vcmpgtsw_p(__CR6_EQ, (vector int)__b, __a); in vec_all_ge()
14378 static __inline__ int __ATTRS_o_ai vec_all_ge(vector unsigned int __a, in vec_all_ge()
14379 vector unsigned int __b) { in vec_all_ge()
14383 static __inline__ int __ATTRS_o_ai vec_all_ge(vector unsigned int __a, in vec_all_ge()
14384 vector bool int __b) { in vec_all_ge()
14385 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ, (vector unsigned int)__b, __a); in vec_all_ge()
14388 static __inline__ int __ATTRS_o_ai vec_all_ge(vector bool int __a, in vec_all_ge()
14389 vector int __b) { in vec_all_ge()
14390 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ, (vector unsigned int)__b, in vec_all_ge()
14391 (vector unsigned int)__a); in vec_all_ge()
14394 static __inline__ int __ATTRS_o_ai vec_all_ge(vector bool int __a, in vec_all_ge()
14395 vector unsigned int __b) { in vec_all_ge()
14396 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ, __b, (vector unsigned int)__a); in vec_all_ge()
14399 static __inline__ int __ATTRS_o_ai vec_all_ge(vector bool int __a, in vec_all_ge()
14400 vector bool int __b) { in vec_all_ge()
14401 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ, (vector unsigned int)__b, in vec_all_ge()
14402 (vector unsigned int)__a); in vec_all_ge()
14406 static __inline__ int __ATTRS_o_ai vec_all_ge(vector signed long long __a, in vec_all_ge()
14407 vector signed long long __b) { in vec_all_ge()
14410 static __inline__ int __ATTRS_o_ai vec_all_ge(vector signed long long __a, in vec_all_ge()
14411 vector bool long long __b) { in vec_all_ge()
14412 return __builtin_altivec_vcmpgtsd_p(__CR6_EQ, (vector signed long long)__b, in vec_all_ge()
14416 static __inline__ int __ATTRS_o_ai vec_all_ge(vector unsigned long long __a, in vec_all_ge()
14417 vector unsigned long long __b) { in vec_all_ge()
14421 static __inline__ int __ATTRS_o_ai vec_all_ge(vector unsigned long long __a, in vec_all_ge()
14422 vector bool long long __b) { in vec_all_ge()
14423 return __builtin_altivec_vcmpgtud_p(__CR6_EQ, (vector unsigned long long)__b, in vec_all_ge()
14427 static __inline__ int __ATTRS_o_ai vec_all_ge(vector bool long long __a, in vec_all_ge()
14428 vector signed long long __b) { in vec_all_ge()
14429 return __builtin_altivec_vcmpgtud_p(__CR6_EQ, (vector unsigned long long)__b, in vec_all_ge()
14430 (vector unsigned long long)__a); in vec_all_ge()
14433 static __inline__ int __ATTRS_o_ai vec_all_ge(vector bool long long __a, in vec_all_ge()
14434 vector unsigned long long __b) { in vec_all_ge()
14436 (vector unsigned long long)__a); in vec_all_ge()
14439 static __inline__ int __ATTRS_o_ai vec_all_ge(vector bool long long __a, in vec_all_ge()
14440 vector bool long long __b) { in vec_all_ge()
14441 return __builtin_altivec_vcmpgtud_p(__CR6_EQ, (vector unsigned long long)__b, in vec_all_ge()
14442 (vector unsigned long long)__a); in vec_all_ge()
14446 static __inline__ int __ATTRS_o_ai vec_all_ge(vector float __a, in vec_all_ge()
14447 vector float __b) { in vec_all_ge()
14456 static __inline__ int __ATTRS_o_ai vec_all_ge(vector double __a, in vec_all_ge()
14457 vector double __b) { in vec_all_ge()
14463 static __inline__ int __ATTRS_o_ai vec_all_ge(vector signed __int128 __a, in vec_all_ge()
14464 vector signed __int128 __b) { in vec_all_ge()
14468 static __inline__ int __ATTRS_o_ai vec_all_ge(vector unsigned __int128 __a, in vec_all_ge()
14469 vector unsigned __int128 __b) { in vec_all_ge()
14476 static __inline__ int __ATTRS_o_ai vec_all_gt(vector signed char __a, in vec_all_gt()
14477 vector signed char __b) { in vec_all_gt()
14481 static __inline__ int __ATTRS_o_ai vec_all_gt(vector signed char __a, in vec_all_gt()
14482 vector bool char __b) { in vec_all_gt()
14483 return __builtin_altivec_vcmpgtsb_p(__CR6_LT, __a, (vector signed char)__b); in vec_all_gt()
14486 static __inline__ int __ATTRS_o_ai vec_all_gt(vector unsigned char __a, in vec_all_gt()
14487 vector unsigned char __b) { in vec_all_gt()
14491 static __inline__ int __ATTRS_o_ai vec_all_gt(vector unsigned char __a, in vec_all_gt()
14492 vector bool char __b) { in vec_all_gt()
14493 return __builtin_altivec_vcmpgtub_p(__CR6_LT, __a, (vector unsigned char)__b); in vec_all_gt()
14496 static __inline__ int __ATTRS_o_ai vec_all_gt(vector bool char __a, in vec_all_gt()
14497 vector signed char __b) { in vec_all_gt()
14498 return __builtin_altivec_vcmpgtub_p(__CR6_LT, (vector unsigned char)__a, in vec_all_gt()
14499 (vector unsigned char)__b); in vec_all_gt()
14502 static __inline__ int __ATTRS_o_ai vec_all_gt(vector bool char __a, in vec_all_gt()
14503 vector unsigned char __b) { in vec_all_gt()
14504 return __builtin_altivec_vcmpgtub_p(__CR6_LT, (vector unsigned char)__a, __b); in vec_all_gt()
14507 static __inline__ int __ATTRS_o_ai vec_all_gt(vector bool char __a, in vec_all_gt()
14508 vector bool char __b) { in vec_all_gt()
14509 return __builtin_altivec_vcmpgtub_p(__CR6_LT, (vector unsigned char)__a, in vec_all_gt()
14510 (vector unsigned char)__b); in vec_all_gt()
14513 static __inline__ int __ATTRS_o_ai vec_all_gt(vector short __a, in vec_all_gt()
14514 vector short __b) { in vec_all_gt()
14518 static __inline__ int __ATTRS_o_ai vec_all_gt(vector short __a, in vec_all_gt()
14519 vector bool short __b) { in vec_all_gt()
14520 return __builtin_altivec_vcmpgtsh_p(__CR6_LT, __a, (vector short)__b); in vec_all_gt()
14523 static __inline__ int __ATTRS_o_ai vec_all_gt(vector unsigned short __a, in vec_all_gt()
14524 vector unsigned short __b) { in vec_all_gt()
14528 static __inline__ int __ATTRS_o_ai vec_all_gt(vector unsigned short __a, in vec_all_gt()
14529 vector bool short __b) { in vec_all_gt()
14531 (vector unsigned short)__b); in vec_all_gt()
14534 static __inline__ int __ATTRS_o_ai vec_all_gt(vector bool short __a, in vec_all_gt()
14535 vector short __b) { in vec_all_gt()
14536 return __builtin_altivec_vcmpgtuh_p(__CR6_LT, (vector unsigned short)__a, in vec_all_gt()
14537 (vector unsigned short)__b); in vec_all_gt()
14540 static __inline__ int __ATTRS_o_ai vec_all_gt(vector bool short __a, in vec_all_gt()
14541 vector unsigned short __b) { in vec_all_gt()
14542 return __builtin_altivec_vcmpgtuh_p(__CR6_LT, (vector unsigned short)__a, in vec_all_gt()
14546 static __inline__ int __ATTRS_o_ai vec_all_gt(vector bool short __a, in vec_all_gt()
14547 vector bool short __b) { in vec_all_gt()
14548 return __builtin_altivec_vcmpgtuh_p(__CR6_LT, (vector unsigned short)__a, in vec_all_gt()
14549 (vector unsigned short)__b); in vec_all_gt()
14552 static __inline__ int __ATTRS_o_ai vec_all_gt(vector int __a, vector int __b) { in vec_all_gt()
14556 static __inline__ int __ATTRS_o_ai vec_all_gt(vector int __a, in vec_all_gt()
14557 vector bool int __b) { in vec_all_gt()
14558 return __builtin_altivec_vcmpgtsw_p(__CR6_LT, __a, (vector int)__b); in vec_all_gt()
14561 static __inline__ int __ATTRS_o_ai vec_all_gt(vector unsigned int __a, in vec_all_gt()
14562 vector unsigned int __b) { in vec_all_gt()
14566 static __inline__ int __ATTRS_o_ai vec_all_gt(vector unsigned int __a, in vec_all_gt()
14567 vector bool int __b) { in vec_all_gt()
14568 return __builtin_altivec_vcmpgtuw_p(__CR6_LT, __a, (vector unsigned int)__b); in vec_all_gt()
14571 static __inline__ int __ATTRS_o_ai vec_all_gt(vector bool int __a, in vec_all_gt()
14572 vector int __b) { in vec_all_gt()
14573 return __builtin_altivec_vcmpgtuw_p(__CR6_LT, (vector unsigned int)__a, in vec_all_gt()
14574 (vector unsigned int)__b); in vec_all_gt()
14577 static __inline__ int __ATTRS_o_ai vec_all_gt(vector bool int __a, in vec_all_gt()
14578 vector unsigned int __b) { in vec_all_gt()
14579 return __builtin_altivec_vcmpgtuw_p(__CR6_LT, (vector unsigned int)__a, __b); in vec_all_gt()
14582 static __inline__ int __ATTRS_o_ai vec_all_gt(vector bool int __a, in vec_all_gt()
14583 vector bool int __b) { in vec_all_gt()
14584 return __builtin_altivec_vcmpgtuw_p(__CR6_LT, (vector unsigned int)__a, in vec_all_gt()
14585 (vector unsigned int)__b); in vec_all_gt()
14589 static __inline__ int __ATTRS_o_ai vec_all_gt(vector signed long long __a, in vec_all_gt()
14590 vector signed long long __b) { in vec_all_gt()
14593 static __inline__ int __ATTRS_o_ai vec_all_gt(vector signed long long __a, in vec_all_gt()
14594 vector bool long long __b) { in vec_all_gt()
14596 (vector signed long long)__b); in vec_all_gt()
14599 static __inline__ int __ATTRS_o_ai vec_all_gt(vector unsigned long long __a, in vec_all_gt()
14600 vector unsigned long long __b) { in vec_all_gt()
14604 static __inline__ int __ATTRS_o_ai vec_all_gt(vector unsigned long long __a, in vec_all_gt()
14605 vector bool long long __b) { in vec_all_gt()
14607 (vector unsigned long long)__b); in vec_all_gt()
14610 static __inline__ int __ATTRS_o_ai vec_all_gt(vector bool long long __a, in vec_all_gt()
14611 vector signed long long __b) { in vec_all_gt()
14612 return __builtin_altivec_vcmpgtud_p(__CR6_LT, (vector unsigned long long)__a, in vec_all_gt()
14613 (vector unsigned long long)__b); in vec_all_gt()
14616 static __inline__ int __ATTRS_o_ai vec_all_gt(vector bool long long __a, in vec_all_gt()
14617 vector unsigned long long __b) { in vec_all_gt()
14618 return __builtin_altivec_vcmpgtud_p(__CR6_LT, (vector unsigned long long)__a, in vec_all_gt()
14622 static __inline__ int __ATTRS_o_ai vec_all_gt(vector bool long long __a, in vec_all_gt()
14623 vector bool long long __b) { in vec_all_gt()
14624 return __builtin_altivec_vcmpgtud_p(__CR6_LT, (vector unsigned long long)__a, in vec_all_gt()
14625 (vector unsigned long long)__b); in vec_all_gt()
14629 static __inline__ int __ATTRS_o_ai vec_all_gt(vector float __a, in vec_all_gt()
14630 vector float __b) { in vec_all_gt()
14639 static __inline__ int __ATTRS_o_ai vec_all_gt(vector double __a, in vec_all_gt()
14640 vector double __b) { in vec_all_gt()
14646 static __inline__ int __ATTRS_o_ai vec_all_gt(vector signed __int128 __a, in vec_all_gt()
14647 vector signed __int128 __b) { in vec_all_gt()
14651 static __inline__ int __ATTRS_o_ai vec_all_gt(vector unsigned __int128 __a, in vec_all_gt()
14652 vector unsigned __int128 __b) { in vec_all_gt()
14660 vec_all_in(vector float __a, vector float __b) { in vec_all_in()
14666 static __inline__ int __ATTRS_o_ai vec_all_le(vector signed char __a, in vec_all_le()
14667 vector signed char __b) { in vec_all_le()
14671 static __inline__ int __ATTRS_o_ai vec_all_le(vector signed char __a, in vec_all_le()
14672 vector bool char __b) { in vec_all_le()
14673 return __builtin_altivec_vcmpgtsb_p(__CR6_EQ, __a, (vector signed char)__b); in vec_all_le()
14676 static __inline__ int __ATTRS_o_ai vec_all_le(vector unsigned char __a, in vec_all_le()
14677 vector unsigned char __b) { in vec_all_le()
14681 static __inline__ int __ATTRS_o_ai vec_all_le(vector unsigned char __a, in vec_all_le()
14682 vector bool char __b) { in vec_all_le()
14683 return __builtin_altivec_vcmpgtub_p(__CR6_EQ, __a, (vector unsigned char)__b); in vec_all_le()
14686 static __inline__ int __ATTRS_o_ai vec_all_le(vector bool char __a, in vec_all_le()
14687 vector signed char __b) { in vec_all_le()
14688 return __builtin_altivec_vcmpgtub_p(__CR6_EQ, (vector unsigned char)__a, in vec_all_le()
14689 (vector unsigned char)__b); in vec_all_le()
14692 static __inline__ int __ATTRS_o_ai vec_all_le(vector bool char __a, in vec_all_le()
14693 vector unsigned char __b) { in vec_all_le()
14694 return __builtin_altivec_vcmpgtub_p(__CR6_EQ, (vector unsigned char)__a, __b); in vec_all_le()
14697 static __inline__ int __ATTRS_o_ai vec_all_le(vector bool char __a, in vec_all_le()
14698 vector bool char __b) { in vec_all_le()
14699 return __builtin_altivec_vcmpgtub_p(__CR6_EQ, (vector unsigned char)__a, in vec_all_le()
14700 (vector unsigned char)__b); in vec_all_le()
14703 static __inline__ int __ATTRS_o_ai vec_all_le(vector short __a, in vec_all_le()
14704 vector short __b) { in vec_all_le()
14708 static __inline__ int __ATTRS_o_ai vec_all_le(vector short __a, in vec_all_le()
14709 vector bool short __b) { in vec_all_le()
14710 return __builtin_altivec_vcmpgtsh_p(__CR6_EQ, __a, (vector short)__b); in vec_all_le()
14713 static __inline__ int __ATTRS_o_ai vec_all_le(vector unsigned short __a, in vec_all_le()
14714 vector unsigned short __b) { in vec_all_le()
14718 static __inline__ int __ATTRS_o_ai vec_all_le(vector unsigned short __a, in vec_all_le()
14719 vector bool short __b) { in vec_all_le()
14721 (vector unsigned short)__b); in vec_all_le()
14724 static __inline__ int __ATTRS_o_ai vec_all_le(vector bool short __a, in vec_all_le()
14725 vector short __b) { in vec_all_le()
14726 return __builtin_altivec_vcmpgtuh_p(__CR6_EQ, (vector unsigned short)__a, in vec_all_le()
14727 (vector unsigned short)__b); in vec_all_le()
14730 static __inline__ int __ATTRS_o_ai vec_all_le(vector bool short __a, in vec_all_le()
14731 vector unsigned short __b) { in vec_all_le()
14732 return __builtin_altivec_vcmpgtuh_p(__CR6_EQ, (vector unsigned short)__a, in vec_all_le()
14736 static __inline__ int __ATTRS_o_ai vec_all_le(vector bool short __a, in vec_all_le()
14737 vector bool short __b) { in vec_all_le()
14738 return __builtin_altivec_vcmpgtuh_p(__CR6_EQ, (vector unsigned short)__a, in vec_all_le()
14739 (vector unsigned short)__b); in vec_all_le()
14742 static __inline__ int __ATTRS_o_ai vec_all_le(vector int __a, vector int __b) { in vec_all_le()
14746 static __inline__ int __ATTRS_o_ai vec_all_le(vector int __a, in vec_all_le()
14747 vector bool int __b) { in vec_all_le()
14748 return __builtin_altivec_vcmpgtsw_p(__CR6_EQ, __a, (vector int)__b); in vec_all_le()
14751 static __inline__ int __ATTRS_o_ai vec_all_le(vector unsigned int __a, in vec_all_le()
14752 vector unsigned int __b) { in vec_all_le()
14756 static __inline__ int __ATTRS_o_ai vec_all_le(vector unsigned int __a, in vec_all_le()
14757 vector bool int __b) { in vec_all_le()
14758 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ, __a, (vector unsigned int)__b); in vec_all_le()
14761 static __inline__ int __ATTRS_o_ai vec_all_le(vector bool int __a, in vec_all_le()
14762 vector int __b) { in vec_all_le()
14763 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ, (vector unsigned int)__a, in vec_all_le()
14764 (vector unsigned int)__b); in vec_all_le()
14767 static __inline__ int __ATTRS_o_ai vec_all_le(vector bool int __a, in vec_all_le()
14768 vector unsigned int __b) { in vec_all_le()
14769 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ, (vector unsigned int)__a, __b); in vec_all_le()
14772 static __inline__ int __ATTRS_o_ai vec_all_le(vector bool int __a, in vec_all_le()
14773 vector bool int __b) { in vec_all_le()
14774 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ, (vector unsigned int)__a, in vec_all_le()
14775 (vector unsigned int)__b); in vec_all_le()
14779 static __inline__ int __ATTRS_o_ai vec_all_le(vector signed long long __a, in vec_all_le()
14780 vector signed long long __b) { in vec_all_le()
14784 static __inline__ int __ATTRS_o_ai vec_all_le(vector unsigned long long __a, in vec_all_le()
14785 vector unsigned long long __b) { in vec_all_le()
14789 static __inline__ int __ATTRS_o_ai vec_all_le(vector signed long long __a, in vec_all_le()
14790 vector bool long long __b) { in vec_all_le()
14792 (vector signed long long)__b); in vec_all_le()
14795 static __inline__ int __ATTRS_o_ai vec_all_le(vector unsigned long long __a, in vec_all_le()
14796 vector bool long long __b) { in vec_all_le()
14798 (vector unsigned long long)__b); in vec_all_le()
14801 static __inline__ int __ATTRS_o_ai vec_all_le(vector bool long long __a, in vec_all_le()
14802 vector signed long long __b) { in vec_all_le()
14803 return __builtin_altivec_vcmpgtud_p(__CR6_EQ, (vector unsigned long long)__a, in vec_all_le()
14804 (vector unsigned long long)__b); in vec_all_le()
14807 static __inline__ int __ATTRS_o_ai vec_all_le(vector bool long long __a, in vec_all_le()
14808 vector unsigned long long __b) { in vec_all_le()
14809 return __builtin_altivec_vcmpgtud_p(__CR6_EQ, (vector unsigned long long)__a, in vec_all_le()
14813 static __inline__ int __ATTRS_o_ai vec_all_le(vector bool long long __a, in vec_all_le()
14814 vector bool long long __b) { in vec_all_le()
14815 return __builtin_altivec_vcmpgtud_p(__CR6_EQ, (vector unsigned long long)__a, in vec_all_le()
14816 (vector unsigned long long)__b); in vec_all_le()
14820 static __inline__ int __ATTRS_o_ai vec_all_le(vector float __a, in vec_all_le()
14821 vector float __b) { in vec_all_le()
14830 static __inline__ int __ATTRS_o_ai vec_all_le(vector double __a, in vec_all_le()
14831 vector double __b) { in vec_all_le()
14837 static __inline__ int __ATTRS_o_ai vec_all_le(vector signed __int128 __a, in vec_all_le()
14838 vector signed __int128 __b) { in vec_all_le()
14842 static __inline__ int __ATTRS_o_ai vec_all_le(vector unsigned __int128 __a, in vec_all_le()
14843 vector unsigned __int128 __b) { in vec_all_le()
14850 static __inline__ int __ATTRS_o_ai vec_all_lt(vector signed char __a, in vec_all_lt()
14851 vector signed char __b) { in vec_all_lt()
14855 static __inline__ int __ATTRS_o_ai vec_all_lt(vector signed char __a, in vec_all_lt()
14856 vector bool char __b) { in vec_all_lt()
14857 return __builtin_altivec_vcmpgtsb_p(__CR6_LT, (vector signed char)__b, __a); in vec_all_lt()
14860 static __inline__ int __ATTRS_o_ai vec_all_lt(vector unsigned char __a, in vec_all_lt()
14861 vector unsigned char __b) { in vec_all_lt()
14865 static __inline__ int __ATTRS_o_ai vec_all_lt(vector unsigned char __a, in vec_all_lt()
14866 vector bool char __b) { in vec_all_lt()
14867 return __builtin_altivec_vcmpgtub_p(__CR6_LT, (vector unsigned char)__b, __a); in vec_all_lt()
14870 static __inline__ int __ATTRS_o_ai vec_all_lt(vector bool char __a, in vec_all_lt()
14871 vector signed char __b) { in vec_all_lt()
14872 return __builtin_altivec_vcmpgtub_p(__CR6_LT, (vector unsigned char)__b, in vec_all_lt()
14873 (vector unsigned char)__a); in vec_all_lt()
14876 static __inline__ int __ATTRS_o_ai vec_all_lt(vector bool char __a, in vec_all_lt()
14877 vector unsigned char __b) { in vec_all_lt()
14878 return __builtin_altivec_vcmpgtub_p(__CR6_LT, __b, (vector unsigned char)__a); in vec_all_lt()
14881 static __inline__ int __ATTRS_o_ai vec_all_lt(vector bool char __a, in vec_all_lt()
14882 vector bool char __b) { in vec_all_lt()
14883 return __builtin_altivec_vcmpgtub_p(__CR6_LT, (vector unsigned char)__b, in vec_all_lt()
14884 (vector unsigned char)__a); in vec_all_lt()
14887 static __inline__ int __ATTRS_o_ai vec_all_lt(vector short __a, in vec_all_lt()
14888 vector short __b) { in vec_all_lt()
14892 static __inline__ int __ATTRS_o_ai vec_all_lt(vector short __a, in vec_all_lt()
14893 vector bool short __b) { in vec_all_lt()
14894 return __builtin_altivec_vcmpgtsh_p(__CR6_LT, (vector short)__b, __a); in vec_all_lt()
14897 static __inline__ int __ATTRS_o_ai vec_all_lt(vector unsigned short __a, in vec_all_lt()
14898 vector unsigned short __b) { in vec_all_lt()
14902 static __inline__ int __ATTRS_o_ai vec_all_lt(vector unsigned short __a, in vec_all_lt()
14903 vector bool short __b) { in vec_all_lt()
14904 return __builtin_altivec_vcmpgtuh_p(__CR6_LT, (vector unsigned short)__b, in vec_all_lt()
14908 static __inline__ int __ATTRS_o_ai vec_all_lt(vector bool short __a, in vec_all_lt()
14909 vector short __b) { in vec_all_lt()
14910 return __builtin_altivec_vcmpgtuh_p(__CR6_LT, (vector unsigned short)__b, in vec_all_lt()
14911 (vector unsigned short)__a); in vec_all_lt()
14914 static __inline__ int __ATTRS_o_ai vec_all_lt(vector bool short __a, in vec_all_lt()
14915 vector unsigned short __b) { in vec_all_lt()
14917 (vector unsigned short)__a); in vec_all_lt()
14920 static __inline__ int __ATTRS_o_ai vec_all_lt(vector bool short __a, in vec_all_lt()
14921 vector bool short __b) { in vec_all_lt()
14922 return __builtin_altivec_vcmpgtuh_p(__CR6_LT, (vector unsigned short)__b, in vec_all_lt()
14923 (vector unsigned short)__a); in vec_all_lt()
14926 static __inline__ int __ATTRS_o_ai vec_all_lt(vector int __a, vector int __b) { in vec_all_lt()
14930 static __inline__ int __ATTRS_o_ai vec_all_lt(vector int __a, in vec_all_lt()
14931 vector bool int __b) { in vec_all_lt()
14932 return __builtin_altivec_vcmpgtsw_p(__CR6_LT, (vector int)__b, __a); in vec_all_lt()
14935 static __inline__ int __ATTRS_o_ai vec_all_lt(vector unsigned int __a, in vec_all_lt()
14936 vector unsigned int __b) { in vec_all_lt()
14940 static __inline__ int __ATTRS_o_ai vec_all_lt(vector unsigned int __a, in vec_all_lt()
14941 vector bool int __b) { in vec_all_lt()
14942 return __builtin_altivec_vcmpgtuw_p(__CR6_LT, (vector unsigned int)__b, __a); in vec_all_lt()
14945 static __inline__ int __ATTRS_o_ai vec_all_lt(vector bool int __a, in vec_all_lt()
14946 vector int __b) { in vec_all_lt()
14947 return __builtin_altivec_vcmpgtuw_p(__CR6_LT, (vector unsigned int)__b, in vec_all_lt()
14948 (vector unsigned int)__a); in vec_all_lt()
14951 static __inline__ int __ATTRS_o_ai vec_all_lt(vector bool int __a, in vec_all_lt()
14952 vector unsigned int __b) { in vec_all_lt()
14953 return __builtin_altivec_vcmpgtuw_p(__CR6_LT, __b, (vector unsigned int)__a); in vec_all_lt()
14956 static __inline__ int __ATTRS_o_ai vec_all_lt(vector bool int __a, in vec_all_lt()
14957 vector bool int __b) { in vec_all_lt()
14958 return __builtin_altivec_vcmpgtuw_p(__CR6_LT, (vector unsigned int)__b, in vec_all_lt()
14959 (vector unsigned int)__a); in vec_all_lt()
14963 static __inline__ int __ATTRS_o_ai vec_all_lt(vector signed long long __a, in vec_all_lt()
14964 vector signed long long __b) { in vec_all_lt()
14968 static __inline__ int __ATTRS_o_ai vec_all_lt(vector unsigned long long __a, in vec_all_lt()
14969 vector unsigned long long __b) { in vec_all_lt()
14973 static __inline__ int __ATTRS_o_ai vec_all_lt(vector signed long long __a, in vec_all_lt()
14974 vector bool long long __b) { in vec_all_lt()
14975 return __builtin_altivec_vcmpgtsd_p(__CR6_LT, (vector signed long long)__b, in vec_all_lt()
14979 static __inline__ int __ATTRS_o_ai vec_all_lt(vector unsigned long long __a, in vec_all_lt()
14980 vector bool long long __b) { in vec_all_lt()
14981 return __builtin_altivec_vcmpgtud_p(__CR6_LT, (vector unsigned long long)__b, in vec_all_lt()
14985 static __inline__ int __ATTRS_o_ai vec_all_lt(vector bool long long __a, in vec_all_lt()
14986 vector signed long long __b) { in vec_all_lt()
14987 return __builtin_altivec_vcmpgtud_p(__CR6_LT, (vector unsigned long long)__b, in vec_all_lt()
14988 (vector unsigned long long)__a); in vec_all_lt()
14991 static __inline__ int __ATTRS_o_ai vec_all_lt(vector bool long long __a, in vec_all_lt()
14992 vector unsigned long long __b) { in vec_all_lt()
14994 (vector unsigned long long)__a); in vec_all_lt()
14997 static __inline__ int __ATTRS_o_ai vec_all_lt(vector bool long long __a, in vec_all_lt()
14998 vector bool long long __b) { in vec_all_lt()
14999 return __builtin_altivec_vcmpgtud_p(__CR6_LT, (vector unsigned long long)__b, in vec_all_lt()
15000 (vector unsigned long long)__a); in vec_all_lt()
15004 static __inline__ int __ATTRS_o_ai vec_all_lt(vector float __a, in vec_all_lt()
15005 vector float __b) { in vec_all_lt()
15014 static __inline__ int __ATTRS_o_ai vec_all_lt(vector double __a, in vec_all_lt()
15015 vector double __b) { in vec_all_lt()
15021 static __inline__ int __ATTRS_o_ai vec_all_lt(vector signed __int128 __a, in vec_all_lt()
15022 vector signed __int128 __b) { in vec_all_lt()
15026 static __inline__ int __ATTRS_o_ai vec_all_lt(vector unsigned __int128 __a, in vec_all_lt()
15027 vector unsigned __int128 __b) { in vec_all_lt()
15034 static __inline__ int __ATTRS_o_ai vec_all_nan(vector float __a) { in vec_all_nan()
15043 static __inline__ int __ATTRS_o_ai vec_all_nan(vector double __a) { in vec_all_nan()
15050 static __inline__ int __ATTRS_o_ai vec_all_ne(vector signed char __a, in vec_all_ne()
15051 vector signed char __b) { in vec_all_ne()
15052 return __builtin_altivec_vcmpequb_p(__CR6_EQ, (vector char)__a, in vec_all_ne()
15053 (vector char)__b); in vec_all_ne()
15056 static __inline__ int __ATTRS_o_ai vec_all_ne(vector signed char __a, in vec_all_ne()
15057 vector bool char __b) { in vec_all_ne()
15058 return __builtin_altivec_vcmpequb_p(__CR6_EQ, (vector char)__a, in vec_all_ne()
15059 (vector char)__b); in vec_all_ne()
15062 static __inline__ int __ATTRS_o_ai vec_all_ne(vector unsigned char __a, in vec_all_ne()
15063 vector unsigned char __b) { in vec_all_ne()
15064 return __builtin_altivec_vcmpequb_p(__CR6_EQ, (vector char)__a, in vec_all_ne()
15065 (vector char)__b); in vec_all_ne()
15068 static __inline__ int __ATTRS_o_ai vec_all_ne(vector unsigned char __a, in vec_all_ne()
15069 vector bool char __b) { in vec_all_ne()
15070 return __builtin_altivec_vcmpequb_p(__CR6_EQ, (vector char)__a, in vec_all_ne()
15071 (vector char)__b); in vec_all_ne()
15074 static __inline__ int __ATTRS_o_ai vec_all_ne(vector bool char __a, in vec_all_ne()
15075 vector signed char __b) { in vec_all_ne()
15076 return __builtin_altivec_vcmpequb_p(__CR6_EQ, (vector char)__a, in vec_all_ne()
15077 (vector char)__b); in vec_all_ne()
15080 static __inline__ int __ATTRS_o_ai vec_all_ne(vector bool char __a, in vec_all_ne()
15081 vector unsigned char __b) { in vec_all_ne()
15082 return __builtin_altivec_vcmpequb_p(__CR6_EQ, (vector char)__a, in vec_all_ne()
15083 (vector char)__b); in vec_all_ne()
15086 static __inline__ int __ATTRS_o_ai vec_all_ne(vector bool char __a, in vec_all_ne()
15087 vector bool char __b) { in vec_all_ne()
15088 return __builtin_altivec_vcmpequb_p(__CR6_EQ, (vector char)__a, in vec_all_ne()
15089 (vector char)__b); in vec_all_ne()
15092 static __inline__ int __ATTRS_o_ai vec_all_ne(vector short __a, in vec_all_ne()
15093 vector short __b) { in vec_all_ne()
15097 static __inline__ int __ATTRS_o_ai vec_all_ne(vector short __a, in vec_all_ne()
15098 vector bool short __b) { in vec_all_ne()
15099 return __builtin_altivec_vcmpequh_p(__CR6_EQ, __a, (vector short)__b); in vec_all_ne()
15102 static __inline__ int __ATTRS_o_ai vec_all_ne(vector unsigned short __a, in vec_all_ne()
15103 vector unsigned short __b) { in vec_all_ne()
15104 return __builtin_altivec_vcmpequh_p(__CR6_EQ, (vector short)__a, in vec_all_ne()
15105 (vector short)__b); in vec_all_ne()
15108 static __inline__ int __ATTRS_o_ai vec_all_ne(vector unsigned short __a, in vec_all_ne()
15109 vector bool short __b) { in vec_all_ne()
15110 return __builtin_altivec_vcmpequh_p(__CR6_EQ, (vector short)__a, in vec_all_ne()
15111 (vector short)__b); in vec_all_ne()
15114 static __inline__ int __ATTRS_o_ai vec_all_ne(vector bool short __a, in vec_all_ne()
15115 vector short __b) { in vec_all_ne()
15116 return __builtin_altivec_vcmpequh_p(__CR6_EQ, (vector short)__a, in vec_all_ne()
15117 (vector short)__b); in vec_all_ne()
15120 static __inline__ int __ATTRS_o_ai vec_all_ne(vector bool short __a, in vec_all_ne()
15121 vector unsigned short __b) { in vec_all_ne()
15122 return __builtin_altivec_vcmpequh_p(__CR6_EQ, (vector short)__a, in vec_all_ne()
15123 (vector short)__b); in vec_all_ne()
15126 static __inline__ int __ATTRS_o_ai vec_all_ne(vector bool short __a, in vec_all_ne()
15127 vector bool short __b) { in vec_all_ne()
15128 return __builtin_altivec_vcmpequh_p(__CR6_EQ, (vector short)__a, in vec_all_ne()
15129 (vector short)__b); in vec_all_ne()
15132 static __inline__ int __ATTRS_o_ai vec_all_ne(vector pixel __a, in vec_all_ne()
15133 vector pixel __b) { in vec_all_ne()
15134 return __builtin_altivec_vcmpequh_p(__CR6_EQ, (vector short)__a, in vec_all_ne()
15135 (vector short)__b); in vec_all_ne()
15138 static __inline__ int __ATTRS_o_ai vec_all_ne(vector int __a, vector int __b) { in vec_all_ne()
15142 static __inline__ int __ATTRS_o_ai vec_all_ne(vector int __a, in vec_all_ne()
15143 vector bool int __b) { in vec_all_ne()
15144 return __builtin_altivec_vcmpequw_p(__CR6_EQ, __a, (vector int)__b); in vec_all_ne()
15147 static __inline__ int __ATTRS_o_ai vec_all_ne(vector unsigned int __a, in vec_all_ne()
15148 vector unsigned int __b) { in vec_all_ne()
15149 return __builtin_altivec_vcmpequw_p(__CR6_EQ, (vector int)__a, in vec_all_ne()
15150 (vector int)__b); in vec_all_ne()
15153 static __inline__ int __ATTRS_o_ai vec_all_ne(vector unsigned int __a, in vec_all_ne()
15154 vector bool int __b) { in vec_all_ne()
15155 return __builtin_altivec_vcmpequw_p(__CR6_EQ, (vector int)__a, in vec_all_ne()
15156 (vector int)__b); in vec_all_ne()
15159 static __inline__ int __ATTRS_o_ai vec_all_ne(vector bool int __a, in vec_all_ne()
15160 vector int __b) { in vec_all_ne()
15161 return __builtin_altivec_vcmpequw_p(__CR6_EQ, (vector int)__a, in vec_all_ne()
15162 (vector int)__b); in vec_all_ne()
15165 static __inline__ int __ATTRS_o_ai vec_all_ne(vector bool int __a, in vec_all_ne()
15166 vector unsigned int __b) { in vec_all_ne()
15167 return __builtin_altivec_vcmpequw_p(__CR6_EQ, (vector int)__a, in vec_all_ne()
15168 (vector int)__b); in vec_all_ne()
15171 static __inline__ int __ATTRS_o_ai vec_all_ne(vector bool int __a, in vec_all_ne()
15172 vector bool int __b) { in vec_all_ne()
15173 return __builtin_altivec_vcmpequw_p(__CR6_EQ, (vector int)__a, in vec_all_ne()
15174 (vector int)__b); in vec_all_ne()
15178 static __inline__ int __ATTRS_o_ai vec_all_ne(vector signed long long __a, in vec_all_ne()
15179 vector signed long long __b) { in vec_all_ne()
15183 static __inline__ int __ATTRS_o_ai vec_all_ne(vector unsigned long long __a, in vec_all_ne()
15184 vector unsigned long long __b) { in vec_all_ne()
15185 return __builtin_altivec_vcmpequd_p(__CR6_EQ, (vector long long)__a, in vec_all_ne()
15186 (vector long long)__b); in vec_all_ne()
15189 static __inline__ int __ATTRS_o_ai vec_all_ne(vector signed long long __a, in vec_all_ne()
15190 vector bool long long __b) { in vec_all_ne()
15192 (vector signed long long)__b); in vec_all_ne()
15195 static __inline__ int __ATTRS_o_ai vec_all_ne(vector unsigned long long __a, in vec_all_ne()
15196 vector bool long long __b) { in vec_all_ne()
15197 return __builtin_altivec_vcmpequd_p(__CR6_EQ, (vector signed long long)__a, in vec_all_ne()
15198 (vector signed long long)__b); in vec_all_ne()
15201 static __inline__ int __ATTRS_o_ai vec_all_ne(vector bool long long __a, in vec_all_ne()
15202 vector signed long long __b) { in vec_all_ne()
15203 return __builtin_altivec_vcmpequd_p(__CR6_EQ, (vector signed long long)__a, in vec_all_ne()
15204 (vector signed long long)__b); in vec_all_ne()
15207 static __inline__ int __ATTRS_o_ai vec_all_ne(vector bool long long __a, in vec_all_ne()
15208 vector unsigned long long __b) { in vec_all_ne()
15209 return __builtin_altivec_vcmpequd_p(__CR6_EQ, (vector signed long long)__a, in vec_all_ne()
15210 (vector signed long long)__b); in vec_all_ne()
15213 static __inline__ int __ATTRS_o_ai vec_all_ne(vector bool long long __a, in vec_all_ne()
15214 vector bool long long __b) { in vec_all_ne()
15215 return __builtin_altivec_vcmpequd_p(__CR6_EQ, (vector signed long long)__a, in vec_all_ne()
15216 (vector signed long long)__b); in vec_all_ne()
15220 static __inline__ int __ATTRS_o_ai vec_all_ne(vector float __a, in vec_all_ne()
15221 vector float __b) { in vec_all_ne()
15230 static __inline__ int __ATTRS_o_ai vec_all_ne(vector double __a, in vec_all_ne()
15231 vector double __b) { in vec_all_ne()
15237 static __inline__ int __ATTRS_o_ai vec_all_ne(vector signed __int128 __a, in vec_all_ne()
15238 vector signed __int128 __b) { in vec_all_ne()
15242 static __inline__ int __ATTRS_o_ai vec_all_ne(vector unsigned __int128 __a, in vec_all_ne()
15243 vector unsigned __int128 __b) { in vec_all_ne()
15250 static __inline__ int __ATTRS_o_ai vec_all_nge(vector float __a, in vec_all_nge()
15251 vector float __b) { in vec_all_nge()
15260 static __inline__ int __ATTRS_o_ai vec_all_nge(vector double __a, in vec_all_nge()
15261 vector double __b) { in vec_all_nge()
15268 static __inline__ int __ATTRS_o_ai vec_all_ngt(vector float __a, in vec_all_ngt()
15269 vector float __b) { in vec_all_ngt()
15278 static __inline__ int __ATTRS_o_ai vec_all_ngt(vector double __a, in vec_all_ngt()
15279 vector double __b) { in vec_all_ngt()
15287 vec_all_nle(vector float __a, vector float __b) { in vec_all_nle()
15294 vec_all_nlt(vector float __a, vector float __b) { in vec_all_nlt()
15301 vec_all_numeric(vector float __a) { in vec_all_numeric()
15307 static __inline__ int __ATTRS_o_ai vec_any_eq(vector signed char __a, in vec_any_eq()
15308 vector signed char __b) { in vec_any_eq()
15309 return __builtin_altivec_vcmpequb_p(__CR6_EQ_REV, (vector char)__a, in vec_any_eq()
15310 (vector char)__b); in vec_any_eq()
15313 static __inline__ int __ATTRS_o_ai vec_any_eq(vector signed char __a, in vec_any_eq()
15314 vector bool char __b) { in vec_any_eq()
15315 return __builtin_altivec_vcmpequb_p(__CR6_EQ_REV, (vector char)__a, in vec_any_eq()
15316 (vector char)__b); in vec_any_eq()
15319 static __inline__ int __ATTRS_o_ai vec_any_eq(vector unsigned char __a, in vec_any_eq()
15320 vector unsigned char __b) { in vec_any_eq()
15321 return __builtin_altivec_vcmpequb_p(__CR6_EQ_REV, (vector char)__a, in vec_any_eq()
15322 (vector char)__b); in vec_any_eq()
15325 static __inline__ int __ATTRS_o_ai vec_any_eq(vector unsigned char __a, in vec_any_eq()
15326 vector bool char __b) { in vec_any_eq()
15327 return __builtin_altivec_vcmpequb_p(__CR6_EQ_REV, (vector char)__a, in vec_any_eq()
15328 (vector char)__b); in vec_any_eq()
15331 static __inline__ int __ATTRS_o_ai vec_any_eq(vector bool char __a, in vec_any_eq()
15332 vector signed char __b) { in vec_any_eq()
15333 return __builtin_altivec_vcmpequb_p(__CR6_EQ_REV, (vector char)__a, in vec_any_eq()
15334 (vector char)__b); in vec_any_eq()
15337 static __inline__ int __ATTRS_o_ai vec_any_eq(vector bool char __a, in vec_any_eq()
15338 vector unsigned char __b) { in vec_any_eq()
15339 return __builtin_altivec_vcmpequb_p(__CR6_EQ_REV, (vector char)__a, in vec_any_eq()
15340 (vector char)__b); in vec_any_eq()
15343 static __inline__ int __ATTRS_o_ai vec_any_eq(vector bool char __a, in vec_any_eq()
15344 vector bool char __b) { in vec_any_eq()
15345 return __builtin_altivec_vcmpequb_p(__CR6_EQ_REV, (vector char)__a, in vec_any_eq()
15346 (vector char)__b); in vec_any_eq()
15349 static __inline__ int __ATTRS_o_ai vec_any_eq(vector short __a, in vec_any_eq()
15350 vector short __b) { in vec_any_eq()
15354 static __inline__ int __ATTRS_o_ai vec_any_eq(vector short __a, in vec_any_eq()
15355 vector bool short __b) { in vec_any_eq()
15356 return __builtin_altivec_vcmpequh_p(__CR6_EQ_REV, __a, (vector short)__b); in vec_any_eq()
15359 static __inline__ int __ATTRS_o_ai vec_any_eq(vector unsigned short __a, in vec_any_eq()
15360 vector unsigned short __b) { in vec_any_eq()
15361 return __builtin_altivec_vcmpequh_p(__CR6_EQ_REV, (vector short)__a, in vec_any_eq()
15362 (vector short)__b); in vec_any_eq()
15365 static __inline__ int __ATTRS_o_ai vec_any_eq(vector unsigned short __a, in vec_any_eq()
15366 vector bool short __b) { in vec_any_eq()
15367 return __builtin_altivec_vcmpequh_p(__CR6_EQ_REV, (vector short)__a, in vec_any_eq()
15368 (vector short)__b); in vec_any_eq()
15371 static __inline__ int __ATTRS_o_ai vec_any_eq(vector bool short __a, in vec_any_eq()
15372 vector short __b) { in vec_any_eq()
15373 return __builtin_altivec_vcmpequh_p(__CR6_EQ_REV, (vector short)__a, in vec_any_eq()
15374 (vector short)__b); in vec_any_eq()
15377 static __inline__ int __ATTRS_o_ai vec_any_eq(vector bool short __a, in vec_any_eq()
15378 vector unsigned short __b) { in vec_any_eq()
15379 return __builtin_altivec_vcmpequh_p(__CR6_EQ_REV, (vector short)__a, in vec_any_eq()
15380 (vector short)__b); in vec_any_eq()
15383 static __inline__ int __ATTRS_o_ai vec_any_eq(vector bool short __a, in vec_any_eq()
15384 vector bool short __b) { in vec_any_eq()
15385 return __builtin_altivec_vcmpequh_p(__CR6_EQ_REV, (vector short)__a, in vec_any_eq()
15386 (vector short)__b); in vec_any_eq()
15389 static __inline__ int __ATTRS_o_ai vec_any_eq(vector pixel __a, in vec_any_eq()
15390 vector pixel __b) { in vec_any_eq()
15391 return __builtin_altivec_vcmpequh_p(__CR6_EQ_REV, (vector short)__a, in vec_any_eq()
15392 (vector short)__b); in vec_any_eq()
15395 static __inline__ int __ATTRS_o_ai vec_any_eq(vector int __a, vector int __b) { in vec_any_eq()
15399 static __inline__ int __ATTRS_o_ai vec_any_eq(vector int __a, in vec_any_eq()
15400 vector bool int __b) { in vec_any_eq()
15401 return __builtin_altivec_vcmpequw_p(__CR6_EQ_REV, __a, (vector int)__b); in vec_any_eq()
15404 static __inline__ int __ATTRS_o_ai vec_any_eq(vector unsigned int __a, in vec_any_eq()
15405 vector unsigned int __b) { in vec_any_eq()
15406 return __builtin_altivec_vcmpequw_p(__CR6_EQ_REV, (vector int)__a, in vec_any_eq()
15407 (vector int)__b); in vec_any_eq()
15410 static __inline__ int __ATTRS_o_ai vec_any_eq(vector unsigned int __a, in vec_any_eq()
15411 vector bool int __b) { in vec_any_eq()
15412 return __builtin_altivec_vcmpequw_p(__CR6_EQ_REV, (vector int)__a, in vec_any_eq()
15413 (vector int)__b); in vec_any_eq()
15416 static __inline__ int __ATTRS_o_ai vec_any_eq(vector bool int __a, in vec_any_eq()
15417 vector int __b) { in vec_any_eq()
15418 return __builtin_altivec_vcmpequw_p(__CR6_EQ_REV, (vector int)__a, in vec_any_eq()
15419 (vector int)__b); in vec_any_eq()
15422 static __inline__ int __ATTRS_o_ai vec_any_eq(vector bool int __a, in vec_any_eq()
15423 vector unsigned int __b) { in vec_any_eq()
15424 return __builtin_altivec_vcmpequw_p(__CR6_EQ_REV, (vector int)__a, in vec_any_eq()
15425 (vector int)__b); in vec_any_eq()
15428 static __inline__ int __ATTRS_o_ai vec_any_eq(vector bool int __a, in vec_any_eq()
15429 vector bool int __b) { in vec_any_eq()
15430 return __builtin_altivec_vcmpequw_p(__CR6_EQ_REV, (vector int)__a, in vec_any_eq()
15431 (vector int)__b); in vec_any_eq()
15435 static __inline__ int __ATTRS_o_ai vec_any_eq(vector signed long long __a, in vec_any_eq()
15436 vector signed long long __b) { in vec_any_eq()
15440 static __inline__ int __ATTRS_o_ai vec_any_eq(vector unsigned long long __a, in vec_any_eq()
15441 vector unsigned long long __b) { in vec_any_eq()
15442 return __builtin_altivec_vcmpequd_p(__CR6_EQ_REV, (vector long long)__a, in vec_any_eq()
15443 (vector long long)__b); in vec_any_eq()
15446 static __inline__ int __ATTRS_o_ai vec_any_eq(vector signed long long __a, in vec_any_eq()
15447 vector bool long long __b) { in vec_any_eq()
15449 (vector signed long long)__b); in vec_any_eq()
15452 static __inline__ int __ATTRS_o_ai vec_any_eq(vector unsigned long long __a, in vec_any_eq()
15453 vector bool long long __b) { in vec_any_eq()
15455 __CR6_EQ_REV, (vector signed long long)__a, (vector signed long long)__b); in vec_any_eq()
15458 static __inline__ int __ATTRS_o_ai vec_any_eq(vector bool long long __a, in vec_any_eq()
15459 vector signed long long __b) { in vec_any_eq()
15461 __CR6_EQ_REV, (vector signed long long)__a, (vector signed long long)__b); in vec_any_eq()
15464 static __inline__ int __ATTRS_o_ai vec_any_eq(vector bool long long __a, in vec_any_eq()
15465 vector unsigned long long __b) { in vec_any_eq()
15467 __CR6_EQ_REV, (vector signed long long)__a, (vector signed long long)__b); in vec_any_eq()
15470 static __inline__ int __ATTRS_o_ai vec_any_eq(vector bool long long __a, in vec_any_eq()
15471 vector bool long long __b) { in vec_any_eq()
15473 __CR6_EQ_REV, (vector signed long long)__a, (vector signed long long)__b); in vec_any_eq()
15477 static __inline__ int __ATTRS_o_ai vec_any_eq(vector float __a, in vec_any_eq()
15478 vector float __b) { in vec_any_eq()
15487 static __inline__ int __ATTRS_o_ai vec_any_eq(vector double __a, in vec_any_eq()
15488 vector double __b) { in vec_any_eq()
15494 static __inline__ int __ATTRS_o_ai vec_any_eq(vector signed __int128 __a, in vec_any_eq()
15495 vector signed __int128 __b) { in vec_any_eq()
15499 static __inline__ int __ATTRS_o_ai vec_any_eq(vector unsigned __int128 __a, in vec_any_eq()
15500 vector unsigned __int128 __b) { in vec_any_eq()
15507 static __inline__ int __ATTRS_o_ai vec_any_ge(vector signed char __a, in vec_any_ge()
15508 vector signed char __b) { in vec_any_ge()
15512 static __inline__ int __ATTRS_o_ai vec_any_ge(vector signed char __a, in vec_any_ge()
15513 vector bool char __b) { in vec_any_ge()
15514 return __builtin_altivec_vcmpgtsb_p(__CR6_LT_REV, (vector signed char)__b, in vec_any_ge()
15518 static __inline__ int __ATTRS_o_ai vec_any_ge(vector unsigned char __a, in vec_any_ge()
15519 vector unsigned char __b) { in vec_any_ge()
15523 static __inline__ int __ATTRS_o_ai vec_any_ge(vector unsigned char __a, in vec_any_ge()
15524 vector bool char __b) { in vec_any_ge()
15525 return __builtin_altivec_vcmpgtub_p(__CR6_LT_REV, (vector unsigned char)__b, in vec_any_ge()
15529 static __inline__ int __ATTRS_o_ai vec_any_ge(vector bool char __a, in vec_any_ge()
15530 vector signed char __b) { in vec_any_ge()
15531 return __builtin_altivec_vcmpgtub_p(__CR6_LT_REV, (vector unsigned char)__b, in vec_any_ge()
15532 (vector unsigned char)__a); in vec_any_ge()
15535 static __inline__ int __ATTRS_o_ai vec_any_ge(vector bool char __a, in vec_any_ge()
15536 vector unsigned char __b) { in vec_any_ge()
15538 (vector unsigned char)__a); in vec_any_ge()
15541 static __inline__ int __ATTRS_o_ai vec_any_ge(vector bool char __a, in vec_any_ge()
15542 vector bool char __b) { in vec_any_ge()
15543 return __builtin_altivec_vcmpgtub_p(__CR6_LT_REV, (vector unsigned char)__b, in vec_any_ge()
15544 (vector unsigned char)__a); in vec_any_ge()
15547 static __inline__ int __ATTRS_o_ai vec_any_ge(vector short __a, in vec_any_ge()
15548 vector short __b) { in vec_any_ge()
15552 static __inline__ int __ATTRS_o_ai vec_any_ge(vector short __a, in vec_any_ge()
15553 vector bool short __b) { in vec_any_ge()
15554 return __builtin_altivec_vcmpgtsh_p(__CR6_LT_REV, (vector short)__b, __a); in vec_any_ge()
15557 static __inline__ int __ATTRS_o_ai vec_any_ge(vector unsigned short __a, in vec_any_ge()
15558 vector unsigned short __b) { in vec_any_ge()
15562 static __inline__ int __ATTRS_o_ai vec_any_ge(vector unsigned short __a, in vec_any_ge()
15563 vector bool short __b) { in vec_any_ge()
15564 return __builtin_altivec_vcmpgtuh_p(__CR6_LT_REV, (vector unsigned short)__b, in vec_any_ge()
15568 static __inline__ int __ATTRS_o_ai vec_any_ge(vector bool short __a, in vec_any_ge()
15569 vector short __b) { in vec_any_ge()
15570 return __builtin_altivec_vcmpgtuh_p(__CR6_LT_REV, (vector unsigned short)__b, in vec_any_ge()
15571 (vector unsigned short)__a); in vec_any_ge()
15574 static __inline__ int __ATTRS_o_ai vec_any_ge(vector bool short __a, in vec_any_ge()
15575 vector unsigned short __b) { in vec_any_ge()
15577 (vector unsigned short)__a); in vec_any_ge()
15580 static __inline__ int __ATTRS_o_ai vec_any_ge(vector bool short __a, in vec_any_ge()
15581 vector bool short __b) { in vec_any_ge()
15582 return __builtin_altivec_vcmpgtuh_p(__CR6_LT_REV, (vector unsigned short)__b, in vec_any_ge()
15583 (vector unsigned short)__a); in vec_any_ge()
15586 static __inline__ int __ATTRS_o_ai vec_any_ge(vector int __a, vector int __b) { in vec_any_ge()
15590 static __inline__ int __ATTRS_o_ai vec_any_ge(vector int __a, in vec_any_ge()
15591 vector bool int __b) { in vec_any_ge()
15592 return __builtin_altivec_vcmpgtsw_p(__CR6_LT_REV, (vector int)__b, __a); in vec_any_ge()
15595 static __inline__ int __ATTRS_o_ai vec_any_ge(vector unsigned int __a, in vec_any_ge()
15596 vector unsigned int __b) { in vec_any_ge()
15600 static __inline__ int __ATTRS_o_ai vec_any_ge(vector unsigned int __a, in vec_any_ge()
15601 vector bool int __b) { in vec_any_ge()
15602 return __builtin_altivec_vcmpgtuw_p(__CR6_LT_REV, (vector unsigned int)__b, in vec_any_ge()
15606 static __inline__ int __ATTRS_o_ai vec_any_ge(vector bool int __a, in vec_any_ge()
15607 vector int __b) { in vec_any_ge()
15608 return __builtin_altivec_vcmpgtuw_p(__CR6_LT_REV, (vector unsigned int)__b, in vec_any_ge()
15609 (vector unsigned int)__a); in vec_any_ge()
15612 static __inline__ int __ATTRS_o_ai vec_any_ge(vector bool int __a, in vec_any_ge()
15613 vector unsigned int __b) { in vec_any_ge()
15615 (vector unsigned int)__a); in vec_any_ge()
15618 static __inline__ int __ATTRS_o_ai vec_any_ge(vector bool int __a, in vec_any_ge()
15619 vector bool int __b) { in vec_any_ge()
15620 return __builtin_altivec_vcmpgtuw_p(__CR6_LT_REV, (vector unsigned int)__b, in vec_any_ge()
15621 (vector unsigned int)__a); in vec_any_ge()
15625 static __inline__ int __ATTRS_o_ai vec_any_ge(vector signed long long __a, in vec_any_ge()
15626 vector signed long long __b) { in vec_any_ge()
15630 static __inline__ int __ATTRS_o_ai vec_any_ge(vector unsigned long long __a, in vec_any_ge()
15631 vector unsigned long long __b) { in vec_any_ge()
15635 static __inline__ int __ATTRS_o_ai vec_any_ge(vector signed long long __a, in vec_any_ge()
15636 vector bool long long __b) { in vec_any_ge()
15638 (vector signed long long)__b, __a); in vec_any_ge()
15641 static __inline__ int __ATTRS_o_ai vec_any_ge(vector unsigned long long __a, in vec_any_ge()
15642 vector bool long long __b) { in vec_any_ge()
15644 (vector unsigned long long)__b, __a); in vec_any_ge()
15647 static __inline__ int __ATTRS_o_ai vec_any_ge(vector bool long long __a, in vec_any_ge()
15648 vector signed long long __b) { in vec_any_ge()
15650 (vector unsigned long long)__b, in vec_any_ge()
15651 (vector unsigned long long)__a); in vec_any_ge()
15654 static __inline__ int __ATTRS_o_ai vec_any_ge(vector bool long long __a, in vec_any_ge()
15655 vector unsigned long long __b) { in vec_any_ge()
15657 (vector unsigned long long)__a); in vec_any_ge()
15660 static __inline__ int __ATTRS_o_ai vec_any_ge(vector bool long long __a, in vec_any_ge()
15661 vector bool long long __b) { in vec_any_ge()
15663 (vector unsigned long long)__b, in vec_any_ge()
15664 (vector unsigned long long)__a); in vec_any_ge()
15668 static __inline__ int __ATTRS_o_ai vec_any_ge(vector float __a, in vec_any_ge()
15669 vector float __b) { in vec_any_ge()
15678 static __inline__ int __ATTRS_o_ai vec_any_ge(vector double __a, in vec_any_ge()
15679 vector double __b) { in vec_any_ge()
15685 static __inline__ int __ATTRS_o_ai vec_any_ge(vector signed __int128 __a, in vec_any_ge()
15686 vector signed __int128 __b) { in vec_any_ge()
15690 static __inline__ int __ATTRS_o_ai vec_any_ge(vector unsigned __int128 __a, in vec_any_ge()
15691 vector unsigned __int128 __b) { in vec_any_ge()
15698 static __inline__ int __ATTRS_o_ai vec_any_gt(vector signed char __a, in vec_any_gt()
15699 vector signed char __b) { in vec_any_gt()
15703 static __inline__ int __ATTRS_o_ai vec_any_gt(vector signed char __a, in vec_any_gt()
15704 vector bool char __b) { in vec_any_gt()
15706 (vector signed char)__b); in vec_any_gt()
15709 static __inline__ int __ATTRS_o_ai vec_any_gt(vector unsigned char __a, in vec_any_gt()
15710 vector unsigned char __b) { in vec_any_gt()
15714 static __inline__ int __ATTRS_o_ai vec_any_gt(vector unsigned char __a, in vec_any_gt()
15715 vector bool char __b) { in vec_any_gt()
15717 (vector unsigned char)__b); in vec_any_gt()
15720 static __inline__ int __ATTRS_o_ai vec_any_gt(vector bool char __a, in vec_any_gt()
15721 vector signed char __b) { in vec_any_gt()
15722 return __builtin_altivec_vcmpgtub_p(__CR6_EQ_REV, (vector unsigned char)__a, in vec_any_gt()
15723 (vector unsigned char)__b); in vec_any_gt()
15726 static __inline__ int __ATTRS_o_ai vec_any_gt(vector bool char __a, in vec_any_gt()
15727 vector unsigned char __b) { in vec_any_gt()
15728 return __builtin_altivec_vcmpgtub_p(__CR6_EQ_REV, (vector unsigned char)__a, in vec_any_gt()
15732 static __inline__ int __ATTRS_o_ai vec_any_gt(vector bool char __a, in vec_any_gt()
15733 vector bool char __b) { in vec_any_gt()
15734 return __builtin_altivec_vcmpgtub_p(__CR6_EQ_REV, (vector unsigned char)__a, in vec_any_gt()
15735 (vector unsigned char)__b); in vec_any_gt()
15738 static __inline__ int __ATTRS_o_ai vec_any_gt(vector short __a, in vec_any_gt()
15739 vector short __b) { in vec_any_gt()
15743 static __inline__ int __ATTRS_o_ai vec_any_gt(vector short __a, in vec_any_gt()
15744 vector bool short __b) { in vec_any_gt()
15745 return __builtin_altivec_vcmpgtsh_p(__CR6_EQ_REV, __a, (vector short)__b); in vec_any_gt()
15748 static __inline__ int __ATTRS_o_ai vec_any_gt(vector unsigned short __a, in vec_any_gt()
15749 vector unsigned short __b) { in vec_any_gt()
15753 static __inline__ int __ATTRS_o_ai vec_any_gt(vector unsigned short __a, in vec_any_gt()
15754 vector bool short __b) { in vec_any_gt()
15756 (vector unsigned short)__b); in vec_any_gt()
15759 static __inline__ int __ATTRS_o_ai vec_any_gt(vector bool short __a, in vec_any_gt()
15760 vector short __b) { in vec_any_gt()
15761 return __builtin_altivec_vcmpgtuh_p(__CR6_EQ_REV, (vector unsigned short)__a, in vec_any_gt()
15762 (vector unsigned short)__b); in vec_any_gt()
15765 static __inline__ int __ATTRS_o_ai vec_any_gt(vector bool short __a, in vec_any_gt()
15766 vector unsigned short __b) { in vec_any_gt()
15767 return __builtin_altivec_vcmpgtuh_p(__CR6_EQ_REV, (vector unsigned short)__a, in vec_any_gt()
15771 static __inline__ int __ATTRS_o_ai vec_any_gt(vector bool short __a, in vec_any_gt()
15772 vector bool short __b) { in vec_any_gt()
15773 return __builtin_altivec_vcmpgtuh_p(__CR6_EQ_REV, (vector unsigned short)__a, in vec_any_gt()
15774 (vector unsigned short)__b); in vec_any_gt()
15777 static __inline__ int __ATTRS_o_ai vec_any_gt(vector int __a, vector int __b) { in vec_any_gt()
15781 static __inline__ int __ATTRS_o_ai vec_any_gt(vector int __a, in vec_any_gt()
15782 vector bool int __b) { in vec_any_gt()
15783 return __builtin_altivec_vcmpgtsw_p(__CR6_EQ_REV, __a, (vector int)__b); in vec_any_gt()
15786 static __inline__ int __ATTRS_o_ai vec_any_gt(vector unsigned int __a, in vec_any_gt()
15787 vector unsigned int __b) { in vec_any_gt()
15791 static __inline__ int __ATTRS_o_ai vec_any_gt(vector unsigned int __a, in vec_any_gt()
15792 vector bool int __b) { in vec_any_gt()
15794 (vector unsigned int)__b); in vec_any_gt()
15797 static __inline__ int __ATTRS_o_ai vec_any_gt(vector bool int __a, in vec_any_gt()
15798 vector int __b) { in vec_any_gt()
15799 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ_REV, (vector unsigned int)__a, in vec_any_gt()
15800 (vector unsigned int)__b); in vec_any_gt()
15803 static __inline__ int __ATTRS_o_ai vec_any_gt(vector bool int __a, in vec_any_gt()
15804 vector unsigned int __b) { in vec_any_gt()
15805 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ_REV, (vector unsigned int)__a, in vec_any_gt()
15809 static __inline__ int __ATTRS_o_ai vec_any_gt(vector bool int __a, in vec_any_gt()
15810 vector bool int __b) { in vec_any_gt()
15811 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ_REV, (vector unsigned int)__a, in vec_any_gt()
15812 (vector unsigned int)__b); in vec_any_gt()
15816 static __inline__ int __ATTRS_o_ai vec_any_gt(vector signed long long __a, in vec_any_gt()
15817 vector signed long long __b) { in vec_any_gt()
15821 static __inline__ int __ATTRS_o_ai vec_any_gt(vector unsigned long long __a, in vec_any_gt()
15822 vector unsigned long long __b) { in vec_any_gt()
15826 static __inline__ int __ATTRS_o_ai vec_any_gt(vector signed long long __a, in vec_any_gt()
15827 vector bool long long __b) { in vec_any_gt()
15829 (vector signed long long)__b); in vec_any_gt()
15832 static __inline__ int __ATTRS_o_ai vec_any_gt(vector unsigned long long __a, in vec_any_gt()
15833 vector bool long long __b) { in vec_any_gt()
15835 (vector unsigned long long)__b); in vec_any_gt()
15838 static __inline__ int __ATTRS_o_ai vec_any_gt(vector bool long long __a, in vec_any_gt()
15839 vector signed long long __b) { in vec_any_gt()
15841 (vector unsigned long long)__a, in vec_any_gt()
15842 (vector unsigned long long)__b); in vec_any_gt()
15845 static __inline__ int __ATTRS_o_ai vec_any_gt(vector bool long long __a, in vec_any_gt()
15846 vector unsigned long long __b) { in vec_any_gt()
15848 (vector unsigned long long)__a, __b); in vec_any_gt()
15851 static __inline__ int __ATTRS_o_ai vec_any_gt(vector bool long long __a, in vec_any_gt()
15852 vector bool long long __b) { in vec_any_gt()
15854 (vector unsigned long long)__a, in vec_any_gt()
15855 (vector unsigned long long)__b); in vec_any_gt()
15859 static __inline__ int __ATTRS_o_ai vec_any_gt(vector float __a, in vec_any_gt()
15860 vector float __b) { in vec_any_gt()
15869 static __inline__ int __ATTRS_o_ai vec_any_gt(vector double __a, in vec_any_gt()
15870 vector double __b) { in vec_any_gt()
15876 static __inline__ int __ATTRS_o_ai vec_any_gt(vector signed __int128 __a, in vec_any_gt()
15877 vector signed __int128 __b) { in vec_any_gt()
15881 static __inline__ int __ATTRS_o_ai vec_any_gt(vector unsigned __int128 __a, in vec_any_gt()
15882 vector unsigned __int128 __b) { in vec_any_gt()
15889 static __inline__ int __ATTRS_o_ai vec_any_le(vector signed char __a, in vec_any_le()
15890 vector signed char __b) { in vec_any_le()
15894 static __inline__ int __ATTRS_o_ai vec_any_le(vector signed char __a, in vec_any_le()
15895 vector bool char __b) { in vec_any_le()
15897 (vector signed char)__b); in vec_any_le()
15900 static __inline__ int __ATTRS_o_ai vec_any_le(vector unsigned char __a, in vec_any_le()
15901 vector unsigned char __b) { in vec_any_le()
15905 static __inline__ int __ATTRS_o_ai vec_any_le(vector unsigned char __a, in vec_any_le()
15906 vector bool char __b) { in vec_any_le()
15908 (vector unsigned char)__b); in vec_any_le()
15911 static __inline__ int __ATTRS_o_ai vec_any_le(vector bool char __a, in vec_any_le()
15912 vector signed char __b) { in vec_any_le()
15913 return __builtin_altivec_vcmpgtub_p(__CR6_LT_REV, (vector unsigned char)__a, in vec_any_le()
15914 (vector unsigned char)__b); in vec_any_le()
15917 static __inline__ int __ATTRS_o_ai vec_any_le(vector bool char __a, in vec_any_le()
15918 vector unsigned char __b) { in vec_any_le()
15919 return __builtin_altivec_vcmpgtub_p(__CR6_LT_REV, (vector unsigned char)__a, in vec_any_le()
15923 static __inline__ int __ATTRS_o_ai vec_any_le(vector bool char __a, in vec_any_le()
15924 vector bool char __b) { in vec_any_le()
15925 return __builtin_altivec_vcmpgtub_p(__CR6_LT_REV, (vector unsigned char)__a, in vec_any_le()
15926 (vector unsigned char)__b); in vec_any_le()
15929 static __inline__ int __ATTRS_o_ai vec_any_le(vector short __a, in vec_any_le()
15930 vector short __b) { in vec_any_le()
15934 static __inline__ int __ATTRS_o_ai vec_any_le(vector short __a, in vec_any_le()
15935 vector bool short __b) { in vec_any_le()
15936 return __builtin_altivec_vcmpgtsh_p(__CR6_LT_REV, __a, (vector short)__b); in vec_any_le()
15939 static __inline__ int __ATTRS_o_ai vec_any_le(vector unsigned short __a, in vec_any_le()
15940 vector unsigned short __b) { in vec_any_le()
15944 static __inline__ int __ATTRS_o_ai vec_any_le(vector unsigned short __a, in vec_any_le()
15945 vector bool short __b) { in vec_any_le()
15947 (vector unsigned short)__b); in vec_any_le()
15950 static __inline__ int __ATTRS_o_ai vec_any_le(vector bool short __a, in vec_any_le()
15951 vector short __b) { in vec_any_le()
15952 return __builtin_altivec_vcmpgtuh_p(__CR6_LT_REV, (vector unsigned short)__a, in vec_any_le()
15953 (vector unsigned short)__b); in vec_any_le()
15956 static __inline__ int __ATTRS_o_ai vec_any_le(vector bool short __a, in vec_any_le()
15957 vector unsigned short __b) { in vec_any_le()
15958 return __builtin_altivec_vcmpgtuh_p(__CR6_LT_REV, (vector unsigned short)__a, in vec_any_le()
15962 static __inline__ int __ATTRS_o_ai vec_any_le(vector bool short __a, in vec_any_le()
15963 vector bool short __b) { in vec_any_le()
15964 return __builtin_altivec_vcmpgtuh_p(__CR6_LT_REV, (vector unsigned short)__a, in vec_any_le()
15965 (vector unsigned short)__b); in vec_any_le()
15968 static __inline__ int __ATTRS_o_ai vec_any_le(vector int __a, vector int __b) { in vec_any_le()
15972 static __inline__ int __ATTRS_o_ai vec_any_le(vector int __a, in vec_any_le()
15973 vector bool int __b) { in vec_any_le()
15974 return __builtin_altivec_vcmpgtsw_p(__CR6_LT_REV, __a, (vector int)__b); in vec_any_le()
15977 static __inline__ int __ATTRS_o_ai vec_any_le(vector unsigned int __a, in vec_any_le()
15978 vector unsigned int __b) { in vec_any_le()
15982 static __inline__ int __ATTRS_o_ai vec_any_le(vector unsigned int __a, in vec_any_le()
15983 vector bool int __b) { in vec_any_le()
15985 (vector unsigned int)__b); in vec_any_le()
15988 static __inline__ int __ATTRS_o_ai vec_any_le(vector bool int __a, in vec_any_le()
15989 vector int __b) { in vec_any_le()
15990 return __builtin_altivec_vcmpgtuw_p(__CR6_LT_REV, (vector unsigned int)__a, in vec_any_le()
15991 (vector unsigned int)__b); in vec_any_le()
15994 static __inline__ int __ATTRS_o_ai vec_any_le(vector bool int __a, in vec_any_le()
15995 vector unsigned int __b) { in vec_any_le()
15996 return __builtin_altivec_vcmpgtuw_p(__CR6_LT_REV, (vector unsigned int)__a, in vec_any_le()
16000 static __inline__ int __ATTRS_o_ai vec_any_le(vector bool int __a, in vec_any_le()
16001 vector bool int __b) { in vec_any_le()
16002 return __builtin_altivec_vcmpgtuw_p(__CR6_LT_REV, (vector unsigned int)__a, in vec_any_le()
16003 (vector unsigned int)__b); in vec_any_le()
16007 static __inline__ int __ATTRS_o_ai vec_any_le(vector signed long long __a, in vec_any_le()
16008 vector signed long long __b) { in vec_any_le()
16012 static __inline__ int __ATTRS_o_ai vec_any_le(vector unsigned long long __a, in vec_any_le()
16013 vector unsigned long long __b) { in vec_any_le()
16017 static __inline__ int __ATTRS_o_ai vec_any_le(vector signed long long __a, in vec_any_le()
16018 vector bool long long __b) { in vec_any_le()
16020 (vector signed long long)__b); in vec_any_le()
16023 static __inline__ int __ATTRS_o_ai vec_any_le(vector unsigned long long __a, in vec_any_le()
16024 vector bool long long __b) { in vec_any_le()
16026 (vector unsigned long long)__b); in vec_any_le()
16029 static __inline__ int __ATTRS_o_ai vec_any_le(vector bool long long __a, in vec_any_le()
16030 vector signed long long __b) { in vec_any_le()
16032 (vector unsigned long long)__a, in vec_any_le()
16033 (vector unsigned long long)__b); in vec_any_le()
16036 static __inline__ int __ATTRS_o_ai vec_any_le(vector bool long long __a, in vec_any_le()
16037 vector unsigned long long __b) { in vec_any_le()
16039 (vector unsigned long long)__a, __b); in vec_any_le()
16042 static __inline__ int __ATTRS_o_ai vec_any_le(vector bool long long __a, in vec_any_le()
16043 vector bool long long __b) { in vec_any_le()
16045 (vector unsigned long long)__a, in vec_any_le()
16046 (vector unsigned long long)__b); in vec_any_le()
16050 static __inline__ int __ATTRS_o_ai vec_any_le(vector float __a, in vec_any_le()
16051 vector float __b) { in vec_any_le()
16060 static __inline__ int __ATTRS_o_ai vec_any_le(vector double __a, in vec_any_le()
16061 vector double __b) { in vec_any_le()
16067 static __inline__ int __ATTRS_o_ai vec_any_le(vector signed __int128 __a, in vec_any_le()
16068 vector signed __int128 __b) { in vec_any_le()
16072 static __inline__ int __ATTRS_o_ai vec_any_le(vector unsigned __int128 __a, in vec_any_le()
16073 vector unsigned __int128 __b) { in vec_any_le()
16080 static __inline__ int __ATTRS_o_ai vec_any_lt(vector signed char __a, in vec_any_lt()
16081 vector signed char __b) { in vec_any_lt()
16085 static __inline__ int __ATTRS_o_ai vec_any_lt(vector signed char __a, in vec_any_lt()
16086 vector bool char __b) { in vec_any_lt()
16087 return __builtin_altivec_vcmpgtsb_p(__CR6_EQ_REV, (vector signed char)__b, in vec_any_lt()
16091 static __inline__ int __ATTRS_o_ai vec_any_lt(vector unsigned char __a, in vec_any_lt()
16092 vector unsigned char __b) { in vec_any_lt()
16096 static __inline__ int __ATTRS_o_ai vec_any_lt(vector unsigned char __a, in vec_any_lt()
16097 vector bool char __b) { in vec_any_lt()
16098 return __builtin_altivec_vcmpgtub_p(__CR6_EQ_REV, (vector unsigned char)__b, in vec_any_lt()
16102 static __inline__ int __ATTRS_o_ai vec_any_lt(vector bool char __a, in vec_any_lt()
16103 vector signed char __b) { in vec_any_lt()
16104 return __builtin_altivec_vcmpgtub_p(__CR6_EQ_REV, (vector unsigned char)__b, in vec_any_lt()
16105 (vector unsigned char)__a); in vec_any_lt()
16108 static __inline__ int __ATTRS_o_ai vec_any_lt(vector bool char __a, in vec_any_lt()
16109 vector unsigned char __b) { in vec_any_lt()
16111 (vector unsigned char)__a); in vec_any_lt()
16114 static __inline__ int __ATTRS_o_ai vec_any_lt(vector bool char __a, in vec_any_lt()
16115 vector bool char __b) { in vec_any_lt()
16116 return __builtin_altivec_vcmpgtub_p(__CR6_EQ_REV, (vector unsigned char)__b, in vec_any_lt()
16117 (vector unsigned char)__a); in vec_any_lt()
16120 static __inline__ int __ATTRS_o_ai vec_any_lt(vector short __a, in vec_any_lt()
16121 vector short __b) { in vec_any_lt()
16125 static __inline__ int __ATTRS_o_ai vec_any_lt(vector short __a, in vec_any_lt()
16126 vector bool short __b) { in vec_any_lt()
16127 return __builtin_altivec_vcmpgtsh_p(__CR6_EQ_REV, (vector short)__b, __a); in vec_any_lt()
16130 static __inline__ int __ATTRS_o_ai vec_any_lt(vector unsigned short __a, in vec_any_lt()
16131 vector unsigned short __b) { in vec_any_lt()
16135 static __inline__ int __ATTRS_o_ai vec_any_lt(vector unsigned short __a, in vec_any_lt()
16136 vector bool short __b) { in vec_any_lt()
16137 return __builtin_altivec_vcmpgtuh_p(__CR6_EQ_REV, (vector unsigned short)__b, in vec_any_lt()
16141 static __inline__ int __ATTRS_o_ai vec_any_lt(vector bool short __a, in vec_any_lt()
16142 vector short __b) { in vec_any_lt()
16143 return __builtin_altivec_vcmpgtuh_p(__CR6_EQ_REV, (vector unsigned short)__b, in vec_any_lt()
16144 (vector unsigned short)__a); in vec_any_lt()
16147 static __inline__ int __ATTRS_o_ai vec_any_lt(vector bool short __a, in vec_any_lt()
16148 vector unsigned short __b) { in vec_any_lt()
16150 (vector unsigned short)__a); in vec_any_lt()
16153 static __inline__ int __ATTRS_o_ai vec_any_lt(vector bool short __a, in vec_any_lt()
16154 vector bool short __b) { in vec_any_lt()
16155 return __builtin_altivec_vcmpgtuh_p(__CR6_EQ_REV, (vector unsigned short)__b, in vec_any_lt()
16156 (vector unsigned short)__a); in vec_any_lt()
16159 static __inline__ int __ATTRS_o_ai vec_any_lt(vector int __a, vector int __b) { in vec_any_lt()
16163 static __inline__ int __ATTRS_o_ai vec_any_lt(vector int __a, in vec_any_lt()
16164 vector bool int __b) { in vec_any_lt()
16165 return __builtin_altivec_vcmpgtsw_p(__CR6_EQ_REV, (vector int)__b, __a); in vec_any_lt()
16168 static __inline__ int __ATTRS_o_ai vec_any_lt(vector unsigned int __a, in vec_any_lt()
16169 vector unsigned int __b) { in vec_any_lt()
16173 static __inline__ int __ATTRS_o_ai vec_any_lt(vector unsigned int __a, in vec_any_lt()
16174 vector bool int __b) { in vec_any_lt()
16175 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ_REV, (vector unsigned int)__b, in vec_any_lt()
16179 static __inline__ int __ATTRS_o_ai vec_any_lt(vector bool int __a, in vec_any_lt()
16180 vector int __b) { in vec_any_lt()
16181 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ_REV, (vector unsigned int)__b, in vec_any_lt()
16182 (vector unsigned int)__a); in vec_any_lt()
16185 static __inline__ int __ATTRS_o_ai vec_any_lt(vector bool int __a, in vec_any_lt()
16186 vector unsigned int __b) { in vec_any_lt()
16188 (vector unsigned int)__a); in vec_any_lt()
16191 static __inline__ int __ATTRS_o_ai vec_any_lt(vector bool int __a, in vec_any_lt()
16192 vector bool int __b) { in vec_any_lt()
16193 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ_REV, (vector unsigned int)__b, in vec_any_lt()
16194 (vector unsigned int)__a); in vec_any_lt()
16198 static __inline__ int __ATTRS_o_ai vec_any_lt(vector signed long long __a, in vec_any_lt()
16199 vector signed long long __b) { in vec_any_lt()
16203 static __inline__ int __ATTRS_o_ai vec_any_lt(vector unsigned long long __a, in vec_any_lt()
16204 vector unsigned long long __b) { in vec_any_lt()
16208 static __inline__ int __ATTRS_o_ai vec_any_lt(vector signed long long __a, in vec_any_lt()
16209 vector bool long long __b) { in vec_any_lt()
16211 (vector signed long long)__b, __a); in vec_any_lt()
16214 static __inline__ int __ATTRS_o_ai vec_any_lt(vector unsigned long long __a, in vec_any_lt()
16215 vector bool long long __b) { in vec_any_lt()
16217 (vector unsigned long long)__b, __a); in vec_any_lt()
16220 static __inline__ int __ATTRS_o_ai vec_any_lt(vector bool long long __a, in vec_any_lt()
16221 vector signed long long __b) { in vec_any_lt()
16223 (vector unsigned long long)__b, in vec_any_lt()
16224 (vector unsigned long long)__a); in vec_any_lt()
16227 static __inline__ int __ATTRS_o_ai vec_any_lt(vector bool long long __a, in vec_any_lt()
16228 vector unsigned long long __b) { in vec_any_lt()
16230 (vector unsigned long long)__a); in vec_any_lt()
16233 static __inline__ int __ATTRS_o_ai vec_any_lt(vector bool long long __a, in vec_any_lt()
16234 vector bool long long __b) { in vec_any_lt()
16236 (vector unsigned long long)__b, in vec_any_lt()
16237 (vector unsigned long long)__a); in vec_any_lt()
16241 static __inline__ int __ATTRS_o_ai vec_any_lt(vector float __a, in vec_any_lt()
16242 vector float __b) { in vec_any_lt()
16251 static __inline__ int __ATTRS_o_ai vec_any_lt(vector double __a, in vec_any_lt()
16252 vector double __b) { in vec_any_lt()
16258 static __inline__ int __ATTRS_o_ai vec_any_lt(vector signed __int128 __a, in vec_any_lt()
16259 vector signed __int128 __b) { in vec_any_lt()
16263 static __inline__ int __ATTRS_o_ai vec_any_lt(vector unsigned __int128 __a, in vec_any_lt()
16264 vector unsigned __int128 __b) { in vec_any_lt()
16272 vec_any_nan(vector float __a) { in vec_any_nan()
16278 static __inline__ int __ATTRS_o_ai vec_any_ne(vector signed char __a, in vec_any_ne()
16279 vector signed char __b) { in vec_any_ne()
16280 return __builtin_altivec_vcmpequb_p(__CR6_LT_REV, (vector char)__a, in vec_any_ne()
16281 (vector char)__b); in vec_any_ne()
16284 static __inline__ int __ATTRS_o_ai vec_any_ne(vector signed char __a, in vec_any_ne()
16285 vector bool char __b) { in vec_any_ne()
16286 return __builtin_altivec_vcmpequb_p(__CR6_LT_REV, (vector char)__a, in vec_any_ne()
16287 (vector char)__b); in vec_any_ne()
16290 static __inline__ int __ATTRS_o_ai vec_any_ne(vector unsigned char __a, in vec_any_ne()
16291 vector unsigned char __b) { in vec_any_ne()
16292 return __builtin_altivec_vcmpequb_p(__CR6_LT_REV, (vector char)__a, in vec_any_ne()
16293 (vector char)__b); in vec_any_ne()
16296 static __inline__ int __ATTRS_o_ai vec_any_ne(vector unsigned char __a, in vec_any_ne()
16297 vector bool char __b) { in vec_any_ne()
16298 return __builtin_altivec_vcmpequb_p(__CR6_LT_REV, (vector char)__a, in vec_any_ne()
16299 (vector char)__b); in vec_any_ne()
16302 static __inline__ int __ATTRS_o_ai vec_any_ne(vector bool char __a, in vec_any_ne()
16303 vector signed char __b) { in vec_any_ne()
16304 return __builtin_altivec_vcmpequb_p(__CR6_LT_REV, (vector char)__a, in vec_any_ne()
16305 (vector char)__b); in vec_any_ne()
16308 static __inline__ int __ATTRS_o_ai vec_any_ne(vector bool char __a, in vec_any_ne()
16309 vector unsigned char __b) { in vec_any_ne()
16310 return __builtin_altivec_vcmpequb_p(__CR6_LT_REV, (vector char)__a, in vec_any_ne()
16311 (vector char)__b); in vec_any_ne()
16314 static __inline__ int __ATTRS_o_ai vec_any_ne(vector bool char __a, in vec_any_ne()
16315 vector bool char __b) { in vec_any_ne()
16316 return __builtin_altivec_vcmpequb_p(__CR6_LT_REV, (vector char)__a, in vec_any_ne()
16317 (vector char)__b); in vec_any_ne()
16320 static __inline__ int __ATTRS_o_ai vec_any_ne(vector short __a, in vec_any_ne()
16321 vector short __b) { in vec_any_ne()
16325 static __inline__ int __ATTRS_o_ai vec_any_ne(vector short __a, in vec_any_ne()
16326 vector bool short __b) { in vec_any_ne()
16327 return __builtin_altivec_vcmpequh_p(__CR6_LT_REV, __a, (vector short)__b); in vec_any_ne()
16330 static __inline__ int __ATTRS_o_ai vec_any_ne(vector unsigned short __a, in vec_any_ne()
16331 vector unsigned short __b) { in vec_any_ne()
16332 return __builtin_altivec_vcmpequh_p(__CR6_LT_REV, (vector short)__a, in vec_any_ne()
16333 (vector short)__b); in vec_any_ne()
16336 static __inline__ int __ATTRS_o_ai vec_any_ne(vector unsigned short __a, in vec_any_ne()
16337 vector bool short __b) { in vec_any_ne()
16338 return __builtin_altivec_vcmpequh_p(__CR6_LT_REV, (vector short)__a, in vec_any_ne()
16339 (vector short)__b); in vec_any_ne()
16342 static __inline__ int __ATTRS_o_ai vec_any_ne(vector bool short __a, in vec_any_ne()
16343 vector short __b) { in vec_any_ne()
16344 return __builtin_altivec_vcmpequh_p(__CR6_LT_REV, (vector short)__a, in vec_any_ne()
16345 (vector short)__b); in vec_any_ne()
16348 static __inline__ int __ATTRS_o_ai vec_any_ne(vector bool short __a, in vec_any_ne()
16349 vector unsigned short __b) { in vec_any_ne()
16350 return __builtin_altivec_vcmpequh_p(__CR6_LT_REV, (vector short)__a, in vec_any_ne()
16351 (vector short)__b); in vec_any_ne()
16354 static __inline__ int __ATTRS_o_ai vec_any_ne(vector bool short __a, in vec_any_ne()
16355 vector bool short __b) { in vec_any_ne()
16356 return __builtin_altivec_vcmpequh_p(__CR6_LT_REV, (vector short)__a, in vec_any_ne()
16357 (vector short)__b); in vec_any_ne()
16360 static __inline__ int __ATTRS_o_ai vec_any_ne(vector pixel __a, in vec_any_ne()
16361 vector pixel __b) { in vec_any_ne()
16362 return __builtin_altivec_vcmpequh_p(__CR6_LT_REV, (vector short)__a, in vec_any_ne()
16363 (vector short)__b); in vec_any_ne()
16366 static __inline__ int __ATTRS_o_ai vec_any_ne(vector int __a, vector int __b) { in vec_any_ne()
16370 static __inline__ int __ATTRS_o_ai vec_any_ne(vector int __a, in vec_any_ne()
16371 vector bool int __b) { in vec_any_ne()
16372 return __builtin_altivec_vcmpequw_p(__CR6_LT_REV, __a, (vector int)__b); in vec_any_ne()
16375 static __inline__ int __ATTRS_o_ai vec_any_ne(vector unsigned int __a, in vec_any_ne()
16376 vector unsigned int __b) { in vec_any_ne()
16377 return __builtin_altivec_vcmpequw_p(__CR6_LT_REV, (vector int)__a, in vec_any_ne()
16378 (vector int)__b); in vec_any_ne()
16381 static __inline__ int __ATTRS_o_ai vec_any_ne(vector unsigned int __a, in vec_any_ne()
16382 vector bool int __b) { in vec_any_ne()
16383 return __builtin_altivec_vcmpequw_p(__CR6_LT_REV, (vector int)__a, in vec_any_ne()
16384 (vector int)__b); in vec_any_ne()
16387 static __inline__ int __ATTRS_o_ai vec_any_ne(vector bool int __a, in vec_any_ne()
16388 vector int __b) { in vec_any_ne()
16389 return __builtin_altivec_vcmpequw_p(__CR6_LT_REV, (vector int)__a, in vec_any_ne()
16390 (vector int)__b); in vec_any_ne()
16393 static __inline__ int __ATTRS_o_ai vec_any_ne(vector bool int __a, in vec_any_ne()
16394 vector unsigned int __b) { in vec_any_ne()
16395 return __builtin_altivec_vcmpequw_p(__CR6_LT_REV, (vector int)__a, in vec_any_ne()
16396 (vector int)__b); in vec_any_ne()
16399 static __inline__ int __ATTRS_o_ai vec_any_ne(vector bool int __a, in vec_any_ne()
16400 vector bool int __b) { in vec_any_ne()
16401 return __builtin_altivec_vcmpequw_p(__CR6_LT_REV, (vector int)__a, in vec_any_ne()
16402 (vector int)__b); in vec_any_ne()
16406 static __inline__ int __ATTRS_o_ai vec_any_ne(vector signed long long __a, in vec_any_ne()
16407 vector signed long long __b) { in vec_any_ne()
16411 static __inline__ int __ATTRS_o_ai vec_any_ne(vector unsigned long long __a, in vec_any_ne()
16412 vector unsigned long long __b) { in vec_any_ne()
16413 return __builtin_altivec_vcmpequd_p(__CR6_LT_REV, (vector long long)__a, in vec_any_ne()
16414 (vector long long)__b); in vec_any_ne()
16417 static __inline__ int __ATTRS_o_ai vec_any_ne(vector signed long long __a, in vec_any_ne()
16418 vector bool long long __b) { in vec_any_ne()
16420 (vector signed long long)__b); in vec_any_ne()
16423 static __inline__ int __ATTRS_o_ai vec_any_ne(vector unsigned long long __a, in vec_any_ne()
16424 vector bool long long __b) { in vec_any_ne()
16426 __CR6_LT_REV, (vector signed long long)__a, (vector signed long long)__b); in vec_any_ne()
16429 static __inline__ int __ATTRS_o_ai vec_any_ne(vector bool long long __a, in vec_any_ne()
16430 vector signed long long __b) { in vec_any_ne()
16432 __CR6_LT_REV, (vector signed long long)__a, (vector signed long long)__b); in vec_any_ne()
16435 static __inline__ int __ATTRS_o_ai vec_any_ne(vector bool long long __a, in vec_any_ne()
16436 vector unsigned long long __b) { in vec_any_ne()
16438 __CR6_LT_REV, (vector signed long long)__a, (vector signed long long)__b); in vec_any_ne()
16441 static __inline__ int __ATTRS_o_ai vec_any_ne(vector bool long long __a, in vec_any_ne()
16442 vector bool long long __b) { in vec_any_ne()
16444 __CR6_LT_REV, (vector signed long long)__a, (vector signed long long)__b); in vec_any_ne()
16448 static __inline__ int __ATTRS_o_ai vec_any_ne(vector float __a, in vec_any_ne()
16449 vector float __b) { in vec_any_ne()
16458 static __inline__ int __ATTRS_o_ai vec_any_ne(vector double __a, in vec_any_ne()
16459 vector double __b) { in vec_any_ne()
16465 static __inline__ int __ATTRS_o_ai vec_any_ne(vector signed __int128 __a, in vec_any_ne()
16466 vector signed __int128 __b) { in vec_any_ne()
16470 static __inline__ int __ATTRS_o_ai vec_any_ne(vector unsigned __int128 __a, in vec_any_ne()
16471 vector unsigned __int128 __b) { in vec_any_ne()
16479 vec_any_nge(vector float __a, vector float __b) { in vec_any_nge()
16486 vec_any_ngt(vector float __a, vector float __b) { in vec_any_ngt()
16493 vec_any_nle(vector float __a, vector float __b) { in vec_any_nle()
16500 vec_any_nlt(vector float __a, vector float __b) { in vec_any_nlt()
16507 vec_any_numeric(vector float __a) { in vec_any_numeric()
16514 vec_any_out(vector float __a, vector float __b) { in vec_any_out()
16538 static __inline__ vector unsigned long long __attribute__((__always_inline__))
16539 __builtin_crypto_vsbox(vector unsigned long long __a) { in __builtin_crypto_vsbox()
16543 static __inline__ vector unsigned long long __attribute__((__always_inline__))
16544 __builtin_crypto_vcipher(vector unsigned long long __a, in __builtin_crypto_vcipher()
16545 vector unsigned long long __b) { in __builtin_crypto_vcipher()
16549 static __inline__ vector unsigned long long __attribute__((__always_inline__))
16550 __builtin_crypto_vcipherlast(vector unsigned long long __a, in __builtin_crypto_vcipherlast()
16551 vector unsigned long long __b) { in __builtin_crypto_vcipherlast()
16555 static __inline__ vector unsigned long long __attribute__((__always_inline__))
16556 __builtin_crypto_vncipher(vector unsigned long long __a, in __builtin_crypto_vncipher()
16557 vector unsigned long long __b) { in __builtin_crypto_vncipher()
16561 static __inline__ vector unsigned long long __attribute__((__always_inline__))
16562 __builtin_crypto_vncipherlast(vector unsigned long long __a, in __builtin_crypto_vncipherlast()
16563 vector unsigned long long __b) { in __builtin_crypto_vncipherlast()
16571 _Generic((X), vector unsigned int \
16572 : __builtin_crypto_vshasigmaw, vector unsigned long long \
16577 static __inline__ vector bool char __ATTRS_o_ai
16578 vec_permxor(vector bool char __a, vector bool char __b, in vec_permxor()
16579 vector bool char __c) { in vec_permxor()
16583 static __inline__ vector signed char __ATTRS_o_ai
16584 vec_permxor(vector signed char __a, vector signed char __b, in vec_permxor()
16585 vector signed char __c) { in vec_permxor()
16589 static __inline__ vector unsigned char __ATTRS_o_ai
16590 vec_permxor(vector unsigned char __a, vector unsigned char __b, in vec_permxor()
16591 vector unsigned char __c) { in vec_permxor()
16595 static __inline__ vector unsigned char __ATTRS_o_ai
16596 __builtin_crypto_vpermxor(vector unsigned char __a, vector unsigned char __b, in __builtin_crypto_vpermxor()
16597 vector unsigned char __c) { in __builtin_crypto_vpermxor()
16601 static __inline__ vector unsigned short __ATTRS_o_ai
16602 __builtin_crypto_vpermxor(vector unsigned short __a, vector unsigned short __b, in __builtin_crypto_vpermxor()
16603 vector unsigned short __c) { in __builtin_crypto_vpermxor()
16604 return (vector unsigned short)__builtin_altivec_crypto_vpermxor( in __builtin_crypto_vpermxor()
16605 (vector unsigned char)__a, (vector unsigned char)__b, in __builtin_crypto_vpermxor()
16606 (vector unsigned char)__c); in __builtin_crypto_vpermxor()
16609 static __inline__ vector unsigned int __ATTRS_o_ai __builtin_crypto_vpermxor( in __builtin_crypto_vpermxor()
16610 vector unsigned int __a, vector unsigned int __b, vector unsigned int __c) { in __builtin_crypto_vpermxor()
16611 return (vector unsigned int)__builtin_altivec_crypto_vpermxor( in __builtin_crypto_vpermxor()
16612 (vector unsigned char)__a, (vector unsigned char)__b, in __builtin_crypto_vpermxor()
16613 (vector unsigned char)__c); in __builtin_crypto_vpermxor()
16616 static __inline__ vector unsigned long long __ATTRS_o_ai
16617 __builtin_crypto_vpermxor(vector unsigned long long __a, in __builtin_crypto_vpermxor()
16618 vector unsigned long long __b, in __builtin_crypto_vpermxor()
16619 vector unsigned long long __c) { in __builtin_crypto_vpermxor()
16620 return (vector unsigned long long)__builtin_altivec_crypto_vpermxor( in __builtin_crypto_vpermxor()
16621 (vector unsigned char)__a, (vector unsigned char)__b, in __builtin_crypto_vpermxor()
16622 (vector unsigned char)__c); in __builtin_crypto_vpermxor()
16625 static __inline__ vector unsigned char __ATTRS_o_ai
16626 __builtin_crypto_vpmsumb(vector unsigned char __a, vector unsigned char __b) { in __builtin_crypto_vpmsumb()
16630 static __inline__ vector unsigned short __ATTRS_o_ai
16631 __builtin_crypto_vpmsumb(vector unsigned short __a, vector unsigned short __b) { in __builtin_crypto_vpmsumb()
16635 static __inline__ vector unsigned int __ATTRS_o_ai
16636 __builtin_crypto_vpmsumb(vector unsigned int __a, vector unsigned int __b) { in __builtin_crypto_vpmsumb()
16640 static __inline__ vector unsigned long long __ATTRS_o_ai
16641 __builtin_crypto_vpmsumb(vector unsigned long long __a, in __builtin_crypto_vpmsumb()
16642 vector unsigned long long __b) { in __builtin_crypto_vpmsumb()
16646 static __inline__ vector signed char __ATTRS_o_ai
16647 vec_vgbbd(vector signed char __a) { in vec_vgbbd()
16648 return __builtin_altivec_vgbbd((vector unsigned char)__a); in vec_vgbbd()
16654 static __inline__ vector unsigned char __ATTRS_o_ai
16655 vec_vgbbd(vector unsigned char __a) { in vec_vgbbd()
16659 static __inline__ vector long long __ATTRS_o_ai
16660 vec_vbpermq(vector signed char __a, vector signed char __b) { in vec_vbpermq()
16661 return __builtin_altivec_vbpermq((vector unsigned char)__a, in vec_vbpermq()
16662 (vector unsigned char)__b); in vec_vbpermq()
16665 static __inline__ vector long long __ATTRS_o_ai
16666 vec_vbpermq(vector unsigned char __a, vector unsigned char __b) { in vec_vbpermq()
16671 static __inline__ vector unsigned long long __attribute__((__always_inline__))
16672 vec_bperm(vector unsigned __int128 __a, vector unsigned char __b) { in vec_bperm()
16673 return __builtin_altivec_vbpermq((vector unsigned char)__a, in vec_bperm()
16674 (vector unsigned char)__b); in vec_bperm()
16682 static inline __ATTRS_o_ai vector bool char vec_reve(vector bool char __a) { in vec_reve()
16687 static inline __ATTRS_o_ai vector signed char vec_reve(vector signed char __a) { in vec_reve()
16692 static inline __ATTRS_o_ai vector unsigned char
16693 vec_reve(vector unsigned char __a) { in vec_reve()
16698 static inline __ATTRS_o_ai vector bool int vec_reve(vector bool int __a) { in vec_reve()
16702 static inline __ATTRS_o_ai vector signed int vec_reve(vector signed int __a) { in vec_reve()
16706 static inline __ATTRS_o_ai vector unsigned int
16707 vec_reve(vector unsigned int __a) { in vec_reve()
16711 static inline __ATTRS_o_ai vector bool short vec_reve(vector bool short __a) { in vec_reve()
16715 static inline __ATTRS_o_ai vector signed short
16716 vec_reve(vector signed short __a) { in vec_reve()
16720 static inline __ATTRS_o_ai vector unsigned short
16721 vec_reve(vector unsigned short __a) { in vec_reve()
16725 static inline __ATTRS_o_ai vector float vec_reve(vector float __a) { in vec_reve()
16730 static inline __ATTRS_o_ai vector bool long long
16731 vec_reve(vector bool long long __a) { in vec_reve()
16735 static inline __ATTRS_o_ai vector signed long long
16736 vec_reve(vector signed long long __a) { in vec_reve()
16740 static inline __ATTRS_o_ai vector unsigned long long
16741 vec_reve(vector unsigned long long __a) { in vec_reve()
16745 static inline __ATTRS_o_ai vector double vec_reve(vector double __a) { in vec_reve()
16751 static __inline__ vector bool char __ATTRS_o_ai
16752 vec_revb(vector bool char __a) { in vec_revb()
16756 static __inline__ vector signed char __ATTRS_o_ai
16757 vec_revb(vector signed char __a) { in vec_revb()
16761 static __inline__ vector unsigned char __ATTRS_o_ai
16762 vec_revb(vector unsigned char __a) { in vec_revb()
16766 static __inline__ vector bool short __ATTRS_o_ai
16767 vec_revb(vector bool short __a) { in vec_revb()
16768 vector unsigned char __indices = in vec_revb()
16773 static __inline__ vector signed short __ATTRS_o_ai
16774 vec_revb(vector signed short __a) { in vec_revb()
16775 vector unsigned char __indices = in vec_revb()
16780 static __inline__ vector unsigned short __ATTRS_o_ai
16781 vec_revb(vector unsigned short __a) { in vec_revb()
16782 vector unsigned char __indices = in vec_revb()
16787 static __inline__ vector bool int __ATTRS_o_ai
16788 vec_revb(vector bool int __a) { in vec_revb()
16789 vector unsigned char __indices = in vec_revb()
16794 static __inline__ vector signed int __ATTRS_o_ai
16795 vec_revb(vector signed int __a) { in vec_revb()
16796 vector unsigned char __indices = in vec_revb()
16801 static __inline__ vector unsigned int __ATTRS_o_ai
16802 vec_revb(vector unsigned int __a) { in vec_revb()
16803 vector unsigned char __indices = in vec_revb()
16808 static __inline__ vector float __ATTRS_o_ai
16809 vec_revb(vector float __a) { in vec_revb()
16810 vector unsigned char __indices = in vec_revb()
16816 static __inline__ vector bool long long __ATTRS_o_ai
16817 vec_revb(vector bool long long __a) { in vec_revb()
16818 vector unsigned char __indices = in vec_revb()
16823 static __inline__ vector signed long long __ATTRS_o_ai
16824 vec_revb(vector signed long long __a) { in vec_revb()
16825 vector unsigned char __indices = in vec_revb()
16830 static __inline__ vector unsigned long long __ATTRS_o_ai
16831 vec_revb(vector unsigned long long __a) { in vec_revb()
16832 vector unsigned char __indices = in vec_revb()
16837 static __inline__ vector double __ATTRS_o_ai
16838 vec_revb(vector double __a) { in vec_revb()
16839 vector unsigned char __indices = in vec_revb()
16846 static __inline__ vector signed __int128 __ATTRS_o_ai
16847 vec_revb(vector signed __int128 __a) { in vec_revb()
16848 vector unsigned char __indices = in vec_revb()
16850 return (vector signed __int128)vec_perm((vector signed int)__a, in vec_revb()
16851 (vector signed int)__a, in vec_revb()
16855 static __inline__ vector unsigned __int128 __ATTRS_o_ai
16856 vec_revb(vector unsigned __int128 __a) { in vec_revb()
16857 vector unsigned char __indices = in vec_revb()
16859 return (vector unsigned __int128)vec_perm((vector signed int)__a, in vec_revb()
16860 (vector signed int)__a, in vec_revb()
16867 typedef vector signed char unaligned_vec_schar __attribute__((aligned(1)));
16868 typedef vector unsigned char unaligned_vec_uchar __attribute__((aligned(1)));
16869 typedef vector signed short unaligned_vec_sshort __attribute__((aligned(1)));
16870 typedef vector unsigned short unaligned_vec_ushort __attribute__((aligned(1)));
16871 typedef vector signed int unaligned_vec_sint __attribute__((aligned(1)));
16872 typedef vector unsigned int unaligned_vec_uint __attribute__((aligned(1)));
16873 typedef vector float unaligned_vec_float __attribute__((aligned(1)));
16875 static inline __ATTRS_o_ai vector signed char vec_xl(signed long long __offset, in vec_xl()
16880 static inline __ATTRS_o_ai vector unsigned char
16885 static inline __ATTRS_o_ai vector signed short vec_xl(signed long long __offset, in vec_xl()
16891 static inline __ATTRS_o_ai vector unsigned short
16897 static inline __ATTRS_o_ai vector signed int vec_xl(signed long long __offset, in vec_xl()
16903 static inline __ATTRS_o_ai vector unsigned int vec_xl(signed long long __offset, in vec_xl()
16909 static inline __ATTRS_o_ai vector float vec_xl(signed long long __offset, in vec_xl()
16916 typedef vector signed long long unaligned_vec_sll __attribute__((aligned(1)));
16917 typedef vector unsigned long long unaligned_vec_ull __attribute__((aligned(1)));
16918 typedef vector double unaligned_vec_double __attribute__((aligned(1)));
16920 static inline __ATTRS_o_ai vector signed long long
16926 static inline __ATTRS_o_ai vector unsigned long long
16932 static inline __ATTRS_o_ai vector double vec_xl(signed long long __offset, in vec_xl()
16940 typedef vector signed __int128 unaligned_vec_si128 __attribute__((aligned(1)));
16941 typedef vector unsigned __int128 unaligned_vec_ui128
16943 static inline __ATTRS_o_ai vector signed __int128
16949 static inline __ATTRS_o_ai vector unsigned __int128
16959 static __inline__ vector signed char __ATTRS_o_ai
16961 vector signed char __vec = (vector signed char)__builtin_vsx_lxvd2x_be(__offset, __ptr); in vec_xl_be()
16966 static __inline__ vector unsigned char __ATTRS_o_ai
16968 vector unsigned char __vec = (vector unsigned char)__builtin_vsx_lxvd2x_be(__offset, __ptr); in vec_xl_be()
16973 static __inline__ vector signed short __ATTRS_o_ai
16975 vector signed short __vec = (vector signed short)__builtin_vsx_lxvd2x_be(__offset, __ptr); in vec_xl_be()
16979 static __inline__ vector unsigned short __ATTRS_o_ai
16981 vector unsigned short __vec = (vector unsigned short)__builtin_vsx_lxvd2x_be(__offset, __ptr); in vec_xl_be()
16985 static __inline__ vector signed int __ATTRS_o_ai
16987 return (vector signed int)__builtin_vsx_lxvw4x_be(__offset, __ptr); in vec_xl_be()
16990 static __inline__ vector unsigned int __ATTRS_o_ai
16992 return (vector unsigned int)__builtin_vsx_lxvw4x_be(__offset, __ptr); in vec_xl_be()
16995 static __inline__ vector float __ATTRS_o_ai
16997 return (vector float)__builtin_vsx_lxvw4x_be(__offset, __ptr); in vec_xl_be()
17001 static __inline__ vector signed long long __ATTRS_o_ai
17003 return (vector signed long long)__builtin_vsx_lxvd2x_be(__offset, __ptr); in vec_xl_be()
17006 static __inline__ vector unsigned long long __ATTRS_o_ai
17008 return (vector unsigned long long)__builtin_vsx_lxvd2x_be(__offset, __ptr); in vec_xl_be()
17011 static __inline__ vector double __ATTRS_o_ai
17013 return (vector double)__builtin_vsx_lxvd2x_be(__offset, __ptr); in vec_xl_be()
17018 static __inline__ vector signed __int128 __ATTRS_o_ai
17023 static __inline__ vector unsigned __int128 __ATTRS_o_ai
17036 static __inline__ vector unsigned __int128 __ATTRS_o_ai
17038 return (vector unsigned __int128)*(__pointer + __offset); in vec_xl_sext()
17041 static __inline__ vector unsigned __int128 __ATTRS_o_ai
17043 return (vector unsigned __int128)*(__pointer + __offset); in vec_xl_sext()
17046 static __inline__ vector unsigned __int128 __ATTRS_o_ai
17048 return (vector unsigned __int128)*(__pointer + __offset); in vec_xl_sext()
17051 static __inline__ vector unsigned __int128 __ATTRS_o_ai
17053 return (vector unsigned __int128)*(__pointer + __offset); in vec_xl_sext()
17058 static __inline__ vector unsigned __int128 __ATTRS_o_ai
17060 return (vector unsigned __int128)*(__pointer + __offset); in vec_xl_zext()
17063 static __inline__ vector unsigned __int128 __ATTRS_o_ai
17065 return (vector unsigned __int128)*(__pointer + __offset); in vec_xl_zext()
17068 static __inline__ vector unsigned __int128 __ATTRS_o_ai
17070 return (vector unsigned __int128)*(__pointer + __offset); in vec_xl_zext()
17073 static __inline__ vector unsigned __int128 __ATTRS_o_ai
17075 return (vector unsigned __int128)*(__pointer + __offset); in vec_xl_zext()
17082 static inline __ATTRS_o_ai void vec_xst(vector signed char __vec, in vec_xst()
17088 static inline __ATTRS_o_ai void vec_xst(vector unsigned char __vec, in vec_xst()
17094 static inline __ATTRS_o_ai void vec_xst(vector signed short __vec, in vec_xst()
17101 static inline __ATTRS_o_ai void vec_xst(vector unsigned short __vec, in vec_xst()
17108 static inline __ATTRS_o_ai void vec_xst(vector signed int __vec, in vec_xst()
17115 static inline __ATTRS_o_ai void vec_xst(vector unsigned int __vec, in vec_xst()
17122 static inline __ATTRS_o_ai void vec_xst(vector float __vec, in vec_xst()
17130 static inline __ATTRS_o_ai void vec_xst(vector signed long long __vec, in vec_xst()
17137 static inline __ATTRS_o_ai void vec_xst(vector unsigned long long __vec, in vec_xst()
17144 static inline __ATTRS_o_ai void vec_xst(vector double __vec, in vec_xst()
17153 static inline __ATTRS_o_ai void vec_xst(vector signed __int128 __vec, in vec_xst()
17160 static inline __ATTRS_o_ai void vec_xst(vector unsigned __int128 __vec, in vec_xst()
17171 static inline __ATTRS_o_ai void vec_xst_trunc(vector signed __int128 __vec, in vec_xst_trunc()
17177 static inline __ATTRS_o_ai void vec_xst_trunc(vector unsigned __int128 __vec, in vec_xst_trunc()
17183 static inline __ATTRS_o_ai void vec_xst_trunc(vector signed __int128 __vec, in vec_xst_trunc()
17189 static inline __ATTRS_o_ai void vec_xst_trunc(vector unsigned __int128 __vec, in vec_xst_trunc()
17195 static inline __ATTRS_o_ai void vec_xst_trunc(vector signed __int128 __vec, in vec_xst_trunc()
17201 static inline __ATTRS_o_ai void vec_xst_trunc(vector unsigned __int128 __vec, in vec_xst_trunc()
17207 static inline __ATTRS_o_ai void vec_xst_trunc(vector signed __int128 __vec, in vec_xst_trunc()
17213 static inline __ATTRS_o_ai void vec_xst_trunc(vector unsigned __int128 __vec, in vec_xst_trunc()
17223 static __inline__ void __ATTRS_o_ai vec_xst_be(vector signed char __vec, in vec_xst_be()
17226 vector signed char __tmp = in vec_xst_be()
17233 static __inline__ void __ATTRS_o_ai vec_xst_be(vector unsigned char __vec, in vec_xst_be()
17236 vector unsigned char __tmp = in vec_xst_be()
17243 static __inline__ void __ATTRS_o_ai vec_xst_be(vector signed short __vec, in vec_xst_be()
17246 vector signed short __tmp = in vec_xst_be()
17252 static __inline__ void __ATTRS_o_ai vec_xst_be(vector unsigned short __vec, in vec_xst_be()
17255 vector unsigned short __tmp = in vec_xst_be()
17261 static __inline__ void __ATTRS_o_ai vec_xst_be(vector signed int __vec, in vec_xst_be()
17267 static __inline__ void __ATTRS_o_ai vec_xst_be(vector unsigned int __vec, in vec_xst_be()
17270 __builtin_vsx_stxvw4x_be((vector int)__vec, __offset, __ptr); in vec_xst_be()
17273 static __inline__ void __ATTRS_o_ai vec_xst_be(vector float __vec, in vec_xst_be()
17276 __builtin_vsx_stxvw4x_be((vector int)__vec, __offset, __ptr); in vec_xst_be()
17280 static __inline__ void __ATTRS_o_ai vec_xst_be(vector signed long long __vec, in vec_xst_be()
17283 __builtin_vsx_stxvd2x_be((vector double)__vec, __offset, __ptr); in vec_xst_be()
17286 static __inline__ void __ATTRS_o_ai vec_xst_be(vector unsigned long long __vec, in vec_xst_be()
17289 __builtin_vsx_stxvd2x_be((vector double)__vec, __offset, __ptr); in vec_xst_be()
17292 static __inline__ void __ATTRS_o_ai vec_xst_be(vector double __vec, in vec_xst_be()
17295 __builtin_vsx_stxvd2x_be((vector double)__vec, __offset, __ptr); in vec_xst_be()
17300 static __inline__ void __ATTRS_o_ai vec_xst_be(vector signed __int128 __vec, in vec_xst_be()
17306 static __inline__ void __ATTRS_o_ai vec_xst_be(vector unsigned __int128 __vec, in vec_xst_be()
17319 (__a), vector float \
17320 : (vector bool int)__builtin_vsx_xvtstdcsp((vector float)(__a), (__b)), \
17321 vector double \
17322 : (vector bool long long)__builtin_vsx_xvtstdcdp((vector double)(__a), \
17327 static vector float __ATTRS_o_ai vec_neg(vector float __a) { in vec_neg()
17332 static vector double __ATTRS_o_ai vec_neg(vector double __a) { in vec_neg()
17339 static vector long long __ATTRS_o_ai vec_neg(vector long long __a) { in vec_neg()
17344 static vector signed int __ATTRS_o_ai vec_neg(vector signed int __a) { in vec_neg()
17348 static vector signed short __ATTRS_o_ai vec_neg(vector signed short __a) { in vec_neg()
17352 static vector signed char __ATTRS_o_ai vec_neg(vector signed char __a) { in vec_neg()
17356 static vector float __ATTRS_o_ai vec_nabs(vector float __a) { in vec_nabs()
17361 static vector double __ATTRS_o_ai vec_nabs(vector double __a) { in vec_nabs()
17368 static vector long long __ATTRS_o_ai vec_nabs(vector long long __a) { in vec_nabs()
17373 static vector signed int __ATTRS_o_ai vec_nabs(vector signed int __a) { in vec_nabs()
17377 static vector signed short __ATTRS_o_ai vec_nabs(vector signed short __a) { in vec_nabs()
17381 static vector signed char __ATTRS_o_ai vec_nabs(vector signed char __a) { in vec_nabs()
17390 vec_extractm(vector unsigned char __a) { in vec_extractm()
17395 vec_extractm(vector unsigned short __a) { in vec_extractm()
17400 vec_extractm(vector unsigned int __a) { in vec_extractm()
17405 vec_extractm(vector unsigned long long __a) { in vec_extractm()
17410 vec_extractm(vector unsigned __int128 __a) { in vec_extractm()
17416 static __inline__ vector unsigned char __ATTRS_o_ai
17417 vec_expandm(vector unsigned char __a) { in vec_expandm()
17421 static __inline__ vector unsigned short __ATTRS_o_ai
17422 vec_expandm(vector unsigned short __a) { in vec_expandm()
17426 static __inline__ vector unsigned int __ATTRS_o_ai
17427 vec_expandm(vector unsigned int __a) { in vec_expandm()
17431 static __inline__ vector unsigned long long __ATTRS_o_ai
17432 vec_expandm(vector unsigned long long __a) { in vec_expandm()
17436 static __inline__ vector unsigned __int128 __ATTRS_o_ai
17437 vec_expandm(vector unsigned __int128 __a) { in vec_expandm()
17444 _Generic((__a), vector unsigned char \
17446 vector unsigned short \
17448 vector unsigned int \
17450 vector unsigned long long \
17455 static __inline__ vector unsigned char __ATTRS_o_ai
17460 static __inline__ vector unsigned short __ATTRS_o_ai
17465 static __inline__ vector unsigned int __ATTRS_o_ai
17470 static __inline__ vector unsigned long long __ATTRS_o_ai
17475 static __inline__ vector unsigned __int128 __ATTRS_o_ai
17482 static __inline__ vector unsigned long long __ATTRS_o_ai
17483 vec_pdep(vector unsigned long long __a, vector unsigned long long __b) { in vec_pdep()
17489 static __inline__ vector unsigned long long __ATTRS_o_ai
17490 vec_pext(vector unsigned long long __a, vector unsigned long long __b) { in vec_pext()
17496 static __inline__ vector unsigned long long __ATTRS_o_ai
17497 vec_cfuge(vector unsigned long long __a, vector unsigned long long __b) { in vec_cfuge()
17508 _Generic((__a), vector unsigned char \
17509 : __builtin_vsx_xxeval((vector unsigned long long)(__a), \
17510 (vector unsigned long long)(__b), \
17511 (vector unsigned long long)(__c), (__imm)), \
17512 vector unsigned short \
17513 : __builtin_vsx_xxeval((vector unsigned long long)(__a), \
17514 (vector unsigned long long)(__b), \
17515 (vector unsigned long long)(__c), (__imm)), \
17516 vector unsigned int \
17517 : __builtin_vsx_xxeval((vector unsigned long long)(__a), \
17518 (vector unsigned long long)(__b), \
17519 (vector unsigned long long)(__c), (__imm)), \
17520 vector unsigned long long \
17521 : __builtin_vsx_xxeval((vector unsigned long long)(__a), \
17522 (vector unsigned long long)(__b), \
17523 (vector unsigned long long)(__c), (__imm)), \
17524 vector unsigned __int128 \
17525 : __builtin_vsx_xxeval((vector unsigned long long)(__a), \
17526 (vector unsigned long long)(__b), \
17527 (vector unsigned long long)(__c), (__imm)))
17534 _Generic((__a), vector unsigned char \
17536 vector unsigned short \
17538 vector unsigned int \
17540 vector unsigned long long \
17546 static __inline__ vector signed char __ATTRS_o_ai
17547 vec_clrl(vector signed char __a, unsigned int __n) { in vec_clrl()
17555 static __inline__ vector unsigned char __ATTRS_o_ai
17556 vec_clrl(vector unsigned char __a, unsigned int __n) { in vec_clrl()
17558 return __builtin_altivec_vclrrb((vector signed char)__a, __n); in vec_clrl()
17560 return __builtin_altivec_vclrlb((vector signed char)__a, __n); in vec_clrl()
17566 static __inline__ vector signed char __ATTRS_o_ai
17567 vec_clrr(vector signed char __a, unsigned int __n) { in vec_clrr()
17575 static __inline__ vector unsigned char __ATTRS_o_ai
17576 vec_clrr(vector unsigned char __a, unsigned int __n) { in vec_clrr()
17578 return __builtin_altivec_vclrlb((vector signed char)__a, __n); in vec_clrr()
17580 return __builtin_altivec_vclrrb((vector signed char)__a, __n); in vec_clrr()
17586 static __inline__ vector unsigned long long __ATTRS_o_ai
17587 vec_cntlzm(vector unsigned long long __a, vector unsigned long long __b) { in vec_cntlzm()
17593 static __inline__ vector unsigned long long __ATTRS_o_ai
17594 vec_cnttzm(vector unsigned long long __a, vector unsigned long long __b) { in vec_cnttzm()
17600 static __inline__ vector signed int __ATTRS_o_ai
17601 vec_mod(vector signed int __a, vector signed int __b) { in vec_mod()
17605 static __inline__ vector unsigned int __ATTRS_o_ai
17606 vec_mod(vector unsigned int __a, vector unsigned int __b) { in vec_mod()
17610 static __inline__ vector signed long long __ATTRS_o_ai
17611 vec_mod(vector signed long long __a, vector signed long long __b) { in vec_mod()
17615 static __inline__ vector unsigned long long __ATTRS_o_ai
17616 vec_mod(vector unsigned long long __a, vector unsigned long long __b) { in vec_mod()
17620 static __inline__ vector signed __int128 __ATTRS_o_ai
17621 vec_mod(vector signed __int128 __a, vector signed __int128 __b) { in vec_mod()
17625 static __inline__ vector unsigned __int128 __ATTRS_o_ai
17626 vec_mod(vector unsigned __int128 __a, vector unsigned __int128 __b) { in vec_mod()
17640 static __inline__ vector unsigned char __ATTRS_o_ai
17641 vec_insertl(unsigned char __a, vector unsigned char __b, unsigned int __c) { in vec_insertl()
17649 static __inline__ vector unsigned short __ATTRS_o_ai
17650 vec_insertl(unsigned short __a, vector unsigned short __b, unsigned int __c) { in vec_insertl()
17658 static __inline__ vector unsigned int __ATTRS_o_ai
17659 vec_insertl(unsigned int __a, vector unsigned int __b, unsigned int __c) { in vec_insertl()
17667 static __inline__ vector unsigned long long __ATTRS_o_ai
17668 vec_insertl(unsigned long long __a, vector unsigned long long __b, in vec_insertl()
17677 static __inline__ vector unsigned char __ATTRS_o_ai
17678 vec_insertl(vector unsigned char __a, vector unsigned char __b, in vec_insertl()
17687 static __inline__ vector unsigned short __ATTRS_o_ai
17688 vec_insertl(vector unsigned short __a, vector unsigned short __b, in vec_insertl()
17697 static __inline__ vector unsigned int __ATTRS_o_ai
17698 vec_insertl(vector unsigned int __a, vector unsigned int __b, in vec_insertl()
17709 static __inline__ vector unsigned char __ATTRS_o_ai
17710 vec_inserth(unsigned char __a, vector unsigned char __b, unsigned int __c) { in vec_inserth()
17718 static __inline__ vector unsigned short __ATTRS_o_ai
17719 vec_inserth(unsigned short __a, vector unsigned short __b, unsigned int __c) { in vec_inserth()
17727 static __inline__ vector unsigned int __ATTRS_o_ai
17728 vec_inserth(unsigned int __a, vector unsigned int __b, unsigned int __c) { in vec_inserth()
17736 static __inline__ vector unsigned long long __ATTRS_o_ai
17737 vec_inserth(unsigned long long __a, vector unsigned long long __b, in vec_inserth()
17746 static __inline__ vector unsigned char __ATTRS_o_ai
17747 vec_inserth(vector unsigned char __a, vector unsigned char __b, in vec_inserth()
17756 static __inline__ vector unsigned short __ATTRS_o_ai
17757 vec_inserth(vector unsigned short __a, vector unsigned short __b, in vec_inserth()
17766 static __inline__ vector unsigned int __ATTRS_o_ai
17767 vec_inserth(vector unsigned int __a, vector unsigned int __b, in vec_inserth()
17778 static __inline__ vector unsigned long long __ATTRS_o_ai vec_extractl( in vec_extractl()
17779 vector unsigned char __a, vector unsigned char __b, unsigned int __c) { in vec_extractl()
17783 vector unsigned long long __ret = __builtin_altivec_vextdubvlx(__a, __b, __c); in vec_extractl()
17788 static __inline__ vector unsigned long long __ATTRS_o_ai vec_extractl( in vec_extractl()
17789 vector unsigned short __a, vector unsigned short __b, unsigned int __c) { in vec_extractl()
17793 vector unsigned long long __ret = __builtin_altivec_vextduhvlx(__a, __b, __c); in vec_extractl()
17798 static __inline__ vector unsigned long long __ATTRS_o_ai vec_extractl( in vec_extractl()
17799 vector unsigned int __a, vector unsigned int __b, unsigned int __c) { in vec_extractl()
17803 vector unsigned long long __ret = __builtin_altivec_vextduwvlx(__a, __b, __c); in vec_extractl()
17808 static __inline__ vector unsigned long long __ATTRS_o_ai
17809 vec_extractl(vector unsigned long long __a, vector unsigned long long __b, in vec_extractl()
17814 vector unsigned long long __ret = __builtin_altivec_vextddvlx(__a, __b, __c); in vec_extractl()
17821 static __inline__ vector unsigned long long __ATTRS_o_ai vec_extracth( in vec_extracth()
17822 vector unsigned char __a, vector unsigned char __b, unsigned int __c) { in vec_extracth()
17826 vector unsigned long long __ret = __builtin_altivec_vextdubvrx(__a, __b, __c); in vec_extracth()
17831 static __inline__ vector unsigned long long __ATTRS_o_ai vec_extracth( in vec_extracth()
17832 vector unsigned short __a, vector unsigned short __b, unsigned int __c) { in vec_extracth()
17836 vector unsigned long long __ret = __builtin_altivec_vextduhvrx(__a, __b, __c); in vec_extracth()
17841 static __inline__ vector unsigned long long __ATTRS_o_ai vec_extracth( in vec_extracth()
17842 vector unsigned int __a, vector unsigned int __b, unsigned int __c) { in vec_extracth()
17846 vector unsigned long long __ret = __builtin_altivec_vextduwvrx(__a, __b, __c); in vec_extracth()
17851 static __inline__ vector unsigned long long __ATTRS_o_ai
17852 vec_extracth(vector unsigned long long __a, vector unsigned long long __b, in vec_extracth()
17857 vector unsigned long long __ret = __builtin_altivec_vextddvrx(__a, __b, __c); in vec_extracth()
17871 static __inline__ vector signed char __ATTRS_o_ai
17872 vec_blendv(vector signed char __a, vector signed char __b, in vec_blendv()
17873 vector unsigned char __c) { in vec_blendv()
17877 static __inline__ vector unsigned char __ATTRS_o_ai
17878 vec_blendv(vector unsigned char __a, vector unsigned char __b, in vec_blendv()
17879 vector unsigned char __c) { in vec_blendv()
17883 static __inline__ vector signed short __ATTRS_o_ai
17884 vec_blendv(vector signed short __a, vector signed short __b, in vec_blendv()
17885 vector unsigned short __c) { in vec_blendv()
17889 static __inline__ vector unsigned short __ATTRS_o_ai
17890 vec_blendv(vector unsigned short __a, vector unsigned short __b, in vec_blendv()
17891 vector unsigned short __c) { in vec_blendv()
17895 static __inline__ vector signed int __ATTRS_o_ai
17896 vec_blendv(vector signed int __a, vector signed int __b, in vec_blendv()
17897 vector unsigned int __c) { in vec_blendv()
17901 static __inline__ vector unsigned int __ATTRS_o_ai
17902 vec_blendv(vector unsigned int __a, vector unsigned int __b, in vec_blendv()
17903 vector unsigned int __c) { in vec_blendv()
17907 static __inline__ vector signed long long __ATTRS_o_ai
17908 vec_blendv(vector signed long long __a, vector signed long long __b, in vec_blendv()
17909 vector unsigned long long __c) { in vec_blendv()
17913 static __inline__ vector unsigned long long __ATTRS_o_ai
17914 vec_blendv(vector unsigned long long __a, vector unsigned long long __b, in vec_blendv()
17915 vector unsigned long long __c) { in vec_blendv()
17919 static __inline__ vector float __ATTRS_o_ai
17920 vec_blendv(vector float __a, vector float __b, vector unsigned int __c) { in vec_blendv()
17924 static __inline__ vector double __ATTRS_o_ai
17925 vec_blendv(vector double __a, vector double __b, in vec_blendv()
17926 vector unsigned long long __c) { in vec_blendv()
17942 : ((vector signed int)__a), unsigned int \
17943 : ((vector unsigned int)__a), float \
17944 : ((vector float)__a))
17948 static __inline__ vector double __ATTRS_o_ai vec_splatid(const float __a) { in vec_splatid()
17949 return ((vector double)((double)__a)); in vec_splatid()
17954 static __inline__ vector signed int __ATTRS_o_ai vec_splati_ins( in vec_splati_ins()
17955 vector signed int __a, const unsigned int __b, const signed int __c) { in vec_splati_ins()
17966 static __inline__ vector unsigned int __ATTRS_o_ai vec_splati_ins( in vec_splati_ins()
17967 vector unsigned int __a, const unsigned int __b, const unsigned int __c) { in vec_splati_ins()
17978 static __inline__ vector float __ATTRS_o_ai
17979 vec_splati_ins(vector float __a, const unsigned int __b, const float __c) { in vec_splati_ins()
17993 vec_test_lsbb_all_ones(vector unsigned char __a) { in vec_test_lsbb_all_ones()
18000 vec_test_lsbb_all_zeros(vector unsigned char __a) { in vec_test_lsbb_all_zeros()
18007 static __inline__ vector unsigned char __ATTRS_o_ai
18008 vec_stril(vector unsigned char __a) { in vec_stril()
18010 return __builtin_altivec_vstribr((vector signed char)__a); in vec_stril()
18012 return __builtin_altivec_vstribl((vector signed char)__a); in vec_stril()
18016 static __inline__ vector signed char __ATTRS_o_ai
18017 vec_stril(vector signed char __a) { in vec_stril()
18025 static __inline__ vector unsigned short __ATTRS_o_ai
18026 vec_stril(vector unsigned short __a) { in vec_stril()
18028 return __builtin_altivec_vstrihr((vector signed short)__a); in vec_stril()
18030 return __builtin_altivec_vstrihl((vector signed short)__a); in vec_stril()
18034 static __inline__ vector signed short __ATTRS_o_ai
18035 vec_stril(vector signed short __a) { in vec_stril()
18045 static __inline__ int __ATTRS_o_ai vec_stril_p(vector unsigned char __a) { in vec_stril_p()
18047 return __builtin_altivec_vstribr_p(__CR6_EQ, (vector signed char)__a); in vec_stril_p()
18049 return __builtin_altivec_vstribl_p(__CR6_EQ, (vector signed char)__a); in vec_stril_p()
18053 static __inline__ int __ATTRS_o_ai vec_stril_p(vector signed char __a) { in vec_stril_p()
18061 static __inline__ int __ATTRS_o_ai vec_stril_p(vector unsigned short __a) { in vec_stril_p()
18063 return __builtin_altivec_vstrihr_p(__CR6_EQ, (vector signed short)__a); in vec_stril_p()
18065 return __builtin_altivec_vstrihl_p(__CR6_EQ, (vector signed short)__a); in vec_stril_p()
18069 static __inline__ int __ATTRS_o_ai vec_stril_p(vector signed short __a) { in vec_stril_p()
18079 static __inline__ vector unsigned char __ATTRS_o_ai
18080 vec_strir(vector unsigned char __a) { in vec_strir()
18082 return __builtin_altivec_vstribl((vector signed char)__a); in vec_strir()
18084 return __builtin_altivec_vstribr((vector signed char)__a); in vec_strir()
18088 static __inline__ vector signed char __ATTRS_o_ai
18089 vec_strir(vector signed char __a) { in vec_strir()
18097 static __inline__ vector unsigned short __ATTRS_o_ai
18098 vec_strir(vector unsigned short __a) { in vec_strir()
18100 return __builtin_altivec_vstrihl((vector signed short)__a); in vec_strir()
18102 return __builtin_altivec_vstrihr((vector signed short)__a); in vec_strir()
18106 static __inline__ vector signed short __ATTRS_o_ai
18107 vec_strir(vector signed short __a) { in vec_strir()
18117 static __inline__ int __ATTRS_o_ai vec_strir_p(vector unsigned char __a) { in vec_strir_p()
18119 return __builtin_altivec_vstribl_p(__CR6_EQ, (vector signed char)__a); in vec_strir_p()
18121 return __builtin_altivec_vstribr_p(__CR6_EQ, (vector signed char)__a); in vec_strir_p()
18125 static __inline__ int __ATTRS_o_ai vec_strir_p(vector signed char __a) { in vec_strir_p()
18133 static __inline__ int __ATTRS_o_ai vec_strir_p(vector unsigned short __a) { in vec_strir_p()
18135 return __builtin_altivec_vstrihl_p(__CR6_EQ, (vector signed short)__a); in vec_strir_p()
18137 return __builtin_altivec_vstrihr_p(__CR6_EQ, (vector signed short)__a); in vec_strir_p()
18141 static __inline__ int __ATTRS_o_ai vec_strir_p(vector signed short __a) { in vec_strir_p()
18151 static __inline__ vector unsigned __int128 __ATTRS_o_ai
18152 vec_sl(vector unsigned __int128 __a, vector unsigned __int128 __b) { in vec_sl()
18153 return __a << (__b % (vector unsigned __int128)(sizeof(unsigned __int128) * in vec_sl()
18157 static __inline__ vector signed __int128 __ATTRS_o_ai
18158 vec_sl(vector signed __int128 __a, vector unsigned __int128 __b) { in vec_sl()
18159 return __a << (__b % (vector unsigned __int128)(sizeof(unsigned __int128) * in vec_sl()
18163 static __inline__ vector unsigned __int128 __ATTRS_o_ai
18164 vec_sr(vector unsigned __int128 __a, vector unsigned __int128 __b) { in vec_sr()
18165 return __a >> (__b % (vector unsigned __int128)(sizeof(unsigned __int128) * in vec_sr()
18169 static __inline__ vector signed __int128 __ATTRS_o_ai
18170 vec_sr(vector signed __int128 __a, vector unsigned __int128 __b) { in vec_sr()
18172 vector signed __int128)(((vector unsigned __int128)__a) >> in vec_sr()
18174 (vector unsigned __int128)(sizeof( in vec_sr()
18179 static __inline__ vector unsigned __int128 __ATTRS_o_ai
18180 vec_sra(vector unsigned __int128 __a, vector unsigned __int128 __b) { in vec_sra()
18182 vector unsigned __int128)(((vector signed __int128)__a) >> in vec_sra()
18184 (vector unsigned __int128)(sizeof( in vec_sra()
18189 static __inline__ vector signed __int128 __ATTRS_o_ai
18190 vec_sra(vector signed __int128 __a, vector unsigned __int128 __b) { in vec_sra()
18191 return __a >> (__b % (vector unsigned __int128)(sizeof(unsigned __int128) * in vec_sra()