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

extern SFtype __floatunsisf (unsigned long);

SFtype
__floatunhisf (UHItype u)
{
  return __floatunsisf ((unsigned long)u);
}