2 !!DESCRIPTION!! Shift ints left and right
3 !!ORIGIN!! SDCC regression tests
4 !!LICENCE!! GPL, read COPYING.GPL
10 unsigned char success=0;
11 unsigned char failures=0;
12 unsigned char dummy=0;
14 #ifdef SUPPORT_BIT_TYPES
17 #ifdef SIZEOF_INT_16BIT
18 #if defined(__LINUX__) || defined(LINUX)
19 unsigned short aint0 = 0;
20 unsigned short aint1 = 0;
23 unsigned int aint0 = 0;
24 unsigned int aint1 = 0;
29 unsigned int aint0 = 0;
30 unsigned int aint1 = 0;
33 unsigned char achar0 = 0;
34 unsigned char achar1 = 0;
35 unsigned char achar2 = 0;
36 unsigned char achar3 = 0;
43 void shift_int_left_1(void)
48 void shift_int_left_2(void)
53 void shift_int_left_3(void)
58 void shift_int_left_4(void)
63 void shift_int_left_5(void)
68 void shift_int_left_6(void)
73 void shift_int_left_7(void)
78 void shift_int_left_8(void)
83 void shift_int_left_9(void)
88 void shift_int_left_10(void)
93 void shift_int_left_11(void)
98 void shift_int_left_12(void)
103 void shift_int_left_13(void)
108 void shift_int_left_14(void)
113 void shift_int_left_15(void)
118 /*****************************************************/
119 void shift_int_right_1(void)
124 void shift_int_right_2(void)
129 void shift_int_right_3(void)
134 void shift_int_right_4(void)
139 void shift_int_right_5(void)
144 void shift_int_right_6(void)
149 void shift_int_right_7(void)
154 void shift_int_right_8(void)
159 void shift_int_right_9(void)
164 void shift_int_right_10(void)
169 void shift_int_right_11(void)
174 void shift_int_right_12(void)
179 void shift_int_right_13(void)
184 void shift_int_right_14(void)
189 void shift_int_right_15(void)
194 /*****************************************************/
288 /***********************/
345 shift_int_right_10();
351 shift_int_right_11();
357 shift_int_right_12();
363 shift_int_right_13();
369 shift_int_right_14();
375 shift_int_right_15();
381 printf("failures: %d\n",failures);