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