blob: cea723f3383ea3ef8b4bd8468dc0458ccd2343a4 [file] [log] [blame]
extern void abort (void);
typedef short fract16;
fract16 foo (fract16 f, short n)
{
return __builtin_bfin_shl_fr1x16 (f, n);
}
int main ()
{
fract16 t1;
t1 = foo (0xd004, -4);
if (t1 != 0xfffffd00)
abort ();
return 0;
}