aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/libgcc/config/msp430/floatunhidf.c
blob: f13b55076929ba944623745b66bc168253888481 (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 DFtype __attribute__ ((mode (DF)));

extern DFtype __floatunsidf (unsigned long);

DFtype
__floatunhidf (UHItype u)
{
  return __floatunsidf ((unsigned long)u);
}