softfloat-for-gcc.h revision 230190
1/* $NetBSD: softfloat-for-gcc.h,v 1.6 2003/07/26 19:24:51 salo Exp $ */ 2/* $FreeBSD: head/lib/libc/softfloat/softfloat-for-gcc.h 230190 2012-01-16 04:06:56Z das $ */ 3 4/* 5 * Move private identifiers with external linkage into implementation 6 * namespace. -- Klaus Klein <kleink@NetBSD.org>, May 5, 1999 7 */ 8#define float_exception_flags __softfloat_float_exception_flags 9#define float_exception_mask __softfloat_float_exception_mask 10#define float_rounding_mode __softfloat_float_rounding_mode 11#define float_raise __softfloat_float_raise 12/* The following batch are called by GCC through wrappers */ 13#define float32_eq __softfloat_float32_eq 14#define float32_le __softfloat_float32_le 15#define float32_lt __softfloat_float32_lt 16#define float64_eq __softfloat_float64_eq 17#define float64_le __softfloat_float64_le 18#define float64_lt __softfloat_float64_lt 19 20/* 21 * Macros to define functions with the GCC expected names 22 */ 23 24#define float32_add __addsf3 25#define float64_add __adddf3 26#define float32_sub __subsf3 27#define float64_sub __subdf3 28#define float32_mul __mulsf3 29#define float64_mul __muldf3 30#define float32_div __divsf3 31#define float64_div __divdf3 32#define int32_to_float32 __floatsisf 33#define int32_to_float64 __floatsidf 34#define int64_to_float32 __floatdisf 35#define int64_to_float64 __floatdidf 36#define float32_to_int32_round_to_zero __fixsfsi 37#define float64_to_int32_round_to_zero __fixdfsi 38#define float32_to_int64_round_to_zero __fixsfdi 39#define float64_to_int64_round_to_zero __fixdfdi 40#define float32_to_uint32_round_to_zero __fixunssfsi 41#define float64_to_uint32_round_to_zero __fixunsdfsi 42#define float32_to_float64 __extendsfdf2 43#define float64_to_float32 __truncdfsf2 44