gcc/libgcc/config/msp430/floathisf.c
Nick Clifton 2de1cf8c4b cmpd.c (__mspabi_cmpf): Add prototype.
* config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
	(__mspabi_cmpd): Likewise.
	* config/msp430/floathidf.c (__floathidf): Likewise.
	* config/msp430/floathisf.c (__floathisf): Likewise
	* config/msp430/floatunhidf.c (__floatunssidf): Likewise.
	* config/msp430/floatunhisf.c (__floatunshisf): Likewise.
	* config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
	second parameter.
	(__ashrsi3): Likewise.

From-SVN: r235409
2016-04-25 11:13:35 +00:00

14 lines
270 B
C

/* Public domain. */
typedef int HItype __attribute__ ((mode (HI)));
typedef float SFtype __attribute__ ((mode (SF)));
extern SFtype __floatsisf (unsigned long);
SFtype __floathisf (HItype);
SFtype
__floathisf (HItype u)
{
return __floatsisf ((unsigned long)u);
}