PR middle-end/20297
[official-gcc.git] / gcc / ada / g-alveop.adb
blob62e0b1712a62f4a9796d6a14affd88da2b023512
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT COMPILER COMPONENTS --
4 -- --
5 -- G N A T . A L T I V E C . V E C T O R _ O P E R A T I O N S --
6 -- --
7 -- B o d y --
8 -- --
9 -- Copyright (C) 2004-2005, Free Software Foundation, Inc. --
10 -- --
11 -- GNAT is free software; you can redistribute it and/or modify it under --
12 -- terms of the GNU General Public License as published by the Free Soft- --
13 -- ware Foundation; either version 2, or (at your option) any later ver- --
14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
15 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
16 -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
17 -- for more details. You should have received a copy of the GNU General --
18 -- Public License distributed with GNAT; see file COPYING. If not, write --
19 -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
20 -- MA 02111-1307, USA. --
21 -- --
22 -- As a special exception, if other files instantiate generics from this --
23 -- unit, or you link this unit with other files to produce an executable, --
24 -- this unit does not by itself cause the resulting executable to be --
25 -- covered by the GNU General Public License. This exception does not --
26 -- however invalidate any other reasons why the executable file might be --
27 -- covered by the GNU Public License. --
28 -- --
29 -- GNAT was originally developed by the GNAT team at New York University. --
30 -- Extensive contributions were provided by Ada Core Technologies Inc. --
31 -- --
32 ------------------------------------------------------------------------------
34 with GNAT.Altivec.Low_Level_Vectors; use GNAT.Altivec.Low_Level_Vectors;
36 package body GNAT.Altivec.Vector_Operations is
38 --------------------------------------------------------
39 -- Bodies for generic and specific Altivec operations --
40 --------------------------------------------------------
42 -- vec_abs --
44 function vec_abs
45 (A : vector_signed_char) return vector_signed_char
47 begin
48 return To_LL_VSC (abs_v16qi (A));
49 end vec_abs;
51 function vec_abs
52 (A : vector_signed_short) return vector_signed_short
54 begin
55 return To_LL_VSS (abs_v8hi (A));
56 end vec_abs;
58 function vec_abs
59 (A : vector_signed_int) return vector_signed_int
61 begin
62 return To_LL_VSI (abs_v4si (A));
63 end vec_abs;
65 function vec_abs
66 (A : vector_float) return vector_float
68 begin
69 return To_LL_VF (abs_v4sf (A));
70 end vec_abs;
72 -- vec_abss --
74 function vec_abss
75 (A : vector_signed_char) return vector_signed_char
77 begin
78 return To_LL_VSC (abss_v16qi (A));
79 end vec_abss;
81 function vec_abss
82 (A : vector_signed_short) return vector_signed_short
84 begin
85 return To_LL_VSS (abss_v8hi (A));
86 end vec_abss;
88 function vec_abss
89 (A : vector_signed_int) return vector_signed_int
91 begin
92 return To_LL_VSI (abss_v4si (A));
93 end vec_abss;
95 -- vec_add --
97 function vec_add
98 (A : vector_bool_char;
99 B : vector_signed_char) return vector_signed_char
101 begin
102 return To_LL_VSC (vaddubm (To_LL_VSC (A), To_LL_VSC (B)));
103 end vec_add;
105 function vec_add
106 (A : vector_signed_char;
107 B : vector_bool_char) return vector_signed_char
109 begin
110 return To_LL_VSC (vaddubm (To_LL_VSC (A), To_LL_VSC (B)));
111 end vec_add;
113 function vec_add
114 (A : vector_signed_char;
115 B : vector_signed_char) return vector_signed_char
117 begin
118 return To_LL_VSC (vaddubm (To_LL_VSC (A), To_LL_VSC (B)));
119 end vec_add;
121 function vec_add
122 (A : vector_bool_char;
123 B : vector_unsigned_char) return vector_unsigned_char
125 begin
126 return To_LL_VUC (vaddubm (To_LL_VSC (A), To_LL_VSC (B)));
127 end vec_add;
129 function vec_add
130 (A : vector_unsigned_char;
131 B : vector_bool_char) return vector_unsigned_char
133 begin
134 return To_LL_VUC (vaddubm (To_LL_VSC (A), To_LL_VSC (B)));
135 end vec_add;
137 function vec_add
138 (A : vector_unsigned_char;
139 B : vector_unsigned_char) return vector_unsigned_char
141 begin
142 return To_LL_VUC (vaddubm (To_LL_VSC (A), To_LL_VSC (B)));
143 end vec_add;
145 function vec_add
146 (A : vector_bool_short;
147 B : vector_signed_short) return vector_signed_short
149 begin
150 return To_LL_VSS (vadduhm (To_LL_VSS (A), To_LL_VSS (B)));
151 end vec_add;
153 function vec_add
154 (A : vector_signed_short;
155 B : vector_bool_short) return vector_signed_short
157 begin
158 return To_LL_VSS (vadduhm (To_LL_VSS (A), To_LL_VSS (B)));
159 end vec_add;
161 function vec_add
162 (A : vector_signed_short;
163 B : vector_signed_short) return vector_signed_short
165 begin
166 return To_LL_VSS (vadduhm (To_LL_VSS (A), To_LL_VSS (B)));
167 end vec_add;
169 function vec_add
170 (A : vector_bool_short;
171 B : vector_unsigned_short) return vector_unsigned_short
173 begin
174 return To_LL_VUS (vadduhm (To_LL_VSS (A), To_LL_VSS (B)));
175 end vec_add;
177 function vec_add
178 (A : vector_unsigned_short;
179 B : vector_bool_short) return vector_unsigned_short
181 begin
182 return To_LL_VUS (vadduhm (To_LL_VSS (A), To_LL_VSS (B)));
183 end vec_add;
185 function vec_add
186 (A : vector_unsigned_short;
187 B : vector_unsigned_short) return vector_unsigned_short
189 begin
190 return To_LL_VUS (vadduhm (To_LL_VSS (A), To_LL_VSS (B)));
191 end vec_add;
193 function vec_add
194 (A : vector_bool_int;
195 B : vector_signed_int) return vector_signed_int
197 begin
198 return To_LL_VSI (vadduwm (To_LL_VSI (A), To_LL_VSI (B)));
199 end vec_add;
201 function vec_add
202 (A : vector_signed_int;
203 B : vector_bool_int) return vector_signed_int
205 begin
206 return To_LL_VSI (vadduwm (To_LL_VSI (A), To_LL_VSI (B)));
207 end vec_add;
209 function vec_add
210 (A : vector_signed_int;
211 B : vector_signed_int) return vector_signed_int
213 begin
214 return To_LL_VSI (vadduwm (To_LL_VSI (A), To_LL_VSI (B)));
215 end vec_add;
217 function vec_add
218 (A : vector_bool_int;
219 B : vector_unsigned_int) return vector_unsigned_int
221 begin
222 return To_LL_VUI (vadduwm (To_LL_VSI (A), To_LL_VSI (B)));
223 end vec_add;
225 function vec_add
226 (A : vector_unsigned_int;
227 B : vector_bool_int) return vector_unsigned_int
229 begin
230 return To_LL_VUI (vadduwm (To_LL_VSI (A), To_LL_VSI (B)));
231 end vec_add;
233 function vec_add
234 (A : vector_unsigned_int;
235 B : vector_unsigned_int) return vector_unsigned_int
237 begin
238 return To_LL_VUI (vadduwm (To_LL_VSI (A), To_LL_VSI (B)));
239 end vec_add;
241 function vec_add
242 (A : vector_float;
243 B : vector_float) return vector_float
245 begin
246 return To_LL_VF (vaddfp (To_LL_VF (A), To_LL_VF (B)));
247 end vec_add;
249 -- vec_vaddfp --
251 function vec_vaddfp
252 (A : vector_float;
253 B : vector_float) return vector_float
255 begin
256 return To_LL_VF (vaddfp (To_LL_VF (A), To_LL_VF (B)));
257 end vec_vaddfp;
259 -- vec_vadduwm --
261 function vec_vadduwm
262 (A : vector_bool_int;
263 B : vector_signed_int) return vector_signed_int
265 begin
266 return To_LL_VSI (vadduwm (To_LL_VSI (A), To_LL_VSI (B)));
267 end vec_vadduwm;
269 function vec_vadduwm
270 (A : vector_signed_int;
271 B : vector_bool_int) return vector_signed_int
273 begin
274 return To_LL_VSI (vadduwm (To_LL_VSI (A), To_LL_VSI (B)));
275 end vec_vadduwm;
277 function vec_vadduwm
278 (A : vector_signed_int;
279 B : vector_signed_int) return vector_signed_int
281 begin
282 return To_LL_VSI (vadduwm (To_LL_VSI (A), To_LL_VSI (B)));
283 end vec_vadduwm;
285 function vec_vadduwm
286 (A : vector_bool_int;
287 B : vector_unsigned_int) return vector_unsigned_int
289 begin
290 return To_LL_VUI (vadduwm (To_LL_VSI (A), To_LL_VSI (B)));
291 end vec_vadduwm;
293 function vec_vadduwm
294 (A : vector_unsigned_int;
295 B : vector_bool_int) return vector_unsigned_int
297 begin
298 return To_LL_VUI (vadduwm (To_LL_VSI (A), To_LL_VSI (B)));
299 end vec_vadduwm;
301 function vec_vadduwm
302 (A : vector_unsigned_int;
303 B : vector_unsigned_int) return vector_unsigned_int
305 begin
306 return To_LL_VUI (vadduwm (To_LL_VSI (A), To_LL_VSI (B)));
307 end vec_vadduwm;
309 -- vec_vadduhm --
311 function vec_vadduhm
312 (A : vector_bool_short;
313 B : vector_signed_short) return vector_signed_short
315 begin
316 return To_LL_VSS (vadduhm (To_LL_VSS (A), To_LL_VSS (B)));
317 end vec_vadduhm;
319 function vec_vadduhm
320 (A : vector_signed_short;
321 B : vector_bool_short) return vector_signed_short
323 begin
324 return To_LL_VSS (vadduhm (To_LL_VSS (A), To_LL_VSS (B)));
325 end vec_vadduhm;
327 function vec_vadduhm
328 (A : vector_signed_short;
329 B : vector_signed_short) return vector_signed_short
331 begin
332 return To_LL_VSS (vadduhm (To_LL_VSS (A), To_LL_VSS (B)));
333 end vec_vadduhm;
335 function vec_vadduhm
336 (A : vector_bool_short;
337 B : vector_unsigned_short) return vector_unsigned_short
339 begin
340 return To_LL_VUS (vadduhm (To_LL_VSS (A), To_LL_VSS (B)));
341 end vec_vadduhm;
343 function vec_vadduhm
344 (A : vector_unsigned_short;
345 B : vector_bool_short) return vector_unsigned_short
347 begin
348 return To_LL_VUS (vadduhm (To_LL_VSS (A), To_LL_VSS (B)));
349 end vec_vadduhm;
351 function vec_vadduhm
352 (A : vector_unsigned_short;
353 B : vector_unsigned_short) return vector_unsigned_short
355 begin
356 return To_LL_VUS (vadduhm (To_LL_VSS (A), To_LL_VSS (B)));
357 end vec_vadduhm;
359 -- vec_vaddubm --
361 function vec_vaddubm
362 (A : vector_bool_char;
363 B : vector_signed_char) return vector_signed_char
365 begin
366 return To_LL_VSC (vaddubm (To_LL_VSC (A), To_LL_VSC (B)));
367 end vec_vaddubm;
369 function vec_vaddubm
370 (A : vector_signed_char;
371 B : vector_bool_char) return vector_signed_char
373 begin
374 return To_LL_VSC (vaddubm (To_LL_VSC (A), To_LL_VSC (B)));
375 end vec_vaddubm;
377 function vec_vaddubm
378 (A : vector_signed_char;
379 B : vector_signed_char) return vector_signed_char
381 begin
382 return To_LL_VSC (vaddubm (To_LL_VSC (A), To_LL_VSC (B)));
383 end vec_vaddubm;
385 function vec_vaddubm
386 (A : vector_bool_char;
387 B : vector_unsigned_char) return vector_unsigned_char
389 begin
390 return To_LL_VUC (vaddubm (To_LL_VSC (A), To_LL_VSC (B)));
391 end vec_vaddubm;
393 function vec_vaddubm
394 (A : vector_unsigned_char;
395 B : vector_bool_char) return vector_unsigned_char
397 begin
398 return To_LL_VUC (vaddubm (To_LL_VSC (A), To_LL_VSC (B)));
399 end vec_vaddubm;
401 function vec_vaddubm
402 (A : vector_unsigned_char;
403 B : vector_unsigned_char) return vector_unsigned_char
405 begin
406 return To_LL_VUC (vaddubm (To_LL_VSC (A), To_LL_VSC (B)));
407 end vec_vaddubm;
409 -- vec_addc --
411 function vec_addc
412 (A : vector_unsigned_int;
413 B : vector_unsigned_int) return vector_unsigned_int
415 begin
416 return To_LL_VUI (vaddcuw (To_LL_VSI (A), To_LL_VSI (B)));
417 end vec_addc;
419 -- vec_adds --
421 function vec_adds
422 (A : vector_bool_char;
423 B : vector_unsigned_char) return vector_unsigned_char
425 begin
426 return To_LL_VUC (vaddubs (To_LL_VSC (A), To_LL_VSC (B)));
427 end vec_adds;
429 function vec_adds
430 (A : vector_unsigned_char;
431 B : vector_bool_char) return vector_unsigned_char
433 begin
434 return To_LL_VUC (vaddubs (To_LL_VSC (A), To_LL_VSC (B)));
435 end vec_adds;
437 function vec_adds
438 (A : vector_unsigned_char;
439 B : vector_unsigned_char) return vector_unsigned_char
441 begin
442 return To_LL_VUC (vaddubs (To_LL_VSC (A), To_LL_VSC (B)));
443 end vec_adds;
445 function vec_adds
446 (A : vector_bool_char;
447 B : vector_signed_char) return vector_signed_char
449 begin
450 return To_LL_VSC (vaddsbs (To_LL_VSC (A), To_LL_VSC (B)));
451 end vec_adds;
453 function vec_adds
454 (A : vector_signed_char;
455 B : vector_bool_char) return vector_signed_char
457 begin
458 return To_LL_VSC (vaddsbs (To_LL_VSC (A), To_LL_VSC (B)));
459 end vec_adds;
461 function vec_adds
462 (A : vector_signed_char;
463 B : vector_signed_char) return vector_signed_char
465 begin
466 return To_LL_VSC (vaddsbs (To_LL_VSC (A), To_LL_VSC (B)));
467 end vec_adds;
469 function vec_adds
470 (A : vector_bool_short;
471 B : vector_unsigned_short) return vector_unsigned_short
473 begin
474 return To_LL_VUS (vadduhs (To_LL_VSS (A), To_LL_VSS (B)));
475 end vec_adds;
477 function vec_adds
478 (A : vector_unsigned_short;
479 B : vector_bool_short) return vector_unsigned_short
481 begin
482 return To_LL_VUS (vadduhs (To_LL_VSS (A), To_LL_VSS (B)));
483 end vec_adds;
485 function vec_adds
486 (A : vector_unsigned_short;
487 B : vector_unsigned_short) return vector_unsigned_short
489 begin
490 return To_LL_VUS (vadduhs (To_LL_VSS (A), To_LL_VSS (B)));
491 end vec_adds;
493 function vec_adds
494 (A : vector_bool_short;
495 B : vector_signed_short) return vector_signed_short
497 begin
498 return To_LL_VSS (vaddshs (To_LL_VSS (A), To_LL_VSS (B)));
499 end vec_adds;
501 function vec_adds
502 (A : vector_signed_short;
503 B : vector_bool_short) return vector_signed_short
505 begin
506 return To_LL_VSS (vaddshs (To_LL_VSS (A), To_LL_VSS (B)));
507 end vec_adds;
509 function vec_adds
510 (A : vector_signed_short;
511 B : vector_signed_short) return vector_signed_short
513 begin
514 return To_LL_VSS (vaddshs (To_LL_VSS (A), To_LL_VSS (B)));
515 end vec_adds;
517 function vec_adds
518 (A : vector_bool_int;
519 B : vector_unsigned_int) return vector_unsigned_int
521 begin
522 return To_LL_VUI (vadduws (To_LL_VSI (A), To_LL_VSI (B)));
523 end vec_adds;
525 function vec_adds
526 (A : vector_unsigned_int;
527 B : vector_bool_int) return vector_unsigned_int
529 begin
530 return To_LL_VUI (vadduws (To_LL_VSI (A), To_LL_VSI (B)));
531 end vec_adds;
533 function vec_adds
534 (A : vector_unsigned_int;
535 B : vector_unsigned_int) return vector_unsigned_int
537 begin
538 return To_LL_VUI (vadduws (To_LL_VSI (A), To_LL_VSI (B)));
539 end vec_adds;
541 function vec_adds
542 (A : vector_bool_int;
543 B : vector_signed_int) return vector_signed_int
545 begin
546 return To_LL_VSI (vaddsws (To_LL_VSI (A), To_LL_VSI (B)));
547 end vec_adds;
549 function vec_adds
550 (A : vector_signed_int;
551 B : vector_bool_int) return vector_signed_int
553 begin
554 return To_LL_VSI (vaddsws (To_LL_VSI (A), To_LL_VSI (B)));
555 end vec_adds;
557 function vec_adds
558 (A : vector_signed_int;
559 B : vector_signed_int) return vector_signed_int
561 begin
562 return To_LL_VSI (vaddsws (To_LL_VSI (A), To_LL_VSI (B)));
563 end vec_adds;
565 -- vec_vaddsws --
567 function vec_vaddsws
568 (A : vector_bool_int;
569 B : vector_signed_int) return vector_signed_int
571 begin
572 return To_LL_VSI (vaddsws (To_LL_VSI (A), To_LL_VSI (B)));
573 end vec_vaddsws;
575 function vec_vaddsws
576 (A : vector_signed_int;
577 B : vector_bool_int) return vector_signed_int
579 begin
580 return To_LL_VSI (vaddsws (To_LL_VSI (A), To_LL_VSI (B)));
581 end vec_vaddsws;
583 function vec_vaddsws
584 (A : vector_signed_int;
585 B : vector_signed_int) return vector_signed_int
587 begin
588 return To_LL_VSI (vaddsws (To_LL_VSI (A), To_LL_VSI (B)));
589 end vec_vaddsws;
591 -- vec_vadduws --
593 function vec_vadduws
594 (A : vector_bool_int;
595 B : vector_unsigned_int) return vector_unsigned_int
597 begin
598 return To_LL_VUI (vadduws (To_LL_VSI (A), To_LL_VSI (B)));
599 end vec_vadduws;
601 function vec_vadduws
602 (A : vector_unsigned_int;
603 B : vector_bool_int) return vector_unsigned_int
605 begin
606 return To_LL_VUI (vadduws (To_LL_VSI (A), To_LL_VSI (B)));
607 end vec_vadduws;
609 function vec_vadduws
610 (A : vector_unsigned_int;
611 B : vector_unsigned_int) return vector_unsigned_int
613 begin
614 return To_LL_VUI (vadduws (To_LL_VSI (A), To_LL_VSI (B)));
615 end vec_vadduws;
617 -- vec_vaddshs --
619 function vec_vaddshs
620 (A : vector_bool_short;
621 B : vector_signed_short) return vector_signed_short
623 begin
624 return To_LL_VSS (vaddshs (To_LL_VSS (A), To_LL_VSS (B)));
625 end vec_vaddshs;
627 function vec_vaddshs
628 (A : vector_signed_short;
629 B : vector_bool_short) return vector_signed_short
631 begin
632 return To_LL_VSS (vaddshs (To_LL_VSS (A), To_LL_VSS (B)));
633 end vec_vaddshs;
635 function vec_vaddshs
636 (A : vector_signed_short;
637 B : vector_signed_short) return vector_signed_short
639 begin
640 return To_LL_VSS (vaddshs (To_LL_VSS (A), To_LL_VSS (B)));
641 end vec_vaddshs;
643 -- vec_vadduhs --
645 function vec_vadduhs
646 (A : vector_bool_short;
647 B : vector_unsigned_short) return vector_unsigned_short
649 begin
650 return To_LL_VUS (vadduhs (To_LL_VSS (A), To_LL_VSS (B)));
651 end vec_vadduhs;
653 function vec_vadduhs
654 (A : vector_unsigned_short;
655 B : vector_bool_short) return vector_unsigned_short
657 begin
658 return To_LL_VUS (vadduhs (To_LL_VSS (A), To_LL_VSS (B)));
659 end vec_vadduhs;
661 function vec_vadduhs
662 (A : vector_unsigned_short;
663 B : vector_unsigned_short) return vector_unsigned_short
665 begin
666 return To_LL_VUS (vadduhs (To_LL_VSS (A), To_LL_VSS (B)));
667 end vec_vadduhs;
669 -- vec_vaddsbs --
671 function vec_vaddsbs
672 (A : vector_bool_char;
673 B : vector_signed_char) return vector_signed_char
675 begin
676 return To_LL_VSC (vaddsbs (To_LL_VSC (A), To_LL_VSC (B)));
677 end vec_vaddsbs;
679 function vec_vaddsbs
680 (A : vector_signed_char;
681 B : vector_bool_char) return vector_signed_char
683 begin
684 return To_LL_VSC (vaddsbs (To_LL_VSC (A), To_LL_VSC (B)));
685 end vec_vaddsbs;
687 function vec_vaddsbs
688 (A : vector_signed_char;
689 B : vector_signed_char) return vector_signed_char
691 begin
692 return To_LL_VSC (vaddsbs (To_LL_VSC (A), To_LL_VSC (B)));
693 end vec_vaddsbs;
695 -- vec_vaddubs --
697 function vec_vaddubs
698 (A : vector_bool_char;
699 B : vector_unsigned_char) return vector_unsigned_char
701 begin
702 return To_LL_VUC (vaddubs (To_LL_VSC (A), To_LL_VSC (B)));
703 end vec_vaddubs;
705 function vec_vaddubs
706 (A : vector_unsigned_char;
707 B : vector_bool_char) return vector_unsigned_char
709 begin
710 return To_LL_VUC (vaddubs (To_LL_VSC (A), To_LL_VSC (B)));
711 end vec_vaddubs;
713 function vec_vaddubs
714 (A : vector_unsigned_char;
715 B : vector_unsigned_char) return vector_unsigned_char
717 begin
718 return To_LL_VUC (vaddubs (To_LL_VSC (A), To_LL_VSC (B)));
719 end vec_vaddubs;
721 -- vec_and --
723 function vec_and
724 (A : vector_float;
725 B : vector_float) return vector_float
727 begin
728 return To_LL_VF (vand (To_LL_VSI (A), To_LL_VSI (B)));
729 end vec_and;
731 function vec_and
732 (A : vector_float;
733 B : vector_bool_int) return vector_float
735 begin
736 return To_LL_VF (vand (To_LL_VSI (A), To_LL_VSI (B)));
737 end vec_and;
739 function vec_and
740 (A : vector_bool_int;
741 B : vector_float) return vector_float
743 begin
744 return To_LL_VF (vand (To_LL_VSI (A), To_LL_VSI (B)));
745 end vec_and;
747 function vec_and
748 (A : vector_bool_int;
749 B : vector_bool_int) return vector_bool_int
751 begin
752 return To_LL_VBI (vand (To_LL_VSI (A), To_LL_VSI (B)));
753 end vec_and;
755 function vec_and
756 (A : vector_bool_int;
757 B : vector_signed_int) return vector_signed_int
759 begin
760 return To_LL_VSI (vand (To_LL_VSI (A), To_LL_VSI (B)));
761 end vec_and;
763 function vec_and
764 (A : vector_signed_int;
765 B : vector_bool_int) return vector_signed_int
767 begin
768 return To_LL_VSI (vand (To_LL_VSI (A), To_LL_VSI (B)));
769 end vec_and;
771 function vec_and
772 (A : vector_signed_int;
773 B : vector_signed_int) return vector_signed_int
775 begin
776 return To_LL_VSI (vand (To_LL_VSI (A), To_LL_VSI (B)));
777 end vec_and;
779 function vec_and
780 (A : vector_bool_int;
781 B : vector_unsigned_int) return vector_unsigned_int
783 begin
784 return To_LL_VUI (vand (To_LL_VSI (A), To_LL_VSI (B)));
785 end vec_and;
787 function vec_and
788 (A : vector_unsigned_int;
789 B : vector_bool_int) return vector_unsigned_int
791 begin
792 return To_LL_VUI (vand (To_LL_VSI (A), To_LL_VSI (B)));
793 end vec_and;
795 function vec_and
796 (A : vector_unsigned_int;
797 B : vector_unsigned_int) return vector_unsigned_int
799 begin
800 return To_LL_VUI (vand (To_LL_VSI (A), To_LL_VSI (B)));
801 end vec_and;
803 function vec_and
804 (A : vector_bool_short;
805 B : vector_bool_short) return vector_bool_short
807 begin
808 return To_LL_VBS (vand (To_LL_VSI (A), To_LL_VSI (B)));
809 end vec_and;
811 function vec_and
812 (A : vector_bool_short;
813 B : vector_signed_short) return vector_signed_short
815 begin
816 return To_LL_VSS (vand (To_LL_VSI (A), To_LL_VSI (B)));
817 end vec_and;
819 function vec_and
820 (A : vector_signed_short;
821 B : vector_bool_short) return vector_signed_short
823 begin
824 return To_LL_VSS (vand (To_LL_VSI (A), To_LL_VSI (B)));
825 end vec_and;
827 function vec_and
828 (A : vector_signed_short;
829 B : vector_signed_short) return vector_signed_short
831 begin
832 return To_LL_VSS (vand (To_LL_VSI (A), To_LL_VSI (B)));
833 end vec_and;
835 function vec_and
836 (A : vector_bool_short;
837 B : vector_unsigned_short) return vector_unsigned_short
839 begin
840 return To_LL_VUS (vand (To_LL_VSI (A), To_LL_VSI (B)));
841 end vec_and;
843 function vec_and
844 (A : vector_unsigned_short;
845 B : vector_bool_short) return vector_unsigned_short
847 begin
848 return To_LL_VUS (vand (To_LL_VSI (A), To_LL_VSI (B)));
849 end vec_and;
851 function vec_and
852 (A : vector_unsigned_short;
853 B : vector_unsigned_short) return vector_unsigned_short
855 begin
856 return To_LL_VUS (vand (To_LL_VSI (A), To_LL_VSI (B)));
857 end vec_and;
859 function vec_and
860 (A : vector_bool_char;
861 B : vector_signed_char) return vector_signed_char
863 begin
864 return To_LL_VSC (vand (To_LL_VSI (A), To_LL_VSI (B)));
865 end vec_and;
867 function vec_and
868 (A : vector_bool_char;
869 B : vector_bool_char) return vector_bool_char
871 begin
872 return To_LL_VBC (vand (To_LL_VSI (A), To_LL_VSI (B)));
873 end vec_and;
875 function vec_and
876 (A : vector_signed_char;
877 B : vector_bool_char) return vector_signed_char
879 begin
880 return To_LL_VSC (vand (To_LL_VSI (A), To_LL_VSI (B)));
881 end vec_and;
883 function vec_and
884 (A : vector_signed_char;
885 B : vector_signed_char) return vector_signed_char
887 begin
888 return To_LL_VSC (vand (To_LL_VSI (A), To_LL_VSI (B)));
889 end vec_and;
891 function vec_and
892 (A : vector_bool_char;
893 B : vector_unsigned_char) return vector_unsigned_char
895 begin
896 return To_LL_VUC (vand (To_LL_VSI (A), To_LL_VSI (B)));
897 end vec_and;
899 function vec_and
900 (A : vector_unsigned_char;
901 B : vector_bool_char) return vector_unsigned_char
903 begin
904 return To_LL_VUC (vand (To_LL_VSI (A), To_LL_VSI (B)));
905 end vec_and;
907 function vec_and
908 (A : vector_unsigned_char;
909 B : vector_unsigned_char) return vector_unsigned_char
911 begin
912 return To_LL_VUC (vand (To_LL_VSI (A), To_LL_VSI (B)));
913 end vec_and;
915 -- vec_andc --
917 function vec_andc
918 (A : vector_float;
919 B : vector_float) return vector_float
921 begin
922 return To_LL_VF (vandc (To_LL_VSI (A), To_LL_VSI (B)));
923 end vec_andc;
925 function vec_andc
926 (A : vector_float;
927 B : vector_bool_int) return vector_float
929 begin
930 return To_LL_VF (vandc (To_LL_VSI (A), To_LL_VSI (B)));
931 end vec_andc;
933 function vec_andc
934 (A : vector_bool_int;
935 B : vector_float) return vector_float
937 begin
938 return To_LL_VF (vandc (To_LL_VSI (A), To_LL_VSI (B)));
939 end vec_andc;
941 function vec_andc
942 (A : vector_bool_int;
943 B : vector_bool_int) return vector_bool_int
945 begin
946 return To_LL_VBI (vandc (To_LL_VSI (A), To_LL_VSI (B)));
947 end vec_andc;
949 function vec_andc
950 (A : vector_bool_int;
951 B : vector_signed_int) return vector_signed_int
953 begin
954 return To_LL_VSI (vandc (To_LL_VSI (A), To_LL_VSI (B)));
955 end vec_andc;
957 function vec_andc
958 (A : vector_signed_int;
959 B : vector_bool_int) return vector_signed_int
961 begin
962 return To_LL_VSI (vandc (To_LL_VSI (A), To_LL_VSI (B)));
963 end vec_andc;
965 function vec_andc
966 (A : vector_signed_int;
967 B : vector_signed_int) return vector_signed_int
969 begin
970 return To_LL_VSI (vandc (To_LL_VSI (A), To_LL_VSI (B)));
971 end vec_andc;
973 function vec_andc
974 (A : vector_bool_int;
975 B : vector_unsigned_int) return vector_unsigned_int
977 begin
978 return To_LL_VUI (vandc (To_LL_VSI (A), To_LL_VSI (B)));
979 end vec_andc;
981 function vec_andc
982 (A : vector_unsigned_int;
983 B : vector_bool_int) return vector_unsigned_int
985 begin
986 return To_LL_VUI (vandc (To_LL_VSI (A), To_LL_VSI (B)));
987 end vec_andc;
989 function vec_andc
990 (A : vector_unsigned_int;
991 B : vector_unsigned_int) return vector_unsigned_int
993 begin
994 return To_LL_VUI (vandc (To_LL_VSI (A), To_LL_VSI (B)));
995 end vec_andc;
997 function vec_andc
998 (A : vector_bool_short;
999 B : vector_bool_short) return vector_bool_short
1001 begin
1002 return To_LL_VBS (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1003 end vec_andc;
1005 function vec_andc
1006 (A : vector_bool_short;
1007 B : vector_signed_short) return vector_signed_short
1009 begin
1010 return To_LL_VSS (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1011 end vec_andc;
1013 function vec_andc
1014 (A : vector_signed_short;
1015 B : vector_bool_short) return vector_signed_short
1017 begin
1018 return To_LL_VSS (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1019 end vec_andc;
1021 function vec_andc
1022 (A : vector_signed_short;
1023 B : vector_signed_short) return vector_signed_short
1025 begin
1026 return To_LL_VSS (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1027 end vec_andc;
1029 function vec_andc
1030 (A : vector_bool_short;
1031 B : vector_unsigned_short) return vector_unsigned_short
1033 begin
1034 return To_LL_VUS (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1035 end vec_andc;
1037 function vec_andc
1038 (A : vector_unsigned_short;
1039 B : vector_bool_short) return vector_unsigned_short
1041 begin
1042 return To_LL_VUS (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1043 end vec_andc;
1045 function vec_andc
1046 (A : vector_unsigned_short;
1047 B : vector_unsigned_short) return vector_unsigned_short
1049 begin
1050 return To_LL_VUS (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1051 end vec_andc;
1053 function vec_andc
1054 (A : vector_bool_char;
1055 B : vector_signed_char) return vector_signed_char
1057 begin
1058 return To_LL_VSC (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1059 end vec_andc;
1061 function vec_andc
1062 (A : vector_bool_char;
1063 B : vector_bool_char) return vector_bool_char
1065 begin
1066 return To_LL_VBC (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1067 end vec_andc;
1069 function vec_andc
1070 (A : vector_signed_char;
1071 B : vector_bool_char) return vector_signed_char
1073 begin
1074 return To_LL_VSC (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1075 end vec_andc;
1077 function vec_andc
1078 (A : vector_signed_char;
1079 B : vector_signed_char) return vector_signed_char
1081 begin
1082 return To_LL_VSC (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1083 end vec_andc;
1085 function vec_andc
1086 (A : vector_bool_char;
1087 B : vector_unsigned_char) return vector_unsigned_char
1089 begin
1090 return To_LL_VUC (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1091 end vec_andc;
1093 function vec_andc
1094 (A : vector_unsigned_char;
1095 B : vector_bool_char) return vector_unsigned_char
1097 begin
1098 return To_LL_VUC (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1099 end vec_andc;
1101 function vec_andc
1102 (A : vector_unsigned_char;
1103 B : vector_unsigned_char) return vector_unsigned_char
1105 begin
1106 return To_LL_VUC (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1107 end vec_andc;
1109 -- vec_avg --
1111 function vec_avg
1112 (A : vector_unsigned_char;
1113 B : vector_unsigned_char) return vector_unsigned_char
1115 begin
1116 return To_LL_VUC (vavgub (To_LL_VSC (A), To_LL_VSC (B)));
1117 end vec_avg;
1119 function vec_avg
1120 (A : vector_signed_char;
1121 B : vector_signed_char) return vector_signed_char
1123 begin
1124 return To_LL_VSC (vavgsb (To_LL_VSC (A), To_LL_VSC (B)));
1125 end vec_avg;
1127 function vec_avg
1128 (A : vector_unsigned_short;
1129 B : vector_unsigned_short) return vector_unsigned_short
1131 begin
1132 return To_LL_VUS (vavguh (To_LL_VSS (A), To_LL_VSS (B)));
1133 end vec_avg;
1135 function vec_avg
1136 (A : vector_signed_short;
1137 B : vector_signed_short) return vector_signed_short
1139 begin
1140 return To_LL_VSS (vavgsh (To_LL_VSS (A), To_LL_VSS (B)));
1141 end vec_avg;
1143 function vec_avg
1144 (A : vector_unsigned_int;
1145 B : vector_unsigned_int) return vector_unsigned_int
1147 begin
1148 return To_LL_VUI (vavguw (To_LL_VSI (A), To_LL_VSI (B)));
1149 end vec_avg;
1151 function vec_avg
1152 (A : vector_signed_int;
1153 B : vector_signed_int) return vector_signed_int
1155 begin
1156 return To_LL_VSI (vavgsw (To_LL_VSI (A), To_LL_VSI (B)));
1157 end vec_avg;
1159 -- vec_vavgsw --
1161 function vec_vavgsw
1162 (A : vector_signed_int;
1163 B : vector_signed_int) return vector_signed_int
1165 begin
1166 return To_LL_VSI (vavgsw (To_LL_VSI (A), To_LL_VSI (B)));
1167 end vec_vavgsw;
1169 -- vec_vavguw --
1171 function vec_vavguw
1172 (A : vector_unsigned_int;
1173 B : vector_unsigned_int) return vector_unsigned_int
1175 begin
1176 return To_LL_VUI (vavguw (To_LL_VSI (A), To_LL_VSI (B)));
1177 end vec_vavguw;
1179 -- vec_vavgsh --
1181 function vec_vavgsh
1182 (A : vector_signed_short;
1183 B : vector_signed_short) return vector_signed_short
1185 begin
1186 return To_LL_VSS (vavgsh (To_LL_VSS (A), To_LL_VSS (B)));
1187 end vec_vavgsh;
1189 -- vec_vavguh --
1191 function vec_vavguh
1192 (A : vector_unsigned_short;
1193 B : vector_unsigned_short) return vector_unsigned_short
1195 begin
1196 return To_LL_VUS (vavguh (To_LL_VSS (A), To_LL_VSS (B)));
1197 end vec_vavguh;
1199 -- vec_vavgsb --
1201 function vec_vavgsb
1202 (A : vector_signed_char;
1203 B : vector_signed_char) return vector_signed_char
1205 begin
1206 return To_LL_VSC (vavgsb (To_LL_VSC (A), To_LL_VSC (B)));
1207 end vec_vavgsb;
1209 -- vec_vavgub --
1211 function vec_vavgub
1212 (A : vector_unsigned_char;
1213 B : vector_unsigned_char) return vector_unsigned_char
1215 begin
1216 return To_LL_VUC (vavgub (To_LL_VSC (A), To_LL_VSC (B)));
1217 end vec_vavgub;
1219 -- vec_ceil --
1221 function vec_ceil
1222 (A : vector_float) return vector_float
1224 begin
1225 return To_LL_VF (vrfip (To_LL_VF (A)));
1226 end vec_ceil;
1228 -- vec_cmpb --
1230 function vec_cmpb
1231 (A : vector_float;
1232 B : vector_float) return vector_signed_int
1234 begin
1235 return To_LL_VSI (vcmpbfp (To_LL_VF (A), To_LL_VF (B)));
1236 end vec_cmpb;
1238 -- vec_cmpeq --
1240 function vec_cmpeq
1241 (A : vector_signed_char;
1242 B : vector_signed_char) return vector_bool_char
1244 begin
1245 return To_LL_VBC (vcmpequb (To_LL_VSC (A), To_LL_VSC (B)));
1246 end vec_cmpeq;
1248 function vec_cmpeq
1249 (A : vector_unsigned_char;
1250 B : vector_unsigned_char) return vector_bool_char
1252 begin
1253 return To_LL_VBC (vcmpequb (To_LL_VSC (A), To_LL_VSC (B)));
1254 end vec_cmpeq;
1256 function vec_cmpeq
1257 (A : vector_signed_short;
1258 B : vector_signed_short) return vector_bool_short
1260 begin
1261 return To_LL_VBS (vcmpequh (To_LL_VSS (A), To_LL_VSS (B)));
1262 end vec_cmpeq;
1264 function vec_cmpeq
1265 (A : vector_unsigned_short;
1266 B : vector_unsigned_short) return vector_bool_short
1268 begin
1269 return To_LL_VBS (vcmpequh (To_LL_VSS (A), To_LL_VSS (B)));
1270 end vec_cmpeq;
1272 function vec_cmpeq
1273 (A : vector_signed_int;
1274 B : vector_signed_int) return vector_bool_int
1276 begin
1277 return To_LL_VBI (vcmpequw (To_LL_VSI (A), To_LL_VSI (B)));
1278 end vec_cmpeq;
1280 function vec_cmpeq
1281 (A : vector_unsigned_int;
1282 B : vector_unsigned_int) return vector_bool_int
1284 begin
1285 return To_LL_VBI (vcmpequw (To_LL_VSI (A), To_LL_VSI (B)));
1286 end vec_cmpeq;
1288 function vec_cmpeq
1289 (A : vector_float;
1290 B : vector_float) return vector_bool_int
1292 begin
1293 return To_LL_VBI (vcmpeqfp (To_LL_VF (A), To_LL_VF (B)));
1294 end vec_cmpeq;
1296 -- vec_vcmpeqfp --
1298 function vec_vcmpeqfp
1299 (A : vector_float;
1300 B : vector_float) return vector_bool_int
1302 begin
1303 return To_LL_VBI (vcmpeqfp (To_LL_VF (A), To_LL_VF (B)));
1304 end vec_vcmpeqfp;
1306 -- vec_vcmpequw --
1308 function vec_vcmpequw
1309 (A : vector_signed_int;
1310 B : vector_signed_int) return vector_bool_int
1312 begin
1313 return To_LL_VBI (vcmpequw (To_LL_VSI (A), To_LL_VSI (B)));
1314 end vec_vcmpequw;
1316 function vec_vcmpequw
1317 (A : vector_unsigned_int;
1318 B : vector_unsigned_int) return vector_bool_int
1320 begin
1321 return To_LL_VBI (vcmpequw (To_LL_VSI (A), To_LL_VSI (B)));
1322 end vec_vcmpequw;
1324 -- vec_vcmpequh --
1326 function vec_vcmpequh
1327 (A : vector_signed_short;
1328 B : vector_signed_short) return vector_bool_short
1330 begin
1331 return To_LL_VBS (vcmpequh (To_LL_VSS (A), To_LL_VSS (B)));
1332 end vec_vcmpequh;
1334 function vec_vcmpequh
1335 (A : vector_unsigned_short;
1336 B : vector_unsigned_short) return vector_bool_short
1338 begin
1339 return To_LL_VBS (vcmpequh (To_LL_VSS (A), To_LL_VSS (B)));
1340 end vec_vcmpequh;
1342 -- vec_vcmpequb --
1344 function vec_vcmpequb
1345 (A : vector_signed_char;
1346 B : vector_signed_char) return vector_bool_char
1348 begin
1349 return To_LL_VBC (vcmpequb (To_LL_VSC (A), To_LL_VSC (B)));
1350 end vec_vcmpequb;
1352 function vec_vcmpequb
1353 (A : vector_unsigned_char;
1354 B : vector_unsigned_char) return vector_bool_char
1356 begin
1357 return To_LL_VBC (vcmpequb (To_LL_VSC (A), To_LL_VSC (B)));
1358 end vec_vcmpequb;
1360 -- vec_cmpge --
1362 function vec_cmpge
1363 (A : vector_float;
1364 B : vector_float) return vector_bool_int
1366 begin
1367 return To_LL_VBI (vcmpgefp (To_LL_VF (A), To_LL_VF (B)));
1368 end vec_cmpge;
1370 -- vec_cmpgt --
1372 function vec_cmpgt
1373 (A : vector_unsigned_char;
1374 B : vector_unsigned_char) return vector_bool_char
1376 begin
1377 return To_LL_VBC (vcmpgtub (To_LL_VSC (A), To_LL_VSC (B)));
1378 end vec_cmpgt;
1380 function vec_cmpgt
1381 (A : vector_signed_char;
1382 B : vector_signed_char) return vector_bool_char
1384 begin
1385 return To_LL_VBC (vcmpgtsb (To_LL_VSC (A), To_LL_VSC (B)));
1386 end vec_cmpgt;
1388 function vec_cmpgt
1389 (A : vector_unsigned_short;
1390 B : vector_unsigned_short) return vector_bool_short
1392 begin
1393 return To_LL_VBS (vcmpgtuh (To_LL_VSS (A), To_LL_VSS (B)));
1394 end vec_cmpgt;
1396 function vec_cmpgt
1397 (A : vector_signed_short;
1398 B : vector_signed_short) return vector_bool_short
1400 begin
1401 return To_LL_VBS (vcmpgtsh (To_LL_VSS (A), To_LL_VSS (B)));
1402 end vec_cmpgt;
1404 function vec_cmpgt
1405 (A : vector_unsigned_int;
1406 B : vector_unsigned_int) return vector_bool_int
1408 begin
1409 return To_LL_VBI (vcmpgtuw (To_LL_VSI (A), To_LL_VSI (B)));
1410 end vec_cmpgt;
1412 function vec_cmpgt
1413 (A : vector_signed_int;
1414 B : vector_signed_int) return vector_bool_int
1416 begin
1417 return To_LL_VBI (vcmpgtsw (To_LL_VSI (A), To_LL_VSI (B)));
1418 end vec_cmpgt;
1420 function vec_cmpgt
1421 (A : vector_float;
1422 B : vector_float) return vector_bool_int
1424 begin
1425 return To_LL_VBI (vcmpgtfp (To_LL_VF (A), To_LL_VF (B)));
1426 end vec_cmpgt;
1428 -- vec_vcmpgtfp --
1430 function vec_vcmpgtfp
1431 (A : vector_float;
1432 B : vector_float) return vector_bool_int
1434 begin
1435 return To_LL_VBI (vcmpgtfp (To_LL_VF (A), To_LL_VF (B)));
1436 end vec_vcmpgtfp;
1438 -- vec_vcmpgtsw --
1440 function vec_vcmpgtsw
1441 (A : vector_signed_int;
1442 B : vector_signed_int) return vector_bool_int
1444 begin
1445 return To_LL_VBI (vcmpgtsw (To_LL_VSI (A), To_LL_VSI (B)));
1446 end vec_vcmpgtsw;
1448 -- vec_vcmpgtuw --
1450 function vec_vcmpgtuw
1451 (A : vector_unsigned_int;
1452 B : vector_unsigned_int) return vector_bool_int
1454 begin
1455 return To_LL_VBI (vcmpgtuw (To_LL_VSI (A), To_LL_VSI (B)));
1456 end vec_vcmpgtuw;
1458 -- vec_vcmpgtsh --
1460 function vec_vcmpgtsh
1461 (A : vector_signed_short;
1462 B : vector_signed_short) return vector_bool_short
1464 begin
1465 return To_LL_VBS (vcmpgtsh (To_LL_VSS (A), To_LL_VSS (B)));
1466 end vec_vcmpgtsh;
1468 -- vec_vcmpgtuh --
1470 function vec_vcmpgtuh
1471 (A : vector_unsigned_short;
1472 B : vector_unsigned_short) return vector_bool_short
1474 begin
1475 return To_LL_VBS (vcmpgtuh (To_LL_VSS (A), To_LL_VSS (B)));
1476 end vec_vcmpgtuh;
1478 -- vec_vcmpgtsb --
1480 function vec_vcmpgtsb
1481 (A : vector_signed_char;
1482 B : vector_signed_char) return vector_bool_char
1484 begin
1485 return To_LL_VBC (vcmpgtsb (To_LL_VSC (A), To_LL_VSC (B)));
1486 end vec_vcmpgtsb;
1488 -- vec_vcmpgtub --
1490 function vec_vcmpgtub
1491 (A : vector_unsigned_char;
1492 B : vector_unsigned_char) return vector_bool_char
1494 begin
1495 return To_LL_VBC (vcmpgtub (To_LL_VSC (A), To_LL_VSC (B)));
1496 end vec_vcmpgtub;
1498 -- vec_cmple --
1500 function vec_cmple
1501 (A : vector_float;
1502 B : vector_float) return vector_bool_int
1504 begin
1505 return To_LL_VBI (vcmpgefp (To_LL_VF (B), To_LL_VF (A)));
1506 end vec_cmple;
1508 -- vec_cmplt --
1510 function vec_cmplt
1511 (A : vector_unsigned_char;
1512 B : vector_unsigned_char) return vector_bool_char
1514 begin
1515 return To_LL_VBC (vcmpgtub (To_LL_VSC (B), To_LL_VSC (A)));
1516 end vec_cmplt;
1518 function vec_cmplt
1519 (A : vector_signed_char;
1520 B : vector_signed_char) return vector_bool_char
1522 begin
1523 return To_LL_VBC (vcmpgtsb (To_LL_VSC (B), To_LL_VSC (A)));
1524 end vec_cmplt;
1526 function vec_cmplt
1527 (A : vector_unsigned_short;
1528 B : vector_unsigned_short) return vector_bool_short
1530 begin
1531 return To_LL_VBS (vcmpgtuh (To_LL_VSS (B), To_LL_VSS (A)));
1532 end vec_cmplt;
1534 function vec_cmplt
1535 (A : vector_signed_short;
1536 B : vector_signed_short) return vector_bool_short
1538 begin
1539 return To_LL_VBS (vcmpgtsh (To_LL_VSS (B), To_LL_VSS (A)));
1540 end vec_cmplt;
1542 function vec_cmplt
1543 (A : vector_unsigned_int;
1544 B : vector_unsigned_int) return vector_bool_int
1546 begin
1547 return To_LL_VBI (vcmpgtuw (To_LL_VSI (B), To_LL_VSI (A)));
1548 end vec_cmplt;
1550 function vec_cmplt
1551 (A : vector_signed_int;
1552 B : vector_signed_int) return vector_bool_int
1554 begin
1555 return To_LL_VBI (vcmpgtsw (To_LL_VSI (B), To_LL_VSI (A)));
1556 end vec_cmplt;
1558 function vec_cmplt
1559 (A : vector_float;
1560 B : vector_float) return vector_bool_int
1562 begin
1563 return To_LL_VBI (vcmpgtfp (To_LL_VF (B), To_LL_VF (A)));
1564 end vec_cmplt;
1566 -- vec_expte --
1568 function vec_expte
1569 (A : vector_float) return vector_float
1571 begin
1572 return To_LL_VF (vexptefp (To_LL_VF (A)));
1573 end vec_expte;
1575 -- vec_floor --
1577 function vec_floor
1578 (A : vector_float) return vector_float
1580 begin
1581 return To_LL_VF (vrfim (To_LL_VF (A)));
1582 end vec_floor;
1584 -- vec_ld --
1586 function vec_ld
1587 (A : c_long;
1588 B : const_vector_float_ptr) return vector_float
1590 begin
1591 return To_LL_VF (lvx (A, To_PTR (B)));
1592 end vec_ld;
1594 function vec_ld
1595 (A : c_long;
1596 B : const_float_ptr) return vector_float
1598 begin
1599 return To_LL_VF (lvx (A, To_PTR (B)));
1600 end vec_ld;
1602 function vec_ld
1603 (A : c_long;
1604 B : const_vector_bool_int_ptr) return vector_bool_int
1606 begin
1607 return To_LL_VBI (lvx (A, To_PTR (B)));
1608 end vec_ld;
1610 function vec_ld
1611 (A : c_long;
1612 B : const_vector_signed_int_ptr) return vector_signed_int
1614 begin
1615 return To_LL_VSI (lvx (A, To_PTR (B)));
1616 end vec_ld;
1618 function vec_ld
1619 (A : c_long;
1620 B : const_int_ptr) return vector_signed_int
1622 begin
1623 return To_LL_VSI (lvx (A, To_PTR (B)));
1624 end vec_ld;
1626 function vec_ld
1627 (A : c_long;
1628 B : const_long_ptr) return vector_signed_int
1630 begin
1631 return To_LL_VSI (lvx (A, To_PTR (B)));
1632 end vec_ld;
1634 function vec_ld
1635 (A : c_long;
1636 B : const_vector_unsigned_int_ptr) return vector_unsigned_int
1638 begin
1639 return To_LL_VUI (lvx (A, To_PTR (B)));
1640 end vec_ld;
1642 function vec_ld
1643 (A : c_long;
1644 B : const_unsigned_int_ptr) return vector_unsigned_int
1646 begin
1647 return To_LL_VUI (lvx (A, To_PTR (B)));
1648 end vec_ld;
1650 function vec_ld
1651 (A : c_long;
1652 B : const_unsigned_long_ptr) return vector_unsigned_int
1654 begin
1655 return To_LL_VUI (lvx (A, To_PTR (B)));
1656 end vec_ld;
1658 function vec_ld
1659 (A : c_long;
1660 B : const_vector_bool_short_ptr) return vector_bool_short
1662 begin
1663 return To_LL_VBS (lvx (A, To_PTR (B)));
1664 end vec_ld;
1666 function vec_ld
1667 (A : c_long;
1668 B : const_vector_pixel_ptr) return vector_pixel
1670 begin
1671 return To_LL_VP (lvx (A, To_PTR (B)));
1672 end vec_ld;
1674 function vec_ld
1675 (A : c_long;
1676 B : const_vector_signed_short_ptr) return vector_signed_short
1678 begin
1679 return To_LL_VSS (lvx (A, To_PTR (B)));
1680 end vec_ld;
1682 function vec_ld
1683 (A : c_long;
1684 B : const_short_ptr) return vector_signed_short
1686 begin
1687 return To_LL_VSS (lvx (A, To_PTR (B)));
1688 end vec_ld;
1690 function vec_ld
1691 (A : c_long;
1692 B : const_vector_unsigned_short_ptr) return vector_unsigned_short
1694 begin
1695 return To_LL_VUS (lvx (A, To_PTR (B)));
1696 end vec_ld;
1698 function vec_ld
1699 (A : c_long;
1700 B : const_unsigned_short_ptr) return vector_unsigned_short
1702 begin
1703 return To_LL_VUS (lvx (A, To_PTR (B)));
1704 end vec_ld;
1706 function vec_ld
1707 (A : c_long;
1708 B : const_vector_bool_char_ptr) return vector_bool_char
1710 begin
1711 return To_LL_VBC (lvx (A, To_PTR (B)));
1712 end vec_ld;
1714 function vec_ld
1715 (A : c_long;
1716 B : const_vector_signed_char_ptr) return vector_signed_char
1718 begin
1719 return To_LL_VSC (lvx (A, To_PTR (B)));
1720 end vec_ld;
1722 function vec_ld
1723 (A : c_long;
1724 B : const_signed_char_ptr) return vector_signed_char
1726 begin
1727 return To_LL_VSC (lvx (A, To_PTR (B)));
1728 end vec_ld;
1730 function vec_ld
1731 (A : c_long;
1732 B : const_vector_unsigned_char_ptr) return vector_unsigned_char
1734 begin
1735 return To_LL_VUC (lvx (A, To_PTR (B)));
1736 end vec_ld;
1738 function vec_ld
1739 (A : c_long;
1740 B : const_unsigned_char_ptr) return vector_unsigned_char
1742 begin
1743 return To_LL_VUC (lvx (A, To_PTR (B)));
1744 end vec_ld;
1746 -- vec_lde --
1748 function vec_lde
1749 (A : c_long;
1750 B : const_signed_char_ptr) return vector_signed_char
1752 begin
1753 return To_LL_VSC (lvebx (A, To_PTR (B)));
1754 end vec_lde;
1756 function vec_lde
1757 (A : c_long;
1758 B : const_unsigned_char_ptr) return vector_unsigned_char
1760 begin
1761 return To_LL_VUC (lvebx (A, To_PTR (B)));
1762 end vec_lde;
1764 function vec_lde
1765 (A : c_long;
1766 B : const_short_ptr) return vector_signed_short
1768 begin
1769 return To_LL_VSS (lvehx (A, To_PTR (B)));
1770 end vec_lde;
1772 function vec_lde
1773 (A : c_long;
1774 B : const_unsigned_short_ptr) return vector_unsigned_short
1776 begin
1777 return To_LL_VUS (lvehx (A, To_PTR (B)));
1778 end vec_lde;
1780 function vec_lde
1781 (A : c_long;
1782 B : const_float_ptr) return vector_float
1784 begin
1785 return To_LL_VF (lvewx (A, To_PTR (B)));
1786 end vec_lde;
1788 function vec_lde
1789 (A : c_long;
1790 B : const_int_ptr) return vector_signed_int
1792 begin
1793 return To_LL_VSI (lvewx (A, To_PTR (B)));
1794 end vec_lde;
1796 function vec_lde
1797 (A : c_long;
1798 B : const_unsigned_int_ptr) return vector_unsigned_int
1800 begin
1801 return To_LL_VUI (lvewx (A, To_PTR (B)));
1802 end vec_lde;
1804 function vec_lde
1805 (A : c_long;
1806 B : const_long_ptr) return vector_signed_int
1808 begin
1809 return To_LL_VSI (lvewx (A, To_PTR (B)));
1810 end vec_lde;
1812 function vec_lde
1813 (A : c_long;
1814 B : const_unsigned_long_ptr) return vector_unsigned_int
1816 begin
1817 return To_LL_VUI (lvewx (A, To_PTR (B)));
1818 end vec_lde;
1820 -- vec_lvewx --
1822 function vec_lvewx
1823 (A : c_long;
1824 B : float_ptr) return vector_float
1826 begin
1827 return To_LL_VF (lvewx (A, To_PTR (B)));
1828 end vec_lvewx;
1830 function vec_lvewx
1831 (A : c_long;
1832 B : int_ptr) return vector_signed_int
1834 begin
1835 return To_LL_VSI (lvewx (A, To_PTR (B)));
1836 end vec_lvewx;
1838 function vec_lvewx
1839 (A : c_long;
1840 B : unsigned_int_ptr) return vector_unsigned_int
1842 begin
1843 return To_LL_VUI (lvewx (A, To_PTR (B)));
1844 end vec_lvewx;
1846 function vec_lvewx
1847 (A : c_long;
1848 B : long_ptr) return vector_signed_int
1850 begin
1851 return To_LL_VSI (lvewx (A, To_PTR (B)));
1852 end vec_lvewx;
1854 function vec_lvewx
1855 (A : c_long;
1856 B : unsigned_long_ptr) return vector_unsigned_int
1858 begin
1859 return To_LL_VUI (lvewx (A, To_PTR (B)));
1860 end vec_lvewx;
1862 -- vec_lvehx --
1864 function vec_lvehx
1865 (A : c_long;
1866 B : short_ptr) return vector_signed_short
1868 begin
1869 return To_LL_VSS (lvehx (A, To_PTR (B)));
1870 end vec_lvehx;
1872 function vec_lvehx
1873 (A : c_long;
1874 B : unsigned_short_ptr) return vector_unsigned_short
1876 begin
1877 return To_LL_VUS (lvehx (A, To_PTR (B)));
1878 end vec_lvehx;
1880 -- vec_lvebx --
1882 function vec_lvebx
1883 (A : c_long;
1884 B : signed_char_ptr) return vector_signed_char
1886 begin
1887 return To_LL_VSC (lvebx (A, To_PTR (B)));
1888 end vec_lvebx;
1890 function vec_lvebx
1891 (A : c_long;
1892 B : unsigned_char_ptr) return vector_unsigned_char
1894 begin
1895 return To_LL_VUC (lvebx (A, To_PTR (B)));
1896 end vec_lvebx;
1898 -- vec_ldl --
1900 function vec_ldl
1901 (A : c_long;
1902 B : const_vector_float_ptr) return vector_float
1904 begin
1905 return To_LL_VF (lvxl (A, To_PTR (B)));
1906 end vec_ldl;
1908 function vec_ldl
1909 (A : c_long;
1910 B : const_float_ptr) return vector_float
1912 begin
1913 return To_LL_VF (lvxl (A, To_PTR (B)));
1914 end vec_ldl;
1916 function vec_ldl
1917 (A : c_long;
1918 B : const_vector_bool_int_ptr) return vector_bool_int
1920 begin
1921 return To_LL_VBI (lvxl (A, To_PTR (B)));
1922 end vec_ldl;
1924 function vec_ldl
1925 (A : c_long;
1926 B : const_vector_signed_int_ptr) return vector_signed_int
1928 begin
1929 return To_LL_VSI (lvxl (A, To_PTR (B)));
1930 end vec_ldl;
1932 function vec_ldl
1933 (A : c_long;
1934 B : const_int_ptr) return vector_signed_int
1936 begin
1937 return To_LL_VSI (lvxl (A, To_PTR (B)));
1938 end vec_ldl;
1940 function vec_ldl
1941 (A : c_long;
1942 B : const_long_ptr) return vector_signed_int
1944 begin
1945 return To_LL_VSI (lvxl (A, To_PTR (B)));
1946 end vec_ldl;
1948 function vec_ldl
1949 (A : c_long;
1950 B : const_vector_unsigned_int_ptr) return vector_unsigned_int
1952 begin
1953 return To_LL_VUI (lvxl (A, To_PTR (B)));
1954 end vec_ldl;
1956 function vec_ldl
1957 (A : c_long;
1958 B : const_unsigned_int_ptr) return vector_unsigned_int
1960 begin
1961 return To_LL_VUI (lvxl (A, To_PTR (B)));
1962 end vec_ldl;
1964 function vec_ldl
1965 (A : c_long;
1966 B : const_unsigned_long_ptr) return vector_unsigned_int
1968 begin
1969 return To_LL_VUI (lvxl (A, To_PTR (B)));
1970 end vec_ldl;
1972 function vec_ldl
1973 (A : c_long;
1974 B : const_vector_bool_short_ptr) return vector_bool_short
1976 begin
1977 return To_LL_VBS (lvxl (A, To_PTR (B)));
1978 end vec_ldl;
1980 function vec_ldl
1981 (A : c_long;
1982 B : const_vector_pixel_ptr) return vector_pixel
1984 begin
1985 return To_LL_VP (lvxl (A, To_PTR (B)));
1986 end vec_ldl;
1988 function vec_ldl
1989 (A : c_long;
1990 B : const_vector_signed_short_ptr) return vector_signed_short
1992 begin
1993 return To_LL_VSS (lvxl (A, To_PTR (B)));
1994 end vec_ldl;
1996 function vec_ldl
1997 (A : c_long;
1998 B : const_short_ptr) return vector_signed_short
2000 begin
2001 return To_LL_VSS (lvxl (A, To_PTR (B)));
2002 end vec_ldl;
2004 function vec_ldl
2005 (A : c_long;
2006 B : const_vector_unsigned_short_ptr) return vector_unsigned_short
2008 begin
2009 return To_LL_VUS (lvxl (A, To_PTR (B)));
2010 end vec_ldl;
2012 function vec_ldl
2013 (A : c_long;
2014 B : const_unsigned_short_ptr) return vector_unsigned_short
2016 begin
2017 return To_LL_VUS (lvxl (A, To_PTR (B)));
2018 end vec_ldl;
2020 function vec_ldl
2021 (A : c_long;
2022 B : const_vector_bool_char_ptr) return vector_bool_char
2024 begin
2025 return To_LL_VBC (lvxl (A, To_PTR (B)));
2026 end vec_ldl;
2028 function vec_ldl
2029 (A : c_long;
2030 B : const_vector_signed_char_ptr) return vector_signed_char
2032 begin
2033 return To_LL_VSC (lvxl (A, To_PTR (B)));
2034 end vec_ldl;
2036 function vec_ldl
2037 (A : c_long;
2038 B : const_signed_char_ptr) return vector_signed_char
2040 begin
2041 return To_LL_VSC (lvxl (A, To_PTR (B)));
2042 end vec_ldl;
2044 function vec_ldl
2045 (A : c_long;
2046 B : const_vector_unsigned_char_ptr) return vector_unsigned_char
2048 begin
2049 return To_LL_VUC (lvxl (A, To_PTR (B)));
2050 end vec_ldl;
2052 function vec_ldl
2053 (A : c_long;
2054 B : const_unsigned_char_ptr) return vector_unsigned_char
2056 begin
2057 return To_LL_VUC (lvxl (A, To_PTR (B)));
2058 end vec_ldl;
2060 -- vec_loge --
2062 function vec_loge
2063 (A : vector_float) return vector_float
2065 begin
2066 return To_LL_VF (vlogefp (To_LL_VF (A)));
2067 end vec_loge;
2069 -- vec_lvsl --
2071 function vec_lvsl
2072 (A : c_long;
2073 B : constv_unsigned_char_ptr) return vector_unsigned_char
2075 begin
2076 return To_LL_VUC (lvsl (A, To_PTR (B)));
2077 end vec_lvsl;
2079 function vec_lvsl
2080 (A : c_long;
2081 B : constv_signed_char_ptr) return vector_unsigned_char
2083 begin
2084 return To_LL_VUC (lvsl (A, To_PTR (B)));
2085 end vec_lvsl;
2087 function vec_lvsl
2088 (A : c_long;
2089 B : constv_unsigned_short_ptr) return vector_unsigned_char
2091 begin
2092 return To_LL_VUC (lvsl (A, To_PTR (B)));
2093 end vec_lvsl;
2095 function vec_lvsl
2096 (A : c_long;
2097 B : constv_short_ptr) return vector_unsigned_char
2099 begin
2100 return To_LL_VUC (lvsl (A, To_PTR (B)));
2101 end vec_lvsl;
2103 function vec_lvsl
2104 (A : c_long;
2105 B : constv_unsigned_int_ptr) return vector_unsigned_char
2107 begin
2108 return To_LL_VUC (lvsl (A, To_PTR (B)));
2109 end vec_lvsl;
2111 function vec_lvsl
2112 (A : c_long;
2113 B : constv_int_ptr) return vector_unsigned_char
2115 begin
2116 return To_LL_VUC (lvsl (A, To_PTR (B)));
2117 end vec_lvsl;
2119 function vec_lvsl
2120 (A : c_long;
2121 B : constv_unsigned_long_ptr) return vector_unsigned_char
2123 begin
2124 return To_LL_VUC (lvsl (A, To_PTR (B)));
2125 end vec_lvsl;
2127 function vec_lvsl
2128 (A : c_long;
2129 B : constv_long_ptr) return vector_unsigned_char
2131 begin
2132 return To_LL_VUC (lvsl (A, To_PTR (B)));
2133 end vec_lvsl;
2135 function vec_lvsl
2136 (A : c_long;
2137 B : constv_float_ptr) return vector_unsigned_char
2139 begin
2140 return To_LL_VUC (lvsl (A, To_PTR (B)));
2141 end vec_lvsl;
2143 -- vec_lvsr --
2145 function vec_lvsr
2146 (A : c_long;
2147 B : constv_unsigned_char_ptr) return vector_unsigned_char
2149 begin
2150 return To_LL_VUC (lvsr (A, To_PTR (B)));
2151 end vec_lvsr;
2153 function vec_lvsr
2154 (A : c_long;
2155 B : constv_signed_char_ptr) return vector_unsigned_char
2157 begin
2158 return To_LL_VUC (lvsr (A, To_PTR (B)));
2159 end vec_lvsr;
2161 function vec_lvsr
2162 (A : c_long;
2163 B : constv_unsigned_short_ptr) return vector_unsigned_char
2165 begin
2166 return To_LL_VUC (lvsr (A, To_PTR (B)));
2167 end vec_lvsr;
2169 function vec_lvsr
2170 (A : c_long;
2171 B : constv_short_ptr) return vector_unsigned_char
2173 begin
2174 return To_LL_VUC (lvsr (A, To_PTR (B)));
2175 end vec_lvsr;
2177 function vec_lvsr
2178 (A : c_long;
2179 B : constv_unsigned_int_ptr) return vector_unsigned_char
2181 begin
2182 return To_LL_VUC (lvsr (A, To_PTR (B)));
2183 end vec_lvsr;
2185 function vec_lvsr
2186 (A : c_long;
2187 B : constv_int_ptr) return vector_unsigned_char
2189 begin
2190 return To_LL_VUC (lvsr (A, To_PTR (B)));
2191 end vec_lvsr;
2193 function vec_lvsr
2194 (A : c_long;
2195 B : constv_unsigned_long_ptr) return vector_unsigned_char
2197 begin
2198 return To_LL_VUC (lvsr (A, To_PTR (B)));
2199 end vec_lvsr;
2201 function vec_lvsr
2202 (A : c_long;
2203 B : constv_long_ptr) return vector_unsigned_char
2205 begin
2206 return To_LL_VUC (lvsr (A, To_PTR (B)));
2207 end vec_lvsr;
2209 function vec_lvsr
2210 (A : c_long;
2211 B : constv_float_ptr) return vector_unsigned_char
2213 begin
2214 return To_LL_VUC (lvsr (A, To_PTR (B)));
2215 end vec_lvsr;
2217 -- vec_madd --
2219 function vec_madd
2220 (A : vector_float;
2221 B : vector_float;
2222 C : vector_float) return vector_float
2224 begin
2225 return vmaddfp (A, B, C);
2226 end vec_madd;
2228 -- vec_madds --
2230 function vec_madds
2231 (A : vector_signed_short;
2232 B : vector_signed_short;
2233 C : vector_signed_short) return vector_signed_short
2235 begin
2236 return vmhaddshs (A, B, C);
2237 end vec_madds;
2239 -- vec_max --
2241 function vec_max
2242 (A : vector_bool_char;
2243 B : vector_unsigned_char) return vector_unsigned_char
2245 begin
2246 return To_LL_VUC (vmaxub (To_LL_VSC (A), To_LL_VSC (B)));
2247 end vec_max;
2249 function vec_max
2250 (A : vector_unsigned_char;
2251 B : vector_bool_char) return vector_unsigned_char
2253 begin
2254 return To_LL_VUC (vmaxub (To_LL_VSC (A), To_LL_VSC (B)));
2255 end vec_max;
2257 function vec_max
2258 (A : vector_unsigned_char;
2259 B : vector_unsigned_char) return vector_unsigned_char
2261 begin
2262 return To_LL_VUC (vmaxub (To_LL_VSC (A), To_LL_VSC (B)));
2263 end vec_max;
2265 function vec_max
2266 (A : vector_bool_char;
2267 B : vector_signed_char) return vector_signed_char
2269 begin
2270 return To_LL_VSC (vmaxsb (To_LL_VSC (A), To_LL_VSC (B)));
2271 end vec_max;
2273 function vec_max
2274 (A : vector_signed_char;
2275 B : vector_bool_char) return vector_signed_char
2277 begin
2278 return To_LL_VSC (vmaxsb (To_LL_VSC (A), To_LL_VSC (B)));
2279 end vec_max;
2281 function vec_max
2282 (A : vector_signed_char;
2283 B : vector_signed_char) return vector_signed_char
2285 begin
2286 return To_LL_VSC (vmaxsb (To_LL_VSC (A), To_LL_VSC (B)));
2287 end vec_max;
2289 function vec_max
2290 (A : vector_bool_short;
2291 B : vector_unsigned_short) return vector_unsigned_short
2293 begin
2294 return To_LL_VUS (vmaxuh (To_LL_VSS (A), To_LL_VSS (B)));
2295 end vec_max;
2297 function vec_max
2298 (A : vector_unsigned_short;
2299 B : vector_bool_short) return vector_unsigned_short
2301 begin
2302 return To_LL_VUS (vmaxuh (To_LL_VSS (A), To_LL_VSS (B)));
2303 end vec_max;
2305 function vec_max
2306 (A : vector_unsigned_short;
2307 B : vector_unsigned_short) return vector_unsigned_short
2309 begin
2310 return To_LL_VUS (vmaxuh (To_LL_VSS (A), To_LL_VSS (B)));
2311 end vec_max;
2313 function vec_max
2314 (A : vector_bool_short;
2315 B : vector_signed_short) return vector_signed_short
2317 begin
2318 return To_LL_VSS (vmaxsh (To_LL_VSS (A), To_LL_VSS (B)));
2319 end vec_max;
2321 function vec_max
2322 (A : vector_signed_short;
2323 B : vector_bool_short) return vector_signed_short
2325 begin
2326 return To_LL_VSS (vmaxsh (To_LL_VSS (A), To_LL_VSS (B)));
2327 end vec_max;
2329 function vec_max
2330 (A : vector_signed_short;
2331 B : vector_signed_short) return vector_signed_short
2333 begin
2334 return To_LL_VSS (vmaxsh (To_LL_VSS (A), To_LL_VSS (B)));
2335 end vec_max;
2337 function vec_max
2338 (A : vector_bool_int;
2339 B : vector_unsigned_int) return vector_unsigned_int
2341 begin
2342 return To_LL_VUI (vmaxuw (To_LL_VSI (A), To_LL_VSI (B)));
2343 end vec_max;
2345 function vec_max
2346 (A : vector_unsigned_int;
2347 B : vector_bool_int) return vector_unsigned_int
2349 begin
2350 return To_LL_VUI (vmaxuw (To_LL_VSI (A), To_LL_VSI (B)));
2351 end vec_max;
2353 function vec_max
2354 (A : vector_unsigned_int;
2355 B : vector_unsigned_int) return vector_unsigned_int
2357 begin
2358 return To_LL_VUI (vmaxuw (To_LL_VSI (A), To_LL_VSI (B)));
2359 end vec_max;
2361 function vec_max
2362 (A : vector_bool_int;
2363 B : vector_signed_int) return vector_signed_int
2365 begin
2366 return To_LL_VSI (vmaxsw (To_LL_VSI (A), To_LL_VSI (B)));
2367 end vec_max;
2369 function vec_max
2370 (A : vector_signed_int;
2371 B : vector_bool_int) return vector_signed_int
2373 begin
2374 return To_LL_VSI (vmaxsw (To_LL_VSI (A), To_LL_VSI (B)));
2375 end vec_max;
2377 function vec_max
2378 (A : vector_signed_int;
2379 B : vector_signed_int) return vector_signed_int
2381 begin
2382 return To_LL_VSI (vmaxsw (To_LL_VSI (A), To_LL_VSI (B)));
2383 end vec_max;
2385 function vec_max
2386 (A : vector_float;
2387 B : vector_float) return vector_float
2389 begin
2390 return To_LL_VF (vmaxfp (To_LL_VF (A), To_LL_VF (B)));
2391 end vec_max;
2393 -- vec_vmaxfp --
2395 function vec_vmaxfp
2396 (A : vector_float;
2397 B : vector_float) return vector_float
2399 begin
2400 return To_LL_VF (vmaxfp (To_LL_VF (A), To_LL_VF (B)));
2401 end vec_vmaxfp;
2403 -- vec_vmaxsw --
2405 function vec_vmaxsw
2406 (A : vector_bool_int;
2407 B : vector_signed_int) return vector_signed_int
2409 begin
2410 return To_LL_VSI (vmaxsw (To_LL_VSI (A), To_LL_VSI (B)));
2411 end vec_vmaxsw;
2413 function vec_vmaxsw
2414 (A : vector_signed_int;
2415 B : vector_bool_int) return vector_signed_int
2417 begin
2418 return To_LL_VSI (vmaxsw (To_LL_VSI (A), To_LL_VSI (B)));
2419 end vec_vmaxsw;
2421 function vec_vmaxsw
2422 (A : vector_signed_int;
2423 B : vector_signed_int) return vector_signed_int
2425 begin
2426 return To_LL_VSI (vmaxsw (To_LL_VSI (A), To_LL_VSI (B)));
2427 end vec_vmaxsw;
2429 -- vec_vmaxuw --
2431 function vec_vmaxuw
2432 (A : vector_bool_int;
2433 B : vector_unsigned_int) return vector_unsigned_int
2435 begin
2436 return To_LL_VUI (vmaxuw (To_LL_VSI (A), To_LL_VSI (B)));
2437 end vec_vmaxuw;
2439 function vec_vmaxuw
2440 (A : vector_unsigned_int;
2441 B : vector_bool_int) return vector_unsigned_int
2443 begin
2444 return To_LL_VUI (vmaxuw (To_LL_VSI (A), To_LL_VSI (B)));
2445 end vec_vmaxuw;
2447 function vec_vmaxuw
2448 (A : vector_unsigned_int;
2449 B : vector_unsigned_int) return vector_unsigned_int
2451 begin
2452 return To_LL_VUI (vmaxuw (To_LL_VSI (A), To_LL_VSI (B)));
2453 end vec_vmaxuw;
2455 -- vec_vmaxsh --
2457 function vec_vmaxsh
2458 (A : vector_bool_short;
2459 B : vector_signed_short) return vector_signed_short
2461 begin
2462 return To_LL_VSS (vmaxsh (To_LL_VSS (A), To_LL_VSS (B)));
2463 end vec_vmaxsh;
2465 function vec_vmaxsh
2466 (A : vector_signed_short;
2467 B : vector_bool_short) return vector_signed_short
2469 begin
2470 return To_LL_VSS (vmaxsh (To_LL_VSS (A), To_LL_VSS (B)));
2471 end vec_vmaxsh;
2473 function vec_vmaxsh
2474 (A : vector_signed_short;
2475 B : vector_signed_short) return vector_signed_short
2477 begin
2478 return To_LL_VSS (vmaxsh (To_LL_VSS (A), To_LL_VSS (B)));
2479 end vec_vmaxsh;
2481 -- vec_vmaxuh --
2483 function vec_vmaxuh
2484 (A : vector_bool_short;
2485 B : vector_unsigned_short) return vector_unsigned_short
2487 begin
2488 return To_LL_VUS (vmaxuh (To_LL_VSS (A), To_LL_VSS (B)));
2489 end vec_vmaxuh;
2491 function vec_vmaxuh
2492 (A : vector_unsigned_short;
2493 B : vector_bool_short) return vector_unsigned_short
2495 begin
2496 return To_LL_VUS (vmaxuh (To_LL_VSS (A), To_LL_VSS (B)));
2497 end vec_vmaxuh;
2499 function vec_vmaxuh
2500 (A : vector_unsigned_short;
2501 B : vector_unsigned_short) return vector_unsigned_short
2503 begin
2504 return To_LL_VUS (vmaxuh (To_LL_VSS (A), To_LL_VSS (B)));
2505 end vec_vmaxuh;
2507 -- vec_vmaxsb --
2509 function vec_vmaxsb
2510 (A : vector_bool_char;
2511 B : vector_signed_char) return vector_signed_char
2513 begin
2514 return To_LL_VSC (vmaxsb (To_LL_VSC (A), To_LL_VSC (B)));
2515 end vec_vmaxsb;
2517 function vec_vmaxsb
2518 (A : vector_signed_char;
2519 B : vector_bool_char) return vector_signed_char
2521 begin
2522 return To_LL_VSC (vmaxsb (To_LL_VSC (A), To_LL_VSC (B)));
2523 end vec_vmaxsb;
2525 function vec_vmaxsb
2526 (A : vector_signed_char;
2527 B : vector_signed_char) return vector_signed_char
2529 begin
2530 return To_LL_VSC (vmaxsb (To_LL_VSC (A), To_LL_VSC (B)));
2531 end vec_vmaxsb;
2533 -- vec_vmaxub --
2535 function vec_vmaxub
2536 (A : vector_bool_char;
2537 B : vector_unsigned_char) return vector_unsigned_char
2539 begin
2540 return To_LL_VUC (vmaxub (To_LL_VSC (A), To_LL_VSC (B)));
2541 end vec_vmaxub;
2543 function vec_vmaxub
2544 (A : vector_unsigned_char;
2545 B : vector_bool_char) return vector_unsigned_char
2547 begin
2548 return To_LL_VUC (vmaxub (To_LL_VSC (A), To_LL_VSC (B)));
2549 end vec_vmaxub;
2551 function vec_vmaxub
2552 (A : vector_unsigned_char;
2553 B : vector_unsigned_char) return vector_unsigned_char
2555 begin
2556 return To_LL_VUC (vmaxub (To_LL_VSC (A), To_LL_VSC (B)));
2557 end vec_vmaxub;
2559 -- vec_mergeh --
2561 function vec_mergeh
2562 (A : vector_bool_char;
2563 B : vector_bool_char) return vector_bool_char
2565 begin
2566 return To_LL_VBC (vmrghb (To_LL_VSC (A), To_LL_VSC (B)));
2567 end vec_mergeh;
2569 function vec_mergeh
2570 (A : vector_signed_char;
2571 B : vector_signed_char) return vector_signed_char
2573 begin
2574 return To_LL_VSC (vmrghb (To_LL_VSC (A), To_LL_VSC (B)));
2575 end vec_mergeh;
2577 function vec_mergeh
2578 (A : vector_unsigned_char;
2579 B : vector_unsigned_char) return vector_unsigned_char
2581 begin
2582 return To_LL_VUC (vmrghb (To_LL_VSC (A), To_LL_VSC (B)));
2583 end vec_mergeh;
2585 function vec_mergeh
2586 (A : vector_bool_short;
2587 B : vector_bool_short) return vector_bool_short
2589 begin
2590 return To_LL_VBS (vmrghh (To_LL_VSS (A), To_LL_VSS (B)));
2591 end vec_mergeh;
2593 function vec_mergeh
2594 (A : vector_pixel;
2595 B : vector_pixel) return vector_pixel
2597 begin
2598 return To_LL_VP (vmrghh (To_LL_VSS (A), To_LL_VSS (B)));
2599 end vec_mergeh;
2601 function vec_mergeh
2602 (A : vector_signed_short;
2603 B : vector_signed_short) return vector_signed_short
2605 begin
2606 return To_LL_VSS (vmrghh (To_LL_VSS (A), To_LL_VSS (B)));
2607 end vec_mergeh;
2609 function vec_mergeh
2610 (A : vector_unsigned_short;
2611 B : vector_unsigned_short) return vector_unsigned_short
2613 begin
2614 return To_LL_VUS (vmrghh (To_LL_VSS (A), To_LL_VSS (B)));
2615 end vec_mergeh;
2617 function vec_mergeh
2618 (A : vector_float;
2619 B : vector_float) return vector_float
2621 begin
2622 return To_LL_VF (vmrghw (To_LL_VSI (A), To_LL_VSI (B)));
2623 end vec_mergeh;
2625 function vec_mergeh
2626 (A : vector_bool_int;
2627 B : vector_bool_int) return vector_bool_int
2629 begin
2630 return To_LL_VBI (vmrghw (To_LL_VSI (A), To_LL_VSI (B)));
2631 end vec_mergeh;
2633 function vec_mergeh
2634 (A : vector_signed_int;
2635 B : vector_signed_int) return vector_signed_int
2637 begin
2638 return To_LL_VSI (vmrghw (To_LL_VSI (A), To_LL_VSI (B)));
2639 end vec_mergeh;
2641 function vec_mergeh
2642 (A : vector_unsigned_int;
2643 B : vector_unsigned_int) return vector_unsigned_int
2645 begin
2646 return To_LL_VUI (vmrghw (To_LL_VSI (A), To_LL_VSI (B)));
2647 end vec_mergeh;
2649 -- vec_vmrghw --
2651 function vec_vmrghw
2652 (A : vector_float;
2653 B : vector_float) return vector_float
2655 begin
2656 return To_LL_VF (vmrghw (To_LL_VSI (A), To_LL_VSI (B)));
2657 end vec_vmrghw;
2659 function vec_vmrghw
2660 (A : vector_bool_int;
2661 B : vector_bool_int) return vector_bool_int
2663 begin
2664 return To_LL_VBI (vmrghw (To_LL_VSI (A), To_LL_VSI (B)));
2665 end vec_vmrghw;
2667 function vec_vmrghw
2668 (A : vector_signed_int;
2669 B : vector_signed_int) return vector_signed_int
2671 begin
2672 return To_LL_VSI (vmrghw (To_LL_VSI (A), To_LL_VSI (B)));
2673 end vec_vmrghw;
2675 function vec_vmrghw
2676 (A : vector_unsigned_int;
2677 B : vector_unsigned_int) return vector_unsigned_int
2679 begin
2680 return To_LL_VUI (vmrghw (To_LL_VSI (A), To_LL_VSI (B)));
2681 end vec_vmrghw;
2683 -- vec_vmrghh --
2685 function vec_vmrghh
2686 (A : vector_bool_short;
2687 B : vector_bool_short) return vector_bool_short
2689 begin
2690 return To_LL_VBS (vmrghh (To_LL_VSS (A), To_LL_VSS (B)));
2691 end vec_vmrghh;
2693 function vec_vmrghh
2694 (A : vector_signed_short;
2695 B : vector_signed_short) return vector_signed_short
2697 begin
2698 return To_LL_VSS (vmrghh (To_LL_VSS (A), To_LL_VSS (B)));
2699 end vec_vmrghh;
2701 function vec_vmrghh
2702 (A : vector_unsigned_short;
2703 B : vector_unsigned_short) return vector_unsigned_short
2705 begin
2706 return To_LL_VUS (vmrghh (To_LL_VSS (A), To_LL_VSS (B)));
2707 end vec_vmrghh;
2709 function vec_vmrghh
2710 (A : vector_pixel;
2711 B : vector_pixel) return vector_pixel
2713 begin
2714 return To_LL_VP (vmrghh (To_LL_VSS (A), To_LL_VSS (B)));
2715 end vec_vmrghh;
2717 -- vec_vmrghb --
2719 function vec_vmrghb
2720 (A : vector_bool_char;
2721 B : vector_bool_char) return vector_bool_char
2723 begin
2724 return To_LL_VBC (vmrghb (To_LL_VSC (A), To_LL_VSC (B)));
2725 end vec_vmrghb;
2727 function vec_vmrghb
2728 (A : vector_signed_char;
2729 B : vector_signed_char) return vector_signed_char
2731 begin
2732 return To_LL_VSC (vmrghb (To_LL_VSC (A), To_LL_VSC (B)));
2733 end vec_vmrghb;
2735 function vec_vmrghb
2736 (A : vector_unsigned_char;
2737 B : vector_unsigned_char) return vector_unsigned_char
2739 begin
2740 return To_LL_VUC (vmrghb (To_LL_VSC (A), To_LL_VSC (B)));
2741 end vec_vmrghb;
2743 -- vec_mergel --
2745 function vec_mergel
2746 (A : vector_bool_char;
2747 B : vector_bool_char) return vector_bool_char
2749 begin
2750 return To_LL_VBC (vmrglb (To_LL_VSC (A), To_LL_VSC (B)));
2751 end vec_mergel;
2753 function vec_mergel
2754 (A : vector_signed_char;
2755 B : vector_signed_char) return vector_signed_char
2757 begin
2758 return To_LL_VSC (vmrglb (To_LL_VSC (A), To_LL_VSC (B)));
2759 end vec_mergel;
2761 function vec_mergel
2762 (A : vector_unsigned_char;
2763 B : vector_unsigned_char) return vector_unsigned_char
2765 begin
2766 return To_LL_VUC (vmrglb (To_LL_VSC (A), To_LL_VSC (B)));
2767 end vec_mergel;
2769 function vec_mergel
2770 (A : vector_bool_short;
2771 B : vector_bool_short) return vector_bool_short
2773 begin
2774 return To_LL_VBS (vmrglh (To_LL_VSS (A), To_LL_VSS (B)));
2775 end vec_mergel;
2777 function vec_mergel
2778 (A : vector_pixel;
2779 B : vector_pixel) return vector_pixel
2781 begin
2782 return To_LL_VP (vmrglh (To_LL_VSS (A), To_LL_VSS (B)));
2783 end vec_mergel;
2785 function vec_mergel
2786 (A : vector_signed_short;
2787 B : vector_signed_short) return vector_signed_short
2789 begin
2790 return To_LL_VSS (vmrglh (To_LL_VSS (A), To_LL_VSS (B)));
2791 end vec_mergel;
2793 function vec_mergel
2794 (A : vector_unsigned_short;
2795 B : vector_unsigned_short) return vector_unsigned_short
2797 begin
2798 return To_LL_VUS (vmrglh (To_LL_VSS (A), To_LL_VSS (B)));
2799 end vec_mergel;
2801 function vec_mergel
2802 (A : vector_float;
2803 B : vector_float) return vector_float
2805 begin
2806 return To_LL_VF (vmrglw (To_LL_VSI (A), To_LL_VSI (B)));
2807 end vec_mergel;
2809 function vec_mergel
2810 (A : vector_bool_int;
2811 B : vector_bool_int) return vector_bool_int
2813 begin
2814 return To_LL_VBI (vmrglw (To_LL_VSI (A), To_LL_VSI (B)));
2815 end vec_mergel;
2817 function vec_mergel
2818 (A : vector_signed_int;
2819 B : vector_signed_int) return vector_signed_int
2821 begin
2822 return To_LL_VSI (vmrglw (To_LL_VSI (A), To_LL_VSI (B)));
2823 end vec_mergel;
2825 function vec_mergel
2826 (A : vector_unsigned_int;
2827 B : vector_unsigned_int) return vector_unsigned_int
2829 begin
2830 return To_LL_VUI (vmrglw (To_LL_VSI (A), To_LL_VSI (B)));
2831 end vec_mergel;
2833 -- vec_vmrglw --
2835 function vec_vmrglw
2836 (A : vector_float;
2837 B : vector_float) return vector_float
2839 begin
2840 return To_LL_VF (vmrglw (To_LL_VSI (A), To_LL_VSI (B)));
2841 end vec_vmrglw;
2843 function vec_vmrglw
2844 (A : vector_signed_int;
2845 B : vector_signed_int) return vector_signed_int
2847 begin
2848 return To_LL_VSI (vmrglw (To_LL_VSI (A), To_LL_VSI (B)));
2849 end vec_vmrglw;
2851 function vec_vmrglw
2852 (A : vector_unsigned_int;
2853 B : vector_unsigned_int) return vector_unsigned_int
2855 begin
2856 return To_LL_VUI (vmrglw (To_LL_VSI (A), To_LL_VSI (B)));
2857 end vec_vmrglw;
2859 function vec_vmrglw
2860 (A : vector_bool_int;
2861 B : vector_bool_int) return vector_bool_int
2863 begin
2864 return To_LL_VBI (vmrglw (To_LL_VSI (A), To_LL_VSI (B)));
2865 end vec_vmrglw;
2867 -- vec_vmrglh --
2869 function vec_vmrglh
2870 (A : vector_bool_short;
2871 B : vector_bool_short) return vector_bool_short
2873 begin
2874 return To_LL_VBS (vmrglh (To_LL_VSS (A), To_LL_VSS (B)));
2875 end vec_vmrglh;
2877 function vec_vmrglh
2878 (A : vector_signed_short;
2879 B : vector_signed_short) return vector_signed_short
2881 begin
2882 return To_LL_VSS (vmrglh (To_LL_VSS (A), To_LL_VSS (B)));
2883 end vec_vmrglh;
2885 function vec_vmrglh
2886 (A : vector_unsigned_short;
2887 B : vector_unsigned_short) return vector_unsigned_short
2889 begin
2890 return To_LL_VUS (vmrglh (To_LL_VSS (A), To_LL_VSS (B)));
2891 end vec_vmrglh;
2893 function vec_vmrglh
2894 (A : vector_pixel;
2895 B : vector_pixel) return vector_pixel
2897 begin
2898 return To_LL_VP (vmrglh (To_LL_VSS (A), To_LL_VSS (B)));
2899 end vec_vmrglh;
2901 -- vec_vmrglb --
2903 function vec_vmrglb
2904 (A : vector_bool_char;
2905 B : vector_bool_char) return vector_bool_char
2907 begin
2908 return To_LL_VBC (vmrglb (To_LL_VSC (A), To_LL_VSC (B)));
2909 end vec_vmrglb;
2911 function vec_vmrglb
2912 (A : vector_signed_char;
2913 B : vector_signed_char) return vector_signed_char
2915 begin
2916 return To_LL_VSC (vmrglb (To_LL_VSC (A), To_LL_VSC (B)));
2917 end vec_vmrglb;
2919 function vec_vmrglb
2920 (A : vector_unsigned_char;
2921 B : vector_unsigned_char) return vector_unsigned_char
2923 begin
2924 return To_LL_VUC (vmrglb (To_LL_VSC (A), To_LL_VSC (B)));
2925 end vec_vmrglb;
2927 -- vec_mfvscr --
2929 function vec_mfvscr return vector_unsigned_short
2931 begin
2932 return To_LL_VUS (mfvscr);
2933 end vec_mfvscr;
2935 -- vec_min --
2937 function vec_min
2938 (A : vector_bool_char;
2939 B : vector_unsigned_char) return vector_unsigned_char
2941 begin
2942 return To_LL_VUC (vminub (To_LL_VSC (A), To_LL_VSC (B)));
2943 end vec_min;
2945 function vec_min
2946 (A : vector_unsigned_char;
2947 B : vector_bool_char) return vector_unsigned_char
2949 begin
2950 return To_LL_VUC (vminub (To_LL_VSC (A), To_LL_VSC (B)));
2951 end vec_min;
2953 function vec_min
2954 (A : vector_unsigned_char;
2955 B : vector_unsigned_char) return vector_unsigned_char
2957 begin
2958 return To_LL_VUC (vminub (To_LL_VSC (A), To_LL_VSC (B)));
2959 end vec_min;
2961 function vec_min
2962 (A : vector_bool_char;
2963 B : vector_signed_char) return vector_signed_char
2965 begin
2966 return To_LL_VSC (vminsb (To_LL_VSC (A), To_LL_VSC (B)));
2967 end vec_min;
2969 function vec_min
2970 (A : vector_signed_char;
2971 B : vector_bool_char) return vector_signed_char
2973 begin
2974 return To_LL_VSC (vminsb (To_LL_VSC (A), To_LL_VSC (B)));
2975 end vec_min;
2977 function vec_min
2978 (A : vector_signed_char;
2979 B : vector_signed_char) return vector_signed_char
2981 begin
2982 return To_LL_VSC (vminsb (To_LL_VSC (A), To_LL_VSC (B)));
2983 end vec_min;
2985 function vec_min
2986 (A : vector_bool_short;
2987 B : vector_unsigned_short) return vector_unsigned_short
2989 begin
2990 return To_LL_VUS (vminuh (To_LL_VSS (A), To_LL_VSS (B)));
2991 end vec_min;
2993 function vec_min
2994 (A : vector_unsigned_short;
2995 B : vector_bool_short) return vector_unsigned_short
2997 begin
2998 return To_LL_VUS (vminuh (To_LL_VSS (A), To_LL_VSS (B)));
2999 end vec_min;
3001 function vec_min
3002 (A : vector_unsigned_short;
3003 B : vector_unsigned_short) return vector_unsigned_short
3005 begin
3006 return To_LL_VUS (vminuh (To_LL_VSS (A), To_LL_VSS (B)));
3007 end vec_min;
3009 function vec_min
3010 (A : vector_bool_short;
3011 B : vector_signed_short) return vector_signed_short
3013 begin
3014 return To_LL_VSS (vminsh (To_LL_VSS (A), To_LL_VSS (B)));
3015 end vec_min;
3017 function vec_min
3018 (A : vector_signed_short;
3019 B : vector_bool_short) return vector_signed_short
3021 begin
3022 return To_LL_VSS (vminsh (To_LL_VSS (A), To_LL_VSS (B)));
3023 end vec_min;
3025 function vec_min
3026 (A : vector_signed_short;
3027 B : vector_signed_short) return vector_signed_short
3029 begin
3030 return To_LL_VSS (vminsh (To_LL_VSS (A), To_LL_VSS (B)));
3031 end vec_min;
3033 function vec_min
3034 (A : vector_bool_int;
3035 B : vector_unsigned_int) return vector_unsigned_int
3037 begin
3038 return To_LL_VUI (vminuw (To_LL_VSI (A), To_LL_VSI (B)));
3039 end vec_min;
3041 function vec_min
3042 (A : vector_unsigned_int;
3043 B : vector_bool_int) return vector_unsigned_int
3045 begin
3046 return To_LL_VUI (vminuw (To_LL_VSI (A), To_LL_VSI (B)));
3047 end vec_min;
3049 function vec_min
3050 (A : vector_unsigned_int;
3051 B : vector_unsigned_int) return vector_unsigned_int
3053 begin
3054 return To_LL_VUI (vminuw (To_LL_VSI (A), To_LL_VSI (B)));
3055 end vec_min;
3057 function vec_min
3058 (A : vector_bool_int;
3059 B : vector_signed_int) return vector_signed_int
3061 begin
3062 return To_LL_VSI (vminsw (To_LL_VSI (A), To_LL_VSI (B)));
3063 end vec_min;
3065 function vec_min
3066 (A : vector_signed_int;
3067 B : vector_bool_int) return vector_signed_int
3069 begin
3070 return To_LL_VSI (vminsw (To_LL_VSI (A), To_LL_VSI (B)));
3071 end vec_min;
3073 function vec_min
3074 (A : vector_signed_int;
3075 B : vector_signed_int) return vector_signed_int
3077 begin
3078 return To_LL_VSI (vminsw (To_LL_VSI (A), To_LL_VSI (B)));
3079 end vec_min;
3081 function vec_min
3082 (A : vector_float;
3083 B : vector_float) return vector_float
3085 begin
3086 return To_LL_VF (vminfp (To_LL_VF (A), To_LL_VF (B)));
3087 end vec_min;
3089 -- vec_vminfp --
3091 function vec_vminfp
3092 (A : vector_float;
3093 B : vector_float) return vector_float
3095 begin
3096 return To_LL_VF (vminfp (To_LL_VF (A), To_LL_VF (B)));
3097 end vec_vminfp;
3099 -- vec_vminsw --
3101 function vec_vminsw
3102 (A : vector_bool_int;
3103 B : vector_signed_int) return vector_signed_int
3105 begin
3106 return To_LL_VSI (vminsw (To_LL_VSI (A), To_LL_VSI (B)));
3107 end vec_vminsw;
3109 function vec_vminsw
3110 (A : vector_signed_int;
3111 B : vector_bool_int) return vector_signed_int
3113 begin
3114 return To_LL_VSI (vminsw (To_LL_VSI (A), To_LL_VSI (B)));
3115 end vec_vminsw;
3117 function vec_vminsw
3118 (A : vector_signed_int;
3119 B : vector_signed_int) return vector_signed_int
3121 begin
3122 return To_LL_VSI (vminsw (To_LL_VSI (A), To_LL_VSI (B)));
3123 end vec_vminsw;
3125 -- vec_vminuw --
3127 function vec_vminuw
3128 (A : vector_bool_int;
3129 B : vector_unsigned_int) return vector_unsigned_int
3131 begin
3132 return To_LL_VUI (vminuw (To_LL_VSI (A), To_LL_VSI (B)));
3133 end vec_vminuw;
3135 function vec_vminuw
3136 (A : vector_unsigned_int;
3137 B : vector_bool_int) return vector_unsigned_int
3139 begin
3140 return To_LL_VUI (vminuw (To_LL_VSI (A), To_LL_VSI (B)));
3141 end vec_vminuw;
3143 function vec_vminuw
3144 (A : vector_unsigned_int;
3145 B : vector_unsigned_int) return vector_unsigned_int
3147 begin
3148 return To_LL_VUI (vminuw (To_LL_VSI (A), To_LL_VSI (B)));
3149 end vec_vminuw;
3151 -- vec_vminsh --
3153 function vec_vminsh
3154 (A : vector_bool_short;
3155 B : vector_signed_short) return vector_signed_short
3157 begin
3158 return To_LL_VSS (vminsh (To_LL_VSS (A), To_LL_VSS (B)));
3159 end vec_vminsh;
3161 function vec_vminsh
3162 (A : vector_signed_short;
3163 B : vector_bool_short) return vector_signed_short
3165 begin
3166 return To_LL_VSS (vminsh (To_LL_VSS (A), To_LL_VSS (B)));
3167 end vec_vminsh;
3169 function vec_vminsh
3170 (A : vector_signed_short;
3171 B : vector_signed_short) return vector_signed_short
3173 begin
3174 return To_LL_VSS (vminsh (To_LL_VSS (A), To_LL_VSS (B)));
3175 end vec_vminsh;
3177 -- vec_vminuh --
3179 function vec_vminuh
3180 (A : vector_bool_short;
3181 B : vector_unsigned_short) return vector_unsigned_short
3183 begin
3184 return To_LL_VUS (vminuh (To_LL_VSS (A), To_LL_VSS (B)));
3185 end vec_vminuh;
3187 function vec_vminuh
3188 (A : vector_unsigned_short;
3189 B : vector_bool_short) return vector_unsigned_short
3191 begin
3192 return To_LL_VUS (vminuh (To_LL_VSS (A), To_LL_VSS (B)));
3193 end vec_vminuh;
3195 function vec_vminuh
3196 (A : vector_unsigned_short;
3197 B : vector_unsigned_short) return vector_unsigned_short
3199 begin
3200 return To_LL_VUS (vminuh (To_LL_VSS (A), To_LL_VSS (B)));
3201 end vec_vminuh;
3203 -- vec_vminsb --
3205 function vec_vminsb
3206 (A : vector_bool_char;
3207 B : vector_signed_char) return vector_signed_char
3209 begin
3210 return To_LL_VSC (vminsb (To_LL_VSC (A), To_LL_VSC (B)));
3211 end vec_vminsb;
3213 function vec_vminsb
3214 (A : vector_signed_char;
3215 B : vector_bool_char) return vector_signed_char
3217 begin
3218 return To_LL_VSC (vminsb (To_LL_VSC (A), To_LL_VSC (B)));
3219 end vec_vminsb;
3221 function vec_vminsb
3222 (A : vector_signed_char;
3223 B : vector_signed_char) return vector_signed_char
3225 begin
3226 return To_LL_VSC (vminsb (To_LL_VSC (A), To_LL_VSC (B)));
3227 end vec_vminsb;
3229 -- vec_vminub --
3231 function vec_vminub
3232 (A : vector_bool_char;
3233 B : vector_unsigned_char) return vector_unsigned_char
3235 begin
3236 return To_LL_VUC (vminub (To_LL_VSC (A), To_LL_VSC (B)));
3237 end vec_vminub;
3239 function vec_vminub
3240 (A : vector_unsigned_char;
3241 B : vector_bool_char) return vector_unsigned_char
3243 begin
3244 return To_LL_VUC (vminub (To_LL_VSC (A), To_LL_VSC (B)));
3245 end vec_vminub;
3247 function vec_vminub
3248 (A : vector_unsigned_char;
3249 B : vector_unsigned_char) return vector_unsigned_char
3251 begin
3252 return To_LL_VUC (vminub (To_LL_VSC (A), To_LL_VSC (B)));
3253 end vec_vminub;
3255 -- vec_mladd --
3257 function vec_mladd
3258 (A : vector_signed_short;
3259 B : vector_signed_short;
3260 C : vector_signed_short) return vector_signed_short
3262 begin
3263 return vmladduhm (A, B, C);
3264 end vec_mladd;
3266 function vec_mladd
3267 (A : vector_signed_short;
3268 B : vector_unsigned_short;
3269 C : vector_unsigned_short) return vector_signed_short
3271 begin
3272 return vmladduhm (A, To_LL_VSS (B), To_LL_VSS (C));
3273 end vec_mladd;
3275 function vec_mladd
3276 (A : vector_unsigned_short;
3277 B : vector_signed_short;
3278 C : vector_signed_short) return vector_signed_short
3280 begin
3281 return vmladduhm (To_LL_VSS (A), B, C);
3282 end vec_mladd;
3284 function vec_mladd
3285 (A : vector_unsigned_short;
3286 B : vector_unsigned_short;
3287 C : vector_unsigned_short) return vector_unsigned_short
3289 begin
3290 return
3291 To_LL_VUS (vmladduhm (To_LL_VSS (A), To_LL_VSS (B), To_LL_VSS (C)));
3292 end vec_mladd;
3294 -- vec_mradds --
3296 function vec_mradds
3297 (A : vector_signed_short;
3298 B : vector_signed_short;
3299 C : vector_signed_short) return vector_signed_short
3301 begin
3302 return vmhraddshs (A, B, C);
3303 end vec_mradds;
3305 -- vec_msum --
3307 function vec_msum
3308 (A : vector_unsigned_char;
3309 B : vector_unsigned_char;
3310 C : vector_unsigned_int) return vector_unsigned_int
3312 begin
3313 return
3314 To_LL_VUI (vmsumubm (To_LL_VSC (A), To_LL_VSC (B), To_LL_VSI (C)));
3315 end vec_msum;
3317 function vec_msum
3318 (A : vector_signed_char;
3319 B : vector_unsigned_char;
3320 C : vector_signed_int) return vector_signed_int
3322 begin
3323 return
3324 To_LL_VSI (vmsummbm (To_LL_VSC (A), To_LL_VSC (B), To_LL_VSI (C)));
3325 end vec_msum;
3327 function vec_msum
3328 (A : vector_unsigned_short;
3329 B : vector_unsigned_short;
3330 C : vector_unsigned_int) return vector_unsigned_int
3332 begin
3333 return
3334 To_LL_VUI (vmsumuhm (To_LL_VSS (A), To_LL_VSS (B), To_LL_VSI (C)));
3335 end vec_msum;
3337 function vec_msum
3338 (A : vector_signed_short;
3339 B : vector_signed_short;
3340 C : vector_signed_int) return vector_signed_int
3342 begin
3343 return
3344 To_LL_VSI (vmsumshm (To_LL_VSS (A), To_LL_VSS (B), To_LL_VSI (C)));
3345 end vec_msum;
3347 -- vec_vmsumshm --
3349 function vec_vmsumshm
3350 (A : vector_signed_short;
3351 B : vector_signed_short;
3352 C : vector_signed_int) return vector_signed_int
3354 begin
3355 return
3356 To_LL_VSI (vmsumshm (To_LL_VSS (A), To_LL_VSS (B), To_LL_VSI (C)));
3357 end vec_vmsumshm;
3359 -- vec_vmsumuhm --
3361 function vec_vmsumuhm
3362 (A : vector_unsigned_short;
3363 B : vector_unsigned_short;
3364 C : vector_unsigned_int) return vector_unsigned_int
3366 begin
3367 return
3368 To_LL_VUI (vmsumuhm (To_LL_VSS (A), To_LL_VSS (B), To_LL_VSI (C)));
3369 end vec_vmsumuhm;
3371 -- vec_vmsummbm --
3373 function vec_vmsummbm
3374 (A : vector_signed_char;
3375 B : vector_unsigned_char;
3376 C : vector_signed_int) return vector_signed_int
3378 begin
3379 return
3380 To_LL_VSI (vmsummbm (To_LL_VSC (A), To_LL_VSC (B), To_LL_VSI (C)));
3381 end vec_vmsummbm;
3383 -- vec_vmsumubm --
3385 function vec_vmsumubm
3386 (A : vector_unsigned_char;
3387 B : vector_unsigned_char;
3388 C : vector_unsigned_int) return vector_unsigned_int
3390 begin
3391 return
3392 To_LL_VUI (vmsumubm (To_LL_VSC (A), To_LL_VSC (B), To_LL_VSI (C)));
3393 end vec_vmsumubm;
3395 -- vec_msums --
3397 function vec_msums
3398 (A : vector_unsigned_short;
3399 B : vector_unsigned_short;
3400 C : vector_unsigned_int) return vector_unsigned_int
3402 begin
3403 return
3404 To_LL_VUI (vmsumuhs (To_LL_VSS (A), To_LL_VSS (B), To_LL_VSI (C)));
3405 end vec_msums;
3407 function vec_msums
3408 (A : vector_signed_short;
3409 B : vector_signed_short;
3410 C : vector_signed_int) return vector_signed_int
3412 begin
3413 return
3414 To_LL_VSI (vmsumshs (To_LL_VSS (A), To_LL_VSS (B), To_LL_VSI (C)));
3415 end vec_msums;
3417 -- vec_vmsumshs --
3419 function vec_vmsumshs
3420 (A : vector_signed_short;
3421 B : vector_signed_short;
3422 C : vector_signed_int) return vector_signed_int
3424 begin
3425 return
3426 To_LL_VSI (vmsumshs (To_LL_VSS (A), To_LL_VSS (B), To_LL_VSI (C)));
3427 end vec_vmsumshs;
3429 -- vec_vmsumuhs --
3431 function vec_vmsumuhs
3432 (A : vector_unsigned_short;
3433 B : vector_unsigned_short;
3434 C : vector_unsigned_int) return vector_unsigned_int
3436 begin
3437 return
3438 To_LL_VUI (vmsumuhs (To_LL_VSS (A), To_LL_VSS (B), To_LL_VSI (C)));
3439 end vec_vmsumuhs;
3441 -- vec_mtvscr --
3443 procedure vec_mtvscr
3444 (A : vector_signed_int)
3446 begin
3447 mtvscr (To_LL_VSI (A));
3448 end vec_mtvscr;
3450 procedure vec_mtvscr
3451 (A : vector_unsigned_int)
3453 begin
3454 mtvscr (To_LL_VSI (A));
3455 end vec_mtvscr;
3457 procedure vec_mtvscr
3458 (A : vector_bool_int)
3460 begin
3461 mtvscr (To_LL_VSI (A));
3462 end vec_mtvscr;
3464 procedure vec_mtvscr
3465 (A : vector_signed_short)
3467 begin
3468 mtvscr (To_LL_VSI (A));
3469 end vec_mtvscr;
3471 procedure vec_mtvscr
3472 (A : vector_unsigned_short)
3474 begin
3475 mtvscr (To_LL_VSI (A));
3476 end vec_mtvscr;
3478 procedure vec_mtvscr
3479 (A : vector_bool_short)
3481 begin
3482 mtvscr (To_LL_VSI (A));
3483 end vec_mtvscr;
3485 procedure vec_mtvscr
3486 (A : vector_pixel)
3488 begin
3489 mtvscr (To_LL_VSI (A));
3490 end vec_mtvscr;
3492 procedure vec_mtvscr
3493 (A : vector_signed_char)
3495 begin
3496 mtvscr (To_LL_VSI (A));
3497 end vec_mtvscr;
3499 procedure vec_mtvscr
3500 (A : vector_unsigned_char)
3502 begin
3503 mtvscr (To_LL_VSI (A));
3504 end vec_mtvscr;
3506 procedure vec_mtvscr
3507 (A : vector_bool_char)
3509 begin
3510 mtvscr (To_LL_VSI (A));
3511 end vec_mtvscr;
3513 -- vec_mule --
3515 function vec_mule
3516 (A : vector_unsigned_char;
3517 B : vector_unsigned_char) return vector_unsigned_short
3519 begin
3520 return To_LL_VUS (vmuleub (To_LL_VSC (A), To_LL_VSC (B)));
3521 end vec_mule;
3523 function vec_mule
3524 (A : vector_signed_char;
3525 B : vector_signed_char) return vector_signed_short
3527 begin
3528 return To_LL_VSS (vmulesb (To_LL_VSC (A), To_LL_VSC (B)));
3529 end vec_mule;
3531 function vec_mule
3532 (A : vector_unsigned_short;
3533 B : vector_unsigned_short) return vector_unsigned_int
3535 begin
3536 return To_LL_VUI (vmuleuh (To_LL_VSS (A), To_LL_VSS (B)));
3537 end vec_mule;
3539 function vec_mule
3540 (A : vector_signed_short;
3541 B : vector_signed_short) return vector_signed_int
3543 begin
3544 return To_LL_VSI (vmulesh (To_LL_VSS (A), To_LL_VSS (B)));
3545 end vec_mule;
3547 -- vec_vmulesh --
3549 function vec_vmulesh
3550 (A : vector_signed_short;
3551 B : vector_signed_short) return vector_signed_int
3553 begin
3554 return To_LL_VSI (vmulesh (To_LL_VSS (A), To_LL_VSS (B)));
3555 end vec_vmulesh;
3557 -- vec_vmuleuh --
3559 function vec_vmuleuh
3560 (A : vector_unsigned_short;
3561 B : vector_unsigned_short) return vector_unsigned_int
3563 begin
3564 return To_LL_VUI (vmuleuh (To_LL_VSS (A), To_LL_VSS (B)));
3565 end vec_vmuleuh;
3567 -- vec_vmulesb --
3569 function vec_vmulesb
3570 (A : vector_signed_char;
3571 B : vector_signed_char) return vector_signed_short
3573 begin
3574 return To_LL_VSS (vmuleub (To_LL_VSC (A), To_LL_VSC (B)));
3575 end vec_vmulesb;
3577 -- vec_vmuleub --
3579 function vec_vmuleub
3580 (A : vector_unsigned_char;
3581 B : vector_unsigned_char) return vector_unsigned_short
3583 begin
3584 return To_LL_VUS (vmuleub (To_LL_VSC (A), To_LL_VSC (B)));
3585 end vec_vmuleub;
3587 -- vec_mulo --
3589 function vec_mulo
3590 (A : vector_unsigned_char;
3591 B : vector_unsigned_char) return vector_unsigned_short
3593 begin
3594 return To_LL_VUS (vmuloub (To_LL_VSC (A), To_LL_VSC (B)));
3595 end vec_mulo;
3597 function vec_mulo
3598 (A : vector_signed_char;
3599 B : vector_signed_char) return vector_signed_short
3601 begin
3602 return To_LL_VSS (vmulosb (To_LL_VSC (A), To_LL_VSC (B)));
3603 end vec_mulo;
3605 function vec_mulo
3606 (A : vector_unsigned_short;
3607 B : vector_unsigned_short) return vector_unsigned_int
3609 begin
3610 return To_LL_VUI (vmulouh (To_LL_VSS (A), To_LL_VSS (B)));
3611 end vec_mulo;
3613 function vec_mulo
3614 (A : vector_signed_short;
3615 B : vector_signed_short) return vector_signed_int
3617 begin
3618 return To_LL_VSI (vmulosh (To_LL_VSS (A), To_LL_VSS (B)));
3619 end vec_mulo;
3621 -- vec_vmulosh --
3623 function vec_vmulosh
3624 (A : vector_signed_short;
3625 B : vector_signed_short) return vector_signed_int
3627 begin
3628 return To_LL_VSI (vmulosh (To_LL_VSS (A), To_LL_VSS (B)));
3629 end vec_vmulosh;
3631 -- vec_vmulouh --
3633 function vec_vmulouh
3634 (A : vector_unsigned_short;
3635 B : vector_unsigned_short) return vector_unsigned_int
3637 begin
3638 return To_LL_VUI (vmulouh (To_LL_VSS (A), To_LL_VSS (B)));
3639 end vec_vmulouh;
3641 -- vec_vmulosb --
3643 function vec_vmulosb
3644 (A : vector_signed_char;
3645 B : vector_signed_char) return vector_signed_short
3647 begin
3648 return To_LL_VSS (vmulosb (To_LL_VSC (A), To_LL_VSC (B)));
3649 end vec_vmulosb;
3651 -- vec_vmuloub --
3653 function vec_vmuloub
3654 (A : vector_unsigned_char;
3655 B : vector_unsigned_char) return vector_unsigned_short
3657 begin
3658 return To_LL_VUS (vmuloub (To_LL_VSC (A), To_LL_VSC (B)));
3659 end vec_vmuloub;
3661 -- vec_nmsub --
3663 function vec_nmsub
3664 (A : vector_float;
3665 B : vector_float;
3666 C : vector_float) return vector_float
3668 begin
3669 return To_LL_VF (vnmsubfp (To_LL_VF (A), To_LL_VF (B), To_LL_VF (C)));
3670 end vec_nmsub;
3672 -- vec_nor --
3674 function vec_nor
3675 (A : vector_float;
3676 B : vector_float) return vector_float
3678 begin
3679 return To_LL_VF (vnor (To_LL_VSI (A), To_LL_VSI (B)));
3680 end vec_nor;
3682 function vec_nor
3683 (A : vector_signed_int;
3684 B : vector_signed_int) return vector_signed_int
3686 begin
3687 return To_LL_VSI (vnor (To_LL_VSI (A), To_LL_VSI (B)));
3688 end vec_nor;
3690 function vec_nor
3691 (A : vector_unsigned_int;
3692 B : vector_unsigned_int) return vector_unsigned_int
3694 begin
3695 return To_LL_VUI (vnor (To_LL_VSI (A), To_LL_VSI (B)));
3696 end vec_nor;
3698 function vec_nor
3699 (A : vector_bool_int;
3700 B : vector_bool_int) return vector_bool_int
3702 begin
3703 return To_LL_VBI (vnor (To_LL_VSI (A), To_LL_VSI (B)));
3704 end vec_nor;
3706 function vec_nor
3707 (A : vector_signed_short;
3708 B : vector_signed_short) return vector_signed_short
3710 begin
3711 return To_LL_VSS (vnor (To_LL_VSI (A), To_LL_VSI (B)));
3712 end vec_nor;
3714 function vec_nor
3715 (A : vector_unsigned_short;
3716 B : vector_unsigned_short) return vector_unsigned_short
3718 begin
3719 return To_LL_VUS (vnor (To_LL_VSI (A), To_LL_VSI (B)));
3720 end vec_nor;
3722 function vec_nor
3723 (A : vector_bool_short;
3724 B : vector_bool_short) return vector_bool_short
3726 begin
3727 return To_LL_VBS (vnor (To_LL_VSI (A), To_LL_VSI (B)));
3728 end vec_nor;
3730 function vec_nor
3731 (A : vector_signed_char;
3732 B : vector_signed_char) return vector_signed_char
3734 begin
3735 return To_LL_VSC (vnor (To_LL_VSI (A), To_LL_VSI (B)));
3736 end vec_nor;
3738 function vec_nor
3739 (A : vector_unsigned_char;
3740 B : vector_unsigned_char) return vector_unsigned_char
3742 begin
3743 return To_LL_VUC (vnor (To_LL_VSI (A), To_LL_VSI (B)));
3744 end vec_nor;
3746 function vec_nor
3747 (A : vector_bool_char;
3748 B : vector_bool_char) return vector_bool_char
3750 begin
3751 return To_LL_VBC (vnor (To_LL_VSI (A), To_LL_VSI (B)));
3752 end vec_nor;
3754 -- vec_or --
3756 function vec_or
3757 (A : vector_float;
3758 B : vector_float) return vector_float
3760 begin
3761 return To_LL_VF (vor (To_LL_VSI (A), To_LL_VSI (B)));
3762 end vec_or;
3764 function vec_or
3765 (A : vector_float;
3766 B : vector_bool_int) return vector_float
3768 begin
3769 return To_LL_VF (vor (To_LL_VSI (A), To_LL_VSI (B)));
3770 end vec_or;
3772 function vec_or
3773 (A : vector_bool_int;
3774 B : vector_float) return vector_float
3776 begin
3777 return To_LL_VF (vor (To_LL_VSI (A), To_LL_VSI (B)));
3778 end vec_or;
3780 function vec_or
3781 (A : vector_bool_int;
3782 B : vector_bool_int) return vector_bool_int
3784 begin
3785 return To_LL_VBI (vor (To_LL_VSI (A), To_LL_VSI (B)));
3786 end vec_or;
3788 function vec_or
3789 (A : vector_bool_int;
3790 B : vector_signed_int) return vector_signed_int
3792 begin
3793 return To_LL_VSI (vor (To_LL_VSI (A), To_LL_VSI (B)));
3794 end vec_or;
3796 function vec_or
3797 (A : vector_signed_int;
3798 B : vector_bool_int) return vector_signed_int
3800 begin
3801 return To_LL_VSI (vor (To_LL_VSI (A), To_LL_VSI (B)));
3802 end vec_or;
3804 function vec_or
3805 (A : vector_signed_int;
3806 B : vector_signed_int) return vector_signed_int
3808 begin
3809 return To_LL_VSI (vor (To_LL_VSI (A), To_LL_VSI (B)));
3810 end vec_or;
3812 function vec_or
3813 (A : vector_bool_int;
3814 B : vector_unsigned_int) return vector_unsigned_int
3816 begin
3817 return To_LL_VUI (vor (To_LL_VSI (A), To_LL_VSI (B)));
3818 end vec_or;
3820 function vec_or
3821 (A : vector_unsigned_int;
3822 B : vector_bool_int) return vector_unsigned_int
3824 begin
3825 return To_LL_VUI (vor (To_LL_VSI (A), To_LL_VSI (B)));
3826 end vec_or;
3828 function vec_or
3829 (A : vector_unsigned_int;
3830 B : vector_unsigned_int) return vector_unsigned_int
3832 begin
3833 return To_LL_VUI (vor (To_LL_VSI (A), To_LL_VSI (B)));
3834 end vec_or;
3836 function vec_or
3837 (A : vector_bool_short;
3838 B : vector_bool_short) return vector_bool_short
3840 begin
3841 return To_LL_VBS (vor (To_LL_VSI (A), To_LL_VSI (B)));
3842 end vec_or;
3844 function vec_or
3845 (A : vector_bool_short;
3846 B : vector_signed_short) return vector_signed_short
3848 begin
3849 return To_LL_VSS (vor (To_LL_VSI (A), To_LL_VSI (B)));
3850 end vec_or;
3852 function vec_or
3853 (A : vector_signed_short;
3854 B : vector_bool_short) return vector_signed_short
3856 begin
3857 return To_LL_VSS (vor (To_LL_VSI (A), To_LL_VSI (B)));
3858 end vec_or;
3860 function vec_or
3861 (A : vector_signed_short;
3862 B : vector_signed_short) return vector_signed_short
3864 begin
3865 return To_LL_VSS (vor (To_LL_VSI (A), To_LL_VSI (B)));
3866 end vec_or;
3868 function vec_or
3869 (A : vector_bool_short;
3870 B : vector_unsigned_short) return vector_unsigned_short
3872 begin
3873 return To_LL_VUS (vor (To_LL_VSI (A), To_LL_VSI (B)));
3874 end vec_or;
3876 function vec_or
3877 (A : vector_unsigned_short;
3878 B : vector_bool_short) return vector_unsigned_short
3880 begin
3881 return To_LL_VUS (vor (To_LL_VSI (A), To_LL_VSI (B)));
3882 end vec_or;
3884 function vec_or
3885 (A : vector_unsigned_short;
3886 B : vector_unsigned_short) return vector_unsigned_short
3888 begin
3889 return To_LL_VUS (vor (To_LL_VSI (A), To_LL_VSI (B)));
3890 end vec_or;
3892 function vec_or
3893 (A : vector_bool_char;
3894 B : vector_signed_char) return vector_signed_char
3896 begin
3897 return To_LL_VSC (vor (To_LL_VSI (A), To_LL_VSI (B)));
3898 end vec_or;
3900 function vec_or
3901 (A : vector_bool_char;
3902 B : vector_bool_char) return vector_bool_char
3904 begin
3905 return To_LL_VBC (vor (To_LL_VSI (A), To_LL_VSI (B)));
3906 end vec_or;
3908 function vec_or
3909 (A : vector_signed_char;
3910 B : vector_bool_char) return vector_signed_char
3912 begin
3913 return To_LL_VSC (vor (To_LL_VSI (A), To_LL_VSI (B)));
3914 end vec_or;
3916 function vec_or
3917 (A : vector_signed_char;
3918 B : vector_signed_char) return vector_signed_char
3920 begin
3921 return To_LL_VSC (vor (To_LL_VSI (A), To_LL_VSI (B)));
3922 end vec_or;
3924 function vec_or
3925 (A : vector_bool_char;
3926 B : vector_unsigned_char) return vector_unsigned_char
3928 begin
3929 return To_LL_VUC (vor (To_LL_VSI (A), To_LL_VSI (B)));
3930 end vec_or;
3932 function vec_or
3933 (A : vector_unsigned_char;
3934 B : vector_bool_char) return vector_unsigned_char
3936 begin
3937 return To_LL_VUC (vor (To_LL_VSI (A), To_LL_VSI (B)));
3938 end vec_or;
3940 function vec_or
3941 (A : vector_unsigned_char;
3942 B : vector_unsigned_char) return vector_unsigned_char
3944 begin
3945 return To_LL_VUC (vor (To_LL_VSI (A), To_LL_VSI (B)));
3946 end vec_or;
3948 -- vec_pack --
3950 function vec_pack
3951 (A : vector_signed_short;
3952 B : vector_signed_short) return vector_signed_char
3954 begin
3955 return To_LL_VSC (vpkuhum (To_LL_VSS (A), To_LL_VSS (B)));
3956 end vec_pack;
3958 function vec_pack
3959 (A : vector_unsigned_short;
3960 B : vector_unsigned_short) return vector_unsigned_char
3962 begin
3963 return To_LL_VUC (vpkuhum (To_LL_VSS (A), To_LL_VSS (B)));
3964 end vec_pack;
3966 function vec_pack
3967 (A : vector_bool_short;
3968 B : vector_bool_short) return vector_bool_char
3970 begin
3971 return To_LL_VBC (vpkuhum (To_LL_VSS (A), To_LL_VSS (B)));
3972 end vec_pack;
3974 function vec_pack
3975 (A : vector_signed_int;
3976 B : vector_signed_int) return vector_signed_short
3978 begin
3979 return To_LL_VSS (vpkuwum (To_LL_VSI (A), To_LL_VSI (B)));
3980 end vec_pack;
3982 function vec_pack
3983 (A : vector_unsigned_int;
3984 B : vector_unsigned_int) return vector_unsigned_short
3986 begin
3987 return To_LL_VUS (vpkuwum (To_LL_VSI (A), To_LL_VSI (B)));
3988 end vec_pack;
3990 function vec_pack
3991 (A : vector_bool_int;
3992 B : vector_bool_int) return vector_bool_short
3994 begin
3995 return To_LL_VBS (vpkuwum (To_LL_VSI (A), To_LL_VSI (B)));
3996 end vec_pack;
3998 -- vec_vpkuwum --
4000 function vec_vpkuwum
4001 (A : vector_bool_int;
4002 B : vector_bool_int) return vector_bool_short
4004 begin
4005 return To_LL_VBS (vpkuwum (To_LL_VSI (A), To_LL_VSI (B)));
4006 end vec_vpkuwum;
4008 function vec_vpkuwum
4009 (A : vector_signed_int;
4010 B : vector_signed_int) return vector_signed_short
4012 begin
4013 return To_LL_VSS (vpkuwum (To_LL_VSI (A), To_LL_VSI (B)));
4014 end vec_vpkuwum;
4016 function vec_vpkuwum
4017 (A : vector_unsigned_int;
4018 B : vector_unsigned_int) return vector_unsigned_short
4020 begin
4021 return To_LL_VUS (vpkuwum (To_LL_VSI (A), To_LL_VSI (B)));
4022 end vec_vpkuwum;
4024 -- vec_vpkuhum --
4026 function vec_vpkuhum
4027 (A : vector_bool_short;
4028 B : vector_bool_short) return vector_bool_char
4030 begin
4031 return To_LL_VBC (vpkuhum (To_LL_VSS (A), To_LL_VSS (B)));
4032 end vec_vpkuhum;
4034 function vec_vpkuhum
4035 (A : vector_signed_short;
4036 B : vector_signed_short) return vector_signed_char
4038 begin
4039 return To_LL_VSC (vpkuhum (To_LL_VSS (A), To_LL_VSS (B)));
4040 end vec_vpkuhum;
4042 function vec_vpkuhum
4043 (A : vector_unsigned_short;
4044 B : vector_unsigned_short) return vector_unsigned_char
4046 begin
4047 return To_LL_VUC (vpkuhum (To_LL_VSS (A), To_LL_VSS (B)));
4048 end vec_vpkuhum;
4050 -- vec_packpx --
4052 function vec_packpx
4053 (A : vector_unsigned_int;
4054 B : vector_unsigned_int) return vector_pixel
4056 begin
4057 return To_LL_VP (vpkpx (To_LL_VSI (A), To_LL_VSI (B)));
4058 end vec_packpx;
4060 -- vec_packs --
4062 function vec_packs
4063 (A : vector_unsigned_short;
4064 B : vector_unsigned_short) return vector_unsigned_char
4066 begin
4067 return To_LL_VUC (vpkuhus (To_LL_VSS (A), To_LL_VSS (B)));
4068 end vec_packs;
4070 function vec_packs
4071 (A : vector_signed_short;
4072 B : vector_signed_short) return vector_signed_char
4074 begin
4075 return To_LL_VSC (vpkshss (To_LL_VSS (A), To_LL_VSS (B)));
4076 end vec_packs;
4078 function vec_packs
4079 (A : vector_unsigned_int;
4080 B : vector_unsigned_int) return vector_unsigned_short
4082 begin
4083 return To_LL_VUS (vpkuwus (To_LL_VSI (A), To_LL_VSI (B)));
4084 end vec_packs;
4086 function vec_packs
4087 (A : vector_signed_int;
4088 B : vector_signed_int) return vector_signed_short
4090 begin
4091 return To_LL_VSS (vpkswss (To_LL_VSI (A), To_LL_VSI (B)));
4092 end vec_packs;
4094 -- vec_vpkswss --
4096 function vec_vpkswss
4097 (A : vector_signed_int;
4098 B : vector_signed_int) return vector_signed_short
4100 begin
4101 return To_LL_VSS (vpkswss (To_LL_VSI (A), To_LL_VSI (B)));
4102 end vec_vpkswss;
4104 -- vec_vpkuwus --
4106 function vec_vpkuwus
4107 (A : vector_unsigned_int;
4108 B : vector_unsigned_int) return vector_unsigned_short
4110 begin
4111 return To_LL_VUS (vpkuwus (To_LL_VSI (A), To_LL_VSI (B)));
4112 end vec_vpkuwus;
4114 -- vec_vpkshss --
4116 function vec_vpkshss
4117 (A : vector_signed_short;
4118 B : vector_signed_short) return vector_signed_char
4120 begin
4121 return To_LL_VSC (vpkshss (To_LL_VSS (A), To_LL_VSS (B)));
4122 end vec_vpkshss;
4124 -- vec_vpkuhus --
4126 function vec_vpkuhus
4127 (A : vector_unsigned_short;
4128 B : vector_unsigned_short) return vector_unsigned_char
4130 begin
4131 return To_LL_VUC (vpkuhus (To_LL_VSS (A), To_LL_VSS (B)));
4132 end vec_vpkuhus;
4134 -- vec_packsu --
4136 function vec_packsu
4137 (A : vector_unsigned_short;
4138 B : vector_unsigned_short) return vector_unsigned_char
4140 begin
4141 return To_LL_VUC (vpkuhus (To_LL_VSS (A), To_LL_VSS (B)));
4142 end vec_packsu;
4144 function vec_packsu
4145 (A : vector_signed_short;
4146 B : vector_signed_short) return vector_unsigned_char
4148 begin
4149 return To_LL_VUC (vpkshus (To_LL_VSS (A), To_LL_VSS (B)));
4150 end vec_packsu;
4152 function vec_packsu
4153 (A : vector_unsigned_int;
4154 B : vector_unsigned_int) return vector_unsigned_short
4156 begin
4157 return To_LL_VUS (vpkuwus (To_LL_VSI (A), To_LL_VSI (B)));
4158 end vec_packsu;
4160 function vec_packsu
4161 (A : vector_signed_int;
4162 B : vector_signed_int) return vector_unsigned_short
4164 begin
4165 return To_LL_VUS (vpkswus (To_LL_VSI (A), To_LL_VSI (B)));
4166 end vec_packsu;
4168 -- vec_vpkswus --
4170 function vec_vpkswus
4171 (A : vector_signed_int;
4172 B : vector_signed_int) return vector_unsigned_short
4174 begin
4175 return To_LL_VUS (vpkswus (To_LL_VSI (A), To_LL_VSI (B)));
4176 end vec_vpkswus;
4178 -- vec_vpkshus --
4180 function vec_vpkshus
4181 (A : vector_signed_short;
4182 B : vector_signed_short) return vector_unsigned_char
4184 begin
4185 return To_LL_VUC (vpkshus (To_LL_VSS (A), To_LL_VSS (B)));
4186 end vec_vpkshus;
4188 -- vec_perm --
4190 function vec_perm
4191 (A : vector_float;
4192 B : vector_float;
4193 C : vector_unsigned_char) return vector_float
4195 begin
4196 return
4197 To_LL_VF (vperm_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSC (C)));
4198 end vec_perm;
4200 function vec_perm
4201 (A : vector_signed_int;
4202 B : vector_signed_int;
4203 C : vector_unsigned_char) return vector_signed_int
4205 begin
4206 return
4207 To_LL_VSI (vperm_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSC (C)));
4208 end vec_perm;
4210 function vec_perm
4211 (A : vector_unsigned_int;
4212 B : vector_unsigned_int;
4213 C : vector_unsigned_char) return vector_unsigned_int
4215 begin
4216 return
4217 To_LL_VUI (vperm_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSC (C)));
4218 end vec_perm;
4220 function vec_perm
4221 (A : vector_bool_int;
4222 B : vector_bool_int;
4223 C : vector_unsigned_char) return vector_bool_int
4225 begin
4226 return
4227 To_LL_VBI (vperm_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSC (C)));
4228 end vec_perm;
4230 function vec_perm
4231 (A : vector_signed_short;
4232 B : vector_signed_short;
4233 C : vector_unsigned_char) return vector_signed_short
4235 begin
4236 return
4237 To_LL_VSS (vperm_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSC (C)));
4238 end vec_perm;
4240 function vec_perm
4241 (A : vector_unsigned_short;
4242 B : vector_unsigned_short;
4243 C : vector_unsigned_char) return vector_unsigned_short
4245 begin
4246 return
4247 To_LL_VUS (vperm_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSC (C)));
4248 end vec_perm;
4250 function vec_perm
4251 (A : vector_bool_short;
4252 B : vector_bool_short;
4253 C : vector_unsigned_char) return vector_bool_short
4255 begin
4256 return
4257 To_LL_VBS (vperm_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSC (C)));
4258 end vec_perm;
4260 function vec_perm
4261 (A : vector_pixel;
4262 B : vector_pixel;
4263 C : vector_unsigned_char) return vector_pixel
4265 begin
4266 return To_LL_VP
4267 (vperm_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSC (C)));
4268 end vec_perm;
4270 function vec_perm
4271 (A : vector_signed_char;
4272 B : vector_signed_char;
4273 C : vector_unsigned_char) return vector_signed_char
4275 begin
4276 return To_LL_VSC
4277 (vperm_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSC (C)));
4278 end vec_perm;
4280 function vec_perm
4281 (A : vector_unsigned_char;
4282 B : vector_unsigned_char;
4283 C : vector_unsigned_char) return vector_unsigned_char
4285 begin
4286 return
4287 To_LL_VUC (vperm_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSC (C)));
4288 end vec_perm;
4290 function vec_perm
4291 (A : vector_bool_char;
4292 B : vector_bool_char;
4293 C : vector_unsigned_char) return vector_bool_char
4295 begin
4296 return
4297 To_LL_VBC (vperm_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSC (C)));
4298 end vec_perm;
4300 -- vec_re --
4302 function vec_re
4303 (A : vector_float) return vector_float
4305 begin
4306 return To_LL_VF (vrefp (To_LL_VF (A)));
4307 end vec_re;
4309 -- vec_rl --
4311 function vec_rl
4312 (A : vector_signed_char;
4313 B : vector_unsigned_char) return vector_signed_char
4315 begin
4316 return To_LL_VSC (vrlb (To_LL_VSC (A), To_LL_VSC (B)));
4317 end vec_rl;
4319 function vec_rl
4320 (A : vector_unsigned_char;
4321 B : vector_unsigned_char) return vector_unsigned_char
4323 begin
4324 return To_LL_VUC (vrlb (To_LL_VSC (A), To_LL_VSC (B)));
4325 end vec_rl;
4327 function vec_rl
4328 (A : vector_signed_short;
4329 B : vector_unsigned_short) return vector_signed_short
4331 begin
4332 return To_LL_VSS (vrlh (To_LL_VSS (A), To_LL_VSS (B)));
4333 end vec_rl;
4335 function vec_rl
4336 (A : vector_unsigned_short;
4337 B : vector_unsigned_short) return vector_unsigned_short
4339 begin
4340 return To_LL_VUS (vrlh (To_LL_VSS (A), To_LL_VSS (B)));
4341 end vec_rl;
4343 function vec_rl
4344 (A : vector_signed_int;
4345 B : vector_unsigned_int) return vector_signed_int
4347 begin
4348 return To_LL_VSI (vrlw (To_LL_VSI (A), To_LL_VSI (B)));
4349 end vec_rl;
4351 function vec_rl
4352 (A : vector_unsigned_int;
4353 B : vector_unsigned_int) return vector_unsigned_int
4355 begin
4356 return To_LL_VUI (vrlw (To_LL_VSI (A), To_LL_VSI (B)));
4357 end vec_rl;
4359 -- vec_vrlw --
4361 function vec_vrlw
4362 (A : vector_signed_int;
4363 B : vector_unsigned_int) return vector_signed_int
4365 begin
4366 return To_LL_VSI (vrlw (To_LL_VSI (A), To_LL_VSI (B)));
4367 end vec_vrlw;
4369 function vec_vrlw
4370 (A : vector_unsigned_int;
4371 B : vector_unsigned_int) return vector_unsigned_int
4373 begin
4374 return To_LL_VUI (vrlw (To_LL_VSI (A), To_LL_VSI (B)));
4375 end vec_vrlw;
4377 -- vec_vrlh --
4379 function vec_vrlh
4380 (A : vector_signed_short;
4381 B : vector_unsigned_short) return vector_signed_short
4383 begin
4384 return To_LL_VSS (vrlh (To_LL_VSS (A), To_LL_VSS (B)));
4385 end vec_vrlh;
4387 function vec_vrlh
4388 (A : vector_unsigned_short;
4389 B : vector_unsigned_short) return vector_unsigned_short
4391 begin
4392 return To_LL_VUS (vrlh (To_LL_VSS (A), To_LL_VSS (B)));
4393 end vec_vrlh;
4395 -- vec_vrlb --
4397 function vec_vrlb
4398 (A : vector_signed_char;
4399 B : vector_unsigned_char) return vector_signed_char
4401 begin
4402 return To_LL_VSC (vrlb (To_LL_VSC (A), To_LL_VSC (B)));
4403 end vec_vrlb;
4405 function vec_vrlb
4406 (A : vector_unsigned_char;
4407 B : vector_unsigned_char) return vector_unsigned_char
4409 begin
4410 return To_LL_VUC (vrlb (To_LL_VSC (A), To_LL_VSC (B)));
4411 end vec_vrlb;
4413 -- vec_round --
4415 function vec_round
4416 (A : vector_float) return vector_float
4418 begin
4419 return To_LL_VF (vrfin (To_LL_VF (A)));
4420 end vec_round;
4422 -- vec_rsqrte --
4424 function vec_rsqrte
4425 (A : vector_float) return vector_float
4427 begin
4428 return To_LL_VF (vrsqrtefp (To_LL_VF (A)));
4429 end vec_rsqrte;
4431 -- vec_sel --
4433 function vec_sel
4434 (A : vector_float;
4435 B : vector_float;
4436 C : vector_bool_int) return vector_float
4438 begin
4439 return To_LL_VF (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4440 end vec_sel;
4442 function vec_sel
4443 (A : vector_float;
4444 B : vector_float;
4445 C : vector_unsigned_int) return vector_float
4447 begin
4448 return To_LL_VF (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4449 end vec_sel;
4451 function vec_sel
4452 (A : vector_signed_int;
4453 B : vector_signed_int;
4454 C : vector_bool_int) return vector_signed_int
4456 begin
4457 return
4458 To_LL_VSI (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4459 end vec_sel;
4461 function vec_sel
4462 (A : vector_signed_int;
4463 B : vector_signed_int;
4464 C : vector_unsigned_int) return vector_signed_int
4466 begin
4467 return
4468 To_LL_VSI (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4469 end vec_sel;
4471 function vec_sel
4472 (A : vector_unsigned_int;
4473 B : vector_unsigned_int;
4474 C : vector_bool_int) return vector_unsigned_int
4476 begin
4477 return
4478 To_LL_VUI (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4479 end vec_sel;
4481 function vec_sel
4482 (A : vector_unsigned_int;
4483 B : vector_unsigned_int;
4484 C : vector_unsigned_int) return vector_unsigned_int
4486 begin
4487 return
4488 To_LL_VUI (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4489 end vec_sel;
4491 function vec_sel
4492 (A : vector_bool_int;
4493 B : vector_bool_int;
4494 C : vector_bool_int) return vector_bool_int
4496 begin
4497 return
4498 To_LL_VBI (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4499 end vec_sel;
4501 function vec_sel
4502 (A : vector_bool_int;
4503 B : vector_bool_int;
4504 C : vector_unsigned_int) return vector_bool_int
4506 begin
4507 return
4508 To_LL_VBI (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4509 end vec_sel;
4511 function vec_sel
4512 (A : vector_signed_short;
4513 B : vector_signed_short;
4514 C : vector_bool_short) return vector_signed_short
4516 begin
4517 return
4518 To_LL_VSS (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4519 end vec_sel;
4521 function vec_sel
4522 (A : vector_signed_short;
4523 B : vector_signed_short;
4524 C : vector_unsigned_short) return vector_signed_short
4526 begin
4527 return
4528 To_LL_VSS (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4529 end vec_sel;
4531 function vec_sel
4532 (A : vector_unsigned_short;
4533 B : vector_unsigned_short;
4534 C : vector_bool_short) return vector_unsigned_short
4536 begin
4537 return
4538 To_LL_VUS (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4539 end vec_sel;
4541 function vec_sel
4542 (A : vector_unsigned_short;
4543 B : vector_unsigned_short;
4544 C : vector_unsigned_short) return vector_unsigned_short
4546 begin
4547 return
4548 To_LL_VUS (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4549 end vec_sel;
4551 function vec_sel
4552 (A : vector_bool_short;
4553 B : vector_bool_short;
4554 C : vector_bool_short) return vector_bool_short
4556 begin
4557 return
4558 To_LL_VBS (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4559 end vec_sel;
4561 function vec_sel
4562 (A : vector_bool_short;
4563 B : vector_bool_short;
4564 C : vector_unsigned_short) return vector_bool_short
4566 begin
4567 return
4568 To_LL_VBS (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4569 end vec_sel;
4571 function vec_sel
4572 (A : vector_signed_char;
4573 B : vector_signed_char;
4574 C : vector_bool_char) return vector_signed_char
4576 begin
4577 return
4578 To_LL_VSC (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4579 end vec_sel;
4581 function vec_sel
4582 (A : vector_signed_char;
4583 B : vector_signed_char;
4584 C : vector_unsigned_char) return vector_signed_char
4586 begin
4587 return
4588 To_LL_VSC (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4589 end vec_sel;
4591 function vec_sel
4592 (A : vector_unsigned_char;
4593 B : vector_unsigned_char;
4594 C : vector_bool_char) return vector_unsigned_char
4596 begin
4597 return
4598 To_LL_VUC (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4599 end vec_sel;
4601 function vec_sel
4602 (A : vector_unsigned_char;
4603 B : vector_unsigned_char;
4604 C : vector_unsigned_char) return vector_unsigned_char
4606 begin
4607 return
4608 To_LL_VUC (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4609 end vec_sel;
4611 function vec_sel
4612 (A : vector_bool_char;
4613 B : vector_bool_char;
4614 C : vector_bool_char) return vector_bool_char
4616 begin
4617 return
4618 To_LL_VBC (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4619 end vec_sel;
4621 function vec_sel
4622 (A : vector_bool_char;
4623 B : vector_bool_char;
4624 C : vector_unsigned_char) return vector_bool_char
4626 begin
4627 return
4628 To_LL_VBC (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4629 end vec_sel;
4631 -- vec_sl --
4633 function vec_sl
4634 (A : vector_signed_char;
4635 B : vector_unsigned_char) return vector_signed_char
4637 begin
4638 return To_LL_VSC (vslb (To_LL_VSC (A), To_LL_VSC (B)));
4639 end vec_sl;
4641 function vec_sl
4642 (A : vector_unsigned_char;
4643 B : vector_unsigned_char) return vector_unsigned_char
4645 begin
4646 return To_LL_VUC (vslb (To_LL_VSC (A), To_LL_VSC (B)));
4647 end vec_sl;
4649 function vec_sl
4650 (A : vector_signed_short;
4651 B : vector_unsigned_short) return vector_signed_short
4653 begin
4654 return To_LL_VSS (vslh (To_LL_VSS (A), To_LL_VSS (B)));
4655 end vec_sl;
4657 function vec_sl
4658 (A : vector_unsigned_short;
4659 B : vector_unsigned_short) return vector_unsigned_short
4661 begin
4662 return To_LL_VUS (vslh (To_LL_VSS (A), To_LL_VSS (B)));
4663 end vec_sl;
4665 function vec_sl
4666 (A : vector_signed_int;
4667 B : vector_unsigned_int) return vector_signed_int
4669 begin
4670 return To_LL_VSI (vslw (To_LL_VSI (A), To_LL_VSI (B)));
4671 end vec_sl;
4673 function vec_sl
4674 (A : vector_unsigned_int;
4675 B : vector_unsigned_int) return vector_unsigned_int
4677 begin
4678 return To_LL_VUI (vslw (To_LL_VSI (A), To_LL_VSI (B)));
4679 end vec_sl;
4681 -- vec_vslw --
4683 function vec_vslw
4684 (A : vector_signed_int;
4685 B : vector_unsigned_int) return vector_signed_int
4687 begin
4688 return To_LL_VSI (vslw (To_LL_VSI (A), To_LL_VSI (B)));
4689 end vec_vslw;
4691 function vec_vslw
4692 (A : vector_unsigned_int;
4693 B : vector_unsigned_int) return vector_unsigned_int
4695 begin
4696 return To_LL_VUI (vslw (To_LL_VSI (A), To_LL_VSI (B)));
4697 end vec_vslw;
4699 -- vec_vslh --
4701 function vec_vslh
4702 (A : vector_signed_short;
4703 B : vector_unsigned_short) return vector_signed_short
4705 begin
4706 return To_LL_VSS (vslh (To_LL_VSS (A), To_LL_VSS (B)));
4707 end vec_vslh;
4709 function vec_vslh
4710 (A : vector_unsigned_short;
4711 B : vector_unsigned_short) return vector_unsigned_short
4713 begin
4714 return To_LL_VUS (vslh (To_LL_VSS (A), To_LL_VSS (B)));
4715 end vec_vslh;
4717 -- vec_vslb --
4719 function vec_vslb
4720 (A : vector_signed_char;
4721 B : vector_unsigned_char) return vector_signed_char
4723 begin
4724 return To_LL_VSC (vslb (To_LL_VSC (A), To_LL_VSC (B)));
4725 end vec_vslb;
4727 function vec_vslb
4728 (A : vector_unsigned_char;
4729 B : vector_unsigned_char) return vector_unsigned_char
4731 begin
4732 return To_LL_VUC (vslb (To_LL_VSC (A), To_LL_VSC (B)));
4733 end vec_vslb;
4735 -- vec_sll --
4737 function vec_sll
4738 (A : vector_signed_int;
4739 B : vector_unsigned_int) return vector_signed_int
4741 begin
4742 return To_LL_VSI (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4743 end vec_sll;
4745 function vec_sll
4746 (A : vector_signed_int;
4747 B : vector_unsigned_short) return vector_signed_int
4749 begin
4750 return To_LL_VSI (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4751 end vec_sll;
4753 function vec_sll
4754 (A : vector_signed_int;
4755 B : vector_unsigned_char) return vector_signed_int
4757 begin
4758 return To_LL_VSI (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4759 end vec_sll;
4761 function vec_sll
4762 (A : vector_unsigned_int;
4763 B : vector_unsigned_int) return vector_unsigned_int
4765 begin
4766 return To_LL_VUI (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4767 end vec_sll;
4769 function vec_sll
4770 (A : vector_unsigned_int;
4771 B : vector_unsigned_short) return vector_unsigned_int
4773 begin
4774 return To_LL_VUI (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4775 end vec_sll;
4777 function vec_sll
4778 (A : vector_unsigned_int;
4779 B : vector_unsigned_char) return vector_unsigned_int
4781 begin
4782 return To_LL_VUI (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4783 end vec_sll;
4785 function vec_sll
4786 (A : vector_bool_int;
4787 B : vector_unsigned_int) return vector_bool_int
4789 begin
4790 return To_LL_VBI (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4791 end vec_sll;
4793 function vec_sll
4794 (A : vector_bool_int;
4795 B : vector_unsigned_short) return vector_bool_int
4797 begin
4798 return To_LL_VBI (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4799 end vec_sll;
4801 function vec_sll
4802 (A : vector_bool_int;
4803 B : vector_unsigned_char) return vector_bool_int
4805 begin
4806 return To_LL_VBI (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4807 end vec_sll;
4809 function vec_sll
4810 (A : vector_signed_short;
4811 B : vector_unsigned_int) return vector_signed_short
4813 begin
4814 return To_LL_VSS (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4815 end vec_sll;
4817 function vec_sll
4818 (A : vector_signed_short;
4819 B : vector_unsigned_short) return vector_signed_short
4821 begin
4822 return To_LL_VSS (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4823 end vec_sll;
4825 function vec_sll
4826 (A : vector_signed_short;
4827 B : vector_unsigned_char) return vector_signed_short
4829 begin
4830 return To_LL_VSS (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4831 end vec_sll;
4833 function vec_sll
4834 (A : vector_unsigned_short;
4835 B : vector_unsigned_int) return vector_unsigned_short
4837 begin
4838 return To_LL_VUS (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4839 end vec_sll;
4841 function vec_sll
4842 (A : vector_unsigned_short;
4843 B : vector_unsigned_short) return vector_unsigned_short
4845 begin
4846 return To_LL_VUS (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4847 end vec_sll;
4849 function vec_sll
4850 (A : vector_unsigned_short;
4851 B : vector_unsigned_char) return vector_unsigned_short
4853 begin
4854 return To_LL_VUS (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4855 end vec_sll;
4857 function vec_sll
4858 (A : vector_bool_short;
4859 B : vector_unsigned_int) return vector_bool_short
4861 begin
4862 return To_LL_VBS (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4863 end vec_sll;
4865 function vec_sll
4866 (A : vector_bool_short;
4867 B : vector_unsigned_short) return vector_bool_short
4869 begin
4870 return To_LL_VBS (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4871 end vec_sll;
4873 function vec_sll
4874 (A : vector_bool_short;
4875 B : vector_unsigned_char) return vector_bool_short
4877 begin
4878 return To_LL_VBS (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4879 end vec_sll;
4881 function vec_sll
4882 (A : vector_pixel;
4883 B : vector_unsigned_int) return vector_pixel
4885 begin
4886 return To_LL_VP (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4887 end vec_sll;
4889 function vec_sll
4890 (A : vector_pixel;
4891 B : vector_unsigned_short) return vector_pixel
4893 begin
4894 return To_LL_VP (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4895 end vec_sll;
4897 function vec_sll
4898 (A : vector_pixel;
4899 B : vector_unsigned_char) return vector_pixel
4901 begin
4902 return To_LL_VP (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4903 end vec_sll;
4905 function vec_sll
4906 (A : vector_signed_char;
4907 B : vector_unsigned_int) return vector_signed_char
4909 begin
4910 return To_LL_VSC (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4911 end vec_sll;
4913 function vec_sll
4914 (A : vector_signed_char;
4915 B : vector_unsigned_short) return vector_signed_char
4917 begin
4918 return To_LL_VSC (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4919 end vec_sll;
4921 function vec_sll
4922 (A : vector_signed_char;
4923 B : vector_unsigned_char) return vector_signed_char
4925 begin
4926 return To_LL_VSC (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4927 end vec_sll;
4929 function vec_sll
4930 (A : vector_unsigned_char;
4931 B : vector_unsigned_int) return vector_unsigned_char
4933 begin
4934 return To_LL_VUC (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4935 end vec_sll;
4937 function vec_sll
4938 (A : vector_unsigned_char;
4939 B : vector_unsigned_short) return vector_unsigned_char
4941 begin
4942 return To_LL_VUC (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4943 end vec_sll;
4945 function vec_sll
4946 (A : vector_unsigned_char;
4947 B : vector_unsigned_char) return vector_unsigned_char
4949 begin
4950 return To_LL_VUC (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4951 end vec_sll;
4953 function vec_sll
4954 (A : vector_bool_char;
4955 B : vector_unsigned_int) return vector_bool_char
4957 begin
4958 return To_LL_VBC (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4959 end vec_sll;
4961 function vec_sll
4962 (A : vector_bool_char;
4963 B : vector_unsigned_short) return vector_bool_char
4965 begin
4966 return To_LL_VBC (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4967 end vec_sll;
4969 function vec_sll
4970 (A : vector_bool_char;
4971 B : vector_unsigned_char) return vector_bool_char
4973 begin
4974 return To_LL_VBC (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4975 end vec_sll;
4977 -- vec_slo --
4979 function vec_slo
4980 (A : vector_float;
4981 B : vector_signed_char) return vector_float
4983 begin
4984 return To_LL_VF (vslo (To_LL_VSI (A), To_LL_VSI (B)));
4985 end vec_slo;
4987 function vec_slo
4988 (A : vector_float;
4989 B : vector_unsigned_char) return vector_float
4991 begin
4992 return To_LL_VF (vslo (To_LL_VSI (A), To_LL_VSI (B)));
4993 end vec_slo;
4995 function vec_slo
4996 (A : vector_signed_int;
4997 B : vector_signed_char) return vector_signed_int
4999 begin
5000 return To_LL_VSI (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5001 end vec_slo;
5003 function vec_slo
5004 (A : vector_signed_int;
5005 B : vector_unsigned_char) return vector_signed_int
5007 begin
5008 return To_LL_VSI (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5009 end vec_slo;
5011 function vec_slo
5012 (A : vector_unsigned_int;
5013 B : vector_signed_char) return vector_unsigned_int
5015 begin
5016 return To_LL_VUI (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5017 end vec_slo;
5019 function vec_slo
5020 (A : vector_unsigned_int;
5021 B : vector_unsigned_char) return vector_unsigned_int
5023 begin
5024 return To_LL_VUI (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5025 end vec_slo;
5027 function vec_slo
5028 (A : vector_signed_short;
5029 B : vector_signed_char) return vector_signed_short
5031 begin
5032 return To_LL_VSS (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5033 end vec_slo;
5035 function vec_slo
5036 (A : vector_signed_short;
5037 B : vector_unsigned_char) return vector_signed_short
5039 begin
5040 return To_LL_VSS (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5041 end vec_slo;
5043 function vec_slo
5044 (A : vector_unsigned_short;
5045 B : vector_signed_char) return vector_unsigned_short
5047 begin
5048 return To_LL_VUS (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5049 end vec_slo;
5051 function vec_slo
5052 (A : vector_unsigned_short;
5053 B : vector_unsigned_char) return vector_unsigned_short
5055 begin
5056 return To_LL_VUS (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5057 end vec_slo;
5059 function vec_slo
5060 (A : vector_pixel;
5061 B : vector_signed_char) return vector_pixel
5063 begin
5064 return To_LL_VP (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5065 end vec_slo;
5067 function vec_slo
5068 (A : vector_pixel;
5069 B : vector_unsigned_char) return vector_pixel
5071 begin
5072 return To_LL_VP (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5073 end vec_slo;
5075 function vec_slo
5076 (A : vector_signed_char;
5077 B : vector_signed_char) return vector_signed_char
5079 begin
5080 return To_LL_VSC (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5081 end vec_slo;
5083 function vec_slo
5084 (A : vector_signed_char;
5085 B : vector_unsigned_char) return vector_signed_char
5087 begin
5088 return To_LL_VSC (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5089 end vec_slo;
5091 function vec_slo
5092 (A : vector_unsigned_char;
5093 B : vector_signed_char) return vector_unsigned_char
5095 begin
5096 return To_LL_VUC (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5097 end vec_slo;
5099 function vec_slo
5100 (A : vector_unsigned_char;
5101 B : vector_unsigned_char) return vector_unsigned_char
5103 begin
5104 return To_LL_VUC (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5105 end vec_slo;
5107 -- vec_sr --
5109 function vec_sr
5110 (A : vector_signed_char;
5111 B : vector_unsigned_char) return vector_signed_char
5113 begin
5114 return To_LL_VSC (vsrb (To_LL_VSC (A), To_LL_VSC (B)));
5115 end vec_sr;
5117 function vec_sr
5118 (A : vector_unsigned_char;
5119 B : vector_unsigned_char) return vector_unsigned_char
5121 begin
5122 return To_LL_VUC (vsrb (To_LL_VSC (A), To_LL_VSC (B)));
5123 end vec_sr;
5125 function vec_sr
5126 (A : vector_signed_short;
5127 B : vector_unsigned_short) return vector_signed_short
5129 begin
5130 return To_LL_VSS (vsrh (To_LL_VSS (A), To_LL_VSS (B)));
5131 end vec_sr;
5133 function vec_sr
5134 (A : vector_unsigned_short;
5135 B : vector_unsigned_short) return vector_unsigned_short
5137 begin
5138 return To_LL_VUS (vsrh (To_LL_VSS (A), To_LL_VSS (B)));
5139 end vec_sr;
5141 function vec_sr
5142 (A : vector_signed_int;
5143 B : vector_unsigned_int) return vector_signed_int
5145 begin
5146 return To_LL_VSI (vsrw (To_LL_VSI (A), To_LL_VSI (B)));
5147 end vec_sr;
5149 function vec_sr
5150 (A : vector_unsigned_int;
5151 B : vector_unsigned_int) return vector_unsigned_int
5153 begin
5154 return To_LL_VUI (vsrw (To_LL_VSI (A), To_LL_VSI (B)));
5155 end vec_sr;
5157 -- vec_vsrw --
5159 function vec_vsrw
5160 (A : vector_signed_int;
5161 B : vector_unsigned_int) return vector_signed_int
5163 begin
5164 return To_LL_VSI (vsrw (To_LL_VSI (A), To_LL_VSI (B)));
5165 end vec_vsrw;
5167 function vec_vsrw
5168 (A : vector_unsigned_int;
5169 B : vector_unsigned_int) return vector_unsigned_int
5171 begin
5172 return To_LL_VUI (vsrw (To_LL_VSI (A), To_LL_VSI (B)));
5173 end vec_vsrw;
5175 -- vec_vsrh --
5177 function vec_vsrh
5178 (A : vector_signed_short;
5179 B : vector_unsigned_short) return vector_signed_short
5181 begin
5182 return To_LL_VSS (vsrh (To_LL_VSS (A), To_LL_VSS (B)));
5183 end vec_vsrh;
5185 function vec_vsrh
5186 (A : vector_unsigned_short;
5187 B : vector_unsigned_short) return vector_unsigned_short
5189 begin
5190 return To_LL_VUS (vsrh (To_LL_VSS (A), To_LL_VSS (B)));
5191 end vec_vsrh;
5193 -- vec_vsrb --
5195 function vec_vsrb
5196 (A : vector_signed_char;
5197 B : vector_unsigned_char) return vector_signed_char
5199 begin
5200 return To_LL_VSC (vsrb (To_LL_VSC (A), To_LL_VSC (B)));
5201 end vec_vsrb;
5203 function vec_vsrb
5204 (A : vector_unsigned_char;
5205 B : vector_unsigned_char) return vector_unsigned_char
5207 begin
5208 return To_LL_VUC (vsrb (To_LL_VSC (A), To_LL_VSC (B)));
5209 end vec_vsrb;
5211 -- vec_sra --
5213 function vec_sra
5214 (A : vector_signed_char;
5215 B : vector_unsigned_char) return vector_signed_char
5217 begin
5218 return To_LL_VSC (vsrab (To_LL_VSC (A), To_LL_VSC (B)));
5219 end vec_sra;
5221 function vec_sra
5222 (A : vector_unsigned_char;
5223 B : vector_unsigned_char) return vector_unsigned_char
5225 begin
5226 return To_LL_VUC (vsrab (To_LL_VSC (A), To_LL_VSC (B)));
5227 end vec_sra;
5229 function vec_sra
5230 (A : vector_signed_short;
5231 B : vector_unsigned_short) return vector_signed_short
5233 begin
5234 return To_LL_VSS (vsrah (To_LL_VSS (A), To_LL_VSS (B)));
5235 end vec_sra;
5237 function vec_sra
5238 (A : vector_unsigned_short;
5239 B : vector_unsigned_short) return vector_unsigned_short
5241 begin
5242 return To_LL_VUS (vsrah (To_LL_VSS (A), To_LL_VSS (B)));
5243 end vec_sra;
5245 function vec_sra
5246 (A : vector_signed_int;
5247 B : vector_unsigned_int) return vector_signed_int
5249 begin
5250 return To_LL_VSI (vsraw (To_LL_VSI (A), To_LL_VSI (B)));
5251 end vec_sra;
5253 function vec_sra
5254 (A : vector_unsigned_int;
5255 B : vector_unsigned_int) return vector_unsigned_int
5257 begin
5258 return To_LL_VUI (vsraw (To_LL_VSI (A), To_LL_VSI (B)));
5259 end vec_sra;
5261 -- vec_vsraw --
5263 function vec_vsraw
5264 (A : vector_signed_int;
5265 B : vector_unsigned_int) return vector_signed_int
5267 begin
5268 return To_LL_VSI (vsraw (To_LL_VSI (A), To_LL_VSI (B)));
5269 end vec_vsraw;
5271 function vec_vsraw
5272 (A : vector_unsigned_int;
5273 B : vector_unsigned_int) return vector_unsigned_int
5275 begin
5276 return To_LL_VUI (vsraw (To_LL_VSI (A), To_LL_VSI (B)));
5277 end vec_vsraw;
5279 -- vec_vsrah --
5281 function vec_vsrah
5282 (A : vector_signed_short;
5283 B : vector_unsigned_short) return vector_signed_short
5285 begin
5286 return To_LL_VSS (vsrah (To_LL_VSS (A), To_LL_VSS (B)));
5287 end vec_vsrah;
5289 function vec_vsrah
5290 (A : vector_unsigned_short;
5291 B : vector_unsigned_short) return vector_unsigned_short
5293 begin
5294 return To_LL_VUS (vsrah (To_LL_VSS (A), To_LL_VSS (B)));
5295 end vec_vsrah;
5297 -- vec_vsrab --
5299 function vec_vsrab
5300 (A : vector_signed_char;
5301 B : vector_unsigned_char) return vector_signed_char
5303 begin
5304 return To_LL_VSC (vsrab (To_LL_VSC (A), To_LL_VSC (B)));
5305 end vec_vsrab;
5307 function vec_vsrab
5308 (A : vector_unsigned_char;
5309 B : vector_unsigned_char) return vector_unsigned_char
5311 begin
5312 return To_LL_VUC (vsrab (To_LL_VSC (A), To_LL_VSC (B)));
5313 end vec_vsrab;
5315 -- vec_srl --
5317 function vec_srl
5318 (A : vector_signed_int;
5319 B : vector_unsigned_int) return vector_signed_int
5321 begin
5322 return To_LL_VSI (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5323 end vec_srl;
5325 function vec_srl
5326 (A : vector_signed_int;
5327 B : vector_unsigned_short) return vector_signed_int
5329 begin
5330 return To_LL_VSI (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5331 end vec_srl;
5333 function vec_srl
5334 (A : vector_signed_int;
5335 B : vector_unsigned_char) return vector_signed_int
5337 begin
5338 return To_LL_VSI (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5339 end vec_srl;
5341 function vec_srl
5342 (A : vector_unsigned_int;
5343 B : vector_unsigned_int) return vector_unsigned_int
5345 begin
5346 return To_LL_VUI (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5347 end vec_srl;
5349 function vec_srl
5350 (A : vector_unsigned_int;
5351 B : vector_unsigned_short) return vector_unsigned_int
5353 begin
5354 return To_LL_VUI (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5355 end vec_srl;
5357 function vec_srl
5358 (A : vector_unsigned_int;
5359 B : vector_unsigned_char) return vector_unsigned_int
5361 begin
5362 return To_LL_VUI (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5363 end vec_srl;
5365 function vec_srl
5366 (A : vector_bool_int;
5367 B : vector_unsigned_int) return vector_bool_int
5369 begin
5370 return To_LL_VBI (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5371 end vec_srl;
5373 function vec_srl
5374 (A : vector_bool_int;
5375 B : vector_unsigned_short) return vector_bool_int
5377 begin
5378 return To_LL_VBI (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5379 end vec_srl;
5381 function vec_srl
5382 (A : vector_bool_int;
5383 B : vector_unsigned_char) return vector_bool_int
5385 begin
5386 return To_LL_VBI (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5387 end vec_srl;
5389 function vec_srl
5390 (A : vector_signed_short;
5391 B : vector_unsigned_int) return vector_signed_short
5393 begin
5394 return To_LL_VSS (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5395 end vec_srl;
5397 function vec_srl
5398 (A : vector_signed_short;
5399 B : vector_unsigned_short) return vector_signed_short
5401 begin
5402 return To_LL_VSS (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5403 end vec_srl;
5405 function vec_srl
5406 (A : vector_signed_short;
5407 B : vector_unsigned_char) return vector_signed_short
5409 begin
5410 return To_LL_VSS (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5411 end vec_srl;
5413 function vec_srl
5414 (A : vector_unsigned_short;
5415 B : vector_unsigned_int) return vector_unsigned_short
5417 begin
5418 return To_LL_VUS (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5419 end vec_srl;
5421 function vec_srl
5422 (A : vector_unsigned_short;
5423 B : vector_unsigned_short) return vector_unsigned_short
5425 begin
5426 return To_LL_VUS (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5427 end vec_srl;
5429 function vec_srl
5430 (A : vector_unsigned_short;
5431 B : vector_unsigned_char) return vector_unsigned_short
5433 begin
5434 return To_LL_VUS (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5435 end vec_srl;
5437 function vec_srl
5438 (A : vector_bool_short;
5439 B : vector_unsigned_int) return vector_bool_short
5441 begin
5442 return To_LL_VBS (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5443 end vec_srl;
5445 function vec_srl
5446 (A : vector_bool_short;
5447 B : vector_unsigned_short) return vector_bool_short
5449 begin
5450 return To_LL_VBS (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5451 end vec_srl;
5453 function vec_srl
5454 (A : vector_bool_short;
5455 B : vector_unsigned_char) return vector_bool_short
5457 begin
5458 return To_LL_VBS (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5459 end vec_srl;
5461 function vec_srl
5462 (A : vector_pixel;
5463 B : vector_unsigned_int) return vector_pixel
5465 begin
5466 return To_LL_VP (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5467 end vec_srl;
5469 function vec_srl
5470 (A : vector_pixel;
5471 B : vector_unsigned_short) return vector_pixel
5473 begin
5474 return To_LL_VP (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5475 end vec_srl;
5477 function vec_srl
5478 (A : vector_pixel;
5479 B : vector_unsigned_char) return vector_pixel
5481 begin
5482 return To_LL_VP (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5483 end vec_srl;
5485 function vec_srl
5486 (A : vector_signed_char;
5487 B : vector_unsigned_int) return vector_signed_char
5489 begin
5490 return To_LL_VSC (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5491 end vec_srl;
5493 function vec_srl
5494 (A : vector_signed_char;
5495 B : vector_unsigned_short) return vector_signed_char
5497 begin
5498 return To_LL_VSC (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5499 end vec_srl;
5501 function vec_srl
5502 (A : vector_signed_char;
5503 B : vector_unsigned_char) return vector_signed_char
5505 begin
5506 return To_LL_VSC (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5507 end vec_srl;
5509 function vec_srl
5510 (A : vector_unsigned_char;
5511 B : vector_unsigned_int) return vector_unsigned_char
5513 begin
5514 return To_LL_VUC (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5515 end vec_srl;
5517 function vec_srl
5518 (A : vector_unsigned_char;
5519 B : vector_unsigned_short) return vector_unsigned_char
5521 begin
5522 return To_LL_VUC (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5523 end vec_srl;
5525 function vec_srl
5526 (A : vector_unsigned_char;
5527 B : vector_unsigned_char) return vector_unsigned_char
5529 begin
5530 return To_LL_VUC (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5531 end vec_srl;
5533 function vec_srl
5534 (A : vector_bool_char;
5535 B : vector_unsigned_int) return vector_bool_char
5537 begin
5538 return To_LL_VBC (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5539 end vec_srl;
5541 function vec_srl
5542 (A : vector_bool_char;
5543 B : vector_unsigned_short) return vector_bool_char
5545 begin
5546 return To_LL_VBC (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5547 end vec_srl;
5549 function vec_srl
5550 (A : vector_bool_char;
5551 B : vector_unsigned_char) return vector_bool_char
5553 begin
5554 return To_LL_VBC (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5555 end vec_srl;
5557 -- vec_sro --
5559 function vec_sro
5560 (A : vector_float;
5561 B : vector_signed_char) return vector_float
5563 begin
5564 return To_LL_VF (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5565 end vec_sro;
5567 function vec_sro
5568 (A : vector_float;
5569 B : vector_unsigned_char) return vector_float
5571 begin
5572 return To_LL_VF (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5573 end vec_sro;
5575 function vec_sro
5576 (A : vector_signed_int;
5577 B : vector_signed_char) return vector_signed_int
5579 begin
5580 return To_LL_VSI (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5581 end vec_sro;
5583 function vec_sro
5584 (A : vector_signed_int;
5585 B : vector_unsigned_char) return vector_signed_int
5587 begin
5588 return To_LL_VSI (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5589 end vec_sro;
5591 function vec_sro
5592 (A : vector_unsigned_int;
5593 B : vector_signed_char) return vector_unsigned_int
5595 begin
5596 return To_LL_VUI (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5597 end vec_sro;
5599 function vec_sro
5600 (A : vector_unsigned_int;
5601 B : vector_unsigned_char) return vector_unsigned_int
5603 begin
5604 return To_LL_VUI (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5605 end vec_sro;
5607 function vec_sro
5608 (A : vector_signed_short;
5609 B : vector_signed_char) return vector_signed_short
5611 begin
5612 return To_LL_VSS (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5613 end vec_sro;
5615 function vec_sro
5616 (A : vector_signed_short;
5617 B : vector_unsigned_char) return vector_signed_short
5619 begin
5620 return To_LL_VSS (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5621 end vec_sro;
5623 function vec_sro
5624 (A : vector_unsigned_short;
5625 B : vector_signed_char) return vector_unsigned_short
5627 begin
5628 return To_LL_VUS (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5629 end vec_sro;
5631 function vec_sro
5632 (A : vector_unsigned_short;
5633 B : vector_unsigned_char) return vector_unsigned_short
5635 begin
5636 return To_LL_VUS (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5637 end vec_sro;
5639 function vec_sro
5640 (A : vector_pixel;
5641 B : vector_signed_char) return vector_pixel
5643 begin
5644 return To_LL_VP (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5645 end vec_sro;
5647 function vec_sro
5648 (A : vector_pixel;
5649 B : vector_unsigned_char) return vector_pixel
5651 begin
5652 return To_LL_VP (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5653 end vec_sro;
5655 function vec_sro
5656 (A : vector_signed_char;
5657 B : vector_signed_char) return vector_signed_char
5659 begin
5660 return To_LL_VSC (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5661 end vec_sro;
5663 function vec_sro
5664 (A : vector_signed_char;
5665 B : vector_unsigned_char) return vector_signed_char
5667 begin
5668 return To_LL_VSC (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5669 end vec_sro;
5671 function vec_sro
5672 (A : vector_unsigned_char;
5673 B : vector_signed_char) return vector_unsigned_char
5675 begin
5676 return To_LL_VUC (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5677 end vec_sro;
5679 function vec_sro
5680 (A : vector_unsigned_char;
5681 B : vector_unsigned_char) return vector_unsigned_char
5683 begin
5684 return To_LL_VUC (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5685 end vec_sro;
5687 -- vec_st --
5689 procedure vec_st
5690 (A : vector_float;
5691 B : c_int;
5692 C : vector_float_ptr)
5694 begin
5695 stvx (To_LL_VSI (A), B, To_PTR (C));
5696 end vec_st;
5698 procedure vec_st
5699 (A : vector_float;
5700 B : c_int;
5701 C : float_ptr)
5703 begin
5704 stvx (To_LL_VSI (A), B, To_PTR (C));
5705 end vec_st;
5707 procedure vec_st
5708 (A : vector_signed_int;
5709 B : c_int;
5710 C : vector_signed_int_ptr)
5712 begin
5713 stvx (To_LL_VSI (A), B, To_PTR (C));
5714 end vec_st;
5716 procedure vec_st
5717 (A : vector_signed_int;
5718 B : c_int;
5719 C : int_ptr)
5721 begin
5722 stvx (To_LL_VSI (A), B, To_PTR (C));
5723 end vec_st;
5725 procedure vec_st
5726 (A : vector_unsigned_int;
5727 B : c_int;
5728 C : vector_unsigned_int_ptr)
5730 begin
5731 stvx (To_LL_VSI (A), B, To_PTR (C));
5732 end vec_st;
5734 procedure vec_st
5735 (A : vector_unsigned_int;
5736 B : c_int;
5737 C : unsigned_int_ptr)
5739 begin
5740 stvx (To_LL_VSI (A), B, To_PTR (C));
5741 end vec_st;
5743 procedure vec_st
5744 (A : vector_bool_int;
5745 B : c_int;
5746 C : vector_bool_int_ptr)
5748 begin
5749 stvx (To_LL_VSI (A), B, To_PTR (C));
5750 end vec_st;
5752 procedure vec_st
5753 (A : vector_bool_int;
5754 B : c_int;
5755 C : unsigned_int_ptr)
5757 begin
5758 stvx (To_LL_VSI (A), B, To_PTR (C));
5759 end vec_st;
5761 procedure vec_st
5762 (A : vector_bool_int;
5763 B : c_int;
5764 C : int_ptr)
5766 begin
5767 stvx (To_LL_VSI (A), B, To_PTR (C));
5768 end vec_st;
5770 procedure vec_st
5771 (A : vector_signed_short;
5772 B : c_int;
5773 C : vector_signed_short_ptr)
5775 begin
5776 stvx (To_LL_VSI (A), B, To_PTR (C));
5777 end vec_st;
5779 procedure vec_st
5780 (A : vector_signed_short;
5781 B : c_int;
5782 C : short_ptr)
5784 begin
5785 stvx (To_LL_VSI (A), B, To_PTR (C));
5786 end vec_st;
5788 procedure vec_st
5789 (A : vector_unsigned_short;
5790 B : c_int;
5791 C : vector_unsigned_short_ptr)
5793 begin
5794 stvx (To_LL_VSI (A), B, To_PTR (C));
5795 end vec_st;
5797 procedure vec_st
5798 (A : vector_unsigned_short;
5799 B : c_int;
5800 C : unsigned_short_ptr)
5802 begin
5803 stvx (To_LL_VSI (A), B, To_PTR (C));
5804 end vec_st;
5806 procedure vec_st
5807 (A : vector_bool_short;
5808 B : c_int;
5809 C : vector_bool_short_ptr)
5811 begin
5812 stvx (To_LL_VSI (A), B, To_PTR (C));
5813 end vec_st;
5815 procedure vec_st
5816 (A : vector_bool_short;
5817 B : c_int;
5818 C : unsigned_short_ptr)
5820 begin
5821 stvx (To_LL_VSI (A), B, To_PTR (C));
5822 end vec_st;
5824 procedure vec_st
5825 (A : vector_pixel;
5826 B : c_int;
5827 C : vector_pixel_ptr)
5829 begin
5830 stvx (To_LL_VSI (A), B, To_PTR (C));
5831 end vec_st;
5833 procedure vec_st
5834 (A : vector_pixel;
5835 B : c_int;
5836 C : unsigned_short_ptr)
5838 begin
5839 stvx (To_LL_VSI (A), B, To_PTR (C));
5840 end vec_st;
5842 procedure vec_st
5843 (A : vector_pixel;
5844 B : c_int;
5845 C : short_ptr)
5847 begin
5848 stvx (To_LL_VSI (A), B, To_PTR (C));
5849 end vec_st;
5851 procedure vec_st
5852 (A : vector_bool_short;
5853 B : c_int;
5854 C : short_ptr)
5856 begin
5857 stvx (To_LL_VSI (A), B, To_PTR (C));
5858 end vec_st;
5860 procedure vec_st
5861 (A : vector_signed_char;
5862 B : c_int;
5863 C : vector_signed_char_ptr)
5865 begin
5866 stvx (To_LL_VSI (A), B, To_PTR (C));
5867 end vec_st;
5869 procedure vec_st
5870 (A : vector_signed_char;
5871 B : c_int;
5872 C : signed_char_ptr)
5874 begin
5875 stvx (To_LL_VSI (A), B, To_PTR (C));
5876 end vec_st;
5878 procedure vec_st
5879 (A : vector_unsigned_char;
5880 B : c_int;
5881 C : vector_unsigned_char_ptr)
5883 begin
5884 stvx (To_LL_VSI (A), B, To_PTR (C));
5885 end vec_st;
5887 procedure vec_st
5888 (A : vector_unsigned_char;
5889 B : c_int;
5890 C : unsigned_char_ptr)
5892 begin
5893 stvx (To_LL_VSI (A), B, To_PTR (C));
5894 end vec_st;
5896 procedure vec_st
5897 (A : vector_bool_char;
5898 B : c_int;
5899 C : vector_bool_char_ptr)
5901 begin
5902 stvx (To_LL_VSI (A), B, To_PTR (C));
5903 end vec_st;
5905 procedure vec_st
5906 (A : vector_bool_char;
5907 B : c_int;
5908 C : unsigned_char_ptr)
5910 begin
5911 stvx (To_LL_VSI (A), B, To_PTR (C));
5912 end vec_st;
5914 procedure vec_st
5915 (A : vector_bool_char;
5916 B : c_int;
5917 C : signed_char_ptr)
5919 begin
5920 stvx (To_LL_VSI (A), B, To_PTR (C));
5921 end vec_st;
5923 -- vec_ste --
5925 procedure vec_ste
5926 (A : vector_signed_char;
5927 B : c_int;
5928 C : signed_char_ptr)
5930 begin
5931 stvebx (To_LL_VSC (A), B, To_PTR (C));
5932 end vec_ste;
5934 procedure vec_ste
5935 (A : vector_unsigned_char;
5936 B : c_int;
5937 C : unsigned_char_ptr)
5939 begin
5940 stvebx (To_LL_VSC (A), B, To_PTR (C));
5941 end vec_ste;
5943 procedure vec_ste
5944 (A : vector_bool_char;
5945 B : c_int;
5946 C : signed_char_ptr)
5948 begin
5949 stvebx (To_LL_VSC (A), B, To_PTR (C));
5950 end vec_ste;
5952 procedure vec_ste
5953 (A : vector_bool_char;
5954 B : c_int;
5955 C : unsigned_char_ptr)
5957 begin
5958 stvebx (To_LL_VSC (A), B, To_PTR (C));
5959 end vec_ste;
5961 procedure vec_ste
5962 (A : vector_signed_short;
5963 B : c_int;
5964 C : short_ptr)
5966 begin
5967 stvehx (To_LL_VSS (A), B, To_PTR (C));
5968 end vec_ste;
5970 procedure vec_ste
5971 (A : vector_unsigned_short;
5972 B : c_int;
5973 C : unsigned_short_ptr)
5975 begin
5976 stvehx (To_LL_VSS (A), B, To_PTR (C));
5977 end vec_ste;
5979 procedure vec_ste
5980 (A : vector_bool_short;
5981 B : c_int;
5982 C : short_ptr)
5984 begin
5985 stvehx (To_LL_VSS (A), B, To_PTR (C));
5986 end vec_ste;
5988 procedure vec_ste
5989 (A : vector_bool_short;
5990 B : c_int;
5991 C : unsigned_short_ptr)
5993 begin
5994 stvehx (To_LL_VSS (A), B, To_PTR (C));
5995 end vec_ste;
5997 procedure vec_ste
5998 (A : vector_pixel;
5999 B : c_int;
6000 C : short_ptr)
6002 begin
6003 stvehx (To_LL_VSS (A), B, To_PTR (C));
6004 end vec_ste;
6006 procedure vec_ste
6007 (A : vector_pixel;
6008 B : c_int;
6009 C : unsigned_short_ptr)
6011 begin
6012 stvehx (To_LL_VSS (A), B, To_PTR (C));
6013 end vec_ste;
6015 procedure vec_ste
6016 (A : vector_float;
6017 B : c_int;
6018 C : float_ptr)
6020 begin
6021 stvewx (To_LL_VSI (A), B, To_PTR (C));
6022 end vec_ste;
6024 procedure vec_ste
6025 (A : vector_signed_int;
6026 B : c_int;
6027 C : int_ptr)
6029 begin
6030 stvewx (To_LL_VSI (A), B, To_PTR (C));
6031 end vec_ste;
6033 procedure vec_ste
6034 (A : vector_unsigned_int;
6035 B : c_int;
6036 C : unsigned_int_ptr)
6038 begin
6039 stvewx (To_LL_VSI (A), B, To_PTR (C));
6040 end vec_ste;
6042 procedure vec_ste
6043 (A : vector_bool_int;
6044 B : c_int;
6045 C : int_ptr)
6047 begin
6048 stvewx (To_LL_VSI (A), B, To_PTR (C));
6049 end vec_ste;
6051 procedure vec_ste
6052 (A : vector_bool_int;
6053 B : c_int;
6054 C : unsigned_int_ptr)
6056 begin
6057 stvewx (To_LL_VSI (A), B, To_PTR (C));
6058 end vec_ste;
6060 -- vec_stvewx --
6062 procedure vec_stvewx
6063 (A : vector_float;
6064 B : c_int;
6065 C : float_ptr)
6067 begin
6068 stvewx (To_LL_VSI (A), B, To_PTR (C));
6069 end vec_stvewx;
6071 procedure vec_stvewx
6072 (A : vector_signed_int;
6073 B : c_int;
6074 C : int_ptr)
6076 begin
6077 stvewx (To_LL_VSI (A), B, To_PTR (C));
6078 end vec_stvewx;
6080 procedure vec_stvewx
6081 (A : vector_unsigned_int;
6082 B : c_int;
6083 C : unsigned_int_ptr)
6085 begin
6086 stvewx (To_LL_VSI (A), B, To_PTR (C));
6087 end vec_stvewx;
6089 procedure vec_stvewx
6090 (A : vector_bool_int;
6091 B : c_int;
6092 C : int_ptr)
6094 begin
6095 stvewx (To_LL_VSI (A), B, To_PTR (C));
6096 end vec_stvewx;
6098 procedure vec_stvewx
6099 (A : vector_bool_int;
6100 B : c_int;
6101 C : unsigned_int_ptr)
6103 begin
6104 stvewx (To_LL_VSI (A), B, To_PTR (C));
6105 end vec_stvewx;
6107 -- vec_stvehx --
6109 procedure vec_stvehx
6110 (A : vector_signed_short;
6111 B : c_int;
6112 C : short_ptr)
6114 begin
6115 stvehx (To_LL_VSS (A), B, To_PTR (C));
6116 end vec_stvehx;
6118 procedure vec_stvehx
6119 (A : vector_unsigned_short;
6120 B : c_int;
6121 C : unsigned_short_ptr)
6123 begin
6124 stvehx (To_LL_VSS (A), B, To_PTR (C));
6125 end vec_stvehx;
6127 procedure vec_stvehx
6128 (A : vector_bool_short;
6129 B : c_int;
6130 C : short_ptr)
6132 begin
6133 stvehx (To_LL_VSS (A), B, To_PTR (C));
6134 end vec_stvehx;
6136 procedure vec_stvehx
6137 (A : vector_bool_short;
6138 B : c_int;
6139 C : unsigned_short_ptr)
6141 begin
6142 stvehx (To_LL_VSS (A), B, To_PTR (C));
6143 end vec_stvehx;
6145 procedure vec_stvehx
6146 (A : vector_pixel;
6147 B : c_int;
6148 C : short_ptr)
6150 begin
6151 stvehx (To_LL_VSS (A), B, To_PTR (C));
6152 end vec_stvehx;
6154 procedure vec_stvehx
6155 (A : vector_pixel;
6156 B : c_int;
6157 C : unsigned_short_ptr)
6159 begin
6160 stvehx (To_LL_VSS (A), B, To_PTR (C));
6161 end vec_stvehx;
6163 -- vec_stvebx --
6165 procedure vec_stvebx
6166 (A : vector_signed_char;
6167 B : c_int;
6168 C : signed_char_ptr)
6170 begin
6171 stvebx (To_LL_VSC (A), B, To_PTR (C));
6172 end vec_stvebx;
6174 procedure vec_stvebx
6175 (A : vector_unsigned_char;
6176 B : c_int;
6177 C : unsigned_char_ptr)
6179 begin
6180 stvebx (To_LL_VSC (A), B, To_PTR (C));
6181 end vec_stvebx;
6183 procedure vec_stvebx
6184 (A : vector_bool_char;
6185 B : c_int;
6186 C : signed_char_ptr)
6188 begin
6189 stvebx (To_LL_VSC (A), B, To_PTR (C));
6190 end vec_stvebx;
6192 procedure vec_stvebx
6193 (A : vector_bool_char;
6194 B : c_int;
6195 C : unsigned_char_ptr)
6197 begin
6198 stvebx (To_LL_VSC (A), B, To_PTR (C));
6199 end vec_stvebx;
6201 -- vec_stl --
6203 procedure vec_stl
6204 (A : vector_float;
6205 B : c_int;
6206 C : vector_float_ptr)
6208 begin
6209 stvxl (To_LL_VSI (A), B, To_PTR (C));
6210 end vec_stl;
6212 procedure vec_stl
6213 (A : vector_float;
6214 B : c_int;
6215 C : float_ptr)
6217 begin
6218 stvxl (To_LL_VSI (A), B, To_PTR (C));
6219 end vec_stl;
6221 procedure vec_stl
6222 (A : vector_signed_int;
6223 B : c_int;
6224 C : vector_signed_int_ptr)
6226 begin
6227 stvxl (To_LL_VSI (A), B, To_PTR (C));
6228 end vec_stl;
6230 procedure vec_stl
6231 (A : vector_signed_int;
6232 B : c_int;
6233 C : int_ptr)
6235 begin
6236 stvxl (To_LL_VSI (A), B, To_PTR (C));
6237 end vec_stl;
6239 procedure vec_stl
6240 (A : vector_unsigned_int;
6241 B : c_int;
6242 C : vector_unsigned_int_ptr)
6244 begin
6245 stvxl (To_LL_VSI (A), B, To_PTR (C));
6246 end vec_stl;
6248 procedure vec_stl
6249 (A : vector_unsigned_int;
6250 B : c_int;
6251 C : unsigned_int_ptr)
6253 begin
6254 stvxl (To_LL_VSI (A), B, To_PTR (C));
6255 end vec_stl;
6257 procedure vec_stl
6258 (A : vector_bool_int;
6259 B : c_int;
6260 C : vector_bool_int_ptr)
6262 begin
6263 stvxl (To_LL_VSI (A), B, To_PTR (C));
6264 end vec_stl;
6266 procedure vec_stl
6267 (A : vector_bool_int;
6268 B : c_int;
6269 C : unsigned_int_ptr)
6271 begin
6272 stvxl (To_LL_VSI (A), B, To_PTR (C));
6273 end vec_stl;
6275 procedure vec_stl
6276 (A : vector_bool_int;
6277 B : c_int;
6278 C : int_ptr)
6280 begin
6281 stvxl (To_LL_VSI (A), B, To_PTR (C));
6282 end vec_stl;
6284 procedure vec_stl
6285 (A : vector_signed_short;
6286 B : c_int;
6287 C : vector_signed_short_ptr)
6289 begin
6290 stvxl (To_LL_VSI (A), B, To_PTR (C));
6291 end vec_stl;
6293 procedure vec_stl
6294 (A : vector_signed_short;
6295 B : c_int;
6296 C : short_ptr)
6298 begin
6299 stvxl (To_LL_VSI (A), B, To_PTR (C));
6300 end vec_stl;
6302 procedure vec_stl
6303 (A : vector_unsigned_short;
6304 B : c_int;
6305 C : vector_unsigned_short_ptr)
6307 begin
6308 stvxl (To_LL_VSI (A), B, To_PTR (C));
6309 end vec_stl;
6311 procedure vec_stl
6312 (A : vector_unsigned_short;
6313 B : c_int;
6314 C : unsigned_short_ptr)
6316 begin
6317 stvxl (To_LL_VSI (A), B, To_PTR (C));
6318 end vec_stl;
6320 procedure vec_stl
6321 (A : vector_bool_short;
6322 B : c_int;
6323 C : vector_bool_short_ptr)
6325 begin
6326 stvxl (To_LL_VSI (A), B, To_PTR (C));
6327 end vec_stl;
6329 procedure vec_stl
6330 (A : vector_bool_short;
6331 B : c_int;
6332 C : unsigned_short_ptr)
6334 begin
6335 stvxl (To_LL_VSI (A), B, To_PTR (C));
6336 end vec_stl;
6338 procedure vec_stl
6339 (A : vector_bool_short;
6340 B : c_int;
6341 C : short_ptr)
6343 begin
6344 stvxl (To_LL_VSI (A), B, To_PTR (C));
6345 end vec_stl;
6347 procedure vec_stl
6348 (A : vector_pixel;
6349 B : c_int;
6350 C : vector_pixel_ptr)
6352 begin
6353 stvxl (To_LL_VSI (A), B, To_PTR (C));
6354 end vec_stl;
6356 procedure vec_stl
6357 (A : vector_pixel;
6358 B : c_int;
6359 C : unsigned_short_ptr)
6361 begin
6362 stvxl (To_LL_VSI (A), B, To_PTR (C));
6363 end vec_stl;
6365 procedure vec_stl
6366 (A : vector_pixel;
6367 B : c_int;
6368 C : short_ptr)
6370 begin
6371 stvxl (To_LL_VSI (A), B, To_PTR (C));
6372 end vec_stl;
6374 procedure vec_stl
6375 (A : vector_signed_char;
6376 B : c_int;
6377 C : vector_signed_char_ptr)
6379 begin
6380 stvxl (To_LL_VSI (A), B, To_PTR (C));
6381 end vec_stl;
6383 procedure vec_stl
6384 (A : vector_signed_char;
6385 B : c_int;
6386 C : signed_char_ptr)
6388 begin
6389 stvxl (To_LL_VSI (A), B, To_PTR (C));
6390 end vec_stl;
6392 procedure vec_stl
6393 (A : vector_unsigned_char;
6394 B : c_int;
6395 C : vector_unsigned_char_ptr)
6397 begin
6398 stvxl (To_LL_VSI (A), B, To_PTR (C));
6399 end vec_stl;
6401 procedure vec_stl
6402 (A : vector_unsigned_char;
6403 B : c_int;
6404 C : unsigned_char_ptr)
6406 begin
6407 stvxl (To_LL_VSI (A), B, To_PTR (C));
6408 end vec_stl;
6410 procedure vec_stl
6411 (A : vector_bool_char;
6412 B : c_int;
6413 C : vector_bool_char_ptr)
6415 begin
6416 stvxl (To_LL_VSI (A), B, To_PTR (C));
6417 end vec_stl;
6419 procedure vec_stl
6420 (A : vector_bool_char;
6421 B : c_int;
6422 C : unsigned_char_ptr)
6424 begin
6425 stvxl (To_LL_VSI (A), B, To_PTR (C));
6426 end vec_stl;
6428 procedure vec_stl
6429 (A : vector_bool_char;
6430 B : c_int;
6431 C : signed_char_ptr)
6433 begin
6434 stvxl (To_LL_VSI (A), B, To_PTR (C));
6435 end vec_stl;
6437 -- vec_sub --
6439 function vec_sub
6440 (A : vector_bool_char;
6441 B : vector_signed_char) return vector_signed_char
6443 begin
6444 return To_LL_VSC (vsububm (To_LL_VSC (A), To_LL_VSC (B)));
6445 end vec_sub;
6447 function vec_sub
6448 (A : vector_signed_char;
6449 B : vector_bool_char) return vector_signed_char
6451 begin
6452 return To_LL_VSC (vsububm (To_LL_VSC (A), To_LL_VSC (B)));
6453 end vec_sub;
6455 function vec_sub
6456 (A : vector_signed_char;
6457 B : vector_signed_char) return vector_signed_char
6459 begin
6460 return To_LL_VSC (vsububm (To_LL_VSC (A), To_LL_VSC (B)));
6461 end vec_sub;
6463 function vec_sub
6464 (A : vector_bool_char;
6465 B : vector_unsigned_char) return vector_unsigned_char
6467 begin
6468 return To_LL_VUC (vsububm (To_LL_VSC (A), To_LL_VSC (B)));
6469 end vec_sub;
6471 function vec_sub
6472 (A : vector_unsigned_char;
6473 B : vector_bool_char) return vector_unsigned_char
6475 begin
6476 return To_LL_VUC (vsububm (To_LL_VSC (A), To_LL_VSC (B)));
6477 end vec_sub;
6479 function vec_sub
6480 (A : vector_unsigned_char;
6481 B : vector_unsigned_char) return vector_unsigned_char
6483 begin
6484 return To_LL_VUC (vsububm (To_LL_VSC (A), To_LL_VSC (B)));
6485 end vec_sub;
6487 function vec_sub
6488 (A : vector_bool_short;
6489 B : vector_signed_short) return vector_signed_short
6491 begin
6492 return To_LL_VSS (vsubuhm (To_LL_VSS (A), To_LL_VSS (B)));
6493 end vec_sub;
6495 function vec_sub
6496 (A : vector_signed_short;
6497 B : vector_bool_short) return vector_signed_short
6499 begin
6500 return To_LL_VSS (vsubuhm (To_LL_VSS (A), To_LL_VSS (B)));
6501 end vec_sub;
6503 function vec_sub
6504 (A : vector_signed_short;
6505 B : vector_signed_short) return vector_signed_short
6507 begin
6508 return To_LL_VSS (vsubuhm (To_LL_VSS (A), To_LL_VSS (B)));
6509 end vec_sub;
6511 function vec_sub
6512 (A : vector_bool_short;
6513 B : vector_unsigned_short) return vector_unsigned_short
6515 begin
6516 return To_LL_VUS (vsubuhm (To_LL_VSS (A), To_LL_VSS (B)));
6517 end vec_sub;
6519 function vec_sub
6520 (A : vector_unsigned_short;
6521 B : vector_bool_short) return vector_unsigned_short
6523 begin
6524 return To_LL_VUS (vsubuhm (To_LL_VSS (A), To_LL_VSS (B)));
6525 end vec_sub;
6527 function vec_sub
6528 (A : vector_unsigned_short;
6529 B : vector_unsigned_short) return vector_unsigned_short
6531 begin
6532 return To_LL_VUS (vsubuhm (To_LL_VSS (A), To_LL_VSS (B)));
6533 end vec_sub;
6535 function vec_sub
6536 (A : vector_bool_int;
6537 B : vector_signed_int) return vector_signed_int
6539 begin
6540 return To_LL_VSI (vsubuwm (To_LL_VSI (A), To_LL_VSI (B)));
6541 end vec_sub;
6543 function vec_sub
6544 (A : vector_signed_int;
6545 B : vector_bool_int) return vector_signed_int
6547 begin
6548 return To_LL_VSI (vsubuwm (To_LL_VSI (A), To_LL_VSI (B)));
6549 end vec_sub;
6551 function vec_sub
6552 (A : vector_signed_int;
6553 B : vector_signed_int) return vector_signed_int
6555 begin
6556 return To_LL_VSI (vsubuwm (To_LL_VSI (A), To_LL_VSI (B)));
6557 end vec_sub;
6559 function vec_sub
6560 (A : vector_bool_int;
6561 B : vector_unsigned_int) return vector_unsigned_int
6563 begin
6564 return To_LL_VUI (vsubuwm (To_LL_VSI (A), To_LL_VSI (B)));
6565 end vec_sub;
6567 function vec_sub
6568 (A : vector_unsigned_int;
6569 B : vector_bool_int) return vector_unsigned_int
6571 begin
6572 return To_LL_VUI (vsubuwm (To_LL_VSI (A), To_LL_VSI (B)));
6573 end vec_sub;
6575 function vec_sub
6576 (A : vector_unsigned_int;
6577 B : vector_unsigned_int) return vector_unsigned_int
6579 begin
6580 return To_LL_VUI (vsubuwm (To_LL_VSI (A), To_LL_VSI (B)));
6581 end vec_sub;
6583 function vec_sub
6584 (A : vector_float;
6585 B : vector_float) return vector_float
6587 begin
6588 return To_LL_VF (vsubfp (To_LL_VF (A), To_LL_VF (B)));
6589 end vec_sub;
6591 -- vec_vsubfp --
6593 function vec_vsubfp
6594 (A : vector_float;
6595 B : vector_float) return vector_float
6597 begin
6598 return To_LL_VF (vsubfp (To_LL_VF (A), To_LL_VF (B)));
6599 end vec_vsubfp;
6601 -- vec_vsubuwm --
6603 function vec_vsubuwm
6604 (A : vector_bool_int;
6605 B : vector_signed_int) return vector_signed_int
6607 begin
6608 return To_LL_VSI (vsubuwm (To_LL_VSI (A), To_LL_VSI (B)));
6609 end vec_vsubuwm;
6611 function vec_vsubuwm
6612 (A : vector_signed_int;
6613 B : vector_bool_int) return vector_signed_int
6615 begin
6616 return To_LL_VSI (vsubuwm (To_LL_VSI (A), To_LL_VSI (B)));
6617 end vec_vsubuwm;
6619 function vec_vsubuwm
6620 (A : vector_signed_int;
6621 B : vector_signed_int) return vector_signed_int
6623 begin
6624 return To_LL_VSI (vsubuwm (To_LL_VSI (A), To_LL_VSI (B)));
6625 end vec_vsubuwm;
6627 function vec_vsubuwm
6628 (A : vector_bool_int;
6629 B : vector_unsigned_int) return vector_unsigned_int
6631 begin
6632 return To_LL_VUI (vsubuwm (To_LL_VSI (A), To_LL_VSI (B)));
6633 end vec_vsubuwm;
6635 function vec_vsubuwm
6636 (A : vector_unsigned_int;
6637 B : vector_bool_int) return vector_unsigned_int
6639 begin
6640 return To_LL_VUI (vsubuwm (To_LL_VSI (A), To_LL_VSI (B)));
6641 end vec_vsubuwm;
6643 function vec_vsubuwm
6644 (A : vector_unsigned_int;
6645 B : vector_unsigned_int) return vector_unsigned_int
6647 begin
6648 return To_LL_VUI (vsubuwm (To_LL_VSI (A), To_LL_VSI (B)));
6649 end vec_vsubuwm;
6651 -- vec_vsubuhm --
6653 function vec_vsubuhm
6654 (A : vector_bool_short;
6655 B : vector_signed_short) return vector_signed_short
6657 begin
6658 return To_LL_VSS (vsubuhm (To_LL_VSS (A), To_LL_VSS (B)));
6659 end vec_vsubuhm;
6661 function vec_vsubuhm
6662 (A : vector_signed_short;
6663 B : vector_bool_short) return vector_signed_short
6665 begin
6666 return To_LL_VSS (vsubuhm (To_LL_VSS (A), To_LL_VSS (B)));
6667 end vec_vsubuhm;
6669 function vec_vsubuhm
6670 (A : vector_signed_short;
6671 B : vector_signed_short) return vector_signed_short
6673 begin
6674 return To_LL_VSS (vsubuhm (To_LL_VSS (A), To_LL_VSS (B)));
6675 end vec_vsubuhm;
6677 function vec_vsubuhm
6678 (A : vector_bool_short;
6679 B : vector_unsigned_short) return vector_unsigned_short
6681 begin
6682 return To_LL_VUS (vsubuhm (To_LL_VSS (A), To_LL_VSS (B)));
6683 end vec_vsubuhm;
6685 function vec_vsubuhm
6686 (A : vector_unsigned_short;
6687 B : vector_bool_short) return vector_unsigned_short
6689 begin
6690 return To_LL_VUS (vsubuhm (To_LL_VSS (A), To_LL_VSS (B)));
6691 end vec_vsubuhm;
6693 function vec_vsubuhm
6694 (A : vector_unsigned_short;
6695 B : vector_unsigned_short) return vector_unsigned_short
6697 begin
6698 return To_LL_VUS (vsubuhm (To_LL_VSS (A), To_LL_VSS (B)));
6699 end vec_vsubuhm;
6701 -- vec_vsububm --
6703 function vec_vsububm
6704 (A : vector_bool_char;
6705 B : vector_signed_char) return vector_signed_char
6707 begin
6708 return To_LL_VSC (vsububm (To_LL_VSC (A), To_LL_VSC (B)));
6709 end vec_vsububm;
6711 function vec_vsububm
6712 (A : vector_signed_char;
6713 B : vector_bool_char) return vector_signed_char
6715 begin
6716 return To_LL_VSC (vsububm (To_LL_VSC (A), To_LL_VSC (B)));
6717 end vec_vsububm;
6719 function vec_vsububm
6720 (A : vector_signed_char;
6721 B : vector_signed_char) return vector_signed_char
6723 begin
6724 return To_LL_VSC (vsububm (To_LL_VSC (A), To_LL_VSC (B)));
6725 end vec_vsububm;
6727 function vec_vsububm
6728 (A : vector_bool_char;
6729 B : vector_unsigned_char) return vector_unsigned_char
6731 begin
6732 return To_LL_VUC (vsububm (To_LL_VSC (A), To_LL_VSC (B)));
6733 end vec_vsububm;
6735 function vec_vsububm
6736 (A : vector_unsigned_char;
6737 B : vector_bool_char) return vector_unsigned_char
6739 begin
6740 return To_LL_VUC (vsububm (To_LL_VSC (A), To_LL_VSC (B)));
6741 end vec_vsububm;
6743 function vec_vsububm
6744 (A : vector_unsigned_char;
6745 B : vector_unsigned_char) return vector_unsigned_char
6747 begin
6748 return To_LL_VUC (vsububm (To_LL_VSC (A), To_LL_VSC (B)));
6749 end vec_vsububm;
6751 -- vec_subc --
6753 function vec_subc
6754 (A : vector_unsigned_int;
6755 B : vector_unsigned_int) return vector_unsigned_int
6757 begin
6758 return To_LL_VUI (vsubcuw (To_LL_VSI (A), To_LL_VSI (B)));
6759 end vec_subc;
6761 -- vec_subs --
6763 function vec_subs
6764 (A : vector_bool_char;
6765 B : vector_unsigned_char) return vector_unsigned_char
6767 begin
6768 return To_LL_VUC (vsububs (To_LL_VSC (A), To_LL_VSC (B)));
6769 end vec_subs;
6771 function vec_subs
6772 (A : vector_unsigned_char;
6773 B : vector_bool_char) return vector_unsigned_char
6775 begin
6776 return To_LL_VUC (vsububs (To_LL_VSC (A), To_LL_VSC (B)));
6777 end vec_subs;
6779 function vec_subs
6780 (A : vector_unsigned_char;
6781 B : vector_unsigned_char) return vector_unsigned_char
6783 begin
6784 return To_LL_VUC (vsububs (To_LL_VSC (A), To_LL_VSC (B)));
6785 end vec_subs;
6787 function vec_subs
6788 (A : vector_bool_char;
6789 B : vector_signed_char) return vector_signed_char
6791 begin
6792 return To_LL_VSC (vsubsbs (To_LL_VSC (A), To_LL_VSC (B)));
6793 end vec_subs;
6795 function vec_subs
6796 (A : vector_signed_char;
6797 B : vector_bool_char) return vector_signed_char
6799 begin
6800 return To_LL_VSC (vsubsbs (To_LL_VSC (A), To_LL_VSC (B)));
6801 end vec_subs;
6803 function vec_subs
6804 (A : vector_signed_char;
6805 B : vector_signed_char) return vector_signed_char
6807 begin
6808 return To_LL_VSC (vsubsbs (To_LL_VSC (A), To_LL_VSC (B)));
6809 end vec_subs;
6811 function vec_subs
6812 (A : vector_bool_short;
6813 B : vector_unsigned_short) return vector_unsigned_short
6815 begin
6816 return To_LL_VUS (vsubuhs (To_LL_VSS (A), To_LL_VSS (B)));
6817 end vec_subs;
6819 function vec_subs
6820 (A : vector_unsigned_short;
6821 B : vector_bool_short) return vector_unsigned_short
6823 begin
6824 return To_LL_VUS (vsubuhs (To_LL_VSS (A), To_LL_VSS (B)));
6825 end vec_subs;
6827 function vec_subs
6828 (A : vector_unsigned_short;
6829 B : vector_unsigned_short) return vector_unsigned_short
6831 begin
6832 return To_LL_VUS (vsubuhs (To_LL_VSS (A), To_LL_VSS (B)));
6833 end vec_subs;
6835 function vec_subs
6836 (A : vector_bool_short;
6837 B : vector_signed_short) return vector_signed_short
6839 begin
6840 return To_LL_VSS (vsubshs (To_LL_VSS (A), To_LL_VSS (B)));
6841 end vec_subs;
6843 function vec_subs
6844 (A : vector_signed_short;
6845 B : vector_bool_short) return vector_signed_short
6847 begin
6848 return To_LL_VSS (vsubshs (To_LL_VSS (A), To_LL_VSS (B)));
6849 end vec_subs;
6851 function vec_subs
6852 (A : vector_signed_short;
6853 B : vector_signed_short) return vector_signed_short
6855 begin
6856 return To_LL_VSS (vsubshs (To_LL_VSS (A), To_LL_VSS (B)));
6857 end vec_subs;
6859 function vec_subs
6860 (A : vector_bool_int;
6861 B : vector_unsigned_int) return vector_unsigned_int
6863 begin
6864 return To_LL_VUI (vsubuws (To_LL_VSI (A), To_LL_VSI (B)));
6865 end vec_subs;
6867 function vec_subs
6868 (A : vector_unsigned_int;
6869 B : vector_bool_int) return vector_unsigned_int
6871 begin
6872 return To_LL_VUI (vsubuws (To_LL_VSI (A), To_LL_VSI (B)));
6873 end vec_subs;
6875 function vec_subs
6876 (A : vector_unsigned_int;
6877 B : vector_unsigned_int) return vector_unsigned_int
6879 begin
6880 return To_LL_VUI (vsubuws (To_LL_VSI (A), To_LL_VSI (B)));
6881 end vec_subs;
6883 function vec_subs
6884 (A : vector_bool_int;
6885 B : vector_signed_int) return vector_signed_int
6887 begin
6888 return To_LL_VSI (vsubsws (To_LL_VSI (A), To_LL_VSI (B)));
6889 end vec_subs;
6891 function vec_subs
6892 (A : vector_signed_int;
6893 B : vector_bool_int) return vector_signed_int
6895 begin
6896 return To_LL_VSI (vsubsws (To_LL_VSI (A), To_LL_VSI (B)));
6897 end vec_subs;
6899 function vec_subs
6900 (A : vector_signed_int;
6901 B : vector_signed_int) return vector_signed_int
6903 begin
6904 return To_LL_VSI (vsubsws (To_LL_VSI (A), To_LL_VSI (B)));
6905 end vec_subs;
6907 -- vec_vsubsws --
6909 function vec_vsubsws
6910 (A : vector_bool_int;
6911 B : vector_signed_int) return vector_signed_int
6913 begin
6914 return To_LL_VSI (vsubsws (To_LL_VSI (A), To_LL_VSI (B)));
6915 end vec_vsubsws;
6917 function vec_vsubsws
6918 (A : vector_signed_int;
6919 B : vector_bool_int) return vector_signed_int
6921 begin
6922 return To_LL_VSI (vsubsws (To_LL_VSI (A), To_LL_VSI (B)));
6923 end vec_vsubsws;
6925 function vec_vsubsws
6926 (A : vector_signed_int;
6927 B : vector_signed_int) return vector_signed_int
6929 begin
6930 return To_LL_VSI (vsubsws (To_LL_VSI (A), To_LL_VSI (B)));
6931 end vec_vsubsws;
6933 -- vec_vsubuws --
6935 function vec_vsubuws
6936 (A : vector_bool_int;
6937 B : vector_unsigned_int) return vector_unsigned_int
6939 begin
6940 return To_LL_VUI (vsubuws (To_LL_VSI (A), To_LL_VSI (B)));
6941 end vec_vsubuws;
6943 function vec_vsubuws
6944 (A : vector_unsigned_int;
6945 B : vector_bool_int) return vector_unsigned_int
6947 begin
6948 return To_LL_VUI (vsubuws (To_LL_VSI (A), To_LL_VSI (B)));
6949 end vec_vsubuws;
6951 function vec_vsubuws
6952 (A : vector_unsigned_int;
6953 B : vector_unsigned_int) return vector_unsigned_int
6955 begin
6956 return To_LL_VUI (vsubuws (To_LL_VSI (A), To_LL_VSI (B)));
6957 end vec_vsubuws;
6959 -- vec_vsubshs --
6961 function vec_vsubshs
6962 (A : vector_bool_short;
6963 B : vector_signed_short) return vector_signed_short
6965 begin
6966 return To_LL_VSS (vsubshs (To_LL_VSS (A), To_LL_VSS (B)));
6967 end vec_vsubshs;
6969 function vec_vsubshs
6970 (A : vector_signed_short;
6971 B : vector_bool_short) return vector_signed_short
6973 begin
6974 return To_LL_VSS (vsubshs (To_LL_VSS (A), To_LL_VSS (B)));
6975 end vec_vsubshs;
6977 function vec_vsubshs
6978 (A : vector_signed_short;
6979 B : vector_signed_short) return vector_signed_short
6981 begin
6982 return To_LL_VSS (vsubshs (To_LL_VSS (A), To_LL_VSS (B)));
6983 end vec_vsubshs;
6985 -- vec_vsubuhs --
6987 function vec_vsubuhs
6988 (A : vector_bool_short;
6989 B : vector_unsigned_short) return vector_unsigned_short
6991 begin
6992 return To_LL_VUS (vsubuhs (To_LL_VSS (A), To_LL_VSS (B)));
6993 end vec_vsubuhs;
6995 function vec_vsubuhs
6996 (A : vector_unsigned_short;
6997 B : vector_bool_short) return vector_unsigned_short
6999 begin
7000 return To_LL_VUS (vsubuhs (To_LL_VSS (A), To_LL_VSS (B)));
7001 end vec_vsubuhs;
7003 function vec_vsubuhs
7004 (A : vector_unsigned_short;
7005 B : vector_unsigned_short) return vector_unsigned_short
7007 begin
7008 return To_LL_VUS (vsubuhs (To_LL_VSS (A), To_LL_VSS (B)));
7009 end vec_vsubuhs;
7011 -- vec_vsubsbs --
7013 function vec_vsubsbs
7014 (A : vector_bool_char;
7015 B : vector_signed_char) return vector_signed_char
7017 begin
7018 return To_LL_VSC (vsubsbs (To_LL_VSC (A), To_LL_VSC (B)));
7019 end vec_vsubsbs;
7021 function vec_vsubsbs
7022 (A : vector_signed_char;
7023 B : vector_bool_char) return vector_signed_char
7025 begin
7026 return To_LL_VSC (vsubsbs (To_LL_VSC (A), To_LL_VSC (B)));
7027 end vec_vsubsbs;
7029 function vec_vsubsbs
7030 (A : vector_signed_char;
7031 B : vector_signed_char) return vector_signed_char
7033 begin
7034 return To_LL_VSC (vsubsbs (To_LL_VSC (A), To_LL_VSC (B)));
7035 end vec_vsubsbs;
7037 -- vec_vsububs --
7039 function vec_vsububs
7040 (A : vector_bool_char;
7041 B : vector_unsigned_char) return vector_unsigned_char
7043 begin
7044 return To_LL_VUC (vsububs (To_LL_VSC (A), To_LL_VSC (B)));
7045 end vec_vsububs;
7047 function vec_vsububs
7048 (A : vector_unsigned_char;
7049 B : vector_bool_char) return vector_unsigned_char
7051 begin
7052 return To_LL_VUC (vsububs (To_LL_VSC (A), To_LL_VSC (B)));
7053 end vec_vsububs;
7055 function vec_vsububs
7056 (A : vector_unsigned_char;
7057 B : vector_unsigned_char) return vector_unsigned_char
7059 begin
7060 return To_LL_VUC (vsububs (To_LL_VSC (A), To_LL_VSC (B)));
7061 end vec_vsububs;
7063 -- vec_sum4s --
7065 function vec_sum4s
7066 (A : vector_unsigned_char;
7067 B : vector_unsigned_int) return vector_unsigned_int
7069 begin
7070 return To_LL_VUI (vsum4ubs (To_LL_VSC (A), To_LL_VSI (B)));
7071 end vec_sum4s;
7073 function vec_sum4s
7074 (A : vector_signed_char;
7075 B : vector_signed_int) return vector_signed_int
7077 begin
7078 return To_LL_VSI (vsum4sbs (To_LL_VSC (A), To_LL_VSI (B)));
7079 end vec_sum4s;
7081 function vec_sum4s
7082 (A : vector_signed_short;
7083 B : vector_signed_int) return vector_signed_int
7085 begin
7086 return To_LL_VSI (vsum4shs (To_LL_VSS (A), To_LL_VSI (B)));
7087 end vec_sum4s;
7089 -- vec_vsum4shs --
7091 function vec_vsum4shs
7092 (A : vector_signed_short;
7093 B : vector_signed_int) return vector_signed_int
7095 begin
7096 return To_LL_VSI (vsum4shs (To_LL_VSS (A), To_LL_VSI (B)));
7097 end vec_vsum4shs;
7099 -- vec_vsum4sbs --
7101 function vec_vsum4sbs
7102 (A : vector_signed_char;
7103 B : vector_signed_int) return vector_signed_int
7105 begin
7106 return To_LL_VSI (vsum4sbs (To_LL_VSC (A), To_LL_VSI (B)));
7107 end vec_vsum4sbs;
7109 -- vec_vsum4ubs --
7111 function vec_vsum4ubs
7112 (A : vector_unsigned_char;
7113 B : vector_unsigned_int) return vector_unsigned_int
7115 begin
7116 return To_LL_VUI (vsum4ubs (To_LL_VSC (A), To_LL_VSI (B)));
7117 end vec_vsum4ubs;
7119 -- vec_sum2s --
7121 function vec_sum2s
7122 (A : vector_signed_int;
7123 B : vector_signed_int) return vector_signed_int
7125 begin
7126 return To_LL_VSI (vsum2sws (To_LL_VSI (A), To_LL_VSI (B)));
7127 end vec_sum2s;
7129 -- vec_sums --
7131 function vec_sums
7132 (A : vector_signed_int;
7133 B : vector_signed_int) return vector_signed_int
7135 begin
7136 return To_LL_VSI (vsumsws (To_LL_VSI (A), To_LL_VSI (B)));
7137 end vec_sums;
7139 -- vec_trunc --
7141 function vec_trunc
7142 (A : vector_float) return vector_float
7144 begin
7145 return To_LL_VF (vrfiz (To_LL_VF (A)));
7146 end vec_trunc;
7148 -- vec_unpackh --
7150 function vec_unpackh
7151 (A : vector_signed_char) return vector_signed_short
7153 begin
7154 return To_LL_VSS (vupkhsb (To_LL_VSC (A)));
7155 end vec_unpackh;
7157 function vec_unpackh
7158 (A : vector_bool_char) return vector_bool_short
7160 begin
7161 return To_LL_VBS (vupkhsb (To_LL_VSC (A)));
7162 end vec_unpackh;
7164 function vec_unpackh
7165 (A : vector_signed_short) return vector_signed_int
7167 begin
7168 return To_LL_VSI (vupkhsh (To_LL_VSS (A)));
7169 end vec_unpackh;
7171 function vec_unpackh
7172 (A : vector_bool_short) return vector_bool_int
7174 begin
7175 return To_LL_VBI (vupkhsh (To_LL_VSS (A)));
7176 end vec_unpackh;
7178 function vec_unpackh
7179 (A : vector_pixel) return vector_unsigned_int
7181 begin
7182 return To_LL_VUI (vupkhpx (To_LL_VSS (A)));
7183 end vec_unpackh;
7185 -- vec_vupkhsh --
7187 function vec_vupkhsh
7188 (A : vector_bool_short) return vector_bool_int
7190 begin
7191 return To_LL_VBI (vupkhsh (To_LL_VSS (A)));
7192 end vec_vupkhsh;
7194 function vec_vupkhsh
7195 (A : vector_signed_short) return vector_signed_int
7197 begin
7198 return To_LL_VSI (vupkhsh (To_LL_VSS (A)));
7199 end vec_vupkhsh;
7201 -- vec_vupkhpx --
7203 function vec_vupkhpx
7204 (A : vector_pixel) return vector_unsigned_int
7206 begin
7207 return To_LL_VUI (vupkhpx (To_LL_VSS (A)));
7208 end vec_vupkhpx;
7210 -- vec_vupkhsb --
7212 function vec_vupkhsb
7213 (A : vector_bool_char) return vector_bool_short
7215 begin
7216 return To_LL_VBS (vupkhsb (To_LL_VSC (A)));
7217 end vec_vupkhsb;
7219 function vec_vupkhsb
7220 (A : vector_signed_char) return vector_signed_short
7222 begin
7223 return To_LL_VSS (vupkhsb (To_LL_VSC (A)));
7224 end vec_vupkhsb;
7226 -- vec_unpackl --
7228 function vec_unpackl
7229 (A : vector_signed_char) return vector_signed_short
7231 begin
7232 return To_LL_VSS (vupklsb (To_LL_VSC (A)));
7233 end vec_unpackl;
7235 function vec_unpackl
7236 (A : vector_bool_char) return vector_bool_short
7238 begin
7239 return To_LL_VBS (vupklsb (To_LL_VSC (A)));
7240 end vec_unpackl;
7242 function vec_unpackl
7243 (A : vector_pixel) return vector_unsigned_int
7245 begin
7246 return To_LL_VUI (vupklpx (To_LL_VSS (A)));
7247 end vec_unpackl;
7249 function vec_unpackl
7250 (A : vector_signed_short) return vector_signed_int
7252 begin
7253 return To_LL_VSI (vupklsh (To_LL_VSS (A)));
7254 end vec_unpackl;
7256 function vec_unpackl
7257 (A : vector_bool_short) return vector_bool_int
7259 begin
7260 return To_LL_VBI (vupklsh (To_LL_VSS (A)));
7261 end vec_unpackl;
7263 -- vec_vupklpx --
7265 function vec_vupklpx
7266 (A : vector_pixel) return vector_unsigned_int
7268 begin
7269 return To_LL_VUI (vupklpx (To_LL_VSS (A)));
7270 end vec_vupklpx;
7272 -- vec_upklsh --
7274 function vec_vupklsh
7275 (A : vector_bool_short) return vector_bool_int
7277 begin
7278 return To_LL_VBI (vupklsh (To_LL_VSS (A)));
7279 end vec_vupklsh;
7281 function vec_vupklsh
7282 (A : vector_signed_short) return vector_signed_int
7284 begin
7285 return To_LL_VSI (vupklsh (To_LL_VSS (A)));
7286 end vec_vupklsh;
7288 -- vec_vupklsb --
7290 function vec_vupklsb
7291 (A : vector_bool_char) return vector_bool_short
7293 begin
7294 return To_LL_VBS (vupklsb (To_LL_VSC (A)));
7295 end vec_vupklsb;
7297 function vec_vupklsb
7298 (A : vector_signed_char) return vector_signed_short
7300 begin
7301 return To_LL_VSS (vupklsb (To_LL_VSC (A)));
7302 end vec_vupklsb;
7304 -- vec_xor --
7306 function vec_xor
7307 (A : vector_float;
7308 B : vector_float) return vector_float
7310 begin
7311 return To_LL_VF (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7312 end vec_xor;
7314 function vec_xor
7315 (A : vector_float;
7316 B : vector_bool_int) return vector_float
7318 begin
7319 return To_LL_VF (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7320 end vec_xor;
7322 function vec_xor
7323 (A : vector_bool_int;
7324 B : vector_float) return vector_float
7326 begin
7327 return To_LL_VF (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7328 end vec_xor;
7330 function vec_xor
7331 (A : vector_bool_int;
7332 B : vector_bool_int) return vector_bool_int
7334 begin
7335 return To_LL_VBI (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7336 end vec_xor;
7338 function vec_xor
7339 (A : vector_bool_int;
7340 B : vector_signed_int) return vector_signed_int
7342 begin
7343 return To_LL_VSI (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7344 end vec_xor;
7346 function vec_xor
7347 (A : vector_signed_int;
7348 B : vector_bool_int) return vector_signed_int
7350 begin
7351 return To_LL_VSI (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7352 end vec_xor;
7354 function vec_xor
7355 (A : vector_signed_int;
7356 B : vector_signed_int) return vector_signed_int
7358 begin
7359 return To_LL_VSI (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7360 end vec_xor;
7362 function vec_xor
7363 (A : vector_bool_int;
7364 B : vector_unsigned_int) return vector_unsigned_int
7366 begin
7367 return To_LL_VUI (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7368 end vec_xor;
7370 function vec_xor
7371 (A : vector_unsigned_int;
7372 B : vector_bool_int) return vector_unsigned_int
7374 begin
7375 return To_LL_VUI (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7376 end vec_xor;
7378 function vec_xor
7379 (A : vector_unsigned_int;
7380 B : vector_unsigned_int) return vector_unsigned_int
7382 begin
7383 return To_LL_VUI (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7384 end vec_xor;
7386 function vec_xor
7387 (A : vector_bool_short;
7388 B : vector_bool_short) return vector_bool_short
7390 begin
7391 return To_LL_VBS (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7392 end vec_xor;
7394 function vec_xor
7395 (A : vector_bool_short;
7396 B : vector_signed_short) return vector_signed_short
7398 begin
7399 return To_LL_VSS (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7400 end vec_xor;
7402 function vec_xor
7403 (A : vector_signed_short;
7404 B : vector_bool_short) return vector_signed_short
7406 begin
7407 return To_LL_VSS (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7408 end vec_xor;
7410 function vec_xor
7411 (A : vector_signed_short;
7412 B : vector_signed_short) return vector_signed_short
7414 begin
7415 return To_LL_VSS (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7416 end vec_xor;
7418 function vec_xor
7419 (A : vector_bool_short;
7420 B : vector_unsigned_short) return vector_unsigned_short
7422 begin
7423 return To_LL_VUS (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7424 end vec_xor;
7426 function vec_xor
7427 (A : vector_unsigned_short;
7428 B : vector_bool_short) return vector_unsigned_short
7430 begin
7431 return To_LL_VUS (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7432 end vec_xor;
7434 function vec_xor
7435 (A : vector_unsigned_short;
7436 B : vector_unsigned_short) return vector_unsigned_short
7438 begin
7439 return To_LL_VUS (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7440 end vec_xor;
7442 function vec_xor
7443 (A : vector_bool_char;
7444 B : vector_signed_char) return vector_signed_char
7446 begin
7447 return To_LL_VSC (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7448 end vec_xor;
7450 function vec_xor
7451 (A : vector_bool_char;
7452 B : vector_bool_char) return vector_bool_char
7454 begin
7455 return To_LL_VBC (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7456 end vec_xor;
7458 function vec_xor
7459 (A : vector_signed_char;
7460 B : vector_bool_char) return vector_signed_char
7462 begin
7463 return To_LL_VSC (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7464 end vec_xor;
7466 function vec_xor
7467 (A : vector_signed_char;
7468 B : vector_signed_char) return vector_signed_char
7470 begin
7471 return To_LL_VSC (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7472 end vec_xor;
7474 function vec_xor
7475 (A : vector_bool_char;
7476 B : vector_unsigned_char) return vector_unsigned_char
7478 begin
7479 return To_LL_VUC (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7480 end vec_xor;
7482 function vec_xor
7483 (A : vector_unsigned_char;
7484 B : vector_bool_char) return vector_unsigned_char
7486 begin
7487 return To_LL_VUC (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7488 end vec_xor;
7490 function vec_xor
7491 (A : vector_unsigned_char;
7492 B : vector_unsigned_char) return vector_unsigned_char
7494 begin
7495 return To_LL_VUC (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7496 end vec_xor;
7498 -----------------------------------
7499 -- Bodies for Altivec predicates --
7500 -----------------------------------
7502 -- vec_all_eq --
7504 function vec_all_eq
7505 (A : vector_signed_char;
7506 B : vector_bool_char) return c_int
7508 begin
7509 return vcmpequb_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7510 end vec_all_eq;
7512 function vec_all_eq
7513 (A : vector_signed_char;
7514 B : vector_signed_char) return c_int
7516 begin
7517 return vcmpequb_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7518 end vec_all_eq;
7520 function vec_all_eq
7521 (A : vector_unsigned_char;
7522 B : vector_bool_char) return c_int
7524 begin
7525 return vcmpequb_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7526 end vec_all_eq;
7528 function vec_all_eq
7529 (A : vector_unsigned_char;
7530 B : vector_unsigned_char) return c_int
7532 begin
7533 return vcmpequb_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7534 end vec_all_eq;
7536 function vec_all_eq
7537 (A : vector_bool_char;
7538 B : vector_bool_char) return c_int
7540 begin
7541 return vcmpequb_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7542 end vec_all_eq;
7544 function vec_all_eq
7545 (A : vector_bool_char;
7546 B : vector_unsigned_char) return c_int
7548 begin
7549 return vcmpequb_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7550 end vec_all_eq;
7552 function vec_all_eq
7553 (A : vector_bool_char;
7554 B : vector_signed_char) return c_int
7556 begin
7557 return vcmpequb_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7558 end vec_all_eq;
7560 function vec_all_eq
7561 (A : vector_signed_short;
7562 B : vector_bool_short) return c_int
7564 begin
7565 return vcmpequh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7566 end vec_all_eq;
7568 function vec_all_eq
7569 (A : vector_signed_short;
7570 B : vector_signed_short) return c_int
7572 begin
7573 return vcmpequh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7574 end vec_all_eq;
7576 function vec_all_eq
7577 (A : vector_unsigned_short;
7578 B : vector_bool_short) return c_int
7580 begin
7581 return vcmpequh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7582 end vec_all_eq;
7584 function vec_all_eq
7585 (A : vector_unsigned_short;
7586 B : vector_unsigned_short) return c_int
7588 begin
7589 return vcmpequh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7590 end vec_all_eq;
7592 function vec_all_eq
7593 (A : vector_bool_short;
7594 B : vector_bool_short) return c_int
7596 begin
7597 return vcmpequh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7598 end vec_all_eq;
7600 function vec_all_eq
7601 (A : vector_bool_short;
7602 B : vector_unsigned_short) return c_int
7604 begin
7605 return vcmpequh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7606 end vec_all_eq;
7608 function vec_all_eq
7609 (A : vector_bool_short;
7610 B : vector_signed_short) return c_int
7612 begin
7613 return vcmpequh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7614 end vec_all_eq;
7616 function vec_all_eq
7617 (A : vector_pixel;
7618 B : vector_pixel) return c_int
7620 begin
7621 return vcmpequh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7622 end vec_all_eq;
7624 function vec_all_eq
7625 (A : vector_signed_int;
7626 B : vector_bool_int) return c_int
7628 begin
7629 return vcmpequw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7630 end vec_all_eq;
7632 function vec_all_eq
7633 (A : vector_signed_int;
7634 B : vector_signed_int) return c_int
7636 begin
7637 return vcmpequw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7638 end vec_all_eq;
7640 function vec_all_eq
7641 (A : vector_unsigned_int;
7642 B : vector_bool_int) return c_int
7644 begin
7645 return vcmpequw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7646 end vec_all_eq;
7648 function vec_all_eq
7649 (A : vector_unsigned_int;
7650 B : vector_unsigned_int) return c_int
7652 begin
7653 return vcmpequw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7654 end vec_all_eq;
7656 function vec_all_eq
7657 (A : vector_bool_int;
7658 B : vector_bool_int) return c_int
7660 begin
7661 return vcmpequw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7662 end vec_all_eq;
7664 function vec_all_eq
7665 (A : vector_bool_int;
7666 B : vector_unsigned_int) return c_int
7668 begin
7669 return vcmpequw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7670 end vec_all_eq;
7672 function vec_all_eq
7673 (A : vector_bool_int;
7674 B : vector_signed_int) return c_int
7676 begin
7677 return vcmpequw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7678 end vec_all_eq;
7680 function vec_all_eq
7681 (A : vector_float;
7682 B : vector_float) return c_int
7684 begin
7685 return vcmpeqfp_p (CR6_LT, To_LL_VF (A), To_LL_VF (B));
7686 end vec_all_eq;
7688 -- vec_all_ge --
7690 function vec_all_ge
7691 (A : vector_bool_char;
7692 B : vector_unsigned_char) return c_int
7694 begin
7695 return vcmpgtub_p (CR6_EQ, To_LL_VSC (B), To_LL_VSC (A));
7696 end vec_all_ge;
7698 function vec_all_ge
7699 (A : vector_unsigned_char;
7700 B : vector_bool_char) return c_int
7702 begin
7703 return vcmpgtub_p (CR6_EQ, To_LL_VSC (B), To_LL_VSC (A));
7704 end vec_all_ge;
7706 function vec_all_ge
7707 (A : vector_unsigned_char;
7708 B : vector_unsigned_char) return c_int
7710 begin
7711 return vcmpgtub_p (CR6_EQ, To_LL_VSC (B), To_LL_VSC (A));
7712 end vec_all_ge;
7714 function vec_all_ge
7715 (A : vector_bool_char;
7716 B : vector_signed_char) return c_int
7718 begin
7719 return vcmpgtsb_p (CR6_EQ, To_LL_VSC (B), To_LL_VSC (A));
7720 end vec_all_ge;
7722 function vec_all_ge
7723 (A : vector_signed_char;
7724 B : vector_bool_char) return c_int
7726 begin
7727 return vcmpgtsb_p (CR6_EQ, To_LL_VSC (B), To_LL_VSC (A));
7728 end vec_all_ge;
7730 function vec_all_ge
7731 (A : vector_signed_char;
7732 B : vector_signed_char) return c_int
7734 begin
7735 return vcmpgtsb_p (CR6_EQ, To_LL_VSC (B), To_LL_VSC (A));
7736 end vec_all_ge;
7738 function vec_all_ge
7739 (A : vector_bool_short;
7740 B : vector_unsigned_short) return c_int
7742 begin
7743 return vcmpgtuh_p (CR6_EQ, To_LL_VSS (B), To_LL_VSS (A));
7744 end vec_all_ge;
7746 function vec_all_ge
7747 (A : vector_unsigned_short;
7748 B : vector_bool_short) return c_int
7750 begin
7751 return vcmpgtuh_p (CR6_EQ, To_LL_VSS (B), To_LL_VSS (A));
7752 end vec_all_ge;
7754 function vec_all_ge
7755 (A : vector_unsigned_short;
7756 B : vector_unsigned_short) return c_int
7758 begin
7759 return vcmpgtuh_p (CR6_EQ, To_LL_VSS (B), To_LL_VSS (A));
7760 end vec_all_ge;
7762 function vec_all_ge
7763 (A : vector_signed_short;
7764 B : vector_signed_short) return c_int
7766 begin
7767 return vcmpgtsh_p (CR6_EQ, To_LL_VSS (B), To_LL_VSS (A));
7768 end vec_all_ge;
7770 function vec_all_ge
7771 (A : vector_bool_short;
7772 B : vector_signed_short) return c_int
7774 begin
7775 return vcmpgtsh_p (CR6_EQ, To_LL_VSS (B), To_LL_VSS (A));
7776 end vec_all_ge;
7778 function vec_all_ge
7779 (A : vector_signed_short;
7780 B : vector_bool_short) return c_int
7782 begin
7783 return vcmpgtsh_p (CR6_EQ, To_LL_VSS (B), To_LL_VSS (A));
7784 end vec_all_ge;
7786 function vec_all_ge
7787 (A : vector_bool_int;
7788 B : vector_unsigned_int) return c_int
7790 begin
7791 return vcmpgtuw_p (CR6_EQ, To_LL_VSI (B), To_LL_VSI (A));
7792 end vec_all_ge;
7794 function vec_all_ge
7795 (A : vector_unsigned_int;
7796 B : vector_bool_int) return c_int
7798 begin
7799 return vcmpgtuw_p (CR6_EQ, To_LL_VSI (B), To_LL_VSI (A));
7800 end vec_all_ge;
7802 function vec_all_ge
7803 (A : vector_unsigned_int;
7804 B : vector_unsigned_int) return c_int
7806 begin
7807 return vcmpgtuw_p (CR6_EQ, To_LL_VSI (B), To_LL_VSI (A));
7808 end vec_all_ge;
7810 function vec_all_ge
7811 (A : vector_bool_int;
7812 B : vector_signed_int) return c_int
7814 begin
7815 return vcmpgtsw_p (CR6_EQ, To_LL_VSI (B), To_LL_VSI (A));
7816 end vec_all_ge;
7818 function vec_all_ge
7819 (A : vector_signed_int;
7820 B : vector_bool_int) return c_int
7822 begin
7823 return vcmpgtsw_p (CR6_EQ, To_LL_VSI (B), To_LL_VSI (A));
7824 end vec_all_ge;
7826 function vec_all_ge
7827 (A : vector_signed_int;
7828 B : vector_signed_int) return c_int
7830 begin
7831 return vcmpgtsw_p (CR6_EQ, To_LL_VSI (B), To_LL_VSI (A));
7832 end vec_all_ge;
7834 function vec_all_ge
7835 (A : vector_float;
7836 B : vector_float) return c_int
7838 begin
7839 return vcmpgefp_p (CR6_LT, To_LL_VF (A), To_LL_VF (B));
7840 end vec_all_ge;
7842 -- vec_all_gt --
7844 function vec_all_gt
7845 (A : vector_bool_char;
7846 B : vector_unsigned_char) return c_int
7848 begin
7849 return vcmpgtub_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7850 end vec_all_gt;
7852 function vec_all_gt
7853 (A : vector_unsigned_char;
7854 B : vector_bool_char) return c_int
7856 begin
7857 return vcmpgtub_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7858 end vec_all_gt;
7860 function vec_all_gt
7861 (A : vector_unsigned_char;
7862 B : vector_unsigned_char) return c_int
7864 begin
7865 return vcmpgtub_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7866 end vec_all_gt;
7868 function vec_all_gt
7869 (A : vector_bool_char;
7870 B : vector_signed_char) return c_int
7872 begin
7873 return vcmpgtsb_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7874 end vec_all_gt;
7876 function vec_all_gt
7877 (A : vector_signed_char;
7878 B : vector_bool_char) return c_int
7880 begin
7881 return vcmpgtsb_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7882 end vec_all_gt;
7884 function vec_all_gt
7885 (A : vector_signed_char;
7886 B : vector_signed_char) return c_int
7888 begin
7889 return vcmpgtsb_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7890 end vec_all_gt;
7892 function vec_all_gt
7893 (A : vector_bool_short;
7894 B : vector_unsigned_short) return c_int
7896 begin
7897 return vcmpgtuh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7898 end vec_all_gt;
7900 function vec_all_gt
7901 (A : vector_unsigned_short;
7902 B : vector_bool_short) return c_int
7904 begin
7905 return vcmpgtuh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7906 end vec_all_gt;
7908 function vec_all_gt
7909 (A : vector_unsigned_short;
7910 B : vector_unsigned_short) return c_int
7912 begin
7913 return vcmpgtuh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7914 end vec_all_gt;
7916 function vec_all_gt
7917 (A : vector_bool_short;
7918 B : vector_signed_short) return c_int
7920 begin
7921 return vcmpgtsh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7922 end vec_all_gt;
7924 function vec_all_gt
7925 (A : vector_signed_short;
7926 B : vector_bool_short) return c_int
7928 begin
7929 return vcmpgtsh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7930 end vec_all_gt;
7932 function vec_all_gt
7933 (A : vector_signed_short;
7934 B : vector_signed_short) return c_int
7936 begin
7937 return vcmpgtsh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7938 end vec_all_gt;
7940 function vec_all_gt
7941 (A : vector_bool_int;
7942 B : vector_unsigned_int) return c_int
7944 begin
7945 return vcmpgtuw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7946 end vec_all_gt;
7948 function vec_all_gt
7949 (A : vector_unsigned_int;
7950 B : vector_bool_int) return c_int
7952 begin
7953 return vcmpgtuw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7954 end vec_all_gt;
7956 function vec_all_gt
7957 (A : vector_unsigned_int;
7958 B : vector_unsigned_int) return c_int
7960 begin
7961 return vcmpgtuw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7962 end vec_all_gt;
7964 function vec_all_gt
7965 (A : vector_bool_int;
7966 B : vector_signed_int) return c_int
7968 begin
7969 return vcmpgtsw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7970 end vec_all_gt;
7972 function vec_all_gt
7973 (A : vector_signed_int;
7974 B : vector_bool_int) return c_int
7976 begin
7977 return vcmpgtsw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7978 end vec_all_gt;
7980 function vec_all_gt
7981 (A : vector_signed_int;
7982 B : vector_signed_int) return c_int
7984 begin
7985 return vcmpgtsw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7986 end vec_all_gt;
7988 function vec_all_gt
7989 (A : vector_float;
7990 B : vector_float) return c_int
7992 begin
7993 return vcmpgtfp_p (CR6_LT, To_LL_VF (A), To_LL_VF (B));
7994 end vec_all_gt;
7996 -- vec_all_in --
7998 function vec_all_in
7999 (A : vector_float;
8000 B : vector_float) return c_int
8002 begin
8003 return vcmpbfp_p (CR6_EQ, To_LL_VF (A), To_LL_VF (B));
8004 end vec_all_in;
8006 -- vec_all_le --
8008 function vec_all_le
8009 (A : vector_bool_char;
8010 B : vector_unsigned_char) return c_int
8012 begin
8013 return vcmpgtub_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8014 end vec_all_le;
8016 function vec_all_le
8017 (A : vector_unsigned_char;
8018 B : vector_bool_char) return c_int
8020 begin
8021 return vcmpgtub_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8022 end vec_all_le;
8024 function vec_all_le
8025 (A : vector_unsigned_char;
8026 B : vector_unsigned_char) return c_int
8028 begin
8029 return vcmpgtub_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8030 end vec_all_le;
8032 function vec_all_le
8033 (A : vector_bool_char;
8034 B : vector_signed_char) return c_int
8036 begin
8037 return vcmpgtsb_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8038 end vec_all_le;
8040 function vec_all_le
8041 (A : vector_signed_char;
8042 B : vector_bool_char) return c_int
8044 begin
8045 return vcmpgtsb_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8046 end vec_all_le;
8048 function vec_all_le
8049 (A : vector_signed_char;
8050 B : vector_signed_char) return c_int
8052 begin
8053 return vcmpgtsb_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8054 end vec_all_le;
8056 function vec_all_le
8057 (A : vector_bool_short;
8058 B : vector_unsigned_short) return c_int
8060 begin
8061 return vcmpgtuh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8062 end vec_all_le;
8064 function vec_all_le
8065 (A : vector_unsigned_short;
8066 B : vector_bool_short) return c_int
8068 begin
8069 return vcmpgtuh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8070 end vec_all_le;
8072 function vec_all_le
8073 (A : vector_unsigned_short;
8074 B : vector_unsigned_short) return c_int
8076 begin
8077 return vcmpgtuh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8078 end vec_all_le;
8080 function vec_all_le
8081 (A : vector_bool_short;
8082 B : vector_signed_short) return c_int
8084 begin
8085 return vcmpgtsh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8086 end vec_all_le;
8088 function vec_all_le
8089 (A : vector_signed_short;
8090 B : vector_bool_short) return c_int
8092 begin
8093 return vcmpgtsh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8094 end vec_all_le;
8096 function vec_all_le
8097 (A : vector_signed_short;
8098 B : vector_signed_short) return c_int
8100 begin
8101 return vcmpgtsh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8102 end vec_all_le;
8104 function vec_all_le
8105 (A : vector_bool_int;
8106 B : vector_unsigned_int) return c_int
8108 begin
8109 return vcmpgtuw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8110 end vec_all_le;
8112 function vec_all_le
8113 (A : vector_unsigned_int;
8114 B : vector_bool_int) return c_int
8116 begin
8117 return vcmpgtuw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8118 end vec_all_le;
8120 function vec_all_le
8121 (A : vector_unsigned_int;
8122 B : vector_unsigned_int) return c_int
8124 begin
8125 return vcmpgtuw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8126 end vec_all_le;
8128 function vec_all_le
8129 (A : vector_bool_int;
8130 B : vector_signed_int) return c_int
8132 begin
8133 return vcmpgtsw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8134 end vec_all_le;
8136 function vec_all_le
8137 (A : vector_signed_int;
8138 B : vector_bool_int) return c_int
8140 begin
8141 return vcmpgtsw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8142 end vec_all_le;
8144 function vec_all_le
8145 (A : vector_signed_int;
8146 B : vector_signed_int) return c_int
8148 begin
8149 return vcmpgtsw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8150 end vec_all_le;
8152 function vec_all_le
8153 (A : vector_float;
8154 B : vector_float) return c_int
8156 begin
8157 return vcmpgefp_p (CR6_LT, To_LL_VF (B), To_LL_VF (A));
8158 end vec_all_le;
8160 -- vec_all_lt --
8162 function vec_all_lt
8163 (A : vector_bool_char;
8164 B : vector_unsigned_char) return c_int
8166 begin
8167 return vcmpgtub_p (CR6_LT, To_LL_VSC (B), To_LL_VSC (A));
8168 end vec_all_lt;
8170 function vec_all_lt
8171 (A : vector_unsigned_char;
8172 B : vector_bool_char) return c_int
8174 begin
8175 return vcmpgtub_p (CR6_LT, To_LL_VSC (B), To_LL_VSC (A));
8176 end vec_all_lt;
8178 function vec_all_lt
8179 (A : vector_unsigned_char;
8180 B : vector_unsigned_char) return c_int
8182 begin
8183 return vcmpgtub_p (CR6_LT, To_LL_VSC (B), To_LL_VSC (A));
8184 end vec_all_lt;
8186 function vec_all_lt
8187 (A : vector_bool_char;
8188 B : vector_signed_char) return c_int
8190 begin
8191 return vcmpgtsb_p (CR6_LT, To_LL_VSC (B), To_LL_VSC (A));
8192 end vec_all_lt;
8194 function vec_all_lt
8195 (A : vector_signed_char;
8196 B : vector_bool_char) return c_int
8198 begin
8199 return vcmpgtsb_p (CR6_LT, To_LL_VSC (B), To_LL_VSC (A));
8200 end vec_all_lt;
8202 function vec_all_lt
8203 (A : vector_signed_char;
8204 B : vector_signed_char) return c_int
8206 begin
8207 return vcmpgtsb_p (CR6_LT, To_LL_VSC (B), To_LL_VSC (A));
8208 end vec_all_lt;
8210 function vec_all_lt
8211 (A : vector_bool_short;
8212 B : vector_unsigned_short) return c_int
8214 begin
8215 return vcmpgtuh_p (CR6_LT, To_LL_VSS (B), To_LL_VSS (A));
8216 end vec_all_lt;
8218 function vec_all_lt
8219 (A : vector_unsigned_short;
8220 B : vector_bool_short) return c_int
8222 begin
8223 return vcmpgtuh_p (CR6_LT, To_LL_VSS (B), To_LL_VSS (A));
8224 end vec_all_lt;
8226 function vec_all_lt
8227 (A : vector_unsigned_short;
8228 B : vector_unsigned_short) return c_int
8230 begin
8231 return vcmpgtuh_p (CR6_LT, To_LL_VSS (B), To_LL_VSS (A));
8232 end vec_all_lt;
8234 function vec_all_lt
8235 (A : vector_bool_short;
8236 B : vector_signed_short) return c_int
8238 begin
8239 return vcmpgtsh_p (CR6_LT, To_LL_VSS (B), To_LL_VSS (A));
8240 end vec_all_lt;
8242 function vec_all_lt
8243 (A : vector_signed_short;
8244 B : vector_bool_short) return c_int
8246 begin
8247 return vcmpgtsh_p (CR6_LT, To_LL_VSS (B), To_LL_VSS (A));
8248 end vec_all_lt;
8250 function vec_all_lt
8251 (A : vector_signed_short;
8252 B : vector_signed_short) return c_int
8254 begin
8255 return vcmpgtsh_p (CR6_LT, To_LL_VSS (B), To_LL_VSS (A));
8256 end vec_all_lt;
8258 function vec_all_lt
8259 (A : vector_bool_int;
8260 B : vector_unsigned_int) return c_int
8262 begin
8263 return vcmpgtuw_p (CR6_LT, To_LL_VSI (B), To_LL_VSI (A));
8264 end vec_all_lt;
8266 function vec_all_lt
8267 (A : vector_unsigned_int;
8268 B : vector_bool_int) return c_int
8270 begin
8271 return vcmpgtuw_p (CR6_LT, To_LL_VSI (B), To_LL_VSI (A));
8272 end vec_all_lt;
8274 function vec_all_lt
8275 (A : vector_unsigned_int;
8276 B : vector_unsigned_int) return c_int
8278 begin
8279 return vcmpgtuw_p (CR6_LT, To_LL_VSI (B), To_LL_VSI (A));
8280 end vec_all_lt;
8282 function vec_all_lt
8283 (A : vector_bool_int;
8284 B : vector_signed_int) return c_int
8286 begin
8287 return vcmpgtsw_p (CR6_LT, To_LL_VSI (B), To_LL_VSI (A));
8288 end vec_all_lt;
8290 function vec_all_lt
8291 (A : vector_signed_int;
8292 B : vector_bool_int) return c_int
8294 begin
8295 return vcmpgtsw_p (CR6_LT, To_LL_VSI (B), To_LL_VSI (A));
8296 end vec_all_lt;
8298 function vec_all_lt
8299 (A : vector_signed_int;
8300 B : vector_signed_int) return c_int
8302 begin
8303 return vcmpgtsw_p (CR6_LT, To_LL_VSI (B), To_LL_VSI (A));
8304 end vec_all_lt;
8306 function vec_all_lt
8307 (A : vector_float;
8308 B : vector_float) return c_int
8310 begin
8311 return vcmpgtfp_p (CR6_LT, To_LL_VF (B), To_LL_VF (A));
8312 end vec_all_lt;
8314 -- vec_all_nan --
8316 function vec_all_nan
8317 (A : vector_float) return c_int
8319 begin
8320 return vcmpeqfp_p (CR6_EQ, To_LL_VF (A), To_LL_VF (A));
8321 end vec_all_nan;
8323 -- vec_all_ne --
8325 function vec_all_ne
8326 (A : vector_signed_char;
8327 B : vector_bool_char) return c_int
8329 begin
8330 return vcmpequb_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8331 end vec_all_ne;
8333 function vec_all_ne
8334 (A : vector_signed_char;
8335 B : vector_signed_char) return c_int
8337 begin
8338 return vcmpequb_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8339 end vec_all_ne;
8341 function vec_all_ne
8342 (A : vector_unsigned_char;
8343 B : vector_bool_char) return c_int
8345 begin
8346 return vcmpequb_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8347 end vec_all_ne;
8349 function vec_all_ne
8350 (A : vector_unsigned_char;
8351 B : vector_unsigned_char) return c_int
8353 begin
8354 return vcmpequb_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8355 end vec_all_ne;
8357 function vec_all_ne
8358 (A : vector_bool_char;
8359 B : vector_bool_char) return c_int
8361 begin
8362 return vcmpequb_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8363 end vec_all_ne;
8365 function vec_all_ne
8366 (A : vector_bool_char;
8367 B : vector_unsigned_char) return c_int
8369 begin
8370 return vcmpequb_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8371 end vec_all_ne;
8373 function vec_all_ne
8374 (A : vector_bool_char;
8375 B : vector_signed_char) return c_int
8377 begin
8378 return vcmpequb_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8379 end vec_all_ne;
8381 function vec_all_ne
8382 (A : vector_signed_short;
8383 B : vector_bool_short) return c_int
8385 begin
8386 return vcmpequh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8387 end vec_all_ne;
8389 function vec_all_ne
8390 (A : vector_signed_short;
8391 B : vector_signed_short) return c_int
8393 begin
8394 return vcmpequh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8395 end vec_all_ne;
8397 function vec_all_ne
8398 (A : vector_unsigned_short;
8399 B : vector_bool_short) return c_int
8401 begin
8402 return vcmpequh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8403 end vec_all_ne;
8405 function vec_all_ne
8406 (A : vector_unsigned_short;
8407 B : vector_unsigned_short) return c_int
8409 begin
8410 return vcmpequh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8411 end vec_all_ne;
8413 function vec_all_ne
8414 (A : vector_bool_short;
8415 B : vector_bool_short) return c_int
8417 begin
8418 return vcmpequh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8419 end vec_all_ne;
8421 function vec_all_ne
8422 (A : vector_bool_short;
8423 B : vector_unsigned_short) return c_int
8425 begin
8426 return vcmpequh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8427 end vec_all_ne;
8429 function vec_all_ne
8430 (A : vector_bool_short;
8431 B : vector_signed_short) return c_int
8433 begin
8434 return vcmpequh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8435 end vec_all_ne;
8437 function vec_all_ne
8438 (A : vector_pixel;
8439 B : vector_pixel) return c_int
8441 begin
8442 return vcmpequh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8443 end vec_all_ne;
8445 function vec_all_ne
8446 (A : vector_signed_int;
8447 B : vector_bool_int) return c_int
8449 begin
8450 return vcmpequw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8451 end vec_all_ne;
8453 function vec_all_ne
8454 (A : vector_signed_int;
8455 B : vector_signed_int) return c_int
8457 begin
8458 return vcmpequw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8459 end vec_all_ne;
8461 function vec_all_ne
8462 (A : vector_unsigned_int;
8463 B : vector_bool_int) return c_int
8465 begin
8466 return vcmpequw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8467 end vec_all_ne;
8469 function vec_all_ne
8470 (A : vector_unsigned_int;
8471 B : vector_unsigned_int) return c_int
8473 begin
8474 return vcmpequw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8475 end vec_all_ne;
8477 function vec_all_ne
8478 (A : vector_bool_int;
8479 B : vector_bool_int) return c_int
8481 begin
8482 return vcmpequw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8483 end vec_all_ne;
8485 function vec_all_ne
8486 (A : vector_bool_int;
8487 B : vector_unsigned_int) return c_int
8489 begin
8490 return vcmpequw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8491 end vec_all_ne;
8493 function vec_all_ne
8494 (A : vector_bool_int;
8495 B : vector_signed_int) return c_int
8497 begin
8498 return vcmpequw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8499 end vec_all_ne;
8501 function vec_all_ne
8502 (A : vector_float;
8503 B : vector_float) return c_int
8505 begin
8506 return vcmpeqfp_p (CR6_EQ, To_LL_VF (A), To_LL_VF (B));
8507 end vec_all_ne;
8509 -- vec_all_nge --
8511 function vec_all_nge
8512 (A : vector_float;
8513 B : vector_float) return c_int
8515 begin
8516 return vcmpgefp_p (CR6_EQ, To_LL_VF (A), To_LL_VF (B));
8517 end vec_all_nge;
8519 -- vec_all_ngt --
8521 function vec_all_ngt
8522 (A : vector_float;
8523 B : vector_float) return c_int
8525 begin
8526 return vcmpgtfp_p (CR6_EQ, To_LL_VF (A), To_LL_VF (B));
8527 end vec_all_ngt;
8529 -- vec_all_nle --
8531 function vec_all_nle
8532 (A : vector_float;
8533 B : vector_float) return c_int
8535 begin
8536 return vcmpgefp_p (CR6_EQ, To_LL_VF (B), To_LL_VF (A));
8537 end vec_all_nle;
8539 -- vec_all_nlt --
8541 function vec_all_nlt
8542 (A : vector_float;
8543 B : vector_float) return c_int
8545 begin
8546 return vcmpgtfp_p (CR6_EQ, To_LL_VF (B), To_LL_VF (A));
8547 end vec_all_nlt;
8549 -- vec_all_numeric --
8551 function vec_all_numeric
8552 (A : vector_float) return c_int
8554 begin
8555 return vcmpeqfp_p (CR6_LT, To_LL_VF (A), To_LL_VF (A));
8556 end vec_all_numeric;
8558 -- vec_any_eq --
8560 function vec_any_eq
8561 (A : vector_signed_char;
8562 B : vector_bool_char) return c_int
8564 begin
8565 return vcmpequb_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8566 end vec_any_eq;
8568 function vec_any_eq
8569 (A : vector_signed_char;
8570 B : vector_signed_char) return c_int
8572 begin
8573 return vcmpequb_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8574 end vec_any_eq;
8576 function vec_any_eq
8577 (A : vector_unsigned_char;
8578 B : vector_bool_char) return c_int
8580 begin
8581 return vcmpequb_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8582 end vec_any_eq;
8584 function vec_any_eq
8585 (A : vector_unsigned_char;
8586 B : vector_unsigned_char) return c_int
8588 begin
8589 return vcmpequb_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8590 end vec_any_eq;
8592 function vec_any_eq
8593 (A : vector_bool_char;
8594 B : vector_bool_char) return c_int
8596 begin
8597 return vcmpequb_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8598 end vec_any_eq;
8600 function vec_any_eq
8601 (A : vector_bool_char;
8602 B : vector_unsigned_char) return c_int
8604 begin
8605 return vcmpequb_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8606 end vec_any_eq;
8608 function vec_any_eq
8609 (A : vector_bool_char;
8610 B : vector_signed_char) return c_int
8612 begin
8613 return vcmpequb_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8614 end vec_any_eq;
8616 function vec_any_eq
8617 (A : vector_signed_short;
8618 B : vector_bool_short) return c_int
8620 begin
8621 return vcmpequh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8622 end vec_any_eq;
8624 function vec_any_eq
8625 (A : vector_signed_short;
8626 B : vector_signed_short) return c_int
8628 begin
8629 return vcmpequh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8630 end vec_any_eq;
8632 function vec_any_eq
8633 (A : vector_unsigned_short;
8634 B : vector_bool_short) return c_int
8636 begin
8637 return vcmpequh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8638 end vec_any_eq;
8640 function vec_any_eq
8641 (A : vector_unsigned_short;
8642 B : vector_unsigned_short) return c_int
8644 begin
8645 return vcmpequh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8646 end vec_any_eq;
8648 function vec_any_eq
8649 (A : vector_bool_short;
8650 B : vector_bool_short) return c_int
8652 begin
8653 return vcmpequh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8654 end vec_any_eq;
8656 function vec_any_eq
8657 (A : vector_bool_short;
8658 B : vector_unsigned_short) return c_int
8660 begin
8661 return vcmpequh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8662 end vec_any_eq;
8664 function vec_any_eq
8665 (A : vector_bool_short;
8666 B : vector_signed_short) return c_int
8668 begin
8669 return vcmpequh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8670 end vec_any_eq;
8672 function vec_any_eq
8673 (A : vector_pixel;
8674 B : vector_pixel) return c_int
8676 begin
8677 return vcmpequh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8678 end vec_any_eq;
8680 function vec_any_eq
8681 (A : vector_signed_int;
8682 B : vector_bool_int) return c_int
8684 begin
8685 return vcmpequw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
8686 end vec_any_eq;
8688 function vec_any_eq
8689 (A : vector_signed_int;
8690 B : vector_signed_int) return c_int
8692 begin
8693 return vcmpequw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
8694 end vec_any_eq;
8696 function vec_any_eq
8697 (A : vector_unsigned_int;
8698 B : vector_bool_int) return c_int
8700 begin
8701 return vcmpequw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
8702 end vec_any_eq;
8704 function vec_any_eq
8705 (A : vector_unsigned_int;
8706 B : vector_unsigned_int) return c_int
8708 begin
8709 return vcmpequw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
8710 end vec_any_eq;
8712 function vec_any_eq
8713 (A : vector_bool_int;
8714 B : vector_bool_int) return c_int
8716 begin
8717 return vcmpequw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
8718 end vec_any_eq;
8720 function vec_any_eq
8721 (A : vector_bool_int;
8722 B : vector_unsigned_int) return c_int
8724 begin
8725 return vcmpequw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
8726 end vec_any_eq;
8728 function vec_any_eq
8729 (A : vector_bool_int;
8730 B : vector_signed_int) return c_int
8732 begin
8733 return vcmpequw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
8734 end vec_any_eq;
8736 function vec_any_eq
8737 (A : vector_float;
8738 B : vector_float) return c_int
8740 begin
8741 return vcmpeqfp_p (CR6_EQ_REV, To_LL_VF (A), To_LL_VF (B));
8742 end vec_any_eq;
8744 -- vec_any_ge --
8746 function vec_any_ge
8747 (A : vector_signed_char;
8748 B : vector_bool_char) return c_int
8750 begin
8751 return vcmpgtub_p (CR6_LT_REV, To_LL_VSC (B), To_LL_VSC (A));
8752 end vec_any_ge;
8754 function vec_any_ge
8755 (A : vector_unsigned_char;
8756 B : vector_bool_char) return c_int
8758 begin
8759 return vcmpgtub_p (CR6_LT_REV, To_LL_VSC (B), To_LL_VSC (A));
8760 end vec_any_ge;
8762 function vec_any_ge
8763 (A : vector_unsigned_char;
8764 B : vector_unsigned_char) return c_int
8766 begin
8767 return vcmpgtub_p (CR6_LT_REV, To_LL_VSC (B), To_LL_VSC (A));
8768 end vec_any_ge;
8770 function vec_any_ge
8771 (A : vector_signed_char;
8772 B : vector_signed_char) return c_int
8774 begin
8775 return vcmpgtsb_p (CR6_LT_REV, To_LL_VSC (B), To_LL_VSC (A));
8776 end vec_any_ge;
8778 function vec_any_ge
8779 (A : vector_bool_char;
8780 B : vector_unsigned_char) return c_int
8782 begin
8783 return vcmpgtub_p (CR6_LT_REV, To_LL_VSC (B), To_LL_VSC (A));
8784 end vec_any_ge;
8786 function vec_any_ge
8787 (A : vector_bool_char;
8788 B : vector_signed_char) return c_int
8790 begin
8791 return vcmpgtub_p (CR6_LT_REV, To_LL_VSC (B), To_LL_VSC (A));
8792 end vec_any_ge;
8794 function vec_any_ge
8795 (A : vector_unsigned_short;
8796 B : vector_bool_short) return c_int
8798 begin
8799 return vcmpgtuh_p (CR6_LT_REV, To_LL_VSS (B), To_LL_VSS (A));
8800 end vec_any_ge;
8802 function vec_any_ge
8803 (A : vector_unsigned_short;
8804 B : vector_unsigned_short) return c_int
8806 begin
8807 return vcmpgtuh_p (CR6_LT_REV, To_LL_VSS (B), To_LL_VSS (A));
8808 end vec_any_ge;
8810 function vec_any_ge
8811 (A : vector_signed_short;
8812 B : vector_signed_short) return c_int
8814 begin
8815 return vcmpgtsh_p (CR6_LT_REV, To_LL_VSS (B), To_LL_VSS (A));
8816 end vec_any_ge;
8818 function vec_any_ge
8819 (A : vector_signed_short;
8820 B : vector_bool_short) return c_int
8822 begin
8823 return vcmpgtsh_p (CR6_LT_REV, To_LL_VSS (B), To_LL_VSS (A));
8824 end vec_any_ge;
8826 function vec_any_ge
8827 (A : vector_bool_short;
8828 B : vector_unsigned_short) return c_int
8830 begin
8831 return vcmpgtuh_p (CR6_LT_REV, To_LL_VSS (B), To_LL_VSS (A));
8832 end vec_any_ge;
8834 function vec_any_ge
8835 (A : vector_bool_short;
8836 B : vector_signed_short) return c_int
8838 begin
8839 return vcmpgtuh_p (CR6_LT_REV, To_LL_VSS (B), To_LL_VSS (A));
8840 end vec_any_ge;
8842 function vec_any_ge
8843 (A : vector_signed_int;
8844 B : vector_bool_int) return c_int
8846 begin
8847 return vcmpgtuw_p (CR6_LT_REV, To_LL_VSI (B), To_LL_VSI (A));
8848 end vec_any_ge;
8850 function vec_any_ge
8851 (A : vector_unsigned_int;
8852 B : vector_bool_int) return c_int
8854 begin
8855 return vcmpgtuw_p (CR6_LT_REV, To_LL_VSI (B), To_LL_VSI (A));
8856 end vec_any_ge;
8858 function vec_any_ge
8859 (A : vector_unsigned_int;
8860 B : vector_unsigned_int) return c_int
8862 begin
8863 return vcmpgtuw_p (CR6_LT_REV, To_LL_VSI (B), To_LL_VSI (A));
8864 end vec_any_ge;
8866 function vec_any_ge
8867 (A : vector_signed_int;
8868 B : vector_signed_int) return c_int
8870 begin
8871 return vcmpgtsw_p (CR6_LT_REV, To_LL_VSI (B), To_LL_VSI (A));
8872 end vec_any_ge;
8874 function vec_any_ge
8875 (A : vector_bool_int;
8876 B : vector_unsigned_int) return c_int
8878 begin
8879 return vcmpgtuw_p (CR6_LT_REV, To_LL_VSI (B), To_LL_VSI (A));
8880 end vec_any_ge;
8882 function vec_any_ge
8883 (A : vector_bool_int;
8884 B : vector_signed_int) return c_int
8886 begin
8887 return vcmpgtuw_p (CR6_LT_REV, To_LL_VSI (B), To_LL_VSI (A));
8888 end vec_any_ge;
8890 function vec_any_ge
8891 (A : vector_float;
8892 B : vector_float) return c_int
8894 begin
8895 return vcmpgefp_p (CR6_EQ_REV, To_LL_VF (A), To_LL_VF (B));
8896 end vec_any_ge;
8898 -- vec_any_gt --
8900 function vec_any_gt
8901 (A : vector_bool_char;
8902 B : vector_unsigned_char) return c_int
8904 begin
8905 return vcmpgtub_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8906 end vec_any_gt;
8908 function vec_any_gt
8909 (A : vector_unsigned_char;
8910 B : vector_bool_char) return c_int
8912 begin
8913 return vcmpgtub_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8914 end vec_any_gt;
8916 function vec_any_gt
8917 (A : vector_unsigned_char;
8918 B : vector_unsigned_char) return c_int
8920 begin
8921 return vcmpgtub_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8922 end vec_any_gt;
8924 function vec_any_gt
8925 (A : vector_bool_char;
8926 B : vector_signed_char) return c_int
8928 begin
8929 return vcmpgtsb_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8930 end vec_any_gt;
8932 function vec_any_gt
8933 (A : vector_signed_char;
8934 B : vector_bool_char) return c_int
8936 begin
8937 return vcmpgtsb_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8938 end vec_any_gt;
8940 function vec_any_gt
8941 (A : vector_signed_char;
8942 B : vector_signed_char) return c_int
8944 begin
8945 return vcmpgtsb_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8946 end vec_any_gt;
8948 function vec_any_gt
8949 (A : vector_bool_short;
8950 B : vector_unsigned_short) return c_int
8952 begin
8953 return vcmpgtuh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8954 end vec_any_gt;
8956 function vec_any_gt
8957 (A : vector_unsigned_short;
8958 B : vector_bool_short) return c_int
8960 begin
8961 return vcmpgtuh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8962 end vec_any_gt;
8964 function vec_any_gt
8965 (A : vector_unsigned_short;
8966 B : vector_unsigned_short) return c_int
8968 begin
8969 return vcmpgtuh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8970 end vec_any_gt;
8972 function vec_any_gt
8973 (A : vector_bool_short;
8974 B : vector_signed_short) return c_int
8976 begin
8977 return vcmpgtsh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8978 end vec_any_gt;
8980 function vec_any_gt
8981 (A : vector_signed_short;
8982 B : vector_bool_short) return c_int
8984 begin
8985 return vcmpgtsh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8986 end vec_any_gt;
8988 function vec_any_gt
8989 (A : vector_signed_short;
8990 B : vector_signed_short) return c_int
8992 begin
8993 return vcmpgtsh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8994 end vec_any_gt;
8996 function vec_any_gt
8997 (A : vector_bool_int;
8998 B : vector_unsigned_int) return c_int
9000 begin
9001 return vcmpgtuw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
9002 end vec_any_gt;
9004 function vec_any_gt
9005 (A : vector_unsigned_int;
9006 B : vector_bool_int) return c_int
9008 begin
9009 return vcmpgtuw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
9010 end vec_any_gt;
9012 function vec_any_gt
9013 (A : vector_unsigned_int;
9014 B : vector_unsigned_int) return c_int
9016 begin
9017 return vcmpgtuw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
9018 end vec_any_gt;
9020 function vec_any_gt
9021 (A : vector_bool_int;
9022 B : vector_signed_int) return c_int
9024 begin
9025 return vcmpgtsw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
9026 end vec_any_gt;
9028 function vec_any_gt
9029 (A : vector_signed_int;
9030 B : vector_bool_int) return c_int
9032 begin
9033 return vcmpgtsw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
9034 end vec_any_gt;
9036 function vec_any_gt
9037 (A : vector_signed_int;
9038 B : vector_signed_int) return c_int
9040 begin
9041 return vcmpgtsw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
9042 end vec_any_gt;
9044 function vec_any_gt
9045 (A : vector_float;
9046 B : vector_float) return c_int
9048 begin
9049 return vcmpgtfp_p (CR6_EQ_REV, To_LL_VF (A), To_LL_VF (B));
9050 end vec_any_gt;
9052 -- vec_any_le --
9054 function vec_any_le
9055 (A : vector_bool_char;
9056 B : vector_unsigned_char) return c_int
9058 begin
9059 return vcmpgtub_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9060 end vec_any_le;
9062 function vec_any_le
9063 (A : vector_unsigned_char;
9064 B : vector_bool_char) return c_int
9066 begin
9067 return vcmpgtub_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9068 end vec_any_le;
9070 function vec_any_le
9071 (A : vector_unsigned_char;
9072 B : vector_unsigned_char) return c_int
9074 begin
9075 return vcmpgtub_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9076 end vec_any_le;
9078 function vec_any_le
9079 (A : vector_bool_char;
9080 B : vector_signed_char) return c_int
9082 begin
9083 return vcmpgtsb_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9084 end vec_any_le;
9086 function vec_any_le
9087 (A : vector_signed_char;
9088 B : vector_bool_char) return c_int
9090 begin
9091 return vcmpgtsb_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9092 end vec_any_le;
9094 function vec_any_le
9095 (A : vector_signed_char;
9096 B : vector_signed_char) return c_int
9098 begin
9099 return vcmpgtsb_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9100 end vec_any_le;
9102 function vec_any_le
9103 (A : vector_bool_short;
9104 B : vector_unsigned_short) return c_int
9106 begin
9107 return vcmpgtuh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9108 end vec_any_le;
9110 function vec_any_le
9111 (A : vector_unsigned_short;
9112 B : vector_bool_short) return c_int
9114 begin
9115 return vcmpgtuh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9116 end vec_any_le;
9118 function vec_any_le
9119 (A : vector_unsigned_short;
9120 B : vector_unsigned_short) return c_int
9122 begin
9123 return vcmpgtuh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9124 end vec_any_le;
9126 function vec_any_le
9127 (A : vector_bool_short;
9128 B : vector_signed_short) return c_int
9130 begin
9131 return vcmpgtsh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9132 end vec_any_le;
9134 function vec_any_le
9135 (A : vector_signed_short;
9136 B : vector_bool_short) return c_int
9138 begin
9139 return vcmpgtsh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9140 end vec_any_le;
9142 function vec_any_le
9143 (A : vector_signed_short;
9144 B : vector_signed_short) return c_int
9146 begin
9147 return vcmpgtsh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9148 end vec_any_le;
9150 function vec_any_le
9151 (A : vector_bool_int;
9152 B : vector_unsigned_int) return c_int
9154 begin
9155 return vcmpgtuw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9156 end vec_any_le;
9158 function vec_any_le
9159 (A : vector_unsigned_int;
9160 B : vector_bool_int) return c_int
9162 begin
9163 return vcmpgtuw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9164 end vec_any_le;
9166 function vec_any_le
9167 (A : vector_unsigned_int;
9168 B : vector_unsigned_int) return c_int
9170 begin
9171 return vcmpgtuw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9172 end vec_any_le;
9174 function vec_any_le
9175 (A : vector_bool_int;
9176 B : vector_signed_int) return c_int
9178 begin
9179 return vcmpgtsw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9180 end vec_any_le;
9182 function vec_any_le
9183 (A : vector_signed_int;
9184 B : vector_bool_int) return c_int
9186 begin
9187 return vcmpgtsw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9188 end vec_any_le;
9190 function vec_any_le
9191 (A : vector_signed_int;
9192 B : vector_signed_int) return c_int
9194 begin
9195 return vcmpgtsw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9196 end vec_any_le;
9198 function vec_any_le
9199 (A : vector_float;
9200 B : vector_float) return c_int
9202 begin
9203 return vcmpgefp_p (CR6_EQ_REV, To_LL_VF (B), To_LL_VF (A));
9204 end vec_any_le;
9206 -- vec_any_lt --
9208 function vec_any_lt
9209 (A : vector_bool_char;
9210 B : vector_unsigned_char) return c_int
9212 begin
9213 return vcmpgtub_p (CR6_EQ_REV, To_LL_VSC (B), To_LL_VSC (A));
9214 end vec_any_lt;
9216 function vec_any_lt
9217 (A : vector_unsigned_char;
9218 B : vector_bool_char) return c_int
9220 begin
9221 return vcmpgtub_p (CR6_EQ_REV, To_LL_VSC (B), To_LL_VSC (A));
9222 end vec_any_lt;
9224 function vec_any_lt
9225 (A : vector_unsigned_char;
9226 B : vector_unsigned_char) return c_int
9228 begin
9229 return vcmpgtub_p (CR6_EQ_REV, To_LL_VSC (B), To_LL_VSC (A));
9230 end vec_any_lt;
9232 function vec_any_lt
9233 (A : vector_bool_char;
9234 B : vector_signed_char) return c_int
9236 begin
9237 return vcmpgtsb_p (CR6_EQ_REV, To_LL_VSC (B), To_LL_VSC (A));
9238 end vec_any_lt;
9240 function vec_any_lt
9241 (A : vector_signed_char;
9242 B : vector_bool_char) return c_int
9244 begin
9245 return vcmpgtsb_p (CR6_EQ_REV, To_LL_VSC (B), To_LL_VSC (A));
9246 end vec_any_lt;
9248 function vec_any_lt
9249 (A : vector_signed_char;
9250 B : vector_signed_char) return c_int
9252 begin
9253 return vcmpgtsb_p (CR6_EQ_REV, To_LL_VSC (B), To_LL_VSC (A));
9254 end vec_any_lt;
9256 function vec_any_lt
9257 (A : vector_bool_short;
9258 B : vector_unsigned_short) return c_int
9260 begin
9261 return vcmpgtuh_p (CR6_EQ_REV, To_LL_VSS (B), To_LL_VSS (A));
9262 end vec_any_lt;
9264 function vec_any_lt
9265 (A : vector_unsigned_short;
9266 B : vector_bool_short) return c_int
9268 begin
9269 return vcmpgtuh_p (CR6_EQ_REV, To_LL_VSS (B), To_LL_VSS (A));
9270 end vec_any_lt;
9272 function vec_any_lt
9273 (A : vector_unsigned_short;
9274 B : vector_unsigned_short) return c_int
9276 begin
9277 return vcmpgtuh_p (CR6_EQ_REV, To_LL_VSS (B), To_LL_VSS (A));
9278 end vec_any_lt;
9280 function vec_any_lt
9281 (A : vector_bool_short;
9282 B : vector_signed_short) return c_int
9284 begin
9285 return vcmpgtsh_p (CR6_EQ_REV, To_LL_VSS (B), To_LL_VSS (A));
9286 end vec_any_lt;
9288 function vec_any_lt
9289 (A : vector_signed_short;
9290 B : vector_bool_short) return c_int
9292 begin
9293 return vcmpgtsh_p (CR6_EQ_REV, To_LL_VSS (B), To_LL_VSS (A));
9294 end vec_any_lt;
9296 function vec_any_lt
9297 (A : vector_signed_short;
9298 B : vector_signed_short) return c_int
9300 begin
9301 return vcmpgtsh_p (CR6_EQ_REV, To_LL_VSS (B), To_LL_VSS (A));
9302 end vec_any_lt;
9304 function vec_any_lt
9305 (A : vector_bool_int;
9306 B : vector_unsigned_int) return c_int
9308 begin
9309 return vcmpgtuw_p (CR6_EQ_REV, To_LL_VSI (B), To_LL_VSI (A));
9310 end vec_any_lt;
9312 function vec_any_lt
9313 (A : vector_unsigned_int;
9314 B : vector_bool_int) return c_int
9316 begin
9317 return vcmpgtuw_p (CR6_EQ_REV, To_LL_VSI (B), To_LL_VSI (A));
9318 end vec_any_lt;
9320 function vec_any_lt
9321 (A : vector_unsigned_int;
9322 B : vector_unsigned_int) return c_int
9324 begin
9325 return vcmpgtuw_p (CR6_EQ_REV, To_LL_VSI (B), To_LL_VSI (A));
9326 end vec_any_lt;
9328 function vec_any_lt
9329 (A : vector_bool_int;
9330 B : vector_signed_int) return c_int
9332 begin
9333 return vcmpgtsw_p (CR6_EQ_REV, To_LL_VSI (B), To_LL_VSI (A));
9334 end vec_any_lt;
9336 function vec_any_lt
9337 (A : vector_signed_int;
9338 B : vector_bool_int) return c_int
9340 begin
9341 return vcmpgtsw_p (CR6_EQ_REV, To_LL_VSI (B), To_LL_VSI (A));
9342 end vec_any_lt;
9344 function vec_any_lt
9345 (A : vector_signed_int;
9346 B : vector_signed_int) return c_int
9348 begin
9349 return vcmpgtsw_p (CR6_EQ_REV, To_LL_VSI (B), To_LL_VSI (A));
9350 end vec_any_lt;
9352 function vec_any_lt
9353 (A : vector_float;
9354 B : vector_float) return c_int
9356 begin
9357 return vcmpgtfp_p (CR6_EQ_REV, To_LL_VF (B), To_LL_VF (A));
9358 end vec_any_lt;
9360 -- vec_any_nan --
9362 function vec_any_nan
9363 (A : vector_float) return c_int
9365 begin
9366 return vcmpeqfp_p (CR6_LT_REV, To_LL_VF (A), To_LL_VF (A));
9367 end vec_any_nan;
9369 -- vec_any_ne --
9371 function vec_any_ne
9372 (A : vector_signed_char;
9373 B : vector_bool_char) return c_int
9375 begin
9376 return vcmpequb_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9377 end vec_any_ne;
9379 function vec_any_ne
9380 (A : vector_signed_char;
9381 B : vector_signed_char) return c_int
9383 begin
9384 return vcmpequb_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9385 end vec_any_ne;
9387 function vec_any_ne
9388 (A : vector_unsigned_char;
9389 B : vector_bool_char) return c_int
9391 begin
9392 return vcmpequb_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9393 end vec_any_ne;
9395 function vec_any_ne
9396 (A : vector_unsigned_char;
9397 B : vector_unsigned_char) return c_int
9399 begin
9400 return vcmpequb_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9401 end vec_any_ne;
9403 function vec_any_ne
9404 (A : vector_bool_char;
9405 B : vector_bool_char) return c_int
9407 begin
9408 return vcmpequb_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9409 end vec_any_ne;
9411 function vec_any_ne
9412 (A : vector_bool_char;
9413 B : vector_unsigned_char) return c_int
9415 begin
9416 return vcmpequb_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9417 end vec_any_ne;
9419 function vec_any_ne
9420 (A : vector_bool_char;
9421 B : vector_signed_char) return c_int
9423 begin
9424 return vcmpequb_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9425 end vec_any_ne;
9427 function vec_any_ne
9428 (A : vector_signed_short;
9429 B : vector_bool_short) return c_int
9431 begin
9432 return vcmpequh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9433 end vec_any_ne;
9435 function vec_any_ne
9436 (A : vector_signed_short;
9437 B : vector_signed_short) return c_int
9439 begin
9440 return vcmpequh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9441 end vec_any_ne;
9443 function vec_any_ne
9444 (A : vector_unsigned_short;
9445 B : vector_bool_short) return c_int
9447 begin
9448 return vcmpequh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9449 end vec_any_ne;
9451 function vec_any_ne
9452 (A : vector_unsigned_short;
9453 B : vector_unsigned_short) return c_int
9455 begin
9456 return vcmpequh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9457 end vec_any_ne;
9459 function vec_any_ne
9460 (A : vector_bool_short;
9461 B : vector_bool_short) return c_int
9463 begin
9464 return vcmpequh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9465 end vec_any_ne;
9467 function vec_any_ne
9468 (A : vector_bool_short;
9469 B : vector_unsigned_short) return c_int
9471 begin
9472 return vcmpequh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9473 end vec_any_ne;
9475 function vec_any_ne
9476 (A : vector_bool_short;
9477 B : vector_signed_short) return c_int
9479 begin
9480 return vcmpequh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9481 end vec_any_ne;
9483 function vec_any_ne
9484 (A : vector_pixel;
9485 B : vector_pixel) return c_int
9487 begin
9488 return vcmpequh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9489 end vec_any_ne;
9491 function vec_any_ne
9492 (A : vector_signed_int;
9493 B : vector_bool_int) return c_int
9495 begin
9496 return vcmpequw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9497 end vec_any_ne;
9499 function vec_any_ne
9500 (A : vector_signed_int;
9501 B : vector_signed_int) return c_int
9503 begin
9504 return vcmpequw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9505 end vec_any_ne;
9507 function vec_any_ne
9508 (A : vector_unsigned_int;
9509 B : vector_bool_int) return c_int
9511 begin
9512 return vcmpequw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9513 end vec_any_ne;
9515 function vec_any_ne
9516 (A : vector_unsigned_int;
9517 B : vector_unsigned_int) return c_int
9519 begin
9520 return vcmpequw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9521 end vec_any_ne;
9523 function vec_any_ne
9524 (A : vector_bool_int;
9525 B : vector_bool_int) return c_int
9527 begin
9528 return vcmpequw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9529 end vec_any_ne;
9531 function vec_any_ne
9532 (A : vector_bool_int;
9533 B : vector_unsigned_int) return c_int
9535 begin
9536 return vcmpequw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9537 end vec_any_ne;
9539 function vec_any_ne
9540 (A : vector_bool_int;
9541 B : vector_signed_int) return c_int
9543 begin
9544 return vcmpequw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9545 end vec_any_ne;
9547 function vec_any_ne
9548 (A : vector_float;
9549 B : vector_float) return c_int
9551 begin
9552 return vcmpeqfp_p (CR6_LT_REV, To_LL_VF (A), To_LL_VF (B));
9553 end vec_any_ne;
9555 -- vec_any_nge --
9557 function vec_any_nge
9558 (A : vector_float;
9559 B : vector_float) return c_int
9561 begin
9562 return vcmpgefp_p (CR6_LT_REV, To_LL_VF (A), To_LL_VF (B));
9563 end vec_any_nge;
9565 -- vec_any_ngt --
9567 function vec_any_ngt
9568 (A : vector_float;
9569 B : vector_float) return c_int
9571 begin
9572 return vcmpgtfp_p (CR6_LT_REV, To_LL_VF (A), To_LL_VF (B));
9573 end vec_any_ngt;
9575 -- vec_any_nle --
9577 function vec_any_nle
9578 (A : vector_float;
9579 B : vector_float) return c_int
9581 begin
9582 return vcmpgefp_p (CR6_LT_REV, To_LL_VF (B), To_LL_VF (A));
9583 end vec_any_nle;
9585 -- vec_any_nlt --
9587 function vec_any_nlt
9588 (A : vector_float;
9589 B : vector_float) return c_int
9591 begin
9592 return vcmpgtfp_p (CR6_LT_REV, To_LL_VF (B), To_LL_VF (A));
9593 end vec_any_nlt;
9595 -- vec_any_numeric --
9597 function vec_any_numeric
9598 (A : vector_float) return c_int
9600 begin
9601 return vcmpeqfp_p (CR6_EQ_REV, To_LL_VF (A), To_LL_VF (A));
9602 end vec_any_numeric;
9604 -- vec_any_out --
9606 function vec_any_out
9607 (A : vector_float;
9608 B : vector_float) return c_int
9610 begin
9611 return vcmpbfp_p (CR6_EQ_REV, To_LL_VF (A), To_LL_VF (B));
9612 end vec_any_out;
9614 -- vec_step --
9616 function vec_step
9617 (V : vector_unsigned_char) return Integer
9619 pragma Unreferenced (V);
9620 begin
9621 return 16;
9622 end vec_step;
9624 function vec_step
9625 (V : vector_signed_char) return Integer
9627 pragma Unreferenced (V);
9628 begin
9629 return 16;
9630 end vec_step;
9632 function vec_step
9633 (V : vector_bool_char) return Integer
9635 pragma Unreferenced (V);
9636 begin
9637 return 16;
9638 end vec_step;
9640 function vec_step
9641 (V : vector_unsigned_short) return Integer
9643 pragma Unreferenced (V);
9644 begin
9645 return 8;
9646 end vec_step;
9648 function vec_step
9649 (V : vector_signed_short) return Integer
9651 pragma Unreferenced (V);
9652 begin
9653 return 8;
9654 end vec_step;
9656 function vec_step
9657 (V : vector_bool_short) return Integer
9659 pragma Unreferenced (V);
9660 begin
9661 return 8;
9662 end vec_step;
9664 function vec_step
9665 (V : vector_unsigned_int) return Integer
9667 pragma Unreferenced (V);
9668 begin
9669 return 4;
9670 end vec_step;
9672 function vec_step
9673 (V : vector_signed_int) return Integer
9675 pragma Unreferenced (V);
9676 begin
9677 return 4;
9678 end vec_step;
9680 function vec_step
9681 (V : vector_bool_int) return Integer
9683 pragma Unreferenced (V);
9684 begin
9685 return 4;
9686 end vec_step;
9688 function vec_step
9689 (V : vector_float) return Integer
9691 pragma Unreferenced (V);
9692 begin
9693 return 4;
9694 end vec_step;
9696 function vec_step
9697 (V : vector_pixel) return Integer
9699 pragma Unreferenced (V);
9700 begin
9701 return 4;
9702 end vec_step;
9704 end GNAT.Altivec.Vector_Operations;