xref: /netbsd-src/external/gpl3/gcc/dist/libgcc/config/msp430/floatunhisf.c (revision cef8759bd76c1b621f8eab8faa6f208faabc2e15)
1 /* Public domain.  */
2 typedef int HItype __attribute__ ((mode (HI)));
3 typedef unsigned int UHItype __attribute__ ((mode (HI)));
4 typedef float SFtype __attribute__ ((mode (SF)));
5 
6 extern SFtype __floatunsisf (unsigned long);
7 
8 SFtype __floatunhisf (UHItype);
9 
10 SFtype
11 __floatunhisf (UHItype u)
12 {
13   return __floatunsisf ((unsigned long)u);
14 }
15