xref: /netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/msp430/floatunhidf.c (revision bdc22b2e01993381dcefeff2bc9b56ca75a4235c)
1 /* Public domain.  */
2 typedef int HItype __attribute__ ((mode (HI)));
3 typedef unsigned int UHItype __attribute__ ((mode (HI)));
4 typedef float DFtype __attribute__ ((mode (DF)));
5 
6 extern DFtype __floatunsidf (unsigned long);
7 
8 DFtype
9 __floatunhidf (UHItype u)
10 {
11   return __floatunsidf ((unsigned long)u);
12 }
13