First public contribution.
1 /* This file is autogenerated. Do not edit. */
3 * LIBOIL - Library of Optimized Inner Loops
4 * Copyright (c) 2005 David A. Schleef <ds@schleef.org>
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution.
16 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
20 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
24 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
25 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 * POSSIBILITY OF SUCH DAMAGE.
28 //Portions Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
36 #include "liboil/liboil.h"
37 #include "liboil/liboilclasses.h"
40 clamp_s8_pointer (oil_type_s8 *dest, oil_type_s8 *src1,
47 oil_type_s8 x = *src1;
48 if (x < *low) x = *low;
49 if (x > *high) x = *high;
56 OIL_DEFINE_IMPL (clamp_s8_pointer, clamp_s8);
59 clamp_u8_pointer (oil_type_u8 *dest, oil_type_u8 *src1,
66 oil_type_u8 x = *src1;
67 if (x < *low) x = *low;
68 if (x > *high) x = *high;
75 OIL_DEFINE_IMPL (clamp_u8_pointer, clamp_u8);
78 clamp_s16_pointer (oil_type_s16 *dest, oil_type_s16 *src1,
85 oil_type_s16 x = *src1;
86 if (x < *low) x = *low;
87 if (x > *high) x = *high;
94 OIL_DEFINE_IMPL (clamp_s16_pointer, clamp_s16);
97 clamp_u16_pointer (oil_type_u16 *dest, oil_type_u16 *src1,
104 oil_type_u16 x = *src1;
105 if (x < *low) x = *low;
106 if (x > *high) x = *high;
113 OIL_DEFINE_IMPL (clamp_u16_pointer, clamp_u16);
116 clamp_s32_pointer (oil_type_s32 *dest, oil_type_s32 *src1,
123 oil_type_s32 x = *src1;
124 if (x < *low) x = *low;
125 if (x > *high) x = *high;
132 OIL_DEFINE_IMPL (clamp_s32_pointer, clamp_s32);
135 clamp_u32_pointer (oil_type_u32 *dest, oil_type_u32 *src1,
142 oil_type_u32 x = *src1;
143 if (x < *low) x = *low;
144 if (x > *high) x = *high;
151 OIL_DEFINE_IMPL (clamp_u32_pointer, clamp_u32);
154 clamp_s8_unroll4 (oil_type_s8 *dest, oil_type_s8 *src,
155 int n , oil_type_s8 *low, oil_type_s8 *high)
160 if (x < *low) x = *low;
161 if (x > *high) x = *high;
171 if (x < *low) x = *low;
172 if (x > *high) x = *high;
176 if (x < *low) x = *low;
177 if (x > *high) x = *high;
181 if (x < *low) x = *low;
182 if (x > *high) x = *high;
186 if (x < *low) x = *low;
187 if (x > *high) x = *high;
195 OIL_DEFINE_IMPL (clamp_s8_unroll4, clamp_s8);
198 clamp_u8_unroll4 (oil_type_u8 *dest, oil_type_u8 *src,
199 int n , oil_type_u8 *low, oil_type_u8 *high)
204 if (x < *low) x = *low;
205 if (x > *high) x = *high;
215 if (x < *low) x = *low;
216 if (x > *high) x = *high;
220 if (x < *low) x = *low;
221 if (x > *high) x = *high;
225 if (x < *low) x = *low;
226 if (x > *high) x = *high;
230 if (x < *low) x = *low;
231 if (x > *high) x = *high;
239 OIL_DEFINE_IMPL (clamp_u8_unroll4, clamp_u8);
242 clamp_s16_unroll4 (oil_type_s16 *dest, oil_type_s16 *src,
243 int n , oil_type_s16 *low, oil_type_s16 *high)
248 if (x < *low) x = *low;
249 if (x > *high) x = *high;
259 if (x < *low) x = *low;
260 if (x > *high) x = *high;
264 if (x < *low) x = *low;
265 if (x > *high) x = *high;
269 if (x < *low) x = *low;
270 if (x > *high) x = *high;
274 if (x < *low) x = *low;
275 if (x > *high) x = *high;
283 OIL_DEFINE_IMPL (clamp_s16_unroll4, clamp_s16);
286 clamp_u16_unroll4 (oil_type_u16 *dest, oil_type_u16 *src,
287 int n , oil_type_u16 *low, oil_type_u16 *high)
292 if (x < *low) x = *low;
293 if (x > *high) x = *high;
303 if (x < *low) x = *low;
304 if (x > *high) x = *high;
308 if (x < *low) x = *low;
309 if (x > *high) x = *high;
313 if (x < *low) x = *low;
314 if (x > *high) x = *high;
318 if (x < *low) x = *low;
319 if (x > *high) x = *high;
327 OIL_DEFINE_IMPL (clamp_u16_unroll4, clamp_u16);
330 clamp_s32_unroll4 (oil_type_s32 *dest, oil_type_s32 *src,
331 int n , oil_type_s32 *low, oil_type_s32 *high)
336 if (x < *low) x = *low;
337 if (x > *high) x = *high;
347 if (x < *low) x = *low;
348 if (x > *high) x = *high;
352 if (x < *low) x = *low;
353 if (x > *high) x = *high;
357 if (x < *low) x = *low;
358 if (x > *high) x = *high;
362 if (x < *low) x = *low;
363 if (x > *high) x = *high;
371 OIL_DEFINE_IMPL (clamp_s32_unroll4, clamp_s32);
374 clamp_u32_unroll4 (oil_type_u32 *dest, oil_type_u32 *src,
375 int n , oil_type_u32 *low, oil_type_u32 *high)
380 if (x < *low) x = *low;
381 if (x > *high) x = *high;
391 if (x < *low) x = *low;
392 if (x > *high) x = *high;
396 if (x < *low) x = *low;
397 if (x > *high) x = *high;
401 if (x < *low) x = *low;
402 if (x > *high) x = *high;
406 if (x < *low) x = *low;
407 if (x > *high) x = *high;
415 OIL_DEFINE_IMPL (clamp_u32_unroll4, clamp_u32);
418 clamp_s8_trick (oil_type_s8 *dest, oil_type_s8 *src,
419 int n , oil_type_s8 *low, oil_type_s8 *high)
424 x = x - (((x-*low)>>31)&(x-*low));
425 x = x + (((*high-x)>>31)&(*high-x));
435 x = x - (((x-*low)>>31)&(x-*low));
436 x = x + (((*high-x)>>31)&(*high-x));
440 x = x - (((x-*low)>>31)&(x-*low));
441 x = x + (((*high-x)>>31)&(*high-x));
445 x = x - (((x-*low)>>31)&(x-*low));
446 x = x + (((*high-x)>>31)&(*high-x));
450 x = x - (((x-*low)>>31)&(x-*low));
451 x = x + (((*high-x)>>31)&(*high-x));
459 OIL_DEFINE_IMPL (clamp_s8_trick, clamp_s8);
462 clamp_u8_trick (oil_type_u8 *dest, oil_type_u8 *src,
463 int n , oil_type_u8 *low, oil_type_u8 *high)
468 x = x - (((x-*low)>>31)&(x-*low));
469 x = x + (((*high-x)>>31)&(*high-x));
479 x = x - (((x-*low)>>31)&(x-*low));
480 x = x + (((*high-x)>>31)&(*high-x));
484 x = x - (((x-*low)>>31)&(x-*low));
485 x = x + (((*high-x)>>31)&(*high-x));
489 x = x - (((x-*low)>>31)&(x-*low));
490 x = x + (((*high-x)>>31)&(*high-x));
494 x = x - (((x-*low)>>31)&(x-*low));
495 x = x + (((*high-x)>>31)&(*high-x));
503 OIL_DEFINE_IMPL (clamp_u8_trick, clamp_u8);
506 clamp_s16_trick (oil_type_s16 *dest, oil_type_s16 *src,
507 int n , oil_type_s16 *low, oil_type_s16 *high)
512 x = x - (((x-*low)>>31)&(x-*low));
513 x = x + (((*high-x)>>31)&(*high-x));
523 x = x - (((x-*low)>>31)&(x-*low));
524 x = x + (((*high-x)>>31)&(*high-x));
528 x = x - (((x-*low)>>31)&(x-*low));
529 x = x + (((*high-x)>>31)&(*high-x));
533 x = x - (((x-*low)>>31)&(x-*low));
534 x = x + (((*high-x)>>31)&(*high-x));
538 x = x - (((x-*low)>>31)&(x-*low));
539 x = x + (((*high-x)>>31)&(*high-x));
547 OIL_DEFINE_IMPL (clamp_s16_trick, clamp_s16);
550 clamp_u16_trick (oil_type_u16 *dest, oil_type_u16 *src,
551 int n , oil_type_u16 *low, oil_type_u16 *high)
556 x = x - (((x-*low)>>31)&(x-*low));
557 x = x + (((*high-x)>>31)&(*high-x));
567 x = x - (((x-*low)>>31)&(x-*low));
568 x = x + (((*high-x)>>31)&(*high-x));
572 x = x - (((x-*low)>>31)&(x-*low));
573 x = x + (((*high-x)>>31)&(*high-x));
577 x = x - (((x-*low)>>31)&(x-*low));
578 x = x + (((*high-x)>>31)&(*high-x));
582 x = x - (((x-*low)>>31)&(x-*low));
583 x = x + (((*high-x)>>31)&(*high-x));
591 OIL_DEFINE_IMPL (clamp_u16_trick, clamp_u16);
594 clamphigh_s8_pointer (oil_type_s8 *dest, oil_type_s8 *src1,
600 oil_type_s8 x = *src1;
601 if (x > *high) x = *high;
608 OIL_DEFINE_IMPL (clamphigh_s8_pointer, clamphigh_s8);
611 clamphigh_u8_pointer (oil_type_u8 *dest, oil_type_u8 *src1,
617 oil_type_u8 x = *src1;
618 if (x > *high) x = *high;
625 OIL_DEFINE_IMPL (clamphigh_u8_pointer, clamphigh_u8);
628 clamphigh_s16_pointer (oil_type_s16 *dest, oil_type_s16 *src1,
634 oil_type_s16 x = *src1;
635 if (x > *high) x = *high;
642 OIL_DEFINE_IMPL (clamphigh_s16_pointer, clamphigh_s16);
645 clamphigh_u16_pointer (oil_type_u16 *dest, oil_type_u16 *src1,
651 oil_type_u16 x = *src1;
652 if (x > *high) x = *high;
659 OIL_DEFINE_IMPL (clamphigh_u16_pointer, clamphigh_u16);
662 clamphigh_s32_pointer (oil_type_s32 *dest, oil_type_s32 *src1,
668 oil_type_s32 x = *src1;
669 if (x > *high) x = *high;
676 OIL_DEFINE_IMPL (clamphigh_s32_pointer, clamphigh_s32);
679 clamphigh_u32_pointer (oil_type_u32 *dest, oil_type_u32 *src1,
685 oil_type_u32 x = *src1;
686 if (x > *high) x = *high;
693 OIL_DEFINE_IMPL (clamphigh_u32_pointer, clamphigh_u32);
696 clamphigh_s8_unroll4 (oil_type_s8 *dest, oil_type_s8 *src,
697 int n , oil_type_s8 *high)
702 if (x > *high) x = *high;
712 if (x > *high) x = *high;
716 if (x > *high) x = *high;
720 if (x > *high) x = *high;
724 if (x > *high) x = *high;
732 OIL_DEFINE_IMPL (clamphigh_s8_unroll4, clamphigh_s8);
735 clamphigh_u8_unroll4 (oil_type_u8 *dest, oil_type_u8 *src,
736 int n , oil_type_u8 *high)
741 if (x > *high) x = *high;
751 if (x > *high) x = *high;
755 if (x > *high) x = *high;
759 if (x > *high) x = *high;
763 if (x > *high) x = *high;
771 OIL_DEFINE_IMPL (clamphigh_u8_unroll4, clamphigh_u8);
774 clamphigh_s16_unroll4 (oil_type_s16 *dest, oil_type_s16 *src,
775 int n , oil_type_s16 *high)
780 if (x > *high) x = *high;
790 if (x > *high) x = *high;
794 if (x > *high) x = *high;
798 if (x > *high) x = *high;
802 if (x > *high) x = *high;
810 OIL_DEFINE_IMPL (clamphigh_s16_unroll4, clamphigh_s16);
813 clamphigh_u16_unroll4 (oil_type_u16 *dest, oil_type_u16 *src,
814 int n , oil_type_u16 *high)
819 if (x > *high) x = *high;
829 if (x > *high) x = *high;
833 if (x > *high) x = *high;
837 if (x > *high) x = *high;
841 if (x > *high) x = *high;
849 OIL_DEFINE_IMPL (clamphigh_u16_unroll4, clamphigh_u16);
852 clamphigh_s32_unroll4 (oil_type_s32 *dest, oil_type_s32 *src,
853 int n , oil_type_s32 *high)
858 if (x > *high) x = *high;
868 if (x > *high) x = *high;
872 if (x > *high) x = *high;
876 if (x > *high) x = *high;
880 if (x > *high) x = *high;
888 OIL_DEFINE_IMPL (clamphigh_s32_unroll4, clamphigh_s32);
891 clamphigh_u32_unroll4 (oil_type_u32 *dest, oil_type_u32 *src,
892 int n , oil_type_u32 *high)
897 if (x > *high) x = *high;
907 if (x > *high) x = *high;
911 if (x > *high) x = *high;
915 if (x > *high) x = *high;
919 if (x > *high) x = *high;
927 OIL_DEFINE_IMPL (clamphigh_u32_unroll4, clamphigh_u32);
930 clamphigh_s8_trick (oil_type_s8 *dest, oil_type_s8 *src,
931 int n , oil_type_s8 *high)
936 x = x + (((*high-x)>>31)&(*high-x));
946 x = x + (((*high-x)>>31)&(*high-x));
950 x = x + (((*high-x)>>31)&(*high-x));
954 x = x + (((*high-x)>>31)&(*high-x));
958 x = x + (((*high-x)>>31)&(*high-x));
966 OIL_DEFINE_IMPL (clamphigh_s8_trick, clamphigh_s8);
969 clamphigh_u8_trick (oil_type_u8 *dest, oil_type_u8 *src,
970 int n , oil_type_u8 *high)
975 x = x + (((*high-x)>>31)&(*high-x));
985 x = x + (((*high-x)>>31)&(*high-x));
989 x = x + (((*high-x)>>31)&(*high-x));
993 x = x + (((*high-x)>>31)&(*high-x));
997 x = x + (((*high-x)>>31)&(*high-x));
1005 OIL_DEFINE_IMPL (clamphigh_u8_trick, clamphigh_u8);
1008 clamphigh_s16_trick (oil_type_s16 *dest, oil_type_s16 *src,
1009 int n , oil_type_s16 *high)
1014 x = x + (((*high-x)>>31)&(*high-x));
1024 x = x + (((*high-x)>>31)&(*high-x));
1028 x = x + (((*high-x)>>31)&(*high-x));
1032 x = x + (((*high-x)>>31)&(*high-x));
1036 x = x + (((*high-x)>>31)&(*high-x));
1044 OIL_DEFINE_IMPL (clamphigh_s16_trick, clamphigh_s16);
1047 clamphigh_u16_trick (oil_type_u16 *dest, oil_type_u16 *src,
1048 int n , oil_type_u16 *high)
1053 x = x + (((*high-x)>>31)&(*high-x));
1063 x = x + (((*high-x)>>31)&(*high-x));
1067 x = x + (((*high-x)>>31)&(*high-x));
1071 x = x + (((*high-x)>>31)&(*high-x));
1075 x = x + (((*high-x)>>31)&(*high-x));
1083 OIL_DEFINE_IMPL (clamphigh_u16_trick, clamphigh_u16);
1086 clamplow_s8_pointer (oil_type_s8 *dest, oil_type_s8 *src1,
1092 oil_type_s8 x = *src1;
1093 if (x < *low) x = *low;
1100 OIL_DEFINE_IMPL (clamplow_s8_pointer, clamplow_s8);
1103 clamplow_u8_pointer (oil_type_u8 *dest, oil_type_u8 *src1,
1109 oil_type_u8 x = *src1;
1110 if (x < *low) x = *low;
1117 OIL_DEFINE_IMPL (clamplow_u8_pointer, clamplow_u8);
1120 clamplow_s16_pointer (oil_type_s16 *dest, oil_type_s16 *src1,
1126 oil_type_s16 x = *src1;
1127 if (x < *low) x = *low;
1134 OIL_DEFINE_IMPL (clamplow_s16_pointer, clamplow_s16);
1137 clamplow_u16_pointer (oil_type_u16 *dest, oil_type_u16 *src1,
1143 oil_type_u16 x = *src1;
1144 if (x < *low) x = *low;
1151 OIL_DEFINE_IMPL (clamplow_u16_pointer, clamplow_u16);
1154 clamplow_s32_pointer (oil_type_s32 *dest, oil_type_s32 *src1,
1160 oil_type_s32 x = *src1;
1161 if (x < *low) x = *low;
1168 OIL_DEFINE_IMPL (clamplow_s32_pointer, clamplow_s32);
1171 clamplow_u32_pointer (oil_type_u32 *dest, oil_type_u32 *src1,
1177 oil_type_u32 x = *src1;
1178 if (x < *low) x = *low;
1185 OIL_DEFINE_IMPL (clamplow_u32_pointer, clamplow_u32);
1188 clamplow_s8_unroll4 (oil_type_s8 *dest, oil_type_s8 *src,
1189 int n , oil_type_s8 *low)
1194 if (x < *low) x = *low;
1204 if (x < *low) x = *low;
1208 if (x < *low) x = *low;
1212 if (x < *low) x = *low;
1216 if (x < *low) x = *low;
1224 OIL_DEFINE_IMPL (clamplow_s8_unroll4, clamplow_s8);
1227 clamplow_u8_unroll4 (oil_type_u8 *dest, oil_type_u8 *src,
1228 int n , oil_type_u8 *low)
1233 if (x < *low) x = *low;
1243 if (x < *low) x = *low;
1247 if (x < *low) x = *low;
1251 if (x < *low) x = *low;
1255 if (x < *low) x = *low;
1263 OIL_DEFINE_IMPL (clamplow_u8_unroll4, clamplow_u8);
1266 clamplow_s16_unroll4 (oil_type_s16 *dest, oil_type_s16 *src,
1267 int n , oil_type_s16 *low)
1272 if (x < *low) x = *low;
1282 if (x < *low) x = *low;
1286 if (x < *low) x = *low;
1290 if (x < *low) x = *low;
1294 if (x < *low) x = *low;
1302 OIL_DEFINE_IMPL (clamplow_s16_unroll4, clamplow_s16);
1305 clamplow_u16_unroll4 (oil_type_u16 *dest, oil_type_u16 *src,
1306 int n , oil_type_u16 *low)
1311 if (x < *low) x = *low;
1321 if (x < *low) x = *low;
1325 if (x < *low) x = *low;
1329 if (x < *low) x = *low;
1333 if (x < *low) x = *low;
1341 OIL_DEFINE_IMPL (clamplow_u16_unroll4, clamplow_u16);
1344 clamplow_s32_unroll4 (oil_type_s32 *dest, oil_type_s32 *src,
1345 int n , oil_type_s32 *low)
1350 if (x < *low) x = *low;
1360 if (x < *low) x = *low;
1364 if (x < *low) x = *low;
1368 if (x < *low) x = *low;
1372 if (x < *low) x = *low;
1380 OIL_DEFINE_IMPL (clamplow_s32_unroll4, clamplow_s32);
1383 clamplow_u32_unroll4 (oil_type_u32 *dest, oil_type_u32 *src,
1384 int n , oil_type_u32 *low)
1389 if (x < *low) x = *low;
1399 if (x < *low) x = *low;
1403 if (x < *low) x = *low;
1407 if (x < *low) x = *low;
1411 if (x < *low) x = *low;
1419 OIL_DEFINE_IMPL (clamplow_u32_unroll4, clamplow_u32);
1422 clamplow_s8_trick (oil_type_s8 *dest, oil_type_s8 *src,
1423 int n , oil_type_s8 *low)
1428 x = x - (((x-*low)>>31)&(x-*low));
1438 x = x - (((x-*low)>>31)&(x-*low));
1442 x = x - (((x-*low)>>31)&(x-*low));
1446 x = x - (((x-*low)>>31)&(x-*low));
1450 x = x - (((x-*low)>>31)&(x-*low));
1458 OIL_DEFINE_IMPL (clamplow_s8_trick, clamplow_s8);
1461 clamplow_u8_trick (oil_type_u8 *dest, oil_type_u8 *src,
1462 int n , oil_type_u8 *low)
1467 x = x - (((x-*low)>>31)&(x-*low));
1477 x = x - (((x-*low)>>31)&(x-*low));
1481 x = x - (((x-*low)>>31)&(x-*low));
1485 x = x - (((x-*low)>>31)&(x-*low));
1489 x = x - (((x-*low)>>31)&(x-*low));
1497 OIL_DEFINE_IMPL (clamplow_u8_trick, clamplow_u8);
1500 clamplow_s16_trick (oil_type_s16 *dest, oil_type_s16 *src,
1501 int n , oil_type_s16 *low)
1506 x = x - (((x-*low)>>31)&(x-*low));
1516 x = x - (((x-*low)>>31)&(x-*low));
1520 x = x - (((x-*low)>>31)&(x-*low));
1524 x = x - (((x-*low)>>31)&(x-*low));
1528 x = x - (((x-*low)>>31)&(x-*low));
1536 OIL_DEFINE_IMPL (clamplow_s16_trick, clamplow_s16);
1539 clamplow_u16_trick (oil_type_u16 *dest, oil_type_u16 *src,
1540 int n , oil_type_u16 *low)
1545 x = x - (((x-*low)>>31)&(x-*low));
1555 x = x - (((x-*low)>>31)&(x-*low));
1559 x = x - (((x-*low)>>31)&(x-*low));
1563 x = x - (((x-*low)>>31)&(x-*low));
1567 x = x - (((x-*low)>>31)&(x-*low));
1575 OIL_DEFINE_IMPL (clamplow_u16_trick, clamplow_u16);
1579 #ifdef __SYMBIAN32__
1581 OilFunctionImpl* __oil_function_impl_clamp_s8_pointer() {
1582 return &_oil_function_impl_clamp_s8_pointer;
1586 #ifdef __SYMBIAN32__
1588 OilFunctionImpl* __oil_function_impl_clamp_u8_pointer() {
1589 return &_oil_function_impl_clamp_u8_pointer;
1593 #ifdef __SYMBIAN32__
1595 OilFunctionImpl* __oil_function_impl_clamp_s16_pointer() {
1596 return &_oil_function_impl_clamp_s16_pointer;
1600 #ifdef __SYMBIAN32__
1602 OilFunctionImpl* __oil_function_impl_clamp_u16_pointer() {
1603 return &_oil_function_impl_clamp_u16_pointer;
1607 #ifdef __SYMBIAN32__
1609 OilFunctionImpl* __oil_function_impl_clamp_s32_pointer() {
1610 return &_oil_function_impl_clamp_s32_pointer;
1614 #ifdef __SYMBIAN32__
1616 OilFunctionImpl* __oil_function_impl_clamp_u32_pointer() {
1617 return &_oil_function_impl_clamp_u32_pointer;
1621 #ifdef __SYMBIAN32__
1623 OilFunctionImpl* __oil_function_impl_clamp_s8_unroll4() {
1624 return &_oil_function_impl_clamp_s8_unroll4;
1628 #ifdef __SYMBIAN32__
1630 OilFunctionImpl* __oil_function_impl_clamp_u8_unroll4() {
1631 return &_oil_function_impl_clamp_u8_unroll4;
1635 #ifdef __SYMBIAN32__
1637 OilFunctionImpl* __oil_function_impl_clamp_s16_unroll4() {
1638 return &_oil_function_impl_clamp_s16_unroll4;
1642 #ifdef __SYMBIAN32__
1644 OilFunctionImpl* __oil_function_impl_clamp_u16_unroll4() {
1645 return &_oil_function_impl_clamp_u16_unroll4;
1649 #ifdef __SYMBIAN32__
1651 OilFunctionImpl* __oil_function_impl_clamp_s32_unroll4() {
1652 return &_oil_function_impl_clamp_s32_unroll4;
1656 #ifdef __SYMBIAN32__
1658 OilFunctionImpl* __oil_function_impl_clamp_u32_unroll4() {
1659 return &_oil_function_impl_clamp_u32_unroll4;
1663 #ifdef __SYMBIAN32__
1665 OilFunctionImpl* __oil_function_impl_clamp_s8_trick() {
1666 return &_oil_function_impl_clamp_s8_trick;
1670 #ifdef __SYMBIAN32__
1672 OilFunctionImpl* __oil_function_impl_clamp_u8_trick() {
1673 return &_oil_function_impl_clamp_u8_trick;
1677 #ifdef __SYMBIAN32__
1679 OilFunctionImpl* __oil_function_impl_clamp_s16_trick() {
1680 return &_oil_function_impl_clamp_s16_trick;
1684 #ifdef __SYMBIAN32__
1686 OilFunctionImpl* __oil_function_impl_clamp_u16_trick() {
1687 return &_oil_function_impl_clamp_u16_trick;
1691 #ifdef __SYMBIAN32__
1693 OilFunctionImpl* __oil_function_impl_clamphigh_s8_pointer() {
1694 return &_oil_function_impl_clamphigh_s8_pointer;
1698 #ifdef __SYMBIAN32__
1700 OilFunctionImpl* __oil_function_impl_clamphigh_u8_pointer() {
1701 return &_oil_function_impl_clamphigh_u8_pointer;
1705 #ifdef __SYMBIAN32__
1707 OilFunctionImpl* __oil_function_impl_clamphigh_s16_pointer() {
1708 return &_oil_function_impl_clamphigh_s16_pointer;
1712 #ifdef __SYMBIAN32__
1714 OilFunctionImpl* __oil_function_impl_clamphigh_u16_pointer() {
1715 return &_oil_function_impl_clamphigh_u16_pointer;
1719 #ifdef __SYMBIAN32__
1721 OilFunctionImpl* __oil_function_impl_clamphigh_s32_pointer() {
1722 return &_oil_function_impl_clamphigh_s32_pointer;
1726 #ifdef __SYMBIAN32__
1728 OilFunctionImpl* __oil_function_impl_clamphigh_u32_pointer() {
1729 return &_oil_function_impl_clamphigh_u32_pointer;
1733 #ifdef __SYMBIAN32__
1735 OilFunctionImpl* __oil_function_impl_clamphigh_s8_unroll4() {
1736 return &_oil_function_impl_clamphigh_s8_unroll4;
1740 #ifdef __SYMBIAN32__
1742 OilFunctionImpl* __oil_function_impl_clamphigh_u8_unroll4() {
1743 return &_oil_function_impl_clamphigh_u8_unroll4;
1747 #ifdef __SYMBIAN32__
1749 OilFunctionImpl* __oil_function_impl_clamphigh_s16_unroll4() {
1750 return &_oil_function_impl_clamphigh_s16_unroll4;
1754 #ifdef __SYMBIAN32__
1756 OilFunctionImpl* __oil_function_impl_clamphigh_u16_unroll4() {
1757 return &_oil_function_impl_clamphigh_u16_unroll4;
1761 #ifdef __SYMBIAN32__
1763 OilFunctionImpl* __oil_function_impl_clamphigh_s32_unroll4() {
1764 return &_oil_function_impl_clamphigh_s32_unroll4;
1768 #ifdef __SYMBIAN32__
1770 OilFunctionImpl* __oil_function_impl_clamphigh_u32_unroll4() {
1771 return &_oil_function_impl_clamphigh_u32_unroll4;
1775 #ifdef __SYMBIAN32__
1777 OilFunctionImpl* __oil_function_impl_clamphigh_s8_trick() {
1778 return &_oil_function_impl_clamphigh_s8_trick;
1782 #ifdef __SYMBIAN32__
1784 OilFunctionImpl* __oil_function_impl_clamphigh_u8_trick() {
1785 return &_oil_function_impl_clamphigh_u8_trick;
1789 #ifdef __SYMBIAN32__
1791 OilFunctionImpl* __oil_function_impl_clamphigh_s16_trick() {
1792 return &_oil_function_impl_clamphigh_s16_trick;
1796 #ifdef __SYMBIAN32__
1798 OilFunctionImpl* __oil_function_impl_clamphigh_u16_trick() {
1799 return &_oil_function_impl_clamphigh_u16_trick;
1803 #ifdef __SYMBIAN32__
1805 OilFunctionImpl* __oil_function_impl_clamplow_s8_pointer() {
1806 return &_oil_function_impl_clamplow_s8_pointer;
1810 #ifdef __SYMBIAN32__
1812 OilFunctionImpl* __oil_function_impl_clamplow_u8_pointer() {
1813 return &_oil_function_impl_clamplow_u8_pointer;
1817 #ifdef __SYMBIAN32__
1819 OilFunctionImpl* __oil_function_impl_clamplow_s16_pointer() {
1820 return &_oil_function_impl_clamplow_s16_pointer;
1824 #ifdef __SYMBIAN32__
1826 OilFunctionImpl* __oil_function_impl_clamplow_u16_pointer() {
1827 return &_oil_function_impl_clamplow_u16_pointer;
1831 #ifdef __SYMBIAN32__
1833 OilFunctionImpl* __oil_function_impl_clamplow_s32_pointer() {
1834 return &_oil_function_impl_clamplow_s32_pointer;
1838 #ifdef __SYMBIAN32__
1840 OilFunctionImpl* __oil_function_impl_clamplow_u32_pointer() {
1841 return &_oil_function_impl_clamplow_u32_pointer;
1845 #ifdef __SYMBIAN32__
1847 OilFunctionImpl* __oil_function_impl_clamplow_s8_unroll4() {
1848 return &_oil_function_impl_clamplow_s8_unroll4;
1852 #ifdef __SYMBIAN32__
1854 OilFunctionImpl* __oil_function_impl_clamplow_u8_unroll4() {
1855 return &_oil_function_impl_clamplow_u8_unroll4;
1859 #ifdef __SYMBIAN32__
1861 OilFunctionImpl* __oil_function_impl_clamplow_s16_unroll4() {
1862 return &_oil_function_impl_clamplow_s16_unroll4;
1866 #ifdef __SYMBIAN32__
1868 OilFunctionImpl* __oil_function_impl_clamplow_u16_unroll4() {
1869 return &_oil_function_impl_clamplow_u16_unroll4;
1873 #ifdef __SYMBIAN32__
1875 OilFunctionImpl* __oil_function_impl_clamplow_s32_unroll4() {
1876 return &_oil_function_impl_clamplow_s32_unroll4;
1880 #ifdef __SYMBIAN32__
1882 OilFunctionImpl* __oil_function_impl_clamplow_u32_unroll4() {
1883 return &_oil_function_impl_clamplow_u32_unroll4;
1887 #ifdef __SYMBIAN32__
1889 OilFunctionImpl* __oil_function_impl_clamplow_s8_trick() {
1890 return &_oil_function_impl_clamplow_s8_trick;
1894 #ifdef __SYMBIAN32__
1896 OilFunctionImpl* __oil_function_impl_clamplow_u8_trick() {
1897 return &_oil_function_impl_clamplow_u8_trick;
1901 #ifdef __SYMBIAN32__
1903 OilFunctionImpl* __oil_function_impl_clamplow_s16_trick() {
1904 return &_oil_function_impl_clamplow_s16_trick;
1908 #ifdef __SYMBIAN32__
1910 OilFunctionImpl* __oil_function_impl_clamplow_u16_trick() {
1911 return &_oil_function_impl_clamplow_u16_trick;