aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/libgcc/config/msp430/floathisf.c
blob: 64e5d805d21ede50f25342425797ddecfce9c9b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* Public domain.  */
typedef int HItype __attribute__ ((mode (HI)));
typedef float SFtype __attribute__ ((mode (SF)));

extern SFtype __floatsisf (unsigned long);

SFtype
__floathisf (HItype u)
{
  return __floatsisf ((unsigned long)u);
}