Home | History | Annotate | Download | only in clang-include

Lines Matching refs:__b

40                                                 vector signed char __b,
44 vector unsigned char __b,
48 vector bool char __b,
52 vector signed short __b,
56 vector unsigned short __b,
60 vector bool short __b,
63 static vector pixel __ATTRS_o_ai vec_perm(vector pixel __a, vector pixel __b,
67 vector signed int __b,
71 vector unsigned int __b,
75 vector bool int __b,
78 static vector float __ATTRS_o_ai vec_perm(vector float __a, vector float __b,
83 vector signed long long __b,
87 vec_perm(vector unsigned long long __a, vector unsigned long long __b,
91 vec_perm(vector bool long long __a, vector bool long long __b,
94 static vector double __ATTRS_o_ai vec_perm(vector double __a, vector double __b,
99 vector unsigned char __b);
163 vector signed char __b) {
164 return __a + __b;
168 vector signed char __b) {
169 return (vector signed char)__a + __b;
173 vector bool char __b) {
174 return __a + (vector signed char)__b;
178 vector unsigned char __b) {
179 return __a + __b;
183 vector unsigned char __b) {
184 return (vector unsigned char)__a + __b;
188 vector bool char __b) {
189 return __a + (vector unsigned char)__b;
192 static vector short __ATTRS_o_ai vec_add(vector short __a, vector short __b) {
193 return __a + __b;
197 vector short __b) {
198 return (vector short)__a + __b;
202 vector bool short __b) {
203 return __a + (vector short)__b;
207 vector unsigned short __b) {
208 return __a + __b;
212 vector unsigned short __b) {
213 return (vector unsigned short)__a + __b;
217 vector bool short __b) {
218 return __a + (vector unsigned short)__b;
221 static vector int __ATTRS_o_ai vec_add(vector int __a, vector int __b) {
222 return __a + __b;
225 static vector int __ATTRS_o_ai vec_add(vector bool int __a, vector int __b) {
226 return (vector int)__a + __b;
229 static vector int __ATTRS_o_ai vec_add(vector int __a, vector bool int __b) {
230 return __a + (vector int)__b;
234 vector unsigned int __b) {
235 return __a + __b;
239 vector unsigned int __b) {
240 return (vector unsigned int)__a + __b;
244 vector bool int __b) {
245 return __a + (vector unsigned int)__b;
250 vec_add(vector signed long long __a, vector signed long long __b) {
251 return __a + __b;
255 vec_add(vector unsigned long long __a, vector unsigned long long __b) {
256 return __a + __b;
260 vector signed __int128 __b) {
261 return __a + __b;
265 vec_add(vector unsigned __int128 __a, vector unsigned __int128 __b) {
266 return __a + __b;
270 static vector float __ATTRS_o_ai vec_add(vector float __a, vector float __b) {
271 return __a + __b;
276 vec_add(vector double __a, vector double __b) {
277 return __a + __b;
285 vec_adde(vector signed __int128 __a, vector signed __int128 __b,
287 return __builtin_altivec_vaddeuqm(__a, __b, __c);
291 vec_adde(vector unsigned __int128 __a, vector unsigned __int128 __b,
293 return __builtin_altivec_vaddeuqm(__a, __b, __c);
301 vec_addec(vector signed __int128 __a, vector signed __int128 __b,
303 return __builtin_altivec_vaddecuq(__a, __b, __c);
307 vec_addec(vector unsigned __int128 __a, vector unsigned __int128 __b,
309 return __builtin_altivec_vaddecuq(__a, __b, __c);
318 vector signed char __b) {
319 return __a + __b;
323 vector signed char __b) {
324 return (vector signed char)__a + __b;
328 vector bool char __b) {
329 return __a + (vector signed char)__b;
333 vector unsigned char __b) {
334 return __a + __b;
338 vector unsigned char __b) {
339 return (vector unsigned char)__a + __b;
343 vector bool char __b) {
344 return __a + (vector unsigned char)__b;
352 vector short __b) {
353 return __a + __b;
357 vector short __b) {
358 return (vector short)__a + __b;
362 vector bool short __b) {
363 return __a + (vector short)__b;
367 vec_vadduhm(vector unsigned short __a, vector unsigned short __b) {
368 return __a + __b;
372 vec_vadduhm(vector bool short __a, vector unsigned short __b) {
373 return (vector unsigned short)__a + __b;
377 vector bool short __b) {
378 return __a + (vector unsigned short)__b;
385 static vector int __ATTRS_o_ai vec_vadduwm(vector int __a, vector int __b) {
386 return __a + __b;
390 vector int __b) {
391 return (vector int)__a + __b;
395 vector bool int __b) {
396 return __a + (vector int)__b;
400 vector unsigned int __b) {
401 return __a + __b;
405 vector unsigned int __b) {
406 return (vector unsigned int)__a + __b;
410 vector bool int __b) {
411 return __a + (vector unsigned int)__b;
419 vec_vaddfp(vector float __a, vector float __b) {
420 return __a + __b;
426 vector signed int __b) {
428 (vector unsigned int)__b);
432 vector unsigned int __b) {
433 return __builtin_altivec_vaddcuw(__a, __b);
438 vec_addc(vector signed __int128 __a, vector signed __int128 __b) {
441 (vector unsigned __int128)__b);
445 vec_addc(vector unsigned __int128 __a, vector unsigned __int128 __b) {
446 return __builtin_altivec_vaddcuq(__a, __b);
453 vec_vaddcuw(vector unsigned int __a, vector unsigned int __b) {
454 return __builtin_altivec_vaddcuw(__a, __b);
460 vector signed char __b) {
461 __b);
465 vector signed char __b) {
466 return __builtin_altivec_vaddsbs((vector signed char)__a, __b);
470 vector bool char __b) {
471 return __builtin_altivec_vaddsbs(__a, (vector signed char)__b);
475 vector unsigned char __b) {
476 return __builtin_altivec_vaddubs(__a, __b);
480 vector unsigned char __b) {
481 return __builtin_altivec_vaddubs((vector unsigned char)__a, __b);
485 vector bool char __b) {
486 return __builtin_altivec_vaddubs(__a, (vector unsigned char)__b);
489 static vector short __ATTRS_o_ai vec_adds(vector short __a, vector short __b) {
490 return __builtin_altivec_vaddshs(__a, __b);
494 vector short __b) {
495 return __builtin_altivec_vaddshs((vector short)__a, __b);
499 vector bool short __b) {
500 return __builtin_altivec_vaddshs(__a, (vector short)__b);
504 vector unsigned short __b) {
505 return __builtin_altivec_vadduhs(__a, __b);
509 vector unsigned short __b) {
510 return __builtin_altivec_vadduhs((vector unsigned short)__a, __b);
514 vector bool short __b) {
515 return __builtin_altivec_vadduhs(__a, (vector unsigned short)__b);
518 static vector int __ATTRS_o_ai vec_adds(vector int __a, vector int __b) {
519 return __builtin_altivec_vaddsws(__a, __b);
522 static vector int __ATTRS_o_ai vec_adds(vector bool int __a, vector int __b) {
523 return __builtin_altivec_vaddsws((vector int)__a, __b);
526 static vector int __ATTRS_o_ai vec_adds(vector int __a, vector bool int __b) {
527 return __builtin_altivec_vaddsws(__a, (vector int)__b);
531 vector unsigned int __b) {
532 return __builtin_altivec_vadduws(__a, __b);
536 vector unsigned int __b) {
537 return __builtin_altivec_vadduws((vector unsigned int)__a, __b);
541 vector bool int __b) {
542 return __builtin_altivec_vadduws(__a, (vector unsigned int)__b);
548 vector signed char __b) {
549 return __builtin_altivec_vaddsbs(__a, __b);
553 vector signed char __b) {
554 return __builtin_altivec_vaddsbs((vector signed char)__a, __b);
558 vector bool char __b) {
559 return __builtin_altivec_vaddsbs(__a, (vector signed char)__b);
565 vector unsigned char __b) {
566 return __builtin_altivec_vaddubs(__a, __b);
570 vector unsigned char __b) {
571 return __builtin_altivec_vaddubs((vector unsigned char)__a, __b);
575 vector bool char __b) {
576 return __builtin_altivec_vaddubs(__a, (vector unsigned char)__b);
582 vector short __b) {
583 return __builtin_altivec_vaddshs(__a, __b);
587 vector short __b) {
588 return __builtin_altivec_vaddshs((vector short)__a, __b);
592 vector bool short __b) {
593 return __builtin_altivec_vaddshs(__a, (vector short)__b);
599 vec_vadduhs(vector unsigned short __a, vector unsigned short __b) {
600 return __builtin_altivec_vadduhs(__a, __b);
604 vec_vadduhs(vector bool short __a, vector unsigned short __b) {
605 return __builtin_altivec_vadduhs((vector unsigned short)__a, __b);
609 vector bool short __b) {
610 return __builtin_altivec_vadduhs(__a, (vector unsigned short)__b);
615 static vector int __ATTRS_o_ai vec_vaddsws(vector int __a, vector int __b) {
616 return __builtin_altivec_vaddsws(__a, __b);
620 vector int __b) {
621 return __builtin_altivec_vaddsws((vector int)__a, __b);
625 vector bool int __b) {
626 return __builtin_altivec_vaddsws(__a, (vector int)__b);
632 vector unsigned int __b) {
633 return __builtin_altivec_vadduws(__a, __b);
637 vector unsigned int __b) {
638 return __builtin_altivec_vadduws((vector unsigned int)__a, __b);
642 vector bool int __b) {
643 return __builtin_altivec_vadduws(__a, (vector unsigned int)__b);
650 vec_vadduqm(vector signed __int128 __a, vector signed __int128 __b) {
651 return __a + __b;
655 vec_vadduqm(vector unsigned __int128 __a, vector unsigned __int128 __b) {
656 return __a + __b;
662 vec_vaddeuqm(vector signed __int128 __a, vector signed __int128 __b,
664 return __builtin_altivec_vaddeuqm(__a, __b, __c);
668 vec_vaddeuqm(vector unsigned __int128 __a, vector unsigned __int128 __b,
670 return __builtin_altivec_vaddeuqm(__a, __b, __c);
676 vec_vaddcuq(vector signed __int128 __a, vector signed __int128 __b) {
677 return __builtin_altivec_vaddcuq(__a, __b);
681 vec_vaddcuq(vector unsigned __int128 __a, vector unsigned __int128 __b) {
682 return __builtin_altivec_vaddcuq(__a, __b);
688 vec_vaddecuq(vector signed __int128 __a, vector signed __int128 __b,
690 return __builtin_altivec_vaddecuq(__a, __b, __c);
694 vec_vaddecuq(vector unsigned __int128 __a, vector unsigned __int128 __b,
696 return __builtin_altivec_vaddecuq(__a, __b, __c);
705 vector signed char __b) {
706 return __a & __b;
710 vector signed char __b) {
711 return (vector signed char)__a & __b;
715 vector bool char __b) {
716 return __a & (vector signed char)__b;
720 vector unsigned char __b) {
721 return __a & __b;
725 vector unsigned char __b) {
726 return (vector unsigned char)__a & __b;
730 vector bool char __b) {
731 return __a & (vector unsigned char)__b;
735 vector bool char __b) {
736 return __a & __b;
739 static vector short __ATTRS_o_ai vec_and(vector short __a, vector short __b) {
740 return __a & __b;
744 vector short __b) {
745 return (vector short)__a & __b;
749 vector bool short __b) {
750 return __a & (vector short)__b;
754 vector unsigned short __b) {
755 return __a & __b;
759 vector unsigned short __b) {
760 return (vector unsigned short)__a & __b;
764 vector bool short __b) {
765 return __a & (vector unsigned short)__b;
769 vector bool short __b) {
770 return __a & __b;
773 static vector int __ATTRS_o_ai vec_and(vector int __a, vector int __b) {
774 return __a & __b;
777 static vector int __ATTRS_o_ai vec_and(vector bool int __a, vector int __b) {
778 return (vector int)__a & __b;
781 static vector int __ATTRS_o_ai vec_and(vector int __a, vector bool int __b) {
782 return __a & (vector int)__b;
786 vector unsigned int __b) {
787 return __a & __b;
791 vector unsigned int __b) {
792 return (vector unsigned int)__a & __b;
796 vector bool int __b) {
797 return __a & (vector unsigned int)__b;
801 vector bool int __b) {
802 return __a & __b;
805 static vector float __ATTRS_o_ai vec_and(vector float __a, vector float __b) {
807 (vector unsigned int)__a & (vector unsigned int)__b;
812 vector float __b) {
814 (vector unsigned int)__a & (vector unsigned int)__b;
819 vector bool int __b) {
821 (vector unsigned int)__a & (vector unsigned int)__b;
826 static vector double __ATTRS_o_ai vec_and(vector bool long long __a, vector double __b) {
828 (vector unsigned long long)__a & (vector unsigned long long)__b;
832 static vector double __ATTRS_o_ai vec_and(vector double __a, vector bool long long __b) {
834 (vector unsigned long long)__a & (vector unsigned long long)__b;
838 static vector double __ATTRS_o_ai vec_and(vector double __a, vector double __b) {
840 (vector unsigned long long)__a & (vector unsigned long long)__b;
845 vec_and(vector signed long long __a, vector signed long long __b) {
846 return __a & __b;
850 vec_and(vector bool long long __a, vector signed long long __b) {
851 return (vector signed long long)__a & __b;
855 vector bool long long __b) {
856 return __a & (vector signed long long)__b;
860 vec_and(vector unsigned long long __a, vector unsigned long long __b) {
861 return __a & __b;
865 vec_and(vector bool long long __a, vector unsigned long long __b) {
866 return (vector unsigned long long)__a & __b;
870 vec_and(vector unsigned long long __a, vector bool long long __b) {
871 return __a & (vector unsigned long long)__b;
875 vector bool long long __b) {
876 return __a & __b;
883 vector signed char __b) {
884 return __a & __b;
888 vector signed char __b) {
889 return (vector signed char)__a & __b;
893 vector bool char __b) {
894 return __a & (vector signed char)__b;
898 vector unsigned char __b) {
899 return __a & __b;
903 vector unsigned char __b) {
904 return (vector unsigned char)__a & __b;
908 vector bool char __b) {
909 return __a & (vector unsigned char)__b;
913 vector bool char __b) {
914 return __a & __b;
917 static vector short __ATTRS_o_ai vec_vand(vector short __a, vector short __b) {
918 return __a & __b;
922 vector short __b) {
923 return (vector short)__a & __b;
927 __b) {
928 return __a & (vector short)__b;
932 vector unsigned short __b) {
933 return __a & __b;
937 vector unsigned short __b) {
938 return (vector unsigned short)__a & __b;
942 vector bool short __b) {
943 return __a & (vector unsigned short)__b;
947 vector bool short __b) {
948 return __a & __b;
951 static vector int __ATTRS_o_ai vec_vand(vector int __a, vector int __b) {
952 return __a & __b;
955 static vector int __ATTRS_o_ai vec_vand(vector bool int __a, vector int __b) {
956 return (vector int)__a & __b;
959 static vector int __ATTRS_o_ai vec_vand(vector int __a, vector bool int __b) {
960 return __a & (vector int)__b;
964 vector unsigned int __b) {
965 return __a & __b;
969 vector unsigned int __b) {
970 return (vector unsigned int)__a & __b;
974 vector bool int __b) {
975 return __a & (vector unsigned int)__b;
979 vector bool int __b) {
980 return __a & __b;
983 static vector float __ATTRS_o_ai vec_vand(vector float __a, vector float __b) {
985 (vector unsigned int)__a & (vector unsigned int)__b;
990 vector float __b) {
992 (vector unsigned int)__a & (vector unsigned int)__b;
997 vector bool int __b) {
999 (vector unsigned int)__a & (vector unsigned int)__b;
1005 vec_vand(vector signed long long __a, vector signed long long __b) {
1006 return __a & __b;
1010 vec_vand(vector bool long long __a, vector signed long long __b) {
1011 return (vector signed long long)__a & __b;
1015 vec_vand(vector signed long long __a, vector bool long long __b) {
1016 return __a & (vector signed long long)__b;
1020 vec_vand(vector unsigned long long __a, vector unsigned long long __b) {
1021 return __a & __b;
1025 vec_vand(vector bool long long __a, vector unsigned long long __b) {
1026 return (vector unsigned long long)__a & __b;
1030 vec_vand(vector unsigned long long __a, vector bool long long __b) {
1031 return __a & (vector unsigned long long)__b;
1035 vector bool long long __b) {
1036 return __a & __b;
1045 vector signed char __b) {
1046 return __a & ~__b;
1050 vector signed char __b) {
1051 return (vector signed char)__a & ~__b;
1055 vector bool char __b) {
1056 return __a & ~(vector signed char)__b;
1060 vector unsigned char __b) {
1061 return __a & ~__b;
1065 vector unsigned char __b) {
1066 return (vector unsigned char)__a & ~__b;
1070 vector bool char __b) {
1071 return __a & ~(vector unsigned char)__b;
1075 vector bool char __b) {
1076 return __a & ~__b;
1079 static vector short __ATTRS_o_ai vec_andc(vector short __a, vector short __b) {
1080 return __a & ~__b;
1084 vector short __b) {
1085 return (vector short)__a & ~__b;
1089 vector bool short __b) {
1090 return __a & ~(vector short)__b;
1094 vector unsigned short __b) {
1095 return __a & ~__b;
1099 vector unsigned short __b) {
1100 return (vector unsigned short)__a & ~__b;
1104 vector bool short __b) {
1105 return __a & ~(vector unsigned short)__b;
1109 vector bool short __b) {
1110 return __a & ~__b;
1113 static vector int __ATTRS_o_ai vec_andc(vector int __a, vector int __b) {
1114 return __a & ~__b;
1117 static vector int __ATTRS_o_ai vec_andc(vector bool int __a, vector int __b) {
1118 return (vector int)__a & ~__b;
1121 static vector int __ATTRS_o_ai vec_andc(vector int __a, vector bool int __b) {
1122 return __a & ~(vector int)__b;
1126 vector unsigned int __b) {
1127 return __a & ~__b;
1131 vector unsigned int __b) {
1132 return (vector unsigned int)__a & ~__b;
1136 vector bool int __b) {
1137 return __a & ~(vector unsigned int)__b;
1141 vector bool int __b) {
1142 return __a & ~__b;
1145 static vector float __ATTRS_o_ai vec_andc(vector float __a, vector float __b) {
1147 (vector unsigned int)__a & ~(vector unsigned int)__b;
1152 vector float __b) {
1154 (vector unsigned int)__a & ~(vector unsigned int)__b;
1159 vector bool int __b) {
1161 (vector unsigned int)__a & ~(vector unsigned int)__b;
1167 vec_andc(vector bool long long __a, vector double __b) {
1169 (vector unsigned long long)__a & ~(vector unsigned long long)__b;
1174 vec_andc(vector double __a, vector bool long long __b) {
1176 (vector unsigned long long)__a & ~(vector unsigned long long)__b;
1180 static vector double __ATTRS_o_ai vec_andc(vector double __a, vector double __b) {
1182 (vector unsigned long long)__a & ~(vector unsigned long long)__b;
1187 vec_andc(vector signed long long __a, vector signed long long __b) {
1188 return __a & ~__b;
1192 vec_andc(vector bool long long __a, vector signed long long __b) {
1193 return (vector signed long long)__a & ~__b;
1197 vec_andc(vector signed long long __a, vector bool long long __b) {
1198 return __a & ~(vector signed long long)__b;
1202 vec_andc(vector unsigned long long __a, vector unsigned long long __b) {
1203 return __a & ~__b;
1207 vec_andc(vector bool long long __a, vector unsigned long long __b) {
1208 return (vector unsigned long long)__a & ~__b;
1212 vec_andc(vector unsigned long long __a, vector bool long long __b) {
1213 return __a & ~(vector unsigned long long)__b;
1217 vector bool long long __b) {
1218 return __a & ~__b;
1225 vector signed char __b) {
1226 return __a & ~__b;
1230 vector signed char __b) {
1231 return (vector signed char)__a & ~__b;
1235 vector bool char __b) {
1236 return __a & ~(vector signed char)__b;
1240 vector unsigned char __b) {
1241 return __a & ~__b;
1245 vector unsigned char __b) {
1246 return (vector unsigned char)__a & ~__b;
1250 vector bool char __b) {
1251 return __a & ~(vector unsigned char)__b;
1255 vector bool char __b) {
1256 return __a & ~__b;
1259 static vector short __ATTRS_o_ai vec_vandc(vector short __a, vector short __b) {
1260 return __a & ~__b;
1264 vector short __b) {
1265 return (vector short)__a & ~__b;
1269 vector bool short __b) {
1270 return __a & ~(vector short)__b;
1274 vector unsigned short __b) {
1275 return __a & ~__b;
1279 vector unsigned short __b) {
1280 return (vector unsigned short)__a & ~__b;
1284 vector bool short __b) {
1285 return __a & ~(vector unsigned short)__b;
1289 vector bool short __b) {
1290 return __a & ~__b;
1293 static vector int __ATTRS_o_ai vec_vandc(vector int __a, vector int __b) {
1294 return __a & ~__b;
1297 static vector int __ATTRS_o_ai vec_vandc(vector bool int __a, vector int __b) {
1298 return (vector int)__a & ~__b;
1301 static vector int __ATTRS_o_ai vec_vandc(vector int __a, vector bool int __b) {
1302 return __a & ~(vector int)__b;
1306 vector unsigned int __b) {
1307 return __a & ~__b;
1311 vector unsigned int __b) {
1312 return (vector unsigned int)__a & ~__b;
1316 vector bool int __b) {
1317 return __a & ~(vector unsigned int)__b;
1321 vector bool int __b) {
1322 return __a & ~__b;
1325 static vector float __ATTRS_o_ai vec_vandc(vector float __a, vector float __b) {
1327 (vector unsigned int)__a & ~(vector unsigned int)__b;
1332 vector float __b) {
1334 (vector unsigned int)__a & ~(vector unsigned int)__b;
1339 vector bool int __b) {
1341 (vector unsigned int)__a & ~(vector unsigned int)__b;
1347 vec_vandc(vector signed long long __a, vector signed long long __b) {
1348 return __a & ~__b;
1352 vec_vandc(vector bool long long __a, vector signed long long __b) {
1353 return (vector signed long long)__a & ~__b;
1357 vec_vandc(vector signed long long __a, vector bool long long __b) {
1358 return __a & ~(vector signed long long)__b;
1362 vec_vandc(vector unsigned long long __a, vector unsigned long long __b) {
1363 return __a & ~__b;
1367 vec_vandc(vector bool long long __a, vector unsigned long long __b) {
1368 return (vector unsigned long long)__a & ~__b;
1372 vec_vandc(vector unsigned long long __a, vector bool long long __b) {
1373 return __a & ~(vector unsigned long long)__b;
1377 vector bool long long __b) {
1378 return __a & ~__b;
1385 vector signed char __b) {
1386 return __builtin_altivec_vavgsb(__a, __b);
1390 vector unsigned char __b) {
1391 return __builtin_altivec_vavgub(__a, __b);
1394 static vector short __ATTRS_o_ai vec_avg(vector short __a, vector short __b) {
1395 return __builtin_altivec_vavgsh(__a, __b);
1399 vector unsigned short __b) {
1400 return __builtin_altivec_vavguh(__a, __b);
1403 static vector int __ATTRS_o_ai vec_avg(vector int __a, vector int __b) {
1404 return __builtin_altivec_vavgsw(__a, __b);
1408 vector unsigned int __b) {
1409 return __builtin_altivec_vavguw(__a, __b);
1415 vec_vavgsb(vector signed char __a, vector signed char __b) {
1416 __b);
1422 vec_vavgub(vector unsigned char __a, vector unsigned char __b) {
1423 return __builtin_altivec_vavgub(__a, __b);
1429 vec_vavgsh(vector short __a, vector short __b) {
1430 return __builtin_altivec_vavgsh(__a, __b);
1436 vec_vavguh(vector unsigned short __a, vector unsigned short __b) {
1437 return __builtin_altivec_vavguh(__a, __b);
1443 vec_vavgsw(vector int __a, vector int __b) {
1444 return __builtin_altivec_vavgsw(__a, __b);
1450 vec_vavguw(vector unsigned int __a, vector unsigned int __b) {
1451 return __builtin_altivec_vavguw(__a, __b);
1480 vec_cmpb(vector float __a, vector float __b) {
1481 return __builtin_altivec_vcmpbfp(__a, __b);
1487 vec_vcmpbfp(vector float __a, vector float __b) {
1488 return __builtin_altivec_vcmpbfp(__a, __b);
1494 vector signed char __b) {
1496 (vector char)__b);
1500 vector unsigned char __b) {
1502 (vector char)__b);
1506 vector short __b) {
1507 return (vector bool short)__builtin_altivec_vcmpequh(__a, __b);
1511 vector unsigned short __b) {
1513 (vector short)__b);
1516 static vector bool int __ATTRS_o_ai vec_cmpeq(vector int __a, vector int __b) {
1517 return (vector bool int)__builtin_altivec_vcmpequw(__a, __b);
1521 vector unsigned int __b) {
1523 (vector int)__b);
1528 vec_cmpeq(vector signed long long __a, vector signed long long __b) {
1529 return (vector bool long long)__builtin_altivec_vcmpequd(__a, __b);
1533 vec_cmpeq(vector unsigned long long __a, vector unsigned long long __b) {
1535 (vector long long)__a, (vector long long)__b);
1540 vector float __b) {
1542 return (vector bool int)__builtin_vsx_xvcmpeqsp(__a, __b);
1544 return (vector bool int)__builtin_altivec_vcmpeqfp(__a, __b);
1550 vec_cmpeq(vector double __a, vector double __b) {
1551 return (vector bool long long)__builtin_vsx_xvcmpeqdp(__a, __b);
1559 vector signed char __b) {
1560 return (vector bool char)__builtin_altivec_vcmpgtsb(__a, __b);
1564 vector unsigned char __b) {
1565 return (vector bool char)__builtin_altivec_vcmpgtub(__a, __b);
1569 vector short __b) {
1570 return (vector bool short)__builtin_altivec_vcmpgtsh(__a, __b);
1574 vector unsigned short __b) {
1575 return (vector bool short)__builtin_altivec_vcmpgtuh(__a, __b);
1578 static vector bool int __ATTRS_o_ai vec_cmpgt(vector int __a, vector int __b) {
1579 return (vector bool int)__builtin_altivec_vcmpgtsw(__a, __b);
1583 vector unsigned int __b) {
1584 return (vector bool int)__builtin_altivec_vcmpgtuw(__a, __b);
1589 vec_cmpgt(vector signed long long __a, vector signed long long __b) {
1590 return (vector bool long long)__builtin_altivec_vcmpgtsd(__a, __b);
1594 vec_cmpgt(vector unsigned long long __a, vector unsigned long long __b) {
1595 return (vector bool long long)__builtin_altivec_vcmpgtud(__a, __b);
1600 vector float __b) {
1602 return (vector bool int)__builtin_vsx_xvcmpgtsp(__a, __b);
1604 return (vector bool int)__builtin_altivec_vcmpgtfp(__a, __b);
1610 vec_cmpgt(vector double __a, vector double __b) {
1611 return (vector bool long long)__builtin_vsx_xvcmpgtdp(__a, __b);
1618 vec_cmpge (vector signed char __a, vector signed char __b) {
1619 return ~(vec_cmpgt(__b, __a));
1623 vec_cmpge (vector unsigned char __a, vector unsigned char __b) {
1624 return ~(vec_cmpgt(__b, __a));
1628 vec_cmpge (vector signed short __a, vector signed short __b) {
1629 return ~(vec_cmpgt(__b, __a));
1633 vec_cmpge (vector unsigned short __a, vector unsigned short __b) {
1634 return ~(vec_cmpgt(__b, __a));
1638 vec_cmpge (vector signed int __a, vector signed int __b) {
1639 return ~(vec_cmpgt(__b, __a));
1643 vec_cmpge (vector unsigned int __a, vector unsigned int __b) {
1644 return ~(vec_cmpgt(__b, __a));
1648 vec_cmpge(vector float __a, vector float __b) {
1650 return (vector bool int)__builtin_vsx_xvcmpgesp(__a, __b);
1652 return (vector bool int)__builtin_altivec_vcmpgefp(__a, __b);
1658 vec_cmpge(vector double __a, vector double __b) {
1659 return (vector bool long long)__builtin_vsx_xvcmpgedp(__a, __b);
1665 vec_cmpge(vector signed long long __a, vector signed long long __b) {
1666 return ~(vec_cmpgt(__b, __a));
1670 vec_cmpge(vector unsigned long long __a, vector unsigned long long __b) {
1671 return ~(vec_cmpgt(__b, __a));
1678 vec_vcmpgefp(vector float __a, vector float __b) {
1679 return (vector bool int)__builtin_altivec_vcmpgefp(__a, __b);
1685 vec_vcmpgtsb(vector signed char __a, vector signed char __b) {
1686 return (vector bool char)__builtin_altivec_vcmpgtsb(__a, __b);
1692 vec_vcmpgtub(vector unsigned char __a, vector unsigned char __b) {
1693 return (vector bool char)__builtin_altivec_vcmpgtub(__a, __b);
1699 vec_vcmpgtsh(vector short __a, vector short __b) {
1700 return (vector bool short)__builtin_altivec_vcmpgtsh(__a, __b);
1706 vec_vcmpgtuh(vector unsigned short __a, vector unsigned short __b) {
1707 return (vector bool short)__builtin_altivec_vcmpgtuh(__a, __b);
1713 vec_vcmpgtsw(vector int __a, vector int __b) {
1714 return (vector bool int)__builtin_altivec_vcmpgtsw(__a, __b);
1720 vec_vcmpgtuw(vector unsigned int __a, vector unsigned int __b) {
1721 return (vector bool int)__builtin_altivec_vcmpgtuw(__a, __b);
1727 vec_vcmpgtfp(vector float __a, vector float __b) {
1728 return (vector bool int)__builtin_altivec_vcmpgtfp(__a, __b);
1734 vec_cmple (vector signed char __a, vector signed char __b) {
1735 return vec_cmpge(__b, __a);
1739 vec_cmple (vector unsigned char __a, vector unsigned char __b) {
1740 return vec_cmpge(__b, __a);
1744 vec_cmple (vector signed short __a, vector signed short __b) {
1745 return vec_cmpge(__b, __a);
1749 vec_cmple (vector unsigned short __a, vector unsigned short __b) {
1750 return vec_cmpge(__b, __a);
1754 vec_cmple (vector signed int __a, vector signed int __b) {
1755 return vec_cmpge(__b, __a);
1759 vec_cmple (vector unsigned int __a, vector unsigned int __b) {
1760 return vec_cmpge(__b, __a);
1764 vec_cmple(vector float __a, vector float __b) {
1765 return vec_cmpge(__b, __a);
1770 vec_cmple(vector double __a, vector double __b) {
1771 return vec_cmpge(__b, __a);
1777 vec_cmple(vector signed long long __a, vector signed long long __b) {
1778 return vec_cmpge(__b, __a);
1782 vec_cmple(vector unsigned long long __a, vector unsigned long long __b) {
1783 return vec_cmpge(__b, __a);
1790 vector signed char __b) {
1791 return vec_cmpgt(__b, __a);
1795 vector unsigned char __b) {
1796 return vec_cmpgt(__b, __a);
1800 vector short __b) {
1801 return vec_cmpgt(__b, __a);
1805 vector unsigned short __b) {
1806 return vec_cmpgt(__b, __a);
1809 static vector bool int __ATTRS_o_ai vec_cmplt(vector int __a, vector int __b) {
1810 return vec_cmpgt(__b, __a);
1814 vector unsigned int __b) {
1815 return vec_cmpgt(__b, __a);
1819 vector float __b) {
1820 return vec_cmpgt(__b, __a);
1825 vec_cmplt(vector double __a, vector double __b) {
1826 return vec_cmpgt(__b, __a);
1832 vec_cmplt(vector signed long long __a, vector signed long long __b) {
1833 return vec_cmpgt(__b, __a);
1837 vec_cmplt(vector unsigned long long __a, vector unsigned long long __b) {
1838 return vec_cmpgt(__b, __a);
1874 static vector float __ATTRS_o_ai vec_cpsgn(vector float __a, vector float __b) {
1875 return __builtin_vsx_xvcpsgnsp(__a, __b);
1879 vector double __b) {
1880 return __builtin_vsx_xvcpsgndp(__a, __b);
1886 static vector float __ATTRS_o_ai vec_ctf(vector int __a, int __b) {
1887 return __builtin_altivec_vcfsx(__a, __b);
1890 static vector float __ATTRS_o_ai vec_ctf(vector unsigned int __a, int __b) {
1891 return __builtin_altivec_vcfux((vector int)__a, __b);
1897 vec_vcfsx(vector int __a, int __b) {
1898 return __builtin_altivec_vcfsx(__a, __b);
1904 vec_vcfux(vector unsigned int __a, int __b) {
1905 return __builtin_altivec_vcfux((vector int)__a, __b);
1911 vec_cts(vector float __a, int __b) {
1912 return __builtin_altivec_vctsxs(__a, __b);
1918 vec_vctsxs(vector float __a, int __b) {
1919 return __builtin_altivec_vctsxs(__a, __b);
1925 vec_ctu(vector float __a, int __b) {
1926 return __builtin_altivec_vctuxs(__a, __b);
1932 vec_vctuxs(vector float __a, int __b) {
1933 return __builtin_altivec_vctuxs(__a, __b);
1956 vector signed char __b) {
1957 return __a / __b;
1961 vector unsigned char __b) {
1962 return __a / __b;
1966 vector signed short __b) {
1967 return __a / __b;
1971 vector unsigned short __b) {
1972 return __a / __b;
1976 __b) {
1977 return __a / __b;
1981 vector unsigned int __b) {
1982 return __a / __b;
1987 vec_div(vector signed long long __a, vector signed long long __b) {
1988 return __a / __b;
1992 vec_div(vector unsigned long long __a, vector unsigned long long __b) {
1993 return __a / __b;
1996 static vector float __ATTRS_o_ai vec_div(vector float __a, vector float __b) {
1997 return __a / __b;
2001 vector double __b) {
2002 return __a / __b;
2021 vec_dst(const void *__a, int __b, int __c) {
2022 __builtin_altivec_dst(__a, __b, __c);
2028 vec_dstst(const void *__a, int __b, int __c) {
2029 __builtin_altivec_dstst(__a, __b, __c);
2035 vec_dststt(const void *__a, int __b, int __c) {
2036 __builtin_altivec_dststt(__a, __b, __c);
2042 vec_dstt(const void *__a, int __b, int __c) {
2043 __builtin_altivec_dstt(__a, __b, __c);
2050 vector signed char __b) {
2052 (vector unsigned int)__b);
2056 vector unsigned char __b) {
2058 (vector unsigned int)__b);
2062 vector bool char __b) {
2064 (vector unsigned int)__b);
2068 vector signed short __b) {
2070 (vector unsigned int)__b);
2074 vector unsigned short __b) {
2076 (vector unsigned int)__b);
2080 vector bool short __b) {
2082 (vector unsigned int)__b);
2086 vector signed int __b) {
2088 (vector unsigned int)__b);
2092 vector unsigned int __b) {
2093 return __builtin_vsx_xxleqv(__a, __b);
2097 vector bool int __b) {
2099 (vector unsigned int)__b);
2103 vec_eqv(vector signed long long __a, vector signed long long __b) {
2105 __builtin_vsx_xxleqv((vector unsigned int)__a, (vector unsigned int)__b);
2109 vec_eqv(vector unsigned long long __a, vector unsigned long long __b) {
2111 __builtin_vsx_xxleqv((vector unsigned int)__a, (vector unsigned int)__b);
2115 vec_eqv(vector bool long long __a, vector bool long long __b) {
2117 __builtin_vsx_xxleqv((vector unsigned int)__a, (vector unsigned int)__b);
2120 static vector float __ATTRS_o_ai vec_eqv(vector float __a, vector float __b) {
2122 (vector unsigned int)__b);
2126 vector double __b) {
2128 (vector unsigned int)__b);
2172 const vector signed char *__b) {
2173 return (vector signed char)__builtin_altivec_lvx(__a, __b);
2176 static vector signed char __ATTRS_o_ai vec_ld(int __a, const signed char *__b) {
2177 return (vector signed char)__builtin_altivec_lvx(__a, __b);
2181 vec_ld(int __a, const vector unsigned char *__b) {
2182 return (vector unsigned char)__builtin_altivec_lvx(__a, __b);
2186 const unsigned char *__b) {
2187 return (vector unsigned char)__builtin_altivec_lvx(__a, __b);
2191 const vector bool char *__b) {
2192 return (vector bool char)__builtin_altivec_lvx(__a, __b);
2195 static vector short __ATTRS_o_ai vec_ld(int __a, const vector short *__b) {
2196 return (vector short)__builtin_altivec_lvx(__a, __b);
2199 static vector short __ATTRS_o_ai vec_ld(int __a, const short *__b) {
2200 return (vector short)__builtin_altivec_lvx(__a, __b);
2204 vec_ld(int __a, const vector unsigned short *__b) {
2205 return (vector unsigned short)__builtin_altivec_lvx(__a, __b);
2209 const unsigned short *__b) {
2210 return (vector unsigned short)__builtin_altivec_lvx(__a, __b);
2214 const vector bool short *__b) {
2215 return (vector bool short)__builtin_altivec_lvx(__a, __b);
2218 static vector pixel __ATTRS_o_ai vec_ld(int __a, const vector pixel *__b) {
2219 return (vector pixel)__builtin_altivec_lvx(__a, __b);
2222 static vector int __ATTRS_o_ai vec_ld(int __a, const vector int *__b) {
2223 return (vector int)__builtin_altivec_lvx(__a, __b);
2226 static vector int __ATTRS_o_ai vec_ld(int __a, const int *__b) {
2227 return (vector int)__builtin_altivec_lvx(__a, __b);
2231 const vector unsigned int *__b) {
2232 return (vector unsigned int)__builtin_altivec_lvx(__a, __b);
2236 const unsigned int *__b) {
2237 return (vector unsigned int)__builtin_altivec_lvx(__a, __b);
2241 const vector bool int *__b) {
2242 return (vector bool int)__builtin_altivec_lvx(__a, __b);
2245 static vector float __ATTRS_o_ai vec_ld(int __a, const vector float *__b) {
2246 return (vector float)__builtin_altivec_lvx(__a, __b);
2249 static vector float __ATTRS_o_ai vec_ld(int __a, const float *__b) {
2250 return (vector float)__builtin_altivec_lvx(__a, __b);
2256 const vector signed char *__b) {
2257 return (vector signed char)__builtin_altivec_lvx(__a, __b);
2261 const signed char *__b) {
2262 return (vector signed char)__builtin_altivec_lvx(__a, __b);
2266 vec_lvx(int __a, const vector unsigned char *__b) {
2267 return (vector unsigned char)__builtin_altivec_lvx(__a, __b);
2271 const unsigned char *__b) {
2272 return (vector unsigned char)__builtin_altivec_lvx(__a, __b);
2276 const vector bool char *__b) {
2277 return (vector bool char)__builtin_altivec_lvx(__a, __b);
2280 static vector short __ATTRS_o_ai vec_lvx(int __a, const vector short *__b) {
2281 return (vector short)__builtin_altivec_lvx(__a, __b);
2284 static vector short __ATTRS_o_ai vec_lvx(int __a, const short *__b) {
2285 return (vector short)__builtin_altivec_lvx(__a, __b);
2289 vec_lvx(int __a, const vector unsigned short *__b) {
2290 return (vector unsigned short)__builtin_altivec_lvx(__a, __b);
2294 const unsigned short *__b) {
2295 return (vector unsigned short)__builtin_altivec_lvx(__a, __b);
2299 const vector bool short *__b) {
2300 return (vector bool short)__builtin_altivec_lvx(__a, __b);
2303 static vector pixel __ATTRS_o_ai vec_lvx(int __a, const vector pixel *__b) {
2304 return (vector pixel)__builtin_altivec_lvx(__a, __b);
2307 static vector int __ATTRS_o_ai vec_lvx(int __a, const vector int *__b) {
2308 return (vector int)__builtin_altivec_lvx(__a, __b);
2311 static vector int __ATTRS_o_ai vec_lvx(int __a, const int *__b) {
2312 return (vector int)__builtin_altivec_lvx(__a, __b);
2316 vec_lvx(int __a, const vector unsigned int *__b) {
2317 return (vector unsigned int)__builtin_altivec_lvx(__a, __b);
2321 const unsigned int *__b) {
2322 return (vector unsigned int)__builtin_altivec_lvx(__a, __b);
2326 const vector bool int *__b) {
2327 return (vector bool int)__builtin_altivec_lvx(__a, __b);
2330 static vector float __ATTRS_o_ai vec_lvx(int __a, const vector float *__b) {
2331 return (vector float)__builtin_altivec_lvx(__a, __b);
2334 static vector float __ATTRS_o_ai vec_lvx(int __a, const float *__b) {
2335 return (vector float)__builtin_altivec_lvx(__a, __b);
2341 const signed char *__b) {
2342 return (vector signed char)__builtin_altivec_lvebx(__a, __b);
2346 const unsigned char *__b) {
2347 return (vector unsigned char)__builtin_altivec_lvebx(__a, __b);
2350 static vector short __ATTRS_o_ai vec_lde(int __a, const short *__b) {
2351 return (vector short)__builtin_altivec_lvehx(__a, __b);
2355 const unsigned short *__b) {
2356 return (vector unsigned short)__builtin_altivec_lvehx(__a, __b);
2359 static vector int __ATTRS_o_ai vec_lde(int __a, const int *__b) {
2360 return (vector int)__builtin_altivec_lvewx(__a, __b);
2364 const unsigned int *__b) {
2365 return (vector unsigned int)__builtin_altivec_lvewx(__a, __b);
2368 static vector float __ATTRS_o_ai vec_lde(int __a, const float *__b) {
2369 return (vector float)__builtin_altivec_lvewx(__a, __b);
2375 const signed char *__b) {
2376 return (vector signed char)__builtin_altivec_lvebx(__a, __b);
2380 const unsigned char *__b) {
2381 return (vector unsigned char)__builtin_altivec_lvebx(__a, __b);
2386 static vector short __ATTRS_o_ai vec_lvehx(int __a, const short *__b) {
2387 return (vector short)__builtin_altivec_lvehx(__a, __b);
2391 const unsigned short *__b) {
2392 return (vector unsigned short)__builtin_altivec_lvehx(__a, __b);
2397 static vector int __ATTRS_o_ai vec_lvewx(int __a, const int *__b) {
2398 return (vector int)__builtin_altivec_lvewx(__a, __b);
2402 const unsigned int *__b) {
2403 return (vector unsigned int)__builtin_altivec_lvewx(__a, __b);
2406 static vector float __ATTRS_o_ai vec_lvewx(int __a, const float *__b) {
2407 return (vector float)__builtin_altivec_lvewx(__a, __b);
2413 const vector signed char *__b) {
2414 return (vector signed char)__builtin_altivec_lvxl(__a, __b);
2418 const signed char *__b) {
2419 return (vector signed char)__builtin_altivec_lvxl(__a, __b);
2423 vec_ldl(int __a, const vector unsigned char *__b) {
2424 return (vector unsigned char)__builtin_altivec_lvxl(__a, __b);
2428 const unsigned char *__b) {
2429 return (vector unsigned char)__builtin_altivec_lvxl(__a, __b);
2433 const vector bool char *__b) {
2434 return (vector bool char)__builtin_altivec_lvxl(__a, __b);
2437 static vector short __ATTRS_o_ai vec_ldl(int __a, const vector short *__b) {
2438 return (vector short)__builtin_altivec_lvxl(__a, __b);
2441 static vector short __ATTRS_o_ai vec_ldl(int __a, const short *__b) {
2442 return (vector short)__builtin_altivec_lvxl(__a, __b);
2446 vec_ldl(int __a, const vector unsigned short *__b) {
2447 return (vector unsigned short)__builtin_altivec_lvxl(__a, __b);
2451 const unsigned short *__b) {
2452 return (vector unsigned short)__builtin_altivec_lvxl(__a, __b);
2456 __b) {
2457 return (vector bool short)__builtin_altivec_lvxl(__a, __b);
2460 static vector pixel __ATTRS_o_ai vec_ldl(int __a, const vector pixel *__b) {
2461 return (vector pixel short)__builtin_altivec_lvxl(__a, __b);
2464 static vector int __ATTRS_o_ai vec_ldl(int __a, const vector int *__b) {
2465 return (vector int)__builtin_altivec_lvxl(__a, __b);
2468 static vector int __ATTRS_o_ai vec_ldl(int __a, const int *__b) {
2469 return (vector int)__builtin_altivec_lvxl(__a, __b);
2473 vec_ldl(int __a, const vector unsigned int *__b) {
2474 return (vector unsigned int)__builtin_altivec_lvxl(__a, __b);
2478 const unsigned int *__b) {
2479 return (vector unsigned int)__builtin_altivec_lvxl(__a, __b);
2483 const vector bool int *__b) {
2484 return (vector bool int)__builtin_altivec_lvxl(__a, __b);
2487 static vector float __ATTRS_o_ai vec_ldl(int __a, const vector float *__b) {
2488 return (vector float)__builtin_altivec_lvxl(__a, __b);
2491 static vector float __ATTRS_o_ai vec_ldl(int __a, const float *__b) {
2492 return (vector float)__builtin_altivec_lvxl(__a, __b);
2498 const vector signed char *__b) {
2499 return (vector signed char)__builtin_altivec_lvxl(__a, __b);
2503 const signed char *__b) {
2504 return (vector signed char)__builtin_altivec_lvxl(__a, __b);
2508 vec_lvxl(int __a, const vector unsigned char *__b) {
2509 return (vector unsigned char)__builtin_altivec_lvxl(__a, __b);
2513 const unsigned char *__b) {
2514 return (vector unsigned char)__builtin_altivec_lvxl(__a, __b);
2518 const vector bool char *__b) {
2519 return (vector bool char)__builtin_altivec_lvxl(__a, __b);
2522 static vector short __ATTRS_o_ai vec_lvxl(int __a, const vector short *__b) {
2523 return (vector short)__builtin_altivec_lvxl(__a, __b);
2526 static vector short __ATTRS_o_ai vec_lvxl(int __a, const short *__b) {
2527 return (vector short)__builtin_altivec_lvxl(__a, __b);
2531 vec_lvxl(int __a, const vector unsigned short *__b) {
2532 return (vector unsigned short)__builtin_altivec_lvxl(__a, __b);
2536 const unsigned short *__b) {
2537 return (vector unsigned short)__builtin_altivec_lvxl(__a, __b);
2541 const vector bool short *__b) {
2542 return (vector bool short)__builtin_altivec_lvxl(__a, __b);
2545 static vector pixel __ATTRS_o_ai vec_lvxl(int __a, const vector pixel *__b) {
2546 return (vector pixel)__builtin_altivec_lvxl(__a, __b);
2549 static vector int __ATTRS_o_ai vec_lvxl(int __a, const vector int *__b) {
2550 return (vector int)__builtin_altivec_lvxl(__a, __b);
2553 static vector int __ATTRS_o_ai vec_lvxl(int __a, const int *__b) {
2554 return (vector int)__builtin_altivec_lvxl(__a, __b);
2558 vec_lvxl(int __a, const vector unsigned int *__b) {
2559 return (vector unsigned int)__builtin_altivec_lvxl(__a, __b);
2563 const unsigned int *__b) {
2564 return (vector unsigned int)__builtin_altivec_lvxl(__a, __b);
2568 const vector bool int *__b) {
2569 return (vector bool int)__builtin_altivec_lvxl(__a, __b);
2572 static vector float __ATTRS_o_ai vec_lvxl(int __a, const vector float *__b) {
2573 return (vector float)__builtin_altivec_lvxl(__a, __b);
2576 static vector float __ATTRS_o_ai vec_lvxl(int __a, const float *__b) {
2577 return (vector float)__builtin_altivec_lvxl(__a, __b);
2599 loads/stores"))) vec_lvsl(int __a, const signed char *__b) {
2601 (vector unsigned char)__builtin_altivec_lvsl(__a, __b);
2608 const signed char *__b) {
2609 return (vector unsigned char)__builtin_altivec_lvsl(__a, __b);
2616 loads/stores"))) vec_lvsl(int __a, const unsigned char *__b) {
2618 (vector unsigned char)__builtin_altivec_lvsl(__a, __b);
2625 const unsigned char *__b) {
2626 return (vector unsigned char)__builtin_altivec_lvsl(__a, __b);
2633 loads/stores"))) vec_lvsl(int __a, const short *__b) {
2635 (vector unsigned char)__builtin_altivec_lvsl(__a, __b);
2641 static vector unsigned char __ATTRS_o_ai vec_lvsl(int __a, const short *__b) {
2642 return (vector unsigned char)__builtin_altivec_lvsl(__a, __b);
2649 loads/stores"))) vec_lvsl(int __a, const unsigned short *__b) {
2651 (vector unsigned char)__builtin_altivec_lvsl(__a, __b);
2658 const unsigned short *__b) {
2659 return (vector unsigned char)__builtin_altivec_lvsl(__a, __b);
2666 loads/stores"))) vec_lvsl(int __a, const int *__b) {
2668 (vector unsigned char)__builtin_altivec_lvsl(__a, __b);
2674 static vector unsigned char __ATTRS_o_ai vec_lvsl(int __a, const int *__b) {
2675 return (vector unsigned char)__builtin_altivec_lvsl(__a, __b);
2682 loads/stores"))) vec_lvsl(int __a, const unsigned int *__b) {
2684 (vector unsigned char)__builtin_altivec_lvsl(__a, __b);
2691 const unsigned int *__b) {
2692 return (vector unsigned char)__builtin_altivec_lvsl(__a, __b);
2699 loads/stores"))) vec_lvsl(int __a, const float *__b) {
2701 (vector unsigned char)__builtin_altivec_lvsl(__a, __b);
2707 static vector unsigned char __ATTRS_o_ai vec_lvsl(int __a, const float *__b) {
2708 return (vector unsigned char)__builtin_altivec_lvsl(__a, __b);
2717 loads/stores"))) vec_lvsr(int __a, const signed char *__b) {
2719 (vector unsigned char)__builtin_altivec_lvsr(__a, __b);
2726 const signed char *__b) {
2727 return (vector unsigned char)__builtin_altivec_lvsr(__a, __b);
2734 loads/stores"))) vec_lvsr(int __a, const unsigned char *__b) {
2736 (vector unsigned char)__builtin_altivec_lvsr(__a, __b);
2743 const unsigned char *__b) {
2744 return (vector unsigned char)__builtin_altivec_lvsr(__a, __b);
2751 loads/stores"))) vec_lvsr(int __a, const short *__b) {
2753 (vector unsigned char)__builtin_altivec_lvsr(__a, __b);
2759 static vector unsigned char __ATTRS_o_ai vec_lvsr(int __a, const short *__b) {
2760 return (vector unsigned char)__builtin_altivec_lvsr(__a, __b);
2767 loads/stores"))) vec_lvsr(int __a, const unsigned short *__b) {
2769 (vector unsigned char)__builtin_altivec_lvsr(__a, __b);
2776 const unsigned short *__b) {
2777 return (vector unsigned char)__builtin_altivec_lvsr(__a, __b);
2784 loads/stores"))) vec_lvsr(int __a, const int *__b) {
2786 (vector unsigned char)__builtin_altivec_lvsr(__a, __b);
2792 static vector unsigned char __ATTRS_o_ai vec_lvsr(int __a, const int *__b) {
2793 return (vector unsigned char)__builtin_altivec_lvsr(__a, __b);
2800 loads/stores"))) vec_lvsr(int __a, const unsigned int *__b) {
2802 (vector unsigned char)__builtin_altivec_lvsr(__a, __b);
2809 const unsigned int *__b) {
2810 return (vector unsigned char)__builtin_altivec_lvsr(__a, __b);
2817 loads/stores"))) vec_lvsr(int __a, const float *__b) {
2819 (vector unsigned char)__builtin_altivec_lvsr(__a, __b);
2825 static vector unsigned char __ATTRS_o_ai vec_lvsr(int __a, const float *__b) {
2826 return (vector unsigned char)__builtin_altivec_lvsr(__a, __b);
2841 vec_madd(vector signed short __a, vector signed short __b,
2843 return vec_mladd(__a, __b, __c);
2847 vec_madd(vector signed short __a, vector unsigned short __b,
2849 return vec_mladd(__a, __b, __c);
2853 vec_madd(vector unsigned short __a, vector signed short __b,
2855 return vec_mladd(__a, __b, __c);
2859 vec_madd(vector unsigned short __a, vector unsigned short __b,
2861 return vec_mladd(__a, __b, __c);
2865 vec_madd(vector float __a, vector float __b, vector float __c) {
2867 return __builtin_vsx_xvmaddasp(__a, __b, __c);
2869 return __builtin_altivec_vmaddfp(__a, __b, __c);
2875 vec_madd(vector double __a, vector double __b, vector double __c) {
2876 return __builtin_vsx_xvmaddadp(__a, __b, __c);
2883 vec_vmaddfp(vector float __a, vector float __b, vector float __c) {
2884 return __builtin_altivec_vmaddfp(__a, __b, __c);
2890 vec_madds(vector signed short __a, vector signed short __b,
2892 return __builtin_altivec_vmhaddshs(__a, __b, __c);
2897 vec_vmhaddshs(vector signed short __a, vector signed short __b,
2899 return __builtin_altivec_vmhaddshs(__a, __b, __c);
2906 vec_msub(vector float __a, vector float __b, vector float __c) {
2907 return __builtin_vsx_xvmsubasp(__a, __b, __c);
2911 vec_msub(vector double __a, vector double __b, vector double __c) {
2912 return __builtin_vsx_xvmsubadp(__a, __b, __c);
2919 vector signed char __b) {
2920 return __builtin_altivec_vmaxsb(__a, __b);
2924 vector signed char __b) {
2925 return __builtin_altivec_vmaxsb((vector signed char)__a, __b);
2929 vector bool char __b) {
2930 return __builtin_altivec_vmaxsb(__a, (vector signed char)__b);
2934 vector unsigned char __b) {
2935 return __builtin_altivec_vmaxub(__a, __b);
2939 vector unsigned char __b) {
2940 return __builtin_altivec_vmaxub((vector unsigned char)__a, __b);
2944 vector bool char __b) {
2945 return __builtin_altivec_vmaxub(__a, (vector unsigned char)__b);
2948 static vector short __ATTRS_o_ai vec_max(vector short __a, vector short __b) {
2949 return __builtin_altivec_vmaxsh(__a, __b);
2953 vector short __b) {
2954 return __builtin_altivec_vmaxsh((vector short)__a, __b);
2958 vector bool short __b) {
2959 return __builtin_altivec_vmaxsh(__a, (vector short)__b);
2963 vector unsigned short __b) {
2964 return __builtin_altivec_vmaxuh(__a, __b);
2968 vector unsigned short __b) {
2969 return __builtin_altivec_vmaxuh((vector unsigned short)__a, __b);
2973 vector bool short __b) {
2974 return __builtin_altivec_vmaxuh(__a, (vector unsigned short)__b);
2977 static vector int __ATTRS_o_ai vec_max(vector int __a, vector int __b) {
2978 return __builtin_altivec_vmaxsw(__a, __b);
2981 static vector int __ATTRS_o_ai vec_max(vector bool int __a, vector int __b) {
2982 return __builtin_altivec_vmaxsw((vector int)__a, __b);
2985 static vector int __ATTRS_o_ai vec_max(vector int __a, vector bool int __b) {
2986 return __builtin_altivec_vmaxsw(__a, (vector int)__b);
2990 vector unsigned int __b) {
2991 return __builtin_altivec_vmaxuw(__a, __b);
2995 vector unsigned int __b) {
2996 return __builtin_altivec_vmaxuw((vector unsigned int)__a, __b);
3000 vector bool int __b) {
3001 return __builtin_altivec_vmaxuw(__a, (vector unsigned int)__b);
3006 vec_max(vector signed long long __a, vector signed long long __b) {
3007 return __builtin_altivec_vmaxsd(__a, __b);
3011 vec_max(vector bool long long __a, vector signed long long __b) {
3012 return __builtin_altivec_vmaxsd((vector signed long long)__a, __b);
3016 vector bool long long __b) {
3017 return __builtin_altivec_vmaxsd(__a, (vector signed long long)__b);
3021 vec_max(vector unsigned long long __a, vector unsigned long long __b) {
3022 return __builtin_altivec_vmaxud(__a, __b);
3026 vec_max(vector bool long long __a, vector unsigned long long __b) {
3027 return __builtin_altivec_vmaxud((vector unsigned long long)__a, __b);
3031 vec_max(vector unsigned long long __a, vector bool long long __b) {
3032 return __builtin_altivec_vmaxud(__a, (vector unsigned long long)__b);
3036 static vector float __ATTRS_o_ai vec_max(vector float __a, vector float __b) {
3038 return __builtin_vsx_xvmaxsp(__a, __b);
3040 return __builtin_altivec_vmaxfp(__a, __b);
3046 vector double __b) {
3047 return __builtin_vsx_xvmaxdp(__a, __b);
3054 vector signed char __b) {
3055 return __builtin_altivec_vmaxsb(__a, __b);
3059 vector signed char __b) {
3060 return __builtin_altivec_vmaxsb((vector signed char)__a, __b);
3064 vector bool char __b) {
3065 return __builtin_altivec_vmaxsb(__a, (vector signed char)__b);
3071 vector unsigned char __b) {
3072 return __builtin_altivec_vmaxub(__a, __b);
3076 vector unsigned char __b) {
3077 return __builtin_altivec_vmaxub((vector unsigned char)__a, __b);
3081 vector bool char __b) {
3082 return __builtin_altivec_vmaxub(__a, (vector unsigned char)__b);
3088 vector short __b) {
3089 return __builtin_altivec_vmaxsh(__a, __b);
3093 vector short __b) {
3094 return __builtin_altivec_vmaxsh((vector short)__a, __b);
3098 vector bool short __b) {
3099 return __builtin_altivec_vmaxsh(__a, (vector short)__b);
3105 vec_vmaxuh(vector unsigned short __a, vector unsigned short __b) {
3106 return __builtin_altivec_vmaxuh(__a, __b);
3110 vec_vmaxuh(vector bool short __a, vector unsigned short __b) {
3111 return __builtin_altivec_vmaxuh((vector unsigned short)__a, __b);
3115 vector bool short __b) {
3116 return __builtin_altivec_vmaxuh(__a, (vector unsigned short)__b);
3121 static vector int __ATTRS_o_ai vec_vmaxsw(vector int __a, vector int __b) {
3122 return __builtin_altivec_vmaxsw(__a, __b);
3125 static vector int __ATTRS_o_ai vec_vmaxsw(vector bool int __a, vector int __b) {
3126 return __builtin_altivec_vmaxsw((vector int)__a, __b);
3129 static vector int __ATTRS_o_ai vec_vmaxsw(vector int __a, vector bool int __b) {
3130 return __builtin_altivec_vmaxsw(__a, (vector int)__b);
3136 vector unsigned int __b) {
3137 return __builtin_altivec_vmaxuw(__a, __b);
3141 vector unsigned int __b) {
3142 return __builtin_altivec_vmaxuw((vector unsigned int)__a, __b);
3146 vector bool int __b) {
3147 return __builtin_altivec_vmaxuw(__a, (vector unsigned int)__b);
3153 vec_vmaxfp(vector float __a, vector float __b) {
3155 return __builtin_vsx_xvmaxsp(__a, __b);
3157 return __builtin_altivec_vmaxfp(__a, __b);
3164 vector signed char __b) {
3165 return vec_perm(__a, __b,
3172 vector unsigned char __b) {
3173 return vec_perm(__a, __b,
3180 vector bool char __b) {
3181 return vec_perm(__a, __b,
3188 vector short __b) {
3189 return vec_perm(__a, __b,
3196 vec_mergeh(vector unsigned short __a, vector unsigned short __b) {
3197 return vec_perm(__a, __b,
3204 vector bool short __b) {
3205 return vec_perm(__a, __b,
3212 vector pixel __b) {
3213 return vec_perm(__a, __b,
3219 static vector int __ATTRS_o_ai vec_mergeh(vector int __a, vector int __b) {
3220 return vec_perm(__a, __b,
3227 vector unsigned int __b) {
3228 return vec_perm(__a, __b,
3235 vector bool int __b) {
3236 return vec_perm(__a, __b,
3243 vector float __b) {
3244 return vec_perm(__a, __b,
3252 vec_mergeh(vector signed long long __a, vector signed long long __b) {
3253 return vec_perm(__a, __b,
3261 vec_mergeh(vector signed long long __a, vector bool long long __b) {
3262 return vec_perm(__a, (vector signed long long)__b,
3270 vec_mergeh(vector bool long long __a, vector signed long long __b) {
3271 return vec_perm((vector signed long long)__a, __b,
3279 vec_mergeh(vector unsigned long long __a, vector unsigned long long __b) {
3280 return vec_perm(__a, __b,
3288 vec_mergeh(vector unsigned long long __a, vector bool long long __b) {
3289 return vec_perm(__a, (vector unsigned long long)__b,
3297 vec_mergeh(vector bool long long __a, vector unsigned long long __b) {
3298 return vec_perm((vector unsigned long long)__a, __b,
3306 vec_mergeh(vector bool long long __a, vector bool long long __b) {
3307 return vec_perm(__a, __b,
3315 vector double __b) {
3316 return vec_perm(__a, __b,
3323 vector bool long long __b) {
3324 return vec_perm(__a, (vector double)__b,
3331 vector double __b) {
3332 return vec_perm((vector double)__a, __b,
3345 vector signed char __b) {
3346 return vec_perm(__a, __b,
3353 vector unsigned char __b) {
3354 return vec_perm(__a, __b,
3361 vector bool char __b) {
3362 return vec_perm(__a, __b,
3373 vector short __b) {
3374 return vec_perm(__a, __b,
3381 vec_vmrghh(vector unsigned short __a, vector unsigned short __b) {
3382 return vec_perm(__a, __b,
3389 vector bool short __b) {
3390 return vec_perm(__a, __b,
3397 vector pixel __b) {
3398 return vec_perm(__a, __b,
3408 static vector int __ATTRS_o_ai vec_vmrghw(vector int __a, vector int __b) {
3409 return vec_perm(__a, __b,
3416 vector unsigned int __b) {
3417 return vec_perm(__a, __b,
3424 vector bool int __b) {
3425 return vec_perm(__a, __b,
3432 vector float __b) {
3433 return vec_perm(__a, __b,
3442 vector signed char __b) {
3443 return vec_perm(__a, __b,
3450 vector unsigned char __b) {
3451 return vec_perm(__a, __b,
3458 vector bool char __b) {
3459 return vec_perm(__a, __b,
3466 vector short __b) {
3467 return vec_perm(__a, __b,
3474 vec_mergel(vector unsigned short __a, vector unsigned short __b) {
3475 return vec_perm(__a, __b,
3482 vector bool short __b) {
3483 return vec_perm(__a, __b,
3490 vector pixel __b) {
3491 return vec_perm(__a, __b,
3497 static vector int __ATTRS_o_ai vec_mergel(vector int __a, vector int __b) {
3498 return vec_perm(__a, __b,
3505 vector unsigned int __b) {
3506 return vec_perm(__a, __b,
3513 vector bool int __b) {
3514 return vec_perm(__a, __b,
3521 vector float __b) {
3522 return vec_perm(__a, __b,
3530 vec_mergel(vector signed long long __a, vector signed long long __b) {
3531 return vec_perm(__a, __b,
3538 vec_mergel(vector signed long long __a, vector bool long long __b) {
3539 return vec_perm(__a, (vector signed long long)__b,
3546 vec_mergel(vector bool long long __a, vector signed long long __b) {
3547 return vec_perm((vector signed long long)__a, __b,
3554 vec_mergel(vector unsigned long long __a, vector unsigned long long __b) {
3555 return vec_perm(__a, __b,
3562 vec_mergel(vector unsigned long long __a, vector bool long long __b) {
3563 return vec_perm(__a, (vector unsigned long long)__b,
3570 vec_mergel(vector bool long long __a, vector unsigned long long __b) {
3571 return vec_perm((vector unsigned long long)__a, __b,
3578 vec_mergel(vector bool long long __a, vector bool long long __b) {
3579 return vec_perm(__a, __b,
3586 vec_mergel(vector double __a, vector double __b) {
3587 return vec_perm(__a, __b,
3594 vec_mergel(vector double __a, vector bool long long __b) {
3595 return vec_perm(__a, (vector double)__b,
3602 vec_mergel(vector bool long long __a, vector double __b) {
3603 return vec_perm((vector double)__a, __b,
3616 vector signed char __b) {
3617 return vec_perm(__a, __b,
3624 vector unsigned char __b) {
3625 return vec_perm(__a, __b,
3632 vector bool char __b) {
3633 return vec_perm(__a, __b,
3644 vector short __b) {
3645 return vec_perm(__a, __b,
3652 vec_vmrglh(vector unsigned short __a, vector unsigned short __b) {
3653 return vec_perm(__a, __b,
3660 vector bool short __b) {
3661 return vec_perm(__a, __b,
3668 vector pixel __b) {
3669 return vec_perm(__a, __b,
3679 static vector int __ATTRS_o_ai vec_vmrglw(vector int __a, vector int __b) {
3680 return vec_perm(__a, __b,
3687 vector unsigned int __b) {
3688 return vec_perm(__a, __b,
3695 vector bool int __b) {
3696 return vec_perm(__a, __b,
3703 vector float __b) {
3704 return vec_perm(__a, __b,
3715 vec_mergee(vector bool int __a, vector bool int __b) {
3716 return vec_perm(__a, __b, (vector unsigned char)
3722 vec_mergee(vector signed int __a, vector signed int __b) {
3723 return vec_perm(__a, __b, (vector unsigned char)
3729 vec_mergee(vector unsigned int __a, vector unsigned int __b) {
3730 return vec_perm(__a, __b, (vector unsigned char)
3738 vec_mergeo(vector bool int __a, vector bool int __b) {
3739 return vec_perm(__a, __b, (vector unsigned char)
3745 vec_mergeo(vector signed int __a, vector signed int __b) {
3746 return vec_perm(__a, __b, (vector unsigned char)
3752 vec_mergeo(vector unsigned int __a, vector unsigned int __b) {
3753 return vec_perm(__a, __b, (vector unsigned char)
3770 vector signed char __b) {
3771 return __builtin_altivec_vminsb(__a, __b);
3775 vector signed char __b) {
3776 return __builtin_altivec_vminsb((vector signed char)__a, __b);
3780 vector bool char __b) {
3781 return __builtin_altivec_vminsb(__a, (vector signed char)__b);
3785 vector unsigned char __b) {
3786 return __builtin_altivec_vminub(__a, __b);
3790 vector unsigned char __b) {
3791 return __builtin_altivec_vminub((vector unsigned char)__a, __b);
3795 vector bool char __b) {
3796 return __builtin_altivec_vminub(__a, (vector unsigned char)__b);
3799 static vector short __ATTRS_o_ai vec_min(vector short __a, vector short __b) {
3800 return __builtin_altivec_vminsh(__a, __b);
3804 vector short __b) {
3805 return __builtin_altivec_vminsh((vector short)__a, __b);
3809 vector bool short __b) {
3810 return __builtin_altivec_vminsh(__a, (vector short)__b);
3814 vector unsigned short __b) {
3815 return __builtin_altivec_vminuh(__a, __b);
3819 vector unsigned short __b) {
3820 return __builtin_altivec_vminuh((vector unsigned short)__a, __b);
3824 vector bool short __b) {
3825 return __builtin_altivec_vminuh(__a, (vector unsigned short)__b);
3828 static vector int __ATTRS_o_ai vec_min(vector int __a, vector int __b) {
3829 return __builtin_altivec_vminsw(__a, __b);
3832 static vector int __ATTRS_o_ai vec_min(vector bool int __a, vector int __b) {
3833 return __builtin_altivec_vminsw((vector int)__a, __b);
3836 static vector int __ATTRS_o_ai vec_min(vector int __a, vector bool int __b) {
3837 return __builtin_altivec_vminsw(__a, (vector int)__b);
3841 vector unsigned int __b) {
3842 return __builtin_altivec_vminuw(__a, __b);
3846 vector unsigned int __b) {
3847 return __builtin_altivec_vminuw((vector unsigned int)__a, __b);
3851 vector bool int __b) {
3852 return __builtin_altivec_vminuw(__a, (vector unsigned int)__b);
3857 vec_min(vector signed long long __a, vector signed long long __b) {
3858 return __builtin_altivec_vminsd(__a, __b);
3862 vec_min(vector bool long long __a, vector signed long long __b) {
3863 return __builtin_altivec_vminsd((vector signed long long)__a, __b);
3867 vector bool long long __b) {
3868 return __builtin_altivec_vminsd(__a, (vector signed long long)__b);
3872 vec_min(vector unsigned long long __a, vector unsigned long long __b) {
3873 return __builtin_altivec_vminud(__a, __b);
3877 vec_min(vector bool long long __a, vector unsigned long long __b) {
3878 return __builtin_altivec_vminud((vector unsigned long long)__a, __b);
3882 vec_min(vector unsigned long long __a, vector bool long long __b) {
3883 return __builtin_altivec_vminud(__a, (vector unsigned long long)__b);
3887 static vector float __ATTRS_o_ai vec_min(vector float __a, vector float __b) {
3889 return __builtin_vsx_xvminsp(__a, __b);
3891 return __builtin_altivec_vminfp(__a, __b);
3897 vector double __b) {
3898 return __builtin_vsx_xvmindp(__a, __b);
3905 vector signed char __b) {
3906 return __builtin_altivec_vminsb(__a, __b);
3910 vector signed char __b) {
3911 return __builtin_altivec_vminsb((vector signed char)__a, __b);
3915 vector bool char __b) {
3916 return __builtin_altivec_vminsb(__a, (vector signed char)__b);
3922 vector unsigned char __b) {
3923 return __builtin_altivec_vminub(__a, __b);
3927 vector unsigned char __b) {
3928 return __builtin_altivec_vminub((vector unsigned char)__a, __b);
3932 vector bool char __b) {
3933 return __builtin_altivec_vminub(__a, (vector unsigned char)__b);
3939 vector short __b) {
3940 return __builtin_altivec_vminsh(__a, __b);
3944 vector short __b) {
3945 return __builtin_altivec_vminsh((vector short)__a, __b);
3949 vector bool short __b) {
3950 return __builtin_altivec_vminsh(__a, (vector short)__b);
3956 vec_vminuh(vector unsigned short __a, vector unsigned short __b) {
3957 return __builtin_altivec_vminuh(__a, __b);
3961 vec_vminuh(vector bool short __a, vector unsigned short __b) {
3962 return __builtin_altivec_vminuh((vector unsigned short)__a, __b);
3966 vector bool short __b) {
3967 return __builtin_altivec_vminuh(__a, (vector unsigned short)__b);
3972 static vector int __ATTRS_o_ai vec_vminsw(vector int __a, vector int __b) {
3973 return __builtin_altivec_vminsw(__a, __b);
3976 static vector int __ATTRS_o_ai vec_vminsw(vector bool int __a, vector int __b) {
3977 return __builtin_altivec_vminsw((vector int)__a, __b);
3980 static vector int __ATTRS_o_ai vec_vminsw(vector int __a, vector bool int __b) {
3981 return __builtin_altivec_vminsw(__a, (vector int)__b);
3987 vector unsigned int __b) {
3988 return __builtin_altivec_vminuw(__a, __b);
3992 vector unsigned int __b) {
3993 return __builtin_altivec_vminuw((vector unsigned int)__a, __b);
3997 vector bool int __b) {
3998 return __builtin_altivec_vminuw(__a, (vector unsigned int)__b);
4004 vec_vminfp(vector float __a, vector float __b) {
4006 return __builtin_vsx_xvminsp(__a, __b);
4008 return __builtin_altivec_vminfp(__a, __b);
4016 static vector short __ATTRS_o_ai vec_mladd(vector short __a, vector short __b,
4018 return __a * __b + __c;
4022 vector unsigned short __b,
4024 return __a * (vector short)__b + (vector short)__c;
4028 vector short __b, vector short __c) {
4029 return (vector short)__a * __b + __c;
4033 vector unsigned short __b,
4035 return __a * __b + __c;
4041 vector short __b,
4043 return __a * __b + __c;
4047 vector unsigned short __b,
4049 return __a * (vector short)__b + (vector short)__c;
4053 vector short __b,
4055 return (vector short)__a * __b + __c;
4059 vec_vmladduhm(vector unsigned short __a, vector unsigned short __b,
4061 return __a * __b + __c;
4067 vec_mradds(vector short __a, vector short __b, vector short __c) {
4068 return __builtin_altivec_vmhraddshs(__a, __b, __c);
4074 vec_vmhraddshs(vector short __a, vector short __b, vector short __c) {
4075 return __builtin_altivec_vmhraddshs(__a, __b, __c);
4081 vector unsigned char __b,
4083 return __builtin_altivec_vmsummbm(__a, __b, __c);
4087 vector unsigned char __b,
4089 return __builtin_altivec_vmsumubm(__a, __b, __c);
4092 static vector int __ATTRS_o_ai vec_msum(vector short __a, vector short __b,
4094 return __builtin_altivec_vmsumshm(__a, __b, __c);
4098 vector unsigned short __b,
4100 return __builtin_altivec_vmsumuhm(__a, __b, __c);
4106 vec_vmsummbm(vector signed char __a, vector unsigned char __b, vector int __c) {
4107 return __builtin_altivec_vmsummbm(__a, __b, __c);
4113 vec_vmsumubm(vector unsigned char __a, vector unsigned char __b,
4115 return __builtin_altivec_vmsumubm(__a, __b, __c);
4121 vec_vmsumshm(vector short __a, vector short __b, vector int __c) {
4122 return __builtin_altivec_vmsumshm(__a, __b, __c);
4128 vec_vmsumuhm(vector unsigned short __a, vector unsigned short __b,
4130 return __builtin_altivec_vmsumuhm(__a, __b, __c);
4135 static vector int __ATTRS_o_ai vec_msums(vector short __a, vector short __b,
4137 return __builtin_altivec_vmsumshs(__a, __b, __c);
4141 vector unsigned short __b,
4143 return __builtin_altivec_vmsumuhs(__a, __b, __c);
4149 vec_vmsumshs(vector short __a, vector short __b, vector int __c) {
4150 return __builtin_altivec_vmsumshs(__a, __b, __c);
4156 vec_vmsumuhs(vector unsigned short __a, vector unsigned short __b,
4158 return __builtin_altivec_vmsumuhs(__a, __b, __c);
4214 vector signed char __b) {
4215 return __a * __b;
4219 vector unsigned char __b) {
4220 return __a * __b;
4224 vector signed short __b) {
4225 return __a * __b;
4229 vector unsigned short __b) {
4230 return __a * __b;
4234 vector signed int __b) {
4235 return __a * __b;
4239 vector unsigned int __b) {
4240 return __a * __b;
4245 vec_mul(vector signed long long __a, vector signed long long __b) {
4246 return __a * __b;
4250 vec_mul(vector unsigned long long __a, vector unsigned long long __b) {
4251 return __a * __b;
4255 static vector float __ATTRS_o_ai vec_mul(vector float __a, vector float __b) {
4256 return __a * __b;
4261 vec_mul(vector double __a, vector double __b) {
4262 return __a * __b;
4272 vector signed char __b) {
4274 return __builtin_altivec_vmulosb(__a, __b);
4276 return __builtin_altivec_vmulesb(__a, __b);
4281 vector unsigned char __b) {
4283 return __builtin_altivec_vmuloub(__a, __b);
4285 return __builtin_altivec_vmuleub(__a, __b);
4289 static vector int __ATTRS_o_ai vec_mule(vector short __a, vector short __b) {
4291 return __builtin_altivec_vmulosh(__a, __b);
4293 return __builtin_altivec_vmulesh(__a, __b);
4298 vector unsigned short __b) {
4300 return __builtin_altivec_vmulouh(__a, __b);
4302 return __builtin_altivec_vmuleuh(__a, __b);
4308 vector signed int __b) {
4310 return __builtin_altivec_vmulosw(__a, __b);
4312 return __builtin_altivec_vmulesw(__a, __b);
4317 vec_mule(vector unsigned int __a, vector unsigned int __b) {
4319 return __builtin_altivec_vmulouw(__a, __b);
4321 return __builtin_altivec_vmuleuw(__a, __b);
4329 vec_vmulesb(vector signed char __a, vector signed char __b) {
4331 return __builtin_altivec_vmulosb(__a, __b);
4333 return __builtin_altivec_vmulesb(__a, __b);
4340 vec_vmuleub(vector unsigned char __a, vector unsigned char __b) {
4342 return __builtin_altivec_vmuloub(__a, __b);
4344 return __builtin_altivec_vmuleub(__a, __b);
4351 vec_vmulesh(vector short __a, vector short __b) {
4353 return __builtin_altivec_vmulosh(__a, __b);
4355 return __builtin_altivec_vmulesh(__a, __b);
4362 vec_vmuleuh(vector unsigned short __a, vector unsigned short __b) {
4364 return __builtin_altivec_vmulouh(__a, __b);
4366 return __builtin_altivec_vmuleuh(__a, __b);
4373 vector signed char __b) {
4375 return __builtin_altivec_vmulesb(__a, __b);
4377 return __builtin_altivec_vmulosb(__a, __b);
4382 vector unsigned char __b) {
4384 return __builtin_altivec_vmuleub(__a, __b);
4386 return __builtin_altivec_vmuloub(__a, __b);
4390 static vector int __ATTRS_o_ai vec_mulo(vector short __a, vector short __b) {
4392 return __builtin_altivec_vmulesh(__a, __b);
4394 return __builtin_altivec_vmulosh(__a, __b);
4399 vector unsigned short __b) {
4401 return __builtin_altivec_vmuleuh(__a, __b);
4403 return __builtin_altivec_vmulouh(__a, __b);
4409 vector signed int __b) {
4411 return __builtin_altivec_vmulesw(__a, __b);
4413 return __builtin_altivec_vmulosw(__a, __b);
4418 vec_mulo(vector unsigned int __a, vector unsigned int __b) {
4420 return __builtin_altivec_vmuleuw(__a, __b);
4422 return __builtin_altivec_vmulouw(__a, __b);
4430 vec_vmulosb(vector signed char __a, vector signed char __b) {
4432 return __builtin_altivec_vmulesb(__a, __b);
4434 return __builtin_altivec_vmulosb(__a, __b);
4441 vec_vmuloub(vector unsigned char __a, vector unsigned char __b) {
4443 return __builtin_altivec_vmuleub(__a, __b);
4445 return __builtin_altivec_vmuloub(__a, __b);
4452 vec_vmulosh(vector short __a, vector short __b) {
4454 return __builtin_altivec_vmulesh(__a, __b);
4456 return __builtin_altivec_vmulosh(__a, __b);
4463 vec_vmulouh(vector unsigned short __a, vector unsigned short __b) {
4465 return __builtin_altivec_vmuleuh(__a, __b);
4467 return __builtin_altivec_vmulouh(__a, __b);
4475 vector signed char __b) {
4476 return ~(__a & __b);
4480 vector bool char __b) {
4481 return ~(__a & __b);
4485 vector signed char __b) {
4486 return ~(__a & __b);
4490 vector unsigned char __b) {
4491 return ~(__a & __b);
4495 vector bool char __b) {
4496 return ~(__a & __b);
4501 vector unsigned char __b) {
4502 return ~(__a & __b);
4506 vector bool char __b) {
4507 return ~(__a & __b);
4511 vector signed short __b) {
4512 return ~(__a & __b);
4516 vector bool short __b) {
4517 return ~(__a & __b);
4521 vector signed short __b) {
4522 return ~(__a & __b);
4526 vector unsigned short __b) {
4527 return ~(__a & __b);
4531 vector bool short __b) {
4532 return ~(__a & __b);
4537 vector bool short __b) {
4538 return ~(__a & __b);
4543 vector signed int __b) {
4544 return ~(__a & __b);
4548 vector bool int __b) {
4549 return ~(__a & __b);
4553 vector signed int __b) {
4554 return ~(__a & __b);
4558 vector unsigned int __b) {
4559 return ~(__a & __b);
4563 vector bool int __b) {
4564 return ~(__a & __b);
4568 vector unsigned int __b) {
4569 return ~(__a & __b);
4573 vector bool int __b) {
4574 return ~(__a & __b);
4578 vec_nand(vector signed long long __a, vector signed long long __b) {
4579 return ~(__a & __b);
4583 vec_nand(vector signed long long __a, vector bool long long __b) {
4584 return ~(__a & __b);
4588 vec_nand(vector bool long long __a, vector signed long long __b) {
4589 return ~(__a & __b);
4593 vec_nand(vector unsigned long long __a, vector unsigned long long __b) {
4594 return ~(__a & __b);
4598 vec_nand(vector unsigned long long __a, vector bool long long __b) {
4599 return ~(__a & __b);
4603 vec_nand(vector bool long long __a, vector unsigned long long __b) {
4604 return ~(__a & __b);
4608 vec_nand(vector bool long long __a, vector bool long long __b) {
4609 return ~(__a & __b);
4618 vec_nmadd(vector float __a, vector float __b, vector float __c) {
4619 return __builtin_vsx_xvnmaddasp(__a, __b, __c);
4623 vec_nmadd(vector double __a, vector double __b, vector double __c) {
4624 return __builtin_vsx_xvnmaddadp(__a, __b, __c);
4631 vec_nmsub(vector float __a, vector float __b, vector float __c) {
4633 return __builtin_vsx_xvnmsubasp(__a, __b, __c);
4635 return __builtin_altivec_vnmsubfp(__a, __b, __c);
4641 vec_nmsub(vector double __a, vector double __b, vector double __c) {
4642 return __builtin_vsx_xvnmsubadp(__a, __b, __c);
4649 vec_vnmsubfp(vector float __a, vector float __b, vector float __c) {
4650 return __builtin_altivec_vnmsubfp(__a, __b, __c);
4658 vector signed char __b) {
4659 return ~(__a | __b);
4663 vector unsigned char __b) {
4664 return ~(__a | __b);
4668 vector bool char __b) {
4669 return ~(__a | __b);
4672 static vector short __ATTRS_o_ai vec_nor(vector short __a, vector short __b) {
4673 return ~(__a | __b);
4677 vector unsigned short __b) {
4678 return ~(__a | __b);
4682 vector bool short __b) {
4683 return ~(__a | __b);
4686 __b) {
4687 return ~(__a | __b);
4691 vector unsigned int __b) {
4692 return ~(__a | __b);
4696 vector bool int __b) {
4697 return ~(__a | __b);
4700 static vector float __ATTRS_o_ai vec_nor(vector float __a, vector float __b) {
4702 ~((vector unsigned int)__a | (vector unsigned int)__b);
4708 vec_nor(vector double __a, vector double __b) {
4710 ~((vector unsigned long long)__a | (vector unsigned long long)__b);
4718 vector signed char __b) {
4719 return ~(__a | __b);
4723 vector unsigned char __b) {
4724 return ~(__a | __b);
4728 vector bool char __b) {
4729 return ~(__a | __b);
4732 static vector short __ATTRS_o_ai vec_vnor(vector short __a, vector short __b) {
4733 return ~(__a | __b);
4737 vector unsigned short __b) {
4738 return ~(__a | __b);
4742 vector bool short __b) {
4743 return ~(__a | __b);
4746 static vector int __ATTRS_o_ai vec_vnor(vector int __a, vector int __b) {
4747 return ~(__a | __b);
4751 vector unsigned int __b) {
4752 return ~(__a | __b);
4756 vector bool int __b) {
4757 return ~(__a | __b);
4760 static vector float __ATTRS_o_ai vec_vnor(vector float __a, vector float __b) {
4762 ~((vector unsigned int)__a | (vector unsigned int)__b);
4768 vec_nor(vector signed long long __a, vector signed long long __b) {
4769 return ~(__a | __b);
4773 vec_nor(vector unsigned long long __a, vector unsigned long long __b) {
4774 return ~(__a | __b);
4778 vector bool long long __b) {
4779 return ~(__a | __b);
4788 vector signed char __b) {
4789 return __a | __b;
4793 vector signed char __b) {
4794 return (vector signed char)__a | __b;
4798 vector bool char __b) {
4799 return __a | (vector signed char)__b;
4803 vector unsigned char __b) {
4804 return __a | __b;
4808 vector unsigned char __b) {
4809 return (vector unsigned char)__a | __b;
4813 vector bool char __b) {
4814 return __a | (vector unsigned char)__b;
4818 vector bool char __b) {
4819 return __a | __b;
4822 static vector short __ATTRS_o_ai vec_or(vector short __a, vector short __b) {
4823 return __a | __b;
4827 vector short __b) {
4828 return (vector short)__a | __b;
4832 vector bool short __b) {
4833 return __a | (vector short)__b;
4837 vector unsigned short __b) {
4838 return __a | __b;
4842 vector unsigned short __b) {
4843 return (vector unsigned short)__a | __b;
4847 vector bool short __b) {
4848 return __a | (vector unsigned short)__b;
4852 vector bool short __b) {
4853 return __a | __b;
4856 static vector int __ATTRS_o_ai vec_or(vector int __a, vector int __b) {
4857 return __a | __b;
4860 static vector int __ATTRS_o_ai vec_or(vector bool int __a, vector int __b) {
4861 return (vector int)__a | __b;
4864 static vector int __ATTRS_o_ai vec_or(vector int __a, vector bool int __b) {
4865 return __a | (vector int)__b;
4869 vector unsigned int __b) {
4870 return __a | __b;
4874 vector unsigned int __b) {
4875 return (vector unsigned int)__a | __b;
4879 vector bool int __b) {
4880 return __a | (vector unsigned int)__b;
4884 vector bool int __b) {
4885 return __a | __b;
4888 static vector float __ATTRS_o_ai vec_or(vector float __a, vector float __b) {
4890 (vector unsigned int)__a | (vector unsigned int)__b;
4894 static vector float __ATTRS_o_ai vec_or(vector bool int __a, vector float __b) {
4896 (vector unsigned int)__a | (vector unsigned int)__b;
4900 static vector float __ATTRS_o_ai vec_or(vector float __a, vector bool int __b) {
4902 (vector unsigned int)__a | (vector unsigned int)__b;
4908 vector double __b) {
4909 return (vector unsigned long long)__a | (vector unsigned long long)__b;
4913 vector bool long long __b) {
4914 return (vector unsigned long long)__a | (vector unsigned long long)__b;
4917 static vector double __ATTRS_o_ai vec_or(vector double __a, vector double __b) {
4919 (vector unsigned long long)__a | (vector unsigned long long)__b;
4924 vec_or(vector signed long long __a, vector signed long long __b) {
4925 return __a | __b;
4929 vec_or(vector bool long long __a, vector signed long long __b) {
4930 return (vector signed long long)__a | __b;
4934 vector bool long long __b) {
4935 return __a | (vector signed long long)__b;
4939 vec_or(vector unsigned long long __a, vector unsigned long long __b) {
4940 return __a | __b;
4944 vec_or(vector bool long long __a, vector unsigned long long __b) {
4945 return (vector unsigned long long)__a | __b;
4949 vec_or(vector unsigned long long __a, vector bool long long __b) {
4950 return __a | (vector unsigned long long)__b;
4954 vector bool long long __b) {
4955 return __a | __b;
4961 vector signed char __b) {
4962 return __a | ~__b;
4966 vector bool char __b) {
4967 return __a | ~__b;
4971 vector signed char __b) {
4972 return __a | ~__b;
4976 vector unsigned char __b) {
4977 return __a | ~__b;
4981 vector bool char __b) {
4982 return __a | ~__b;
4986 vector unsigned char __b) {
4987 return __a | ~__b;
4991 vector bool char __b) {
4992 return __a | ~__b;
4996 vector signed short __b) {
4997 return __a | ~__b;
5001 vector bool short __b) {
5002 return __a | ~__b;
5006 vector signed short __b) {
5007 return __a | ~__b;
5011 vector unsigned short __b) {
5012 return __a | ~__b;
5016 vector bool short __b) {
5017 return __a | ~__b;
5021 vec_orc(vector bool short __a, vector unsigned short __b) {
5022 return __a | ~__b;
5026 vector bool short __b) {
5027 return __a | ~__b;
5031 vector signed int __b) {
5032 return __a | ~__b;
5036 vector bool int __b) {
5037 return __a | ~__b;
5041 vector signed int __b) {
5042 return __a | ~__b;
5046 vector unsigned int __b) {
5047 return __a | ~__b;
5051 vector bool int __b) {
5052 return __a | ~__b;
5056 vector unsigned int __b) {
5057 return __a | ~__b;
5061 vector bool int __b) {
5062 return __a | ~__b;
5066 vec_orc(vector signed long long __a, vector signed long long __b) {
5067 return __a | ~__b;
5071 vector bool long long __b) {
5072 return __a | ~__b;
5076 vec_orc(vector bool long long __a, vector signed long long __b) {
5077 return __a | ~__b;
5081 vec_orc(vector unsigned long long __a, vector unsigned long long __b) {
5082 return __a | ~__b;
5086 vec_orc(vector unsigned long long __a, vector bool long long __b) {
5087 return __a | ~__b;
5091 vec_orc(vector bool long long __a, vector unsigned long long __b) {
5092 return __a | ~__b;
5096 vec_orc(vector bool long long __a, vector bool long long __b) {
5097 return __a | ~__b;
5104 vector signed char __b) {
5105 return __a | __b;
5109 vector signed char __b) {
5110 return (vector signed char)__a | __b;
5114 vector bool char __b) {
5115 return __a | (vector signed char)__b;
5119 vector unsigned char __b) {
5120 return __a | __b;
5124 vector unsigned char __b) {
5125 return (vector unsigned char)__a | __b;
5129 vector bool char __b) {
5130 return __a | (vector unsigned char)__b;
5134 vector bool char __b) {
5135 return __a | __b;
5138 static vector short __ATTRS_o_ai vec_vor(vector short __a, vector short __b) {
5139 return __a | __b;
5143 vector short __b) {
5144 return (vector short)__a | __b;
5148 vector bool short __b) {
5149 return __a | (vector short)__b;
5153 vector unsigned short __b) {
5154 return __a | __b;
5158 vector unsigned short __b) {
5159 return (vector unsigned short)__a | __b;
5163 vector bool short __b) {
5164 return __a | (vector unsigned short)__b;
5168 vector bool short __b) {
5169 return __a | __b;
5172 static vector int __ATTRS_o_ai vec_vor(vector int __a, vector int __b) {
5173 return __a | __b;
5176 static vector int __ATTRS_o_ai vec_vor(vector bool int __a, vector int __b) {
5177 return (vector int)__a | __b;
5180 static vector int __ATTRS_o_ai vec_vor(vector int __a, vector bool int __b) {
5181 return __a | (vector int)__b;
5185 vector unsigned int __b) {
5186 return __a | __b;
5190 __b) {
5191 return (vector unsigned int)__a | __b;
5195 vector bool int __b) {
5196 return __a | (vector unsigned int)__b;
5200 vector bool int __b) {
5201 return __a | __b;
5204 static vector float __ATTRS_o_ai vec_vor(vector float __a, vector float __b) {
5206 (vector unsigned int)__a | (vector unsigned int)__b;
5211 vector float __b) {
5213 (vector unsigned int)__a | (vector unsigned int)__b;
5218 vector bool int __b) {
5220 (vector unsigned int)__a | (vector unsigned int)__b;
5226 vec_vor(vector signed long long __a, vector signed long long __b) {
5227 return __a | __b;
5231 vec_vor(vector bool long long __a, vector signed long long __b) {
5232 return (vector signed long long)__a | __b;
5236 vector bool long long __b) {
5237 return __a | (vector signed long long)__b;
5241 vec_vor(vector unsigned long long __a, vector unsigned long long __b) {
5242 return __a | __b;
5246 vec_vor(vector bool long long __a, vector unsigned long long __b) {
5247 return (vector unsigned long long)__a | __b;
5251 vec_vor(vector unsigned long long __a, vector bool long long __b) {
5252 return __a | (vector unsigned long long)__b;
5256 vector bool long long __b) {
5257 return __a | __b;
5267 vector signed short __b) {
5270 __a, __b,
5275 __a, __b,
5282 vector unsigned short __b) {
5285 __a, __b,
5290 __a, __b,
5297 vector bool short __b) {
5300 __a, __b,
5305 __a, __b,
5311 static vector short __ATTRS_o_ai vec_pack(vector int __a, vector int __b) {
5314 __a, __b,
5319 __a, __b,
5326 vector unsigned int __b) {
5329 __a, __b,
5334 __a, __b,
5341 vector bool int __b) {
5344 __a, __b,
5349 __a, __b,
5357 vector signed long long __b) {
5360 __a, __b,
5365 __a, __b,
5371 vec_pack(vector unsigned long long __a, vector unsigned long long __b) {
5374 __a, __b,
5379 __a, __b,
5386 vector bool long long __b) {
5389 __a, __b,
5394 __a, __b,
5407 vector signed short __b) {
5410 __a, __b,
5415 __a, __b,
5422 vec_vpkuhum(vector unsigned short __a, vector unsigned short __b) {
5425 __a, __b,
5430 __a, __b,
5437 vector bool short __b) {
5440 __a, __b,
5445 __a, __b,
5455 static vector short __ATTRS_o_ai vec_vpkuwum(vector int __a, vector int __b) {
5458 __a, __b,
5463 __a, __b,
5470 vector unsigned int __b) {
5473 __a, __b,
5478 __a, __b,
5485 vector bool int __b) {
5488 __a, __b,
5493 __a, __b,
5505 vector long long __b) {
5508 __a, __b,
5513 __a, __b,
5520 vec_vpkudum(vector unsigned long long __a, vector unsigned long long __b) {
5523 __a, __b,
5528 __a, __b,
5535 vector bool long long __b) {
5538 (vector long long)__a, (vector long long)__b,
5543 (vector long long)__a, (vector long long)__b,
5553 vec_packpx(vector unsigned int __a, vector unsigned int __b) {
5555 return (vector pixel)__builtin_altivec_vpkpx(__b, __a);
5557 return (vector pixel)__builtin_altivec_vpkpx(__a, __b);
5564 vec_vpkpx(vector unsigned int __a, vector unsigned int __b) {
5566 return (vector pixel)__builtin_altivec_vpkpx(__b, __a);
5568 return (vector pixel)__builtin_altivec_vpkpx(__a, __b);
5575 vector short __b) {
5577 return __builtin_altivec_vpkshss(__b, __a);
5579 return __builtin_altivec_vpkshss(__a, __b);
5584 vector unsigned short __b) {
5586 return __builtin_altivec_vpkuhus(__b, __a);
5588 return __builtin_altivec_vpkuhus(__a, __b);
5593 vector int __b) {
5595 return __builtin_altivec_vpkswss(__b, __a);
5597 return __builtin_altivec_vpkswss(__a, __b);
5602 vector unsigned int __b) {
5604 return __builtin_altivec_vpkuwus(__b, __a);
5606 return __builtin_altivec_vpkuwus(__a, __b);
5612 vector long long __b) {
5614 return __builtin_altivec_vpksdss(__b, __a);
5616 return __builtin_altivec_vpksdss(__a, __b);
5621 vec_packs(vector unsigned long long __a, vector unsigned long long __b) {
5623 return __builtin_altivec_vpkudus(__b, __a);
5625 return __builtin_altivec_vpkudus(__a, __b);
5633 vec_vpkshss(vector short __a, vector short __b) {
5635 return __builtin_altivec_vpkshss(__b, __a);
5637 return __builtin_altivec_vpkshss(__a, __b);
5645 vector long long __b) {
5647 return __builtin_altivec_vpksdss(__b, __a);
5649 return __builtin_altivec_vpksdss(__a, __b);
5657 vec_vpkuhus(vector unsigned short __a, vector unsigned short __b) {
5659 return __builtin_altivec_vpkuhus(__b, __a);
5661 return __builtin_altivec_vpkuhus(__a, __b);
5669 vec_vpkudus(vector unsigned long long __a, vector unsigned long long __b) {
5671 return __builtin_altivec_vpkudus(__b, __a);
5673 return __builtin_altivec_vpkudus(__a, __b);
5681 vec_vpkswss(vector int __a, vector int __b) {
5683 return __builtin_altivec_vpkswss(__b, __a);
5685 return __builtin_altivec_vpkswss(__a, __b);
5692 vec_vpkuwus(vector unsigned int __a, vector unsigned int __b) {
5694 return __builtin_altivec_vpkuwus(__b, __a);
5696 return __builtin_altivec_vpkuwus(__a, __b);
5703 vector short __b) {
5705 return __builtin_altivec_vpkshus(__b, __a);
5707 return __builtin_altivec_vpkshus(__a, __b);
5712 vector unsigned short __b) {
5714 return __builtin_altivec_vpkuhus(__b, __a);
5716 return __builtin_altivec_vpkuhus(__a, __b);
5721 vector int __b) {
5723 return __builtin_altivec_vpkswus(__b, __a);
5725 return __builtin_altivec_vpkswus(__a, __b);
5730 vector unsigned int __b) {
5732 return __builtin_altivec_vpkuwus(__b, __a);
5734 return __builtin_altivec_vpkuwus(__a, __b);
5740 vector long long __b) {
5742 return __builtin_altivec_vpksdus(__b, __a);
5744 return __builtin_altivec_vpksdus(__a, __b);
5749 vec_packsu(vector unsigned long long __a, vector unsigned long long __b) {
5751 return __builtin_altivec_vpkudus(__b, __a);
5753 return __builtin_altivec_vpkudus(__a, __b);
5761 vector short __b) {
5763 return __builtin_altivec_vpkshus(__b, __a);
5765 return __builtin_altivec_vpkshus(__a, __b);
5770 vec_vpkshus(vector unsigned short __a, vector unsigned short __b) {
5772 return __builtin_altivec_vpkuhus(__b, __a);
5774 return __builtin_altivec_vpkuhus(__a, __b);
5781 vector int __b) {
5783 return __builtin_altivec_vpkswus(__b, __a);
5785 return __builtin_altivec_vpkswus(__a, __b);
5790 vector unsigned int __b) {
5792 return __builtin_altivec_vpkuwus(__b, __a);
5794 return __builtin_altivec_vpkuwus(__a, __b);
5802 vector long long __b) {
5804 return __builtin_altivec_vpksdus(__b, __a);
5806 return __builtin_altivec_vpksdus(__a, __b);
5822 vector signed char __b,
5828 return (vector signed char)__builtin_altivec_vperm_4si((vector int)__b,
5832 (vector int)__b, __c);
5837 vector unsigned char __b,
5844 (vector int)__b, (vector int)__a, __d);
5847 (vector int)__a, (vector int)__b, __c);
5852 vector bool char __b,
5858 return (vector bool char)__builtin_altivec_vperm_4si((vector int)__b,
5862 (vector int)__b, __c);
5867 vector signed short __b,
5873 return (vector signed short)__builtin_altivec_vperm_4si((vector int)__b,
5877 (vector int)__b, __c);
5882 vector unsigned short __b,
5889 (vector int)__b, (vector int)__a, __d);
5892 (vector int)__a, (vector int)__b, __c);
5897 vector bool short __b,
5903 return (vector bool short)__builtin_altivec_vperm_4si((vector int)__b,
5907 (vector int)__b, __c);
5911 static vector pixel __ATTRS_o_ai vec_perm(vector pixel __a, vector pixel __b,
5917 return (vector pixel)__builtin_altivec_vperm_4si((vector int)__b,
5921 (vector int)__b, __c);
5926 vector signed int __b,
5932 return (vector signed int)__builtin_altivec_vperm_4si(__b, __a, __d);
5934 return (vector signed int)__builtin_altivec_vperm_4si(__a, __b, __c);
5939 vector unsigned int __b,
5945 return (vector unsigned int)__builtin_altivec_vperm_4si((vector int)__b,
5949 (vector int)__b, __c);
5954 vector bool int __b,
5960 return (vector bool int)__builtin_altivec_vperm_4si((vector int)__b,
5964 (vector int)__b, __c);
5968 static vector float __ATTRS_o_ai vec_perm(vector float __a, vector float __b,
5974 return (vector float)__builtin_altivec_vperm_4si((vector int)__b,
5978 (vector int)__b, __c);
5984 vector signed long long __b,
5991 (vector int)__b, (vector int)__a, __d);
5994 (vector int)__a, (vector int)__b, __c);
5999 vec_perm(vector unsigned long long __a, vector unsigned long long __b,
6006 (vector int)__b, (vector int)__a, __d);
6009 (vector int)__a, (vector int)__b, __c);
6014 vec_perm(vector bool long long __a, vector bool long long __b,
6021 (vector int)__b, (vector int)__a, __d);
6024 (vector int)__a, (vector int)__b, __c);
6028 static vector double __ATTRS_o_ai vec_perm(vector double __a, vector double __b,
6034 return (vector double)__builtin_altivec_vperm_4si((vector int)__b,
6038 (vector int)__b, __c);
6046 vector signed char __b,
6048 return vec_perm(__a, __b, __c);
6052 vector unsigned char __b,
6054 return vec_perm(__a, __b, __c);
6058 vector bool char __b,
6060 return vec_perm(__a, __b, __c);
6063 static vector short __ATTRS_o_ai vec_vperm(vector short __a, vector short __b,
6065 return vec_perm(__a, __b, __c);
6069 vector unsigned short __b,
6071 return vec_perm(__a, __b, __c);
6075 vector bool short __b,
6077 return vec_perm(__a, __b, __c);
6080 static vector pixel __ATTRS_o_ai vec_vperm(vector pixel __a, vector pixel __b,
6082 __b, __c);
6085 static vector int __ATTRS_o_ai vec_vperm(vector int __a, vector int __b,
6087 return vec_perm(__a, __b, __c);
6091 vector unsigned int __b,
6093 return vec_perm(__a, __b, __c);
6097 vector bool int __b,
6099 return vec_perm(__a, __b, __c);
6102 static vector float __ATTRS_o_ai vec_vperm(vector float __a, vector float __b,
6104 return vec_perm(__a, __b, __c);
6109 vector long long __b,
6111 return vec_perm(__a, __b, __c);
6115 vec_vperm(vector unsigned long long __a, vector unsigned long long __b,
6117 return vec_perm(__a, __b, __c);
6121 vector double __b,
6123 return vec_perm(__a, __b, __c);
6154 vector unsigned char __b) {
6155 return (vector signed char)__builtin_altivec_vrlb((vector char)__a, __b);
6159 vector unsigned char __b) {
6160 return (vector unsigned char)__builtin_altivec_vrlb((vector char)__a, __b);
6164 vector unsigned short __b) {
6165 return __builtin_altivec_vrlh(__a, __b);
6169 vector unsigned short __b) {
6170 return (vector unsigned short)__builtin_altivec_vrlh((vector short)__a, __b);
6173 static vector int __ATTRS_o_ai vec_rl(vector int __a, vector unsigned int __b) {
6174 return __builtin_altivec_vrlw(__a, __b);
6178 vector unsigned int __b) {
6179 return (vector unsigned int)__builtin_altivec_vrlw((vector int)__a, __b);
6184 vec_rl(vector signed long long __a, vector unsigned long long __b) {
6185 return __builtin_altivec_vrld(__a, __b);
6189 vec_rl(vector unsigned long long __a, vector unsigned long long __b) {
6190 return __builtin_altivec_vrld(__a, __b);
6197 vector unsigned char __b) {
6198 return (vector signed char)__builtin_altivec_vrlb((vector char)__a, __b);
6202 vector unsigned char __b) {
6203 return (vector unsigned char)__builtin_altivec_vrlb((vector char)__a, __b);
6209 vector unsigned short __b) {
6210 return __builtin_altivec_vrlh(__a, __b);
6214 vector unsigned short __b) {
6215 return (vector unsigned short)__builtin_altivec_vrlh((vector short)__a, __b);
6221 vector unsigned int __b) {
6222 return __builtin_altivec_vrlw(__a, __b);
6226 vector unsigned int __b) {
6227 return (vector unsigned int)__builtin_altivec_vrlw((vector int)__a, __b);
6316 vector signed char __b,
6318 return (__a & ~(vector signed char)__c) | (__b & (vector signed char)__c);
6322 vector signed char __b,
6324 return (__a & ~(vector signed char)__c) | (__b & (vector signed char)__c);
6328 vector unsigned char __b,
6330 return (__a & ~__c) | (__b & __c);
6334 vector unsigned char __b,
6336 return (__a & ~(vector unsigned char)__c) | (__b & (vector unsigned char)__c);
6340 vector bool char __b,
6342 return (__a & ~(vector bool char)__c) | (__b & (vector bool char)__c);
6346 vector bool char __b,
6348 return (__a & ~__c) | (__b & __c);
6351 static vector short __ATTRS_o_ai vec_sel(vector short __a, vector short __b,
6353 return (__a & ~(vector short)__c) | (__b & (vector short)__c);
6356 static vector short __ATTRS_o_ai vec_sel(vector short __a, vector short __b,
6358 return (__a & ~(vector short)__c) | (__b & (vector short)__c);
6362 vector unsigned short __b,
6364 return (__a & ~__c) | (__b & __c);
6368 vector unsigned short __b,
6371 (__b & (vector unsigned short)__c);
6375 vector bool short __b,
6377 return (__a & ~(vector bool short)__c) | (__b & (vector bool short)__c);
6381 vector bool short __b,
6383 return (__a & ~__c) | (__b & __c);
6386 static vector int __ATTRS_o_ai vec_sel(vector int __a, vector int __b,
6388 return (__a & ~(vector int)__c) | (__b & (vector int)__c);
6391 static vector int __ATTRS_o_ai vec_sel(vector int __a, vector int __b,
6393 return (__a & ~(vector int)__c) | (__b & (vector int)__c);
6397 vector unsigned int __b,
6399 return (__a & ~__c) | (__b & __c);
6403 vector unsigned int __b,
6405 return (__a & ~(vector unsigned int)__c) | (__b & (vector unsigned int)__c);
6409 vector bool int __b,
6411 return (__a & ~(vector bool int)__c) | (__b & (vector bool int)__c);
6415 vector bool int __b,
6417 return (__a & ~__c) | (__b & __c);
6420 static vector float __ATTRS_o_ai vec_sel(vector float __a, vector float __b,
6423 ((vector int)__b & (vector int)__c);
6427 static vector float __ATTRS_o_ai vec_sel(vector float __a, vector float __b,
6430 ((vector int)__b & (vector int)__c);
6435 static vector double __ATTRS_o_ai vec_sel(vector double __a, vector double __b,
6438 ((vector long long)__b & (vector long long)__c);
6442 static vector double __ATTRS_o_ai vec_sel(vector double __a, vector double __b,
6445 ((vector long long)__b & (vector long long)__c);
6453 vector signed char __b,
6455 return (__a & ~(vector signed char)__c) | (__b & (vector signed char)__c);
6459 vector signed char __b,
6461 return (__a & ~(vector signed char)__c) | (__b & (vector signed char)__c);
6465 vector unsigned char __b,
6467 return (__a & ~__c) | (__b & __c);
6471 vector unsigned char __b,
6473 return (__a & ~(vector unsigned char)__c) | (__b & (vector unsigned char)__c);
6477 vector bool char __b,
6479 return (__a & ~(vector bool char)__c) | (__b & (vector bool char)__c);
6483 vector bool char __b,
6485 return (__a & ~__c) | (__b & __c);
6488 static vector short __ATTRS_o_ai vec_vsel(vector short __a, vector short __b,
6490 return (__a & ~(vector short)__c) | (__b & (vector short)__c);
6493 static vector short __ATTRS_o_ai vec_vsel(vector short __a, vector short __b,
6495 return (__a & ~(vector short)__c) | (__b & (vector short)__c);
6499 vector unsigned short __b,
6501 return (__a & ~__c) | (__b & __c);
6505 vector unsigned short __b,
6508 (__b & (vector unsigned short)__c);
6512 vector bool short __b,
6514 return (__a & ~(vector bool short)__c) | (__b & (vector bool short)__c);
6518 vector bool short __b,
6520 return (__a & ~__c) | (__b & __c);
6523 static vector int __ATTRS_o_ai vec_vsel(vector int __a, vector int __b,
6525 return (__a & ~(vector int)__c) | (__b & (vector int)__c);
6528 static vector int __ATTRS_o_ai vec_vsel(vector int __a, vector int __b,
6530 return (__a & ~(vector int)__c) | (__b & (vector int)__c);
6534 vector unsigned int __b,
6536 return (__a & ~__c) | (__b & __c);
6540 vector unsigned int __b,
6542 return (__a & ~(vector unsigned int)__c) | (__b & (vector unsigned int)__c);
6546 vector bool int __b,
6548 return (__a & ~(vector bool int)__c) | (__b & (vector bool int)__c);
6552 vector bool int __b,
6554 return (__a & ~__c) | (__b & __c);
6557 static vector float __ATTRS_o_ai vec_vsel(vector float __a, vector float __b,
6560 ((vector int)__b & (vector int)__c);
6564 static vector float __ATTRS_o_ai vec_vsel(vector float __a, vector float __b,
6567 ((vector int)__b & (vector int)__c);
6574 vector unsigned char __b) {
6575 return __a << (vector signed char)__b;
6579 vector unsigned char __b) {
6580 return __a << __b;
6584 vector unsigned short __b) {
6585 return __a << (vector short)__b;
6589 vector unsigned short __b) {
6590 return __a << __b;
6593 static vector int __ATTRS_o_ai vec_sl(vector int __a, vector unsigned int __b) {
6594 return __a << (vector int)__b;
6598 vector unsigned int __b) {
6599 return __a << __b;
6604 vec_sl(vector signed long long __a, vector unsigned long long __b) {
6605 return __a << (vector long long)__b;
6609 vec_sl(vector unsigned long long __a, vector unsigned long long __b) {
6610 return __a << __b;
6619 vector unsigned char __b) {
6620 return vec_sl(__a, __b);
6624 vector unsigned char __b) {
6625 return vec_sl(__a, __b);
6633 vector unsigned short __b) {
6634 return vec_sl(__a, __b);
6638 vector unsigned short __b) {
6639 return vec_sl(__a, __b);
6647 vector unsigned int __b) {
6648 return vec_sl(__a, __b);
6652 vector unsigned int __b) {
6653 return vec_sl(__a, __b);
6661 vector signed char __b,
6666 __b, __a,
6673 __a, __b,
6681 vector unsigned char __b,
6686 __b, __a,
6693 __a, __b,
6701 vector bool char __b,
6706 __b, __a,
6713 __a, __b,
6721 vector signed short __b,
6726 __b, __a,
6733 __a, __b,
6741 vector unsigned short __b,
6746 __b, __a,
6753 __a, __b,
6761 vector bool short __b,
6766 __b, __a,
6773 __a, __b,
6780 static vector pixel __ATTRS_o_ai vec_sld(vector pixel __a, vector pixel __b,
6785 __b, __a,
6792 __a, __b,
6800 vector signed int __b,
6805 __b, __a,
6812 __a, __b,
6820 vector unsigned int __b,
6825 __b, __a,
6832 __a, __b,
6840 vector bool int __b,
6845 __b, __a,
6852 __a, __b,
6859 static vector float __ATTRS_o_ai vec_sld(vector float __a, vector float __b,
6864 __b, __a,
6871 __a, __b,
6881 vector signed char __b,
6886 __b, __a,
6893 __a, __b,
6901 vector unsigned char __b,
6906 __b, __a,
6913 __a, __b,
6920 static vector short __ATTRS_o_ai vec_vsldoi(vector short __a, vector short __b,
6925 __b, __a,
6932 __a, __b,
6940 vector unsigned short __b,
6945 __b, __a,
6952 __a, __b,
6959 static vector pixel __ATTRS_o_ai vec_vsldoi(vector pixel __a, vector pixel __b,
6964 __b, __a,
6971 __a, __b,
6978 static vector int __ATTRS_o_ai vec_vsldoi(vector int __a, vector int __b,
6983 __b, __a,
6990 __a, __b,
6998 vector unsigned int __b,
7003 __b, __a,
7010 __a, __b,
7017 static vector float __ATTRS_o_ai vec_vsldoi(vector float __a, vector float __b,
7022 __b, __a,
7029 __a, __b,
7039 vector unsigned char __b) {
7041 (vector int)__b);
7045 vector unsigned short __b) {
7047 (vector int)__b);
7051 vector unsigned int __b) {
7053 (vector int)__b);
7057 vector unsigned char __b) {
7059 (vector int)__b);
7063 vector unsigned short __b) {
7065 (vector int)__b);
7069 vector unsigned int __b) {
7071 (vector int)__b);
7075 vector unsigned char __b) {
7077 (vector int)__b);
7081 vector unsigned short __b) {
7083 (vector int)__b);
7087 vector unsigned int __b) {
7089 (vector int)__b);
7093 vector unsigned char __b) {
7094 return (vector short)__builtin_altivec_vsl((vector int)__a, (vector int)__b);
7098 vector unsigned short __b) {
7099 return (vector short)__builtin_altivec_vsl((vector int)__a, (vector int)__b);
7103 vector unsigned int __b) {
7104 return (vector short)__builtin_altivec_vsl((vector int)__a, (vector int)__b);
7108 vector unsigned char __b) {
7110 (vector int)__b);
7114 vector unsigned short __b) {
7116 (vector int)__b);
7120 vector unsigned int __b) {
7122 (vector int)__b);
7126 vector unsigned char __b) {
7128 (vector int)__b);
7132 vector unsigned short __b) {
7134 (vector int)__b);
7138 vector unsigned int __b) {
7140 (vector int)__b);
7144 vector unsigned char __b) {
7145 return (vector pixel)__builtin_altivec_vsl((vector int)__a, (vector int)__b);
7149 vector unsigned short __b) {
7150 return (vector pixel)__builtin_altivec_vsl((vector int)__a, (vector int)__b);
7154 vector unsigned int __b) {
7155 return (vector pixel)__builtin_altivec_vsl((vector int)__a, (vector int)__b);
7159 vector unsigned char __b) {
7160 return (vector int)__builtin_altivec_vsl(__a, (vector int)__b);
7164 vector unsigned short __b) {
7165 return (vector int)__builtin_altivec_vsl(__a, (vector int)__b);
7169 vector unsigned int __b) {
7170 return (vector int)__builtin_altivec_vsl(__a, (vector int)__b);
7174 vector unsigned char __b) {
7176 (vector int)__b);
7180 vector unsigned short __b) {
7182 (vector int)__b);
7186 vector unsigned int __b) {
7188 (vector int)__b);
7192 vector unsigned char __b) {
7194 (vector int)__b);
7198 vector unsigned short __b) {
7200 (vector int)__b);
7204 vector unsigned int __b) {
7206 (vector int)__b);
7212 vector unsigned char __b) {
7214 (vector int)__b);
7218 vector unsigned short __b) {
7220 (vector int)__b);
7224 vector unsigned int __b) {
7226 (vector int)__b);
7230 vector unsigned char __b) {
7232 (vector int)__b);
7236 vector unsigned short __b) {
7238 (vector int)__b);
7242 vector unsigned int __b) {
7244 (vector int)__b);
7248 vector unsigned char __b) {
7250 (vector int)__b);
7254 vector unsigned short __b) {
7256 (vector int)__b);
7260 vector unsigned int __b) {
7262 (vector int)__b);
7266 vector unsigned char __b) {
7267 return (vector short)__builtin_altivec_vsl((vector int)__a, (vector int)__b);
7271 vector unsigned short __b) {
7272 return (vector short)__builtin_altivec_vsl((vector int)__a, (vector int)__b);
7276 vector unsigned int __b) {
7277 return (vector short)__builtin_altivec_vsl((vector int)__a, (vector int)__b);
7281 vector unsigned char __b) {
7283 (vector int)__b);
7287 vector unsigned short __b) {
7289 (vector int)__b);
7293 vector unsigned int __b) {
7295 (vector int)__b);
7299 vector unsigned char __b) {
7301 (vector int)__b
7305 vector unsigned short __b) {
7307 (vector int)__b);
7311 vector unsigned int __b) {
7313 (vector int)__b);
7317 vector unsigned char __b) {
7318 return (vector pixel)__builtin_altivec_vsl((vector int)__a, (vector int)__b);
7322 vector unsigned short __b) {
7323 return (vector pixel)__builtin_altivec_vsl((vector int)__a, (vector int)__b);
7327 vector unsigned int __b) {
7328 return (vector pixel)__builtin_altivec_vsl((vector int)__a, (vector int)__b);
7332 vector unsigned char __b) {
7333 return (vector int)__builtin_altivec_vsl(__a, (vector int)__b);
7337 vector unsigned short __b) {
7338 return (vector int)__builtin_altivec_vsl(__a, (vector int)__b);
7342 vector unsigned int __b) {
7343 return (vector int)__builtin_altivec_vsl(__a, (vector int)__b);
7347 vector unsigned char __b) {
7349 (vector int)__b);
7353 vector unsigned short __b) {
7355 (vector int)__b);
7359 vector unsigned int __b) {
7361 (vector int)__b);
7365 vector unsigned char __b) {
7367 (vector int)__b);
7371 vector unsigned short __b) {
7373 (vector int)__b);
7377 vector unsigned int __b) {
7379 (vector int)__b);
7385 vector signed char __b) {
7387 (vector int)__b);
7391 vector unsigned char __b) {
7393 (vector int)__b);
7397 vector signed char __b) {
7399 (vector int)__b);
7403 vector unsigned char __b) {
7405 (vector int)__b);
7409 vector signed char __b) {
7410 return (vector short)__builtin_altivec_vslo((vector int)__a, (vector int)__b);
7414 vector unsigned char __b) {
7415 return (vector short)__builtin_altivec_vslo((vector int)__a, (vector int)__b);
7419 vector signed char __b) {
7421 (vector int)__b);
7425 vector unsigned char __b) {
7427 (vector int)__b);
7431 vector signed char __b) {
7432 return (vector pixel)__builtin_altivec_vslo((vector int)__a, (vector int)__b);
7436 vector unsigned char __b) {
7437 return (vector pixel)__builtin_altivec_vslo((vector int)__a, (vector int)__b);
7440 static vector int __ATTRS_o_ai vec_slo(vector int __a, vector signed char __b) {
7441 return (vector int)__builtin_altivec_vslo(__a, (vector int)__b);
7445 vector unsigned char __b) {
7446 return (vector int)__builtin_altivec_vslo(__a, (vector int)__b);
7450 vector signed char __b) {
7452 (vector int)__b);
7456 vector unsigned char __b) {
7458 (vector int)__b);
7462 vector signed char __b) {
7463 return (vector float)__builtin_altivec_vslo((vector int)__a, (vector int)__b);
7467 vector unsigned char __b) {
7468 return (vector float)__builtin_altivec_vslo((vector int)__a, (vector int)__b);
7474 vector signed char __b) {
7476 (vector int)__b);
7480 vector unsigned char __b) {
7482 (vector int)__b);
7486 vector signed char __b) {
7488 (vector int)__b);
7492 vector unsigned char __b) {
7494 (vector int)__b);
7498 vector signed char __b) {
7499 return (vector short)__builtin_altivec_vslo((vector int)__a, (vector int)__b);
7503 vector unsigned char __b) {
7504 return (vector short)__builtin_altivec_vslo((vector int)__a, (vector int)__b);
7508 vector signed char __b) {
7510 (vector int)__b);
7514 vector unsigned char __b) {
7516 (vector int)__b);
7520 vector signed char __b) {
7521 return (vector pixel)__builtin_altivec_vslo((vector int)__a, (vector int)__b);
7525 vector unsigned char __b) {
7526 return (vector pixel)__builtin_altivec_vslo((vector int)__a, (vector int)__b);
7530 vector signed char __b) {
7531 return (vector int)__builtin_altivec_vslo(__a, (vector int)__b);
7535 vector unsigned char __b) {
7536 return (vector int)__builtin_altivec_vslo(__a, (vector int)__b);
7540 vector signed char __b) {
7542 (vector int)__b);
7546 vector unsigned char __b) {
7548 (vector int)__b);
7552 vector signed char __b) {
7553 return (vector float)__builtin_altivec_vslo((vector int)__a, (vector int)__b);
7557 vector unsigned char __b) {
7558 return (vector float)__builtin_altivec_vslo((vector int)__a, (vector int)__b);
7564 unsigned const int __b) {
7565 return vec_perm(__a, __a, (vector unsigned char)(__b & 0x0F));
7569 unsigned const int __b) {
7570 return vec_perm(__a, __a, (vector unsigned char)(__b & 0x0F));
7574 unsigned const int __b) {
7575 return vec_perm(__a, __a, (vector unsigned char)(__b & 0x0F));
7579 unsigned const int __b) {
7580 unsigned char b0 = (__b & 0x07) * 2;
7588 unsigned const int __b) {
7589 unsigned char b0 = (__b & 0x07) * 2;
7597 unsigned const int __b) {
7598 unsigned char b0 = (__b & 0x07) * 2;
7606 unsigned const int __b) {
7607 unsigned char b0 = (__b & 0x07) * 2;
7615 unsigned const int __b) {
7616 unsigned char b0 = (__b & 0x03) * 4;
7624 unsigned const int __b) {
7625 unsigned char b0 = (__b & 0x03) * 4;
7633 unsigned const int __b) {
7634 unsigned char b0 = (__b & 0x03) * 4;
7642 unsigned const int __b) {
7643 unsigned char b0 = (__b & 0x03) * 4;
7652 unsigned const int __b) {
7653 unsigned char b0 = (__b & 0x01) * 8;
7661 unsigned const int __b) {
7662 unsigned char b0 = (__b & 0x01) * 8;
7670 vec_splat(vector signed long long __a, unsigned const int __b) {
7671 unsigned char b0 = (__b & 0x01) * 8;
7679 vec_splat(vector unsigned long long __a, unsigned const int __b) {
7680 unsigned char b0 = (__b & 0x01) * 8;
7694 unsigned char __b) {
7695 return vec_perm(__a, __a, (vector unsigned char)(__b));
7699 unsigned char __b) {
7700 return vec_perm(__a, __a, (vector unsigned char)(__b));
7704 unsigned char __b) {
7705 return vec_perm(__a, __a, (vector unsigned char)(__b));
7713 unsigned char __b) {
7714 __b *= 2;
7715 unsigned char b1 = __b + 1;
7717 (vector unsigned char)(__b, b1, __b, b1, __b, b1, __b, b1,
7718 __b, b1, __b, b1, __b, b1, __b, b1));
7722 unsigned char __b) {
7723 __b *= 2;
7724 unsigned char b1 = __b + 1;
7726 (vector unsigned char)(__b, b1, __b, b1, __b, b1, __b, b1,
7727 __b, b1, __b, b1, __b, b1, __b, b1));
7731 unsigned char __b) {
7732 __b *= 2;
7733 unsigned char b1 = __b + 1;
7735 (vector unsigned char)(__b, b1, __b, b1, __b, b1, __b, b1,
7736 __b, b1, __b, b1, __b, b1, __b, b1));
7740 unsigned char __b) {
7741 __b *= 2;
7742 unsigned char b1 = __b + 1;
7744 (vector unsigned char)(__b, b1, __b, b1, __b, b1, __b, b1,
7745 __b, b1, __b, b1, __b, b1, __b, b1));
7752 static vector int __ATTRS_o_ai vec_vspltw(vector int __a, unsigned char __b) {
7753 __b *= 4;
7754 unsigned char b1 = __b + 1, b2 = __b + 2, b3 = __b + 3;
7756 (vector unsigned char)(__b, b1, b2, b3, __b, b1, b2, b3, __b,
7757 b1, b2, b3, __b, b1, b2, b3));
7761 unsigned char __b) {
7762 __b *= 4;
7763 unsigned char b1 = __b + 1, b2 = __b + 2, b3 = __b + 3;
7765 (vector unsigned char)(__b, b1, b2, b3, __b, b1, b2, b3, __b,
7766 b1, b2, b3, __b, b1, b2, b3));
7770 unsigned char __b) {
7771 __b *= 4;
7772 unsigned char b1 = __b + 1, b2 = __b + 2, b3 = __b + 3;
7774 (vector unsigned char)(__b, b1, b2, b3, __b, b1, b2, b3, __b,
7775 b1, b2, b3, __b, b1, b2, b3));
7779 unsigned char __b) {
7780 __b *= 4;
7781 unsigned char b1 = __b + 1, b2 = __b + 2, b3 = __b + 3;
7783 (vector unsigned char)(__b, b1, b2, b3, __b, b1, b2, b3, __b,
7784 b1, b2, b3, __b, b1, b2, b3));
7859 vector unsigned char __b) {
7860 vector unsigned char __res = (vector unsigned char)__a >> __b;
7865 vector unsigned char __b) {
7866 return __a >> __b;
7870 vector unsigned short __b) {
7871 vector unsigned short __res = (vector unsigned short)__a >> __b;
7876 vector unsigned short __b) {
7877 return __a >> __b;
7881 vector unsigned int __b) {
7882 vector unsigned int __res = (vector unsigned int)__a >> __b;
7887 vector unsigned int __b) {
7888 return __a >> __b;
7893 vec_sr(vector signed long long __a, vector unsigned long long __b) {
7894 vector unsigned long long __res = (vector unsigned long long)__a >> __b;
7899 vec_sr(vector unsigned long long __a, vector unsigned long long __b) {
7900 return __a >> __b;
7909 vector unsigned char __b) {
7910 return __a >> (vector signed char)__b;
7914 vector unsigned char __b) {
7915 return __a >> __b;
7923 vector unsigned short __b) {
7924 return __a >> (vector short)__b;
7928 vector unsigned short __b) {
7929 return __a >> __b;
7937 vector unsigned int __b) {
7938 return __a >> (vector int)__b;
7942 vector unsigned int __b) {
7943 return __a >> __b;
7949 vector unsigned char __b) {
7950 return (vector signed char)__builtin_altivec_vsrab((vector char)__a, __b);
7954 vector unsigned char __b) {
7955 return (vector unsigned char)__builtin_altivec_vsrab((vector char)__a, __b);
7959 vector unsigned short __b) {
7960 return __builtin_altivec_vsrah(__a, (vector unsigned short)__b);
7964 vector unsigned short __b) {
7965 return (vector unsigned short)__builtin_altivec_vsrah((vector short)__a, __b);
7969 vector unsigned int __b) {
7970 return __builtin_altivec_vsraw(__a, __b);
7974 vector unsigned int __b) {
7975 return (vector unsigned int)__builtin_altivec_vsraw((vector int)__a, __b);
7980 vec_sra(vector signed long long __a, vector unsigned long long __b) {
7981 return __a >> __b;
7985 vec_sra(vector unsigned long long __a, vector unsigned long long __b) {
7986 return (vector unsigned long long)((vector signed long long)__a >> __b);
7993 vector unsigned char __b) {
7994 return (vector signed char)__builtin_altivec_vsrab((vector char)__a, __b);
7998 vector unsigned char __b) {
7999 return (vector unsigned char)__builtin_altivec_vsrab((vector char)__a, __b);
8005 vector unsigned short __b) {
8006 return __builtin_altivec_vsrah(__a, (vector unsigned short)__b);
8010 vector unsigned short __b) {
8011 return (vector unsigned short)__builtin_altivec_vsrah((vector short)__a, __b);
8017 vector unsigned int __b) {
8018 return __builtin_altivec_vsraw(__a, __b);
8022 vector unsigned int __b) {
8023 return (vector unsigned int)__builtin_altivec_vsraw((vector int)__a, __b);
8029 vector unsigned char __b) {
8031 (vector int)__b);
8035 vector unsigned short __b) {
8037 (vector int)__b);
8041 vector unsigned int __b) {
8043 (vector int)__b);
8047 vector unsigned char __b) {
8049 (vector int)__b);
8053 vector unsigned short __b) {
8055 (vector int)__b);
8059 vector unsigned int __b) {
8061 (vector int)__b);
8065 vector unsigned char __b) {
8067 (vector int)__b);
8071 vector unsigned short __b) {
8073 (vector int)__b);
8077 vector unsigned int __b) {
8079 (vector int)__b);
8083 vector unsigned char __b) {
8084 return (vector short)__builtin_altivec_vsr((vector int)__a, (vector int)__b);
8088 vector unsigned short __b) {
8089 return (vector short)__builtin_altivec_vsr((vector int)__a, (vector int)__b);
8093 vector unsigned int __b) {
8094 return (vector short)__builtin_altivec_vsr((vector int)__a, (vector int)__b);
8098 vector unsigned char __b) {
8100 (vector int)__b);
8104 vector unsigned short __b) {
8106 (vector int)__b);
8110 __b) {
8112 (vector int)__b);
8116 vector unsigned char __b) {
8118 (vector int)__b);
8122 vector unsigned short __b) {
8124 (vector int)__b);
8128 vector unsigned int __b) {
8130 (vector int)__b);
8134 vector unsigned char __b) {
8135 return (vector pixel)__builtin_altivec_vsr((vector int)__a, (vector int)__b);
8139 vector unsigned short __b) {
8140 return (vector pixel)__builtin_altivec_vsr((vector int)__a, (vector int)__b);
8144 vector unsigned int __b) {
8145 return (vector pixel)__builtin_altivec_vsr((vector int)__a, (vector int)__b);
8149 vector unsigned char __b) {
8150 return (vector int)__builtin_altivec_vsr(__a, (vector int)__b);
8154 vector unsigned short __b) {
8155 return (vector int)__builtin_altivec_vsr(__a, (vector int)__b);
8159 vector unsigned int __b) {
8160 return (vector int)__builtin_altivec_vsr(__a, (vector int)__b);
8164 vector unsigned char __b) {
8166 (vector int)__b);
8170 vector unsigned short __b) {
8172 (vector int)__b);
8176 vector unsigned int __b) {
8178 (vector int)__b);
8182 vector unsigned char __b) {
8184 (vector int)__b);
8188 vector unsigned short __b) {
8190 (vector int)__b);
8194 vector unsigned int __b) {
8196 (vector int)__b);
8202 vector unsigned char __b) {
8204 (vector int)__b);
8208 vector unsigned short __b) {
8210 (vector int)__b);
8214 vector unsigned int __b) {
8216 (vector int)__b);
8220 vector unsigned char __b) {
8222 (vector int)__b);
8226 vector unsigned short __b) {
8228 (vector int)__b);
8232 vector unsigned int __b) {
8234 (vector int)__b);
8238 vector unsigned char __b) {
8240 (vector int)__b);
8244 vector unsigned short __b) {
8246 (vector int)__b);
8250 vector unsigned int __b) {
8252 (vector int)__b);
8256 vector unsigned char __b) {
8257 return (vector short)__builtin_altivec_vsr((vector int)__a, (vector int)__b);
8261 vector unsigned short __b) {
8262 return (vector short)__builtin_altivec_vsr((vector int)__a, (vector int)__b);
8266 vector unsigned int __b) {
8267 return (vector short)__builtin_altivec_vsr((vector int)__a, (vector int)__b);
8271 vector unsigned char __b) {
8273 (vector int)__b);
8277 vector unsigned short __b) {
8279 (vector int)__b);
8283 vector unsigned int __b) {
8285 (vector int)__b);
8289 vector unsigned char __b) {
8291 (vector int)__b);
8295 vector unsigned short __b) {
8297 (vector int)__b);
8301 vector unsigned int __b) {
8303 (vector int)__b);
8307 vector unsigned char __b) {
8308 return (vector pixel)__builtin_altivec_vsr((vector int)__a, (vector int)__b);
8312 vector unsigned short __b) {
8313 return (vector pixel)__builtin_altivec_vsr((vector int)__a, (vector int)__b);
8317 vector unsigned int __b) {
8318 return (vector pixel)__builtin_altivec_vsr((vector int)__a, (vector int)__b);
8322 vector unsigned char __b) {
8323 return (vector int)__builtin_altivec_vsr(__a, (vector int)__b);
8327 vector unsigned short __b) {
8328 return (vector int)__builtin_altivec_vsr(__a, (vector int)__b);
8332 vector unsigned int __b) {
8333 return (vector int)__builtin_altivec_vsr(__a, (vector int)__b);
8337 vector unsigned char __b) {
8339 (vector int)__b);
8343 vector unsigned short __b) {
8345 (vector int)__b);
8349 vector unsigned int __b) {
8351 (vector int)__b);
8355 vector unsigned char __b) {
8357 (vector int)__b);
8361 vector unsigned short __b) {
8363 (vector int)__b);
8367 vector unsigned int __b) {
8369 (vector int)__b);
8375 vector signed char __b) {
8377 (vector int)__b);
8381 vector unsigned char __b) {
8383 (vector int)__b);
8387 vector signed char __b) {
8389 (vector int)__b);
8393 vector unsigned char __b) {
8395 (vector int)__b);
8399 vector signed char __b) {
8400 return (vector short)__builtin_altivec_vsro((vector int)__a, (vector int)__b);
8404 vector unsigned char __b) {
8405 return (vector short)__builtin_altivec_vsro((vector int)__a, (vector int)__b);
8409 vector signed char __b) {
8411 (vector int)__b);
8415 vector unsigned char __b) {
8417 (vector int)__b);
8421 vector signed char __b) {
8422 return (vector pixel)__builtin_altivec_vsro((vector int)__a, (vector int)__b);
8426 vector unsigned char __b) {
8427 return (vector pixel)__builtin_altivec_vsro((vector int)__a, (vector int)__b);
8430 static vector int __ATTRS_o_ai vec_sro(vector int __a, vector signed char __b) {
8431 return (vector int)__builtin_altivec_vsro(__a, (vector int)__b);
8435 vector unsigned char __b) {
8436 return (vector int)__builtin_altivec_vsro(__a, (vector int)__b);
8440 vector signed char __b) {
8442 (vector int)__b);
8446 vector unsigned char __b) {
8448 (vector int)__b);
8452 vector signed char __b) {
8453 return (vector float)__builtin_altivec_vsro((vector int)__a, (vector int)__b);
8457 vector unsigned char __b) {
8458 return (vector float)__builtin_altivec_vsro((vector int)__a, (vector int)__b);
8464 vector signed char __b) {
8466 (vector int)__b);
8470 vector unsigned char __b) {
8472 (vector int)__b);
8476 vector signed char __b) {
8478 (vector int)__b);
8482 vector unsigned char __b) {
8484 (vector int)__b);
8488 vector signed char __b) {
8489 return (vector short)__builtin_altivec_vsro((vector int)__a, (vector int)__b);
8493 vector unsigned char __b) {
8494 return (vector short)__builtin_altivec_vsro((vector int)__a, (vector int)__b);
8498 vector signed char __b) {
8500 (vector int)__b);
8504 vector unsigned char __b) {
8506 (vector int)__b);
8510 vector signed char __b) {
8511 return (vector pixel)__builtin_altivec_vsro((vector int)__a, (vector int)__b);
8515 vector unsigned char __b) {
8516 return (vector pixel)__builtin_altivec_vsro((vector int)__a, (vector int)__b);
8520 vector signed char __b) {
8521 return (vector int)__builtin_altivec_vsro(__a, (vector int)__b);
8525 vector unsigned char __b) {
8526 return (vector int)__builtin_altivec_vsro(__a, (vector int)__b);
8530 vector signed char __b) {
8532 (vector int)__b);
8536 vector unsigned char __b) {
8538 (vector int)__b);
8542 vector signed char __b) {
8543 return (vector float)__builtin_altivec_vsro((vector int)__a, (vector int)__b);
8547 vector unsigned char __b) {
8548 return (vector float)__builtin_altivec_vsro((vector int)__a, (vector int)__b);
8553 static void __ATTRS_o_ai vec_st(vector signed char __a, int __b,
8555 __builtin_altivec_stvx((vector int)__a, __b, __c);
8558 static void __ATTRS_o_ai vec_st(vector signed char __a, int __b,
8560 __builtin_altivec_stvx((vector int)__a, __b, __c);
8563 static void __ATTRS_o_ai vec_st(vector unsigned char __a, int __b,
8565 __builtin_altivec_stvx((vector int)__a, __b, __c);
8568 static void __ATTRS_o_ai vec_st(vector unsigned char __a, int __b,
8570 __builtin_altivec_stvx((vector int)__a, __b, __c);
8573 static void __ATTRS_o_ai vec_st(vector bool char __a, int __b,
8575 __builtin_altivec_stvx((vector int)__a, __b, __c);
8578 static void __ATTRS_o_ai vec_st(vector bool char __a, int __b,
8580 __builtin_altivec_stvx((vector int)__a, __b, __c);
8583 static void __ATTRS_o_ai vec_st(vector bool char __a, int __b,
8585 __builtin_altivec_stvx((vector int)__a, __b, __c);
8588 static void __ATTRS_o_ai vec_st(vector short __a, int __b, vector short *__c) {
8589 __builtin_altivec_stvx((vector int)__a, __b, __c);
8592 static void __ATTRS_o_ai vec_st(vector short __a, int __b, short *__c) {
8593 __builtin_altivec_stvx((vector int)__a, __b, __c);
8596 static void __ATTRS_o_ai vec_st(vector unsigned short __a, int __b,
8598 __builtin_altivec_stvx((vector int)__a, __b, __c);
8601 static void __ATTRS_o_ai vec_st(vector unsigned short __a, int __b,
8603 __builtin_altivec_stvx((vector int)__a, __b, __c);
8606 static void __ATTRS_o_ai vec_st(vector bool short __a, int __b, short *__c) {
8607 __builtin_altivec_stvx((vector int)__a, __b, __c);
8610 static void __ATTRS_o_ai vec_st(vector bool short __a, int __b,
8612 __builtin_altivec_stvx((vector int)__a, __b, __c);
8615 static void __ATTRS_o_ai vec_st(vector bool short __a, int __b,
8617 __builtin_altivec_stvx((vector int)__a, __b, __c);
8620 static void __ATTRS_o_ai vec_st(vector pixel __a, int __b, short *__c) {
8621 __builtin_altivec_stvx((vector int)__a, __b, __c);
8624 static void __ATTRS_o_ai vec_st(vector pixel __a, int __b,
8626 __builtin_altivec_stvx((vector int)__a, __b, __c);
8629 static void __ATTRS_o_ai vec_st(vector pixel __a, int __b, vector pixel *__c) {
8630 __builtin_altivec_stvx((vector int)__a, __b, __c);
8633 static void __ATTRS_o_ai vec_st(vector int __a, int __b, vector int *__c) {
8634 __builtin_altivec_stvx(__a, __b, __c);
8637 static void __ATTRS_o_ai vec_st(vector int __a, int __b, int *__c) {
8638 __builtin_altivec_stvx(__a, __b, __c);
8641 static void __ATTRS_o_ai vec_st(vector unsigned int __a, int __b,
8643 __builtin_altivec_stvx((vector int)__a, __b, __c);
8646 static void __ATTRS_o_ai vec_st(vector unsigned int __a, int __b,
8648 __builtin_altivec_stvx((vector int)__a, __b, __c);
8651 static void __ATTRS_o_ai vec_st(vector bool int __a, int __b, int *__c) {
8652 __builtin_altivec_stvx((vector int)__a, __b, __c);
8655 static void __ATTRS_o_ai vec_st(vector bool int __a, int __b,
8657 __builtin_altivec_stvx((vector int)__a, __b, __c);
8660 static void __ATTRS_o_ai vec_st(vector bool int __a, int __b,
8662 __builtin_altivec_stvx((vector int)__a, __b, __c);
8665 static void __ATTRS_o_ai vec_st(vector float __a, int __b, vector float *__c) {
8666 __builtin_altivec_stvx((vector int)__a, __b, __c);
8669 static void __ATTRS_o_ai vec_st(vector float __a, int __b, float *__c) {
8670 __builtin_altivec_stvx((vector int)__a, __b, __c);
8675 static void __ATTRS_o_ai vec_stvx(vector signed char __a, int __b,
8677 __builtin_altivec_stvx((vector int)__a, __b, __c);
8680 static void __ATTRS_o_ai vec_stvx(vector signed char __a, int __b,
8682 __builtin_altivec_stvx((vector int)__a, __b, __c);
8685 static void __ATTRS_o_ai vec_stvx(vector unsigned char __a, int __b,
8687 __builtin_altivec_stvx((vector int)__a, __b, __c);
8690 static void __ATTRS_o_ai vec_stvx(vector unsigned char __a, int __b,
8692 __builtin_altivec_stvx((vector int)__a, __b, __c);
8695 static void __ATTRS_o_ai vec_stvx(vector bool char __a, int __b,
8697 __builtin_altivec_stvx((vector int)__a, __b, __c);
8700 static void __ATTRS_o_ai vec_stvx(vector bool char __a, int __b,
8702 __builtin_altivec_stvx((vector int)__a, __b, __c);
8705 static void __ATTRS_o_ai vec_stvx(vector bool char __a, int __b,
8707 __builtin_altivec_stvx((vector int)__a, __b, __c);
8710 static void __ATTRS_o_ai vec_stvx(vector short __a, int __b,
8712 __builtin_altivec_stvx((vector int)__a, __b, __c);
8715 static void __ATTRS_o_ai vec_stvx(vector short __a, int __b, short *__c) {
8716 __builtin_altivec_stvx((vector int)__a, __b, __c);
8719 static void __ATTRS_o_ai vec_stvx(vector unsigned short __a, int __b,
8721 __builtin_altivec_stvx((vector int)__a, __b, __c);
8724 static void __ATTRS_o_ai vec_stvx(vector unsigned short __a, int __b,
8726 __builtin_altivec_stvx((vector int)__a, __b, __c);
8729 static void __ATTRS_o_ai vec_stvx(vector bool short __a, int __b, short *__c) {
8730 __builtin_altivec_stvx((vector int)__a, __b, __c);
8733 static void __ATTRS_o_ai vec_stvx(vector bool short __a, int __b,
8735 __builtin_altivec_stvx((vector int)__a, __b, __c);
8738 static void __ATTRS_o_ai vec_stvx(vector bool short __a, int __b,
8740 __builtin_altivec_stvx((vector int)__a, __b, __c);
8743 static void __ATTRS_o_ai vec_stvx(vector pixel __a, int __b, short *__c) {
8744 __builtin_altivec_stvx((vector int)__a, __b, __c);
8747 static void __ATTRS_o_ai vec_stvx(vector pixel __a, int __b,
8749 __builtin_altivec_stvx((vector int)__a, __b, __c);
8752 static void __ATTRS_o_ai vec_stvx(vector pixel __a, int __b,
8754 __builtin_altivec_stvx((vector int)__a, __b, __c);
8757 static void __ATTRS_o_ai vec_stvx(vector int __a, int __b, vector int *__c) {
8758 __builtin_altivec_stvx(__a, __b, __c);
8761 static void __ATTRS_o_ai vec_stvx(vector int __a, int __b, int *__c) {
8762 __builtin_altivec_stvx(__a, __b, __c);
8765 static void __ATTRS_o_ai vec_stvx(vector unsigned int __a, int __b,
8767 __builtin_altivec_stvx((vector int)__a, __b, __c);
8770 static void __ATTRS_o_ai vec_stvx(vector unsigned int __a, int __b,
8772 __builtin_altivec_stvx((vector int)__a, __b, __c);
8775 static void __ATTRS_o_ai vec_stvx(vector bool int __a, int __b, int *__c) {
8776 __builtin_altivec_stvx((vector int)__a, __b, __c);
8779 static void __ATTRS_o_ai vec_stvx(vector bool int __a, int __b,
8781 __builtin_altivec_stvx((vector int)__a, __b, __c);
8784 static void __ATTRS_o_ai vec_stvx(vector bool int __a, int __b,
8786 __builtin_altivec_stvx((vector int)__a, __b, __c);
8789 static void __ATTRS_o_ai vec_stvx(vector float __a, int __b,
8791 __builtin_altivec_stvx((vector int)__a, __b, __c);
8794 static void __ATTRS_o_ai vec_stvx(vector float __a, int __b, float *__c) {
8795 __builtin_altivec_stvx((vector int)__a, __b, __c);
8800 static void __ATTRS_o_ai vec_ste(vector signed char __a, int __b,
8802 __builtin_altivec_stvebx((vector char)__a, __b, __c);
8805 static void __ATTRS_o_ai vec_ste(vector unsigned char __a, int __b,
8807 __builtin_altivec_stvebx((vector char)__a, __b, __c);
8810 static void __ATTRS_o_ai vec_ste(vector bool char __a, int __b,
8812 __builtin_altivec_stvebx((vector char)__a, __b, __c);
8815 static void __ATTRS_o_ai vec_ste(vector bool char __a, int __b,
8817 __builtin_altivec_stvebx((vector char)__a, __b, __c);
8820 static void __ATTRS_o_ai vec_ste(vector short __a, int __b, short *__c) {
8821 __builtin_altivec_stvehx(__a, __b, __c);
8824 static void __ATTRS_o_ai vec_ste(vector unsigned short __a, int __b,
8826 __builtin_altivec_stvehx((vector short)__a, __b, __c);
8829 static void __ATTRS_o_ai vec_ste(vector bool short __a, int __b, short *__c) {
8830 __builtin_altivec_stvehx((vector short)__a, __b, __c);
8833 static void __ATTRS_o_ai vec_ste(vector bool short __a, int __b,
8835 __builtin_altivec_stvehx((vector short)__a, __b, __c);
8838 static void __ATTRS_o_ai vec_ste(vector pixel __a, int __b, short *__c) {
8839 __builtin_altivec_stvehx((vector short)__a, __b, __c);
8842 static void __ATTRS_o_ai vec_ste(vector pixel __a, int __b,
8844 __builtin_altivec_stvehx((vector short)__a, __b, __c);
8847 static void __ATTRS_o_ai vec_ste(vector int __a, int __b, int *__c) {
8848 __builtin_altivec_stvewx(__a, __b, __c);
8851 static void __ATTRS_o_ai vec_ste(vector unsigned int __a, int __b,
8853 __builtin_altivec_stvewx((vector int)__a, __b, __c);
8856 static void __ATTRS_o_ai vec_ste(vector bool int __a, int __b, int *__c) {
8857 __builtin_altivec_stvewx((vector int)__a, __b, __c);
8860 static void __ATTRS_o_ai vec_ste(vector bool int __a, int __b,
8862 __builtin_altivec_stvewx((vector int)__a, __b, __c);
8865 static void __ATTRS_o_ai vec_ste(vector float __a, int __b, float *__c) {
8866 __builtin_altivec_stvewx((vector int)__a, __b, __c);
8871 static void __ATTRS_o_ai vec_stvebx(vector signed char __a, int __b,
8873 __builtin_altivec_stvebx((vector char)__a, __b, __c);
8876 static void __ATTRS_o_ai vec_stvebx(vector unsigned char __a, int __b,
8878 __builtin_altivec_stvebx((vector char)__a, __b, __c);
8881 static void __ATTRS_o_ai vec_stvebx(vector bool char __a, int __b,
8883 __builtin_altivec_stvebx((vector char)__a, __b, __c);
8886 static void __ATTRS_o_ai vec_stvebx(vector bool char __a, int __b,
8888 __builtin_altivec_stvebx((vector char)__a, __b, __c);
8893 static void __ATTRS_o_ai vec_stvehx(vector short __a, int __b, short *__c) {
8894 __builtin_altivec_stvehx(__a, __b, __c);
8897 static void __ATTRS_o_ai vec_stvehx(vector unsigned short __a, int __b,
8899 __builtin_altivec_stvehx((vector short)__a, __b, __c);
8902 static void __ATTRS_o_ai vec_stvehx(vector bool short __a, int __b,
8904 __builtin_altivec_stvehx((vector short)__a, __b, __c);
8907 static void __ATTRS_o_ai vec_stvehx(vector bool short __a, int __b,
8909 __builtin_altivec_stvehx((vector short)__a, __b, __c);
8912 static void __ATTRS_o_ai vec_stvehx(vector pixel __a, int __b, short *__c) {
8913 __builtin_altivec_stvehx((vector short)__a, __b, __c);
8916 static void __ATTRS_o_ai vec_stvehx(vector pixel __a, int __b,
8918 __builtin_altivec_stvehx((vector short)__a, __b, __c);
8923 static void __ATTRS_o_ai vec_stvewx(vector int __a, int __b, int *__c) {
8924 __builtin_altivec_stvewx(__a, __b, __c);
8927 static void __ATTRS_o_ai vec_stvewx(vector unsigned int __a, int __b,
8929 __builtin_altivec_stvewx((vector int)__a, __b
8932 static void __ATTRS_o_ai vec_stvewx(vector bool int __a, int __b, int *__c) {
8933 __builtin_altivec_stvewx((vector int)__a, __b, __c);
8936 static void __ATTRS_o_ai vec_stvewx(vector bool int __a, int __b,
8938 __builtin_altivec_stvewx((vector int)__a, __b, __c);
8941 static void __ATTRS_o_ai vec_stvewx(vector float __a, int __b, float *__c) {
8942 __builtin_altivec_stvewx((vector int)__a, __b, __c);
8947 static void __ATTRS_o_ai vec_stl(vector signed char __a, int __b,
8949 __builtin_altivec_stvxl((vector int)__a, __b, __c);
8952 static void __ATTRS_o_ai vec_stl(vector signed char __a, int __b,
8954 __builtin_altivec_stvxl((vector int)__a, __b, __c);
8957 static void __ATTRS_o_ai vec_stl(vector unsigned char __a, int __b,
8959 __builtin_altivec_stvxl((vector int)__a, __b, __c);
8962 static void __ATTRS_o_ai vec_stl(vector unsigned char __a, int __b,
8964 __builtin_altivec_stvxl((vector int)__a, __b, __c);
8967 static void __ATTRS_o_ai vec_stl(vector bool char __a, int __b,
8969 __builtin_altivec_stvxl((vector int)__a, __b, __c);
8972 static void __ATTRS_o_ai vec_stl(vector bool char __a, int __b,
8974 __builtin_altivec_stvxl((vector int)__a, __b, __c);
8977 static void __ATTRS_o_ai vec_stl(vector bool char __a, int __b,
8979 __builtin_altivec_stvxl((vector int)__a, __b, __c);
8982 static void __ATTRS_o_ai vec_stl(vector short __a, int __b, vector short *__c) {
8983 __builtin_altivec_stvxl((vector int)__a, __b, __c);
8986 static void __ATTRS_o_ai vec_stl(vector short __a, int __b, short *__c) {
8987 __builtin_altivec_stvxl((vector int)__a, __b, __c);
8990 static void __ATTRS_o_ai vec_stl(vector unsigned short __a, int __b,
8992 __builtin_altivec_stvxl((vector int)__a, __b, __c);
8995 static void __ATTRS_o_ai vec_stl(vector unsigned short __a, int __b,
8997 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9000 static void __ATTRS_o_ai vec_stl(vector bool short __a, int __b, short *__c) {
9001 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9004 static void __ATTRS_o_ai vec_stl(vector bool short __a, int __b,
9006 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9009 static void __ATTRS_o_ai vec_stl(vector bool short __a, int __b,
9011 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9014 static void __ATTRS_o_ai vec_stl(vector pixel __a, int __b, short *__c) {
9015 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9018 static void __ATTRS_o_ai vec_stl(vector pixel __a, int __b,
9020 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9023 static void __ATTRS_o_ai vec_stl(vector pixel __a, int __b, vector pixel *__c) {
9024 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9027 static void __ATTRS_o_ai vec_stl(vector int __a, int __b, vector int *__c) {
9028 __builtin_altivec_stvxl(__a, __b, __c);
9031 static void __ATTRS_o_ai vec_stl(vector int __a, int __b, int *__c) {
9032 __builtin_altivec_stvxl(__a, __b, __c);
9035 static void __ATTRS_o_ai vec_stl(vector unsigned int __a, int __b,
9037 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9040 static void __ATTRS_o_ai vec_stl(vector unsigned int __a, int __b,
9042 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9045 static void __ATTRS_o_ai vec_stl(vector bool int __a, int __b, int *__c) {
9046 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9049 static void __ATTRS_o_ai vec_stl(vector bool int __a, int __b,
9051 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9054 static void __ATTRS_o_ai vec_stl(vector bool int __a, int __b,
9056 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9059 static void __ATTRS_o_ai vec_stl(vector float __a, int __b, vector float *__c) {
9060 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9063 static void __ATTRS_o_ai vec_stl(vector float __a, int __b, float *__c) {
9064 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9069 static void __ATTRS_o_ai vec_stvxl(vector signed char __a, int __b,
9071 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9074 static void __ATTRS_o_ai vec_stvxl(vector signed char __a, int __b,
9076 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9079 static void __ATTRS_o_ai vec_stvxl(vector unsigned char __a, int __b,
9081 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9084 static void __ATTRS_o_ai vec_stvxl(vector unsigned char __a, int __b,
9086 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9089 static void __ATTRS_o_ai vec_stvxl(vector bool char __a, int __b,
9091 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9094 static void __ATTRS_o_ai vec_stvxl(vector bool char __a, int __b,
9096 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9099 static void __ATTRS_o_ai vec_stvxl(vector bool char __a, int __b,
9101 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9104 static void __ATTRS_o_ai vec_stvxl(vector short __a, int __b,
9106 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9109 static void __ATTRS_o_ai vec_stvxl(vector short __a, int __b, short *__c) {
9110 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9113 static void __ATTRS_o_ai vec_stvxl(vector unsigned short __a, int __b,
9115 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9118 static void __ATTRS_o_ai vec_stvxl(vector unsigned short __a, int __b,
9120 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9123 static void __ATTRS_o_ai vec_stvxl(vector bool short __a, int __b, short *__c) {
9124 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9127 static void __ATTRS_o_ai vec_stvxl(vector bool short __a, int __b,
9129 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9132 static void __ATTRS_o_ai vec_stvxl(vector bool short __a, int __b,
9134 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9137 static void __ATTRS_o_ai vec_stvxl(vector pixel __a, int __b, short *__c) {
9138 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9141 static void __ATTRS_o_ai vec_stvxl(vector pixel __a, int __b,
9143 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9146 static void __ATTRS_o_ai vec_stvxl(vector pixel __a, int __b,
9148 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9151 static void __ATTRS_o_ai vec_stvxl(vector int __a, int __b, vector int *__c) {
9152 __builtin_altivec_stvxl(__a, __b, __c);
9155 static void __ATTRS_o_ai vec_stvxl(vector int __a, int __b, int *__c) {
9156 __builtin_altivec_stvxl(__a, __b, __c);
9159 static void __ATTRS_o_ai vec_stvxl(vector unsigned int __a, int __b,
9161 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9164 static void __ATTRS_o_ai vec_stvxl(vector unsigned int __a, int __b,
9166 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9169 static void __ATTRS_o_ai vec_stvxl(vector bool int __a, int __b, int *__c) {
9170 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9173 static void __ATTRS_o_ai vec_stvxl(vector bool int __a, int __b,
9175 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9178 static void __ATTRS_o_ai vec_stvxl(vector bool int __a, int __b,
9180 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9183 static void __ATTRS_o_ai vec_stvxl(vector float __a, int __b,
9185 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9188 static void __ATTRS_o_ai vec_stvxl(vector float __a, int __b, float *__c) {
9189 __builtin_altivec_stvxl((vector int)__a, __b, __c);
9195 vector signed char __b) {
9196 return __a - __b;
9200 vector signed char __b) {
9201 return (vector signed char)__a - __b;
9205 vector bool char __b) {
9206 return __a - (vector signed char)__b;
9210 vector unsigned char __b) {
9211 return __a - __b;
9215 vector unsigned char __b) {
9216 return (vector unsigned char)__a - __b;
9220 vector bool char __b) {
9221 return __a - (vector unsigned char)__b;
9224 static vector short __ATTRS_o_ai vec_sub(vector short __a, vector short __b) {
9225 return __a - __b;
9229 vector short __b) {
9230 return (vector short)__a - __b;
9234 vector bool short __b) {
9235 return __a - (vector short)__b;
9239 vector unsigned short __b) {
9240 return __a - __b;
9244 vector unsigned short __b) {
9245 return (vector unsigned short)__a - __b;
9249 vector bool short __b) {
9250 return __a - (vector unsigned short)__b;
9253 static vector int __ATTRS_o_ai vec_sub(vector int __a, vector int __b) {
9254 return __a - __b;
9257 static vector int __ATTRS_o_ai vec_sub(vector bool int __a, vector int __b) {
9258 return (vector int)__a - __b;
9261 static vector int __ATTRS_o_ai vec_sub(vector int __a, vector bool int __b) {
9262 return __a - (vector int)__b;
9266 vector unsigned int __b) {
9267 return __a - __b;
9271 vector unsigned int __b) {
9272 return (vector unsigned int)__a - __b;
9276 vector bool int __b) {
9277 return __a - (vector unsigned int)__b;
9282 vector signed __int128 __b) {
9283 return __a - __b;
9287 vec_sub(vector unsigned __int128 __a, vector unsigned __int128 __b) {
9288 return __a - __b;
9294 vec_sub(vector signed long long __a, vector signed long long __b) {
9295 return __a - __b;
9299 vec_sub(vector unsigned long long __a, vector unsigned long long __b) {
9300 return __a - __b;
9304 vec_sub(vector double __a, vector double __b) {
9305 return __a - __b;
9309 static vector float __ATTRS_o_ai vec_sub(vector float __a, vector float __b) {
9310 return __a - __b;
9318 vector signed char __b) {
9319 return __a - __b;
9323 vector signed char __b) {
9324 return (vector signed char)__a - __b;
9328 vector bool char __b) {
9329 return __a - (vector signed char)__b;
9333 vector unsigned char __b) {
9334 return __a - __b;
9338 vector unsigned char __b) {
9339 return (vector unsigned char)__a - __b;
9343 vector bool char __b) {
9344 return __a - (vector unsigned char)__b;
9352 vector short __b) {
9353 return __a - __b;
9357 vector short __b) {
9358 return (vector short)__a - __b;
9362 vector bool short __b) {
9363 return __a - (vector short)__b;
9367 vec_vsubuhm(vector unsigned short __a, vector unsigned short __b) {
9368 return __a - __b;
9372 vec_vsubuhm(vector bool short __a, vector unsigned short __b) {
9373 return (vector unsigned short)__a - __b;
9377 vector bool short __b) {
9378 return __a - (vector unsigned short)__b;
9385 static vector int __ATTRS_o_ai vec_vsubuwm(vector int __a, vector int __b) {
9386 return __a - __b;
9390 vector int __b) {
9391 return (vector int)__a - __b;
9395 vector bool int __b) {
9396 return __a - (vector int)__b;
9400 vector unsigned int __b) {
9401 return __a - __b;
9405 vector unsigned int __b) {
9406 return (vector unsigned int)__a - __b;
9410 vector bool int __b) {
9411 return __a - (vector unsigned int)__b;
9419 vec_vsubfp(vector float __a, vector float __b) {
9420 return __a - __b;
9426 vector unsigned int __b) {
9427 return __builtin_altivec_vsubcuw(__a, __b);
9432 vec_subc(vector unsigned __int128 __a, vector unsigned __int128 __b) {
9433 return __builtin_altivec_vsubcuq(__a, __b);
9437 vec_subc(vector signed __int128 __a, vector signed __int128 __b) {
9438 return __builtin_altivec_vsubcuq(__a, __b);
9445 vec_vsubcuw(vector unsigned int __a, vector unsigned int __b) {
9446 return __builtin_altivec_vsubcuw(__a, __b);
9452 vector signed char __b) {
9453 return __builtin_altivec_vsubsbs(__a, __b);
9457 vector signed char __b) {
9458 return __builtin_altivec_vsubsbs((vector signed char)__a, __b);
9462 vector bool char __b) {
9463 return __builtin_altivec_vsubsbs(__a, (vector signed char)__b);
9467 vector unsigned char __b) {
9468 return __builtin_altivec_vsububs(__a, __b);
9472 vector unsigned char __b) {
9473 return __builtin_altivec_vsububs((vector unsigned char)__a, __b);
9477 vector bool char __b) {
9478 return __builtin_altivec_vsububs(__a, (vector unsigned char)__b);
9481 static vector short __ATTRS_o_ai vec_subs(vector short __a, vector short __b) {
9482 return __builtin_altivec_vsubshs(__a, __b);
9486 vector short __b) {
9487 return __builtin_altivec_vsubshs((vector short)__a, __b);
9491 vector bool short __b) {
9492 return __builtin_altivec_vsubshs(__a, (vector short)__b);
9496 vector unsigned short __b) {
9497 return __builtin_altivec_vsubuhs(__a, __b);
9501 vector unsigned short __b) {
9502 return __builtin_altivec_vsubuhs((vector unsigned short)__a, __b);
9506 vector bool short __b) {
9507 return __builtin_altivec_vsubuhs(__a, (vector unsigned short)__b);
9510 static vector int __ATTRS_o_ai vec_subs(vector int __a, vector int __b) {
9511 return __builtin_altivec_vsubsws(__a, __b);
9514 static vector int __ATTRS_o_ai vec_subs(vector bool int __a, vector int __b) {
9515 return __builtin_altivec_vsubsws((vector int)__a, __b);
9518 static vector int __ATTRS_o_ai vec_subs(vector int __a, vector bool int __b) {
9519 return __builtin_altivec_vsubsws(__a, (vector int)__b);
9523 vector unsigned int __b) {
9524 return __builtin_altivec_vsubuws(__a, __b);
9528 vector unsigned int __b) {
9529 return __builtin_altivec_vsubuws((vector unsigned int)__a, __b);
9533 vector bool int __b) {
9534 return __builtin_altivec_vsubuws(__a, (vector unsigned int)__b);
9540 vector signed char __b) {
9541 return __builtin_altivec_vsubsbs(__a, __b);
9545 vector signed char __b) {
9546 return __builtin_altivec_vsubsbs((vector signed char)__a, __b);
9550 vector bool char __b) {
9551 return __builtin_altivec_vsubsbs(__a, (vector signed char)__b);
9557 vector unsigned char __b) {
9558 return __builtin_altivec_vsububs(__a, __b);
9562 vector unsigned char __b) {
9563 return __builtin_altivec_vsububs((vector unsigned char)__a, __b);
9567 vector bool char __b) {
9568 return __builtin_altivec_vsububs(__a, (vector unsigned char)__b);
9574 vector short __b) {
9575 return __builtin_altivec_vsubshs(__a, __b);
9579 vector short __b) {
9580 return __builtin_altivec_vsubshs((vector short)__a, __b);
9584 vector bool short __b) {
9585 return __builtin_altivec_vsubshs(__a, (vector short)__b);
9591 vec_vsubuhs(vector unsigned short __a, vector unsigned short __b) {
9592 return __builtin_altivec_vsubuhs(__a, __b);
9596 vec_vsubuhs(vector bool short __a, vector unsigned short __b) {
9597 return __builtin_altivec_vsubuhs((vector unsigned short)__a, __b);
9601 vector bool short __b) {
9602 return __builtin_altivec_vsubuhs(__a, (vector unsigned short)__b);
9607 static vector int __ATTRS_o_ai vec_vsubsws(vector int __a, vector int __b) {
9608 return __builtin_altivec_vsubsws(__a, __b);
9612 vector int __b) {
9613 return __builtin_altivec_vsubsws((vector int)__a, __b);
9617 vector bool int __b) {
9618 return __builtin_altivec_vsubsws(__a, (vector int)__b);
9624 vector unsigned int __b) {
9625 return __builtin_altivec_vsubuws(__a, __b);
9629 vector unsigned int __b) {
9630 return __builtin_altivec_vsubuws((vector unsigned int)__a, __b);
9634 vector bool int __b) {
9635 return __builtin_altivec_vsubuws(__a, (vector unsigned int)__b);
9642 vec_vsubuqm(vector signed __int128 __a, vector signed __int128 __b) {
9643 return __a - __b;
9647 vec_vsubuqm(vector unsigned __int128 __a, vector unsigned __int128 __b) {
9648 return __a - __b;
9654 vec_vsubeuqm(vector signed __int128 __a, vector signed __int128 __b,
9656 return __builtin_altivec_vsubeuqm(__a, __b, __c);
9660 vec_vsubeuqm(vector unsigned __int128 __a, vector unsigned __int128 __b,
9662 return __builtin_altivec_vsubeuqm(__a, __b, __c);
9668 vec_vsubcuq(vector signed __int128 __a, vector signed __int128 __b) {
9669 return __builtin_altivec_vsubcuq(__a, __b);
9673 vec_vsubcuq(vector unsigned __int128 __a, vector unsigned __int128 __b) {
9674 return __builtin_altivec_vsubcuq(__a, __b);
9680 vec_vsubecuq(vector signed __int128 __a, vector signed __int128 __b,
9682 return __builtin_altivec_vsubecuq(__a, __b, __c);
9686 vec_vsubecuq(vector unsigned __int128 __a, vector unsigned __int128 __b,
9688 return __builtin_altivec_vsubecuq(__a, __b, __c);
9695 vector int __b) {
9696 return __builtin_altivec_vsum4sbs(__a, __b);
9700 vector unsigned int __b) {
9701 return __builtin_altivec_vsum4ubs(__a, __b);
9705 vector int __b) {
9706 return __builtin_altivec_vsum4shs(__a, __b);
9712 vec_vsum4sbs(vector signed char __a, vector int __b) {
9713 return __builtin_altivec_vsum4sbs(__a, __b);
9719 vec_vsum4ubs(vector unsigned char __a, vector unsigned int __b) {
9720 return __builtin_altivec_vsum4ubs(__a, __b);
9726 vec_vsum4shs(vector signed short __a, vector int __b) {
9727 return __builtin_altivec_vsum4shs(__a, __b);
9739 vec_sum2s(vector int __a, vector int __b) {
9742 __b, __b, (vector unsigned char)(4, 5, 6, 7, 0, 1, 2, 3, 12, 13, 14, 15,
9749 return __builtin_altivec_vsum2sws(__a, __b);
9756 vec_vsum2sws(vector int __a, vector int __b) {
9759 __b, __b, (vector unsigned char)(4, 5, 6, 7, 0, 1, 2, 3, 12, 13, 14, 15,
9766 return __builtin_altivec_vsum2sws(__a, __b);
9779 vec_sums(vector signed int __a, vector signed int __b) {
9781 __b = (vector signed int)vec_splat(__b, 3);
9782 __b = __builtin_altivec_vsumsws(__a, __b);
9783 return (vector signed int)(0, 0, 0, __b[0]);
9785 return __builtin_altivec_vsumsws(__a, __b);
9792 vec_vsumsws(vector signed int __a, vector signed int __b) {
9794 __b = (vector signed int)vec_splat(__b, 3);
9795 __b = __builtin_altivec_vsumsws(__a, __b);
9796 return (vector signed int)(0, 0, 0, __b[0]);
9798 return __builtin_altivec_vsumsws(__a, __b);
10082 const vector signed int *__b) {
10083 return (vector signed int)__builtin_vsx_lxvw4x(__a, __b);
10087 vec_vsx_ld(int __a, const vector unsigned int *__b) {
10088 return (vector unsigned int)__builtin_vsx_lxvw4x(__a, __b);
10091 static vector float __ATTRS_o_ai vec_vsx_ld(int __a, const vector float *__b) {
10092 return (vector float)__builtin_vsx_lxvw4x(__a, __b);
10096 vec_vsx_ld(int __a, const vector signed long long *__b) {
10097 return (vector signed long long)__builtin_vsx_lxvd2x(__a, __b);
10101 vec_vsx_ld(int __a, const vector unsigned long long *__b) {
10102 return (vector unsigned long long)__builtin_vsx_lxvd2x(__a, __b);
10106 const vector double *__b) {
10107 return (vector double)__builtin_vsx_lxvd2x(__a, __b);
10116 static void __ATTRS_o_ai vec_vsx_st(vector signed int __a, int __b,
10118 __builtin_vsx_stxvw4x((vector int)__a, __b, __c);
10121 static void __ATTRS_o_ai vec_vsx_st(vector unsigned int __a, int __b,
10123 __builtin_vsx_stxvw4x((vector int)__a, __b, __c);
10126 static void __ATTRS_o_ai vec_vsx_st(vector float __a, int __b,
10128 __builtin_vsx_stxvw4x((vector int)__a, __b, __c);
10131 static void __ATTRS_o_ai vec_vsx_st(vector signed long long __a, int __b,
10133 __builtin_vsx_stxvd2x((vector double)__a, __b, __c);
10136 static void __ATTRS_o_ai vec_vsx_st(vector unsigned long long __a, int __b,
10138 __builtin_vsx_stxvd2x((vector double)__a, __b, __c);
10141 static void __ATTRS_o_ai vec_vsx_st(vector double __a, int __b,
10143 __builtin_vsx_stxvd2x((vector double)__a, __b, __c);
10153 vector signed char __b) {
10154 return __a ^ __b;
10158 vector signed char __b) {
10159 return (vector signed char)__a ^ __b;
10163 vector bool char __b) {
10164 return __a ^ (vector signed char)__b;
10168 vector unsigned char __b) {
10169 return __a ^ __b;
10173 vector unsigned char __b) {
10174 return (vector unsigned char)__a ^ __b;
10178 vector bool char __b) {
10179 return __a ^ (vector unsigned char)__b;
10183 vector bool char __b) {
10184 return __a ^ __b;
10187 static vector short __ATTRS_o_ai vec_xor(vector short __a, vector short __b) {
10188 return __a ^ __b;
10192 vector short __b) {
10193 return (vector short)__a ^ __b;
10197 vector bool short __b) {
10198 return __a ^ (vector short)__b;
10202 vector unsigned short __b) {
10203 return __a ^ __b;
10207 vector unsigned short __b) {
10208 return (vector unsigned short)__a ^ __b;
10212 vector bool short __b) {
10213 return __a ^ (vector unsigned short)__b;
10217 vector bool short __b) {
10218 return __a ^ __b;
10221 static vector int __ATTRS_o_ai vec_xor(vector int __a, vector int __b) {
10222 return __a ^ __b;
10225 static vector int __ATTRS_o_ai vec_xor(vector bool int __a, vector int __b) {
10226 return (vector int)__a ^ __b;
10229 static vector int __ATTRS_o_ai vec_xor(vector int __a, vector bool int __b) {
10230 return __a ^ (vector int)__b;
10234 vector unsigned int __b) {
10235 return __a ^ __b;
10239 vector unsigned int __b) {
10240 return (vector unsigned int)__a ^ __b;
10244 vector bool int __b) {
10245 return __a ^ (vector unsigned int)__b;
10249 vector bool int __b) {
10250 return __a ^ __b;
10253 static vector float __ATTRS_o_ai vec_xor(vector float __a, vector float __b) {
10255 (vector unsigned int)__a ^ (vector unsigned int)__b;
10260 vector float __b) {
10262 (vector unsigned int)__a ^ (vector unsigned int)__b;
10267 vector bool int __b) {
10269 (vector unsigned int)__a ^ (vector unsigned int)__b;
10275 vec_xor(vector signed long long __a, vector signed long long __b) {
10276 return __a ^ __b;
10280 vec_xor(vector bool long long __a, vector signed long long __b) {
10281 return (vector signed long long)__a ^ __b;
10285 vector bool long long __b) {
10286 return __a ^ (vector signed long long)__b;
10290 vec_xor(vector unsigned long long __a, vector unsigned long long __b) {
10291 return __a ^ __b;
10295 vec_xor(vector bool long long __a, vector unsigned long long __b) {
10296 return (vector unsigned long long)__a ^ __b;
10300 vec_xor(vector unsigned long long __a, vector bool long long __b) {
10301 return __a ^ (vector unsigned long long)__b;
10305 vector bool long long __b) {
10306 return __a ^ __b;
10310 vec_xor(vector double __a, vector double __b) {
10312 (vector unsigned long long)__b);
10316 vec_xor(vector double __a, vector bool long long __b) {
10318 (vector unsigned long long) __b);
10322 vec_xor(vector bool long long __a, vector double __b) {
10324 (vector unsigned long long)__b);
10331 vector signed char __b) {
10332 return __a ^ __b;
10336 vector signed char __b) {
10337 return (vector signed char)__a ^ __b;
10341 vector bool char __b) {
10342 return __a ^ (vector signed char)__b;
10346 vector unsigned char __b) {
10347 return __a ^ __b;
10351 vector unsigned char __b) {
10352 return (vector unsigned char)__a ^ __b;
10356 vector bool char __b) {
10357 return __a ^ (vector unsigned char)__b;
10361 vector bool char __b) {
10362 return __a ^ __b;
10365 static vector short __ATTRS_o_ai vec_vxor(vector short __a, vector short __b) {
10366 return __a ^ __b;
10370 vector short __b) {
10371 return (vector short)__a ^ __b;
10375 vector bool short __b) {
10376 return __a ^ (vector short)__b;
10380 vector unsigned short __b) {
10381 return __a ^ __b;
10385 vector unsigned short __b) {
10386 return (vector unsigned short)__a ^ __b;
10390 vector bool short __b) {
10391 return __a ^ (vector unsigned short)__b;
10395 vector bool short __b) {
10396 return __a ^ __b;
10399 static vector int __ATTRS_o_ai vec_vxor(vector int __a, vector int __b) {
10400 return __a ^ __b;
10403 static vector int __ATTRS_o_ai vec_vxor(vector bool int __a, vector int __b) {
10404 return (vector int)__a ^ __b;
10407 static vector int __ATTRS_o_ai vec_vxor(vector int __a, vector bool int __b) {
10408 return __a ^ (vector int)__b;
10412 vector unsigned int __b) {
10413 return __a ^ __b;
10417 vector unsigned int __b) {
10418 return (vector unsigned int)__a ^ __b;
10422 vector bool int __b) {
10423 return __a ^ (vector unsigned int)__b;
10427 vector bool int __b) {
10428 return __a ^ __b;
10431 __b) {
10433 (vector unsigned int)__a ^ (vector unsigned int)__b;
10438 vector float __b) {
10440 (vector unsigned int)__a ^ (vector unsigned int)__b;
10445 vector bool int __b) {
10447 (vector unsigned int)__a ^ (vector unsigned int)__b;
10453 vec_vxor(vector signed long long __a, vector signed long long __b) {
10454 return __a ^ __b;
10458 vec_vxor(vector bool long long __a, vector signed long long __b) {
10459 return (vector signed long long)__a ^ __b;
10463 vec_vxor(vector signed long long __a, vector bool long long __b) {
10464 return __a ^ (vector signed long long)__b;
10468 vec_vxor(vector unsigned long long __a, vector unsigned long long __b) {
10469 return __a ^ __b;
10473 vec_vxor(vector bool long long __a, vector unsigned long long __b) {
10474 return (vector unsigned long long)__a ^ __b;
10478 vec_vxor(vector unsigned long long __a, vector bool long long __b) {
10479 return __a ^ (vector unsigned long long)__b;
10483 vector bool long long __b) {
10484 return __a ^ __b;
10492 static signed char __ATTRS_o_ai vec_extract(vector signed char __a, int __b) {
10493 return __a[__b];
10497 int __b) {
10498 return __a[__b];
10502 int __b) {
10503 return __a[__b];
10506 static signed short __ATTRS_o_ai vec_extract(vector signed short __a, int __b) {
10507 return __a[__b];
10511 int __b) {
10512 return __a[__b];
10516 int __b) {
10517 return __a[__b];
10520 static signed int __ATTRS_o_ai vec_extract(vector signed int __a, int __b) {
10521 return __a[__b];
10524 static unsigned int __ATTRS_o_ai vec_extract(vector unsigned int __a, int __b) {
10525 return __a[__b];
10528 static unsigned int __ATTRS_o_ai vec_extract(vector bool int __a, int __b) {
10529 return __a[__b];
10534 int __b) {
10535 return __a[__b];
10539 vec_extract(vector unsigned long long __a, int __b) {
10540 return __a[__b];
10544 int __b) {
10545 return __a[__b];
10548 static double __ATTRS_o_ai vec_extract(vector double __a, int __b) {
10549 return __a[__b];
10553 static float __ATTRS_o_ai vec_extract(vector float __a, int __b) {
10554 return __a[__b];
10560 vector signed char __b,
10562 __b[__c] = __a;
10563 return __b;
10567 vector unsigned char __b,
10569 __b[__c] = __a;
10570 return __b;
10574 vector bool char __b,
10576 __b[__c] = __a;
10577 return __b;
10581 vector signed short __b,
10583 __b[__c] = __a;
10584 return __b;
10588 vector unsigned short __b,
10590 __b[__c] = __a;
10591 return __b;
10595 vector bool short __b,
10597 __b[__c] = __a;
10598 return __b;
10602 vector signed int __b,
10604 __b[__c] = __a;
10605 return __b;
10609 vector unsigned int __b,
10611 __b[__c] = __a;
10612 return __b;
10616 vector bool int __b,
10618 __b[__c] = __a;
10619 return __b;
10624 vec_insert(signed long long __a, vector signed long long __b, int __c) {
10625 __b[__c] = __a;
10626 return __b;
10630 vec_insert(unsigned long long __a, vector unsigned long long __b, int __c) {
10631 __b[__c] = __a;
10632 return __b;
10636 vec_insert(unsigned long long __a, vector bool long long __b, int __c) {
10637 __b[__c] = __a;
10638 return __b;
10640 static vector double __ATTRS_o_ai vec_insert(double __a, vector double __b,
10642 __b[__c] = __a;
10643 return __b;
10647 static vector float __ATTRS_o_ai vec_insert(float __a, vector float __b,
10649 __b[__c] = __a;
10650 return __b;
10656 const signed char *__b) {
10657 return vec_perm(vec_ld(__a, __b), (vector signed char)(0),
10658 vec_lvsl(__a, __b));
10662 const vector signed char *__b) {
10663 return vec_perm(vec_ld(__a, __b), (vector signed char)(0),
10664 vec_lvsl(__a, (unsigned char *)__b));
10668 const unsigned char *__b) {
10669 return vec_perm(vec_ld(__a, __b), (vector unsigned char)(0),
10670 vec_lvsl(__a, __b));
10674 vec_lvlx(int __a, const vector unsigned char *__b) {
10675 return vec_perm(vec_ld(__a, __b), (vector unsigned char)(0),
10676 vec_lvsl(__a, (unsigned char *)__b));
10680 const vector bool char *__b) {
10681 return vec_perm(vec_ld(__a, __b), (vector bool char)(0),
10682 vec_lvsl(__a, (unsigned char *)__b));
10685 static vector short __ATTRS_o_ai vec_lvlx(int __a, const short *__b) {
10686 return vec_perm(vec_ld(__a, __b), (vector short)(0), vec_lvsl(__a, __b));
10689 static vector short __ATTRS_o_ai vec_lvlx(int __a, const vector short *__b) {
10690 return vec_perm(vec_ld(__a, __b), (vector short)(0),
10691 vec_lvsl(__a, (unsigned char *)__b));
10695 const unsigned short *__b) {
10696 return vec_perm(vec_ld(__a, __b), (vector unsigned short)(0),
10697 vec_lvsl(__a, __b));
10701 vec_lvlx(int __a, const vector unsigned short *__b) {
10702 return vec_perm(vec_ld(__a, __b), (vector unsigned short)(0),
10703 vec_lvsl(__a, (unsigned char *)__b));
10707 const vector bool short *__b) {
10708 return vec_perm(vec_ld(__a, __b), (vector bool short)(0),
10709 vec_lvsl(__a, (unsigned char *)__b));
10712 static vector pixel __ATTRS_o_ai vec_lvlx(int __a, const vector pixel *__b) {
10713 return vec_perm(vec_ld(__a, __b), (vector pixel)(0),
10714 vec_lvsl(__a, (unsigned char *)__b));
10717 static vector int __ATTRS_o_ai vec_lvlx(int __a, const int *__b) {
10718 return vec_perm(vec_ld(__a, __b), (vector int)(0), vec_lvsl(__a, __b));
10721 static vector int __ATTRS_o_ai vec_lvlx(int __a, const vector int *__b) {
10722 return vec_perm(vec_ld(__a, __b), (vector int)(0),
10723 vec_lvsl(__a, (unsigned char *)__b));
10727 const unsigned int *__b) {
10728 return vec_perm(vec_ld(__a, __b), (vector unsigned int)(0),
10729 vec_lvsl(__a, __b));
10733 vec_lvlx(int __a, const vector unsigned int *__b) {
10734 return vec_perm(vec_ld(__a, __b), (vector unsigned int)(0),
10735 vec_lvsl(__a, (unsigned char *)__b));
10739 const vector bool int *__b) {
10740 return vec_perm(vec_ld(__a, __b), (vector bool int)(0),
10741 vec_lvsl(__a, (unsigned char *)__b));
10744 static vector float __ATTRS_o_ai vec_lvlx(int __a, const float *__b) {
10745 return vec_perm(vec_ld(__a, __b), (vector float)(0), vec_lvsl(__a, __b));
10748 static vector float __ATTRS_o_ai vec_lvlx(int __a, const vector float *__b) {
10749 return vec_perm(vec_ld(__a, __b), (vector float)(0),
10750 vec_lvsl(__a, (unsigned char *)__b));
10756 const signed char *__b) {
10757 return vec_perm(vec_ldl(__a, __b), (vector signed char)(0),
10758 vec_lvsl(__a, __b));
10762 vec_lvlxl(int __a, const vector signed char *__b) {
10763 return vec_perm(vec_ldl(__a, __b), (vector signed char)(0),
10764 vec_lvsl(__a, (unsigned char *)__b));
10768 const unsigned char *__b) {
10769 return vec_perm(vec_ldl(__a, __b), (vector unsigned char)(0),
10770 vec_lvsl(__a, __b));
10774 vec_lvlxl(int __a, const vector unsigned char *__b) {
10775 return vec_perm(vec_ldl(__a, __b), (vector unsigned char)(0),
10776 vec_lvsl(__a, (unsigned char *)__b));
10780 const vector bool char *__b) {
10781 return vec_perm(vec_ldl(__a, __b), (vector bool char)(0),
10782 vec_lvsl(__a, (unsigned char *)__b));
10785 static vector short __ATTRS_o_ai vec_lvlxl(int __a, const short *__b) {
10786 return vec_perm(vec_ldl(__a, __b), (vector short)(0), vec_lvsl(__a, __b));
10789 static vector short __ATTRS_o_ai vec_lvlxl(int __a, const vector short *__b) {
10790 return vec_perm(vec_ldl(__a, __b), (vector short)(0),
10791 vec_lvsl(__a, (unsigned char *)__b));
10795 const unsigned short *__b) {
10796 return vec_perm(vec_ldl(__a, __b), (vector unsigned short)(0),
10797 vec_lvsl(__a, __b));
10801 vec_lvlxl(int __a, const vector unsigned short *__b) {
10802 return vec_perm(vec_ldl(__a, __b), (vector unsigned short)(0),
10803 vec_lvsl(__a, (unsigned char *)__b));
10807 const vector bool short *__b) {
10808 return vec_perm(vec_ldl(__a, __b), (vector bool short)(0),
10809 vec_lvsl(__a, (unsigned char *)__b));
10812 static vector pixel __ATTRS_o_ai vec_lvlxl(int __a, const vector pixel *__b) {
10813 return vec_perm(vec_ldl(__a, __b), (vector pixel)(0),
10814 vec_lvsl(__a, (unsigned char *)__b));
10817 static vector int __ATTRS_o_ai vec_lvlxl(int __a, const int *__b) {
10818 return vec_perm(vec_ldl(__a, __b), (vector int)(0), vec_lvsl(__a, __b));
10821 static vector int __ATTRS_o_ai vec_lvlxl(int __a, const vector int *__b) {
10822 return vec_perm(vec_ldl(__a, __b), (vector int)(0),
10823 vec_lvsl(__a, (unsigned char *)__b));
10827 const unsigned int *__b) {
10828 return vec_perm(vec_ldl(__a, __b), (vector unsigned int)(0),
10829 vec_lvsl(__a, __b));
10833 vec_lvlxl(int __a, const vector unsigned int *__b) {
10834 return vec_perm(vec_ldl(__a, __b), (vector unsigned int)(0),
10835 vec_lvsl(__a, (unsigned char *)__b));
10839 const vector bool int *__b) {
10840 return vec_perm(vec_ldl(__a, __b), (vector bool int)(0),
10841 vec_lvsl(__a, (unsigned char *)__b));
10844 static vector float __ATTRS_o_ai vec_lvlxl(int __a, const float *__b) {
10845 return vec_perm(vec_ldl(__a, __b), (vector float)(0), vec_lvsl(__a, __b));
10848 static vector float __ATTRS_o_ai vec_lvlxl(int __a, vector float *__b) {
10849 return vec_perm(vec_ldl(__a, __b), (vector float)(0),
10850 vec_lvsl(__a, (unsigned char *)__b));
10856 const signed char *__b) {
10857 return vec_perm((vector signed char)(0), vec_ld(__a, __b),
10858 vec_lvsl(__a, __b));
10862 const vector signed char *__b) {
10863 return vec_perm((vector signed char)(0), vec_ld(__a, __b),
10864 vec_lvsl(__a, (unsigned char *)__b));
10868 const unsigned char *__b) {
10869 return vec_perm((vector unsigned char)(0), vec_ld(__a, __b),
10870 vec_lvsl(__a, __b));
10874 vec_lvrx(int __a, const vector unsigned char *__b) {
10875 return vec_perm((vector unsigned char)(0), vec_ld(__a, __b),
10876 vec_lvsl(__a, (unsigned char *)__b));
10880 const vector bool char *__b) {
10881 return vec_perm((vector bool char)(0), vec_ld(__a, __b),
10882 vec_lvsl(__a, (unsigned char *)__b));
10885 static vector short __ATTRS_o_ai vec_lvrx(int __a, const short *__b) {
10886 return vec_perm((vector short)(0), vec_ld(__a, __b), vec_lvsl(__a, __b));
10889 static vector short __ATTRS_o_ai vec_lvrx(int __a, const vector short *__b) {
10890 return vec_perm((vector short)(0), vec_ld(__a, __b),
10891 vec_lvsl(__a, (unsigned char *)__b));
10895 const unsigned short *__b) {
10896 return vec_perm((vector unsigned short)(0), vec_ld(__a, __b),
10897 vec_lvsl(__a, __b));
10901 vec_lvrx(int __a, const vector unsigned short *__b) {
10902 return vec_perm((vector unsigned short)(0), vec_ld(__a, __b),
10903 vec_lvsl(__a, (unsigned char *)__b));
10907 __b) {
10908 return vec_perm((vector bool short)(0), vec_ld(__a, __b),
10909 vec_lvsl(__a, (unsigned char *)__b));
10912 static vector pixel __ATTRS_o_ai vec_lvrx(int __a, const vector pixel *__b) {
10913 return vec_perm((vector pixel)(0), vec_ld(__a, __b),
10914 vec_lvsl(__a, (unsigned char *)__b));
10917 static vector int __ATTRS_o_ai vec_lvrx(int __a, const int *__b) {
10918 return vec_perm((vector int)(0), vec_ld(__a, __b), vec_lvsl(__a, __b));
10921 static vector int __ATTRS_o_ai vec_lvrx(int __a, const vector int *__b) {
10922 return vec_perm((vector int)(0), vec_ld(__a, __b),
10923 vec_lvsl(__a, (unsigned char *)__b));
10927 const unsigned int *__b) {
10928 return vec_perm((vector unsigned int)(0), vec_ld(__a, __b),
10929 vec_lvsl(__a, __b));
10933 vec_lvrx(int __a, const vector unsigned int *__b) {
10934 return vec_perm((vector unsigned int)(0), vec_ld(__a, __b),
10935 vec_lvsl(__a, (unsigned char *)__b));
10939 const vector bool int *__b) {
10940 return vec_perm((vector bool int)(0), vec_ld(__a, __b),
10941 vec_lvsl(__a, (unsigned char *)__b));
10944 static vector float __ATTRS_o_ai vec_lvrx(int __a, const float *__b) {
10945 return vec_perm((vector float)(0), vec_ld(__a, __b), vec_lvsl(__a, __b));
10948 static vector float __ATTRS_o_ai vec_lvrx(int __a, const vector float *__b) {
10949 return vec_perm((vector float)(0), vec_ld(__a, __b),
10950 vec_lvsl(__a, (unsigned char *)__b));
10956 const signed char *__b) {
10957 return vec_perm((vector signed char)(0), vec_ldl(__a, __b),
10958 vec_lvsl(__a, __b));
10962 vec_lvrxl(int __a, const vector signed char *__b) {
10963 return vec_perm((vector signed char)(0), vec_ldl(__a, __b),
10964 vec_lvsl(__a, (unsigned char *)__b));
10968 const unsigned char *__b) {
10969 return vec_perm((vector unsigned char)(0), vec_ldl(__a, __b),
10970 vec_lvsl(__a, __b));
10974 vec_lvrxl(int __a, const vector unsigned char *__b) {
10975 return vec_perm((vector unsigned char)(0), vec_ldl(__a, __b),
10976 vec_lvsl(__a, (unsigned char *)__b));
10980 const vector bool char *__b) {
10981 return vec_perm((vector bool char)(0), vec_ldl(__a, __b),
10982 vec_lvsl(__a, (unsigned char *)__b));
10985 static vector short __ATTRS_o_ai vec_lvrxl(int __a, const short *__b) {
10986 return vec_perm((vector short)(0), vec_ldl(__a, __b), vec_lvsl(__a, __b));
10989 static vector short __ATTRS_o_ai vec_lvrxl(int __a, const vector short *__b) {
10990 return vec_perm((vector short)(0), vec_ldl(__a, __b),
10991 vec_lvsl(__a, (unsigned char *)__b));
10995 const unsigned short *__b) {
10996 return vec_perm((vector unsigned short)(0), vec_ldl(__a, __b),
10997 vec_lvsl(__a, __b));
11001 vec_lvrxl(int __a, const vector unsigned short *__b) {
11002 return vec_perm((vector unsigned short)(0), vec_ldl(__a, __b),
11003 vec_lvsl(__a, (unsigned char *)__b));
11007 const vector bool short *__b) {
11008 return vec_perm((vector bool short)(0), vec_ldl(__a, __b),
11009 vec_lvsl(__a, (unsigned char *)__b));
11012 static vector pixel __ATTRS_o_ai vec_lvrxl(int __a, const vector pixel *__b) {
11013 return vec_perm((vector pixel)(0), vec_ldl(__a, __b),
11014 vec_lvsl(__a, (unsigned char *)__b));
11017 static vector int __ATTRS_o_ai vec_lvrxl(int __a, const int *__b) {
11018 return vec_perm((vector int)(0), vec_ldl(__a, __b), vec_lvsl(__a, __b));
11021 static vector int __ATTRS_o_ai vec_lvrxl(int __a, const vector int *__b) {
11022 return vec_perm((vector int)(0), vec_ldl(__a, __b),
11023 vec_lvsl(__a, (unsigned char *)__b));
11027 const unsigned int *__b) {
11028 return vec_perm((vector unsigned int)(0), vec_ldl(__a, __b),
11029 vec_lvsl(__a, __b));
11033 vec_lvrxl(int __a, const vector unsigned int *__b) {
11034 return vec_perm((vector unsigned int)(0), vec_ldl(__a, __b),
11035 vec_lvsl(__a, (unsigned char *)__b));
11039 const vector bool int *__b) {
11040 return vec_perm((vector bool int)(0), vec_ldl(__a, __b),
11041 vec_lvsl(__a, (unsigned char *)__b));
11044 static vector float __ATTRS_o_ai vec_lvrxl(int __a, const float *__b) {
11045 return vec_perm((vector float)(0), vec_ldl(__a, __b), vec_lvsl(__a, __b));
11048 static vector float __ATTRS_o_ai vec_lvrxl(int __a, const vector float *__b) {
11049 return vec_perm((vector float)(0), vec_ldl(__a, __b),
11050 vec_lvsl(__a, (unsigned char *)__b));
11055 static void __ATTRS_o_ai vec_stvlx(vector signed char __a, int __b,
11057 return vec_st(vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, __c)), __b,
11061 static void __ATTRS_o_ai vec_stvlx(vector signed char __a, int __b,
11064 vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, (unsigned char *)__c)),
11065 __b, __c);
11068 static void __ATTRS_o_ai vec_stvlx(vector unsigned char __a, int __b,
11070 return vec_st(vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, __c)), __b,
11074 static void __ATTRS_o_ai vec_stvlx(vector unsigned char __a, int __b,
11077 vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, (unsigned char *)__c)),
11078 __b, __c);
11081 static void __ATTRS_o_ai vec_stvlx(vector bool char __a, int __b,
11084 vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, (unsigned char *)__c)),
11085 __b, __c);
11088 static void __ATTRS_o_ai vec_stvlx(vector short __a, int __b, short *__c) {
11089 return vec_st(vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, __c)), __b,
11093 static void __ATTRS_o_ai vec_stvlx(vector short __a, int __b,
11096 vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, (unsigned char *)__c)),
11097 __b, __c);
11100 static void __ATTRS_o_ai vec_stvlx(vector unsigned short __a, int __b,
11102 return vec_st(vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, __c)), __b,
11106 static void __ATTRS_o_ai vec_stvlx(vector unsigned short __a, int __b,
11109 vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, (unsigned char *)__c)),
11110 __b, __c);
11113 static void __ATTRS_o_ai vec_stvlx(vector bool short __a, int __b,
11116 vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, (unsigned char *)__c)),
11117 __b, __c);
11120 static void __ATTRS_o_ai vec_stvlx(vector pixel __a, int __b,
11123 vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, (unsigned char *)__c)),
11124 __b, __c);
11127 static void __ATTRS_o_ai vec_stvlx(vector int __a, int __b, int *__c) {
11128 return vec_st(vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, __c)), __b,
11132 static void __ATTRS_o_ai vec_stvlx(vector int __a, int __b, vector int *__c) {
11134 vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, (unsigned char *)__c)),
11135 __b, __c);
11138 static void __ATTRS_o_ai vec_stvlx(vector unsigned int __a, int __b,
11140 return vec_st(vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, __c)), __b,
11144 static void __ATTRS_o_ai vec_stvlx(vector unsigned int __a, int __b,
11147 vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, (unsigned char *)__c)),
11148 __b, __c);
11151 static void __ATTRS_o_ai vec_stvlx(vector bool int __a, int __b,
11154 vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, (unsigned char *)__c)),
11155 __b, __c);
11158 static void __ATTRS_o_ai vec_stvlx(vector float __a, int __b,
11161 vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, (unsigned char *)__c)),
11162 __b, __c);
11167 static void __ATTRS_o_ai vec_stvlxl(vector signed char __a, int __b,
11169 return vec_stl(vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, __c)), __b,
11173 static void __ATTRS_o_ai vec_stvlxl(vector signed char __a, int __b,
11176 vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, (unsigned char *)__c)),
11177 __b, __c);
11180 static void __ATTRS_o_ai vec_stvlxl(vector unsigned char __a, int __b,
11182 return vec_stl(vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, __c)), __b,
11186 static void __ATTRS_o_ai vec_stvlxl(vector unsigned char __a, int __b,
11189 vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, (unsigned char *)__c)),
11190 __b, __c);
11193 static void __ATTRS_o_ai vec_stvlxl(vector bool char __a, int __b,
11196 vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, (unsigned char *)__c)),
11197 __b, __c);
11200 static void __ATTRS_o_ai vec_stvlxl(vector short __a, int __b, short *__c) {
11201 return vec_stl(vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, __c)), __b,
11205 static void __ATTRS_o_ai vec_stvlxl(vector short __a, int __b,
11208 vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, (unsigned char *)__c)),
11209 __b, __c);
11212 static void __ATTRS_o_ai vec_stvlxl(vector unsigned short __a, int __b,
11214 return vec_stl(vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, __c)), __b,
11218 static void __ATTRS_o_ai vec_stvlxl(vector unsigned short __a, int __b,
11221 vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, (unsigned char *)__c)),
11222 __b, __c);
11225 static void __ATTRS_o_ai vec_stvlxl(vector bool short __a, int __b,
11228 vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, (unsigned char *)__c)),
11229 __b, __c);
11232 static void __ATTRS_o_ai vec_stvlxl(vector pixel __a, int __b,
11235 vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, (unsigned char *)__c)),
11236 __b, __c);
11239 static void __ATTRS_o_ai vec_stvlxl(vector int __a, int __b, int *__c) {
11240 return vec_stl(vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, __c)), __b,
11244 static void __ATTRS_o_ai vec_stvlxl(vector int __a, int __b, vector int *__c) {
11246 vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, (unsigned char *)__c)),
11247 __b, __c);
11250 static void __ATTRS_o_ai vec_stvlxl(vector unsigned int __a, int __b,
11252 return vec_stl(vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, __c)), __b,
11256 static void __ATTRS_o_ai vec_stvlxl(vector unsigned int __a, int __b,
11259 vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, (unsigned char *)__c)),
11260 __b, __c);
11263 static void __ATTRS_o_ai vec_stvlxl(vector bool int __a, int __b,
11266 vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, (unsigned char *)__c)),
11267 __b, __c);
11270 static void __ATTRS_o_ai vec_stvlxl(vector float __a, int __b,
11273 vec_perm(vec_lvrx(__b, __c), __a, vec_lvsr(__b, (unsigned char *)__c)),
11274 __b, __c);
11279 static void __ATTRS_o_ai vec_stvrx(vector signed char __a, int __b,
11281 return vec_st(vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, __c)), __b,
11285 static void __ATTRS_o_ai vec_stvrx(vector signed char __a, int __b,
11288 vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, (unsigned char *)__c)),
11289 __b, __c);
11292 static void __ATTRS_o_ai vec_stvrx(vector unsigned char __a, int __b,
11294 return vec_st(vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, __c)), __b,
11298 static void __ATTRS_o_ai vec_stvrx(vector unsigned char __a, int __b,
11301 vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, (unsigned char *)__c)),
11302 __b, __c);
11305 static void __ATTRS_o_ai vec_stvrx(vector bool char __a, int __b,
11308 vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, (unsigned char *)__c)),
11309 __b, __c);
11312 static void __ATTRS_o_ai vec_stvrx(vector short __a, int __b, short *__c) {
11313 return vec_st(vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, __c)), __b,
11317 static void __ATTRS_o_ai vec_stvrx(vector short __a, int __b,
11320 vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, (unsigned char *)__c)),
11321 __b, __c);
11324 static void __ATTRS_o_ai vec_stvrx(vector unsigned short __a, int __b,
11326 return vec_st(vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, __c)), __b,
11330 static void __ATTRS_o_ai vec_stvrx(vector unsigned short __a, int __b,
11333 vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, (unsigned char *)__c)),
11334 __b, __c);
11337 static void __ATTRS_o_ai vec_stvrx(vector bool short __a, int __b,
11340 vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, (unsigned char *)__c)),
11341 __b, __c);
11344 static void __ATTRS_o_ai vec_stvrx(vector pixel __a, int __b,
11347 vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, (unsigned char *)__c)),
11348 __b, __c);
11351 static void __ATTRS_o_ai vec_stvrx(vector int __a, int __b, int *__c) {
11352 return vec_st(vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, __c)), __b,
11356 static void __ATTRS_o_ai vec_stvrx(vector int __a, int __b, vector int *__c) {
11358 vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, (unsigned char *)__c)),
11359 __b, __c);
11362 static void __ATTRS_o_ai vec_stvrx(vector unsigned int __a, int __b,
11364 return vec_st(vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, __c)), __b,
11368 static void __ATTRS_o_ai vec_stvrx(vector unsigned int __a, int __b,
11371 vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, (unsigned char *)__c)),
11372 __b, __c);
11375 static void __ATTRS_o_ai vec_stvrx(vector bool int __a, int __b,
11378 vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, (unsigned char *)__c)),
11379 __b, __c);
11382 static void __ATTRS_o_ai vec_stvrx(vector float __a, int __b,
11385 vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, (unsigned char *)__c)),
11386 __b, __c);
11391 static void __ATTRS_o_ai vec_stvrxl(vector signed char __a, int __b,
11393 return vec_stl(vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, __c)), __b,
11397 static void __ATTRS_o_ai vec_stvrxl(vector signed char __a, int __b,
11400 vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, (unsigned char *)__c)),
11401 __b, __c);
11404 static void __ATTRS_o_ai vec_stvrxl(vector unsigned char __a, int __b,
11406 return vec_stl(vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, __c)), __b,
11410 static void __ATTRS_o_ai vec_stvrxl(vector unsigned char __a, int __b,
11413 vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, (unsigned char *)__c)),
11414 __b, __c);
11417 static void __ATTRS_o_ai vec_stvrxl(vector bool char __a, int __b,
11420 vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, (unsigned char *)__c)),
11421 __b, __c);
11424 static void __ATTRS_o_ai vec_stvrxl(vector short __a, int __b, short *__c) {
11425 return vec_stl(vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, __c)), __b,
11429 static void __ATTRS_o_ai vec_stvrxl(vector short __a, int __b,
11432 vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, (unsigned char *)__c)),
11433 __b, __c);
11436 static void __ATTRS_o_ai vec_stvrxl(vector unsigned short __a, int __b,
11438 return vec_stl(vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, __c)), __b,
11442 static void __ATTRS_o_ai vec_stvrxl(vector unsigned short __a, int __b,
11445 vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, (unsigned char *)__c)),
11446 __b, __c);
11449 static void __ATTRS_o_ai vec_stvrxl(vector bool short __a, int __b,
11452 vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, (unsigned char *)__c)),
11453 __b, __c);
11456 static void __ATTRS_o_ai vec_stvrxl(vector pixel __a, int __b,
11459 vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, (unsigned char *)__c)),
11460 __b, __c);
11463 static void __ATTRS_o_ai vec_stvrxl(vector int __a, int __b, int *__c) {
11464 return vec_stl(vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, __c)), __b,
11468 static void __ATTRS_o_ai vec_stvrxl(vector int __a, int __b, vector int *__c) {
11470 vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, (unsigned char *)__c)),
11471 __b, __c);
11474 static void __ATTRS_o_ai vec_stvrxl(vector unsigned int __a, int __b,
11476 return vec_stl(vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, __c)), __b,
11480 static void __ATTRS_o_ai vec_stvrxl(vector unsigned int __a, int __b,
11483 vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, (unsigned char *)__c)),
11484 __b, __c);
11487 static void __ATTRS_o_ai vec_stvrxl(vector bool int __a, int __b,
11490 vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, (unsigned char *)__c)),
11491 __b, __c);
11494 static void __ATTRS_o_ai vec_stvrxl(vector float __a, int __b,
11497 vec_perm(__a, vec_lvlx(__b, __c), vec_lvsr(__b, (unsigned char *)__c)),
11498 __b, __c);
11503 static vector signed char __ATTRS_o_ai vec_promote(signed char __a, int __b) {
11505 __res[__b] = __a;
11510 int __b) {
11512 __res[__b] = __a;
11516 static vector short __ATTRS_o_ai vec_promote(short __a, int __b) {
11518 __res[__b] = __a;
11523 int __b) {
11525 __res[__b] = __a;
11529 static vector int __ATTRS_o_ai vec_promote(int __a, int __b) {
11531 __res[__b] = __a;
11535 static vector unsigned int __ATTRS_o_ai vec_promote(unsigned int __a, int __b) {
11537 __res[__b] = __a;
11541 static vector float __ATTRS_o_ai vec_promote(float __a, int __b) {
11543 __res[__b] = __a;
11607 vector signed char __b) {
11609 (vector char)__b);
11613 vector bool char __b) {
11615 (vector char)__b);
11619 vector unsigned char __b) {
11621 (vector char)__b);
11625 vector bool char __b) {
11627 (vector char)__b);
11631 vector signed char __b) {
11633 (vector char)__b);
11637 vector unsigned char __b) {
11639 (vector char)__b);
11642 static int __ATTRS_o_ai vec_all_eq(vector bool char __a, vector bool char __b) {
11644 (vector char)__b);
11647 static int __ATTRS_o_ai vec_all_eq(vector short __a, vector short __b) {
11648 return __builtin_altivec_vcmpequh_p(__CR6_LT, __a, __b);
11651 static int __ATTRS_o_ai vec_all_eq(vector short __a, vector bool short __b) {
11652 return __builtin_altivec_vcmpequh_p(__CR6_LT, __a, (vector short)__b);
11656 vector unsigned short __b) {
11658 (vector short)__b);
11662 vector bool short __b) {
11664 (vector short)__b);
11667 static int __ATTRS_o_ai vec_all_eq(vector bool short __a, vector short __b) {
11669 (vector short)__b);
11673 vector unsigned short __b) {
11675 (vector short)__b);
11679 vector bool short __b) {
11681 (vector short)__b);
11684 static int __ATTRS_o_ai vec_all_eq(vector pixel __a, vector pixel __b) {
11686 (vector short)__b);
11689 static int __ATTRS_o_ai vec_all_eq(vector int __a, vector int __b) {
11690 return __builtin_altivec_vcmpequw_p(__CR6_LT, __a, __b);
11693 static int __ATTRS_o_ai vec_all_eq(vector int __a, vector bool int __b) {
11694 return __builtin_altivec_vcmpequw_p(__CR6_LT, __a, (vector int)__b);
11698 vector unsigned int __b) {
11700 (vector int)__b);
11704 vector bool int __b) {
11706 (vector int)__b);
11709 static int __ATTRS_o_ai vec_all_eq(vector bool int __a, vector int __b) {
11711 (vector int)__b);
11715 vector unsigned int __b) {
11717 (vector int)__b);
11720 static int __ATTRS_o_ai vec_all_eq(vector bool int __a, vector bool int __b) {
11722 (vector int)__b);
11727 vector signed long long __b) {
11728 return __builtin_altivec_vcmpequd_p(__CR6_LT, __a, __b);
11732 vector bool long long __b) {
11733 return __builtin_altivec_vcmpequd_p(__CR6_LT, __a, (vector long long)__b);
11737 vector unsigned long long __b) {
11739 (vector long long)__b);
11743 vector bool long long __b) {
11745 (vector long long)__b);
11749 vector long long __b) {
11751 (vector long long)__b);
11755 vector unsigned long long __b) {
11757 (vector long long)__b);
11761 vector bool long long __b) {
11763 (vector long long)__b);
11767 static int __ATTRS_o_ai vec_all_eq(vector float __a, vector float __b) {
11769 return __builtin_vsx_xvcmpeqsp_p(__CR6_LT, __a, __b);
11771 return __builtin_altivec_vcmpeqfp_p(__CR6_LT, __a, __b);
11776 static int __ATTRS_o_ai vec_all_eq(vector double __a, vector double __b) {
11777 return __builtin_vsx_xvcmpeqdp_p(__CR6_LT, __a, __b);
11784 vector signed char __b) {
11785 return __builtin_altivec_vcmpgtsb_p(__CR6_EQ, __b, __a);
11789 vector bool char __b) {
11790 return __builtin_altivec_vcmpgtsb_p(__CR6_EQ, (vector signed char)__b, __a);
11794 vector unsigned char __b) {
11795 return __builtin_altivec_vcmpgtub_p(__CR6_EQ, __b, __a);
11799 vector bool char __b) {
11800 return __builtin_altivec_vcmpgtub_p(__CR6_EQ, (vector unsigned char)__b, __a);
11804 vector signed char __b) {
11805 return __builtin_altivec_vcmpgtub_p(__CR6_EQ, (vector unsigned char)__b,
11810 vector unsigned char __b) {
11811 return __builtin_altivec_vcmpgtub_p(__CR6_EQ, __b, (vector unsigned char)__a);
11814 static int __ATTRS_o_ai vec_all_ge(vector bool char __a, vector bool char __b) {
11815 return __builtin_altivec_vcmpgtub_p(__CR6_EQ, (vector unsigned char)__b,
11819 static int __ATTRS_o_ai vec_all_ge(vector short __a, vector short __b) {
11820 return __builtin_altivec_vcmpgtsh_p(__CR6_EQ, __b, __a);
11823 static int __ATTRS_o_ai vec_all_ge(vector short __a, vector bool short __b) {
11824 return __builtin_altivec_vcmpgtsh_p(__CR6_EQ, (vector short)__b, __a);
11828 vector unsigned short __b
11829 return __builtin_altivec_vcmpgtuh_p(__CR6_EQ, __b, __a);
11833 vector bool short __b) {
11834 return __builtin_altivec_vcmpgtuh_p(__CR6_EQ, (vector unsigned short)__b,
11838 static int __ATTRS_o_ai vec_all_ge(vector bool short __a, vector short __b) {
11839 return __builtin_altivec_vcmpgtuh_p(__CR6_EQ, (vector unsigned short)__b,
11844 vector unsigned short __b) {
11845 return __builtin_altivec_vcmpgtuh_p(__CR6_EQ, __b,
11850 vector bool short __b) {
11851 return __builtin_altivec_vcmpgtuh_p(__CR6_EQ, (vector unsigned short)__b,
11855 static int __ATTRS_o_ai vec_all_ge(vector int __a, vector int __b) {
11856 return __builtin_altivec_vcmpgtsw_p(__CR6_EQ, __b, __a);
11859 static int __ATTRS_o_ai vec_all_ge(vector int __a, vector bool int __b) {
11860 return __builtin_altivec_vcmpgtsw_p(__CR6_EQ, (vector int)__b, __a);
11864 vector unsigned int __b) {
11865 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ, __b, __a);
11869 vector bool int __b) {
11870 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ, (vector unsigned int)__b, __a);
11873 static int __ATTRS_o_ai vec_all_ge(vector bool int __a, vector int __b) {
11874 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ, (vector unsigned int)__b,
11879 vector unsigned int __b) {
11880 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ, __b, (vector unsigned int)__a);
11883 static int __ATTRS_o_ai vec_all_ge(vector bool int __a, vector bool int __b) {
11884 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ, (vector unsigned int)__b,
11890 vector signed long long __b) {
11891 return __builtin_altivec_vcmpgtsd_p(__CR6_EQ, __b, __a);
11894 vector bool long long __b) {
11895 return __builtin_altivec_vcmpgtsd_p(__CR6_EQ, (vector signed long long)__b,
11900 vector unsigned long long __b) {
11901 return __builtin_altivec_vcmpgtud_p(__CR6_EQ, __b, __a);
11905 vector bool long long __b) {
11906 return __builtin_altivec_vcmpgtud_p(__CR6_EQ, (vector unsigned long long)__b,
11911 vector signed long long __b) {
11912 return __builtin_altivec_vcmpgtud_p(__CR6_EQ, (vector unsigned long long)__b,
11917 vector unsigned long long __b) {
11918 return __builtin_altivec_vcmpgtud_p(__CR6_EQ, __b,
11923 vector bool long long __b) {
11924 return __builtin_altivec_vcmpgtud_p(__CR6_EQ, (vector unsigned long long)__b,
11929 static int __ATTRS_o_ai vec_all_ge(vector float __a, vector float __b) {
11931 return __builtin_vsx_xvcmpgesp_p(__CR6_LT, __a, __b);
11933 return __builtin_altivec_vcmpgefp_p(__CR6_LT, __a, __b);
11938 static int __ATTRS_o_ai vec_all_ge(vector double __a, vector double __b) {
11939 return __builtin_vsx_xvcmpgedp_p(__CR6_LT, __a, __b);
11946 vector signed char __b) {
11947 return __builtin_altivec_vcmpgtsb_p(__CR6_LT, __a, __b);
11951 vector bool char __b) {
11952 return __builtin_altivec_vcmpgtsb_p(__CR6_LT, __a, (vector signed char)__b);
11956 vector unsigned char __b) {
11957 return __builtin_altivec_vcmpgtub_p(__CR6_LT, __a, __b);
11961 vector bool char __b) {
11962 return __builtin_altivec_vcmpgtub_p(__CR6_LT, __a, (vector unsigned char)__b);
11966 vector signed char __b) {
11968 (vector unsigned char)__b);
11972 vector unsigned char __b) {
11973 return __builtin_altivec_vcmpgtub_p(__CR6_LT, (vector unsigned char)__a, __b);
11976 static int __ATTRS_o_ai vec_all_gt(vector bool char __a, vector bool char __b) {
11978 (vector unsigned char)__b);
11981 static int __ATTRS_o_ai vec_all_gt(vector short __a, vector short __b) {
11982 return __builtin_altivec_vcmpgtsh_p(__CR6_LT, __a, __b);
11985 static int __ATTRS_o_ai vec_all_gt(vector short __a, vector bool short __b) {
11986 return __builtin_altivec_vcmpgtsh_p(__CR6_LT, __a, (vector short)__b);
11990 vector unsigned short __b) {
11991 return __builtin_altivec_vcmpgtuh_p(__CR6_LT, __a, __b);
11995 vector bool short __b) {
11997 (vector unsigned short)__b);
12000 static int __ATTRS_o_ai vec_all_gt(vector bool short __a, vector short __b) {
12002 (vector unsigned short)__b);
12006 vector unsigned short __b) {
12008 __b);
12012 vector bool short __b) {
12014 (vector unsigned short)__b);
12017 static int __ATTRS_o_ai vec_all_gt(vector int __a, vector int __b) {
12018 return __builtin_altivec_vcmpgtsw_p(__CR6_LT, __a, __b);
12021 static int __ATTRS_o_ai vec_all_gt(vector int __a, vector bool int __b) {
12022 return __builtin_altivec_vcmpgtsw_p(__CR6_LT, __a, (vector int)__b);
12026 vector unsigned int __b) {
12027 return __builtin_altivec_vcmpgtuw_p(__CR6_LT, __a, __b);
12031 vector bool int __b) {
12032 return __builtin_altivec_vcmpgtuw_p(__CR6_LT, __a, (vector unsigned int)__b);
12035 static int __ATTRS_o_ai vec_all_gt(vector bool int __a, vector int __b) {
12037 (vector unsigned int)__b);
12041 vector unsigned int __b) {
12042 return __builtin_altivec_vcmpgtuw_p(__CR6_LT, (vector unsigned int)__a, __b);
12045 static int __ATTRS_o_ai vec_all_gt(vector bool int __a, vector bool int __b) {
12047 (vector unsigned int)__b);
12052 vector signed long long __b) {
12053 return __builtin_altivec_vcmpgtsd_p(__CR6_LT, __a, __b);
12056 vector bool long long __b) {
12058 (vector signed long long)__b);
12062 vector unsigned long long __b) {
12063 return __builtin_altivec_vcmpgtud_p(__CR6_LT, __a, __b);
12067 vector bool long long __b) {
12069 (vector unsigned long long)__b);
12073 vector signed long long __b) {
12075 (vector unsigned long long)__b);
12079 vector unsigned long long __b) {
12081 __b);
12085 vector bool long long __b) {
12087 (vector unsigned long long)__b);
12091 static int __ATTRS_o_ai vec_all_gt(vector float __a, vector float __b) {
12093 return __builtin_vsx_xvcmpgtsp_p(__CR6_LT, __a, __b);
12095 return __builtin_altivec_vcmpgtfp_p(__CR6_LT, __a, __b);
12100 static int __ATTRS_o_ai vec_all_gt(vector double __a, vector double __b) {
12101 return __builtin_vsx_xvcmpgtdp_p(__CR6_LT, __a, __b);
12108 vec_all_in(vector float __a, vector float __b) {
12109 return __builtin_altivec_vcmpbfp_p(__CR6_EQ, __a, __b);
12115 vector signed char __b) {
12116 return __builtin_altivec_vcmpgtsb_p(__CR6_EQ, __a, __b);
12120 vector bool char __b) {
12121 return __builtin_altivec_vcmpgtsb_p(__CR6_EQ, __a, (vector signed char)__b);
12125 vector unsigned char __b) {
12126 return __builtin_altivec_vcmpgtub_p(__CR6_EQ, __a, __b);
12130 vector bool char __b) {
12131 return __builtin_altivec_vcmpgtub_p(__CR6_EQ, __a, (vector unsigned char)__b);
12135 vector signed char __b) {
12137 (vector unsigned char)__b);
12141 vector unsigned char __b) {
12142 return __builtin_altivec_vcmpgtub_p(__CR6_EQ, (vector unsigned char)__a, __b);
12145 static int __ATTRS_o_ai vec_all_le(vector bool char __a, vector bool char __b) {
12147 (vector unsigned char)__b);
12150 static int __ATTRS_o_ai vec_all_le(vector short __a, vector short __b) {
12151 return __builtin_altivec_vcmpgtsh_p(__CR6_EQ, __a, __b);
12154 static int __ATTRS_o_ai vec_all_le(vector short __a, vector bool short __b) {
12155 return __builtin_altivec_vcmpgtsh_p(__CR6_EQ, __a, (vector short)__b);
12159 vector unsigned short __b) {
12160 return __builtin_altivec_vcmpgtuh_p(__CR6_EQ, __a, __b);
12164 vector bool short __b) {
12166 (vector unsigned short)__b);
12169 static int __ATTRS_o_ai vec_all_le(vector bool short __a, vector short __b) {
12171 (vector unsigned short)__b);
12175 vector unsigned short __b) {
12177 __b);
12181 vector bool short __b) {
12183 (vector unsigned short)__b);
12186 static int __ATTRS_o_ai vec_all_le(vector int __a, vector int __b) {
12187 return __builtin_altivec_vcmpgtsw_p(__CR6_EQ, __a, __b);
12190 static int __ATTRS_o_ai vec_all_le(vector int __a, vector bool int __b) {
12191 return __builtin_altivec_vcmpgtsw_p(__CR6_EQ, __a, (vector int)__b);
12195 vector unsigned int __b) {
12196 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ, __a, __b);
12200 vector bool int __b) {
12201 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ, __a, (vector unsigned int)__b);
12204 static int __ATTRS_o_ai vec_all_le(vector bool int __a, vector int __b) {
12206 (vector unsigned int)__b);
12210 vector unsigned int __b) {
12211 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ, (vector unsigned int)__a, __b);
12214 static int __ATTRS_o_ai vec_all_le(vector bool int __a, vector bool int __b) {
12216 (vector unsigned int)__b);
12221 vector signed long long __b) {
12222 return __builtin_altivec_vcmpgtsd_p(__CR6_EQ, __a, __b);
12226 vector unsigned long long __b) {
12227 return __builtin_altivec_vcmpgtud_p(__CR6_EQ, __a, __b);
12231 vector bool long long __b) {
12233 (vector signed long long)__b);
12237 vector bool long long __b) {
12239 (vector unsigned long long)__b);
12243 vector signed long long __b) {
12245 __b);
12249 vector unsigned long long __b) {
12251 __b);
12255 vector bool long long __b) {
12257 (vector unsigned long long)__b);
12261 static int __ATTRS_o_ai vec_all_le(vector float __a, vector float __b) {
12263 return __builtin_vsx_xvcmpgesp_p(__CR6_LT, __b, __a);
12265 return __builtin_altivec_vcmpgefp_p(__CR6_LT, __b, __a);
12270 static int __ATTRS_o_ai vec_all_le(vector double __a, vector double __b) {
12271 return __builtin_vsx_xvcmpgedp_p(__CR6_LT, __b, __a);
12278 vector signed char __b) {
12279 return __builtin_altivec_vcmpgtsb_p(__CR6_LT, __b, __a);
12283 vector bool char __b) {
12284 return __builtin_altivec_vcmpgtsb_p(__CR6_LT, (vector signed char)__b, __a);
12288 vector unsigned char __b) {
12289 return __builtin_altivec_vcmpgtub_p(__CR6_LT, __b, __a);
12293 vector bool char __b) {
12294 return __builtin_altivec_vcmpgtub_p(__CR6_LT, (vector unsigned char)__b, __a);
12298 vector signed char __b) {
12299 return __builtin_altivec_vcmpgtub_p(__CR6_LT, (vector unsigned char)__b,
12304 vector unsigned char __b) {
12305 return __builtin_altivec_vcmpgtub_p(__CR6_LT, __b, (vector unsigned char)__a);
12308 static int __ATTRS_o_ai vec_all_lt(vector bool char __a, vector bool char __b) {
12309 return __builtin_altivec_vcmpgtub_p(__CR6_LT, (vector unsigned char)__b,
12313 static int __ATTRS_o_ai vec_all_lt(vector short __a, vector short __b) {
12314 return __builtin_altivec_vcmpgtsh_p(__CR6_LT, __b, __a);
12317 static int __ATTRS_o_ai vec_all_lt(vector short __a, vector bool short __b) {
12318 return __builtin_altivec_vcmpgtsh_p(__CR6_LT, (vector short)__b, __a);
12322 vector unsigned short __b) {
12323 return __builtin_altivec_vcmpgtuh_p(__CR6_LT, __b, __a);
12327 vector bool short __b) {
12328 return __builtin_altivec_vcmpgtuh_p(__CR6_LT, (vector unsigned short)__b,
12332 static int __ATTRS_o_ai vec_all_lt(vector bool short __a, vector short __b) {
12333 return __builtin_altivec_vcmpgtuh_p(__CR6_LT, (vector unsigned short)__b,
12338 vector unsigned short __b) {
12339 return __builtin_altivec_vcmpgtuh_p(__CR6_LT, __b,
12344 vector bool short __b) {
12345 return __builtin_altivec_vcmpgtuh_p(__CR6_LT, (vector unsigned short)__b,
12349 static int __ATTRS_o_ai vec_all_lt(vector int __a, vector int __b) {
12350 return __builtin_altivec_vcmpgtsw_p(__CR6_LT, __b, __a);
12353 static int __ATTRS_o_ai vec_all_lt(vector int __a, vector bool int __b) {
12354 return __builtin_altivec_vcmpgtsw_p(__CR6_LT, (vector int)__b, __a);
12358 vector unsigned int __b) {
12359 return __builtin_altivec_vcmpgtuw_p(__CR6_LT, __b, __a);
12363 vector bool int __b) {
12364 return __builtin_altivec_vcmpgtuw_p(__CR6_LT, (vector unsigned int)__b, __a);
12367 static int __ATTRS_o_ai vec_all_lt(vector bool int __a, vector int __b) {
12368 return __builtin_altivec_vcmpgtuw_p(__CR6_LT, (vector unsigned int)__b,
12373 vector unsigned int __b) {
12374 return __builtin_altivec_vcmpgtuw_p(__CR6_LT, __b, (vector unsigned int)__a);
12377 static int __ATTRS_o_ai vec_all_lt(vector bool int __a, vector bool int __b) {
12378 return __builtin_altivec_vcmpgtuw_p(__CR6_LT, (vector unsigned int)__b,
12384 vector signed long long __b) {
12385 return __builtin_altivec_vcmpgtsd_p(__CR6_LT, __b, __a);
12389 vector unsigned long long __b) {
12390 return __builtin_altivec_vcmpgtud_p(__CR6_LT, __b, __a);
12394 vector bool long long __b) {
12395 return __builtin_altivec_vcmpgtsd_p(__CR6_LT, (vector signed long long)__b,
12400 vector bool long long __b) {
12401 return __builtin_altivec_vcmpgtud_p(__CR6_LT, (vector unsigned long long)__b,
12406 vector signed long long __b) {
12407 return __builtin_altivec_vcmpgtud_p(__CR6_LT, (vector unsigned long long)__b,
12412 vector unsigned long long __b) {
12413 return __builtin_altivec_vcmpgtud_p(__CR6_LT, __b,
12418 vector bool long long __b) {
12419 return __builtin_altivec_vcmpgtud_p(__CR6_LT, (vector unsigned long long)__b,
12424 static int __ATTRS_o_ai vec_all_lt(vector float __a, vector float __b) {
12426 return __builtin_vsx_xvcmpgtsp_p(__CR6_LT, __b, __a);
12428 return __builtin_altivec_vcmpgtfp_p(__CR6_LT, __b, __a);
12433 static int __ATTRS_o_ai vec_all_lt(vector double __a, vector double __b) {
12434 return __builtin_vsx_xvcmpgtdp_p(__CR6_LT, __b, __a);
12457 vector signed char __b) {
12459 (vector char)__b);
12463 vector bool char __b) {
12465 (vector char)__b);
12469 vector unsigned char __b) {
12471 (vector char)__b);
12475 vector bool char __b) {
12477 (vector char)__b);
12481 vector signed char __b) {
12483 (vector char)__b);
12487 vector unsigned char __b) {
12489 (vector char)__b);
12492 static int __ATTRS_o_ai vec_all_ne(vector bool char __a, vector bool char __b) {
12494 (vector char)__b);
12497 static int __ATTRS_o_ai vec_all_ne(vector short __a, vector short __b) {
12498 return __builtin_altivec_vcmpequh_p(__CR6_EQ, __a, __b);
12501 static int __ATTRS_o_ai vec_all_ne(vector short __a, vector bool short __b) {
12502 return __builtin_altivec_vcmpequh_p(__CR6_EQ, __a, (vector short)__b);
12506 vector unsigned short __b) {
12508 (vector short)__b);
12512 vector bool short __b) {
12514 (vector short)__b);
12517 static int __ATTRS_o_ai vec_all_ne(vector bool short __a, vector short __b) {
12519 (vector short)__b);
12523 vector unsigned short __b) {
12525 (vector short)__b);
12529 vector bool short __b) {
12531 (vector short)__b);
12534 static int __ATTRS_o_ai vec_all_ne(vector pixel __a, vector pixel __b) {
12536 (vector short)__b);
12539 static int __ATTRS_o_ai vec_all_ne(vector int __a, vector int __b) {
12540 return __builtin_altivec_vcmpequw_p(__CR6_EQ, __a, __b);
12543 static int __ATTRS_o_ai vec_all_ne(vector int __a, vector bool int __b) {
12544 return __builtin_altivec_vcmpequw_p(__CR6_EQ, __a, (vector int)__b);
12548 vector unsigned int __b) {
12550 (vector int)__b);
12554 vector bool int __b) {
12556 (vector int)__b);
12559 static int __ATTRS_o_ai vec_all_ne(vector bool int __a, vector int __b) {
12561 (vector int)__b);
12565 vector unsigned int __b) {
12567 (vector int)__b);
12570 static int __ATTRS_o_ai vec_all_ne(vector bool int __a, vector bool int __b) {
12572 (vector int)__b);
12577 vector signed long long __b) {
12578 return __builtin_altivec_vcmpequd_p(__CR6_EQ, __a, __b);
12582 vector unsigned long long __b) {
12584 (vector long long)__b);
12588 vector bool long long __b) {
12590 (vector signed long long)__b);
12594 vector bool long long __b) {
12596 (vector signed long long)__b);
12600 vector signed long long __b) {
12602 (vector signed long long)__b);
12606 vector unsigned long long __b) {
12608 (vector signed long long)__b);
12612 vector bool long long __b) {
12614 (vector signed long long)__b);
12618 static int __ATTRS_o_ai vec_all_ne(vector float __a, vector float __b) {
12620 return __builtin_vsx_xvcmpeqdp_p(__CR6_EQ, __a, __b);
12622 return __builtin_altivec_vcmpeqfp_p(__CR6_EQ, __a, __b);
12627 static int __ATTRS_o_ai vec_all_ne(vector double __a, vector double __b) {
12628 return __builtin_vsx_xvcmpeqdp_p(__CR6_EQ, __a, __b);
12635 vec_all_nge(vector float __a, vector float __b) {
12637 return __builtin_vsx_xvcmpgesp_p(__CR6_EQ, __a, __b);
12639 return __builtin_altivec_vcmpgefp_p(__CR6_EQ, __a, __b);
12645 vec_all_nge(vector double __a, vector double __b) {
12646 return __builtin_vsx_xvcmpgedp_p(__CR6_EQ, __a, __b);
12653 vec_all_ngt(vector float __a, vector float __b) {
12655 return __builtin_vsx_xvcmpgtsp_p(__CR6_EQ, __a, __b);
12657 return __builtin_altivec_vcmpgtfp_p(__CR6_EQ, __a, __b);
12663 vec_all_ngt(vector double __a, vector double __b) {
12664 return __builtin_vsx_xvcmpgtdp_p(__CR6_EQ, __a, __b);
12671 vec_all_nle(vector float __a, vector float __b) {
12672 return __builtin_altivec_vcmpgefp_p(__CR6_EQ, __b, __a);
12678 vec_all_nlt(vector float __a, vector float __b) {
12679 return __builtin_altivec_vcmpgtfp_p(__CR6_EQ, __b, __a);
12692 vector signed char __b) {
12694 (vector char)__b);
12698 __b) {
12700 (vector char)__b);
12704 vector unsigned char __b) {
12706 (vector char)__b);
12710 vector bool char __b) {
12712 (vector char)__b);
12716 vector signed char __b) {
12718 (vector char)__b);
12722 vector unsigned char __b) {
12724 (vector char)__b);
12727 static int __ATTRS_o_ai vec_any_eq(vector bool char __a, vector bool char __b) {
12729 (vector char)__b);
12732 static int __ATTRS_o_ai vec_any_eq(vector short __a, vector short __b) {
12733 return __builtin_altivec_vcmpequh_p(__CR6_EQ_REV, __a, __b);
12736 static int __ATTRS_o_ai vec_any_eq(vector short __a, vector bool short __b) {
12737 return __builtin_altivec_vcmpequh_p(__CR6_EQ_REV, __a, (vector short)__b);
12741 vector unsigned short __b) {
12743 (vector short)__b);
12747 vector bool short __b) {
12749 (vector short)__b);
12752 static int __ATTRS_o_ai vec_any_eq(vector bool short __a, vector short __b) {
12754 (vector short)__b);
12758 vector unsigned short __b) {
12760 (vector short)__b);
12764 vector bool short __b) {
12766 (vector short)__b);
12769 static int __ATTRS_o_ai vec_any_eq(vector pixel __a, vector pixel __b) {
12771 (vector short)__b);
12774 static int __ATTRS_o_ai vec_any_eq(vector int __a, vector int __b) {
12775 return __builtin_altivec_vcmpequw_p(__CR6_EQ_REV, __a, __b);
12778 static int __ATTRS_o_ai vec_any_eq(vector int __a, vector bool int __b) {
12779 return __builtin_altivec_vcmpequw_p(__CR6_EQ_REV, __a, (vector int)__b);
12783 vector unsigned int __b) {
12785 (vector int)__b);
12789 vector bool int __b) {
12791 (vector int)__b);
12794 static int __ATTRS_o_ai vec_any_eq(vector bool int __a, vector int __b) {
12796 (vector int)__b);
12800 vector unsigned int __b) {
12802 (vector int)__b);
12805 static int __ATTRS_o_ai vec_any_eq(vector bool int __a, vector bool int __b) {
12807 (vector int)__b);
12812 vector signed long long __b) {
12813 return __builtin_altivec_vcmpequd_p(__CR6_EQ_REV, __a, __b);
12817 vector unsigned long long __b) {
12819 (vector long long)__b);
12823 vector bool long long __b) {
12825 (vector signed long long)__b);
12829 vector bool long long __b) {
12831 __CR6_EQ_REV, (vector signed long long)__a, (vector signed long long)__b);
12835 vector signed long long __b) {
12837 __CR6_EQ_REV, (vector signed long long)__a, (vector signed long long)__b);
12841 vector unsigned long long __b) {
12843 __CR6_EQ_REV, (vector signed long long)__a, (vector signed long long)__b);
12847 vector bool long long __b) {
12849 __CR6_EQ_REV, (vector signed long long)__a, (vector signed long long)__b);
12853 static int __ATTRS_o_ai vec_any_eq(vector float __a, vector float __b) {
12855 return __builtin_vsx_xvcmpeqsp_p(__CR6_EQ_REV, __a, __b);
12857 return __builtin_altivec_vcmpeqfp_p(__CR6_EQ_REV, __a, __b);
12862 static int __ATTRS_o_ai vec_any_eq(vector double __a, vector double __b) {
12863 return __builtin_vsx_xvcmpeqdp_p(__CR6_EQ_REV, __a, __b);
12870 vector signed char __b) {
12871 return __builtin_altivec_vcmpgtsb_p(__CR6_LT_REV, __b, __a);
12875 vector bool char __b) {
12876 return __builtin_altivec_vcmpgtsb_p(__CR6_LT_REV, (vector signed char)__b,
12881 vector unsigned char __b) {
12882 return __builtin_altivec_vcmpgtub_p(__CR6_LT_REV, __b, __a);
12886 vector bool char __b) {
12887 return __builtin_altivec_vcmpgtub_p(__CR6_LT_REV, (vector unsigned char)__b,
12892 vector signed char __b) {
12893 return __builtin_altivec_vcmpgtub_p(__CR6_LT_REV, (vector unsigned char)__b,
12898 vector unsigned char __b) {
12899 return __builtin_altivec_vcmpgtub_p(__CR6_LT_REV, __b,
12903 static int __ATTRS_o_ai vec_any_ge(vector bool char __a, vector bool char __b) {
12904 return __builtin_altivec_vcmpgtub_p(__CR6_LT_REV, (vector unsigned char)__b,
12908 static int __ATTRS_o_ai vec_any_ge(vector short __a, vector short __b) {
12909 return __builtin_altivec_vcmpgtsh_p(__CR6_LT_REV, __b, __a);
12912 static int __ATTRS_o_ai vec_any_ge(vector short __a, vector bool short __b) {
12913 return __builtin_altivec_vcmpgtsh_p(__CR6_LT_REV, (vector short)__b, __a);
12917 vector unsigned short __b) {
12918 return __builtin_altivec_vcmpgtuh_p(__CR6_LT_REV, __b, __a);
12922 vector bool short __b) {
12923 return __builtin_altivec_vcmpgtuh_p(__CR6_LT_REV, (vector unsigned short)__b,
12927 static int __ATTRS_o_ai vec_any_ge(vector bool short __a, vector short __b) {
12928 return __builtin_altivec_vcmpgtuh_p(__CR6_LT_REV, (vector unsigned short)__b,
12933 vector unsigned short __b) {
12934 return __builtin_altivec_vcmpgtuh_p(__CR6_LT_REV, __b,
12939 vector bool short __b) {
12940 return __builtin_altivec_vcmpgtuh_p(__CR6_LT_REV, (vector unsigned short)__b,
12944 static int __ATTRS_o_ai vec_any_ge(vector int __a, vector int __b) {
12945 return __builtin_altivec_vcmpgtsw_p(__CR6_LT_REV, __b, __a);
12948 static int __ATTRS_o_ai vec_any_ge(vector int __a, vector bool int __b) {
12949 return __builtin_altivec_vcmpgtsw_p(__CR6_LT_REV, (vector int)__b, __a);
12953 vector unsigned int __b) {
12954 return __builtin_altivec_vcmpgtuw_p(__CR6_LT_REV, __b, __a);
12958 vector bool int __b) {
12959 return __builtin_altivec_vcmpgtuw_p(__CR6_LT_REV, (vector unsigned int)__b,
12963 static int __ATTRS_o_ai vec_any_ge(vector bool int __a, vector int __b) {
12964 return __builtin_altivec_vcmpgtuw_p(__CR6_LT_REV, (vector unsigned int)__b,
12969 vector unsigned int __b) {
12970 return __builtin_altivec_vcmpgtuw_p(__CR6_LT_REV, __b,
12974 static int __ATTRS_o_ai vec_any_ge(vector bool int __a, vector bool int __b) {
12975 return __builtin_altivec_vcmpgtuw_p(__CR6_LT_REV, (vector unsigned int)__b,
12981 vector signed long long __b) {
12982 return __builtin_altivec_vcmpgtsd_p(__CR6_LT_REV, __b, __a);
12986 vector unsigned long long __b) {
12987 return __builtin_altivec_vcmpgtud_p(__CR6_LT_REV, __b, __a);
12991 vector bool long long __b) {
12993 (vector signed long long)__b, __a);
12997 vector bool long long __b) {
12999 (vector unsigned long long)__b, __a);
13003 vector signed long long __b) {
13005 (vector unsigned long long)__b,
13010 vector unsigned long long __b) {
13011 return __builtin_altivec_vcmpgtud_p(__CR6_LT_REV, __b,
13016 vector bool long long __b) {
13018 (vector unsigned long long)__b,
13023 static int __ATTRS_o_ai vec_any_ge(vector float __a, vector float __b) {
13025 return __builtin_vsx_xvcmpgesp_p(__CR6_EQ_REV, __a, __b);
13027 return __builtin_altivec_vcmpgefp_p(__CR6_EQ_REV, __a, __b);
13032 static int __ATTRS_o_ai vec_any_ge(vector double __a, vector double __b) {
13033 return __builtin_vsx_xvcmpgedp_p(__CR6_EQ_REV, __a, __b);
13040 vector signed char __b) {
13041 return __builtin_altivec_vcmpgtsb_p(__CR6_EQ_REV, __a, __b);
13045 vector bool char __b) {
13047 (vector signed char)__b);
13051 vector unsigned char __b) {
13052 return __builtin_altivec_vcmpgtub_p(__CR6_EQ_REV, __a, __b);
13056 vector bool char __b) {
13058 (vector unsigned char)__b);
13062 vector signed char __b) {
13064 (vector unsigned char)__b);
13068 vector unsigned char __b) {
13070 __b);
13073 static int __ATTRS_o_ai vec_any_gt(vector bool char __a, vector bool char __b) {
13075 (vector unsigned char)__b);
13078 static int __ATTRS_o_ai vec_any_gt(vector short __a, vector short __b) {
13079 return __builtin_altivec_vcmpgtsh_p(__CR6_EQ_REV, __a, __b);
13082 static int __ATTRS_o_ai vec_any_gt(vector short __a, vector bool short __b) {
13083 return __builtin_altivec_vcmpgtsh_p(__CR6_EQ_REV, __a, (vector short)__b);
13087 vector unsigned short __b) {
13088 return __builtin_altivec_vcmpgtuh_p(__CR6_EQ_REV, __a, __b);
13092 vector bool short __b) {
13094 (vector unsigned short)__b);
13097 static int __ATTRS_o_ai vec_any_gt(vector bool short __a, vector short __b) {
13099 (vector unsigned short)__b);
13103 vector unsigned short __b) {
13105 __b);
13109 __b) {
13111 (vector unsigned short)__b);
13114 static int __ATTRS_o_ai vec_any_gt(vector int __a, vector int __b) {
13115 return __builtin_altivec_vcmpgtsw_p(__CR6_EQ_REV, __a, __b);
13118 static int __ATTRS_o_ai vec_any_gt(vector int __a, vector bool int __b) {
13119 return __builtin_altivec_vcmpgtsw_p(__CR6_EQ_REV, __a, (vector int)__b);
13123 vector unsigned int __b) {
13124 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ_REV, __a, __b);
13128 vector bool int __b) {
13130 (vector unsigned int)__b);
13133 static int __ATTRS_o_ai vec_any_gt(vector bool int __a, vector int __b) {
13135 (vector unsigned int)__b);
13139 vector unsigned int __b) {
13141 __b);
13144 static int __ATTRS_o_ai vec_any_gt(vector bool int __a, vector bool int __b) {
13146 (vector unsigned int)__b);
13151 vector signed long long __b) {
13152 return __builtin_altivec_vcmpgtsd_p(__CR6_EQ_REV, __a, __b);
13156 vector unsigned long long __b) {
13157 return __builtin_altivec_vcmpgtud_p(__CR6_EQ_REV, __a, __b);
13161 vector bool long long __b) {
13163 (vector signed long long)__b);
13167 vector bool long long __b) {
13169 (vector unsigned long long)__b);
13173 vector signed long long __b) {
13176 (vector unsigned long long)__b);
13180 vector unsigned long long __b) {
13182 (vector unsigned long long)__a, __b);
13186 vector bool long long __b) {
13189 (vector unsigned long long)__b);
13193 static int __ATTRS_o_ai vec_any_gt(vector float __a, vector float __b) {
13195 return __builtin_vsx_xvcmpgtsp_p(__CR6_EQ_REV, __a, __b);
13197 return __builtin_altivec_vcmpgtfp_p(__CR6_EQ_REV, __a, __b);
13202 static int __ATTRS_o_ai vec_any_gt(vector double __a, vector double __b) {
13203 return __builtin_vsx_xvcmpgtdp_p(__CR6_EQ_REV, __a, __b);
13210 vector signed char __b) {
13211 return __builtin_altivec_vcmpgtsb_p(__CR6_LT_REV, __a, __b);
13215 vector bool char __b) {
13217 (vector signed char)__b);
13221 vector unsigned char __b) {
13222 return __builtin_altivec_vcmpgtub_p(__CR6_LT_REV, __a, __b);
13226 vector bool char __b) {
13228 (vector unsigned char)__b);
13232 vector signed char __b) {
13234 (vector unsigned char)__b);
13238 vector unsigned char __b) {
13240 __b);
13243 static int __ATTRS_o_ai vec_any_le(vector bool char __a, vector bool char __b) {
13245 (vector unsigned char)__b);
13248 static int __ATTRS_o_ai vec_any_le(vector short __a, vector short __b) {
13249 return __builtin_altivec_vcmpgtsh_p(__CR6_LT_REV, __a, __b);
13252 static int __ATTRS_o_ai vec_any_le(vector short __a, vector bool short __b) {
13253 return __builtin_altivec_vcmpgtsh_p(__CR6_LT_REV, __a, (vector short)__b);
13257 vector unsigned short __b) {
13258 return __builtin_altivec_vcmpgtuh_p(__CR6_LT_REV, __a, __b);
13262 vector bool short __b) {
13264 (vector unsigned short)__b);
13267 static int __ATTRS_o_ai vec_any_le(vector bool short __a, vector short __b) {
13269 (vector unsigned short)__b);
13273 vector unsigned short __b) {
13275 __b);
13279 vector bool short __b) {
13281 (vector unsigned short)__b);
13284 static int __ATTRS_o_ai vec_any_le(vector int __a, vector int __b) {
13285 return __builtin_altivec_vcmpgtsw_p(__CR6_LT_REV, __a, __b);
13288 static int __ATTRS_o_ai vec_any_le(vector int __a, vector bool int __b) {
13289 return __builtin_altivec_vcmpgtsw_p(__CR6_LT_REV, __a, (vector int)__b);
13293 vector unsigned int __b) {
13294 return __builtin_altivec_vcmpgtuw_p(__CR6_LT_REV, __a, __b);
13298 vector bool int __b) {
13300 (vector unsigned int)__b);
13303 static int __ATTRS_o_ai vec_any_le(vector bool int __a, vector int __b) {
13305 (vector unsigned int)__b);
13309 vector unsigned int __b) {
13311 __b);
13314 static int __ATTRS_o_ai vec_any_le(vector bool int __a, vector bool int __b) {
13316 (vector unsigned int)__b);
13321 vector signed long long __b) {
13322 return __builtin_altivec_vcmpgtsd_p(__CR6_LT_REV, __a, __b);
13326 vector unsigned long long __b) {
13327 return __builtin_altivec_vcmpgtud_p(__CR6_LT_REV, __a, __b);
13331 vector bool long long __b) {
13333 (vector signed long long)__b);
13337 vector bool long long __b) {
13339 (vector unsigned long long)__b);
13343 vector signed long long __b) {
13346 (vector unsigned long long)__b);
13350 vector unsigned long long __b) {
13352 (vector unsigned long long)__a, __b);
13356 vector bool long long __b) {
13359 (vector unsigned long long)__b);
13363 static int __ATTRS_o_ai vec_any_le(vector float __a, vector float __b) {
13365 return __builtin_vsx_xvcmpgesp_p(__CR6_EQ_REV, __b, __a);
13367 return __builtin_altivec_vcmpgefp_p(__CR6_EQ_REV, __b, __a);
13372 static int __ATTRS_o_ai vec_any_le(vector double __a, vector double __b) {
13373 return __builtin_vsx_xvcmpgedp_p(__CR6_EQ_REV, __b, __a);
13380 vector signed char __b) {
13381 return __builtin_altivec_vcmpgtsb_p(__CR6_EQ_REV, __b, __a);
13385 vector bool char __b) {
13386 return __builtin_altivec_vcmpgtsb_p(__CR6_EQ_REV, (vector signed char)__b,
13391 vector unsigned char __b) {
13392 return __builtin_altivec_vcmpgtub_p(__CR6_EQ_REV, __b, __a);
13396 vector bool char __b) {
13397 return __builtin_altivec_vcmpgtub_p(__CR6_EQ_REV, (vector unsigned char)__b,
13402 vector signed char __b) {
13403 return __builtin_altivec_vcmpgtub_p(__CR6_EQ_REV, (vector unsigned char)__b,
13408 vector unsigned char __b) {
13409 return __builtin_altivec_vcmpgtub_p(__CR6_EQ_REV, __b,
13413 static int __ATTRS_o_ai vec_any_lt(vector bool char __a, vector bool char __b) {
13414 return __builtin_altivec_vcmpgtub_p(__CR6_EQ_REV, (vector unsigned char)__b,
13418 static int __ATTRS_o_ai vec_any_lt(vector short __a, vector short __b) {
13419 return __builtin_altivec_vcmpgtsh_p(__CR6_EQ_REV, __b, __a);
13422 static int __ATTRS_o_ai vec_any_lt(vector short __a, vector bool short __b) {
13423 return __builtin_altivec_vcmpgtsh_p(__CR6_EQ_REV, (vector short)__b, __a);
13427 vector unsigned short __b) {
13428 return __builtin_altivec_vcmpgtuh_p(__CR6_EQ_REV, __b, __a);
13432 vector bool short __b) {
13433 return __builtin_altivec_vcmpgtuh_p(__CR6_EQ_REV, (vector unsigned short)__b,
13437 static int __ATTRS_o_ai vec_any_lt(vector bool short __a, vector short __b) {
13438 return __builtin_altivec_vcmpgtuh_p(__CR6_EQ_REV, (vector unsigned short)__b,
13443 vector unsigned short __b) {
13444 return __builtin_altivec_vcmpgtuh_p(__CR6_EQ_REV, __b,
13449 vector bool short __b) {
13450 return __builtin_altivec_vcmpgtuh_p(__CR6_EQ_REV, (vector unsigned short)__b,
13454 static int __ATTRS_o_ai vec_any_lt(vector int __a, vector int __b) {
13455 return __builtin_altivec_vcmpgtsw_p(__CR6_EQ_REV, __b, __a);
13458 static int __ATTRS_o_ai vec_any_lt(vector int __a, vector bool int __b) {
13459 return __builtin_altivec_vcmpgtsw_p(__CR6_EQ_REV, (vector int)__b, __a);
13463 vector unsigned int __b) {
13464 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ_REV, __b, __a);
13468 vector bool int __b) {
13469 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ_REV, (vector unsigned int)__b,
13473 static int __ATTRS_o_ai vec_any_lt(vector bool int __a, vector int __b) {
13474 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ_REV, (vector unsigned int)__b,
13479 vector unsigned int __b) {
13480 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ_REV, __b,
13484 static int __ATTRS_o_ai vec_any_lt(vector bool int __a, vector bool int __b) {
13485 return __builtin_altivec_vcmpgtuw_p(__CR6_EQ_REV, (vector unsigned int)__b,
13491 vector signed long long __b) {
13492 return __builtin_altivec_vcmpgtsd_p(__CR6_EQ_REV, __b, __a);
13496 vector unsigned long long __b) {
13497 return __builtin_altivec_vcmpgtud_p(__CR6_EQ_REV, __b, __a);
13501 vector bool long long __b) {
13503 (vector signed long long)__b, __a);
13507 vector bool long long __b) {
13509 (vector unsigned long long)__b, __a);
13513 vector signed long long __b) {
13515 (vector unsigned long long)__b,
13520 vector unsigned long long __b) {
13521 return __builtin_altivec_vcmpgtud_p(__CR6_EQ_REV, __b,
13526 vector bool long long __b) {
13528 (vector unsigned long long)__b,
13533 static int __ATTRS_o_ai vec_any_lt(vector float __a, vector float __b) {
13535 return __builtin_vsx_xvcmpgtsp_p(__CR6_EQ_REV, __b, __a);
13537 return __builtin_altivec_vcmpgtfp_p(__CR6_EQ_REV, __b, __a);
13542 static int __ATTRS_o_ai vec_any_lt(vector double __a, vector double __b) {
13543 return __builtin_vsx_xvcmpgtdp_p(__CR6_EQ_REV, __b, __a);
13556 vector signed char __b) {
13558 (vector char)__b);
13562 vector bool char __b) {
13564 (vector char)__b);
13568 vector unsigned char __b) {
13570 (vector char)__b);
13574 vector bool char __b) {
13576 (vector char)__b);
13580 vector signed char __b) {
13582 (vector char)__b);
13586 vector unsigned char __b) {
13588 (vector char)__b);
13591 static int __ATTRS_o_ai vec_any_ne(vector bool char __a, vector bool char __b) {
13593 (vector char)__b);
13596 static int __ATTRS_o_ai vec_any_ne(vector short __a, vector short __b) {
13597 return __builtin_altivec_vcmpequh_p(__CR6_LT_REV, __a, __b);
13600 static int __ATTRS_o_ai vec_any_ne(vector short __a, vector bool short __b) {
13601 return __builtin_altivec_vcmpequh_p(__CR6_LT_REV, __a, (vector short)__b);
13605 vector unsigned short __b) {
13607 (vector short)__b);
13611 vector bool short __b) {
13613 (vector short)__b);
13616 static int __ATTRS_o_ai vec_any_ne(vector bool short __a, vector short __b) {
13618 (vector short)__b);
13622 vector unsigned short __b) {
13624 (vector short)__b);
13628 vector bool short __b) {
13630 (vector short)__b);
13633 static int __ATTRS_o_ai vec_any_ne(vector pixel __a, vector pixel __b) {
13635 (vector short)__b);
13638 static int __ATTRS_o_ai vec_any_ne(vector int __a, vector int __b) {
13639 return __builtin_altivec_vcmpequw_p(__CR6_LT_REV, __a, __b);
13642 static int __ATTRS_o_ai vec_any_ne(vector int __a, vector bool int __b) {
13643 return __builtin_altivec_vcmpequw_p(__CR6_LT_REV, __a, (vector int)__b);
13647 vector unsigned int __b) {
13649 (vector int)__b);
13653 vector bool int __b) {
13655 (vector int)__b);
13658 static int __ATTRS_o_ai vec_any_ne(vector bool int __a, vector int __b) {
13660 (vector int)__b);
13664 vector unsigned int __b) {
13666 (vector int)__b);
13669 static int __ATTRS_o_ai vec_any_ne(vector bool int __a, vector bool int __b) {
13671 (vector int)__b);
13676 vector signed long long __b) {
13677 return __builtin_altivec_vcmpequd_p(__CR6_LT_REV, __a, __b);
13681 vector unsigned long long __b) {
13683 (vector long long)__b);
13687 vector bool long long __b) {
13689 (vector signed long long)__b);
13693 vector bool long long __b) {
13695 __CR6_LT_REV, (vector signed long long)__a, (vector signed long long)__b);
13699 vector signed long long __b) {
13701 __CR6_LT_REV, (vector signed long long)__a, (vector signed long long)__b);
13705 vector unsigned long long __b) {
13707 __CR6_LT_REV, (vector signed long long)__a, (vector signed long long)__b);
13711 vector bool long long __b) {
13713 __CR6_LT_REV, (vector signed long long)__a, (vector signed long long)__b);
13717 static int __ATTRS_o_ai vec_any_ne(vector float __a, vector float __b) {
13719 return __builtin_vsx_xvcmpeqsp_p(__CR6_LT_REV, __a, __b);
13721 return __builtin_altivec_vcmpeqfp_p(__CR6_LT_REV, __a, __b);
13726 static int __ATTRS_o_ai vec_any_ne(vector double __a, vector double __b) {
13727 return __builtin_vsx_xvcmpeqdp_p(__CR6_LT_REV, __a, __b);
13734 vec_any_nge(vector float __a, vector float __b) {
13735 return __builtin_altivec_vcmpgefp_p(__CR6_LT_REV, __a, __b);
13741 vec_any_ngt(vector float __a, vector float __b) {
13742 return __builtin_altivec_vcmpgtfp_p(__CR6_LT_REV, __a, __b);
13748 vec_any_nle(vector float __a, vector float __b) {
13749 return __builtin_altivec_vcmpgefp_p(__CR6_LT_REV, __b, __a);
13755 vec_any_nlt(vector float __a, vector float __b) {
13756 return __builtin_altivec_vcmpgtfp_p(__CR6_LT_REV, __b, __a);
13769 vec_any_out(vector float __a, vector float __b) {
13770 return __builtin_altivec_vcmpbfp_p(__CR6_EQ_REV, __a, __b);
13800 vector unsigned long long __b) {
13801 return __builtin_altivec_crypto_vcipher(__a, __b);
13806 vector unsigned long long __b) {
13807 return __builtin_altivec_crypto_vcipherlast(__a, __b);
13812 vector unsigned long long __b) {
13813 return __builtin_altivec_crypto_vncipher(__a, __b);
13818 vector unsigned long long __b) {
13819 return __builtin_altivec_crypto_vncipherlast(__a, __b);
13833 __builtin_crypto_vpermxor(vector unsigned char __a, vector unsigned char __b,
13835 return __builtin_altivec_crypto_vpermxor(__a, __b, __c);
13839 __builtin_crypto_vpermxor(vector unsigned short __a, vector unsigned short __b,
13842 (vector unsigned char)__a, (vector unsigned char)__b,
13847 vector unsigned int __a, vector unsigned int __b, vector unsigned int __c) {
13849 (vector unsigned char)__a, (vector unsigned char)__b,
13854 vector unsigned long long __a, vector unsigned long long __b,
13857 (vector unsigned char)__a, (vector unsigned char)__b,
13862 __builtin_crypto_vpmsumb(vector unsigned char __a, vector unsigned char __b) {
13863 return __builtin_altivec_crypto_vpmsumb(__a, __b);
13867 __builtin_crypto_vpmsumb(vector unsigned short __a, vector unsigned short __b) {
13868 return __builtin_altivec_crypto_vpmsumh(__a, __b);
13872 __builtin_crypto_vpmsumb(vector unsigned int __a, vector unsigned int __b) {
13873 return __builtin_altivec_crypto_vpmsumw(__a, __b);
13878 vector unsigned long long __b) {
13879 return __builtin_altivec_crypto_vpmsumd(__a, __b);
13896 vec_vbpermq (vector signed char __a, vector signed char __b)
13899 (vector unsigned char) __b);
13903 vec_vbpermq (vector unsigned char __a, vector unsigned char __b)
13905 return __builtin_altivec_vbpermq(__a, __b);
13910 vec_bperm (vector unsigned __int128 __a, vector unsigned char __b) {
13912 (vector unsigned char) __b);