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