1 extern void abort (void); 2 3 typedef long fract32; 4 foo(fract32 f,short n)5 fract32 foo (fract32 f, short n) 6 { 7 return __builtin_bfin_shl_fr1x32 (f, n); 8 } 9 main()10 int main () 11 { 12 fract32 t; 13 14 t = foo (0xc000e4ff, -4); 15 if (t != 0xfc000e4f) 16 abort (); 17 18 return 0; 19 } 20 21