blob: 6dbb7f2e2b3f8c87c41445b328cf775bf30b1892 [file] [log] [blame]
extern void abort (void);
typedef long fract32;
fract32 foo (fract32 f, short n)
{
return __builtin_bfin_shr_fr1x32 (f, n);
}
int main ()
{
fract32 t;
t = foo (0x7feff4ff, -4);
if (t != 0x7fffffff)
abort ();
return 0;
}