xref: /netbsd-src/external/gpl3/gcc/dist/libgcc/config/msp430/floatunhisf.c (revision 4d342c046e3288fb5a1edcd33cfec48c41c80664)
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