libgcc/config/msp430/floatunhisf.c
raw| 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 | } |