Home | History | Annotate | Line # | Download | only in softfloat
softfloat-for-gcc.h revision 1.6
      1  1.6   salo /* $NetBSD: softfloat-for-gcc.h,v 1.6 2003/07/26 19:24:51 salo Exp $ */
      2  1.1  bjh21 
      3  1.1  bjh21 /*
      4  1.1  bjh21  * Move private identifiers with external linkage into implementation
      5  1.6   salo  * namespace.  -- Klaus Klein <kleink (at) NetBSD.org>, May 5, 1999
      6  1.1  bjh21  */
      7  1.1  bjh21 #define float_exception_flags	_softfloat_float_exception_flags
      8  1.5  bjh21 #define float_exception_mask	_softfloat_float_exception_mask
      9  1.1  bjh21 #define float_rounding_mode	_softfloat_float_rounding_mode
     10  1.1  bjh21 #define float_raise		_softfloat_float_raise
     11  1.1  bjh21 /* The following batch are called by GCC through wrappers */
     12  1.1  bjh21 #define float32_eq		_softfloat_float32_eq
     13  1.1  bjh21 #define float32_le		_softfloat_float32_le
     14  1.1  bjh21 #define float32_lt		_softfloat_float32_lt
     15  1.1  bjh21 #define float64_eq		_softfloat_float64_eq
     16  1.1  bjh21 #define float64_le		_softfloat_float64_le
     17  1.1  bjh21 #define float64_lt		_softfloat_float64_lt
     18  1.1  bjh21 
     19  1.1  bjh21 /*
     20  1.1  bjh21  * Macros to define functions with the GCC expected names
     21  1.1  bjh21  */
     22  1.1  bjh21 
     23  1.1  bjh21 #define float32_add			__addsf3
     24  1.1  bjh21 #define float64_add			__adddf3
     25  1.1  bjh21 #define float32_sub			__subsf3
     26  1.1  bjh21 #define float64_sub			__subdf3
     27  1.1  bjh21 #define float32_mul			__mulsf3
     28  1.1  bjh21 #define float64_mul			__muldf3
     29  1.1  bjh21 #define float32_div			__divsf3
     30  1.1  bjh21 #define float64_div			__divdf3
     31  1.1  bjh21 #define int32_to_float32		__floatsisf
     32  1.1  bjh21 #define int32_to_float64		__floatsidf
     33  1.1  bjh21 #define int64_to_float32		__floatdisf
     34  1.1  bjh21 #define int64_to_float64		__floatdidf
     35  1.1  bjh21 #define float32_to_int32_round_to_zero	__fixsfsi
     36  1.1  bjh21 #define float64_to_int32_round_to_zero	__fixdfsi
     37  1.1  bjh21 #define float32_to_int64_round_to_zero	__fixsfdi
     38  1.1  bjh21 #define float64_to_int64_round_to_zero	__fixdfdi
     39  1.4  bjh21 #define float32_to_uint32_round_to_zero	__fixunssfsi
     40  1.4  bjh21 #define float64_to_uint32_round_to_zero	__fixunsdfsi
     41  1.1  bjh21 #define float32_to_float64		__extendsfdf2
     42  1.1  bjh21 #define float64_to_float32		__truncdfsf2
     43