* configure.tgt: Add sh* case.
[official-gcc.git] / gcc / ada / g-alveop.adb
blob6a01b6e95eb8f450d54bb62459df507fbc80e869
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-2009, 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 3, 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. --
17 -- --
18 -- As a special exception under Section 7 of GPL version 3, you are granted --
19 -- additional permissions described in the GCC Runtime Library Exception, --
20 -- version 3.1, as published by the Free Software Foundation. --
21 -- --
22 -- You should have received a copy of the GNU General Public License and --
23 -- a copy of the GCC Runtime Library Exception along with this program; --
24 -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
25 -- <http://www.gnu.org/licenses/>. --
26 -- --
27 -- GNAT was originally developed by the GNAT team at New York University. --
28 -- Extensive contributions were provided by Ada Core Technologies Inc. --
29 -- --
30 ------------------------------------------------------------------------------
32 with GNAT.Altivec.Low_Level_Vectors; use GNAT.Altivec.Low_Level_Vectors;
34 package body GNAT.Altivec.Vector_Operations is
36 --------------------------------------------------------
37 -- Bodies for generic and specific Altivec operations --
38 --------------------------------------------------------
40 -- vec_abs --
42 function vec_abs
43 (A : vector_signed_char) return vector_signed_char
45 begin
46 return To_LL_VSC (abs_v16qi (A));
47 end vec_abs;
49 function vec_abs
50 (A : vector_signed_short) return vector_signed_short
52 begin
53 return To_LL_VSS (abs_v8hi (A));
54 end vec_abs;
56 function vec_abs
57 (A : vector_signed_int) return vector_signed_int
59 begin
60 return To_LL_VSI (abs_v4si (A));
61 end vec_abs;
63 function vec_abs
64 (A : vector_float) return vector_float
66 begin
67 return To_LL_VF (abs_v4sf (A));
68 end vec_abs;
70 -- vec_abss --
72 function vec_abss
73 (A : vector_signed_char) return vector_signed_char
75 begin
76 return To_LL_VSC (abss_v16qi (A));
77 end vec_abss;
79 function vec_abss
80 (A : vector_signed_short) return vector_signed_short
82 begin
83 return To_LL_VSS (abss_v8hi (A));
84 end vec_abss;
86 function vec_abss
87 (A : vector_signed_int) return vector_signed_int
89 begin
90 return To_LL_VSI (abss_v4si (A));
91 end vec_abss;
93 -- vec_add --
95 function vec_add
96 (A : vector_bool_char;
97 B : vector_signed_char) return vector_signed_char
99 begin
100 return To_LL_VSC (vaddubm (To_LL_VSC (A), To_LL_VSC (B)));
101 end vec_add;
103 function vec_add
104 (A : vector_signed_char;
105 B : vector_bool_char) return vector_signed_char
107 begin
108 return To_LL_VSC (vaddubm (To_LL_VSC (A), To_LL_VSC (B)));
109 end vec_add;
111 function vec_add
112 (A : vector_signed_char;
113 B : vector_signed_char) return vector_signed_char
115 begin
116 return To_LL_VSC (vaddubm (To_LL_VSC (A), To_LL_VSC (B)));
117 end vec_add;
119 function vec_add
120 (A : vector_bool_char;
121 B : vector_unsigned_char) return vector_unsigned_char
123 begin
124 return To_LL_VUC (vaddubm (To_LL_VSC (A), To_LL_VSC (B)));
125 end vec_add;
127 function vec_add
128 (A : vector_unsigned_char;
129 B : vector_bool_char) return vector_unsigned_char
131 begin
132 return To_LL_VUC (vaddubm (To_LL_VSC (A), To_LL_VSC (B)));
133 end vec_add;
135 function vec_add
136 (A : vector_unsigned_char;
137 B : vector_unsigned_char) return vector_unsigned_char
139 begin
140 return To_LL_VUC (vaddubm (To_LL_VSC (A), To_LL_VSC (B)));
141 end vec_add;
143 function vec_add
144 (A : vector_bool_short;
145 B : vector_signed_short) return vector_signed_short
147 begin
148 return To_LL_VSS (vadduhm (To_LL_VSS (A), To_LL_VSS (B)));
149 end vec_add;
151 function vec_add
152 (A : vector_signed_short;
153 B : vector_bool_short) return vector_signed_short
155 begin
156 return To_LL_VSS (vadduhm (To_LL_VSS (A), To_LL_VSS (B)));
157 end vec_add;
159 function vec_add
160 (A : vector_signed_short;
161 B : vector_signed_short) return vector_signed_short
163 begin
164 return To_LL_VSS (vadduhm (To_LL_VSS (A), To_LL_VSS (B)));
165 end vec_add;
167 function vec_add
168 (A : vector_bool_short;
169 B : vector_unsigned_short) return vector_unsigned_short
171 begin
172 return To_LL_VUS (vadduhm (To_LL_VSS (A), To_LL_VSS (B)));
173 end vec_add;
175 function vec_add
176 (A : vector_unsigned_short;
177 B : vector_bool_short) return vector_unsigned_short
179 begin
180 return To_LL_VUS (vadduhm (To_LL_VSS (A), To_LL_VSS (B)));
181 end vec_add;
183 function vec_add
184 (A : vector_unsigned_short;
185 B : vector_unsigned_short) return vector_unsigned_short
187 begin
188 return To_LL_VUS (vadduhm (To_LL_VSS (A), To_LL_VSS (B)));
189 end vec_add;
191 function vec_add
192 (A : vector_bool_int;
193 B : vector_signed_int) return vector_signed_int
195 begin
196 return To_LL_VSI (vadduwm (To_LL_VSI (A), To_LL_VSI (B)));
197 end vec_add;
199 function vec_add
200 (A : vector_signed_int;
201 B : vector_bool_int) return vector_signed_int
203 begin
204 return To_LL_VSI (vadduwm (To_LL_VSI (A), To_LL_VSI (B)));
205 end vec_add;
207 function vec_add
208 (A : vector_signed_int;
209 B : vector_signed_int) return vector_signed_int
211 begin
212 return To_LL_VSI (vadduwm (To_LL_VSI (A), To_LL_VSI (B)));
213 end vec_add;
215 function vec_add
216 (A : vector_bool_int;
217 B : vector_unsigned_int) return vector_unsigned_int
219 begin
220 return To_LL_VUI (vadduwm (To_LL_VSI (A), To_LL_VSI (B)));
221 end vec_add;
223 function vec_add
224 (A : vector_unsigned_int;
225 B : vector_bool_int) return vector_unsigned_int
227 begin
228 return To_LL_VUI (vadduwm (To_LL_VSI (A), To_LL_VSI (B)));
229 end vec_add;
231 function vec_add
232 (A : vector_unsigned_int;
233 B : vector_unsigned_int) return vector_unsigned_int
235 begin
236 return To_LL_VUI (vadduwm (To_LL_VSI (A), To_LL_VSI (B)));
237 end vec_add;
239 function vec_add
240 (A : vector_float;
241 B : vector_float) return vector_float
243 begin
244 return To_LL_VF (vaddfp (To_LL_VF (A), To_LL_VF (B)));
245 end vec_add;
247 -- vec_vaddfp --
249 function vec_vaddfp
250 (A : vector_float;
251 B : vector_float) return vector_float
253 begin
254 return To_LL_VF (vaddfp (To_LL_VF (A), To_LL_VF (B)));
255 end vec_vaddfp;
257 -- vec_vadduwm --
259 function vec_vadduwm
260 (A : vector_bool_int;
261 B : vector_signed_int) return vector_signed_int
263 begin
264 return To_LL_VSI (vadduwm (To_LL_VSI (A), To_LL_VSI (B)));
265 end vec_vadduwm;
267 function vec_vadduwm
268 (A : vector_signed_int;
269 B : vector_bool_int) return vector_signed_int
271 begin
272 return To_LL_VSI (vadduwm (To_LL_VSI (A), To_LL_VSI (B)));
273 end vec_vadduwm;
275 function vec_vadduwm
276 (A : vector_signed_int;
277 B : vector_signed_int) return vector_signed_int
279 begin
280 return To_LL_VSI (vadduwm (To_LL_VSI (A), To_LL_VSI (B)));
281 end vec_vadduwm;
283 function vec_vadduwm
284 (A : vector_bool_int;
285 B : vector_unsigned_int) return vector_unsigned_int
287 begin
288 return To_LL_VUI (vadduwm (To_LL_VSI (A), To_LL_VSI (B)));
289 end vec_vadduwm;
291 function vec_vadduwm
292 (A : vector_unsigned_int;
293 B : vector_bool_int) return vector_unsigned_int
295 begin
296 return To_LL_VUI (vadduwm (To_LL_VSI (A), To_LL_VSI (B)));
297 end vec_vadduwm;
299 function vec_vadduwm
300 (A : vector_unsigned_int;
301 B : vector_unsigned_int) return vector_unsigned_int
303 begin
304 return To_LL_VUI (vadduwm (To_LL_VSI (A), To_LL_VSI (B)));
305 end vec_vadduwm;
307 -- vec_vadduhm --
309 function vec_vadduhm
310 (A : vector_bool_short;
311 B : vector_signed_short) return vector_signed_short
313 begin
314 return To_LL_VSS (vadduhm (To_LL_VSS (A), To_LL_VSS (B)));
315 end vec_vadduhm;
317 function vec_vadduhm
318 (A : vector_signed_short;
319 B : vector_bool_short) return vector_signed_short
321 begin
322 return To_LL_VSS (vadduhm (To_LL_VSS (A), To_LL_VSS (B)));
323 end vec_vadduhm;
325 function vec_vadduhm
326 (A : vector_signed_short;
327 B : vector_signed_short) return vector_signed_short
329 begin
330 return To_LL_VSS (vadduhm (To_LL_VSS (A), To_LL_VSS (B)));
331 end vec_vadduhm;
333 function vec_vadduhm
334 (A : vector_bool_short;
335 B : vector_unsigned_short) return vector_unsigned_short
337 begin
338 return To_LL_VUS (vadduhm (To_LL_VSS (A), To_LL_VSS (B)));
339 end vec_vadduhm;
341 function vec_vadduhm
342 (A : vector_unsigned_short;
343 B : vector_bool_short) return vector_unsigned_short
345 begin
346 return To_LL_VUS (vadduhm (To_LL_VSS (A), To_LL_VSS (B)));
347 end vec_vadduhm;
349 function vec_vadduhm
350 (A : vector_unsigned_short;
351 B : vector_unsigned_short) return vector_unsigned_short
353 begin
354 return To_LL_VUS (vadduhm (To_LL_VSS (A), To_LL_VSS (B)));
355 end vec_vadduhm;
357 -- vec_vaddubm --
359 function vec_vaddubm
360 (A : vector_bool_char;
361 B : vector_signed_char) return vector_signed_char
363 begin
364 return To_LL_VSC (vaddubm (To_LL_VSC (A), To_LL_VSC (B)));
365 end vec_vaddubm;
367 function vec_vaddubm
368 (A : vector_signed_char;
369 B : vector_bool_char) return vector_signed_char
371 begin
372 return To_LL_VSC (vaddubm (To_LL_VSC (A), To_LL_VSC (B)));
373 end vec_vaddubm;
375 function vec_vaddubm
376 (A : vector_signed_char;
377 B : vector_signed_char) return vector_signed_char
379 begin
380 return To_LL_VSC (vaddubm (To_LL_VSC (A), To_LL_VSC (B)));
381 end vec_vaddubm;
383 function vec_vaddubm
384 (A : vector_bool_char;
385 B : vector_unsigned_char) return vector_unsigned_char
387 begin
388 return To_LL_VUC (vaddubm (To_LL_VSC (A), To_LL_VSC (B)));
389 end vec_vaddubm;
391 function vec_vaddubm
392 (A : vector_unsigned_char;
393 B : vector_bool_char) return vector_unsigned_char
395 begin
396 return To_LL_VUC (vaddubm (To_LL_VSC (A), To_LL_VSC (B)));
397 end vec_vaddubm;
399 function vec_vaddubm
400 (A : vector_unsigned_char;
401 B : vector_unsigned_char) return vector_unsigned_char
403 begin
404 return To_LL_VUC (vaddubm (To_LL_VSC (A), To_LL_VSC (B)));
405 end vec_vaddubm;
407 -- vec_addc --
409 function vec_addc
410 (A : vector_unsigned_int;
411 B : vector_unsigned_int) return vector_unsigned_int
413 begin
414 return To_LL_VUI (vaddcuw (To_LL_VSI (A), To_LL_VSI (B)));
415 end vec_addc;
417 -- vec_adds --
419 function vec_adds
420 (A : vector_bool_char;
421 B : vector_unsigned_char) return vector_unsigned_char
423 begin
424 return To_LL_VUC (vaddubs (To_LL_VSC (A), To_LL_VSC (B)));
425 end vec_adds;
427 function vec_adds
428 (A : vector_unsigned_char;
429 B : vector_bool_char) return vector_unsigned_char
431 begin
432 return To_LL_VUC (vaddubs (To_LL_VSC (A), To_LL_VSC (B)));
433 end vec_adds;
435 function vec_adds
436 (A : vector_unsigned_char;
437 B : vector_unsigned_char) return vector_unsigned_char
439 begin
440 return To_LL_VUC (vaddubs (To_LL_VSC (A), To_LL_VSC (B)));
441 end vec_adds;
443 function vec_adds
444 (A : vector_bool_char;
445 B : vector_signed_char) return vector_signed_char
447 begin
448 return To_LL_VSC (vaddsbs (To_LL_VSC (A), To_LL_VSC (B)));
449 end vec_adds;
451 function vec_adds
452 (A : vector_signed_char;
453 B : vector_bool_char) return vector_signed_char
455 begin
456 return To_LL_VSC (vaddsbs (To_LL_VSC (A), To_LL_VSC (B)));
457 end vec_adds;
459 function vec_adds
460 (A : vector_signed_char;
461 B : vector_signed_char) return vector_signed_char
463 begin
464 return To_LL_VSC (vaddsbs (To_LL_VSC (A), To_LL_VSC (B)));
465 end vec_adds;
467 function vec_adds
468 (A : vector_bool_short;
469 B : vector_unsigned_short) return vector_unsigned_short
471 begin
472 return To_LL_VUS (vadduhs (To_LL_VSS (A), To_LL_VSS (B)));
473 end vec_adds;
475 function vec_adds
476 (A : vector_unsigned_short;
477 B : vector_bool_short) return vector_unsigned_short
479 begin
480 return To_LL_VUS (vadduhs (To_LL_VSS (A), To_LL_VSS (B)));
481 end vec_adds;
483 function vec_adds
484 (A : vector_unsigned_short;
485 B : vector_unsigned_short) return vector_unsigned_short
487 begin
488 return To_LL_VUS (vadduhs (To_LL_VSS (A), To_LL_VSS (B)));
489 end vec_adds;
491 function vec_adds
492 (A : vector_bool_short;
493 B : vector_signed_short) return vector_signed_short
495 begin
496 return To_LL_VSS (vaddshs (To_LL_VSS (A), To_LL_VSS (B)));
497 end vec_adds;
499 function vec_adds
500 (A : vector_signed_short;
501 B : vector_bool_short) return vector_signed_short
503 begin
504 return To_LL_VSS (vaddshs (To_LL_VSS (A), To_LL_VSS (B)));
505 end vec_adds;
507 function vec_adds
508 (A : vector_signed_short;
509 B : vector_signed_short) return vector_signed_short
511 begin
512 return To_LL_VSS (vaddshs (To_LL_VSS (A), To_LL_VSS (B)));
513 end vec_adds;
515 function vec_adds
516 (A : vector_bool_int;
517 B : vector_unsigned_int) return vector_unsigned_int
519 begin
520 return To_LL_VUI (vadduws (To_LL_VSI (A), To_LL_VSI (B)));
521 end vec_adds;
523 function vec_adds
524 (A : vector_unsigned_int;
525 B : vector_bool_int) return vector_unsigned_int
527 begin
528 return To_LL_VUI (vadduws (To_LL_VSI (A), To_LL_VSI (B)));
529 end vec_adds;
531 function vec_adds
532 (A : vector_unsigned_int;
533 B : vector_unsigned_int) return vector_unsigned_int
535 begin
536 return To_LL_VUI (vadduws (To_LL_VSI (A), To_LL_VSI (B)));
537 end vec_adds;
539 function vec_adds
540 (A : vector_bool_int;
541 B : vector_signed_int) return vector_signed_int
543 begin
544 return To_LL_VSI (vaddsws (To_LL_VSI (A), To_LL_VSI (B)));
545 end vec_adds;
547 function vec_adds
548 (A : vector_signed_int;
549 B : vector_bool_int) return vector_signed_int
551 begin
552 return To_LL_VSI (vaddsws (To_LL_VSI (A), To_LL_VSI (B)));
553 end vec_adds;
555 function vec_adds
556 (A : vector_signed_int;
557 B : vector_signed_int) return vector_signed_int
559 begin
560 return To_LL_VSI (vaddsws (To_LL_VSI (A), To_LL_VSI (B)));
561 end vec_adds;
563 -- vec_vaddsws --
565 function vec_vaddsws
566 (A : vector_bool_int;
567 B : vector_signed_int) return vector_signed_int
569 begin
570 return To_LL_VSI (vaddsws (To_LL_VSI (A), To_LL_VSI (B)));
571 end vec_vaddsws;
573 function vec_vaddsws
574 (A : vector_signed_int;
575 B : vector_bool_int) return vector_signed_int
577 begin
578 return To_LL_VSI (vaddsws (To_LL_VSI (A), To_LL_VSI (B)));
579 end vec_vaddsws;
581 function vec_vaddsws
582 (A : vector_signed_int;
583 B : vector_signed_int) return vector_signed_int
585 begin
586 return To_LL_VSI (vaddsws (To_LL_VSI (A), To_LL_VSI (B)));
587 end vec_vaddsws;
589 -- vec_vadduws --
591 function vec_vadduws
592 (A : vector_bool_int;
593 B : vector_unsigned_int) return vector_unsigned_int
595 begin
596 return To_LL_VUI (vadduws (To_LL_VSI (A), To_LL_VSI (B)));
597 end vec_vadduws;
599 function vec_vadduws
600 (A : vector_unsigned_int;
601 B : vector_bool_int) return vector_unsigned_int
603 begin
604 return To_LL_VUI (vadduws (To_LL_VSI (A), To_LL_VSI (B)));
605 end vec_vadduws;
607 function vec_vadduws
608 (A : vector_unsigned_int;
609 B : vector_unsigned_int) return vector_unsigned_int
611 begin
612 return To_LL_VUI (vadduws (To_LL_VSI (A), To_LL_VSI (B)));
613 end vec_vadduws;
615 -- vec_vaddshs --
617 function vec_vaddshs
618 (A : vector_bool_short;
619 B : vector_signed_short) return vector_signed_short
621 begin
622 return To_LL_VSS (vaddshs (To_LL_VSS (A), To_LL_VSS (B)));
623 end vec_vaddshs;
625 function vec_vaddshs
626 (A : vector_signed_short;
627 B : vector_bool_short) return vector_signed_short
629 begin
630 return To_LL_VSS (vaddshs (To_LL_VSS (A), To_LL_VSS (B)));
631 end vec_vaddshs;
633 function vec_vaddshs
634 (A : vector_signed_short;
635 B : vector_signed_short) return vector_signed_short
637 begin
638 return To_LL_VSS (vaddshs (To_LL_VSS (A), To_LL_VSS (B)));
639 end vec_vaddshs;
641 -- vec_vadduhs --
643 function vec_vadduhs
644 (A : vector_bool_short;
645 B : vector_unsigned_short) return vector_unsigned_short
647 begin
648 return To_LL_VUS (vadduhs (To_LL_VSS (A), To_LL_VSS (B)));
649 end vec_vadduhs;
651 function vec_vadduhs
652 (A : vector_unsigned_short;
653 B : vector_bool_short) return vector_unsigned_short
655 begin
656 return To_LL_VUS (vadduhs (To_LL_VSS (A), To_LL_VSS (B)));
657 end vec_vadduhs;
659 function vec_vadduhs
660 (A : vector_unsigned_short;
661 B : vector_unsigned_short) return vector_unsigned_short
663 begin
664 return To_LL_VUS (vadduhs (To_LL_VSS (A), To_LL_VSS (B)));
665 end vec_vadduhs;
667 -- vec_vaddsbs --
669 function vec_vaddsbs
670 (A : vector_bool_char;
671 B : vector_signed_char) return vector_signed_char
673 begin
674 return To_LL_VSC (vaddsbs (To_LL_VSC (A), To_LL_VSC (B)));
675 end vec_vaddsbs;
677 function vec_vaddsbs
678 (A : vector_signed_char;
679 B : vector_bool_char) return vector_signed_char
681 begin
682 return To_LL_VSC (vaddsbs (To_LL_VSC (A), To_LL_VSC (B)));
683 end vec_vaddsbs;
685 function vec_vaddsbs
686 (A : vector_signed_char;
687 B : vector_signed_char) return vector_signed_char
689 begin
690 return To_LL_VSC (vaddsbs (To_LL_VSC (A), To_LL_VSC (B)));
691 end vec_vaddsbs;
693 -- vec_vaddubs --
695 function vec_vaddubs
696 (A : vector_bool_char;
697 B : vector_unsigned_char) return vector_unsigned_char
699 begin
700 return To_LL_VUC (vaddubs (To_LL_VSC (A), To_LL_VSC (B)));
701 end vec_vaddubs;
703 function vec_vaddubs
704 (A : vector_unsigned_char;
705 B : vector_bool_char) return vector_unsigned_char
707 begin
708 return To_LL_VUC (vaddubs (To_LL_VSC (A), To_LL_VSC (B)));
709 end vec_vaddubs;
711 function vec_vaddubs
712 (A : vector_unsigned_char;
713 B : vector_unsigned_char) return vector_unsigned_char
715 begin
716 return To_LL_VUC (vaddubs (To_LL_VSC (A), To_LL_VSC (B)));
717 end vec_vaddubs;
719 -- vec_and --
721 function vec_and
722 (A : vector_float;
723 B : vector_float) return vector_float
725 begin
726 return To_LL_VF (vand (To_LL_VSI (A), To_LL_VSI (B)));
727 end vec_and;
729 function vec_and
730 (A : vector_float;
731 B : vector_bool_int) return vector_float
733 begin
734 return To_LL_VF (vand (To_LL_VSI (A), To_LL_VSI (B)));
735 end vec_and;
737 function vec_and
738 (A : vector_bool_int;
739 B : vector_float) return vector_float
741 begin
742 return To_LL_VF (vand (To_LL_VSI (A), To_LL_VSI (B)));
743 end vec_and;
745 function vec_and
746 (A : vector_bool_int;
747 B : vector_bool_int) return vector_bool_int
749 begin
750 return To_LL_VBI (vand (To_LL_VSI (A), To_LL_VSI (B)));
751 end vec_and;
753 function vec_and
754 (A : vector_bool_int;
755 B : vector_signed_int) return vector_signed_int
757 begin
758 return To_LL_VSI (vand (To_LL_VSI (A), To_LL_VSI (B)));
759 end vec_and;
761 function vec_and
762 (A : vector_signed_int;
763 B : vector_bool_int) return vector_signed_int
765 begin
766 return To_LL_VSI (vand (To_LL_VSI (A), To_LL_VSI (B)));
767 end vec_and;
769 function vec_and
770 (A : vector_signed_int;
771 B : vector_signed_int) return vector_signed_int
773 begin
774 return To_LL_VSI (vand (To_LL_VSI (A), To_LL_VSI (B)));
775 end vec_and;
777 function vec_and
778 (A : vector_bool_int;
779 B : vector_unsigned_int) return vector_unsigned_int
781 begin
782 return To_LL_VUI (vand (To_LL_VSI (A), To_LL_VSI (B)));
783 end vec_and;
785 function vec_and
786 (A : vector_unsigned_int;
787 B : vector_bool_int) return vector_unsigned_int
789 begin
790 return To_LL_VUI (vand (To_LL_VSI (A), To_LL_VSI (B)));
791 end vec_and;
793 function vec_and
794 (A : vector_unsigned_int;
795 B : vector_unsigned_int) return vector_unsigned_int
797 begin
798 return To_LL_VUI (vand (To_LL_VSI (A), To_LL_VSI (B)));
799 end vec_and;
801 function vec_and
802 (A : vector_bool_short;
803 B : vector_bool_short) return vector_bool_short
805 begin
806 return To_LL_VBS (vand (To_LL_VSI (A), To_LL_VSI (B)));
807 end vec_and;
809 function vec_and
810 (A : vector_bool_short;
811 B : vector_signed_short) return vector_signed_short
813 begin
814 return To_LL_VSS (vand (To_LL_VSI (A), To_LL_VSI (B)));
815 end vec_and;
817 function vec_and
818 (A : vector_signed_short;
819 B : vector_bool_short) return vector_signed_short
821 begin
822 return To_LL_VSS (vand (To_LL_VSI (A), To_LL_VSI (B)));
823 end vec_and;
825 function vec_and
826 (A : vector_signed_short;
827 B : vector_signed_short) return vector_signed_short
829 begin
830 return To_LL_VSS (vand (To_LL_VSI (A), To_LL_VSI (B)));
831 end vec_and;
833 function vec_and
834 (A : vector_bool_short;
835 B : vector_unsigned_short) return vector_unsigned_short
837 begin
838 return To_LL_VUS (vand (To_LL_VSI (A), To_LL_VSI (B)));
839 end vec_and;
841 function vec_and
842 (A : vector_unsigned_short;
843 B : vector_bool_short) return vector_unsigned_short
845 begin
846 return To_LL_VUS (vand (To_LL_VSI (A), To_LL_VSI (B)));
847 end vec_and;
849 function vec_and
850 (A : vector_unsigned_short;
851 B : vector_unsigned_short) return vector_unsigned_short
853 begin
854 return To_LL_VUS (vand (To_LL_VSI (A), To_LL_VSI (B)));
855 end vec_and;
857 function vec_and
858 (A : vector_bool_char;
859 B : vector_signed_char) return vector_signed_char
861 begin
862 return To_LL_VSC (vand (To_LL_VSI (A), To_LL_VSI (B)));
863 end vec_and;
865 function vec_and
866 (A : vector_bool_char;
867 B : vector_bool_char) return vector_bool_char
869 begin
870 return To_LL_VBC (vand (To_LL_VSI (A), To_LL_VSI (B)));
871 end vec_and;
873 function vec_and
874 (A : vector_signed_char;
875 B : vector_bool_char) return vector_signed_char
877 begin
878 return To_LL_VSC (vand (To_LL_VSI (A), To_LL_VSI (B)));
879 end vec_and;
881 function vec_and
882 (A : vector_signed_char;
883 B : vector_signed_char) return vector_signed_char
885 begin
886 return To_LL_VSC (vand (To_LL_VSI (A), To_LL_VSI (B)));
887 end vec_and;
889 function vec_and
890 (A : vector_bool_char;
891 B : vector_unsigned_char) return vector_unsigned_char
893 begin
894 return To_LL_VUC (vand (To_LL_VSI (A), To_LL_VSI (B)));
895 end vec_and;
897 function vec_and
898 (A : vector_unsigned_char;
899 B : vector_bool_char) return vector_unsigned_char
901 begin
902 return To_LL_VUC (vand (To_LL_VSI (A), To_LL_VSI (B)));
903 end vec_and;
905 function vec_and
906 (A : vector_unsigned_char;
907 B : vector_unsigned_char) return vector_unsigned_char
909 begin
910 return To_LL_VUC (vand (To_LL_VSI (A), To_LL_VSI (B)));
911 end vec_and;
913 -- vec_andc --
915 function vec_andc
916 (A : vector_float;
917 B : vector_float) return vector_float
919 begin
920 return To_LL_VF (vandc (To_LL_VSI (A), To_LL_VSI (B)));
921 end vec_andc;
923 function vec_andc
924 (A : vector_float;
925 B : vector_bool_int) return vector_float
927 begin
928 return To_LL_VF (vandc (To_LL_VSI (A), To_LL_VSI (B)));
929 end vec_andc;
931 function vec_andc
932 (A : vector_bool_int;
933 B : vector_float) return vector_float
935 begin
936 return To_LL_VF (vandc (To_LL_VSI (A), To_LL_VSI (B)));
937 end vec_andc;
939 function vec_andc
940 (A : vector_bool_int;
941 B : vector_bool_int) return vector_bool_int
943 begin
944 return To_LL_VBI (vandc (To_LL_VSI (A), To_LL_VSI (B)));
945 end vec_andc;
947 function vec_andc
948 (A : vector_bool_int;
949 B : vector_signed_int) return vector_signed_int
951 begin
952 return To_LL_VSI (vandc (To_LL_VSI (A), To_LL_VSI (B)));
953 end vec_andc;
955 function vec_andc
956 (A : vector_signed_int;
957 B : vector_bool_int) return vector_signed_int
959 begin
960 return To_LL_VSI (vandc (To_LL_VSI (A), To_LL_VSI (B)));
961 end vec_andc;
963 function vec_andc
964 (A : vector_signed_int;
965 B : vector_signed_int) return vector_signed_int
967 begin
968 return To_LL_VSI (vandc (To_LL_VSI (A), To_LL_VSI (B)));
969 end vec_andc;
971 function vec_andc
972 (A : vector_bool_int;
973 B : vector_unsigned_int) return vector_unsigned_int
975 begin
976 return To_LL_VUI (vandc (To_LL_VSI (A), To_LL_VSI (B)));
977 end vec_andc;
979 function vec_andc
980 (A : vector_unsigned_int;
981 B : vector_bool_int) return vector_unsigned_int
983 begin
984 return To_LL_VUI (vandc (To_LL_VSI (A), To_LL_VSI (B)));
985 end vec_andc;
987 function vec_andc
988 (A : vector_unsigned_int;
989 B : vector_unsigned_int) return vector_unsigned_int
991 begin
992 return To_LL_VUI (vandc (To_LL_VSI (A), To_LL_VSI (B)));
993 end vec_andc;
995 function vec_andc
996 (A : vector_bool_short;
997 B : vector_bool_short) return vector_bool_short
999 begin
1000 return To_LL_VBS (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1001 end vec_andc;
1003 function vec_andc
1004 (A : vector_bool_short;
1005 B : vector_signed_short) return vector_signed_short
1007 begin
1008 return To_LL_VSS (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1009 end vec_andc;
1011 function vec_andc
1012 (A : vector_signed_short;
1013 B : vector_bool_short) return vector_signed_short
1015 begin
1016 return To_LL_VSS (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1017 end vec_andc;
1019 function vec_andc
1020 (A : vector_signed_short;
1021 B : vector_signed_short) return vector_signed_short
1023 begin
1024 return To_LL_VSS (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1025 end vec_andc;
1027 function vec_andc
1028 (A : vector_bool_short;
1029 B : vector_unsigned_short) return vector_unsigned_short
1031 begin
1032 return To_LL_VUS (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1033 end vec_andc;
1035 function vec_andc
1036 (A : vector_unsigned_short;
1037 B : vector_bool_short) return vector_unsigned_short
1039 begin
1040 return To_LL_VUS (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1041 end vec_andc;
1043 function vec_andc
1044 (A : vector_unsigned_short;
1045 B : vector_unsigned_short) return vector_unsigned_short
1047 begin
1048 return To_LL_VUS (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1049 end vec_andc;
1051 function vec_andc
1052 (A : vector_bool_char;
1053 B : vector_signed_char) return vector_signed_char
1055 begin
1056 return To_LL_VSC (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1057 end vec_andc;
1059 function vec_andc
1060 (A : vector_bool_char;
1061 B : vector_bool_char) return vector_bool_char
1063 begin
1064 return To_LL_VBC (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1065 end vec_andc;
1067 function vec_andc
1068 (A : vector_signed_char;
1069 B : vector_bool_char) return vector_signed_char
1071 begin
1072 return To_LL_VSC (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1073 end vec_andc;
1075 function vec_andc
1076 (A : vector_signed_char;
1077 B : vector_signed_char) return vector_signed_char
1079 begin
1080 return To_LL_VSC (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1081 end vec_andc;
1083 function vec_andc
1084 (A : vector_bool_char;
1085 B : vector_unsigned_char) return vector_unsigned_char
1087 begin
1088 return To_LL_VUC (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1089 end vec_andc;
1091 function vec_andc
1092 (A : vector_unsigned_char;
1093 B : vector_bool_char) return vector_unsigned_char
1095 begin
1096 return To_LL_VUC (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1097 end vec_andc;
1099 function vec_andc
1100 (A : vector_unsigned_char;
1101 B : vector_unsigned_char) return vector_unsigned_char
1103 begin
1104 return To_LL_VUC (vandc (To_LL_VSI (A), To_LL_VSI (B)));
1105 end vec_andc;
1107 -- vec_avg --
1109 function vec_avg
1110 (A : vector_unsigned_char;
1111 B : vector_unsigned_char) return vector_unsigned_char
1113 begin
1114 return To_LL_VUC (vavgub (To_LL_VSC (A), To_LL_VSC (B)));
1115 end vec_avg;
1117 function vec_avg
1118 (A : vector_signed_char;
1119 B : vector_signed_char) return vector_signed_char
1121 begin
1122 return To_LL_VSC (vavgsb (To_LL_VSC (A), To_LL_VSC (B)));
1123 end vec_avg;
1125 function vec_avg
1126 (A : vector_unsigned_short;
1127 B : vector_unsigned_short) return vector_unsigned_short
1129 begin
1130 return To_LL_VUS (vavguh (To_LL_VSS (A), To_LL_VSS (B)));
1131 end vec_avg;
1133 function vec_avg
1134 (A : vector_signed_short;
1135 B : vector_signed_short) return vector_signed_short
1137 begin
1138 return To_LL_VSS (vavgsh (To_LL_VSS (A), To_LL_VSS (B)));
1139 end vec_avg;
1141 function vec_avg
1142 (A : vector_unsigned_int;
1143 B : vector_unsigned_int) return vector_unsigned_int
1145 begin
1146 return To_LL_VUI (vavguw (To_LL_VSI (A), To_LL_VSI (B)));
1147 end vec_avg;
1149 function vec_avg
1150 (A : vector_signed_int;
1151 B : vector_signed_int) return vector_signed_int
1153 begin
1154 return To_LL_VSI (vavgsw (To_LL_VSI (A), To_LL_VSI (B)));
1155 end vec_avg;
1157 -- vec_vavgsw --
1159 function vec_vavgsw
1160 (A : vector_signed_int;
1161 B : vector_signed_int) return vector_signed_int
1163 begin
1164 return To_LL_VSI (vavgsw (To_LL_VSI (A), To_LL_VSI (B)));
1165 end vec_vavgsw;
1167 -- vec_vavguw --
1169 function vec_vavguw
1170 (A : vector_unsigned_int;
1171 B : vector_unsigned_int) return vector_unsigned_int
1173 begin
1174 return To_LL_VUI (vavguw (To_LL_VSI (A), To_LL_VSI (B)));
1175 end vec_vavguw;
1177 -- vec_vavgsh --
1179 function vec_vavgsh
1180 (A : vector_signed_short;
1181 B : vector_signed_short) return vector_signed_short
1183 begin
1184 return To_LL_VSS (vavgsh (To_LL_VSS (A), To_LL_VSS (B)));
1185 end vec_vavgsh;
1187 -- vec_vavguh --
1189 function vec_vavguh
1190 (A : vector_unsigned_short;
1191 B : vector_unsigned_short) return vector_unsigned_short
1193 begin
1194 return To_LL_VUS (vavguh (To_LL_VSS (A), To_LL_VSS (B)));
1195 end vec_vavguh;
1197 -- vec_vavgsb --
1199 function vec_vavgsb
1200 (A : vector_signed_char;
1201 B : vector_signed_char) return vector_signed_char
1203 begin
1204 return To_LL_VSC (vavgsb (To_LL_VSC (A), To_LL_VSC (B)));
1205 end vec_vavgsb;
1207 -- vec_vavgub --
1209 function vec_vavgub
1210 (A : vector_unsigned_char;
1211 B : vector_unsigned_char) return vector_unsigned_char
1213 begin
1214 return To_LL_VUC (vavgub (To_LL_VSC (A), To_LL_VSC (B)));
1215 end vec_vavgub;
1217 -- vec_ceil --
1219 function vec_ceil
1220 (A : vector_float) return vector_float
1222 begin
1223 return To_LL_VF (vrfip (To_LL_VF (A)));
1224 end vec_ceil;
1226 -- vec_cmpb --
1228 function vec_cmpb
1229 (A : vector_float;
1230 B : vector_float) return vector_signed_int
1232 begin
1233 return To_LL_VSI (vcmpbfp (To_LL_VF (A), To_LL_VF (B)));
1234 end vec_cmpb;
1236 -- vec_cmpeq --
1238 function vec_cmpeq
1239 (A : vector_signed_char;
1240 B : vector_signed_char) return vector_bool_char
1242 begin
1243 return To_LL_VBC (vcmpequb (To_LL_VSC (A), To_LL_VSC (B)));
1244 end vec_cmpeq;
1246 function vec_cmpeq
1247 (A : vector_unsigned_char;
1248 B : vector_unsigned_char) return vector_bool_char
1250 begin
1251 return To_LL_VBC (vcmpequb (To_LL_VSC (A), To_LL_VSC (B)));
1252 end vec_cmpeq;
1254 function vec_cmpeq
1255 (A : vector_signed_short;
1256 B : vector_signed_short) return vector_bool_short
1258 begin
1259 return To_LL_VBS (vcmpequh (To_LL_VSS (A), To_LL_VSS (B)));
1260 end vec_cmpeq;
1262 function vec_cmpeq
1263 (A : vector_unsigned_short;
1264 B : vector_unsigned_short) return vector_bool_short
1266 begin
1267 return To_LL_VBS (vcmpequh (To_LL_VSS (A), To_LL_VSS (B)));
1268 end vec_cmpeq;
1270 function vec_cmpeq
1271 (A : vector_signed_int;
1272 B : vector_signed_int) return vector_bool_int
1274 begin
1275 return To_LL_VBI (vcmpequw (To_LL_VSI (A), To_LL_VSI (B)));
1276 end vec_cmpeq;
1278 function vec_cmpeq
1279 (A : vector_unsigned_int;
1280 B : vector_unsigned_int) return vector_bool_int
1282 begin
1283 return To_LL_VBI (vcmpequw (To_LL_VSI (A), To_LL_VSI (B)));
1284 end vec_cmpeq;
1286 function vec_cmpeq
1287 (A : vector_float;
1288 B : vector_float) return vector_bool_int
1290 begin
1291 return To_LL_VBI (vcmpeqfp (To_LL_VF (A), To_LL_VF (B)));
1292 end vec_cmpeq;
1294 -- vec_vcmpeqfp --
1296 function vec_vcmpeqfp
1297 (A : vector_float;
1298 B : vector_float) return vector_bool_int
1300 begin
1301 return To_LL_VBI (vcmpeqfp (To_LL_VF (A), To_LL_VF (B)));
1302 end vec_vcmpeqfp;
1304 -- vec_vcmpequw --
1306 function vec_vcmpequw
1307 (A : vector_signed_int;
1308 B : vector_signed_int) return vector_bool_int
1310 begin
1311 return To_LL_VBI (vcmpequw (To_LL_VSI (A), To_LL_VSI (B)));
1312 end vec_vcmpequw;
1314 function vec_vcmpequw
1315 (A : vector_unsigned_int;
1316 B : vector_unsigned_int) return vector_bool_int
1318 begin
1319 return To_LL_VBI (vcmpequw (To_LL_VSI (A), To_LL_VSI (B)));
1320 end vec_vcmpequw;
1322 -- vec_vcmpequh --
1324 function vec_vcmpequh
1325 (A : vector_signed_short;
1326 B : vector_signed_short) return vector_bool_short
1328 begin
1329 return To_LL_VBS (vcmpequh (To_LL_VSS (A), To_LL_VSS (B)));
1330 end vec_vcmpequh;
1332 function vec_vcmpequh
1333 (A : vector_unsigned_short;
1334 B : vector_unsigned_short) return vector_bool_short
1336 begin
1337 return To_LL_VBS (vcmpequh (To_LL_VSS (A), To_LL_VSS (B)));
1338 end vec_vcmpequh;
1340 -- vec_vcmpequb --
1342 function vec_vcmpequb
1343 (A : vector_signed_char;
1344 B : vector_signed_char) return vector_bool_char
1346 begin
1347 return To_LL_VBC (vcmpequb (To_LL_VSC (A), To_LL_VSC (B)));
1348 end vec_vcmpequb;
1350 function vec_vcmpequb
1351 (A : vector_unsigned_char;
1352 B : vector_unsigned_char) return vector_bool_char
1354 begin
1355 return To_LL_VBC (vcmpequb (To_LL_VSC (A), To_LL_VSC (B)));
1356 end vec_vcmpequb;
1358 -- vec_cmpge --
1360 function vec_cmpge
1361 (A : vector_float;
1362 B : vector_float) return vector_bool_int
1364 begin
1365 return To_LL_VBI (vcmpgefp (To_LL_VF (A), To_LL_VF (B)));
1366 end vec_cmpge;
1368 -- vec_cmpgt --
1370 function vec_cmpgt
1371 (A : vector_unsigned_char;
1372 B : vector_unsigned_char) return vector_bool_char
1374 begin
1375 return To_LL_VBC (vcmpgtub (To_LL_VSC (A), To_LL_VSC (B)));
1376 end vec_cmpgt;
1378 function vec_cmpgt
1379 (A : vector_signed_char;
1380 B : vector_signed_char) return vector_bool_char
1382 begin
1383 return To_LL_VBC (vcmpgtsb (To_LL_VSC (A), To_LL_VSC (B)));
1384 end vec_cmpgt;
1386 function vec_cmpgt
1387 (A : vector_unsigned_short;
1388 B : vector_unsigned_short) return vector_bool_short
1390 begin
1391 return To_LL_VBS (vcmpgtuh (To_LL_VSS (A), To_LL_VSS (B)));
1392 end vec_cmpgt;
1394 function vec_cmpgt
1395 (A : vector_signed_short;
1396 B : vector_signed_short) return vector_bool_short
1398 begin
1399 return To_LL_VBS (vcmpgtsh (To_LL_VSS (A), To_LL_VSS (B)));
1400 end vec_cmpgt;
1402 function vec_cmpgt
1403 (A : vector_unsigned_int;
1404 B : vector_unsigned_int) return vector_bool_int
1406 begin
1407 return To_LL_VBI (vcmpgtuw (To_LL_VSI (A), To_LL_VSI (B)));
1408 end vec_cmpgt;
1410 function vec_cmpgt
1411 (A : vector_signed_int;
1412 B : vector_signed_int) return vector_bool_int
1414 begin
1415 return To_LL_VBI (vcmpgtsw (To_LL_VSI (A), To_LL_VSI (B)));
1416 end vec_cmpgt;
1418 function vec_cmpgt
1419 (A : vector_float;
1420 B : vector_float) return vector_bool_int
1422 begin
1423 return To_LL_VBI (vcmpgtfp (To_LL_VF (A), To_LL_VF (B)));
1424 end vec_cmpgt;
1426 -- vec_vcmpgtfp --
1428 function vec_vcmpgtfp
1429 (A : vector_float;
1430 B : vector_float) return vector_bool_int
1432 begin
1433 return To_LL_VBI (vcmpgtfp (To_LL_VF (A), To_LL_VF (B)));
1434 end vec_vcmpgtfp;
1436 -- vec_vcmpgtsw --
1438 function vec_vcmpgtsw
1439 (A : vector_signed_int;
1440 B : vector_signed_int) return vector_bool_int
1442 begin
1443 return To_LL_VBI (vcmpgtsw (To_LL_VSI (A), To_LL_VSI (B)));
1444 end vec_vcmpgtsw;
1446 -- vec_vcmpgtuw --
1448 function vec_vcmpgtuw
1449 (A : vector_unsigned_int;
1450 B : vector_unsigned_int) return vector_bool_int
1452 begin
1453 return To_LL_VBI (vcmpgtuw (To_LL_VSI (A), To_LL_VSI (B)));
1454 end vec_vcmpgtuw;
1456 -- vec_vcmpgtsh --
1458 function vec_vcmpgtsh
1459 (A : vector_signed_short;
1460 B : vector_signed_short) return vector_bool_short
1462 begin
1463 return To_LL_VBS (vcmpgtsh (To_LL_VSS (A), To_LL_VSS (B)));
1464 end vec_vcmpgtsh;
1466 -- vec_vcmpgtuh --
1468 function vec_vcmpgtuh
1469 (A : vector_unsigned_short;
1470 B : vector_unsigned_short) return vector_bool_short
1472 begin
1473 return To_LL_VBS (vcmpgtuh (To_LL_VSS (A), To_LL_VSS (B)));
1474 end vec_vcmpgtuh;
1476 -- vec_vcmpgtsb --
1478 function vec_vcmpgtsb
1479 (A : vector_signed_char;
1480 B : vector_signed_char) return vector_bool_char
1482 begin
1483 return To_LL_VBC (vcmpgtsb (To_LL_VSC (A), To_LL_VSC (B)));
1484 end vec_vcmpgtsb;
1486 -- vec_vcmpgtub --
1488 function vec_vcmpgtub
1489 (A : vector_unsigned_char;
1490 B : vector_unsigned_char) return vector_bool_char
1492 begin
1493 return To_LL_VBC (vcmpgtub (To_LL_VSC (A), To_LL_VSC (B)));
1494 end vec_vcmpgtub;
1496 -- vec_cmple --
1498 function vec_cmple
1499 (A : vector_float;
1500 B : vector_float) return vector_bool_int
1502 begin
1503 return To_LL_VBI (vcmpgefp (To_LL_VF (B), To_LL_VF (A)));
1504 end vec_cmple;
1506 -- vec_cmplt --
1508 function vec_cmplt
1509 (A : vector_unsigned_char;
1510 B : vector_unsigned_char) return vector_bool_char
1512 begin
1513 return To_LL_VBC (vcmpgtub (To_LL_VSC (B), To_LL_VSC (A)));
1514 end vec_cmplt;
1516 function vec_cmplt
1517 (A : vector_signed_char;
1518 B : vector_signed_char) return vector_bool_char
1520 begin
1521 return To_LL_VBC (vcmpgtsb (To_LL_VSC (B), To_LL_VSC (A)));
1522 end vec_cmplt;
1524 function vec_cmplt
1525 (A : vector_unsigned_short;
1526 B : vector_unsigned_short) return vector_bool_short
1528 begin
1529 return To_LL_VBS (vcmpgtuh (To_LL_VSS (B), To_LL_VSS (A)));
1530 end vec_cmplt;
1532 function vec_cmplt
1533 (A : vector_signed_short;
1534 B : vector_signed_short) return vector_bool_short
1536 begin
1537 return To_LL_VBS (vcmpgtsh (To_LL_VSS (B), To_LL_VSS (A)));
1538 end vec_cmplt;
1540 function vec_cmplt
1541 (A : vector_unsigned_int;
1542 B : vector_unsigned_int) return vector_bool_int
1544 begin
1545 return To_LL_VBI (vcmpgtuw (To_LL_VSI (B), To_LL_VSI (A)));
1546 end vec_cmplt;
1548 function vec_cmplt
1549 (A : vector_signed_int;
1550 B : vector_signed_int) return vector_bool_int
1552 begin
1553 return To_LL_VBI (vcmpgtsw (To_LL_VSI (B), To_LL_VSI (A)));
1554 end vec_cmplt;
1556 function vec_cmplt
1557 (A : vector_float;
1558 B : vector_float) return vector_bool_int
1560 begin
1561 return To_LL_VBI (vcmpgtfp (To_LL_VF (B), To_LL_VF (A)));
1562 end vec_cmplt;
1564 -- vec_expte --
1566 function vec_expte
1567 (A : vector_float) return vector_float
1569 begin
1570 return To_LL_VF (vexptefp (To_LL_VF (A)));
1571 end vec_expte;
1573 -- vec_floor --
1575 function vec_floor
1576 (A : vector_float) return vector_float
1578 begin
1579 return To_LL_VF (vrfim (To_LL_VF (A)));
1580 end vec_floor;
1582 -- vec_ld --
1584 function vec_ld
1585 (A : c_long;
1586 B : const_vector_float_ptr) return vector_float
1588 begin
1589 return To_LL_VF (lvx (A, To_PTR (B)));
1590 end vec_ld;
1592 function vec_ld
1593 (A : c_long;
1594 B : const_float_ptr) return vector_float
1596 begin
1597 return To_LL_VF (lvx (A, To_PTR (B)));
1598 end vec_ld;
1600 function vec_ld
1601 (A : c_long;
1602 B : const_vector_bool_int_ptr) return vector_bool_int
1604 begin
1605 return To_LL_VBI (lvx (A, To_PTR (B)));
1606 end vec_ld;
1608 function vec_ld
1609 (A : c_long;
1610 B : const_vector_signed_int_ptr) return vector_signed_int
1612 begin
1613 return To_LL_VSI (lvx (A, To_PTR (B)));
1614 end vec_ld;
1616 function vec_ld
1617 (A : c_long;
1618 B : const_int_ptr) return vector_signed_int
1620 begin
1621 return To_LL_VSI (lvx (A, To_PTR (B)));
1622 end vec_ld;
1624 function vec_ld
1625 (A : c_long;
1626 B : const_long_ptr) return vector_signed_int
1628 begin
1629 return To_LL_VSI (lvx (A, To_PTR (B)));
1630 end vec_ld;
1632 function vec_ld
1633 (A : c_long;
1634 B : const_vector_unsigned_int_ptr) return vector_unsigned_int
1636 begin
1637 return To_LL_VUI (lvx (A, To_PTR (B)));
1638 end vec_ld;
1640 function vec_ld
1641 (A : c_long;
1642 B : const_unsigned_int_ptr) return vector_unsigned_int
1644 begin
1645 return To_LL_VUI (lvx (A, To_PTR (B)));
1646 end vec_ld;
1648 function vec_ld
1649 (A : c_long;
1650 B : const_unsigned_long_ptr) return vector_unsigned_int
1652 begin
1653 return To_LL_VUI (lvx (A, To_PTR (B)));
1654 end vec_ld;
1656 function vec_ld
1657 (A : c_long;
1658 B : const_vector_bool_short_ptr) return vector_bool_short
1660 begin
1661 return To_LL_VBS (lvx (A, To_PTR (B)));
1662 end vec_ld;
1664 function vec_ld
1665 (A : c_long;
1666 B : const_vector_pixel_ptr) return vector_pixel
1668 begin
1669 return To_LL_VP (lvx (A, To_PTR (B)));
1670 end vec_ld;
1672 function vec_ld
1673 (A : c_long;
1674 B : const_vector_signed_short_ptr) return vector_signed_short
1676 begin
1677 return To_LL_VSS (lvx (A, To_PTR (B)));
1678 end vec_ld;
1680 function vec_ld
1681 (A : c_long;
1682 B : const_short_ptr) return vector_signed_short
1684 begin
1685 return To_LL_VSS (lvx (A, To_PTR (B)));
1686 end vec_ld;
1688 function vec_ld
1689 (A : c_long;
1690 B : const_vector_unsigned_short_ptr) return vector_unsigned_short
1692 begin
1693 return To_LL_VUS (lvx (A, To_PTR (B)));
1694 end vec_ld;
1696 function vec_ld
1697 (A : c_long;
1698 B : const_unsigned_short_ptr) return vector_unsigned_short
1700 begin
1701 return To_LL_VUS (lvx (A, To_PTR (B)));
1702 end vec_ld;
1704 function vec_ld
1705 (A : c_long;
1706 B : const_vector_bool_char_ptr) return vector_bool_char
1708 begin
1709 return To_LL_VBC (lvx (A, To_PTR (B)));
1710 end vec_ld;
1712 function vec_ld
1713 (A : c_long;
1714 B : const_vector_signed_char_ptr) return vector_signed_char
1716 begin
1717 return To_LL_VSC (lvx (A, To_PTR (B)));
1718 end vec_ld;
1720 function vec_ld
1721 (A : c_long;
1722 B : const_signed_char_ptr) return vector_signed_char
1724 begin
1725 return To_LL_VSC (lvx (A, To_PTR (B)));
1726 end vec_ld;
1728 function vec_ld
1729 (A : c_long;
1730 B : const_vector_unsigned_char_ptr) return vector_unsigned_char
1732 begin
1733 return To_LL_VUC (lvx (A, To_PTR (B)));
1734 end vec_ld;
1736 function vec_ld
1737 (A : c_long;
1738 B : const_unsigned_char_ptr) return vector_unsigned_char
1740 begin
1741 return To_LL_VUC (lvx (A, To_PTR (B)));
1742 end vec_ld;
1744 -- vec_lde --
1746 function vec_lde
1747 (A : c_long;
1748 B : const_signed_char_ptr) return vector_signed_char
1750 begin
1751 return To_LL_VSC (lvebx (A, To_PTR (B)));
1752 end vec_lde;
1754 function vec_lde
1755 (A : c_long;
1756 B : const_unsigned_char_ptr) return vector_unsigned_char
1758 begin
1759 return To_LL_VUC (lvebx (A, To_PTR (B)));
1760 end vec_lde;
1762 function vec_lde
1763 (A : c_long;
1764 B : const_short_ptr) return vector_signed_short
1766 begin
1767 return To_LL_VSS (lvehx (A, To_PTR (B)));
1768 end vec_lde;
1770 function vec_lde
1771 (A : c_long;
1772 B : const_unsigned_short_ptr) return vector_unsigned_short
1774 begin
1775 return To_LL_VUS (lvehx (A, To_PTR (B)));
1776 end vec_lde;
1778 function vec_lde
1779 (A : c_long;
1780 B : const_float_ptr) return vector_float
1782 begin
1783 return To_LL_VF (lvewx (A, To_PTR (B)));
1784 end vec_lde;
1786 function vec_lde
1787 (A : c_long;
1788 B : const_int_ptr) return vector_signed_int
1790 begin
1791 return To_LL_VSI (lvewx (A, To_PTR (B)));
1792 end vec_lde;
1794 function vec_lde
1795 (A : c_long;
1796 B : const_unsigned_int_ptr) return vector_unsigned_int
1798 begin
1799 return To_LL_VUI (lvewx (A, To_PTR (B)));
1800 end vec_lde;
1802 function vec_lde
1803 (A : c_long;
1804 B : const_long_ptr) return vector_signed_int
1806 begin
1807 return To_LL_VSI (lvewx (A, To_PTR (B)));
1808 end vec_lde;
1810 function vec_lde
1811 (A : c_long;
1812 B : const_unsigned_long_ptr) return vector_unsigned_int
1814 begin
1815 return To_LL_VUI (lvewx (A, To_PTR (B)));
1816 end vec_lde;
1818 -- vec_lvewx --
1820 function vec_lvewx
1821 (A : c_long;
1822 B : float_ptr) return vector_float
1824 begin
1825 return To_LL_VF (lvewx (A, To_PTR (B)));
1826 end vec_lvewx;
1828 function vec_lvewx
1829 (A : c_long;
1830 B : int_ptr) return vector_signed_int
1832 begin
1833 return To_LL_VSI (lvewx (A, To_PTR (B)));
1834 end vec_lvewx;
1836 function vec_lvewx
1837 (A : c_long;
1838 B : unsigned_int_ptr) return vector_unsigned_int
1840 begin
1841 return To_LL_VUI (lvewx (A, To_PTR (B)));
1842 end vec_lvewx;
1844 function vec_lvewx
1845 (A : c_long;
1846 B : long_ptr) return vector_signed_int
1848 begin
1849 return To_LL_VSI (lvewx (A, To_PTR (B)));
1850 end vec_lvewx;
1852 function vec_lvewx
1853 (A : c_long;
1854 B : unsigned_long_ptr) return vector_unsigned_int
1856 begin
1857 return To_LL_VUI (lvewx (A, To_PTR (B)));
1858 end vec_lvewx;
1860 -- vec_lvehx --
1862 function vec_lvehx
1863 (A : c_long;
1864 B : short_ptr) return vector_signed_short
1866 begin
1867 return To_LL_VSS (lvehx (A, To_PTR (B)));
1868 end vec_lvehx;
1870 function vec_lvehx
1871 (A : c_long;
1872 B : unsigned_short_ptr) return vector_unsigned_short
1874 begin
1875 return To_LL_VUS (lvehx (A, To_PTR (B)));
1876 end vec_lvehx;
1878 -- vec_lvebx --
1880 function vec_lvebx
1881 (A : c_long;
1882 B : signed_char_ptr) return vector_signed_char
1884 begin
1885 return To_LL_VSC (lvebx (A, To_PTR (B)));
1886 end vec_lvebx;
1888 function vec_lvebx
1889 (A : c_long;
1890 B : unsigned_char_ptr) return vector_unsigned_char
1892 begin
1893 return To_LL_VUC (lvebx (A, To_PTR (B)));
1894 end vec_lvebx;
1896 -- vec_ldl --
1898 function vec_ldl
1899 (A : c_long;
1900 B : const_vector_float_ptr) return vector_float
1902 begin
1903 return To_LL_VF (lvxl (A, To_PTR (B)));
1904 end vec_ldl;
1906 function vec_ldl
1907 (A : c_long;
1908 B : const_float_ptr) return vector_float
1910 begin
1911 return To_LL_VF (lvxl (A, To_PTR (B)));
1912 end vec_ldl;
1914 function vec_ldl
1915 (A : c_long;
1916 B : const_vector_bool_int_ptr) return vector_bool_int
1918 begin
1919 return To_LL_VBI (lvxl (A, To_PTR (B)));
1920 end vec_ldl;
1922 function vec_ldl
1923 (A : c_long;
1924 B : const_vector_signed_int_ptr) return vector_signed_int
1926 begin
1927 return To_LL_VSI (lvxl (A, To_PTR (B)));
1928 end vec_ldl;
1930 function vec_ldl
1931 (A : c_long;
1932 B : const_int_ptr) return vector_signed_int
1934 begin
1935 return To_LL_VSI (lvxl (A, To_PTR (B)));
1936 end vec_ldl;
1938 function vec_ldl
1939 (A : c_long;
1940 B : const_long_ptr) return vector_signed_int
1942 begin
1943 return To_LL_VSI (lvxl (A, To_PTR (B)));
1944 end vec_ldl;
1946 function vec_ldl
1947 (A : c_long;
1948 B : const_vector_unsigned_int_ptr) return vector_unsigned_int
1950 begin
1951 return To_LL_VUI (lvxl (A, To_PTR (B)));
1952 end vec_ldl;
1954 function vec_ldl
1955 (A : c_long;
1956 B : const_unsigned_int_ptr) return vector_unsigned_int
1958 begin
1959 return To_LL_VUI (lvxl (A, To_PTR (B)));
1960 end vec_ldl;
1962 function vec_ldl
1963 (A : c_long;
1964 B : const_unsigned_long_ptr) return vector_unsigned_int
1966 begin
1967 return To_LL_VUI (lvxl (A, To_PTR (B)));
1968 end vec_ldl;
1970 function vec_ldl
1971 (A : c_long;
1972 B : const_vector_bool_short_ptr) return vector_bool_short
1974 begin
1975 return To_LL_VBS (lvxl (A, To_PTR (B)));
1976 end vec_ldl;
1978 function vec_ldl
1979 (A : c_long;
1980 B : const_vector_pixel_ptr) return vector_pixel
1982 begin
1983 return To_LL_VP (lvxl (A, To_PTR (B)));
1984 end vec_ldl;
1986 function vec_ldl
1987 (A : c_long;
1988 B : const_vector_signed_short_ptr) return vector_signed_short
1990 begin
1991 return To_LL_VSS (lvxl (A, To_PTR (B)));
1992 end vec_ldl;
1994 function vec_ldl
1995 (A : c_long;
1996 B : const_short_ptr) return vector_signed_short
1998 begin
1999 return To_LL_VSS (lvxl (A, To_PTR (B)));
2000 end vec_ldl;
2002 function vec_ldl
2003 (A : c_long;
2004 B : const_vector_unsigned_short_ptr) return vector_unsigned_short
2006 begin
2007 return To_LL_VUS (lvxl (A, To_PTR (B)));
2008 end vec_ldl;
2010 function vec_ldl
2011 (A : c_long;
2012 B : const_unsigned_short_ptr) return vector_unsigned_short
2014 begin
2015 return To_LL_VUS (lvxl (A, To_PTR (B)));
2016 end vec_ldl;
2018 function vec_ldl
2019 (A : c_long;
2020 B : const_vector_bool_char_ptr) return vector_bool_char
2022 begin
2023 return To_LL_VBC (lvxl (A, To_PTR (B)));
2024 end vec_ldl;
2026 function vec_ldl
2027 (A : c_long;
2028 B : const_vector_signed_char_ptr) return vector_signed_char
2030 begin
2031 return To_LL_VSC (lvxl (A, To_PTR (B)));
2032 end vec_ldl;
2034 function vec_ldl
2035 (A : c_long;
2036 B : const_signed_char_ptr) return vector_signed_char
2038 begin
2039 return To_LL_VSC (lvxl (A, To_PTR (B)));
2040 end vec_ldl;
2042 function vec_ldl
2043 (A : c_long;
2044 B : const_vector_unsigned_char_ptr) return vector_unsigned_char
2046 begin
2047 return To_LL_VUC (lvxl (A, To_PTR (B)));
2048 end vec_ldl;
2050 function vec_ldl
2051 (A : c_long;
2052 B : const_unsigned_char_ptr) return vector_unsigned_char
2054 begin
2055 return To_LL_VUC (lvxl (A, To_PTR (B)));
2056 end vec_ldl;
2058 -- vec_loge --
2060 function vec_loge
2061 (A : vector_float) return vector_float
2063 begin
2064 return To_LL_VF (vlogefp (To_LL_VF (A)));
2065 end vec_loge;
2067 -- vec_lvsl --
2069 function vec_lvsl
2070 (A : c_long;
2071 B : constv_unsigned_char_ptr) return vector_unsigned_char
2073 begin
2074 return To_LL_VUC (lvsl (A, To_PTR (B)));
2075 end vec_lvsl;
2077 function vec_lvsl
2078 (A : c_long;
2079 B : constv_signed_char_ptr) return vector_unsigned_char
2081 begin
2082 return To_LL_VUC (lvsl (A, To_PTR (B)));
2083 end vec_lvsl;
2085 function vec_lvsl
2086 (A : c_long;
2087 B : constv_unsigned_short_ptr) return vector_unsigned_char
2089 begin
2090 return To_LL_VUC (lvsl (A, To_PTR (B)));
2091 end vec_lvsl;
2093 function vec_lvsl
2094 (A : c_long;
2095 B : constv_short_ptr) return vector_unsigned_char
2097 begin
2098 return To_LL_VUC (lvsl (A, To_PTR (B)));
2099 end vec_lvsl;
2101 function vec_lvsl
2102 (A : c_long;
2103 B : constv_unsigned_int_ptr) return vector_unsigned_char
2105 begin
2106 return To_LL_VUC (lvsl (A, To_PTR (B)));
2107 end vec_lvsl;
2109 function vec_lvsl
2110 (A : c_long;
2111 B : constv_int_ptr) return vector_unsigned_char
2113 begin
2114 return To_LL_VUC (lvsl (A, To_PTR (B)));
2115 end vec_lvsl;
2117 function vec_lvsl
2118 (A : c_long;
2119 B : constv_unsigned_long_ptr) return vector_unsigned_char
2121 begin
2122 return To_LL_VUC (lvsl (A, To_PTR (B)));
2123 end vec_lvsl;
2125 function vec_lvsl
2126 (A : c_long;
2127 B : constv_long_ptr) return vector_unsigned_char
2129 begin
2130 return To_LL_VUC (lvsl (A, To_PTR (B)));
2131 end vec_lvsl;
2133 function vec_lvsl
2134 (A : c_long;
2135 B : constv_float_ptr) return vector_unsigned_char
2137 begin
2138 return To_LL_VUC (lvsl (A, To_PTR (B)));
2139 end vec_lvsl;
2141 -- vec_lvsr --
2143 function vec_lvsr
2144 (A : c_long;
2145 B : constv_unsigned_char_ptr) return vector_unsigned_char
2147 begin
2148 return To_LL_VUC (lvsr (A, To_PTR (B)));
2149 end vec_lvsr;
2151 function vec_lvsr
2152 (A : c_long;
2153 B : constv_signed_char_ptr) return vector_unsigned_char
2155 begin
2156 return To_LL_VUC (lvsr (A, To_PTR (B)));
2157 end vec_lvsr;
2159 function vec_lvsr
2160 (A : c_long;
2161 B : constv_unsigned_short_ptr) return vector_unsigned_char
2163 begin
2164 return To_LL_VUC (lvsr (A, To_PTR (B)));
2165 end vec_lvsr;
2167 function vec_lvsr
2168 (A : c_long;
2169 B : constv_short_ptr) return vector_unsigned_char
2171 begin
2172 return To_LL_VUC (lvsr (A, To_PTR (B)));
2173 end vec_lvsr;
2175 function vec_lvsr
2176 (A : c_long;
2177 B : constv_unsigned_int_ptr) return vector_unsigned_char
2179 begin
2180 return To_LL_VUC (lvsr (A, To_PTR (B)));
2181 end vec_lvsr;
2183 function vec_lvsr
2184 (A : c_long;
2185 B : constv_int_ptr) return vector_unsigned_char
2187 begin
2188 return To_LL_VUC (lvsr (A, To_PTR (B)));
2189 end vec_lvsr;
2191 function vec_lvsr
2192 (A : c_long;
2193 B : constv_unsigned_long_ptr) return vector_unsigned_char
2195 begin
2196 return To_LL_VUC (lvsr (A, To_PTR (B)));
2197 end vec_lvsr;
2199 function vec_lvsr
2200 (A : c_long;
2201 B : constv_long_ptr) return vector_unsigned_char
2203 begin
2204 return To_LL_VUC (lvsr (A, To_PTR (B)));
2205 end vec_lvsr;
2207 function vec_lvsr
2208 (A : c_long;
2209 B : constv_float_ptr) return vector_unsigned_char
2211 begin
2212 return To_LL_VUC (lvsr (A, To_PTR (B)));
2213 end vec_lvsr;
2215 -- vec_madd --
2217 function vec_madd
2218 (A : vector_float;
2219 B : vector_float;
2220 C : vector_float) return vector_float
2222 begin
2223 return vmaddfp (A, B, C);
2224 end vec_madd;
2226 -- vec_madds --
2228 function vec_madds
2229 (A : vector_signed_short;
2230 B : vector_signed_short;
2231 C : vector_signed_short) return vector_signed_short
2233 begin
2234 return vmhaddshs (A, B, C);
2235 end vec_madds;
2237 -- vec_max --
2239 function vec_max
2240 (A : vector_bool_char;
2241 B : vector_unsigned_char) return vector_unsigned_char
2243 begin
2244 return To_LL_VUC (vmaxub (To_LL_VSC (A), To_LL_VSC (B)));
2245 end vec_max;
2247 function vec_max
2248 (A : vector_unsigned_char;
2249 B : vector_bool_char) return vector_unsigned_char
2251 begin
2252 return To_LL_VUC (vmaxub (To_LL_VSC (A), To_LL_VSC (B)));
2253 end vec_max;
2255 function vec_max
2256 (A : vector_unsigned_char;
2257 B : vector_unsigned_char) return vector_unsigned_char
2259 begin
2260 return To_LL_VUC (vmaxub (To_LL_VSC (A), To_LL_VSC (B)));
2261 end vec_max;
2263 function vec_max
2264 (A : vector_bool_char;
2265 B : vector_signed_char) return vector_signed_char
2267 begin
2268 return To_LL_VSC (vmaxsb (To_LL_VSC (A), To_LL_VSC (B)));
2269 end vec_max;
2271 function vec_max
2272 (A : vector_signed_char;
2273 B : vector_bool_char) return vector_signed_char
2275 begin
2276 return To_LL_VSC (vmaxsb (To_LL_VSC (A), To_LL_VSC (B)));
2277 end vec_max;
2279 function vec_max
2280 (A : vector_signed_char;
2281 B : vector_signed_char) return vector_signed_char
2283 begin
2284 return To_LL_VSC (vmaxsb (To_LL_VSC (A), To_LL_VSC (B)));
2285 end vec_max;
2287 function vec_max
2288 (A : vector_bool_short;
2289 B : vector_unsigned_short) return vector_unsigned_short
2291 begin
2292 return To_LL_VUS (vmaxuh (To_LL_VSS (A), To_LL_VSS (B)));
2293 end vec_max;
2295 function vec_max
2296 (A : vector_unsigned_short;
2297 B : vector_bool_short) return vector_unsigned_short
2299 begin
2300 return To_LL_VUS (vmaxuh (To_LL_VSS (A), To_LL_VSS (B)));
2301 end vec_max;
2303 function vec_max
2304 (A : vector_unsigned_short;
2305 B : vector_unsigned_short) return vector_unsigned_short
2307 begin
2308 return To_LL_VUS (vmaxuh (To_LL_VSS (A), To_LL_VSS (B)));
2309 end vec_max;
2311 function vec_max
2312 (A : vector_bool_short;
2313 B : vector_signed_short) return vector_signed_short
2315 begin
2316 return To_LL_VSS (vmaxsh (To_LL_VSS (A), To_LL_VSS (B)));
2317 end vec_max;
2319 function vec_max
2320 (A : vector_signed_short;
2321 B : vector_bool_short) return vector_signed_short
2323 begin
2324 return To_LL_VSS (vmaxsh (To_LL_VSS (A), To_LL_VSS (B)));
2325 end vec_max;
2327 function vec_max
2328 (A : vector_signed_short;
2329 B : vector_signed_short) return vector_signed_short
2331 begin
2332 return To_LL_VSS (vmaxsh (To_LL_VSS (A), To_LL_VSS (B)));
2333 end vec_max;
2335 function vec_max
2336 (A : vector_bool_int;
2337 B : vector_unsigned_int) return vector_unsigned_int
2339 begin
2340 return To_LL_VUI (vmaxuw (To_LL_VSI (A), To_LL_VSI (B)));
2341 end vec_max;
2343 function vec_max
2344 (A : vector_unsigned_int;
2345 B : vector_bool_int) return vector_unsigned_int
2347 begin
2348 return To_LL_VUI (vmaxuw (To_LL_VSI (A), To_LL_VSI (B)));
2349 end vec_max;
2351 function vec_max
2352 (A : vector_unsigned_int;
2353 B : vector_unsigned_int) return vector_unsigned_int
2355 begin
2356 return To_LL_VUI (vmaxuw (To_LL_VSI (A), To_LL_VSI (B)));
2357 end vec_max;
2359 function vec_max
2360 (A : vector_bool_int;
2361 B : vector_signed_int) return vector_signed_int
2363 begin
2364 return To_LL_VSI (vmaxsw (To_LL_VSI (A), To_LL_VSI (B)));
2365 end vec_max;
2367 function vec_max
2368 (A : vector_signed_int;
2369 B : vector_bool_int) return vector_signed_int
2371 begin
2372 return To_LL_VSI (vmaxsw (To_LL_VSI (A), To_LL_VSI (B)));
2373 end vec_max;
2375 function vec_max
2376 (A : vector_signed_int;
2377 B : vector_signed_int) return vector_signed_int
2379 begin
2380 return To_LL_VSI (vmaxsw (To_LL_VSI (A), To_LL_VSI (B)));
2381 end vec_max;
2383 function vec_max
2384 (A : vector_float;
2385 B : vector_float) return vector_float
2387 begin
2388 return To_LL_VF (vmaxfp (To_LL_VF (A), To_LL_VF (B)));
2389 end vec_max;
2391 -- vec_vmaxfp --
2393 function vec_vmaxfp
2394 (A : vector_float;
2395 B : vector_float) return vector_float
2397 begin
2398 return To_LL_VF (vmaxfp (To_LL_VF (A), To_LL_VF (B)));
2399 end vec_vmaxfp;
2401 -- vec_vmaxsw --
2403 function vec_vmaxsw
2404 (A : vector_bool_int;
2405 B : vector_signed_int) return vector_signed_int
2407 begin
2408 return To_LL_VSI (vmaxsw (To_LL_VSI (A), To_LL_VSI (B)));
2409 end vec_vmaxsw;
2411 function vec_vmaxsw
2412 (A : vector_signed_int;
2413 B : vector_bool_int) return vector_signed_int
2415 begin
2416 return To_LL_VSI (vmaxsw (To_LL_VSI (A), To_LL_VSI (B)));
2417 end vec_vmaxsw;
2419 function vec_vmaxsw
2420 (A : vector_signed_int;
2421 B : vector_signed_int) return vector_signed_int
2423 begin
2424 return To_LL_VSI (vmaxsw (To_LL_VSI (A), To_LL_VSI (B)));
2425 end vec_vmaxsw;
2427 -- vec_vmaxuw --
2429 function vec_vmaxuw
2430 (A : vector_bool_int;
2431 B : vector_unsigned_int) return vector_unsigned_int
2433 begin
2434 return To_LL_VUI (vmaxuw (To_LL_VSI (A), To_LL_VSI (B)));
2435 end vec_vmaxuw;
2437 function vec_vmaxuw
2438 (A : vector_unsigned_int;
2439 B : vector_bool_int) return vector_unsigned_int
2441 begin
2442 return To_LL_VUI (vmaxuw (To_LL_VSI (A), To_LL_VSI (B)));
2443 end vec_vmaxuw;
2445 function vec_vmaxuw
2446 (A : vector_unsigned_int;
2447 B : vector_unsigned_int) return vector_unsigned_int
2449 begin
2450 return To_LL_VUI (vmaxuw (To_LL_VSI (A), To_LL_VSI (B)));
2451 end vec_vmaxuw;
2453 -- vec_vmaxsh --
2455 function vec_vmaxsh
2456 (A : vector_bool_short;
2457 B : vector_signed_short) return vector_signed_short
2459 begin
2460 return To_LL_VSS (vmaxsh (To_LL_VSS (A), To_LL_VSS (B)));
2461 end vec_vmaxsh;
2463 function vec_vmaxsh
2464 (A : vector_signed_short;
2465 B : vector_bool_short) return vector_signed_short
2467 begin
2468 return To_LL_VSS (vmaxsh (To_LL_VSS (A), To_LL_VSS (B)));
2469 end vec_vmaxsh;
2471 function vec_vmaxsh
2472 (A : vector_signed_short;
2473 B : vector_signed_short) return vector_signed_short
2475 begin
2476 return To_LL_VSS (vmaxsh (To_LL_VSS (A), To_LL_VSS (B)));
2477 end vec_vmaxsh;
2479 -- vec_vmaxuh --
2481 function vec_vmaxuh
2482 (A : vector_bool_short;
2483 B : vector_unsigned_short) return vector_unsigned_short
2485 begin
2486 return To_LL_VUS (vmaxuh (To_LL_VSS (A), To_LL_VSS (B)));
2487 end vec_vmaxuh;
2489 function vec_vmaxuh
2490 (A : vector_unsigned_short;
2491 B : vector_bool_short) return vector_unsigned_short
2493 begin
2494 return To_LL_VUS (vmaxuh (To_LL_VSS (A), To_LL_VSS (B)));
2495 end vec_vmaxuh;
2497 function vec_vmaxuh
2498 (A : vector_unsigned_short;
2499 B : vector_unsigned_short) return vector_unsigned_short
2501 begin
2502 return To_LL_VUS (vmaxuh (To_LL_VSS (A), To_LL_VSS (B)));
2503 end vec_vmaxuh;
2505 -- vec_vmaxsb --
2507 function vec_vmaxsb
2508 (A : vector_bool_char;
2509 B : vector_signed_char) return vector_signed_char
2511 begin
2512 return To_LL_VSC (vmaxsb (To_LL_VSC (A), To_LL_VSC (B)));
2513 end vec_vmaxsb;
2515 function vec_vmaxsb
2516 (A : vector_signed_char;
2517 B : vector_bool_char) return vector_signed_char
2519 begin
2520 return To_LL_VSC (vmaxsb (To_LL_VSC (A), To_LL_VSC (B)));
2521 end vec_vmaxsb;
2523 function vec_vmaxsb
2524 (A : vector_signed_char;
2525 B : vector_signed_char) return vector_signed_char
2527 begin
2528 return To_LL_VSC (vmaxsb (To_LL_VSC (A), To_LL_VSC (B)));
2529 end vec_vmaxsb;
2531 -- vec_vmaxub --
2533 function vec_vmaxub
2534 (A : vector_bool_char;
2535 B : vector_unsigned_char) return vector_unsigned_char
2537 begin
2538 return To_LL_VUC (vmaxub (To_LL_VSC (A), To_LL_VSC (B)));
2539 end vec_vmaxub;
2541 function vec_vmaxub
2542 (A : vector_unsigned_char;
2543 B : vector_bool_char) return vector_unsigned_char
2545 begin
2546 return To_LL_VUC (vmaxub (To_LL_VSC (A), To_LL_VSC (B)));
2547 end vec_vmaxub;
2549 function vec_vmaxub
2550 (A : vector_unsigned_char;
2551 B : vector_unsigned_char) return vector_unsigned_char
2553 begin
2554 return To_LL_VUC (vmaxub (To_LL_VSC (A), To_LL_VSC (B)));
2555 end vec_vmaxub;
2557 -- vec_mergeh --
2559 function vec_mergeh
2560 (A : vector_bool_char;
2561 B : vector_bool_char) return vector_bool_char
2563 begin
2564 return To_LL_VBC (vmrghb (To_LL_VSC (A), To_LL_VSC (B)));
2565 end vec_mergeh;
2567 function vec_mergeh
2568 (A : vector_signed_char;
2569 B : vector_signed_char) return vector_signed_char
2571 begin
2572 return To_LL_VSC (vmrghb (To_LL_VSC (A), To_LL_VSC (B)));
2573 end vec_mergeh;
2575 function vec_mergeh
2576 (A : vector_unsigned_char;
2577 B : vector_unsigned_char) return vector_unsigned_char
2579 begin
2580 return To_LL_VUC (vmrghb (To_LL_VSC (A), To_LL_VSC (B)));
2581 end vec_mergeh;
2583 function vec_mergeh
2584 (A : vector_bool_short;
2585 B : vector_bool_short) return vector_bool_short
2587 begin
2588 return To_LL_VBS (vmrghh (To_LL_VSS (A), To_LL_VSS (B)));
2589 end vec_mergeh;
2591 function vec_mergeh
2592 (A : vector_pixel;
2593 B : vector_pixel) return vector_pixel
2595 begin
2596 return To_LL_VP (vmrghh (To_LL_VSS (A), To_LL_VSS (B)));
2597 end vec_mergeh;
2599 function vec_mergeh
2600 (A : vector_signed_short;
2601 B : vector_signed_short) return vector_signed_short
2603 begin
2604 return To_LL_VSS (vmrghh (To_LL_VSS (A), To_LL_VSS (B)));
2605 end vec_mergeh;
2607 function vec_mergeh
2608 (A : vector_unsigned_short;
2609 B : vector_unsigned_short) return vector_unsigned_short
2611 begin
2612 return To_LL_VUS (vmrghh (To_LL_VSS (A), To_LL_VSS (B)));
2613 end vec_mergeh;
2615 function vec_mergeh
2616 (A : vector_float;
2617 B : vector_float) return vector_float
2619 begin
2620 return To_LL_VF (vmrghw (To_LL_VSI (A), To_LL_VSI (B)));
2621 end vec_mergeh;
2623 function vec_mergeh
2624 (A : vector_bool_int;
2625 B : vector_bool_int) return vector_bool_int
2627 begin
2628 return To_LL_VBI (vmrghw (To_LL_VSI (A), To_LL_VSI (B)));
2629 end vec_mergeh;
2631 function vec_mergeh
2632 (A : vector_signed_int;
2633 B : vector_signed_int) return vector_signed_int
2635 begin
2636 return To_LL_VSI (vmrghw (To_LL_VSI (A), To_LL_VSI (B)));
2637 end vec_mergeh;
2639 function vec_mergeh
2640 (A : vector_unsigned_int;
2641 B : vector_unsigned_int) return vector_unsigned_int
2643 begin
2644 return To_LL_VUI (vmrghw (To_LL_VSI (A), To_LL_VSI (B)));
2645 end vec_mergeh;
2647 -- vec_vmrghw --
2649 function vec_vmrghw
2650 (A : vector_float;
2651 B : vector_float) return vector_float
2653 begin
2654 return To_LL_VF (vmrghw (To_LL_VSI (A), To_LL_VSI (B)));
2655 end vec_vmrghw;
2657 function vec_vmrghw
2658 (A : vector_bool_int;
2659 B : vector_bool_int) return vector_bool_int
2661 begin
2662 return To_LL_VBI (vmrghw (To_LL_VSI (A), To_LL_VSI (B)));
2663 end vec_vmrghw;
2665 function vec_vmrghw
2666 (A : vector_signed_int;
2667 B : vector_signed_int) return vector_signed_int
2669 begin
2670 return To_LL_VSI (vmrghw (To_LL_VSI (A), To_LL_VSI (B)));
2671 end vec_vmrghw;
2673 function vec_vmrghw
2674 (A : vector_unsigned_int;
2675 B : vector_unsigned_int) return vector_unsigned_int
2677 begin
2678 return To_LL_VUI (vmrghw (To_LL_VSI (A), To_LL_VSI (B)));
2679 end vec_vmrghw;
2681 -- vec_vmrghh --
2683 function vec_vmrghh
2684 (A : vector_bool_short;
2685 B : vector_bool_short) return vector_bool_short
2687 begin
2688 return To_LL_VBS (vmrghh (To_LL_VSS (A), To_LL_VSS (B)));
2689 end vec_vmrghh;
2691 function vec_vmrghh
2692 (A : vector_signed_short;
2693 B : vector_signed_short) return vector_signed_short
2695 begin
2696 return To_LL_VSS (vmrghh (To_LL_VSS (A), To_LL_VSS (B)));
2697 end vec_vmrghh;
2699 function vec_vmrghh
2700 (A : vector_unsigned_short;
2701 B : vector_unsigned_short) return vector_unsigned_short
2703 begin
2704 return To_LL_VUS (vmrghh (To_LL_VSS (A), To_LL_VSS (B)));
2705 end vec_vmrghh;
2707 function vec_vmrghh
2708 (A : vector_pixel;
2709 B : vector_pixel) return vector_pixel
2711 begin
2712 return To_LL_VP (vmrghh (To_LL_VSS (A), To_LL_VSS (B)));
2713 end vec_vmrghh;
2715 -- vec_vmrghb --
2717 function vec_vmrghb
2718 (A : vector_bool_char;
2719 B : vector_bool_char) return vector_bool_char
2721 begin
2722 return To_LL_VBC (vmrghb (To_LL_VSC (A), To_LL_VSC (B)));
2723 end vec_vmrghb;
2725 function vec_vmrghb
2726 (A : vector_signed_char;
2727 B : vector_signed_char) return vector_signed_char
2729 begin
2730 return To_LL_VSC (vmrghb (To_LL_VSC (A), To_LL_VSC (B)));
2731 end vec_vmrghb;
2733 function vec_vmrghb
2734 (A : vector_unsigned_char;
2735 B : vector_unsigned_char) return vector_unsigned_char
2737 begin
2738 return To_LL_VUC (vmrghb (To_LL_VSC (A), To_LL_VSC (B)));
2739 end vec_vmrghb;
2741 -- vec_mergel --
2743 function vec_mergel
2744 (A : vector_bool_char;
2745 B : vector_bool_char) return vector_bool_char
2747 begin
2748 return To_LL_VBC (vmrglb (To_LL_VSC (A), To_LL_VSC (B)));
2749 end vec_mergel;
2751 function vec_mergel
2752 (A : vector_signed_char;
2753 B : vector_signed_char) return vector_signed_char
2755 begin
2756 return To_LL_VSC (vmrglb (To_LL_VSC (A), To_LL_VSC (B)));
2757 end vec_mergel;
2759 function vec_mergel
2760 (A : vector_unsigned_char;
2761 B : vector_unsigned_char) return vector_unsigned_char
2763 begin
2764 return To_LL_VUC (vmrglb (To_LL_VSC (A), To_LL_VSC (B)));
2765 end vec_mergel;
2767 function vec_mergel
2768 (A : vector_bool_short;
2769 B : vector_bool_short) return vector_bool_short
2771 begin
2772 return To_LL_VBS (vmrglh (To_LL_VSS (A), To_LL_VSS (B)));
2773 end vec_mergel;
2775 function vec_mergel
2776 (A : vector_pixel;
2777 B : vector_pixel) return vector_pixel
2779 begin
2780 return To_LL_VP (vmrglh (To_LL_VSS (A), To_LL_VSS (B)));
2781 end vec_mergel;
2783 function vec_mergel
2784 (A : vector_signed_short;
2785 B : vector_signed_short) return vector_signed_short
2787 begin
2788 return To_LL_VSS (vmrglh (To_LL_VSS (A), To_LL_VSS (B)));
2789 end vec_mergel;
2791 function vec_mergel
2792 (A : vector_unsigned_short;
2793 B : vector_unsigned_short) return vector_unsigned_short
2795 begin
2796 return To_LL_VUS (vmrglh (To_LL_VSS (A), To_LL_VSS (B)));
2797 end vec_mergel;
2799 function vec_mergel
2800 (A : vector_float;
2801 B : vector_float) return vector_float
2803 begin
2804 return To_LL_VF (vmrglw (To_LL_VSI (A), To_LL_VSI (B)));
2805 end vec_mergel;
2807 function vec_mergel
2808 (A : vector_bool_int;
2809 B : vector_bool_int) return vector_bool_int
2811 begin
2812 return To_LL_VBI (vmrglw (To_LL_VSI (A), To_LL_VSI (B)));
2813 end vec_mergel;
2815 function vec_mergel
2816 (A : vector_signed_int;
2817 B : vector_signed_int) return vector_signed_int
2819 begin
2820 return To_LL_VSI (vmrglw (To_LL_VSI (A), To_LL_VSI (B)));
2821 end vec_mergel;
2823 function vec_mergel
2824 (A : vector_unsigned_int;
2825 B : vector_unsigned_int) return vector_unsigned_int
2827 begin
2828 return To_LL_VUI (vmrglw (To_LL_VSI (A), To_LL_VSI (B)));
2829 end vec_mergel;
2831 -- vec_vmrglw --
2833 function vec_vmrglw
2834 (A : vector_float;
2835 B : vector_float) return vector_float
2837 begin
2838 return To_LL_VF (vmrglw (To_LL_VSI (A), To_LL_VSI (B)));
2839 end vec_vmrglw;
2841 function vec_vmrglw
2842 (A : vector_signed_int;
2843 B : vector_signed_int) return vector_signed_int
2845 begin
2846 return To_LL_VSI (vmrglw (To_LL_VSI (A), To_LL_VSI (B)));
2847 end vec_vmrglw;
2849 function vec_vmrglw
2850 (A : vector_unsigned_int;
2851 B : vector_unsigned_int) return vector_unsigned_int
2853 begin
2854 return To_LL_VUI (vmrglw (To_LL_VSI (A), To_LL_VSI (B)));
2855 end vec_vmrglw;
2857 function vec_vmrglw
2858 (A : vector_bool_int;
2859 B : vector_bool_int) return vector_bool_int
2861 begin
2862 return To_LL_VBI (vmrglw (To_LL_VSI (A), To_LL_VSI (B)));
2863 end vec_vmrglw;
2865 -- vec_vmrglh --
2867 function vec_vmrglh
2868 (A : vector_bool_short;
2869 B : vector_bool_short) return vector_bool_short
2871 begin
2872 return To_LL_VBS (vmrglh (To_LL_VSS (A), To_LL_VSS (B)));
2873 end vec_vmrglh;
2875 function vec_vmrglh
2876 (A : vector_signed_short;
2877 B : vector_signed_short) return vector_signed_short
2879 begin
2880 return To_LL_VSS (vmrglh (To_LL_VSS (A), To_LL_VSS (B)));
2881 end vec_vmrglh;
2883 function vec_vmrglh
2884 (A : vector_unsigned_short;
2885 B : vector_unsigned_short) return vector_unsigned_short
2887 begin
2888 return To_LL_VUS (vmrglh (To_LL_VSS (A), To_LL_VSS (B)));
2889 end vec_vmrglh;
2891 function vec_vmrglh
2892 (A : vector_pixel;
2893 B : vector_pixel) return vector_pixel
2895 begin
2896 return To_LL_VP (vmrglh (To_LL_VSS (A), To_LL_VSS (B)));
2897 end vec_vmrglh;
2899 -- vec_vmrglb --
2901 function vec_vmrglb
2902 (A : vector_bool_char;
2903 B : vector_bool_char) return vector_bool_char
2905 begin
2906 return To_LL_VBC (vmrglb (To_LL_VSC (A), To_LL_VSC (B)));
2907 end vec_vmrglb;
2909 function vec_vmrglb
2910 (A : vector_signed_char;
2911 B : vector_signed_char) return vector_signed_char
2913 begin
2914 return To_LL_VSC (vmrglb (To_LL_VSC (A), To_LL_VSC (B)));
2915 end vec_vmrglb;
2917 function vec_vmrglb
2918 (A : vector_unsigned_char;
2919 B : vector_unsigned_char) return vector_unsigned_char
2921 begin
2922 return To_LL_VUC (vmrglb (To_LL_VSC (A), To_LL_VSC (B)));
2923 end vec_vmrglb;
2925 -- vec_mfvscr --
2927 function vec_mfvscr return vector_unsigned_short
2929 begin
2930 return To_LL_VUS (mfvscr);
2931 end vec_mfvscr;
2933 -- vec_min --
2935 function vec_min
2936 (A : vector_bool_char;
2937 B : vector_unsigned_char) return vector_unsigned_char
2939 begin
2940 return To_LL_VUC (vminub (To_LL_VSC (A), To_LL_VSC (B)));
2941 end vec_min;
2943 function vec_min
2944 (A : vector_unsigned_char;
2945 B : vector_bool_char) return vector_unsigned_char
2947 begin
2948 return To_LL_VUC (vminub (To_LL_VSC (A), To_LL_VSC (B)));
2949 end vec_min;
2951 function vec_min
2952 (A : vector_unsigned_char;
2953 B : vector_unsigned_char) return vector_unsigned_char
2955 begin
2956 return To_LL_VUC (vminub (To_LL_VSC (A), To_LL_VSC (B)));
2957 end vec_min;
2959 function vec_min
2960 (A : vector_bool_char;
2961 B : vector_signed_char) return vector_signed_char
2963 begin
2964 return To_LL_VSC (vminsb (To_LL_VSC (A), To_LL_VSC (B)));
2965 end vec_min;
2967 function vec_min
2968 (A : vector_signed_char;
2969 B : vector_bool_char) return vector_signed_char
2971 begin
2972 return To_LL_VSC (vminsb (To_LL_VSC (A), To_LL_VSC (B)));
2973 end vec_min;
2975 function vec_min
2976 (A : vector_signed_char;
2977 B : vector_signed_char) return vector_signed_char
2979 begin
2980 return To_LL_VSC (vminsb (To_LL_VSC (A), To_LL_VSC (B)));
2981 end vec_min;
2983 function vec_min
2984 (A : vector_bool_short;
2985 B : vector_unsigned_short) return vector_unsigned_short
2987 begin
2988 return To_LL_VUS (vminuh (To_LL_VSS (A), To_LL_VSS (B)));
2989 end vec_min;
2991 function vec_min
2992 (A : vector_unsigned_short;
2993 B : vector_bool_short) return vector_unsigned_short
2995 begin
2996 return To_LL_VUS (vminuh (To_LL_VSS (A), To_LL_VSS (B)));
2997 end vec_min;
2999 function vec_min
3000 (A : vector_unsigned_short;
3001 B : vector_unsigned_short) return vector_unsigned_short
3003 begin
3004 return To_LL_VUS (vminuh (To_LL_VSS (A), To_LL_VSS (B)));
3005 end vec_min;
3007 function vec_min
3008 (A : vector_bool_short;
3009 B : vector_signed_short) return vector_signed_short
3011 begin
3012 return To_LL_VSS (vminsh (To_LL_VSS (A), To_LL_VSS (B)));
3013 end vec_min;
3015 function vec_min
3016 (A : vector_signed_short;
3017 B : vector_bool_short) return vector_signed_short
3019 begin
3020 return To_LL_VSS (vminsh (To_LL_VSS (A), To_LL_VSS (B)));
3021 end vec_min;
3023 function vec_min
3024 (A : vector_signed_short;
3025 B : vector_signed_short) return vector_signed_short
3027 begin
3028 return To_LL_VSS (vminsh (To_LL_VSS (A), To_LL_VSS (B)));
3029 end vec_min;
3031 function vec_min
3032 (A : vector_bool_int;
3033 B : vector_unsigned_int) return vector_unsigned_int
3035 begin
3036 return To_LL_VUI (vminuw (To_LL_VSI (A), To_LL_VSI (B)));
3037 end vec_min;
3039 function vec_min
3040 (A : vector_unsigned_int;
3041 B : vector_bool_int) return vector_unsigned_int
3043 begin
3044 return To_LL_VUI (vminuw (To_LL_VSI (A), To_LL_VSI (B)));
3045 end vec_min;
3047 function vec_min
3048 (A : vector_unsigned_int;
3049 B : vector_unsigned_int) return vector_unsigned_int
3051 begin
3052 return To_LL_VUI (vminuw (To_LL_VSI (A), To_LL_VSI (B)));
3053 end vec_min;
3055 function vec_min
3056 (A : vector_bool_int;
3057 B : vector_signed_int) return vector_signed_int
3059 begin
3060 return To_LL_VSI (vminsw (To_LL_VSI (A), To_LL_VSI (B)));
3061 end vec_min;
3063 function vec_min
3064 (A : vector_signed_int;
3065 B : vector_bool_int) return vector_signed_int
3067 begin
3068 return To_LL_VSI (vminsw (To_LL_VSI (A), To_LL_VSI (B)));
3069 end vec_min;
3071 function vec_min
3072 (A : vector_signed_int;
3073 B : vector_signed_int) return vector_signed_int
3075 begin
3076 return To_LL_VSI (vminsw (To_LL_VSI (A), To_LL_VSI (B)));
3077 end vec_min;
3079 function vec_min
3080 (A : vector_float;
3081 B : vector_float) return vector_float
3083 begin
3084 return To_LL_VF (vminfp (To_LL_VF (A), To_LL_VF (B)));
3085 end vec_min;
3087 -- vec_vminfp --
3089 function vec_vminfp
3090 (A : vector_float;
3091 B : vector_float) return vector_float
3093 begin
3094 return To_LL_VF (vminfp (To_LL_VF (A), To_LL_VF (B)));
3095 end vec_vminfp;
3097 -- vec_vminsw --
3099 function vec_vminsw
3100 (A : vector_bool_int;
3101 B : vector_signed_int) return vector_signed_int
3103 begin
3104 return To_LL_VSI (vminsw (To_LL_VSI (A), To_LL_VSI (B)));
3105 end vec_vminsw;
3107 function vec_vminsw
3108 (A : vector_signed_int;
3109 B : vector_bool_int) return vector_signed_int
3111 begin
3112 return To_LL_VSI (vminsw (To_LL_VSI (A), To_LL_VSI (B)));
3113 end vec_vminsw;
3115 function vec_vminsw
3116 (A : vector_signed_int;
3117 B : vector_signed_int) return vector_signed_int
3119 begin
3120 return To_LL_VSI (vminsw (To_LL_VSI (A), To_LL_VSI (B)));
3121 end vec_vminsw;
3123 -- vec_vminuw --
3125 function vec_vminuw
3126 (A : vector_bool_int;
3127 B : vector_unsigned_int) return vector_unsigned_int
3129 begin
3130 return To_LL_VUI (vminuw (To_LL_VSI (A), To_LL_VSI (B)));
3131 end vec_vminuw;
3133 function vec_vminuw
3134 (A : vector_unsigned_int;
3135 B : vector_bool_int) return vector_unsigned_int
3137 begin
3138 return To_LL_VUI (vminuw (To_LL_VSI (A), To_LL_VSI (B)));
3139 end vec_vminuw;
3141 function vec_vminuw
3142 (A : vector_unsigned_int;
3143 B : vector_unsigned_int) return vector_unsigned_int
3145 begin
3146 return To_LL_VUI (vminuw (To_LL_VSI (A), To_LL_VSI (B)));
3147 end vec_vminuw;
3149 -- vec_vminsh --
3151 function vec_vminsh
3152 (A : vector_bool_short;
3153 B : vector_signed_short) return vector_signed_short
3155 begin
3156 return To_LL_VSS (vminsh (To_LL_VSS (A), To_LL_VSS (B)));
3157 end vec_vminsh;
3159 function vec_vminsh
3160 (A : vector_signed_short;
3161 B : vector_bool_short) return vector_signed_short
3163 begin
3164 return To_LL_VSS (vminsh (To_LL_VSS (A), To_LL_VSS (B)));
3165 end vec_vminsh;
3167 function vec_vminsh
3168 (A : vector_signed_short;
3169 B : vector_signed_short) return vector_signed_short
3171 begin
3172 return To_LL_VSS (vminsh (To_LL_VSS (A), To_LL_VSS (B)));
3173 end vec_vminsh;
3175 -- vec_vminuh --
3177 function vec_vminuh
3178 (A : vector_bool_short;
3179 B : vector_unsigned_short) return vector_unsigned_short
3181 begin
3182 return To_LL_VUS (vminuh (To_LL_VSS (A), To_LL_VSS (B)));
3183 end vec_vminuh;
3185 function vec_vminuh
3186 (A : vector_unsigned_short;
3187 B : vector_bool_short) return vector_unsigned_short
3189 begin
3190 return To_LL_VUS (vminuh (To_LL_VSS (A), To_LL_VSS (B)));
3191 end vec_vminuh;
3193 function vec_vminuh
3194 (A : vector_unsigned_short;
3195 B : vector_unsigned_short) return vector_unsigned_short
3197 begin
3198 return To_LL_VUS (vminuh (To_LL_VSS (A), To_LL_VSS (B)));
3199 end vec_vminuh;
3201 -- vec_vminsb --
3203 function vec_vminsb
3204 (A : vector_bool_char;
3205 B : vector_signed_char) return vector_signed_char
3207 begin
3208 return To_LL_VSC (vminsb (To_LL_VSC (A), To_LL_VSC (B)));
3209 end vec_vminsb;
3211 function vec_vminsb
3212 (A : vector_signed_char;
3213 B : vector_bool_char) return vector_signed_char
3215 begin
3216 return To_LL_VSC (vminsb (To_LL_VSC (A), To_LL_VSC (B)));
3217 end vec_vminsb;
3219 function vec_vminsb
3220 (A : vector_signed_char;
3221 B : vector_signed_char) return vector_signed_char
3223 begin
3224 return To_LL_VSC (vminsb (To_LL_VSC (A), To_LL_VSC (B)));
3225 end vec_vminsb;
3227 -- vec_vminub --
3229 function vec_vminub
3230 (A : vector_bool_char;
3231 B : vector_unsigned_char) return vector_unsigned_char
3233 begin
3234 return To_LL_VUC (vminub (To_LL_VSC (A), To_LL_VSC (B)));
3235 end vec_vminub;
3237 function vec_vminub
3238 (A : vector_unsigned_char;
3239 B : vector_bool_char) return vector_unsigned_char
3241 begin
3242 return To_LL_VUC (vminub (To_LL_VSC (A), To_LL_VSC (B)));
3243 end vec_vminub;
3245 function vec_vminub
3246 (A : vector_unsigned_char;
3247 B : vector_unsigned_char) return vector_unsigned_char
3249 begin
3250 return To_LL_VUC (vminub (To_LL_VSC (A), To_LL_VSC (B)));
3251 end vec_vminub;
3253 -- vec_mladd --
3255 function vec_mladd
3256 (A : vector_signed_short;
3257 B : vector_signed_short;
3258 C : vector_signed_short) return vector_signed_short
3260 begin
3261 return vmladduhm (A, B, C);
3262 end vec_mladd;
3264 function vec_mladd
3265 (A : vector_signed_short;
3266 B : vector_unsigned_short;
3267 C : vector_unsigned_short) return vector_signed_short
3269 begin
3270 return vmladduhm (A, To_LL_VSS (B), To_LL_VSS (C));
3271 end vec_mladd;
3273 function vec_mladd
3274 (A : vector_unsigned_short;
3275 B : vector_signed_short;
3276 C : vector_signed_short) return vector_signed_short
3278 begin
3279 return vmladduhm (To_LL_VSS (A), B, C);
3280 end vec_mladd;
3282 function vec_mladd
3283 (A : vector_unsigned_short;
3284 B : vector_unsigned_short;
3285 C : vector_unsigned_short) return vector_unsigned_short
3287 begin
3288 return
3289 To_LL_VUS (vmladduhm (To_LL_VSS (A), To_LL_VSS (B), To_LL_VSS (C)));
3290 end vec_mladd;
3292 -- vec_mradds --
3294 function vec_mradds
3295 (A : vector_signed_short;
3296 B : vector_signed_short;
3297 C : vector_signed_short) return vector_signed_short
3299 begin
3300 return vmhraddshs (A, B, C);
3301 end vec_mradds;
3303 -- vec_msum --
3305 function vec_msum
3306 (A : vector_unsigned_char;
3307 B : vector_unsigned_char;
3308 C : vector_unsigned_int) return vector_unsigned_int
3310 begin
3311 return
3312 To_LL_VUI (vmsumubm (To_LL_VSC (A), To_LL_VSC (B), To_LL_VSI (C)));
3313 end vec_msum;
3315 function vec_msum
3316 (A : vector_signed_char;
3317 B : vector_unsigned_char;
3318 C : vector_signed_int) return vector_signed_int
3320 begin
3321 return
3322 To_LL_VSI (vmsummbm (To_LL_VSC (A), To_LL_VSC (B), To_LL_VSI (C)));
3323 end vec_msum;
3325 function vec_msum
3326 (A : vector_unsigned_short;
3327 B : vector_unsigned_short;
3328 C : vector_unsigned_int) return vector_unsigned_int
3330 begin
3331 return
3332 To_LL_VUI (vmsumuhm (To_LL_VSS (A), To_LL_VSS (B), To_LL_VSI (C)));
3333 end vec_msum;
3335 function vec_msum
3336 (A : vector_signed_short;
3337 B : vector_signed_short;
3338 C : vector_signed_int) return vector_signed_int
3340 begin
3341 return
3342 To_LL_VSI (vmsumshm (To_LL_VSS (A), To_LL_VSS (B), To_LL_VSI (C)));
3343 end vec_msum;
3345 -- vec_vmsumshm --
3347 function vec_vmsumshm
3348 (A : vector_signed_short;
3349 B : vector_signed_short;
3350 C : vector_signed_int) return vector_signed_int
3352 begin
3353 return
3354 To_LL_VSI (vmsumshm (To_LL_VSS (A), To_LL_VSS (B), To_LL_VSI (C)));
3355 end vec_vmsumshm;
3357 -- vec_vmsumuhm --
3359 function vec_vmsumuhm
3360 (A : vector_unsigned_short;
3361 B : vector_unsigned_short;
3362 C : vector_unsigned_int) return vector_unsigned_int
3364 begin
3365 return
3366 To_LL_VUI (vmsumuhm (To_LL_VSS (A), To_LL_VSS (B), To_LL_VSI (C)));
3367 end vec_vmsumuhm;
3369 -- vec_vmsummbm --
3371 function vec_vmsummbm
3372 (A : vector_signed_char;
3373 B : vector_unsigned_char;
3374 C : vector_signed_int) return vector_signed_int
3376 begin
3377 return
3378 To_LL_VSI (vmsummbm (To_LL_VSC (A), To_LL_VSC (B), To_LL_VSI (C)));
3379 end vec_vmsummbm;
3381 -- vec_vmsumubm --
3383 function vec_vmsumubm
3384 (A : vector_unsigned_char;
3385 B : vector_unsigned_char;
3386 C : vector_unsigned_int) return vector_unsigned_int
3388 begin
3389 return
3390 To_LL_VUI (vmsumubm (To_LL_VSC (A), To_LL_VSC (B), To_LL_VSI (C)));
3391 end vec_vmsumubm;
3393 -- vec_msums --
3395 function vec_msums
3396 (A : vector_unsigned_short;
3397 B : vector_unsigned_short;
3398 C : vector_unsigned_int) return vector_unsigned_int
3400 begin
3401 return
3402 To_LL_VUI (vmsumuhs (To_LL_VSS (A), To_LL_VSS (B), To_LL_VSI (C)));
3403 end vec_msums;
3405 function vec_msums
3406 (A : vector_signed_short;
3407 B : vector_signed_short;
3408 C : vector_signed_int) return vector_signed_int
3410 begin
3411 return
3412 To_LL_VSI (vmsumshs (To_LL_VSS (A), To_LL_VSS (B), To_LL_VSI (C)));
3413 end vec_msums;
3415 -- vec_vmsumshs --
3417 function vec_vmsumshs
3418 (A : vector_signed_short;
3419 B : vector_signed_short;
3420 C : vector_signed_int) return vector_signed_int
3422 begin
3423 return
3424 To_LL_VSI (vmsumshs (To_LL_VSS (A), To_LL_VSS (B), To_LL_VSI (C)));
3425 end vec_vmsumshs;
3427 -- vec_vmsumuhs --
3429 function vec_vmsumuhs
3430 (A : vector_unsigned_short;
3431 B : vector_unsigned_short;
3432 C : vector_unsigned_int) return vector_unsigned_int
3434 begin
3435 return
3436 To_LL_VUI (vmsumuhs (To_LL_VSS (A), To_LL_VSS (B), To_LL_VSI (C)));
3437 end vec_vmsumuhs;
3439 -- vec_mtvscr --
3441 procedure vec_mtvscr
3442 (A : vector_signed_int)
3444 begin
3445 mtvscr (To_LL_VSI (A));
3446 end vec_mtvscr;
3448 procedure vec_mtvscr
3449 (A : vector_unsigned_int)
3451 begin
3452 mtvscr (To_LL_VSI (A));
3453 end vec_mtvscr;
3455 procedure vec_mtvscr
3456 (A : vector_bool_int)
3458 begin
3459 mtvscr (To_LL_VSI (A));
3460 end vec_mtvscr;
3462 procedure vec_mtvscr
3463 (A : vector_signed_short)
3465 begin
3466 mtvscr (To_LL_VSI (A));
3467 end vec_mtvscr;
3469 procedure vec_mtvscr
3470 (A : vector_unsigned_short)
3472 begin
3473 mtvscr (To_LL_VSI (A));
3474 end vec_mtvscr;
3476 procedure vec_mtvscr
3477 (A : vector_bool_short)
3479 begin
3480 mtvscr (To_LL_VSI (A));
3481 end vec_mtvscr;
3483 procedure vec_mtvscr
3484 (A : vector_pixel)
3486 begin
3487 mtvscr (To_LL_VSI (A));
3488 end vec_mtvscr;
3490 procedure vec_mtvscr
3491 (A : vector_signed_char)
3493 begin
3494 mtvscr (To_LL_VSI (A));
3495 end vec_mtvscr;
3497 procedure vec_mtvscr
3498 (A : vector_unsigned_char)
3500 begin
3501 mtvscr (To_LL_VSI (A));
3502 end vec_mtvscr;
3504 procedure vec_mtvscr
3505 (A : vector_bool_char)
3507 begin
3508 mtvscr (To_LL_VSI (A));
3509 end vec_mtvscr;
3511 -- vec_mule --
3513 function vec_mule
3514 (A : vector_unsigned_char;
3515 B : vector_unsigned_char) return vector_unsigned_short
3517 begin
3518 return To_LL_VUS (vmuleub (To_LL_VSC (A), To_LL_VSC (B)));
3519 end vec_mule;
3521 function vec_mule
3522 (A : vector_signed_char;
3523 B : vector_signed_char) return vector_signed_short
3525 begin
3526 return To_LL_VSS (vmulesb (To_LL_VSC (A), To_LL_VSC (B)));
3527 end vec_mule;
3529 function vec_mule
3530 (A : vector_unsigned_short;
3531 B : vector_unsigned_short) return vector_unsigned_int
3533 begin
3534 return To_LL_VUI (vmuleuh (To_LL_VSS (A), To_LL_VSS (B)));
3535 end vec_mule;
3537 function vec_mule
3538 (A : vector_signed_short;
3539 B : vector_signed_short) return vector_signed_int
3541 begin
3542 return To_LL_VSI (vmulesh (To_LL_VSS (A), To_LL_VSS (B)));
3543 end vec_mule;
3545 -- vec_vmulesh --
3547 function vec_vmulesh
3548 (A : vector_signed_short;
3549 B : vector_signed_short) return vector_signed_int
3551 begin
3552 return To_LL_VSI (vmulesh (To_LL_VSS (A), To_LL_VSS (B)));
3553 end vec_vmulesh;
3555 -- vec_vmuleuh --
3557 function vec_vmuleuh
3558 (A : vector_unsigned_short;
3559 B : vector_unsigned_short) return vector_unsigned_int
3561 begin
3562 return To_LL_VUI (vmuleuh (To_LL_VSS (A), To_LL_VSS (B)));
3563 end vec_vmuleuh;
3565 -- vec_vmulesb --
3567 function vec_vmulesb
3568 (A : vector_signed_char;
3569 B : vector_signed_char) return vector_signed_short
3571 begin
3572 return To_LL_VSS (vmuleub (To_LL_VSC (A), To_LL_VSC (B)));
3573 end vec_vmulesb;
3575 -- vec_vmuleub --
3577 function vec_vmuleub
3578 (A : vector_unsigned_char;
3579 B : vector_unsigned_char) return vector_unsigned_short
3581 begin
3582 return To_LL_VUS (vmuleub (To_LL_VSC (A), To_LL_VSC (B)));
3583 end vec_vmuleub;
3585 -- vec_mulo --
3587 function vec_mulo
3588 (A : vector_unsigned_char;
3589 B : vector_unsigned_char) return vector_unsigned_short
3591 begin
3592 return To_LL_VUS (vmuloub (To_LL_VSC (A), To_LL_VSC (B)));
3593 end vec_mulo;
3595 function vec_mulo
3596 (A : vector_signed_char;
3597 B : vector_signed_char) return vector_signed_short
3599 begin
3600 return To_LL_VSS (vmulosb (To_LL_VSC (A), To_LL_VSC (B)));
3601 end vec_mulo;
3603 function vec_mulo
3604 (A : vector_unsigned_short;
3605 B : vector_unsigned_short) return vector_unsigned_int
3607 begin
3608 return To_LL_VUI (vmulouh (To_LL_VSS (A), To_LL_VSS (B)));
3609 end vec_mulo;
3611 function vec_mulo
3612 (A : vector_signed_short;
3613 B : vector_signed_short) return vector_signed_int
3615 begin
3616 return To_LL_VSI (vmulosh (To_LL_VSS (A), To_LL_VSS (B)));
3617 end vec_mulo;
3619 -- vec_vmulosh --
3621 function vec_vmulosh
3622 (A : vector_signed_short;
3623 B : vector_signed_short) return vector_signed_int
3625 begin
3626 return To_LL_VSI (vmulosh (To_LL_VSS (A), To_LL_VSS (B)));
3627 end vec_vmulosh;
3629 -- vec_vmulouh --
3631 function vec_vmulouh
3632 (A : vector_unsigned_short;
3633 B : vector_unsigned_short) return vector_unsigned_int
3635 begin
3636 return To_LL_VUI (vmulouh (To_LL_VSS (A), To_LL_VSS (B)));
3637 end vec_vmulouh;
3639 -- vec_vmulosb --
3641 function vec_vmulosb
3642 (A : vector_signed_char;
3643 B : vector_signed_char) return vector_signed_short
3645 begin
3646 return To_LL_VSS (vmulosb (To_LL_VSC (A), To_LL_VSC (B)));
3647 end vec_vmulosb;
3649 -- vec_vmuloub --
3651 function vec_vmuloub
3652 (A : vector_unsigned_char;
3653 B : vector_unsigned_char) return vector_unsigned_short
3655 begin
3656 return To_LL_VUS (vmuloub (To_LL_VSC (A), To_LL_VSC (B)));
3657 end vec_vmuloub;
3659 -- vec_nmsub --
3661 function vec_nmsub
3662 (A : vector_float;
3663 B : vector_float;
3664 C : vector_float) return vector_float
3666 begin
3667 return To_LL_VF (vnmsubfp (To_LL_VF (A), To_LL_VF (B), To_LL_VF (C)));
3668 end vec_nmsub;
3670 -- vec_nor --
3672 function vec_nor
3673 (A : vector_float;
3674 B : vector_float) return vector_float
3676 begin
3677 return To_LL_VF (vnor (To_LL_VSI (A), To_LL_VSI (B)));
3678 end vec_nor;
3680 function vec_nor
3681 (A : vector_signed_int;
3682 B : vector_signed_int) return vector_signed_int
3684 begin
3685 return To_LL_VSI (vnor (To_LL_VSI (A), To_LL_VSI (B)));
3686 end vec_nor;
3688 function vec_nor
3689 (A : vector_unsigned_int;
3690 B : vector_unsigned_int) return vector_unsigned_int
3692 begin
3693 return To_LL_VUI (vnor (To_LL_VSI (A), To_LL_VSI (B)));
3694 end vec_nor;
3696 function vec_nor
3697 (A : vector_bool_int;
3698 B : vector_bool_int) return vector_bool_int
3700 begin
3701 return To_LL_VBI (vnor (To_LL_VSI (A), To_LL_VSI (B)));
3702 end vec_nor;
3704 function vec_nor
3705 (A : vector_signed_short;
3706 B : vector_signed_short) return vector_signed_short
3708 begin
3709 return To_LL_VSS (vnor (To_LL_VSI (A), To_LL_VSI (B)));
3710 end vec_nor;
3712 function vec_nor
3713 (A : vector_unsigned_short;
3714 B : vector_unsigned_short) return vector_unsigned_short
3716 begin
3717 return To_LL_VUS (vnor (To_LL_VSI (A), To_LL_VSI (B)));
3718 end vec_nor;
3720 function vec_nor
3721 (A : vector_bool_short;
3722 B : vector_bool_short) return vector_bool_short
3724 begin
3725 return To_LL_VBS (vnor (To_LL_VSI (A), To_LL_VSI (B)));
3726 end vec_nor;
3728 function vec_nor
3729 (A : vector_signed_char;
3730 B : vector_signed_char) return vector_signed_char
3732 begin
3733 return To_LL_VSC (vnor (To_LL_VSI (A), To_LL_VSI (B)));
3734 end vec_nor;
3736 function vec_nor
3737 (A : vector_unsigned_char;
3738 B : vector_unsigned_char) return vector_unsigned_char
3740 begin
3741 return To_LL_VUC (vnor (To_LL_VSI (A), To_LL_VSI (B)));
3742 end vec_nor;
3744 function vec_nor
3745 (A : vector_bool_char;
3746 B : vector_bool_char) return vector_bool_char
3748 begin
3749 return To_LL_VBC (vnor (To_LL_VSI (A), To_LL_VSI (B)));
3750 end vec_nor;
3752 -- vec_or --
3754 function vec_or
3755 (A : vector_float;
3756 B : vector_float) return vector_float
3758 begin
3759 return To_LL_VF (vor (To_LL_VSI (A), To_LL_VSI (B)));
3760 end vec_or;
3762 function vec_or
3763 (A : vector_float;
3764 B : vector_bool_int) return vector_float
3766 begin
3767 return To_LL_VF (vor (To_LL_VSI (A), To_LL_VSI (B)));
3768 end vec_or;
3770 function vec_or
3771 (A : vector_bool_int;
3772 B : vector_float) return vector_float
3774 begin
3775 return To_LL_VF (vor (To_LL_VSI (A), To_LL_VSI (B)));
3776 end vec_or;
3778 function vec_or
3779 (A : vector_bool_int;
3780 B : vector_bool_int) return vector_bool_int
3782 begin
3783 return To_LL_VBI (vor (To_LL_VSI (A), To_LL_VSI (B)));
3784 end vec_or;
3786 function vec_or
3787 (A : vector_bool_int;
3788 B : vector_signed_int) return vector_signed_int
3790 begin
3791 return To_LL_VSI (vor (To_LL_VSI (A), To_LL_VSI (B)));
3792 end vec_or;
3794 function vec_or
3795 (A : vector_signed_int;
3796 B : vector_bool_int) return vector_signed_int
3798 begin
3799 return To_LL_VSI (vor (To_LL_VSI (A), To_LL_VSI (B)));
3800 end vec_or;
3802 function vec_or
3803 (A : vector_signed_int;
3804 B : vector_signed_int) return vector_signed_int
3806 begin
3807 return To_LL_VSI (vor (To_LL_VSI (A), To_LL_VSI (B)));
3808 end vec_or;
3810 function vec_or
3811 (A : vector_bool_int;
3812 B : vector_unsigned_int) return vector_unsigned_int
3814 begin
3815 return To_LL_VUI (vor (To_LL_VSI (A), To_LL_VSI (B)));
3816 end vec_or;
3818 function vec_or
3819 (A : vector_unsigned_int;
3820 B : vector_bool_int) return vector_unsigned_int
3822 begin
3823 return To_LL_VUI (vor (To_LL_VSI (A), To_LL_VSI (B)));
3824 end vec_or;
3826 function vec_or
3827 (A : vector_unsigned_int;
3828 B : vector_unsigned_int) return vector_unsigned_int
3830 begin
3831 return To_LL_VUI (vor (To_LL_VSI (A), To_LL_VSI (B)));
3832 end vec_or;
3834 function vec_or
3835 (A : vector_bool_short;
3836 B : vector_bool_short) return vector_bool_short
3838 begin
3839 return To_LL_VBS (vor (To_LL_VSI (A), To_LL_VSI (B)));
3840 end vec_or;
3842 function vec_or
3843 (A : vector_bool_short;
3844 B : vector_signed_short) return vector_signed_short
3846 begin
3847 return To_LL_VSS (vor (To_LL_VSI (A), To_LL_VSI (B)));
3848 end vec_or;
3850 function vec_or
3851 (A : vector_signed_short;
3852 B : vector_bool_short) return vector_signed_short
3854 begin
3855 return To_LL_VSS (vor (To_LL_VSI (A), To_LL_VSI (B)));
3856 end vec_or;
3858 function vec_or
3859 (A : vector_signed_short;
3860 B : vector_signed_short) return vector_signed_short
3862 begin
3863 return To_LL_VSS (vor (To_LL_VSI (A), To_LL_VSI (B)));
3864 end vec_or;
3866 function vec_or
3867 (A : vector_bool_short;
3868 B : vector_unsigned_short) return vector_unsigned_short
3870 begin
3871 return To_LL_VUS (vor (To_LL_VSI (A), To_LL_VSI (B)));
3872 end vec_or;
3874 function vec_or
3875 (A : vector_unsigned_short;
3876 B : vector_bool_short) return vector_unsigned_short
3878 begin
3879 return To_LL_VUS (vor (To_LL_VSI (A), To_LL_VSI (B)));
3880 end vec_or;
3882 function vec_or
3883 (A : vector_unsigned_short;
3884 B : vector_unsigned_short) return vector_unsigned_short
3886 begin
3887 return To_LL_VUS (vor (To_LL_VSI (A), To_LL_VSI (B)));
3888 end vec_or;
3890 function vec_or
3891 (A : vector_bool_char;
3892 B : vector_signed_char) return vector_signed_char
3894 begin
3895 return To_LL_VSC (vor (To_LL_VSI (A), To_LL_VSI (B)));
3896 end vec_or;
3898 function vec_or
3899 (A : vector_bool_char;
3900 B : vector_bool_char) return vector_bool_char
3902 begin
3903 return To_LL_VBC (vor (To_LL_VSI (A), To_LL_VSI (B)));
3904 end vec_or;
3906 function vec_or
3907 (A : vector_signed_char;
3908 B : vector_bool_char) return vector_signed_char
3910 begin
3911 return To_LL_VSC (vor (To_LL_VSI (A), To_LL_VSI (B)));
3912 end vec_or;
3914 function vec_or
3915 (A : vector_signed_char;
3916 B : vector_signed_char) return vector_signed_char
3918 begin
3919 return To_LL_VSC (vor (To_LL_VSI (A), To_LL_VSI (B)));
3920 end vec_or;
3922 function vec_or
3923 (A : vector_bool_char;
3924 B : vector_unsigned_char) return vector_unsigned_char
3926 begin
3927 return To_LL_VUC (vor (To_LL_VSI (A), To_LL_VSI (B)));
3928 end vec_or;
3930 function vec_or
3931 (A : vector_unsigned_char;
3932 B : vector_bool_char) return vector_unsigned_char
3934 begin
3935 return To_LL_VUC (vor (To_LL_VSI (A), To_LL_VSI (B)));
3936 end vec_or;
3938 function vec_or
3939 (A : vector_unsigned_char;
3940 B : vector_unsigned_char) return vector_unsigned_char
3942 begin
3943 return To_LL_VUC (vor (To_LL_VSI (A), To_LL_VSI (B)));
3944 end vec_or;
3946 -- vec_pack --
3948 function vec_pack
3949 (A : vector_signed_short;
3950 B : vector_signed_short) return vector_signed_char
3952 begin
3953 return To_LL_VSC (vpkuhum (To_LL_VSS (A), To_LL_VSS (B)));
3954 end vec_pack;
3956 function vec_pack
3957 (A : vector_unsigned_short;
3958 B : vector_unsigned_short) return vector_unsigned_char
3960 begin
3961 return To_LL_VUC (vpkuhum (To_LL_VSS (A), To_LL_VSS (B)));
3962 end vec_pack;
3964 function vec_pack
3965 (A : vector_bool_short;
3966 B : vector_bool_short) return vector_bool_char
3968 begin
3969 return To_LL_VBC (vpkuhum (To_LL_VSS (A), To_LL_VSS (B)));
3970 end vec_pack;
3972 function vec_pack
3973 (A : vector_signed_int;
3974 B : vector_signed_int) return vector_signed_short
3976 begin
3977 return To_LL_VSS (vpkuwum (To_LL_VSI (A), To_LL_VSI (B)));
3978 end vec_pack;
3980 function vec_pack
3981 (A : vector_unsigned_int;
3982 B : vector_unsigned_int) return vector_unsigned_short
3984 begin
3985 return To_LL_VUS (vpkuwum (To_LL_VSI (A), To_LL_VSI (B)));
3986 end vec_pack;
3988 function vec_pack
3989 (A : vector_bool_int;
3990 B : vector_bool_int) return vector_bool_short
3992 begin
3993 return To_LL_VBS (vpkuwum (To_LL_VSI (A), To_LL_VSI (B)));
3994 end vec_pack;
3996 -- vec_vpkuwum --
3998 function vec_vpkuwum
3999 (A : vector_bool_int;
4000 B : vector_bool_int) return vector_bool_short
4002 begin
4003 return To_LL_VBS (vpkuwum (To_LL_VSI (A), To_LL_VSI (B)));
4004 end vec_vpkuwum;
4006 function vec_vpkuwum
4007 (A : vector_signed_int;
4008 B : vector_signed_int) return vector_signed_short
4010 begin
4011 return To_LL_VSS (vpkuwum (To_LL_VSI (A), To_LL_VSI (B)));
4012 end vec_vpkuwum;
4014 function vec_vpkuwum
4015 (A : vector_unsigned_int;
4016 B : vector_unsigned_int) return vector_unsigned_short
4018 begin
4019 return To_LL_VUS (vpkuwum (To_LL_VSI (A), To_LL_VSI (B)));
4020 end vec_vpkuwum;
4022 -- vec_vpkuhum --
4024 function vec_vpkuhum
4025 (A : vector_bool_short;
4026 B : vector_bool_short) return vector_bool_char
4028 begin
4029 return To_LL_VBC (vpkuhum (To_LL_VSS (A), To_LL_VSS (B)));
4030 end vec_vpkuhum;
4032 function vec_vpkuhum
4033 (A : vector_signed_short;
4034 B : vector_signed_short) return vector_signed_char
4036 begin
4037 return To_LL_VSC (vpkuhum (To_LL_VSS (A), To_LL_VSS (B)));
4038 end vec_vpkuhum;
4040 function vec_vpkuhum
4041 (A : vector_unsigned_short;
4042 B : vector_unsigned_short) return vector_unsigned_char
4044 begin
4045 return To_LL_VUC (vpkuhum (To_LL_VSS (A), To_LL_VSS (B)));
4046 end vec_vpkuhum;
4048 -- vec_packpx --
4050 function vec_packpx
4051 (A : vector_unsigned_int;
4052 B : vector_unsigned_int) return vector_pixel
4054 begin
4055 return To_LL_VP (vpkpx (To_LL_VSI (A), To_LL_VSI (B)));
4056 end vec_packpx;
4058 -- vec_packs --
4060 function vec_packs
4061 (A : vector_unsigned_short;
4062 B : vector_unsigned_short) return vector_unsigned_char
4064 begin
4065 return To_LL_VUC (vpkuhus (To_LL_VSS (A), To_LL_VSS (B)));
4066 end vec_packs;
4068 function vec_packs
4069 (A : vector_signed_short;
4070 B : vector_signed_short) return vector_signed_char
4072 begin
4073 return To_LL_VSC (vpkshss (To_LL_VSS (A), To_LL_VSS (B)));
4074 end vec_packs;
4076 function vec_packs
4077 (A : vector_unsigned_int;
4078 B : vector_unsigned_int) return vector_unsigned_short
4080 begin
4081 return To_LL_VUS (vpkuwus (To_LL_VSI (A), To_LL_VSI (B)));
4082 end vec_packs;
4084 function vec_packs
4085 (A : vector_signed_int;
4086 B : vector_signed_int) return vector_signed_short
4088 begin
4089 return To_LL_VSS (vpkswss (To_LL_VSI (A), To_LL_VSI (B)));
4090 end vec_packs;
4092 -- vec_vpkswss --
4094 function vec_vpkswss
4095 (A : vector_signed_int;
4096 B : vector_signed_int) return vector_signed_short
4098 begin
4099 return To_LL_VSS (vpkswss (To_LL_VSI (A), To_LL_VSI (B)));
4100 end vec_vpkswss;
4102 -- vec_vpkuwus --
4104 function vec_vpkuwus
4105 (A : vector_unsigned_int;
4106 B : vector_unsigned_int) return vector_unsigned_short
4108 begin
4109 return To_LL_VUS (vpkuwus (To_LL_VSI (A), To_LL_VSI (B)));
4110 end vec_vpkuwus;
4112 -- vec_vpkshss --
4114 function vec_vpkshss
4115 (A : vector_signed_short;
4116 B : vector_signed_short) return vector_signed_char
4118 begin
4119 return To_LL_VSC (vpkshss (To_LL_VSS (A), To_LL_VSS (B)));
4120 end vec_vpkshss;
4122 -- vec_vpkuhus --
4124 function vec_vpkuhus
4125 (A : vector_unsigned_short;
4126 B : vector_unsigned_short) return vector_unsigned_char
4128 begin
4129 return To_LL_VUC (vpkuhus (To_LL_VSS (A), To_LL_VSS (B)));
4130 end vec_vpkuhus;
4132 -- vec_packsu --
4134 function vec_packsu
4135 (A : vector_unsigned_short;
4136 B : vector_unsigned_short) return vector_unsigned_char
4138 begin
4139 return To_LL_VUC (vpkuhus (To_LL_VSS (A), To_LL_VSS (B)));
4140 end vec_packsu;
4142 function vec_packsu
4143 (A : vector_signed_short;
4144 B : vector_signed_short) return vector_unsigned_char
4146 begin
4147 return To_LL_VUC (vpkshus (To_LL_VSS (A), To_LL_VSS (B)));
4148 end vec_packsu;
4150 function vec_packsu
4151 (A : vector_unsigned_int;
4152 B : vector_unsigned_int) return vector_unsigned_short
4154 begin
4155 return To_LL_VUS (vpkuwus (To_LL_VSI (A), To_LL_VSI (B)));
4156 end vec_packsu;
4158 function vec_packsu
4159 (A : vector_signed_int;
4160 B : vector_signed_int) return vector_unsigned_short
4162 begin
4163 return To_LL_VUS (vpkswus (To_LL_VSI (A), To_LL_VSI (B)));
4164 end vec_packsu;
4166 -- vec_vpkswus --
4168 function vec_vpkswus
4169 (A : vector_signed_int;
4170 B : vector_signed_int) return vector_unsigned_short
4172 begin
4173 return To_LL_VUS (vpkswus (To_LL_VSI (A), To_LL_VSI (B)));
4174 end vec_vpkswus;
4176 -- vec_vpkshus --
4178 function vec_vpkshus
4179 (A : vector_signed_short;
4180 B : vector_signed_short) return vector_unsigned_char
4182 begin
4183 return To_LL_VUC (vpkshus (To_LL_VSS (A), To_LL_VSS (B)));
4184 end vec_vpkshus;
4186 -- vec_perm --
4188 function vec_perm
4189 (A : vector_float;
4190 B : vector_float;
4191 C : vector_unsigned_char) return vector_float
4193 begin
4194 return
4195 To_LL_VF (vperm_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSC (C)));
4196 end vec_perm;
4198 function vec_perm
4199 (A : vector_signed_int;
4200 B : vector_signed_int;
4201 C : vector_unsigned_char) return vector_signed_int
4203 begin
4204 return
4205 To_LL_VSI (vperm_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSC (C)));
4206 end vec_perm;
4208 function vec_perm
4209 (A : vector_unsigned_int;
4210 B : vector_unsigned_int;
4211 C : vector_unsigned_char) return vector_unsigned_int
4213 begin
4214 return
4215 To_LL_VUI (vperm_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSC (C)));
4216 end vec_perm;
4218 function vec_perm
4219 (A : vector_bool_int;
4220 B : vector_bool_int;
4221 C : vector_unsigned_char) return vector_bool_int
4223 begin
4224 return
4225 To_LL_VBI (vperm_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSC (C)));
4226 end vec_perm;
4228 function vec_perm
4229 (A : vector_signed_short;
4230 B : vector_signed_short;
4231 C : vector_unsigned_char) return vector_signed_short
4233 begin
4234 return
4235 To_LL_VSS (vperm_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSC (C)));
4236 end vec_perm;
4238 function vec_perm
4239 (A : vector_unsigned_short;
4240 B : vector_unsigned_short;
4241 C : vector_unsigned_char) return vector_unsigned_short
4243 begin
4244 return
4245 To_LL_VUS (vperm_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSC (C)));
4246 end vec_perm;
4248 function vec_perm
4249 (A : vector_bool_short;
4250 B : vector_bool_short;
4251 C : vector_unsigned_char) return vector_bool_short
4253 begin
4254 return
4255 To_LL_VBS (vperm_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSC (C)));
4256 end vec_perm;
4258 function vec_perm
4259 (A : vector_pixel;
4260 B : vector_pixel;
4261 C : vector_unsigned_char) return vector_pixel
4263 begin
4264 return To_LL_VP
4265 (vperm_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSC (C)));
4266 end vec_perm;
4268 function vec_perm
4269 (A : vector_signed_char;
4270 B : vector_signed_char;
4271 C : vector_unsigned_char) return vector_signed_char
4273 begin
4274 return To_LL_VSC
4275 (vperm_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSC (C)));
4276 end vec_perm;
4278 function vec_perm
4279 (A : vector_unsigned_char;
4280 B : vector_unsigned_char;
4281 C : vector_unsigned_char) return vector_unsigned_char
4283 begin
4284 return
4285 To_LL_VUC (vperm_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSC (C)));
4286 end vec_perm;
4288 function vec_perm
4289 (A : vector_bool_char;
4290 B : vector_bool_char;
4291 C : vector_unsigned_char) return vector_bool_char
4293 begin
4294 return
4295 To_LL_VBC (vperm_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSC (C)));
4296 end vec_perm;
4298 -- vec_re --
4300 function vec_re
4301 (A : vector_float) return vector_float
4303 begin
4304 return To_LL_VF (vrefp (To_LL_VF (A)));
4305 end vec_re;
4307 -- vec_rl --
4309 function vec_rl
4310 (A : vector_signed_char;
4311 B : vector_unsigned_char) return vector_signed_char
4313 begin
4314 return To_LL_VSC (vrlb (To_LL_VSC (A), To_LL_VSC (B)));
4315 end vec_rl;
4317 function vec_rl
4318 (A : vector_unsigned_char;
4319 B : vector_unsigned_char) return vector_unsigned_char
4321 begin
4322 return To_LL_VUC (vrlb (To_LL_VSC (A), To_LL_VSC (B)));
4323 end vec_rl;
4325 function vec_rl
4326 (A : vector_signed_short;
4327 B : vector_unsigned_short) return vector_signed_short
4329 begin
4330 return To_LL_VSS (vrlh (To_LL_VSS (A), To_LL_VSS (B)));
4331 end vec_rl;
4333 function vec_rl
4334 (A : vector_unsigned_short;
4335 B : vector_unsigned_short) return vector_unsigned_short
4337 begin
4338 return To_LL_VUS (vrlh (To_LL_VSS (A), To_LL_VSS (B)));
4339 end vec_rl;
4341 function vec_rl
4342 (A : vector_signed_int;
4343 B : vector_unsigned_int) return vector_signed_int
4345 begin
4346 return To_LL_VSI (vrlw (To_LL_VSI (A), To_LL_VSI (B)));
4347 end vec_rl;
4349 function vec_rl
4350 (A : vector_unsigned_int;
4351 B : vector_unsigned_int) return vector_unsigned_int
4353 begin
4354 return To_LL_VUI (vrlw (To_LL_VSI (A), To_LL_VSI (B)));
4355 end vec_rl;
4357 -- vec_vrlw --
4359 function vec_vrlw
4360 (A : vector_signed_int;
4361 B : vector_unsigned_int) return vector_signed_int
4363 begin
4364 return To_LL_VSI (vrlw (To_LL_VSI (A), To_LL_VSI (B)));
4365 end vec_vrlw;
4367 function vec_vrlw
4368 (A : vector_unsigned_int;
4369 B : vector_unsigned_int) return vector_unsigned_int
4371 begin
4372 return To_LL_VUI (vrlw (To_LL_VSI (A), To_LL_VSI (B)));
4373 end vec_vrlw;
4375 -- vec_vrlh --
4377 function vec_vrlh
4378 (A : vector_signed_short;
4379 B : vector_unsigned_short) return vector_signed_short
4381 begin
4382 return To_LL_VSS (vrlh (To_LL_VSS (A), To_LL_VSS (B)));
4383 end vec_vrlh;
4385 function vec_vrlh
4386 (A : vector_unsigned_short;
4387 B : vector_unsigned_short) return vector_unsigned_short
4389 begin
4390 return To_LL_VUS (vrlh (To_LL_VSS (A), To_LL_VSS (B)));
4391 end vec_vrlh;
4393 -- vec_vrlb --
4395 function vec_vrlb
4396 (A : vector_signed_char;
4397 B : vector_unsigned_char) return vector_signed_char
4399 begin
4400 return To_LL_VSC (vrlb (To_LL_VSC (A), To_LL_VSC (B)));
4401 end vec_vrlb;
4403 function vec_vrlb
4404 (A : vector_unsigned_char;
4405 B : vector_unsigned_char) return vector_unsigned_char
4407 begin
4408 return To_LL_VUC (vrlb (To_LL_VSC (A), To_LL_VSC (B)));
4409 end vec_vrlb;
4411 -- vec_round --
4413 function vec_round
4414 (A : vector_float) return vector_float
4416 begin
4417 return To_LL_VF (vrfin (To_LL_VF (A)));
4418 end vec_round;
4420 -- vec_rsqrte --
4422 function vec_rsqrte
4423 (A : vector_float) return vector_float
4425 begin
4426 return To_LL_VF (vrsqrtefp (To_LL_VF (A)));
4427 end vec_rsqrte;
4429 -- vec_sel --
4431 function vec_sel
4432 (A : vector_float;
4433 B : vector_float;
4434 C : vector_bool_int) return vector_float
4436 begin
4437 return To_LL_VF (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4438 end vec_sel;
4440 function vec_sel
4441 (A : vector_float;
4442 B : vector_float;
4443 C : vector_unsigned_int) return vector_float
4445 begin
4446 return To_LL_VF (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4447 end vec_sel;
4449 function vec_sel
4450 (A : vector_signed_int;
4451 B : vector_signed_int;
4452 C : vector_bool_int) return vector_signed_int
4454 begin
4455 return
4456 To_LL_VSI (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4457 end vec_sel;
4459 function vec_sel
4460 (A : vector_signed_int;
4461 B : vector_signed_int;
4462 C : vector_unsigned_int) return vector_signed_int
4464 begin
4465 return
4466 To_LL_VSI (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4467 end vec_sel;
4469 function vec_sel
4470 (A : vector_unsigned_int;
4471 B : vector_unsigned_int;
4472 C : vector_bool_int) return vector_unsigned_int
4474 begin
4475 return
4476 To_LL_VUI (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4477 end vec_sel;
4479 function vec_sel
4480 (A : vector_unsigned_int;
4481 B : vector_unsigned_int;
4482 C : vector_unsigned_int) return vector_unsigned_int
4484 begin
4485 return
4486 To_LL_VUI (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4487 end vec_sel;
4489 function vec_sel
4490 (A : vector_bool_int;
4491 B : vector_bool_int;
4492 C : vector_bool_int) return vector_bool_int
4494 begin
4495 return
4496 To_LL_VBI (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4497 end vec_sel;
4499 function vec_sel
4500 (A : vector_bool_int;
4501 B : vector_bool_int;
4502 C : vector_unsigned_int) return vector_bool_int
4504 begin
4505 return
4506 To_LL_VBI (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4507 end vec_sel;
4509 function vec_sel
4510 (A : vector_signed_short;
4511 B : vector_signed_short;
4512 C : vector_bool_short) return vector_signed_short
4514 begin
4515 return
4516 To_LL_VSS (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4517 end vec_sel;
4519 function vec_sel
4520 (A : vector_signed_short;
4521 B : vector_signed_short;
4522 C : vector_unsigned_short) return vector_signed_short
4524 begin
4525 return
4526 To_LL_VSS (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4527 end vec_sel;
4529 function vec_sel
4530 (A : vector_unsigned_short;
4531 B : vector_unsigned_short;
4532 C : vector_bool_short) return vector_unsigned_short
4534 begin
4535 return
4536 To_LL_VUS (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4537 end vec_sel;
4539 function vec_sel
4540 (A : vector_unsigned_short;
4541 B : vector_unsigned_short;
4542 C : vector_unsigned_short) return vector_unsigned_short
4544 begin
4545 return
4546 To_LL_VUS (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4547 end vec_sel;
4549 function vec_sel
4550 (A : vector_bool_short;
4551 B : vector_bool_short;
4552 C : vector_bool_short) return vector_bool_short
4554 begin
4555 return
4556 To_LL_VBS (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4557 end vec_sel;
4559 function vec_sel
4560 (A : vector_bool_short;
4561 B : vector_bool_short;
4562 C : vector_unsigned_short) return vector_bool_short
4564 begin
4565 return
4566 To_LL_VBS (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4567 end vec_sel;
4569 function vec_sel
4570 (A : vector_signed_char;
4571 B : vector_signed_char;
4572 C : vector_bool_char) return vector_signed_char
4574 begin
4575 return
4576 To_LL_VSC (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4577 end vec_sel;
4579 function vec_sel
4580 (A : vector_signed_char;
4581 B : vector_signed_char;
4582 C : vector_unsigned_char) return vector_signed_char
4584 begin
4585 return
4586 To_LL_VSC (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4587 end vec_sel;
4589 function vec_sel
4590 (A : vector_unsigned_char;
4591 B : vector_unsigned_char;
4592 C : vector_bool_char) return vector_unsigned_char
4594 begin
4595 return
4596 To_LL_VUC (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4597 end vec_sel;
4599 function vec_sel
4600 (A : vector_unsigned_char;
4601 B : vector_unsigned_char;
4602 C : vector_unsigned_char) return vector_unsigned_char
4604 begin
4605 return
4606 To_LL_VUC (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4607 end vec_sel;
4609 function vec_sel
4610 (A : vector_bool_char;
4611 B : vector_bool_char;
4612 C : vector_bool_char) return vector_bool_char
4614 begin
4615 return
4616 To_LL_VBC (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4617 end vec_sel;
4619 function vec_sel
4620 (A : vector_bool_char;
4621 B : vector_bool_char;
4622 C : vector_unsigned_char) return vector_bool_char
4624 begin
4625 return
4626 To_LL_VBC (vsel_4si (To_LL_VSI (A), To_LL_VSI (B), To_LL_VSI (C)));
4627 end vec_sel;
4629 -- vec_sl --
4631 function vec_sl
4632 (A : vector_signed_char;
4633 B : vector_unsigned_char) return vector_signed_char
4635 begin
4636 return To_LL_VSC (vslb (To_LL_VSC (A), To_LL_VSC (B)));
4637 end vec_sl;
4639 function vec_sl
4640 (A : vector_unsigned_char;
4641 B : vector_unsigned_char) return vector_unsigned_char
4643 begin
4644 return To_LL_VUC (vslb (To_LL_VSC (A), To_LL_VSC (B)));
4645 end vec_sl;
4647 function vec_sl
4648 (A : vector_signed_short;
4649 B : vector_unsigned_short) return vector_signed_short
4651 begin
4652 return To_LL_VSS (vslh (To_LL_VSS (A), To_LL_VSS (B)));
4653 end vec_sl;
4655 function vec_sl
4656 (A : vector_unsigned_short;
4657 B : vector_unsigned_short) return vector_unsigned_short
4659 begin
4660 return To_LL_VUS (vslh (To_LL_VSS (A), To_LL_VSS (B)));
4661 end vec_sl;
4663 function vec_sl
4664 (A : vector_signed_int;
4665 B : vector_unsigned_int) return vector_signed_int
4667 begin
4668 return To_LL_VSI (vslw (To_LL_VSI (A), To_LL_VSI (B)));
4669 end vec_sl;
4671 function vec_sl
4672 (A : vector_unsigned_int;
4673 B : vector_unsigned_int) return vector_unsigned_int
4675 begin
4676 return To_LL_VUI (vslw (To_LL_VSI (A), To_LL_VSI (B)));
4677 end vec_sl;
4679 -- vec_vslw --
4681 function vec_vslw
4682 (A : vector_signed_int;
4683 B : vector_unsigned_int) return vector_signed_int
4685 begin
4686 return To_LL_VSI (vslw (To_LL_VSI (A), To_LL_VSI (B)));
4687 end vec_vslw;
4689 function vec_vslw
4690 (A : vector_unsigned_int;
4691 B : vector_unsigned_int) return vector_unsigned_int
4693 begin
4694 return To_LL_VUI (vslw (To_LL_VSI (A), To_LL_VSI (B)));
4695 end vec_vslw;
4697 -- vec_vslh --
4699 function vec_vslh
4700 (A : vector_signed_short;
4701 B : vector_unsigned_short) return vector_signed_short
4703 begin
4704 return To_LL_VSS (vslh (To_LL_VSS (A), To_LL_VSS (B)));
4705 end vec_vslh;
4707 function vec_vslh
4708 (A : vector_unsigned_short;
4709 B : vector_unsigned_short) return vector_unsigned_short
4711 begin
4712 return To_LL_VUS (vslh (To_LL_VSS (A), To_LL_VSS (B)));
4713 end vec_vslh;
4715 -- vec_vslb --
4717 function vec_vslb
4718 (A : vector_signed_char;
4719 B : vector_unsigned_char) return vector_signed_char
4721 begin
4722 return To_LL_VSC (vslb (To_LL_VSC (A), To_LL_VSC (B)));
4723 end vec_vslb;
4725 function vec_vslb
4726 (A : vector_unsigned_char;
4727 B : vector_unsigned_char) return vector_unsigned_char
4729 begin
4730 return To_LL_VUC (vslb (To_LL_VSC (A), To_LL_VSC (B)));
4731 end vec_vslb;
4733 -- vec_sll --
4735 function vec_sll
4736 (A : vector_signed_int;
4737 B : vector_unsigned_int) return vector_signed_int
4739 begin
4740 return To_LL_VSI (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4741 end vec_sll;
4743 function vec_sll
4744 (A : vector_signed_int;
4745 B : vector_unsigned_short) return vector_signed_int
4747 begin
4748 return To_LL_VSI (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4749 end vec_sll;
4751 function vec_sll
4752 (A : vector_signed_int;
4753 B : vector_unsigned_char) return vector_signed_int
4755 begin
4756 return To_LL_VSI (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4757 end vec_sll;
4759 function vec_sll
4760 (A : vector_unsigned_int;
4761 B : vector_unsigned_int) return vector_unsigned_int
4763 begin
4764 return To_LL_VUI (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4765 end vec_sll;
4767 function vec_sll
4768 (A : vector_unsigned_int;
4769 B : vector_unsigned_short) return vector_unsigned_int
4771 begin
4772 return To_LL_VUI (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4773 end vec_sll;
4775 function vec_sll
4776 (A : vector_unsigned_int;
4777 B : vector_unsigned_char) return vector_unsigned_int
4779 begin
4780 return To_LL_VUI (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4781 end vec_sll;
4783 function vec_sll
4784 (A : vector_bool_int;
4785 B : vector_unsigned_int) return vector_bool_int
4787 begin
4788 return To_LL_VBI (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4789 end vec_sll;
4791 function vec_sll
4792 (A : vector_bool_int;
4793 B : vector_unsigned_short) return vector_bool_int
4795 begin
4796 return To_LL_VBI (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4797 end vec_sll;
4799 function vec_sll
4800 (A : vector_bool_int;
4801 B : vector_unsigned_char) return vector_bool_int
4803 begin
4804 return To_LL_VBI (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4805 end vec_sll;
4807 function vec_sll
4808 (A : vector_signed_short;
4809 B : vector_unsigned_int) return vector_signed_short
4811 begin
4812 return To_LL_VSS (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4813 end vec_sll;
4815 function vec_sll
4816 (A : vector_signed_short;
4817 B : vector_unsigned_short) return vector_signed_short
4819 begin
4820 return To_LL_VSS (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4821 end vec_sll;
4823 function vec_sll
4824 (A : vector_signed_short;
4825 B : vector_unsigned_char) return vector_signed_short
4827 begin
4828 return To_LL_VSS (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4829 end vec_sll;
4831 function vec_sll
4832 (A : vector_unsigned_short;
4833 B : vector_unsigned_int) return vector_unsigned_short
4835 begin
4836 return To_LL_VUS (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4837 end vec_sll;
4839 function vec_sll
4840 (A : vector_unsigned_short;
4841 B : vector_unsigned_short) return vector_unsigned_short
4843 begin
4844 return To_LL_VUS (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4845 end vec_sll;
4847 function vec_sll
4848 (A : vector_unsigned_short;
4849 B : vector_unsigned_char) return vector_unsigned_short
4851 begin
4852 return To_LL_VUS (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4853 end vec_sll;
4855 function vec_sll
4856 (A : vector_bool_short;
4857 B : vector_unsigned_int) return vector_bool_short
4859 begin
4860 return To_LL_VBS (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4861 end vec_sll;
4863 function vec_sll
4864 (A : vector_bool_short;
4865 B : vector_unsigned_short) return vector_bool_short
4867 begin
4868 return To_LL_VBS (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4869 end vec_sll;
4871 function vec_sll
4872 (A : vector_bool_short;
4873 B : vector_unsigned_char) return vector_bool_short
4875 begin
4876 return To_LL_VBS (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4877 end vec_sll;
4879 function vec_sll
4880 (A : vector_pixel;
4881 B : vector_unsigned_int) return vector_pixel
4883 begin
4884 return To_LL_VP (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4885 end vec_sll;
4887 function vec_sll
4888 (A : vector_pixel;
4889 B : vector_unsigned_short) return vector_pixel
4891 begin
4892 return To_LL_VP (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4893 end vec_sll;
4895 function vec_sll
4896 (A : vector_pixel;
4897 B : vector_unsigned_char) return vector_pixel
4899 begin
4900 return To_LL_VP (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4901 end vec_sll;
4903 function vec_sll
4904 (A : vector_signed_char;
4905 B : vector_unsigned_int) return vector_signed_char
4907 begin
4908 return To_LL_VSC (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4909 end vec_sll;
4911 function vec_sll
4912 (A : vector_signed_char;
4913 B : vector_unsigned_short) return vector_signed_char
4915 begin
4916 return To_LL_VSC (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4917 end vec_sll;
4919 function vec_sll
4920 (A : vector_signed_char;
4921 B : vector_unsigned_char) return vector_signed_char
4923 begin
4924 return To_LL_VSC (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4925 end vec_sll;
4927 function vec_sll
4928 (A : vector_unsigned_char;
4929 B : vector_unsigned_int) return vector_unsigned_char
4931 begin
4932 return To_LL_VUC (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4933 end vec_sll;
4935 function vec_sll
4936 (A : vector_unsigned_char;
4937 B : vector_unsigned_short) return vector_unsigned_char
4939 begin
4940 return To_LL_VUC (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4941 end vec_sll;
4943 function vec_sll
4944 (A : vector_unsigned_char;
4945 B : vector_unsigned_char) return vector_unsigned_char
4947 begin
4948 return To_LL_VUC (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4949 end vec_sll;
4951 function vec_sll
4952 (A : vector_bool_char;
4953 B : vector_unsigned_int) return vector_bool_char
4955 begin
4956 return To_LL_VBC (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4957 end vec_sll;
4959 function vec_sll
4960 (A : vector_bool_char;
4961 B : vector_unsigned_short) return vector_bool_char
4963 begin
4964 return To_LL_VBC (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4965 end vec_sll;
4967 function vec_sll
4968 (A : vector_bool_char;
4969 B : vector_unsigned_char) return vector_bool_char
4971 begin
4972 return To_LL_VBC (vsl (To_LL_VSI (A), To_LL_VSI (B)));
4973 end vec_sll;
4975 -- vec_slo --
4977 function vec_slo
4978 (A : vector_float;
4979 B : vector_signed_char) return vector_float
4981 begin
4982 return To_LL_VF (vslo (To_LL_VSI (A), To_LL_VSI (B)));
4983 end vec_slo;
4985 function vec_slo
4986 (A : vector_float;
4987 B : vector_unsigned_char) return vector_float
4989 begin
4990 return To_LL_VF (vslo (To_LL_VSI (A), To_LL_VSI (B)));
4991 end vec_slo;
4993 function vec_slo
4994 (A : vector_signed_int;
4995 B : vector_signed_char) return vector_signed_int
4997 begin
4998 return To_LL_VSI (vslo (To_LL_VSI (A), To_LL_VSI (B)));
4999 end vec_slo;
5001 function vec_slo
5002 (A : vector_signed_int;
5003 B : vector_unsigned_char) return vector_signed_int
5005 begin
5006 return To_LL_VSI (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5007 end vec_slo;
5009 function vec_slo
5010 (A : vector_unsigned_int;
5011 B : vector_signed_char) return vector_unsigned_int
5013 begin
5014 return To_LL_VUI (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5015 end vec_slo;
5017 function vec_slo
5018 (A : vector_unsigned_int;
5019 B : vector_unsigned_char) return vector_unsigned_int
5021 begin
5022 return To_LL_VUI (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5023 end vec_slo;
5025 function vec_slo
5026 (A : vector_signed_short;
5027 B : vector_signed_char) return vector_signed_short
5029 begin
5030 return To_LL_VSS (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5031 end vec_slo;
5033 function vec_slo
5034 (A : vector_signed_short;
5035 B : vector_unsigned_char) return vector_signed_short
5037 begin
5038 return To_LL_VSS (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5039 end vec_slo;
5041 function vec_slo
5042 (A : vector_unsigned_short;
5043 B : vector_signed_char) return vector_unsigned_short
5045 begin
5046 return To_LL_VUS (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5047 end vec_slo;
5049 function vec_slo
5050 (A : vector_unsigned_short;
5051 B : vector_unsigned_char) return vector_unsigned_short
5053 begin
5054 return To_LL_VUS (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5055 end vec_slo;
5057 function vec_slo
5058 (A : vector_pixel;
5059 B : vector_signed_char) return vector_pixel
5061 begin
5062 return To_LL_VP (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5063 end vec_slo;
5065 function vec_slo
5066 (A : vector_pixel;
5067 B : vector_unsigned_char) return vector_pixel
5069 begin
5070 return To_LL_VP (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5071 end vec_slo;
5073 function vec_slo
5074 (A : vector_signed_char;
5075 B : vector_signed_char) return vector_signed_char
5077 begin
5078 return To_LL_VSC (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5079 end vec_slo;
5081 function vec_slo
5082 (A : vector_signed_char;
5083 B : vector_unsigned_char) return vector_signed_char
5085 begin
5086 return To_LL_VSC (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5087 end vec_slo;
5089 function vec_slo
5090 (A : vector_unsigned_char;
5091 B : vector_signed_char) return vector_unsigned_char
5093 begin
5094 return To_LL_VUC (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5095 end vec_slo;
5097 function vec_slo
5098 (A : vector_unsigned_char;
5099 B : vector_unsigned_char) return vector_unsigned_char
5101 begin
5102 return To_LL_VUC (vslo (To_LL_VSI (A), To_LL_VSI (B)));
5103 end vec_slo;
5105 -- vec_sr --
5107 function vec_sr
5108 (A : vector_signed_char;
5109 B : vector_unsigned_char) return vector_signed_char
5111 begin
5112 return To_LL_VSC (vsrb (To_LL_VSC (A), To_LL_VSC (B)));
5113 end vec_sr;
5115 function vec_sr
5116 (A : vector_unsigned_char;
5117 B : vector_unsigned_char) return vector_unsigned_char
5119 begin
5120 return To_LL_VUC (vsrb (To_LL_VSC (A), To_LL_VSC (B)));
5121 end vec_sr;
5123 function vec_sr
5124 (A : vector_signed_short;
5125 B : vector_unsigned_short) return vector_signed_short
5127 begin
5128 return To_LL_VSS (vsrh (To_LL_VSS (A), To_LL_VSS (B)));
5129 end vec_sr;
5131 function vec_sr
5132 (A : vector_unsigned_short;
5133 B : vector_unsigned_short) return vector_unsigned_short
5135 begin
5136 return To_LL_VUS (vsrh (To_LL_VSS (A), To_LL_VSS (B)));
5137 end vec_sr;
5139 function vec_sr
5140 (A : vector_signed_int;
5141 B : vector_unsigned_int) return vector_signed_int
5143 begin
5144 return To_LL_VSI (vsrw (To_LL_VSI (A), To_LL_VSI (B)));
5145 end vec_sr;
5147 function vec_sr
5148 (A : vector_unsigned_int;
5149 B : vector_unsigned_int) return vector_unsigned_int
5151 begin
5152 return To_LL_VUI (vsrw (To_LL_VSI (A), To_LL_VSI (B)));
5153 end vec_sr;
5155 -- vec_vsrw --
5157 function vec_vsrw
5158 (A : vector_signed_int;
5159 B : vector_unsigned_int) return vector_signed_int
5161 begin
5162 return To_LL_VSI (vsrw (To_LL_VSI (A), To_LL_VSI (B)));
5163 end vec_vsrw;
5165 function vec_vsrw
5166 (A : vector_unsigned_int;
5167 B : vector_unsigned_int) return vector_unsigned_int
5169 begin
5170 return To_LL_VUI (vsrw (To_LL_VSI (A), To_LL_VSI (B)));
5171 end vec_vsrw;
5173 -- vec_vsrh --
5175 function vec_vsrh
5176 (A : vector_signed_short;
5177 B : vector_unsigned_short) return vector_signed_short
5179 begin
5180 return To_LL_VSS (vsrh (To_LL_VSS (A), To_LL_VSS (B)));
5181 end vec_vsrh;
5183 function vec_vsrh
5184 (A : vector_unsigned_short;
5185 B : vector_unsigned_short) return vector_unsigned_short
5187 begin
5188 return To_LL_VUS (vsrh (To_LL_VSS (A), To_LL_VSS (B)));
5189 end vec_vsrh;
5191 -- vec_vsrb --
5193 function vec_vsrb
5194 (A : vector_signed_char;
5195 B : vector_unsigned_char) return vector_signed_char
5197 begin
5198 return To_LL_VSC (vsrb (To_LL_VSC (A), To_LL_VSC (B)));
5199 end vec_vsrb;
5201 function vec_vsrb
5202 (A : vector_unsigned_char;
5203 B : vector_unsigned_char) return vector_unsigned_char
5205 begin
5206 return To_LL_VUC (vsrb (To_LL_VSC (A), To_LL_VSC (B)));
5207 end vec_vsrb;
5209 -- vec_sra --
5211 function vec_sra
5212 (A : vector_signed_char;
5213 B : vector_unsigned_char) return vector_signed_char
5215 begin
5216 return To_LL_VSC (vsrab (To_LL_VSC (A), To_LL_VSC (B)));
5217 end vec_sra;
5219 function vec_sra
5220 (A : vector_unsigned_char;
5221 B : vector_unsigned_char) return vector_unsigned_char
5223 begin
5224 return To_LL_VUC (vsrab (To_LL_VSC (A), To_LL_VSC (B)));
5225 end vec_sra;
5227 function vec_sra
5228 (A : vector_signed_short;
5229 B : vector_unsigned_short) return vector_signed_short
5231 begin
5232 return To_LL_VSS (vsrah (To_LL_VSS (A), To_LL_VSS (B)));
5233 end vec_sra;
5235 function vec_sra
5236 (A : vector_unsigned_short;
5237 B : vector_unsigned_short) return vector_unsigned_short
5239 begin
5240 return To_LL_VUS (vsrah (To_LL_VSS (A), To_LL_VSS (B)));
5241 end vec_sra;
5243 function vec_sra
5244 (A : vector_signed_int;
5245 B : vector_unsigned_int) return vector_signed_int
5247 begin
5248 return To_LL_VSI (vsraw (To_LL_VSI (A), To_LL_VSI (B)));
5249 end vec_sra;
5251 function vec_sra
5252 (A : vector_unsigned_int;
5253 B : vector_unsigned_int) return vector_unsigned_int
5255 begin
5256 return To_LL_VUI (vsraw (To_LL_VSI (A), To_LL_VSI (B)));
5257 end vec_sra;
5259 -- vec_vsraw --
5261 function vec_vsraw
5262 (A : vector_signed_int;
5263 B : vector_unsigned_int) return vector_signed_int
5265 begin
5266 return To_LL_VSI (vsraw (To_LL_VSI (A), To_LL_VSI (B)));
5267 end vec_vsraw;
5269 function vec_vsraw
5270 (A : vector_unsigned_int;
5271 B : vector_unsigned_int) return vector_unsigned_int
5273 begin
5274 return To_LL_VUI (vsraw (To_LL_VSI (A), To_LL_VSI (B)));
5275 end vec_vsraw;
5277 -- vec_vsrah --
5279 function vec_vsrah
5280 (A : vector_signed_short;
5281 B : vector_unsigned_short) return vector_signed_short
5283 begin
5284 return To_LL_VSS (vsrah (To_LL_VSS (A), To_LL_VSS (B)));
5285 end vec_vsrah;
5287 function vec_vsrah
5288 (A : vector_unsigned_short;
5289 B : vector_unsigned_short) return vector_unsigned_short
5291 begin
5292 return To_LL_VUS (vsrah (To_LL_VSS (A), To_LL_VSS (B)));
5293 end vec_vsrah;
5295 -- vec_vsrab --
5297 function vec_vsrab
5298 (A : vector_signed_char;
5299 B : vector_unsigned_char) return vector_signed_char
5301 begin
5302 return To_LL_VSC (vsrab (To_LL_VSC (A), To_LL_VSC (B)));
5303 end vec_vsrab;
5305 function vec_vsrab
5306 (A : vector_unsigned_char;
5307 B : vector_unsigned_char) return vector_unsigned_char
5309 begin
5310 return To_LL_VUC (vsrab (To_LL_VSC (A), To_LL_VSC (B)));
5311 end vec_vsrab;
5313 -- vec_srl --
5315 function vec_srl
5316 (A : vector_signed_int;
5317 B : vector_unsigned_int) return vector_signed_int
5319 begin
5320 return To_LL_VSI (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5321 end vec_srl;
5323 function vec_srl
5324 (A : vector_signed_int;
5325 B : vector_unsigned_short) return vector_signed_int
5327 begin
5328 return To_LL_VSI (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5329 end vec_srl;
5331 function vec_srl
5332 (A : vector_signed_int;
5333 B : vector_unsigned_char) return vector_signed_int
5335 begin
5336 return To_LL_VSI (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5337 end vec_srl;
5339 function vec_srl
5340 (A : vector_unsigned_int;
5341 B : vector_unsigned_int) return vector_unsigned_int
5343 begin
5344 return To_LL_VUI (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5345 end vec_srl;
5347 function vec_srl
5348 (A : vector_unsigned_int;
5349 B : vector_unsigned_short) return vector_unsigned_int
5351 begin
5352 return To_LL_VUI (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5353 end vec_srl;
5355 function vec_srl
5356 (A : vector_unsigned_int;
5357 B : vector_unsigned_char) return vector_unsigned_int
5359 begin
5360 return To_LL_VUI (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5361 end vec_srl;
5363 function vec_srl
5364 (A : vector_bool_int;
5365 B : vector_unsigned_int) return vector_bool_int
5367 begin
5368 return To_LL_VBI (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5369 end vec_srl;
5371 function vec_srl
5372 (A : vector_bool_int;
5373 B : vector_unsigned_short) return vector_bool_int
5375 begin
5376 return To_LL_VBI (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5377 end vec_srl;
5379 function vec_srl
5380 (A : vector_bool_int;
5381 B : vector_unsigned_char) return vector_bool_int
5383 begin
5384 return To_LL_VBI (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5385 end vec_srl;
5387 function vec_srl
5388 (A : vector_signed_short;
5389 B : vector_unsigned_int) return vector_signed_short
5391 begin
5392 return To_LL_VSS (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5393 end vec_srl;
5395 function vec_srl
5396 (A : vector_signed_short;
5397 B : vector_unsigned_short) return vector_signed_short
5399 begin
5400 return To_LL_VSS (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5401 end vec_srl;
5403 function vec_srl
5404 (A : vector_signed_short;
5405 B : vector_unsigned_char) return vector_signed_short
5407 begin
5408 return To_LL_VSS (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5409 end vec_srl;
5411 function vec_srl
5412 (A : vector_unsigned_short;
5413 B : vector_unsigned_int) return vector_unsigned_short
5415 begin
5416 return To_LL_VUS (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5417 end vec_srl;
5419 function vec_srl
5420 (A : vector_unsigned_short;
5421 B : vector_unsigned_short) return vector_unsigned_short
5423 begin
5424 return To_LL_VUS (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5425 end vec_srl;
5427 function vec_srl
5428 (A : vector_unsigned_short;
5429 B : vector_unsigned_char) return vector_unsigned_short
5431 begin
5432 return To_LL_VUS (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5433 end vec_srl;
5435 function vec_srl
5436 (A : vector_bool_short;
5437 B : vector_unsigned_int) return vector_bool_short
5439 begin
5440 return To_LL_VBS (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5441 end vec_srl;
5443 function vec_srl
5444 (A : vector_bool_short;
5445 B : vector_unsigned_short) return vector_bool_short
5447 begin
5448 return To_LL_VBS (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5449 end vec_srl;
5451 function vec_srl
5452 (A : vector_bool_short;
5453 B : vector_unsigned_char) return vector_bool_short
5455 begin
5456 return To_LL_VBS (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5457 end vec_srl;
5459 function vec_srl
5460 (A : vector_pixel;
5461 B : vector_unsigned_int) return vector_pixel
5463 begin
5464 return To_LL_VP (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5465 end vec_srl;
5467 function vec_srl
5468 (A : vector_pixel;
5469 B : vector_unsigned_short) return vector_pixel
5471 begin
5472 return To_LL_VP (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5473 end vec_srl;
5475 function vec_srl
5476 (A : vector_pixel;
5477 B : vector_unsigned_char) return vector_pixel
5479 begin
5480 return To_LL_VP (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5481 end vec_srl;
5483 function vec_srl
5484 (A : vector_signed_char;
5485 B : vector_unsigned_int) return vector_signed_char
5487 begin
5488 return To_LL_VSC (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5489 end vec_srl;
5491 function vec_srl
5492 (A : vector_signed_char;
5493 B : vector_unsigned_short) return vector_signed_char
5495 begin
5496 return To_LL_VSC (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5497 end vec_srl;
5499 function vec_srl
5500 (A : vector_signed_char;
5501 B : vector_unsigned_char) return vector_signed_char
5503 begin
5504 return To_LL_VSC (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5505 end vec_srl;
5507 function vec_srl
5508 (A : vector_unsigned_char;
5509 B : vector_unsigned_int) return vector_unsigned_char
5511 begin
5512 return To_LL_VUC (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5513 end vec_srl;
5515 function vec_srl
5516 (A : vector_unsigned_char;
5517 B : vector_unsigned_short) return vector_unsigned_char
5519 begin
5520 return To_LL_VUC (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5521 end vec_srl;
5523 function vec_srl
5524 (A : vector_unsigned_char;
5525 B : vector_unsigned_char) return vector_unsigned_char
5527 begin
5528 return To_LL_VUC (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5529 end vec_srl;
5531 function vec_srl
5532 (A : vector_bool_char;
5533 B : vector_unsigned_int) return vector_bool_char
5535 begin
5536 return To_LL_VBC (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5537 end vec_srl;
5539 function vec_srl
5540 (A : vector_bool_char;
5541 B : vector_unsigned_short) return vector_bool_char
5543 begin
5544 return To_LL_VBC (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5545 end vec_srl;
5547 function vec_srl
5548 (A : vector_bool_char;
5549 B : vector_unsigned_char) return vector_bool_char
5551 begin
5552 return To_LL_VBC (vsr (To_LL_VSI (A), To_LL_VSI (B)));
5553 end vec_srl;
5555 -- vec_sro --
5557 function vec_sro
5558 (A : vector_float;
5559 B : vector_signed_char) return vector_float
5561 begin
5562 return To_LL_VF (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5563 end vec_sro;
5565 function vec_sro
5566 (A : vector_float;
5567 B : vector_unsigned_char) return vector_float
5569 begin
5570 return To_LL_VF (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5571 end vec_sro;
5573 function vec_sro
5574 (A : vector_signed_int;
5575 B : vector_signed_char) return vector_signed_int
5577 begin
5578 return To_LL_VSI (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5579 end vec_sro;
5581 function vec_sro
5582 (A : vector_signed_int;
5583 B : vector_unsigned_char) return vector_signed_int
5585 begin
5586 return To_LL_VSI (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5587 end vec_sro;
5589 function vec_sro
5590 (A : vector_unsigned_int;
5591 B : vector_signed_char) return vector_unsigned_int
5593 begin
5594 return To_LL_VUI (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5595 end vec_sro;
5597 function vec_sro
5598 (A : vector_unsigned_int;
5599 B : vector_unsigned_char) return vector_unsigned_int
5601 begin
5602 return To_LL_VUI (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5603 end vec_sro;
5605 function vec_sro
5606 (A : vector_signed_short;
5607 B : vector_signed_char) return vector_signed_short
5609 begin
5610 return To_LL_VSS (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5611 end vec_sro;
5613 function vec_sro
5614 (A : vector_signed_short;
5615 B : vector_unsigned_char) return vector_signed_short
5617 begin
5618 return To_LL_VSS (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5619 end vec_sro;
5621 function vec_sro
5622 (A : vector_unsigned_short;
5623 B : vector_signed_char) return vector_unsigned_short
5625 begin
5626 return To_LL_VUS (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5627 end vec_sro;
5629 function vec_sro
5630 (A : vector_unsigned_short;
5631 B : vector_unsigned_char) return vector_unsigned_short
5633 begin
5634 return To_LL_VUS (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5635 end vec_sro;
5637 function vec_sro
5638 (A : vector_pixel;
5639 B : vector_signed_char) return vector_pixel
5641 begin
5642 return To_LL_VP (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5643 end vec_sro;
5645 function vec_sro
5646 (A : vector_pixel;
5647 B : vector_unsigned_char) return vector_pixel
5649 begin
5650 return To_LL_VP (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5651 end vec_sro;
5653 function vec_sro
5654 (A : vector_signed_char;
5655 B : vector_signed_char) return vector_signed_char
5657 begin
5658 return To_LL_VSC (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5659 end vec_sro;
5661 function vec_sro
5662 (A : vector_signed_char;
5663 B : vector_unsigned_char) return vector_signed_char
5665 begin
5666 return To_LL_VSC (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5667 end vec_sro;
5669 function vec_sro
5670 (A : vector_unsigned_char;
5671 B : vector_signed_char) return vector_unsigned_char
5673 begin
5674 return To_LL_VUC (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5675 end vec_sro;
5677 function vec_sro
5678 (A : vector_unsigned_char;
5679 B : vector_unsigned_char) return vector_unsigned_char
5681 begin
5682 return To_LL_VUC (vsro (To_LL_VSI (A), To_LL_VSI (B)));
5683 end vec_sro;
5685 -- vec_st --
5687 procedure vec_st
5688 (A : vector_float;
5689 B : c_int;
5690 C : vector_float_ptr)
5692 begin
5693 stvx (To_LL_VSI (A), B, To_PTR (C));
5694 end vec_st;
5696 procedure vec_st
5697 (A : vector_float;
5698 B : c_int;
5699 C : float_ptr)
5701 begin
5702 stvx (To_LL_VSI (A), B, To_PTR (C));
5703 end vec_st;
5705 procedure vec_st
5706 (A : vector_signed_int;
5707 B : c_int;
5708 C : vector_signed_int_ptr)
5710 begin
5711 stvx (To_LL_VSI (A), B, To_PTR (C));
5712 end vec_st;
5714 procedure vec_st
5715 (A : vector_signed_int;
5716 B : c_int;
5717 C : int_ptr)
5719 begin
5720 stvx (To_LL_VSI (A), B, To_PTR (C));
5721 end vec_st;
5723 procedure vec_st
5724 (A : vector_unsigned_int;
5725 B : c_int;
5726 C : vector_unsigned_int_ptr)
5728 begin
5729 stvx (To_LL_VSI (A), B, To_PTR (C));
5730 end vec_st;
5732 procedure vec_st
5733 (A : vector_unsigned_int;
5734 B : c_int;
5735 C : unsigned_int_ptr)
5737 begin
5738 stvx (To_LL_VSI (A), B, To_PTR (C));
5739 end vec_st;
5741 procedure vec_st
5742 (A : vector_bool_int;
5743 B : c_int;
5744 C : vector_bool_int_ptr)
5746 begin
5747 stvx (To_LL_VSI (A), B, To_PTR (C));
5748 end vec_st;
5750 procedure vec_st
5751 (A : vector_bool_int;
5752 B : c_int;
5753 C : unsigned_int_ptr)
5755 begin
5756 stvx (To_LL_VSI (A), B, To_PTR (C));
5757 end vec_st;
5759 procedure vec_st
5760 (A : vector_bool_int;
5761 B : c_int;
5762 C : int_ptr)
5764 begin
5765 stvx (To_LL_VSI (A), B, To_PTR (C));
5766 end vec_st;
5768 procedure vec_st
5769 (A : vector_signed_short;
5770 B : c_int;
5771 C : vector_signed_short_ptr)
5773 begin
5774 stvx (To_LL_VSI (A), B, To_PTR (C));
5775 end vec_st;
5777 procedure vec_st
5778 (A : vector_signed_short;
5779 B : c_int;
5780 C : short_ptr)
5782 begin
5783 stvx (To_LL_VSI (A), B, To_PTR (C));
5784 end vec_st;
5786 procedure vec_st
5787 (A : vector_unsigned_short;
5788 B : c_int;
5789 C : vector_unsigned_short_ptr)
5791 begin
5792 stvx (To_LL_VSI (A), B, To_PTR (C));
5793 end vec_st;
5795 procedure vec_st
5796 (A : vector_unsigned_short;
5797 B : c_int;
5798 C : unsigned_short_ptr)
5800 begin
5801 stvx (To_LL_VSI (A), B, To_PTR (C));
5802 end vec_st;
5804 procedure vec_st
5805 (A : vector_bool_short;
5806 B : c_int;
5807 C : vector_bool_short_ptr)
5809 begin
5810 stvx (To_LL_VSI (A), B, To_PTR (C));
5811 end vec_st;
5813 procedure vec_st
5814 (A : vector_bool_short;
5815 B : c_int;
5816 C : unsigned_short_ptr)
5818 begin
5819 stvx (To_LL_VSI (A), B, To_PTR (C));
5820 end vec_st;
5822 procedure vec_st
5823 (A : vector_pixel;
5824 B : c_int;
5825 C : vector_pixel_ptr)
5827 begin
5828 stvx (To_LL_VSI (A), B, To_PTR (C));
5829 end vec_st;
5831 procedure vec_st
5832 (A : vector_pixel;
5833 B : c_int;
5834 C : unsigned_short_ptr)
5836 begin
5837 stvx (To_LL_VSI (A), B, To_PTR (C));
5838 end vec_st;
5840 procedure vec_st
5841 (A : vector_pixel;
5842 B : c_int;
5843 C : short_ptr)
5845 begin
5846 stvx (To_LL_VSI (A), B, To_PTR (C));
5847 end vec_st;
5849 procedure vec_st
5850 (A : vector_bool_short;
5851 B : c_int;
5852 C : short_ptr)
5854 begin
5855 stvx (To_LL_VSI (A), B, To_PTR (C));
5856 end vec_st;
5858 procedure vec_st
5859 (A : vector_signed_char;
5860 B : c_int;
5861 C : vector_signed_char_ptr)
5863 begin
5864 stvx (To_LL_VSI (A), B, To_PTR (C));
5865 end vec_st;
5867 procedure vec_st
5868 (A : vector_signed_char;
5869 B : c_int;
5870 C : signed_char_ptr)
5872 begin
5873 stvx (To_LL_VSI (A), B, To_PTR (C));
5874 end vec_st;
5876 procedure vec_st
5877 (A : vector_unsigned_char;
5878 B : c_int;
5879 C : vector_unsigned_char_ptr)
5881 begin
5882 stvx (To_LL_VSI (A), B, To_PTR (C));
5883 end vec_st;
5885 procedure vec_st
5886 (A : vector_unsigned_char;
5887 B : c_int;
5888 C : unsigned_char_ptr)
5890 begin
5891 stvx (To_LL_VSI (A), B, To_PTR (C));
5892 end vec_st;
5894 procedure vec_st
5895 (A : vector_bool_char;
5896 B : c_int;
5897 C : vector_bool_char_ptr)
5899 begin
5900 stvx (To_LL_VSI (A), B, To_PTR (C));
5901 end vec_st;
5903 procedure vec_st
5904 (A : vector_bool_char;
5905 B : c_int;
5906 C : unsigned_char_ptr)
5908 begin
5909 stvx (To_LL_VSI (A), B, To_PTR (C));
5910 end vec_st;
5912 procedure vec_st
5913 (A : vector_bool_char;
5914 B : c_int;
5915 C : signed_char_ptr)
5917 begin
5918 stvx (To_LL_VSI (A), B, To_PTR (C));
5919 end vec_st;
5921 -- vec_ste --
5923 procedure vec_ste
5924 (A : vector_signed_char;
5925 B : c_int;
5926 C : signed_char_ptr)
5928 begin
5929 stvebx (To_LL_VSC (A), B, To_PTR (C));
5930 end vec_ste;
5932 procedure vec_ste
5933 (A : vector_unsigned_char;
5934 B : c_int;
5935 C : unsigned_char_ptr)
5937 begin
5938 stvebx (To_LL_VSC (A), B, To_PTR (C));
5939 end vec_ste;
5941 procedure vec_ste
5942 (A : vector_bool_char;
5943 B : c_int;
5944 C : signed_char_ptr)
5946 begin
5947 stvebx (To_LL_VSC (A), B, To_PTR (C));
5948 end vec_ste;
5950 procedure vec_ste
5951 (A : vector_bool_char;
5952 B : c_int;
5953 C : unsigned_char_ptr)
5955 begin
5956 stvebx (To_LL_VSC (A), B, To_PTR (C));
5957 end vec_ste;
5959 procedure vec_ste
5960 (A : vector_signed_short;
5961 B : c_int;
5962 C : short_ptr)
5964 begin
5965 stvehx (To_LL_VSS (A), B, To_PTR (C));
5966 end vec_ste;
5968 procedure vec_ste
5969 (A : vector_unsigned_short;
5970 B : c_int;
5971 C : unsigned_short_ptr)
5973 begin
5974 stvehx (To_LL_VSS (A), B, To_PTR (C));
5975 end vec_ste;
5977 procedure vec_ste
5978 (A : vector_bool_short;
5979 B : c_int;
5980 C : short_ptr)
5982 begin
5983 stvehx (To_LL_VSS (A), B, To_PTR (C));
5984 end vec_ste;
5986 procedure vec_ste
5987 (A : vector_bool_short;
5988 B : c_int;
5989 C : unsigned_short_ptr)
5991 begin
5992 stvehx (To_LL_VSS (A), B, To_PTR (C));
5993 end vec_ste;
5995 procedure vec_ste
5996 (A : vector_pixel;
5997 B : c_int;
5998 C : short_ptr)
6000 begin
6001 stvehx (To_LL_VSS (A), B, To_PTR (C));
6002 end vec_ste;
6004 procedure vec_ste
6005 (A : vector_pixel;
6006 B : c_int;
6007 C : unsigned_short_ptr)
6009 begin
6010 stvehx (To_LL_VSS (A), B, To_PTR (C));
6011 end vec_ste;
6013 procedure vec_ste
6014 (A : vector_float;
6015 B : c_int;
6016 C : float_ptr)
6018 begin
6019 stvewx (To_LL_VSI (A), B, To_PTR (C));
6020 end vec_ste;
6022 procedure vec_ste
6023 (A : vector_signed_int;
6024 B : c_int;
6025 C : int_ptr)
6027 begin
6028 stvewx (To_LL_VSI (A), B, To_PTR (C));
6029 end vec_ste;
6031 procedure vec_ste
6032 (A : vector_unsigned_int;
6033 B : c_int;
6034 C : unsigned_int_ptr)
6036 begin
6037 stvewx (To_LL_VSI (A), B, To_PTR (C));
6038 end vec_ste;
6040 procedure vec_ste
6041 (A : vector_bool_int;
6042 B : c_int;
6043 C : int_ptr)
6045 begin
6046 stvewx (To_LL_VSI (A), B, To_PTR (C));
6047 end vec_ste;
6049 procedure vec_ste
6050 (A : vector_bool_int;
6051 B : c_int;
6052 C : unsigned_int_ptr)
6054 begin
6055 stvewx (To_LL_VSI (A), B, To_PTR (C));
6056 end vec_ste;
6058 -- vec_stvewx --
6060 procedure vec_stvewx
6061 (A : vector_float;
6062 B : c_int;
6063 C : float_ptr)
6065 begin
6066 stvewx (To_LL_VSI (A), B, To_PTR (C));
6067 end vec_stvewx;
6069 procedure vec_stvewx
6070 (A : vector_signed_int;
6071 B : c_int;
6072 C : int_ptr)
6074 begin
6075 stvewx (To_LL_VSI (A), B, To_PTR (C));
6076 end vec_stvewx;
6078 procedure vec_stvewx
6079 (A : vector_unsigned_int;
6080 B : c_int;
6081 C : unsigned_int_ptr)
6083 begin
6084 stvewx (To_LL_VSI (A), B, To_PTR (C));
6085 end vec_stvewx;
6087 procedure vec_stvewx
6088 (A : vector_bool_int;
6089 B : c_int;
6090 C : int_ptr)
6092 begin
6093 stvewx (To_LL_VSI (A), B, To_PTR (C));
6094 end vec_stvewx;
6096 procedure vec_stvewx
6097 (A : vector_bool_int;
6098 B : c_int;
6099 C : unsigned_int_ptr)
6101 begin
6102 stvewx (To_LL_VSI (A), B, To_PTR (C));
6103 end vec_stvewx;
6105 -- vec_stvehx --
6107 procedure vec_stvehx
6108 (A : vector_signed_short;
6109 B : c_int;
6110 C : short_ptr)
6112 begin
6113 stvehx (To_LL_VSS (A), B, To_PTR (C));
6114 end vec_stvehx;
6116 procedure vec_stvehx
6117 (A : vector_unsigned_short;
6118 B : c_int;
6119 C : unsigned_short_ptr)
6121 begin
6122 stvehx (To_LL_VSS (A), B, To_PTR (C));
6123 end vec_stvehx;
6125 procedure vec_stvehx
6126 (A : vector_bool_short;
6127 B : c_int;
6128 C : short_ptr)
6130 begin
6131 stvehx (To_LL_VSS (A), B, To_PTR (C));
6132 end vec_stvehx;
6134 procedure vec_stvehx
6135 (A : vector_bool_short;
6136 B : c_int;
6137 C : unsigned_short_ptr)
6139 begin
6140 stvehx (To_LL_VSS (A), B, To_PTR (C));
6141 end vec_stvehx;
6143 procedure vec_stvehx
6144 (A : vector_pixel;
6145 B : c_int;
6146 C : short_ptr)
6148 begin
6149 stvehx (To_LL_VSS (A), B, To_PTR (C));
6150 end vec_stvehx;
6152 procedure vec_stvehx
6153 (A : vector_pixel;
6154 B : c_int;
6155 C : unsigned_short_ptr)
6157 begin
6158 stvehx (To_LL_VSS (A), B, To_PTR (C));
6159 end vec_stvehx;
6161 -- vec_stvebx --
6163 procedure vec_stvebx
6164 (A : vector_signed_char;
6165 B : c_int;
6166 C : signed_char_ptr)
6168 begin
6169 stvebx (To_LL_VSC (A), B, To_PTR (C));
6170 end vec_stvebx;
6172 procedure vec_stvebx
6173 (A : vector_unsigned_char;
6174 B : c_int;
6175 C : unsigned_char_ptr)
6177 begin
6178 stvebx (To_LL_VSC (A), B, To_PTR (C));
6179 end vec_stvebx;
6181 procedure vec_stvebx
6182 (A : vector_bool_char;
6183 B : c_int;
6184 C : signed_char_ptr)
6186 begin
6187 stvebx (To_LL_VSC (A), B, To_PTR (C));
6188 end vec_stvebx;
6190 procedure vec_stvebx
6191 (A : vector_bool_char;
6192 B : c_int;
6193 C : unsigned_char_ptr)
6195 begin
6196 stvebx (To_LL_VSC (A), B, To_PTR (C));
6197 end vec_stvebx;
6199 -- vec_stl --
6201 procedure vec_stl
6202 (A : vector_float;
6203 B : c_int;
6204 C : vector_float_ptr)
6206 begin
6207 stvxl (To_LL_VSI (A), B, To_PTR (C));
6208 end vec_stl;
6210 procedure vec_stl
6211 (A : vector_float;
6212 B : c_int;
6213 C : float_ptr)
6215 begin
6216 stvxl (To_LL_VSI (A), B, To_PTR (C));
6217 end vec_stl;
6219 procedure vec_stl
6220 (A : vector_signed_int;
6221 B : c_int;
6222 C : vector_signed_int_ptr)
6224 begin
6225 stvxl (To_LL_VSI (A), B, To_PTR (C));
6226 end vec_stl;
6228 procedure vec_stl
6229 (A : vector_signed_int;
6230 B : c_int;
6231 C : int_ptr)
6233 begin
6234 stvxl (To_LL_VSI (A), B, To_PTR (C));
6235 end vec_stl;
6237 procedure vec_stl
6238 (A : vector_unsigned_int;
6239 B : c_int;
6240 C : vector_unsigned_int_ptr)
6242 begin
6243 stvxl (To_LL_VSI (A), B, To_PTR (C));
6244 end vec_stl;
6246 procedure vec_stl
6247 (A : vector_unsigned_int;
6248 B : c_int;
6249 C : unsigned_int_ptr)
6251 begin
6252 stvxl (To_LL_VSI (A), B, To_PTR (C));
6253 end vec_stl;
6255 procedure vec_stl
6256 (A : vector_bool_int;
6257 B : c_int;
6258 C : vector_bool_int_ptr)
6260 begin
6261 stvxl (To_LL_VSI (A), B, To_PTR (C));
6262 end vec_stl;
6264 procedure vec_stl
6265 (A : vector_bool_int;
6266 B : c_int;
6267 C : unsigned_int_ptr)
6269 begin
6270 stvxl (To_LL_VSI (A), B, To_PTR (C));
6271 end vec_stl;
6273 procedure vec_stl
6274 (A : vector_bool_int;
6275 B : c_int;
6276 C : int_ptr)
6278 begin
6279 stvxl (To_LL_VSI (A), B, To_PTR (C));
6280 end vec_stl;
6282 procedure vec_stl
6283 (A : vector_signed_short;
6284 B : c_int;
6285 C : vector_signed_short_ptr)
6287 begin
6288 stvxl (To_LL_VSI (A), B, To_PTR (C));
6289 end vec_stl;
6291 procedure vec_stl
6292 (A : vector_signed_short;
6293 B : c_int;
6294 C : short_ptr)
6296 begin
6297 stvxl (To_LL_VSI (A), B, To_PTR (C));
6298 end vec_stl;
6300 procedure vec_stl
6301 (A : vector_unsigned_short;
6302 B : c_int;
6303 C : vector_unsigned_short_ptr)
6305 begin
6306 stvxl (To_LL_VSI (A), B, To_PTR (C));
6307 end vec_stl;
6309 procedure vec_stl
6310 (A : vector_unsigned_short;
6311 B : c_int;
6312 C : unsigned_short_ptr)
6314 begin
6315 stvxl (To_LL_VSI (A), B, To_PTR (C));
6316 end vec_stl;
6318 procedure vec_stl
6319 (A : vector_bool_short;
6320 B : c_int;
6321 C : vector_bool_short_ptr)
6323 begin
6324 stvxl (To_LL_VSI (A), B, To_PTR (C));
6325 end vec_stl;
6327 procedure vec_stl
6328 (A : vector_bool_short;
6329 B : c_int;
6330 C : unsigned_short_ptr)
6332 begin
6333 stvxl (To_LL_VSI (A), B, To_PTR (C));
6334 end vec_stl;
6336 procedure vec_stl
6337 (A : vector_bool_short;
6338 B : c_int;
6339 C : short_ptr)
6341 begin
6342 stvxl (To_LL_VSI (A), B, To_PTR (C));
6343 end vec_stl;
6345 procedure vec_stl
6346 (A : vector_pixel;
6347 B : c_int;
6348 C : vector_pixel_ptr)
6350 begin
6351 stvxl (To_LL_VSI (A), B, To_PTR (C));
6352 end vec_stl;
6354 procedure vec_stl
6355 (A : vector_pixel;
6356 B : c_int;
6357 C : unsigned_short_ptr)
6359 begin
6360 stvxl (To_LL_VSI (A), B, To_PTR (C));
6361 end vec_stl;
6363 procedure vec_stl
6364 (A : vector_pixel;
6365 B : c_int;
6366 C : short_ptr)
6368 begin
6369 stvxl (To_LL_VSI (A), B, To_PTR (C));
6370 end vec_stl;
6372 procedure vec_stl
6373 (A : vector_signed_char;
6374 B : c_int;
6375 C : vector_signed_char_ptr)
6377 begin
6378 stvxl (To_LL_VSI (A), B, To_PTR (C));
6379 end vec_stl;
6381 procedure vec_stl
6382 (A : vector_signed_char;
6383 B : c_int;
6384 C : signed_char_ptr)
6386 begin
6387 stvxl (To_LL_VSI (A), B, To_PTR (C));
6388 end vec_stl;
6390 procedure vec_stl
6391 (A : vector_unsigned_char;
6392 B : c_int;
6393 C : vector_unsigned_char_ptr)
6395 begin
6396 stvxl (To_LL_VSI (A), B, To_PTR (C));
6397 end vec_stl;
6399 procedure vec_stl
6400 (A : vector_unsigned_char;
6401 B : c_int;
6402 C : unsigned_char_ptr)
6404 begin
6405 stvxl (To_LL_VSI (A), B, To_PTR (C));
6406 end vec_stl;
6408 procedure vec_stl
6409 (A : vector_bool_char;
6410 B : c_int;
6411 C : vector_bool_char_ptr)
6413 begin
6414 stvxl (To_LL_VSI (A), B, To_PTR (C));
6415 end vec_stl;
6417 procedure vec_stl
6418 (A : vector_bool_char;
6419 B : c_int;
6420 C : unsigned_char_ptr)
6422 begin
6423 stvxl (To_LL_VSI (A), B, To_PTR (C));
6424 end vec_stl;
6426 procedure vec_stl
6427 (A : vector_bool_char;
6428 B : c_int;
6429 C : signed_char_ptr)
6431 begin
6432 stvxl (To_LL_VSI (A), B, To_PTR (C));
6433 end vec_stl;
6435 -- vec_sub --
6437 function vec_sub
6438 (A : vector_bool_char;
6439 B : vector_signed_char) return vector_signed_char
6441 begin
6442 return To_LL_VSC (vsububm (To_LL_VSC (A), To_LL_VSC (B)));
6443 end vec_sub;
6445 function vec_sub
6446 (A : vector_signed_char;
6447 B : vector_bool_char) return vector_signed_char
6449 begin
6450 return To_LL_VSC (vsububm (To_LL_VSC (A), To_LL_VSC (B)));
6451 end vec_sub;
6453 function vec_sub
6454 (A : vector_signed_char;
6455 B : vector_signed_char) return vector_signed_char
6457 begin
6458 return To_LL_VSC (vsububm (To_LL_VSC (A), To_LL_VSC (B)));
6459 end vec_sub;
6461 function vec_sub
6462 (A : vector_bool_char;
6463 B : vector_unsigned_char) return vector_unsigned_char
6465 begin
6466 return To_LL_VUC (vsububm (To_LL_VSC (A), To_LL_VSC (B)));
6467 end vec_sub;
6469 function vec_sub
6470 (A : vector_unsigned_char;
6471 B : vector_bool_char) return vector_unsigned_char
6473 begin
6474 return To_LL_VUC (vsububm (To_LL_VSC (A), To_LL_VSC (B)));
6475 end vec_sub;
6477 function vec_sub
6478 (A : vector_unsigned_char;
6479 B : vector_unsigned_char) return vector_unsigned_char
6481 begin
6482 return To_LL_VUC (vsububm (To_LL_VSC (A), To_LL_VSC (B)));
6483 end vec_sub;
6485 function vec_sub
6486 (A : vector_bool_short;
6487 B : vector_signed_short) return vector_signed_short
6489 begin
6490 return To_LL_VSS (vsubuhm (To_LL_VSS (A), To_LL_VSS (B)));
6491 end vec_sub;
6493 function vec_sub
6494 (A : vector_signed_short;
6495 B : vector_bool_short) return vector_signed_short
6497 begin
6498 return To_LL_VSS (vsubuhm (To_LL_VSS (A), To_LL_VSS (B)));
6499 end vec_sub;
6501 function vec_sub
6502 (A : vector_signed_short;
6503 B : vector_signed_short) return vector_signed_short
6505 begin
6506 return To_LL_VSS (vsubuhm (To_LL_VSS (A), To_LL_VSS (B)));
6507 end vec_sub;
6509 function vec_sub
6510 (A : vector_bool_short;
6511 B : vector_unsigned_short) return vector_unsigned_short
6513 begin
6514 return To_LL_VUS (vsubuhm (To_LL_VSS (A), To_LL_VSS (B)));
6515 end vec_sub;
6517 function vec_sub
6518 (A : vector_unsigned_short;
6519 B : vector_bool_short) return vector_unsigned_short
6521 begin
6522 return To_LL_VUS (vsubuhm (To_LL_VSS (A), To_LL_VSS (B)));
6523 end vec_sub;
6525 function vec_sub
6526 (A : vector_unsigned_short;
6527 B : vector_unsigned_short) return vector_unsigned_short
6529 begin
6530 return To_LL_VUS (vsubuhm (To_LL_VSS (A), To_LL_VSS (B)));
6531 end vec_sub;
6533 function vec_sub
6534 (A : vector_bool_int;
6535 B : vector_signed_int) return vector_signed_int
6537 begin
6538 return To_LL_VSI (vsubuwm (To_LL_VSI (A), To_LL_VSI (B)));
6539 end vec_sub;
6541 function vec_sub
6542 (A : vector_signed_int;
6543 B : vector_bool_int) return vector_signed_int
6545 begin
6546 return To_LL_VSI (vsubuwm (To_LL_VSI (A), To_LL_VSI (B)));
6547 end vec_sub;
6549 function vec_sub
6550 (A : vector_signed_int;
6551 B : vector_signed_int) return vector_signed_int
6553 begin
6554 return To_LL_VSI (vsubuwm (To_LL_VSI (A), To_LL_VSI (B)));
6555 end vec_sub;
6557 function vec_sub
6558 (A : vector_bool_int;
6559 B : vector_unsigned_int) return vector_unsigned_int
6561 begin
6562 return To_LL_VUI (vsubuwm (To_LL_VSI (A), To_LL_VSI (B)));
6563 end vec_sub;
6565 function vec_sub
6566 (A : vector_unsigned_int;
6567 B : vector_bool_int) return vector_unsigned_int
6569 begin
6570 return To_LL_VUI (vsubuwm (To_LL_VSI (A), To_LL_VSI (B)));
6571 end vec_sub;
6573 function vec_sub
6574 (A : vector_unsigned_int;
6575 B : vector_unsigned_int) return vector_unsigned_int
6577 begin
6578 return To_LL_VUI (vsubuwm (To_LL_VSI (A), To_LL_VSI (B)));
6579 end vec_sub;
6581 function vec_sub
6582 (A : vector_float;
6583 B : vector_float) return vector_float
6585 begin
6586 return To_LL_VF (vsubfp (To_LL_VF (A), To_LL_VF (B)));
6587 end vec_sub;
6589 -- vec_vsubfp --
6591 function vec_vsubfp
6592 (A : vector_float;
6593 B : vector_float) return vector_float
6595 begin
6596 return To_LL_VF (vsubfp (To_LL_VF (A), To_LL_VF (B)));
6597 end vec_vsubfp;
6599 -- vec_vsubuwm --
6601 function vec_vsubuwm
6602 (A : vector_bool_int;
6603 B : vector_signed_int) return vector_signed_int
6605 begin
6606 return To_LL_VSI (vsubuwm (To_LL_VSI (A), To_LL_VSI (B)));
6607 end vec_vsubuwm;
6609 function vec_vsubuwm
6610 (A : vector_signed_int;
6611 B : vector_bool_int) return vector_signed_int
6613 begin
6614 return To_LL_VSI (vsubuwm (To_LL_VSI (A), To_LL_VSI (B)));
6615 end vec_vsubuwm;
6617 function vec_vsubuwm
6618 (A : vector_signed_int;
6619 B : vector_signed_int) return vector_signed_int
6621 begin
6622 return To_LL_VSI (vsubuwm (To_LL_VSI (A), To_LL_VSI (B)));
6623 end vec_vsubuwm;
6625 function vec_vsubuwm
6626 (A : vector_bool_int;
6627 B : vector_unsigned_int) return vector_unsigned_int
6629 begin
6630 return To_LL_VUI (vsubuwm (To_LL_VSI (A), To_LL_VSI (B)));
6631 end vec_vsubuwm;
6633 function vec_vsubuwm
6634 (A : vector_unsigned_int;
6635 B : vector_bool_int) return vector_unsigned_int
6637 begin
6638 return To_LL_VUI (vsubuwm (To_LL_VSI (A), To_LL_VSI (B)));
6639 end vec_vsubuwm;
6641 function vec_vsubuwm
6642 (A : vector_unsigned_int;
6643 B : vector_unsigned_int) return vector_unsigned_int
6645 begin
6646 return To_LL_VUI (vsubuwm (To_LL_VSI (A), To_LL_VSI (B)));
6647 end vec_vsubuwm;
6649 -- vec_vsubuhm --
6651 function vec_vsubuhm
6652 (A : vector_bool_short;
6653 B : vector_signed_short) return vector_signed_short
6655 begin
6656 return To_LL_VSS (vsubuhm (To_LL_VSS (A), To_LL_VSS (B)));
6657 end vec_vsubuhm;
6659 function vec_vsubuhm
6660 (A : vector_signed_short;
6661 B : vector_bool_short) return vector_signed_short
6663 begin
6664 return To_LL_VSS (vsubuhm (To_LL_VSS (A), To_LL_VSS (B)));
6665 end vec_vsubuhm;
6667 function vec_vsubuhm
6668 (A : vector_signed_short;
6669 B : vector_signed_short) return vector_signed_short
6671 begin
6672 return To_LL_VSS (vsubuhm (To_LL_VSS (A), To_LL_VSS (B)));
6673 end vec_vsubuhm;
6675 function vec_vsubuhm
6676 (A : vector_bool_short;
6677 B : vector_unsigned_short) return vector_unsigned_short
6679 begin
6680 return To_LL_VUS (vsubuhm (To_LL_VSS (A), To_LL_VSS (B)));
6681 end vec_vsubuhm;
6683 function vec_vsubuhm
6684 (A : vector_unsigned_short;
6685 B : vector_bool_short) return vector_unsigned_short
6687 begin
6688 return To_LL_VUS (vsubuhm (To_LL_VSS (A), To_LL_VSS (B)));
6689 end vec_vsubuhm;
6691 function vec_vsubuhm
6692 (A : vector_unsigned_short;
6693 B : vector_unsigned_short) return vector_unsigned_short
6695 begin
6696 return To_LL_VUS (vsubuhm (To_LL_VSS (A), To_LL_VSS (B)));
6697 end vec_vsubuhm;
6699 -- vec_vsububm --
6701 function vec_vsububm
6702 (A : vector_bool_char;
6703 B : vector_signed_char) return vector_signed_char
6705 begin
6706 return To_LL_VSC (vsububm (To_LL_VSC (A), To_LL_VSC (B)));
6707 end vec_vsububm;
6709 function vec_vsububm
6710 (A : vector_signed_char;
6711 B : vector_bool_char) return vector_signed_char
6713 begin
6714 return To_LL_VSC (vsububm (To_LL_VSC (A), To_LL_VSC (B)));
6715 end vec_vsububm;
6717 function vec_vsububm
6718 (A : vector_signed_char;
6719 B : vector_signed_char) return vector_signed_char
6721 begin
6722 return To_LL_VSC (vsububm (To_LL_VSC (A), To_LL_VSC (B)));
6723 end vec_vsububm;
6725 function vec_vsububm
6726 (A : vector_bool_char;
6727 B : vector_unsigned_char) return vector_unsigned_char
6729 begin
6730 return To_LL_VUC (vsububm (To_LL_VSC (A), To_LL_VSC (B)));
6731 end vec_vsububm;
6733 function vec_vsububm
6734 (A : vector_unsigned_char;
6735 B : vector_bool_char) return vector_unsigned_char
6737 begin
6738 return To_LL_VUC (vsububm (To_LL_VSC (A), To_LL_VSC (B)));
6739 end vec_vsububm;
6741 function vec_vsububm
6742 (A : vector_unsigned_char;
6743 B : vector_unsigned_char) return vector_unsigned_char
6745 begin
6746 return To_LL_VUC (vsububm (To_LL_VSC (A), To_LL_VSC (B)));
6747 end vec_vsububm;
6749 -- vec_subc --
6751 function vec_subc
6752 (A : vector_unsigned_int;
6753 B : vector_unsigned_int) return vector_unsigned_int
6755 begin
6756 return To_LL_VUI (vsubcuw (To_LL_VSI (A), To_LL_VSI (B)));
6757 end vec_subc;
6759 -- vec_subs --
6761 function vec_subs
6762 (A : vector_bool_char;
6763 B : vector_unsigned_char) return vector_unsigned_char
6765 begin
6766 return To_LL_VUC (vsububs (To_LL_VSC (A), To_LL_VSC (B)));
6767 end vec_subs;
6769 function vec_subs
6770 (A : vector_unsigned_char;
6771 B : vector_bool_char) return vector_unsigned_char
6773 begin
6774 return To_LL_VUC (vsububs (To_LL_VSC (A), To_LL_VSC (B)));
6775 end vec_subs;
6777 function vec_subs
6778 (A : vector_unsigned_char;
6779 B : vector_unsigned_char) return vector_unsigned_char
6781 begin
6782 return To_LL_VUC (vsububs (To_LL_VSC (A), To_LL_VSC (B)));
6783 end vec_subs;
6785 function vec_subs
6786 (A : vector_bool_char;
6787 B : vector_signed_char) return vector_signed_char
6789 begin
6790 return To_LL_VSC (vsubsbs (To_LL_VSC (A), To_LL_VSC (B)));
6791 end vec_subs;
6793 function vec_subs
6794 (A : vector_signed_char;
6795 B : vector_bool_char) return vector_signed_char
6797 begin
6798 return To_LL_VSC (vsubsbs (To_LL_VSC (A), To_LL_VSC (B)));
6799 end vec_subs;
6801 function vec_subs
6802 (A : vector_signed_char;
6803 B : vector_signed_char) return vector_signed_char
6805 begin
6806 return To_LL_VSC (vsubsbs (To_LL_VSC (A), To_LL_VSC (B)));
6807 end vec_subs;
6809 function vec_subs
6810 (A : vector_bool_short;
6811 B : vector_unsigned_short) return vector_unsigned_short
6813 begin
6814 return To_LL_VUS (vsubuhs (To_LL_VSS (A), To_LL_VSS (B)));
6815 end vec_subs;
6817 function vec_subs
6818 (A : vector_unsigned_short;
6819 B : vector_bool_short) return vector_unsigned_short
6821 begin
6822 return To_LL_VUS (vsubuhs (To_LL_VSS (A), To_LL_VSS (B)));
6823 end vec_subs;
6825 function vec_subs
6826 (A : vector_unsigned_short;
6827 B : vector_unsigned_short) return vector_unsigned_short
6829 begin
6830 return To_LL_VUS (vsubuhs (To_LL_VSS (A), To_LL_VSS (B)));
6831 end vec_subs;
6833 function vec_subs
6834 (A : vector_bool_short;
6835 B : vector_signed_short) return vector_signed_short
6837 begin
6838 return To_LL_VSS (vsubshs (To_LL_VSS (A), To_LL_VSS (B)));
6839 end vec_subs;
6841 function vec_subs
6842 (A : vector_signed_short;
6843 B : vector_bool_short) return vector_signed_short
6845 begin
6846 return To_LL_VSS (vsubshs (To_LL_VSS (A), To_LL_VSS (B)));
6847 end vec_subs;
6849 function vec_subs
6850 (A : vector_signed_short;
6851 B : vector_signed_short) return vector_signed_short
6853 begin
6854 return To_LL_VSS (vsubshs (To_LL_VSS (A), To_LL_VSS (B)));
6855 end vec_subs;
6857 function vec_subs
6858 (A : vector_bool_int;
6859 B : vector_unsigned_int) return vector_unsigned_int
6861 begin
6862 return To_LL_VUI (vsubuws (To_LL_VSI (A), To_LL_VSI (B)));
6863 end vec_subs;
6865 function vec_subs
6866 (A : vector_unsigned_int;
6867 B : vector_bool_int) return vector_unsigned_int
6869 begin
6870 return To_LL_VUI (vsubuws (To_LL_VSI (A), To_LL_VSI (B)));
6871 end vec_subs;
6873 function vec_subs
6874 (A : vector_unsigned_int;
6875 B : vector_unsigned_int) return vector_unsigned_int
6877 begin
6878 return To_LL_VUI (vsubuws (To_LL_VSI (A), To_LL_VSI (B)));
6879 end vec_subs;
6881 function vec_subs
6882 (A : vector_bool_int;
6883 B : vector_signed_int) return vector_signed_int
6885 begin
6886 return To_LL_VSI (vsubsws (To_LL_VSI (A), To_LL_VSI (B)));
6887 end vec_subs;
6889 function vec_subs
6890 (A : vector_signed_int;
6891 B : vector_bool_int) return vector_signed_int
6893 begin
6894 return To_LL_VSI (vsubsws (To_LL_VSI (A), To_LL_VSI (B)));
6895 end vec_subs;
6897 function vec_subs
6898 (A : vector_signed_int;
6899 B : vector_signed_int) return vector_signed_int
6901 begin
6902 return To_LL_VSI (vsubsws (To_LL_VSI (A), To_LL_VSI (B)));
6903 end vec_subs;
6905 -- vec_vsubsws --
6907 function vec_vsubsws
6908 (A : vector_bool_int;
6909 B : vector_signed_int) return vector_signed_int
6911 begin
6912 return To_LL_VSI (vsubsws (To_LL_VSI (A), To_LL_VSI (B)));
6913 end vec_vsubsws;
6915 function vec_vsubsws
6916 (A : vector_signed_int;
6917 B : vector_bool_int) return vector_signed_int
6919 begin
6920 return To_LL_VSI (vsubsws (To_LL_VSI (A), To_LL_VSI (B)));
6921 end vec_vsubsws;
6923 function vec_vsubsws
6924 (A : vector_signed_int;
6925 B : vector_signed_int) return vector_signed_int
6927 begin
6928 return To_LL_VSI (vsubsws (To_LL_VSI (A), To_LL_VSI (B)));
6929 end vec_vsubsws;
6931 -- vec_vsubuws --
6933 function vec_vsubuws
6934 (A : vector_bool_int;
6935 B : vector_unsigned_int) return vector_unsigned_int
6937 begin
6938 return To_LL_VUI (vsubuws (To_LL_VSI (A), To_LL_VSI (B)));
6939 end vec_vsubuws;
6941 function vec_vsubuws
6942 (A : vector_unsigned_int;
6943 B : vector_bool_int) return vector_unsigned_int
6945 begin
6946 return To_LL_VUI (vsubuws (To_LL_VSI (A), To_LL_VSI (B)));
6947 end vec_vsubuws;
6949 function vec_vsubuws
6950 (A : vector_unsigned_int;
6951 B : vector_unsigned_int) return vector_unsigned_int
6953 begin
6954 return To_LL_VUI (vsubuws (To_LL_VSI (A), To_LL_VSI (B)));
6955 end vec_vsubuws;
6957 -- vec_vsubshs --
6959 function vec_vsubshs
6960 (A : vector_bool_short;
6961 B : vector_signed_short) return vector_signed_short
6963 begin
6964 return To_LL_VSS (vsubshs (To_LL_VSS (A), To_LL_VSS (B)));
6965 end vec_vsubshs;
6967 function vec_vsubshs
6968 (A : vector_signed_short;
6969 B : vector_bool_short) return vector_signed_short
6971 begin
6972 return To_LL_VSS (vsubshs (To_LL_VSS (A), To_LL_VSS (B)));
6973 end vec_vsubshs;
6975 function vec_vsubshs
6976 (A : vector_signed_short;
6977 B : vector_signed_short) return vector_signed_short
6979 begin
6980 return To_LL_VSS (vsubshs (To_LL_VSS (A), To_LL_VSS (B)));
6981 end vec_vsubshs;
6983 -- vec_vsubuhs --
6985 function vec_vsubuhs
6986 (A : vector_bool_short;
6987 B : vector_unsigned_short) return vector_unsigned_short
6989 begin
6990 return To_LL_VUS (vsubuhs (To_LL_VSS (A), To_LL_VSS (B)));
6991 end vec_vsubuhs;
6993 function vec_vsubuhs
6994 (A : vector_unsigned_short;
6995 B : vector_bool_short) return vector_unsigned_short
6997 begin
6998 return To_LL_VUS (vsubuhs (To_LL_VSS (A), To_LL_VSS (B)));
6999 end vec_vsubuhs;
7001 function vec_vsubuhs
7002 (A : vector_unsigned_short;
7003 B : vector_unsigned_short) return vector_unsigned_short
7005 begin
7006 return To_LL_VUS (vsubuhs (To_LL_VSS (A), To_LL_VSS (B)));
7007 end vec_vsubuhs;
7009 -- vec_vsubsbs --
7011 function vec_vsubsbs
7012 (A : vector_bool_char;
7013 B : vector_signed_char) return vector_signed_char
7015 begin
7016 return To_LL_VSC (vsubsbs (To_LL_VSC (A), To_LL_VSC (B)));
7017 end vec_vsubsbs;
7019 function vec_vsubsbs
7020 (A : vector_signed_char;
7021 B : vector_bool_char) return vector_signed_char
7023 begin
7024 return To_LL_VSC (vsubsbs (To_LL_VSC (A), To_LL_VSC (B)));
7025 end vec_vsubsbs;
7027 function vec_vsubsbs
7028 (A : vector_signed_char;
7029 B : vector_signed_char) return vector_signed_char
7031 begin
7032 return To_LL_VSC (vsubsbs (To_LL_VSC (A), To_LL_VSC (B)));
7033 end vec_vsubsbs;
7035 -- vec_vsububs --
7037 function vec_vsububs
7038 (A : vector_bool_char;
7039 B : vector_unsigned_char) return vector_unsigned_char
7041 begin
7042 return To_LL_VUC (vsububs (To_LL_VSC (A), To_LL_VSC (B)));
7043 end vec_vsububs;
7045 function vec_vsububs
7046 (A : vector_unsigned_char;
7047 B : vector_bool_char) return vector_unsigned_char
7049 begin
7050 return To_LL_VUC (vsububs (To_LL_VSC (A), To_LL_VSC (B)));
7051 end vec_vsububs;
7053 function vec_vsububs
7054 (A : vector_unsigned_char;
7055 B : vector_unsigned_char) return vector_unsigned_char
7057 begin
7058 return To_LL_VUC (vsububs (To_LL_VSC (A), To_LL_VSC (B)));
7059 end vec_vsububs;
7061 -- vec_sum4s --
7063 function vec_sum4s
7064 (A : vector_unsigned_char;
7065 B : vector_unsigned_int) return vector_unsigned_int
7067 begin
7068 return To_LL_VUI (vsum4ubs (To_LL_VSC (A), To_LL_VSI (B)));
7069 end vec_sum4s;
7071 function vec_sum4s
7072 (A : vector_signed_char;
7073 B : vector_signed_int) return vector_signed_int
7075 begin
7076 return To_LL_VSI (vsum4sbs (To_LL_VSC (A), To_LL_VSI (B)));
7077 end vec_sum4s;
7079 function vec_sum4s
7080 (A : vector_signed_short;
7081 B : vector_signed_int) return vector_signed_int
7083 begin
7084 return To_LL_VSI (vsum4shs (To_LL_VSS (A), To_LL_VSI (B)));
7085 end vec_sum4s;
7087 -- vec_vsum4shs --
7089 function vec_vsum4shs
7090 (A : vector_signed_short;
7091 B : vector_signed_int) return vector_signed_int
7093 begin
7094 return To_LL_VSI (vsum4shs (To_LL_VSS (A), To_LL_VSI (B)));
7095 end vec_vsum4shs;
7097 -- vec_vsum4sbs --
7099 function vec_vsum4sbs
7100 (A : vector_signed_char;
7101 B : vector_signed_int) return vector_signed_int
7103 begin
7104 return To_LL_VSI (vsum4sbs (To_LL_VSC (A), To_LL_VSI (B)));
7105 end vec_vsum4sbs;
7107 -- vec_vsum4ubs --
7109 function vec_vsum4ubs
7110 (A : vector_unsigned_char;
7111 B : vector_unsigned_int) return vector_unsigned_int
7113 begin
7114 return To_LL_VUI (vsum4ubs (To_LL_VSC (A), To_LL_VSI (B)));
7115 end vec_vsum4ubs;
7117 -- vec_sum2s --
7119 function vec_sum2s
7120 (A : vector_signed_int;
7121 B : vector_signed_int) return vector_signed_int
7123 begin
7124 return To_LL_VSI (vsum2sws (To_LL_VSI (A), To_LL_VSI (B)));
7125 end vec_sum2s;
7127 -- vec_sums --
7129 function vec_sums
7130 (A : vector_signed_int;
7131 B : vector_signed_int) return vector_signed_int
7133 begin
7134 return To_LL_VSI (vsumsws (To_LL_VSI (A), To_LL_VSI (B)));
7135 end vec_sums;
7137 -- vec_trunc --
7139 function vec_trunc
7140 (A : vector_float) return vector_float
7142 begin
7143 return To_LL_VF (vrfiz (To_LL_VF (A)));
7144 end vec_trunc;
7146 -- vec_unpackh --
7148 function vec_unpackh
7149 (A : vector_signed_char) return vector_signed_short
7151 begin
7152 return To_LL_VSS (vupkhsb (To_LL_VSC (A)));
7153 end vec_unpackh;
7155 function vec_unpackh
7156 (A : vector_bool_char) return vector_bool_short
7158 begin
7159 return To_LL_VBS (vupkhsb (To_LL_VSC (A)));
7160 end vec_unpackh;
7162 function vec_unpackh
7163 (A : vector_signed_short) return vector_signed_int
7165 begin
7166 return To_LL_VSI (vupkhsh (To_LL_VSS (A)));
7167 end vec_unpackh;
7169 function vec_unpackh
7170 (A : vector_bool_short) return vector_bool_int
7172 begin
7173 return To_LL_VBI (vupkhsh (To_LL_VSS (A)));
7174 end vec_unpackh;
7176 function vec_unpackh
7177 (A : vector_pixel) return vector_unsigned_int
7179 begin
7180 return To_LL_VUI (vupkhpx (To_LL_VSS (A)));
7181 end vec_unpackh;
7183 -- vec_vupkhsh --
7185 function vec_vupkhsh
7186 (A : vector_bool_short) return vector_bool_int
7188 begin
7189 return To_LL_VBI (vupkhsh (To_LL_VSS (A)));
7190 end vec_vupkhsh;
7192 function vec_vupkhsh
7193 (A : vector_signed_short) return vector_signed_int
7195 begin
7196 return To_LL_VSI (vupkhsh (To_LL_VSS (A)));
7197 end vec_vupkhsh;
7199 -- vec_vupkhpx --
7201 function vec_vupkhpx
7202 (A : vector_pixel) return vector_unsigned_int
7204 begin
7205 return To_LL_VUI (vupkhpx (To_LL_VSS (A)));
7206 end vec_vupkhpx;
7208 -- vec_vupkhsb --
7210 function vec_vupkhsb
7211 (A : vector_bool_char) return vector_bool_short
7213 begin
7214 return To_LL_VBS (vupkhsb (To_LL_VSC (A)));
7215 end vec_vupkhsb;
7217 function vec_vupkhsb
7218 (A : vector_signed_char) return vector_signed_short
7220 begin
7221 return To_LL_VSS (vupkhsb (To_LL_VSC (A)));
7222 end vec_vupkhsb;
7224 -- vec_unpackl --
7226 function vec_unpackl
7227 (A : vector_signed_char) return vector_signed_short
7229 begin
7230 return To_LL_VSS (vupklsb (To_LL_VSC (A)));
7231 end vec_unpackl;
7233 function vec_unpackl
7234 (A : vector_bool_char) return vector_bool_short
7236 begin
7237 return To_LL_VBS (vupklsb (To_LL_VSC (A)));
7238 end vec_unpackl;
7240 function vec_unpackl
7241 (A : vector_pixel) return vector_unsigned_int
7243 begin
7244 return To_LL_VUI (vupklpx (To_LL_VSS (A)));
7245 end vec_unpackl;
7247 function vec_unpackl
7248 (A : vector_signed_short) return vector_signed_int
7250 begin
7251 return To_LL_VSI (vupklsh (To_LL_VSS (A)));
7252 end vec_unpackl;
7254 function vec_unpackl
7255 (A : vector_bool_short) return vector_bool_int
7257 begin
7258 return To_LL_VBI (vupklsh (To_LL_VSS (A)));
7259 end vec_unpackl;
7261 -- vec_vupklpx --
7263 function vec_vupklpx
7264 (A : vector_pixel) return vector_unsigned_int
7266 begin
7267 return To_LL_VUI (vupklpx (To_LL_VSS (A)));
7268 end vec_vupklpx;
7270 -- vec_upklsh --
7272 function vec_vupklsh
7273 (A : vector_bool_short) return vector_bool_int
7275 begin
7276 return To_LL_VBI (vupklsh (To_LL_VSS (A)));
7277 end vec_vupklsh;
7279 function vec_vupklsh
7280 (A : vector_signed_short) return vector_signed_int
7282 begin
7283 return To_LL_VSI (vupklsh (To_LL_VSS (A)));
7284 end vec_vupklsh;
7286 -- vec_vupklsb --
7288 function vec_vupklsb
7289 (A : vector_bool_char) return vector_bool_short
7291 begin
7292 return To_LL_VBS (vupklsb (To_LL_VSC (A)));
7293 end vec_vupklsb;
7295 function vec_vupklsb
7296 (A : vector_signed_char) return vector_signed_short
7298 begin
7299 return To_LL_VSS (vupklsb (To_LL_VSC (A)));
7300 end vec_vupklsb;
7302 -- vec_xor --
7304 function vec_xor
7305 (A : vector_float;
7306 B : vector_float) return vector_float
7308 begin
7309 return To_LL_VF (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7310 end vec_xor;
7312 function vec_xor
7313 (A : vector_float;
7314 B : vector_bool_int) return vector_float
7316 begin
7317 return To_LL_VF (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7318 end vec_xor;
7320 function vec_xor
7321 (A : vector_bool_int;
7322 B : vector_float) return vector_float
7324 begin
7325 return To_LL_VF (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7326 end vec_xor;
7328 function vec_xor
7329 (A : vector_bool_int;
7330 B : vector_bool_int) return vector_bool_int
7332 begin
7333 return To_LL_VBI (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7334 end vec_xor;
7336 function vec_xor
7337 (A : vector_bool_int;
7338 B : vector_signed_int) return vector_signed_int
7340 begin
7341 return To_LL_VSI (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7342 end vec_xor;
7344 function vec_xor
7345 (A : vector_signed_int;
7346 B : vector_bool_int) return vector_signed_int
7348 begin
7349 return To_LL_VSI (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7350 end vec_xor;
7352 function vec_xor
7353 (A : vector_signed_int;
7354 B : vector_signed_int) return vector_signed_int
7356 begin
7357 return To_LL_VSI (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7358 end vec_xor;
7360 function vec_xor
7361 (A : vector_bool_int;
7362 B : vector_unsigned_int) return vector_unsigned_int
7364 begin
7365 return To_LL_VUI (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7366 end vec_xor;
7368 function vec_xor
7369 (A : vector_unsigned_int;
7370 B : vector_bool_int) return vector_unsigned_int
7372 begin
7373 return To_LL_VUI (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7374 end vec_xor;
7376 function vec_xor
7377 (A : vector_unsigned_int;
7378 B : vector_unsigned_int) return vector_unsigned_int
7380 begin
7381 return To_LL_VUI (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7382 end vec_xor;
7384 function vec_xor
7385 (A : vector_bool_short;
7386 B : vector_bool_short) return vector_bool_short
7388 begin
7389 return To_LL_VBS (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7390 end vec_xor;
7392 function vec_xor
7393 (A : vector_bool_short;
7394 B : vector_signed_short) return vector_signed_short
7396 begin
7397 return To_LL_VSS (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7398 end vec_xor;
7400 function vec_xor
7401 (A : vector_signed_short;
7402 B : vector_bool_short) return vector_signed_short
7404 begin
7405 return To_LL_VSS (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7406 end vec_xor;
7408 function vec_xor
7409 (A : vector_signed_short;
7410 B : vector_signed_short) return vector_signed_short
7412 begin
7413 return To_LL_VSS (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7414 end vec_xor;
7416 function vec_xor
7417 (A : vector_bool_short;
7418 B : vector_unsigned_short) return vector_unsigned_short
7420 begin
7421 return To_LL_VUS (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7422 end vec_xor;
7424 function vec_xor
7425 (A : vector_unsigned_short;
7426 B : vector_bool_short) return vector_unsigned_short
7428 begin
7429 return To_LL_VUS (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7430 end vec_xor;
7432 function vec_xor
7433 (A : vector_unsigned_short;
7434 B : vector_unsigned_short) return vector_unsigned_short
7436 begin
7437 return To_LL_VUS (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7438 end vec_xor;
7440 function vec_xor
7441 (A : vector_bool_char;
7442 B : vector_signed_char) return vector_signed_char
7444 begin
7445 return To_LL_VSC (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7446 end vec_xor;
7448 function vec_xor
7449 (A : vector_bool_char;
7450 B : vector_bool_char) return vector_bool_char
7452 begin
7453 return To_LL_VBC (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7454 end vec_xor;
7456 function vec_xor
7457 (A : vector_signed_char;
7458 B : vector_bool_char) return vector_signed_char
7460 begin
7461 return To_LL_VSC (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7462 end vec_xor;
7464 function vec_xor
7465 (A : vector_signed_char;
7466 B : vector_signed_char) return vector_signed_char
7468 begin
7469 return To_LL_VSC (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7470 end vec_xor;
7472 function vec_xor
7473 (A : vector_bool_char;
7474 B : vector_unsigned_char) return vector_unsigned_char
7476 begin
7477 return To_LL_VUC (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7478 end vec_xor;
7480 function vec_xor
7481 (A : vector_unsigned_char;
7482 B : vector_bool_char) return vector_unsigned_char
7484 begin
7485 return To_LL_VUC (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7486 end vec_xor;
7488 function vec_xor
7489 (A : vector_unsigned_char;
7490 B : vector_unsigned_char) return vector_unsigned_char
7492 begin
7493 return To_LL_VUC (vxor (To_LL_VSI (A), To_LL_VSI (B)));
7494 end vec_xor;
7496 -----------------------------------
7497 -- Bodies for Altivec predicates --
7498 -----------------------------------
7500 -- vec_all_eq --
7502 function vec_all_eq
7503 (A : vector_signed_char;
7504 B : vector_bool_char) return c_int
7506 begin
7507 return vcmpequb_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7508 end vec_all_eq;
7510 function vec_all_eq
7511 (A : vector_signed_char;
7512 B : vector_signed_char) return c_int
7514 begin
7515 return vcmpequb_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7516 end vec_all_eq;
7518 function vec_all_eq
7519 (A : vector_unsigned_char;
7520 B : vector_bool_char) return c_int
7522 begin
7523 return vcmpequb_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7524 end vec_all_eq;
7526 function vec_all_eq
7527 (A : vector_unsigned_char;
7528 B : vector_unsigned_char) return c_int
7530 begin
7531 return vcmpequb_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7532 end vec_all_eq;
7534 function vec_all_eq
7535 (A : vector_bool_char;
7536 B : vector_bool_char) return c_int
7538 begin
7539 return vcmpequb_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7540 end vec_all_eq;
7542 function vec_all_eq
7543 (A : vector_bool_char;
7544 B : vector_unsigned_char) return c_int
7546 begin
7547 return vcmpequb_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7548 end vec_all_eq;
7550 function vec_all_eq
7551 (A : vector_bool_char;
7552 B : vector_signed_char) return c_int
7554 begin
7555 return vcmpequb_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7556 end vec_all_eq;
7558 function vec_all_eq
7559 (A : vector_signed_short;
7560 B : vector_bool_short) return c_int
7562 begin
7563 return vcmpequh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7564 end vec_all_eq;
7566 function vec_all_eq
7567 (A : vector_signed_short;
7568 B : vector_signed_short) return c_int
7570 begin
7571 return vcmpequh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7572 end vec_all_eq;
7574 function vec_all_eq
7575 (A : vector_unsigned_short;
7576 B : vector_bool_short) return c_int
7578 begin
7579 return vcmpequh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7580 end vec_all_eq;
7582 function vec_all_eq
7583 (A : vector_unsigned_short;
7584 B : vector_unsigned_short) return c_int
7586 begin
7587 return vcmpequh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7588 end vec_all_eq;
7590 function vec_all_eq
7591 (A : vector_bool_short;
7592 B : vector_bool_short) return c_int
7594 begin
7595 return vcmpequh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7596 end vec_all_eq;
7598 function vec_all_eq
7599 (A : vector_bool_short;
7600 B : vector_unsigned_short) return c_int
7602 begin
7603 return vcmpequh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7604 end vec_all_eq;
7606 function vec_all_eq
7607 (A : vector_bool_short;
7608 B : vector_signed_short) return c_int
7610 begin
7611 return vcmpequh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7612 end vec_all_eq;
7614 function vec_all_eq
7615 (A : vector_pixel;
7616 B : vector_pixel) return c_int
7618 begin
7619 return vcmpequh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7620 end vec_all_eq;
7622 function vec_all_eq
7623 (A : vector_signed_int;
7624 B : vector_bool_int) return c_int
7626 begin
7627 return vcmpequw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7628 end vec_all_eq;
7630 function vec_all_eq
7631 (A : vector_signed_int;
7632 B : vector_signed_int) return c_int
7634 begin
7635 return vcmpequw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7636 end vec_all_eq;
7638 function vec_all_eq
7639 (A : vector_unsigned_int;
7640 B : vector_bool_int) return c_int
7642 begin
7643 return vcmpequw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7644 end vec_all_eq;
7646 function vec_all_eq
7647 (A : vector_unsigned_int;
7648 B : vector_unsigned_int) return c_int
7650 begin
7651 return vcmpequw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7652 end vec_all_eq;
7654 function vec_all_eq
7655 (A : vector_bool_int;
7656 B : vector_bool_int) return c_int
7658 begin
7659 return vcmpequw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7660 end vec_all_eq;
7662 function vec_all_eq
7663 (A : vector_bool_int;
7664 B : vector_unsigned_int) return c_int
7666 begin
7667 return vcmpequw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7668 end vec_all_eq;
7670 function vec_all_eq
7671 (A : vector_bool_int;
7672 B : vector_signed_int) return c_int
7674 begin
7675 return vcmpequw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7676 end vec_all_eq;
7678 function vec_all_eq
7679 (A : vector_float;
7680 B : vector_float) return c_int
7682 begin
7683 return vcmpeqfp_p (CR6_LT, To_LL_VF (A), To_LL_VF (B));
7684 end vec_all_eq;
7686 -- vec_all_ge --
7688 function vec_all_ge
7689 (A : vector_bool_char;
7690 B : vector_unsigned_char) return c_int
7692 begin
7693 return vcmpgtub_p (CR6_EQ, To_LL_VSC (B), To_LL_VSC (A));
7694 end vec_all_ge;
7696 function vec_all_ge
7697 (A : vector_unsigned_char;
7698 B : vector_bool_char) return c_int
7700 begin
7701 return vcmpgtub_p (CR6_EQ, To_LL_VSC (B), To_LL_VSC (A));
7702 end vec_all_ge;
7704 function vec_all_ge
7705 (A : vector_unsigned_char;
7706 B : vector_unsigned_char) return c_int
7708 begin
7709 return vcmpgtub_p (CR6_EQ, To_LL_VSC (B), To_LL_VSC (A));
7710 end vec_all_ge;
7712 function vec_all_ge
7713 (A : vector_bool_char;
7714 B : vector_signed_char) return c_int
7716 begin
7717 return vcmpgtsb_p (CR6_EQ, To_LL_VSC (B), To_LL_VSC (A));
7718 end vec_all_ge;
7720 function vec_all_ge
7721 (A : vector_signed_char;
7722 B : vector_bool_char) return c_int
7724 begin
7725 return vcmpgtsb_p (CR6_EQ, To_LL_VSC (B), To_LL_VSC (A));
7726 end vec_all_ge;
7728 function vec_all_ge
7729 (A : vector_signed_char;
7730 B : vector_signed_char) return c_int
7732 begin
7733 return vcmpgtsb_p (CR6_EQ, To_LL_VSC (B), To_LL_VSC (A));
7734 end vec_all_ge;
7736 function vec_all_ge
7737 (A : vector_bool_short;
7738 B : vector_unsigned_short) return c_int
7740 begin
7741 return vcmpgtuh_p (CR6_EQ, To_LL_VSS (B), To_LL_VSS (A));
7742 end vec_all_ge;
7744 function vec_all_ge
7745 (A : vector_unsigned_short;
7746 B : vector_bool_short) return c_int
7748 begin
7749 return vcmpgtuh_p (CR6_EQ, To_LL_VSS (B), To_LL_VSS (A));
7750 end vec_all_ge;
7752 function vec_all_ge
7753 (A : vector_unsigned_short;
7754 B : vector_unsigned_short) return c_int
7756 begin
7757 return vcmpgtuh_p (CR6_EQ, To_LL_VSS (B), To_LL_VSS (A));
7758 end vec_all_ge;
7760 function vec_all_ge
7761 (A : vector_signed_short;
7762 B : vector_signed_short) return c_int
7764 begin
7765 return vcmpgtsh_p (CR6_EQ, To_LL_VSS (B), To_LL_VSS (A));
7766 end vec_all_ge;
7768 function vec_all_ge
7769 (A : vector_bool_short;
7770 B : vector_signed_short) return c_int
7772 begin
7773 return vcmpgtsh_p (CR6_EQ, To_LL_VSS (B), To_LL_VSS (A));
7774 end vec_all_ge;
7776 function vec_all_ge
7777 (A : vector_signed_short;
7778 B : vector_bool_short) return c_int
7780 begin
7781 return vcmpgtsh_p (CR6_EQ, To_LL_VSS (B), To_LL_VSS (A));
7782 end vec_all_ge;
7784 function vec_all_ge
7785 (A : vector_bool_int;
7786 B : vector_unsigned_int) return c_int
7788 begin
7789 return vcmpgtuw_p (CR6_EQ, To_LL_VSI (B), To_LL_VSI (A));
7790 end vec_all_ge;
7792 function vec_all_ge
7793 (A : vector_unsigned_int;
7794 B : vector_bool_int) return c_int
7796 begin
7797 return vcmpgtuw_p (CR6_EQ, To_LL_VSI (B), To_LL_VSI (A));
7798 end vec_all_ge;
7800 function vec_all_ge
7801 (A : vector_unsigned_int;
7802 B : vector_unsigned_int) return c_int
7804 begin
7805 return vcmpgtuw_p (CR6_EQ, To_LL_VSI (B), To_LL_VSI (A));
7806 end vec_all_ge;
7808 function vec_all_ge
7809 (A : vector_bool_int;
7810 B : vector_signed_int) return c_int
7812 begin
7813 return vcmpgtsw_p (CR6_EQ, To_LL_VSI (B), To_LL_VSI (A));
7814 end vec_all_ge;
7816 function vec_all_ge
7817 (A : vector_signed_int;
7818 B : vector_bool_int) return c_int
7820 begin
7821 return vcmpgtsw_p (CR6_EQ, To_LL_VSI (B), To_LL_VSI (A));
7822 end vec_all_ge;
7824 function vec_all_ge
7825 (A : vector_signed_int;
7826 B : vector_signed_int) return c_int
7828 begin
7829 return vcmpgtsw_p (CR6_EQ, To_LL_VSI (B), To_LL_VSI (A));
7830 end vec_all_ge;
7832 function vec_all_ge
7833 (A : vector_float;
7834 B : vector_float) return c_int
7836 begin
7837 return vcmpgefp_p (CR6_LT, To_LL_VF (A), To_LL_VF (B));
7838 end vec_all_ge;
7840 -- vec_all_gt --
7842 function vec_all_gt
7843 (A : vector_bool_char;
7844 B : vector_unsigned_char) return c_int
7846 begin
7847 return vcmpgtub_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7848 end vec_all_gt;
7850 function vec_all_gt
7851 (A : vector_unsigned_char;
7852 B : vector_bool_char) return c_int
7854 begin
7855 return vcmpgtub_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7856 end vec_all_gt;
7858 function vec_all_gt
7859 (A : vector_unsigned_char;
7860 B : vector_unsigned_char) return c_int
7862 begin
7863 return vcmpgtub_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7864 end vec_all_gt;
7866 function vec_all_gt
7867 (A : vector_bool_char;
7868 B : vector_signed_char) return c_int
7870 begin
7871 return vcmpgtsb_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7872 end vec_all_gt;
7874 function vec_all_gt
7875 (A : vector_signed_char;
7876 B : vector_bool_char) return c_int
7878 begin
7879 return vcmpgtsb_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7880 end vec_all_gt;
7882 function vec_all_gt
7883 (A : vector_signed_char;
7884 B : vector_signed_char) return c_int
7886 begin
7887 return vcmpgtsb_p (CR6_LT, To_LL_VSC (A), To_LL_VSC (B));
7888 end vec_all_gt;
7890 function vec_all_gt
7891 (A : vector_bool_short;
7892 B : vector_unsigned_short) return c_int
7894 begin
7895 return vcmpgtuh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7896 end vec_all_gt;
7898 function vec_all_gt
7899 (A : vector_unsigned_short;
7900 B : vector_bool_short) return c_int
7902 begin
7903 return vcmpgtuh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7904 end vec_all_gt;
7906 function vec_all_gt
7907 (A : vector_unsigned_short;
7908 B : vector_unsigned_short) return c_int
7910 begin
7911 return vcmpgtuh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7912 end vec_all_gt;
7914 function vec_all_gt
7915 (A : vector_bool_short;
7916 B : vector_signed_short) return c_int
7918 begin
7919 return vcmpgtsh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7920 end vec_all_gt;
7922 function vec_all_gt
7923 (A : vector_signed_short;
7924 B : vector_bool_short) return c_int
7926 begin
7927 return vcmpgtsh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7928 end vec_all_gt;
7930 function vec_all_gt
7931 (A : vector_signed_short;
7932 B : vector_signed_short) return c_int
7934 begin
7935 return vcmpgtsh_p (CR6_LT, To_LL_VSS (A), To_LL_VSS (B));
7936 end vec_all_gt;
7938 function vec_all_gt
7939 (A : vector_bool_int;
7940 B : vector_unsigned_int) return c_int
7942 begin
7943 return vcmpgtuw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7944 end vec_all_gt;
7946 function vec_all_gt
7947 (A : vector_unsigned_int;
7948 B : vector_bool_int) return c_int
7950 begin
7951 return vcmpgtuw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7952 end vec_all_gt;
7954 function vec_all_gt
7955 (A : vector_unsigned_int;
7956 B : vector_unsigned_int) return c_int
7958 begin
7959 return vcmpgtuw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7960 end vec_all_gt;
7962 function vec_all_gt
7963 (A : vector_bool_int;
7964 B : vector_signed_int) return c_int
7966 begin
7967 return vcmpgtsw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7968 end vec_all_gt;
7970 function vec_all_gt
7971 (A : vector_signed_int;
7972 B : vector_bool_int) return c_int
7974 begin
7975 return vcmpgtsw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7976 end vec_all_gt;
7978 function vec_all_gt
7979 (A : vector_signed_int;
7980 B : vector_signed_int) return c_int
7982 begin
7983 return vcmpgtsw_p (CR6_LT, To_LL_VSI (A), To_LL_VSI (B));
7984 end vec_all_gt;
7986 function vec_all_gt
7987 (A : vector_float;
7988 B : vector_float) return c_int
7990 begin
7991 return vcmpgtfp_p (CR6_LT, To_LL_VF (A), To_LL_VF (B));
7992 end vec_all_gt;
7994 -- vec_all_in --
7996 function vec_all_in
7997 (A : vector_float;
7998 B : vector_float) return c_int
8000 begin
8001 return vcmpbfp_p (CR6_EQ, To_LL_VF (A), To_LL_VF (B));
8002 end vec_all_in;
8004 -- vec_all_le --
8006 function vec_all_le
8007 (A : vector_bool_char;
8008 B : vector_unsigned_char) return c_int
8010 begin
8011 return vcmpgtub_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8012 end vec_all_le;
8014 function vec_all_le
8015 (A : vector_unsigned_char;
8016 B : vector_bool_char) return c_int
8018 begin
8019 return vcmpgtub_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8020 end vec_all_le;
8022 function vec_all_le
8023 (A : vector_unsigned_char;
8024 B : vector_unsigned_char) return c_int
8026 begin
8027 return vcmpgtub_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8028 end vec_all_le;
8030 function vec_all_le
8031 (A : vector_bool_char;
8032 B : vector_signed_char) return c_int
8034 begin
8035 return vcmpgtsb_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8036 end vec_all_le;
8038 function vec_all_le
8039 (A : vector_signed_char;
8040 B : vector_bool_char) return c_int
8042 begin
8043 return vcmpgtsb_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8044 end vec_all_le;
8046 function vec_all_le
8047 (A : vector_signed_char;
8048 B : vector_signed_char) return c_int
8050 begin
8051 return vcmpgtsb_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8052 end vec_all_le;
8054 function vec_all_le
8055 (A : vector_bool_short;
8056 B : vector_unsigned_short) return c_int
8058 begin
8059 return vcmpgtuh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8060 end vec_all_le;
8062 function vec_all_le
8063 (A : vector_unsigned_short;
8064 B : vector_bool_short) return c_int
8066 begin
8067 return vcmpgtuh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8068 end vec_all_le;
8070 function vec_all_le
8071 (A : vector_unsigned_short;
8072 B : vector_unsigned_short) return c_int
8074 begin
8075 return vcmpgtuh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8076 end vec_all_le;
8078 function vec_all_le
8079 (A : vector_bool_short;
8080 B : vector_signed_short) return c_int
8082 begin
8083 return vcmpgtsh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8084 end vec_all_le;
8086 function vec_all_le
8087 (A : vector_signed_short;
8088 B : vector_bool_short) return c_int
8090 begin
8091 return vcmpgtsh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8092 end vec_all_le;
8094 function vec_all_le
8095 (A : vector_signed_short;
8096 B : vector_signed_short) return c_int
8098 begin
8099 return vcmpgtsh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8100 end vec_all_le;
8102 function vec_all_le
8103 (A : vector_bool_int;
8104 B : vector_unsigned_int) return c_int
8106 begin
8107 return vcmpgtuw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8108 end vec_all_le;
8110 function vec_all_le
8111 (A : vector_unsigned_int;
8112 B : vector_bool_int) return c_int
8114 begin
8115 return vcmpgtuw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8116 end vec_all_le;
8118 function vec_all_le
8119 (A : vector_unsigned_int;
8120 B : vector_unsigned_int) return c_int
8122 begin
8123 return vcmpgtuw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8124 end vec_all_le;
8126 function vec_all_le
8127 (A : vector_bool_int;
8128 B : vector_signed_int) return c_int
8130 begin
8131 return vcmpgtsw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8132 end vec_all_le;
8134 function vec_all_le
8135 (A : vector_signed_int;
8136 B : vector_bool_int) return c_int
8138 begin
8139 return vcmpgtsw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8140 end vec_all_le;
8142 function vec_all_le
8143 (A : vector_signed_int;
8144 B : vector_signed_int) return c_int
8146 begin
8147 return vcmpgtsw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8148 end vec_all_le;
8150 function vec_all_le
8151 (A : vector_float;
8152 B : vector_float) return c_int
8154 begin
8155 return vcmpgefp_p (CR6_LT, To_LL_VF (B), To_LL_VF (A));
8156 end vec_all_le;
8158 -- vec_all_lt --
8160 function vec_all_lt
8161 (A : vector_bool_char;
8162 B : vector_unsigned_char) return c_int
8164 begin
8165 return vcmpgtub_p (CR6_LT, To_LL_VSC (B), To_LL_VSC (A));
8166 end vec_all_lt;
8168 function vec_all_lt
8169 (A : vector_unsigned_char;
8170 B : vector_bool_char) return c_int
8172 begin
8173 return vcmpgtub_p (CR6_LT, To_LL_VSC (B), To_LL_VSC (A));
8174 end vec_all_lt;
8176 function vec_all_lt
8177 (A : vector_unsigned_char;
8178 B : vector_unsigned_char) return c_int
8180 begin
8181 return vcmpgtub_p (CR6_LT, To_LL_VSC (B), To_LL_VSC (A));
8182 end vec_all_lt;
8184 function vec_all_lt
8185 (A : vector_bool_char;
8186 B : vector_signed_char) return c_int
8188 begin
8189 return vcmpgtsb_p (CR6_LT, To_LL_VSC (B), To_LL_VSC (A));
8190 end vec_all_lt;
8192 function vec_all_lt
8193 (A : vector_signed_char;
8194 B : vector_bool_char) return c_int
8196 begin
8197 return vcmpgtsb_p (CR6_LT, To_LL_VSC (B), To_LL_VSC (A));
8198 end vec_all_lt;
8200 function vec_all_lt
8201 (A : vector_signed_char;
8202 B : vector_signed_char) return c_int
8204 begin
8205 return vcmpgtsb_p (CR6_LT, To_LL_VSC (B), To_LL_VSC (A));
8206 end vec_all_lt;
8208 function vec_all_lt
8209 (A : vector_bool_short;
8210 B : vector_unsigned_short) return c_int
8212 begin
8213 return vcmpgtuh_p (CR6_LT, To_LL_VSS (B), To_LL_VSS (A));
8214 end vec_all_lt;
8216 function vec_all_lt
8217 (A : vector_unsigned_short;
8218 B : vector_bool_short) return c_int
8220 begin
8221 return vcmpgtuh_p (CR6_LT, To_LL_VSS (B), To_LL_VSS (A));
8222 end vec_all_lt;
8224 function vec_all_lt
8225 (A : vector_unsigned_short;
8226 B : vector_unsigned_short) return c_int
8228 begin
8229 return vcmpgtuh_p (CR6_LT, To_LL_VSS (B), To_LL_VSS (A));
8230 end vec_all_lt;
8232 function vec_all_lt
8233 (A : vector_bool_short;
8234 B : vector_signed_short) return c_int
8236 begin
8237 return vcmpgtsh_p (CR6_LT, To_LL_VSS (B), To_LL_VSS (A));
8238 end vec_all_lt;
8240 function vec_all_lt
8241 (A : vector_signed_short;
8242 B : vector_bool_short) return c_int
8244 begin
8245 return vcmpgtsh_p (CR6_LT, To_LL_VSS (B), To_LL_VSS (A));
8246 end vec_all_lt;
8248 function vec_all_lt
8249 (A : vector_signed_short;
8250 B : vector_signed_short) return c_int
8252 begin
8253 return vcmpgtsh_p (CR6_LT, To_LL_VSS (B), To_LL_VSS (A));
8254 end vec_all_lt;
8256 function vec_all_lt
8257 (A : vector_bool_int;
8258 B : vector_unsigned_int) return c_int
8260 begin
8261 return vcmpgtuw_p (CR6_LT, To_LL_VSI (B), To_LL_VSI (A));
8262 end vec_all_lt;
8264 function vec_all_lt
8265 (A : vector_unsigned_int;
8266 B : vector_bool_int) return c_int
8268 begin
8269 return vcmpgtuw_p (CR6_LT, To_LL_VSI (B), To_LL_VSI (A));
8270 end vec_all_lt;
8272 function vec_all_lt
8273 (A : vector_unsigned_int;
8274 B : vector_unsigned_int) return c_int
8276 begin
8277 return vcmpgtuw_p (CR6_LT, To_LL_VSI (B), To_LL_VSI (A));
8278 end vec_all_lt;
8280 function vec_all_lt
8281 (A : vector_bool_int;
8282 B : vector_signed_int) return c_int
8284 begin
8285 return vcmpgtsw_p (CR6_LT, To_LL_VSI (B), To_LL_VSI (A));
8286 end vec_all_lt;
8288 function vec_all_lt
8289 (A : vector_signed_int;
8290 B : vector_bool_int) return c_int
8292 begin
8293 return vcmpgtsw_p (CR6_LT, To_LL_VSI (B), To_LL_VSI (A));
8294 end vec_all_lt;
8296 function vec_all_lt
8297 (A : vector_signed_int;
8298 B : vector_signed_int) return c_int
8300 begin
8301 return vcmpgtsw_p (CR6_LT, To_LL_VSI (B), To_LL_VSI (A));
8302 end vec_all_lt;
8304 function vec_all_lt
8305 (A : vector_float;
8306 B : vector_float) return c_int
8308 begin
8309 return vcmpgtfp_p (CR6_LT, To_LL_VF (B), To_LL_VF (A));
8310 end vec_all_lt;
8312 -- vec_all_nan --
8314 function vec_all_nan
8315 (A : vector_float) return c_int
8317 begin
8318 return vcmpeqfp_p (CR6_EQ, To_LL_VF (A), To_LL_VF (A));
8319 end vec_all_nan;
8321 -- vec_all_ne --
8323 function vec_all_ne
8324 (A : vector_signed_char;
8325 B : vector_bool_char) return c_int
8327 begin
8328 return vcmpequb_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8329 end vec_all_ne;
8331 function vec_all_ne
8332 (A : vector_signed_char;
8333 B : vector_signed_char) return c_int
8335 begin
8336 return vcmpequb_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8337 end vec_all_ne;
8339 function vec_all_ne
8340 (A : vector_unsigned_char;
8341 B : vector_bool_char) return c_int
8343 begin
8344 return vcmpequb_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8345 end vec_all_ne;
8347 function vec_all_ne
8348 (A : vector_unsigned_char;
8349 B : vector_unsigned_char) return c_int
8351 begin
8352 return vcmpequb_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8353 end vec_all_ne;
8355 function vec_all_ne
8356 (A : vector_bool_char;
8357 B : vector_bool_char) return c_int
8359 begin
8360 return vcmpequb_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8361 end vec_all_ne;
8363 function vec_all_ne
8364 (A : vector_bool_char;
8365 B : vector_unsigned_char) return c_int
8367 begin
8368 return vcmpequb_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8369 end vec_all_ne;
8371 function vec_all_ne
8372 (A : vector_bool_char;
8373 B : vector_signed_char) return c_int
8375 begin
8376 return vcmpequb_p (CR6_EQ, To_LL_VSC (A), To_LL_VSC (B));
8377 end vec_all_ne;
8379 function vec_all_ne
8380 (A : vector_signed_short;
8381 B : vector_bool_short) return c_int
8383 begin
8384 return vcmpequh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8385 end vec_all_ne;
8387 function vec_all_ne
8388 (A : vector_signed_short;
8389 B : vector_signed_short) return c_int
8391 begin
8392 return vcmpequh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8393 end vec_all_ne;
8395 function vec_all_ne
8396 (A : vector_unsigned_short;
8397 B : vector_bool_short) return c_int
8399 begin
8400 return vcmpequh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8401 end vec_all_ne;
8403 function vec_all_ne
8404 (A : vector_unsigned_short;
8405 B : vector_unsigned_short) return c_int
8407 begin
8408 return vcmpequh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8409 end vec_all_ne;
8411 function vec_all_ne
8412 (A : vector_bool_short;
8413 B : vector_bool_short) return c_int
8415 begin
8416 return vcmpequh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8417 end vec_all_ne;
8419 function vec_all_ne
8420 (A : vector_bool_short;
8421 B : vector_unsigned_short) return c_int
8423 begin
8424 return vcmpequh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8425 end vec_all_ne;
8427 function vec_all_ne
8428 (A : vector_bool_short;
8429 B : vector_signed_short) return c_int
8431 begin
8432 return vcmpequh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8433 end vec_all_ne;
8435 function vec_all_ne
8436 (A : vector_pixel;
8437 B : vector_pixel) return c_int
8439 begin
8440 return vcmpequh_p (CR6_EQ, To_LL_VSS (A), To_LL_VSS (B));
8441 end vec_all_ne;
8443 function vec_all_ne
8444 (A : vector_signed_int;
8445 B : vector_bool_int) return c_int
8447 begin
8448 return vcmpequw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8449 end vec_all_ne;
8451 function vec_all_ne
8452 (A : vector_signed_int;
8453 B : vector_signed_int) return c_int
8455 begin
8456 return vcmpequw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8457 end vec_all_ne;
8459 function vec_all_ne
8460 (A : vector_unsigned_int;
8461 B : vector_bool_int) return c_int
8463 begin
8464 return vcmpequw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8465 end vec_all_ne;
8467 function vec_all_ne
8468 (A : vector_unsigned_int;
8469 B : vector_unsigned_int) return c_int
8471 begin
8472 return vcmpequw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8473 end vec_all_ne;
8475 function vec_all_ne
8476 (A : vector_bool_int;
8477 B : vector_bool_int) return c_int
8479 begin
8480 return vcmpequw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8481 end vec_all_ne;
8483 function vec_all_ne
8484 (A : vector_bool_int;
8485 B : vector_unsigned_int) return c_int
8487 begin
8488 return vcmpequw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8489 end vec_all_ne;
8491 function vec_all_ne
8492 (A : vector_bool_int;
8493 B : vector_signed_int) return c_int
8495 begin
8496 return vcmpequw_p (CR6_EQ, To_LL_VSI (A), To_LL_VSI (B));
8497 end vec_all_ne;
8499 function vec_all_ne
8500 (A : vector_float;
8501 B : vector_float) return c_int
8503 begin
8504 return vcmpeqfp_p (CR6_EQ, To_LL_VF (A), To_LL_VF (B));
8505 end vec_all_ne;
8507 -- vec_all_nge --
8509 function vec_all_nge
8510 (A : vector_float;
8511 B : vector_float) return c_int
8513 begin
8514 return vcmpgefp_p (CR6_EQ, To_LL_VF (A), To_LL_VF (B));
8515 end vec_all_nge;
8517 -- vec_all_ngt --
8519 function vec_all_ngt
8520 (A : vector_float;
8521 B : vector_float) return c_int
8523 begin
8524 return vcmpgtfp_p (CR6_EQ, To_LL_VF (A), To_LL_VF (B));
8525 end vec_all_ngt;
8527 -- vec_all_nle --
8529 function vec_all_nle
8530 (A : vector_float;
8531 B : vector_float) return c_int
8533 begin
8534 return vcmpgefp_p (CR6_EQ, To_LL_VF (B), To_LL_VF (A));
8535 end vec_all_nle;
8537 -- vec_all_nlt --
8539 function vec_all_nlt
8540 (A : vector_float;
8541 B : vector_float) return c_int
8543 begin
8544 return vcmpgtfp_p (CR6_EQ, To_LL_VF (B), To_LL_VF (A));
8545 end vec_all_nlt;
8547 -- vec_all_numeric --
8549 function vec_all_numeric
8550 (A : vector_float) return c_int
8552 begin
8553 return vcmpeqfp_p (CR6_LT, To_LL_VF (A), To_LL_VF (A));
8554 end vec_all_numeric;
8556 -- vec_any_eq --
8558 function vec_any_eq
8559 (A : vector_signed_char;
8560 B : vector_bool_char) return c_int
8562 begin
8563 return vcmpequb_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8564 end vec_any_eq;
8566 function vec_any_eq
8567 (A : vector_signed_char;
8568 B : vector_signed_char) return c_int
8570 begin
8571 return vcmpequb_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8572 end vec_any_eq;
8574 function vec_any_eq
8575 (A : vector_unsigned_char;
8576 B : vector_bool_char) return c_int
8578 begin
8579 return vcmpequb_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8580 end vec_any_eq;
8582 function vec_any_eq
8583 (A : vector_unsigned_char;
8584 B : vector_unsigned_char) return c_int
8586 begin
8587 return vcmpequb_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8588 end vec_any_eq;
8590 function vec_any_eq
8591 (A : vector_bool_char;
8592 B : vector_bool_char) return c_int
8594 begin
8595 return vcmpequb_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8596 end vec_any_eq;
8598 function vec_any_eq
8599 (A : vector_bool_char;
8600 B : vector_unsigned_char) return c_int
8602 begin
8603 return vcmpequb_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8604 end vec_any_eq;
8606 function vec_any_eq
8607 (A : vector_bool_char;
8608 B : vector_signed_char) return c_int
8610 begin
8611 return vcmpequb_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8612 end vec_any_eq;
8614 function vec_any_eq
8615 (A : vector_signed_short;
8616 B : vector_bool_short) return c_int
8618 begin
8619 return vcmpequh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8620 end vec_any_eq;
8622 function vec_any_eq
8623 (A : vector_signed_short;
8624 B : vector_signed_short) return c_int
8626 begin
8627 return vcmpequh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8628 end vec_any_eq;
8630 function vec_any_eq
8631 (A : vector_unsigned_short;
8632 B : vector_bool_short) return c_int
8634 begin
8635 return vcmpequh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8636 end vec_any_eq;
8638 function vec_any_eq
8639 (A : vector_unsigned_short;
8640 B : vector_unsigned_short) return c_int
8642 begin
8643 return vcmpequh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8644 end vec_any_eq;
8646 function vec_any_eq
8647 (A : vector_bool_short;
8648 B : vector_bool_short) return c_int
8650 begin
8651 return vcmpequh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8652 end vec_any_eq;
8654 function vec_any_eq
8655 (A : vector_bool_short;
8656 B : vector_unsigned_short) return c_int
8658 begin
8659 return vcmpequh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8660 end vec_any_eq;
8662 function vec_any_eq
8663 (A : vector_bool_short;
8664 B : vector_signed_short) return c_int
8666 begin
8667 return vcmpequh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8668 end vec_any_eq;
8670 function vec_any_eq
8671 (A : vector_pixel;
8672 B : vector_pixel) return c_int
8674 begin
8675 return vcmpequh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8676 end vec_any_eq;
8678 function vec_any_eq
8679 (A : vector_signed_int;
8680 B : vector_bool_int) return c_int
8682 begin
8683 return vcmpequw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
8684 end vec_any_eq;
8686 function vec_any_eq
8687 (A : vector_signed_int;
8688 B : vector_signed_int) return c_int
8690 begin
8691 return vcmpequw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
8692 end vec_any_eq;
8694 function vec_any_eq
8695 (A : vector_unsigned_int;
8696 B : vector_bool_int) return c_int
8698 begin
8699 return vcmpequw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
8700 end vec_any_eq;
8702 function vec_any_eq
8703 (A : vector_unsigned_int;
8704 B : vector_unsigned_int) return c_int
8706 begin
8707 return vcmpequw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
8708 end vec_any_eq;
8710 function vec_any_eq
8711 (A : vector_bool_int;
8712 B : vector_bool_int) return c_int
8714 begin
8715 return vcmpequw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
8716 end vec_any_eq;
8718 function vec_any_eq
8719 (A : vector_bool_int;
8720 B : vector_unsigned_int) return c_int
8722 begin
8723 return vcmpequw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
8724 end vec_any_eq;
8726 function vec_any_eq
8727 (A : vector_bool_int;
8728 B : vector_signed_int) return c_int
8730 begin
8731 return vcmpequw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
8732 end vec_any_eq;
8734 function vec_any_eq
8735 (A : vector_float;
8736 B : vector_float) return c_int
8738 begin
8739 return vcmpeqfp_p (CR6_EQ_REV, To_LL_VF (A), To_LL_VF (B));
8740 end vec_any_eq;
8742 -- vec_any_ge --
8744 function vec_any_ge
8745 (A : vector_signed_char;
8746 B : vector_bool_char) return c_int
8748 begin
8749 return vcmpgtub_p (CR6_LT_REV, To_LL_VSC (B), To_LL_VSC (A));
8750 end vec_any_ge;
8752 function vec_any_ge
8753 (A : vector_unsigned_char;
8754 B : vector_bool_char) return c_int
8756 begin
8757 return vcmpgtub_p (CR6_LT_REV, To_LL_VSC (B), To_LL_VSC (A));
8758 end vec_any_ge;
8760 function vec_any_ge
8761 (A : vector_unsigned_char;
8762 B : vector_unsigned_char) return c_int
8764 begin
8765 return vcmpgtub_p (CR6_LT_REV, To_LL_VSC (B), To_LL_VSC (A));
8766 end vec_any_ge;
8768 function vec_any_ge
8769 (A : vector_signed_char;
8770 B : vector_signed_char) return c_int
8772 begin
8773 return vcmpgtsb_p (CR6_LT_REV, To_LL_VSC (B), To_LL_VSC (A));
8774 end vec_any_ge;
8776 function vec_any_ge
8777 (A : vector_bool_char;
8778 B : vector_unsigned_char) return c_int
8780 begin
8781 return vcmpgtub_p (CR6_LT_REV, To_LL_VSC (B), To_LL_VSC (A));
8782 end vec_any_ge;
8784 function vec_any_ge
8785 (A : vector_bool_char;
8786 B : vector_signed_char) return c_int
8788 begin
8789 return vcmpgtub_p (CR6_LT_REV, To_LL_VSC (B), To_LL_VSC (A));
8790 end vec_any_ge;
8792 function vec_any_ge
8793 (A : vector_unsigned_short;
8794 B : vector_bool_short) return c_int
8796 begin
8797 return vcmpgtuh_p (CR6_LT_REV, To_LL_VSS (B), To_LL_VSS (A));
8798 end vec_any_ge;
8800 function vec_any_ge
8801 (A : vector_unsigned_short;
8802 B : vector_unsigned_short) return c_int
8804 begin
8805 return vcmpgtuh_p (CR6_LT_REV, To_LL_VSS (B), To_LL_VSS (A));
8806 end vec_any_ge;
8808 function vec_any_ge
8809 (A : vector_signed_short;
8810 B : vector_signed_short) return c_int
8812 begin
8813 return vcmpgtsh_p (CR6_LT_REV, To_LL_VSS (B), To_LL_VSS (A));
8814 end vec_any_ge;
8816 function vec_any_ge
8817 (A : vector_signed_short;
8818 B : vector_bool_short) return c_int
8820 begin
8821 return vcmpgtsh_p (CR6_LT_REV, To_LL_VSS (B), To_LL_VSS (A));
8822 end vec_any_ge;
8824 function vec_any_ge
8825 (A : vector_bool_short;
8826 B : vector_unsigned_short) return c_int
8828 begin
8829 return vcmpgtuh_p (CR6_LT_REV, To_LL_VSS (B), To_LL_VSS (A));
8830 end vec_any_ge;
8832 function vec_any_ge
8833 (A : vector_bool_short;
8834 B : vector_signed_short) return c_int
8836 begin
8837 return vcmpgtuh_p (CR6_LT_REV, To_LL_VSS (B), To_LL_VSS (A));
8838 end vec_any_ge;
8840 function vec_any_ge
8841 (A : vector_signed_int;
8842 B : vector_bool_int) return c_int
8844 begin
8845 return vcmpgtuw_p (CR6_LT_REV, To_LL_VSI (B), To_LL_VSI (A));
8846 end vec_any_ge;
8848 function vec_any_ge
8849 (A : vector_unsigned_int;
8850 B : vector_bool_int) return c_int
8852 begin
8853 return vcmpgtuw_p (CR6_LT_REV, To_LL_VSI (B), To_LL_VSI (A));
8854 end vec_any_ge;
8856 function vec_any_ge
8857 (A : vector_unsigned_int;
8858 B : vector_unsigned_int) return c_int
8860 begin
8861 return vcmpgtuw_p (CR6_LT_REV, To_LL_VSI (B), To_LL_VSI (A));
8862 end vec_any_ge;
8864 function vec_any_ge
8865 (A : vector_signed_int;
8866 B : vector_signed_int) return c_int
8868 begin
8869 return vcmpgtsw_p (CR6_LT_REV, To_LL_VSI (B), To_LL_VSI (A));
8870 end vec_any_ge;
8872 function vec_any_ge
8873 (A : vector_bool_int;
8874 B : vector_unsigned_int) return c_int
8876 begin
8877 return vcmpgtuw_p (CR6_LT_REV, To_LL_VSI (B), To_LL_VSI (A));
8878 end vec_any_ge;
8880 function vec_any_ge
8881 (A : vector_bool_int;
8882 B : vector_signed_int) return c_int
8884 begin
8885 return vcmpgtuw_p (CR6_LT_REV, To_LL_VSI (B), To_LL_VSI (A));
8886 end vec_any_ge;
8888 function vec_any_ge
8889 (A : vector_float;
8890 B : vector_float) return c_int
8892 begin
8893 return vcmpgefp_p (CR6_EQ_REV, To_LL_VF (A), To_LL_VF (B));
8894 end vec_any_ge;
8896 -- vec_any_gt --
8898 function vec_any_gt
8899 (A : vector_bool_char;
8900 B : vector_unsigned_char) return c_int
8902 begin
8903 return vcmpgtub_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8904 end vec_any_gt;
8906 function vec_any_gt
8907 (A : vector_unsigned_char;
8908 B : vector_bool_char) return c_int
8910 begin
8911 return vcmpgtub_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8912 end vec_any_gt;
8914 function vec_any_gt
8915 (A : vector_unsigned_char;
8916 B : vector_unsigned_char) return c_int
8918 begin
8919 return vcmpgtub_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8920 end vec_any_gt;
8922 function vec_any_gt
8923 (A : vector_bool_char;
8924 B : vector_signed_char) return c_int
8926 begin
8927 return vcmpgtsb_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8928 end vec_any_gt;
8930 function vec_any_gt
8931 (A : vector_signed_char;
8932 B : vector_bool_char) return c_int
8934 begin
8935 return vcmpgtsb_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8936 end vec_any_gt;
8938 function vec_any_gt
8939 (A : vector_signed_char;
8940 B : vector_signed_char) return c_int
8942 begin
8943 return vcmpgtsb_p (CR6_EQ_REV, To_LL_VSC (A), To_LL_VSC (B));
8944 end vec_any_gt;
8946 function vec_any_gt
8947 (A : vector_bool_short;
8948 B : vector_unsigned_short) return c_int
8950 begin
8951 return vcmpgtuh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8952 end vec_any_gt;
8954 function vec_any_gt
8955 (A : vector_unsigned_short;
8956 B : vector_bool_short) return c_int
8958 begin
8959 return vcmpgtuh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8960 end vec_any_gt;
8962 function vec_any_gt
8963 (A : vector_unsigned_short;
8964 B : vector_unsigned_short) return c_int
8966 begin
8967 return vcmpgtuh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8968 end vec_any_gt;
8970 function vec_any_gt
8971 (A : vector_bool_short;
8972 B : vector_signed_short) return c_int
8974 begin
8975 return vcmpgtsh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8976 end vec_any_gt;
8978 function vec_any_gt
8979 (A : vector_signed_short;
8980 B : vector_bool_short) return c_int
8982 begin
8983 return vcmpgtsh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8984 end vec_any_gt;
8986 function vec_any_gt
8987 (A : vector_signed_short;
8988 B : vector_signed_short) return c_int
8990 begin
8991 return vcmpgtsh_p (CR6_EQ_REV, To_LL_VSS (A), To_LL_VSS (B));
8992 end vec_any_gt;
8994 function vec_any_gt
8995 (A : vector_bool_int;
8996 B : vector_unsigned_int) return c_int
8998 begin
8999 return vcmpgtuw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
9000 end vec_any_gt;
9002 function vec_any_gt
9003 (A : vector_unsigned_int;
9004 B : vector_bool_int) return c_int
9006 begin
9007 return vcmpgtuw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
9008 end vec_any_gt;
9010 function vec_any_gt
9011 (A : vector_unsigned_int;
9012 B : vector_unsigned_int) return c_int
9014 begin
9015 return vcmpgtuw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
9016 end vec_any_gt;
9018 function vec_any_gt
9019 (A : vector_bool_int;
9020 B : vector_signed_int) return c_int
9022 begin
9023 return vcmpgtsw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
9024 end vec_any_gt;
9026 function vec_any_gt
9027 (A : vector_signed_int;
9028 B : vector_bool_int) return c_int
9030 begin
9031 return vcmpgtsw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
9032 end vec_any_gt;
9034 function vec_any_gt
9035 (A : vector_signed_int;
9036 B : vector_signed_int) return c_int
9038 begin
9039 return vcmpgtsw_p (CR6_EQ_REV, To_LL_VSI (A), To_LL_VSI (B));
9040 end vec_any_gt;
9042 function vec_any_gt
9043 (A : vector_float;
9044 B : vector_float) return c_int
9046 begin
9047 return vcmpgtfp_p (CR6_EQ_REV, To_LL_VF (A), To_LL_VF (B));
9048 end vec_any_gt;
9050 -- vec_any_le --
9052 function vec_any_le
9053 (A : vector_bool_char;
9054 B : vector_unsigned_char) return c_int
9056 begin
9057 return vcmpgtub_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9058 end vec_any_le;
9060 function vec_any_le
9061 (A : vector_unsigned_char;
9062 B : vector_bool_char) return c_int
9064 begin
9065 return vcmpgtub_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9066 end vec_any_le;
9068 function vec_any_le
9069 (A : vector_unsigned_char;
9070 B : vector_unsigned_char) return c_int
9072 begin
9073 return vcmpgtub_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9074 end vec_any_le;
9076 function vec_any_le
9077 (A : vector_bool_char;
9078 B : vector_signed_char) return c_int
9080 begin
9081 return vcmpgtsb_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9082 end vec_any_le;
9084 function vec_any_le
9085 (A : vector_signed_char;
9086 B : vector_bool_char) return c_int
9088 begin
9089 return vcmpgtsb_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9090 end vec_any_le;
9092 function vec_any_le
9093 (A : vector_signed_char;
9094 B : vector_signed_char) return c_int
9096 begin
9097 return vcmpgtsb_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9098 end vec_any_le;
9100 function vec_any_le
9101 (A : vector_bool_short;
9102 B : vector_unsigned_short) return c_int
9104 begin
9105 return vcmpgtuh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9106 end vec_any_le;
9108 function vec_any_le
9109 (A : vector_unsigned_short;
9110 B : vector_bool_short) return c_int
9112 begin
9113 return vcmpgtuh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9114 end vec_any_le;
9116 function vec_any_le
9117 (A : vector_unsigned_short;
9118 B : vector_unsigned_short) return c_int
9120 begin
9121 return vcmpgtuh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9122 end vec_any_le;
9124 function vec_any_le
9125 (A : vector_bool_short;
9126 B : vector_signed_short) return c_int
9128 begin
9129 return vcmpgtsh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9130 end vec_any_le;
9132 function vec_any_le
9133 (A : vector_signed_short;
9134 B : vector_bool_short) return c_int
9136 begin
9137 return vcmpgtsh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9138 end vec_any_le;
9140 function vec_any_le
9141 (A : vector_signed_short;
9142 B : vector_signed_short) return c_int
9144 begin
9145 return vcmpgtsh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9146 end vec_any_le;
9148 function vec_any_le
9149 (A : vector_bool_int;
9150 B : vector_unsigned_int) return c_int
9152 begin
9153 return vcmpgtuw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9154 end vec_any_le;
9156 function vec_any_le
9157 (A : vector_unsigned_int;
9158 B : vector_bool_int) return c_int
9160 begin
9161 return vcmpgtuw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9162 end vec_any_le;
9164 function vec_any_le
9165 (A : vector_unsigned_int;
9166 B : vector_unsigned_int) return c_int
9168 begin
9169 return vcmpgtuw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9170 end vec_any_le;
9172 function vec_any_le
9173 (A : vector_bool_int;
9174 B : vector_signed_int) return c_int
9176 begin
9177 return vcmpgtsw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9178 end vec_any_le;
9180 function vec_any_le
9181 (A : vector_signed_int;
9182 B : vector_bool_int) return c_int
9184 begin
9185 return vcmpgtsw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9186 end vec_any_le;
9188 function vec_any_le
9189 (A : vector_signed_int;
9190 B : vector_signed_int) return c_int
9192 begin
9193 return vcmpgtsw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9194 end vec_any_le;
9196 function vec_any_le
9197 (A : vector_float;
9198 B : vector_float) return c_int
9200 begin
9201 return vcmpgefp_p (CR6_EQ_REV, To_LL_VF (B), To_LL_VF (A));
9202 end vec_any_le;
9204 -- vec_any_lt --
9206 function vec_any_lt
9207 (A : vector_bool_char;
9208 B : vector_unsigned_char) return c_int
9210 begin
9211 return vcmpgtub_p (CR6_EQ_REV, To_LL_VSC (B), To_LL_VSC (A));
9212 end vec_any_lt;
9214 function vec_any_lt
9215 (A : vector_unsigned_char;
9216 B : vector_bool_char) return c_int
9218 begin
9219 return vcmpgtub_p (CR6_EQ_REV, To_LL_VSC (B), To_LL_VSC (A));
9220 end vec_any_lt;
9222 function vec_any_lt
9223 (A : vector_unsigned_char;
9224 B : vector_unsigned_char) return c_int
9226 begin
9227 return vcmpgtub_p (CR6_EQ_REV, To_LL_VSC (B), To_LL_VSC (A));
9228 end vec_any_lt;
9230 function vec_any_lt
9231 (A : vector_bool_char;
9232 B : vector_signed_char) return c_int
9234 begin
9235 return vcmpgtsb_p (CR6_EQ_REV, To_LL_VSC (B), To_LL_VSC (A));
9236 end vec_any_lt;
9238 function vec_any_lt
9239 (A : vector_signed_char;
9240 B : vector_bool_char) return c_int
9242 begin
9243 return vcmpgtsb_p (CR6_EQ_REV, To_LL_VSC (B), To_LL_VSC (A));
9244 end vec_any_lt;
9246 function vec_any_lt
9247 (A : vector_signed_char;
9248 B : vector_signed_char) return c_int
9250 begin
9251 return vcmpgtsb_p (CR6_EQ_REV, To_LL_VSC (B), To_LL_VSC (A));
9252 end vec_any_lt;
9254 function vec_any_lt
9255 (A : vector_bool_short;
9256 B : vector_unsigned_short) return c_int
9258 begin
9259 return vcmpgtuh_p (CR6_EQ_REV, To_LL_VSS (B), To_LL_VSS (A));
9260 end vec_any_lt;
9262 function vec_any_lt
9263 (A : vector_unsigned_short;
9264 B : vector_bool_short) return c_int
9266 begin
9267 return vcmpgtuh_p (CR6_EQ_REV, To_LL_VSS (B), To_LL_VSS (A));
9268 end vec_any_lt;
9270 function vec_any_lt
9271 (A : vector_unsigned_short;
9272 B : vector_unsigned_short) return c_int
9274 begin
9275 return vcmpgtuh_p (CR6_EQ_REV, To_LL_VSS (B), To_LL_VSS (A));
9276 end vec_any_lt;
9278 function vec_any_lt
9279 (A : vector_bool_short;
9280 B : vector_signed_short) return c_int
9282 begin
9283 return vcmpgtsh_p (CR6_EQ_REV, To_LL_VSS (B), To_LL_VSS (A));
9284 end vec_any_lt;
9286 function vec_any_lt
9287 (A : vector_signed_short;
9288 B : vector_bool_short) return c_int
9290 begin
9291 return vcmpgtsh_p (CR6_EQ_REV, To_LL_VSS (B), To_LL_VSS (A));
9292 end vec_any_lt;
9294 function vec_any_lt
9295 (A : vector_signed_short;
9296 B : vector_signed_short) return c_int
9298 begin
9299 return vcmpgtsh_p (CR6_EQ_REV, To_LL_VSS (B), To_LL_VSS (A));
9300 end vec_any_lt;
9302 function vec_any_lt
9303 (A : vector_bool_int;
9304 B : vector_unsigned_int) return c_int
9306 begin
9307 return vcmpgtuw_p (CR6_EQ_REV, To_LL_VSI (B), To_LL_VSI (A));
9308 end vec_any_lt;
9310 function vec_any_lt
9311 (A : vector_unsigned_int;
9312 B : vector_bool_int) return c_int
9314 begin
9315 return vcmpgtuw_p (CR6_EQ_REV, To_LL_VSI (B), To_LL_VSI (A));
9316 end vec_any_lt;
9318 function vec_any_lt
9319 (A : vector_unsigned_int;
9320 B : vector_unsigned_int) return c_int
9322 begin
9323 return vcmpgtuw_p (CR6_EQ_REV, To_LL_VSI (B), To_LL_VSI (A));
9324 end vec_any_lt;
9326 function vec_any_lt
9327 (A : vector_bool_int;
9328 B : vector_signed_int) return c_int
9330 begin
9331 return vcmpgtsw_p (CR6_EQ_REV, To_LL_VSI (B), To_LL_VSI (A));
9332 end vec_any_lt;
9334 function vec_any_lt
9335 (A : vector_signed_int;
9336 B : vector_bool_int) return c_int
9338 begin
9339 return vcmpgtsw_p (CR6_EQ_REV, To_LL_VSI (B), To_LL_VSI (A));
9340 end vec_any_lt;
9342 function vec_any_lt
9343 (A : vector_signed_int;
9344 B : vector_signed_int) return c_int
9346 begin
9347 return vcmpgtsw_p (CR6_EQ_REV, To_LL_VSI (B), To_LL_VSI (A));
9348 end vec_any_lt;
9350 function vec_any_lt
9351 (A : vector_float;
9352 B : vector_float) return c_int
9354 begin
9355 return vcmpgtfp_p (CR6_EQ_REV, To_LL_VF (B), To_LL_VF (A));
9356 end vec_any_lt;
9358 -- vec_any_nan --
9360 function vec_any_nan
9361 (A : vector_float) return c_int
9363 begin
9364 return vcmpeqfp_p (CR6_LT_REV, To_LL_VF (A), To_LL_VF (A));
9365 end vec_any_nan;
9367 -- vec_any_ne --
9369 function vec_any_ne
9370 (A : vector_signed_char;
9371 B : vector_bool_char) return c_int
9373 begin
9374 return vcmpequb_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9375 end vec_any_ne;
9377 function vec_any_ne
9378 (A : vector_signed_char;
9379 B : vector_signed_char) return c_int
9381 begin
9382 return vcmpequb_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9383 end vec_any_ne;
9385 function vec_any_ne
9386 (A : vector_unsigned_char;
9387 B : vector_bool_char) return c_int
9389 begin
9390 return vcmpequb_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9391 end vec_any_ne;
9393 function vec_any_ne
9394 (A : vector_unsigned_char;
9395 B : vector_unsigned_char) return c_int
9397 begin
9398 return vcmpequb_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9399 end vec_any_ne;
9401 function vec_any_ne
9402 (A : vector_bool_char;
9403 B : vector_bool_char) return c_int
9405 begin
9406 return vcmpequb_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9407 end vec_any_ne;
9409 function vec_any_ne
9410 (A : vector_bool_char;
9411 B : vector_unsigned_char) return c_int
9413 begin
9414 return vcmpequb_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9415 end vec_any_ne;
9417 function vec_any_ne
9418 (A : vector_bool_char;
9419 B : vector_signed_char) return c_int
9421 begin
9422 return vcmpequb_p (CR6_LT_REV, To_LL_VSC (A), To_LL_VSC (B));
9423 end vec_any_ne;
9425 function vec_any_ne
9426 (A : vector_signed_short;
9427 B : vector_bool_short) return c_int
9429 begin
9430 return vcmpequh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9431 end vec_any_ne;
9433 function vec_any_ne
9434 (A : vector_signed_short;
9435 B : vector_signed_short) return c_int
9437 begin
9438 return vcmpequh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9439 end vec_any_ne;
9441 function vec_any_ne
9442 (A : vector_unsigned_short;
9443 B : vector_bool_short) return c_int
9445 begin
9446 return vcmpequh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9447 end vec_any_ne;
9449 function vec_any_ne
9450 (A : vector_unsigned_short;
9451 B : vector_unsigned_short) return c_int
9453 begin
9454 return vcmpequh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9455 end vec_any_ne;
9457 function vec_any_ne
9458 (A : vector_bool_short;
9459 B : vector_bool_short) return c_int
9461 begin
9462 return vcmpequh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9463 end vec_any_ne;
9465 function vec_any_ne
9466 (A : vector_bool_short;
9467 B : vector_unsigned_short) return c_int
9469 begin
9470 return vcmpequh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9471 end vec_any_ne;
9473 function vec_any_ne
9474 (A : vector_bool_short;
9475 B : vector_signed_short) return c_int
9477 begin
9478 return vcmpequh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9479 end vec_any_ne;
9481 function vec_any_ne
9482 (A : vector_pixel;
9483 B : vector_pixel) return c_int
9485 begin
9486 return vcmpequh_p (CR6_LT_REV, To_LL_VSS (A), To_LL_VSS (B));
9487 end vec_any_ne;
9489 function vec_any_ne
9490 (A : vector_signed_int;
9491 B : vector_bool_int) return c_int
9493 begin
9494 return vcmpequw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9495 end vec_any_ne;
9497 function vec_any_ne
9498 (A : vector_signed_int;
9499 B : vector_signed_int) return c_int
9501 begin
9502 return vcmpequw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9503 end vec_any_ne;
9505 function vec_any_ne
9506 (A : vector_unsigned_int;
9507 B : vector_bool_int) return c_int
9509 begin
9510 return vcmpequw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9511 end vec_any_ne;
9513 function vec_any_ne
9514 (A : vector_unsigned_int;
9515 B : vector_unsigned_int) return c_int
9517 begin
9518 return vcmpequw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9519 end vec_any_ne;
9521 function vec_any_ne
9522 (A : vector_bool_int;
9523 B : vector_bool_int) return c_int
9525 begin
9526 return vcmpequw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9527 end vec_any_ne;
9529 function vec_any_ne
9530 (A : vector_bool_int;
9531 B : vector_unsigned_int) return c_int
9533 begin
9534 return vcmpequw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9535 end vec_any_ne;
9537 function vec_any_ne
9538 (A : vector_bool_int;
9539 B : vector_signed_int) return c_int
9541 begin
9542 return vcmpequw_p (CR6_LT_REV, To_LL_VSI (A), To_LL_VSI (B));
9543 end vec_any_ne;
9545 function vec_any_ne
9546 (A : vector_float;
9547 B : vector_float) return c_int
9549 begin
9550 return vcmpeqfp_p (CR6_LT_REV, To_LL_VF (A), To_LL_VF (B));
9551 end vec_any_ne;
9553 -- vec_any_nge --
9555 function vec_any_nge
9556 (A : vector_float;
9557 B : vector_float) return c_int
9559 begin
9560 return vcmpgefp_p (CR6_LT_REV, To_LL_VF (A), To_LL_VF (B));
9561 end vec_any_nge;
9563 -- vec_any_ngt --
9565 function vec_any_ngt
9566 (A : vector_float;
9567 B : vector_float) return c_int
9569 begin
9570 return vcmpgtfp_p (CR6_LT_REV, To_LL_VF (A), To_LL_VF (B));
9571 end vec_any_ngt;
9573 -- vec_any_nle --
9575 function vec_any_nle
9576 (A : vector_float;
9577 B : vector_float) return c_int
9579 begin
9580 return vcmpgefp_p (CR6_LT_REV, To_LL_VF (B), To_LL_VF (A));
9581 end vec_any_nle;
9583 -- vec_any_nlt --
9585 function vec_any_nlt
9586 (A : vector_float;
9587 B : vector_float) return c_int
9589 begin
9590 return vcmpgtfp_p (CR6_LT_REV, To_LL_VF (B), To_LL_VF (A));
9591 end vec_any_nlt;
9593 -- vec_any_numeric --
9595 function vec_any_numeric
9596 (A : vector_float) return c_int
9598 begin
9599 return vcmpeqfp_p (CR6_EQ_REV, To_LL_VF (A), To_LL_VF (A));
9600 end vec_any_numeric;
9602 -- vec_any_out --
9604 function vec_any_out
9605 (A : vector_float;
9606 B : vector_float) return c_int
9608 begin
9609 return vcmpbfp_p (CR6_EQ_REV, To_LL_VF (A), To_LL_VF (B));
9610 end vec_any_out;
9612 -- vec_step --
9614 function vec_step
9615 (V : vector_unsigned_char) return Integer
9617 pragma Unreferenced (V);
9618 begin
9619 return 16;
9620 end vec_step;
9622 function vec_step
9623 (V : vector_signed_char) return Integer
9625 pragma Unreferenced (V);
9626 begin
9627 return 16;
9628 end vec_step;
9630 function vec_step
9631 (V : vector_bool_char) return Integer
9633 pragma Unreferenced (V);
9634 begin
9635 return 16;
9636 end vec_step;
9638 function vec_step
9639 (V : vector_unsigned_short) return Integer
9641 pragma Unreferenced (V);
9642 begin
9643 return 8;
9644 end vec_step;
9646 function vec_step
9647 (V : vector_signed_short) return Integer
9649 pragma Unreferenced (V);
9650 begin
9651 return 8;
9652 end vec_step;
9654 function vec_step
9655 (V : vector_bool_short) return Integer
9657 pragma Unreferenced (V);
9658 begin
9659 return 8;
9660 end vec_step;
9662 function vec_step
9663 (V : vector_unsigned_int) return Integer
9665 pragma Unreferenced (V);
9666 begin
9667 return 4;
9668 end vec_step;
9670 function vec_step
9671 (V : vector_signed_int) return Integer
9673 pragma Unreferenced (V);
9674 begin
9675 return 4;
9676 end vec_step;
9678 function vec_step
9679 (V : vector_bool_int) return Integer
9681 pragma Unreferenced (V);
9682 begin
9683 return 4;
9684 end vec_step;
9686 function vec_step
9687 (V : vector_float) return Integer
9689 pragma Unreferenced (V);
9690 begin
9691 return 4;
9692 end vec_step;
9694 function vec_step
9695 (V : vector_pixel) return Integer
9697 pragma Unreferenced (V);
9698 begin
9699 return 4;
9700 end vec_step;
9702 end GNAT.Altivec.Vector_Operations;