2013-10-12 Joseph Myers <joseph@codesourcery.com>
+ * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
+ * soft-fp/eqsf2.c (__eqsf2): Likewise.
+ * soft-fp/eqtf2.c (__eqtf2): Likewise.
+ * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
+ * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
+ * soft-fp/fixdfti.c (__fixdfti): Likewise.
+ * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
+ * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
+ * soft-fp/fixsfti.c (__fixsfti): Likewise.
+ * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
+ * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
+ * soft-fp/fixtfti.c (__fixtfti): Likewise.
+ * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
+ * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
+ * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
+ * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
+ * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
+ * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
+ * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
+ * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
+ * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
+ * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
+ * soft-fp/floatdisf.c (__floatdisf): Likewise.
+ * soft-fp/floatsisf.c (__floatsisf): Likewise.
+ * soft-fp/floattidf.c (__floattidf): Likewise.
+ * soft-fp/floattisf.c (__floattisf): Likewise.
+ * soft-fp/floattitf.c (__floattitf): Likewise.
+ * soft-fp/floatundidf.c (__floatundidf): Likewise.
+ * soft-fp/floatundisf.c (__floatundisf): Likewise.
+ * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
+ * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
+ * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
+ * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
+ * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
+ * soft-fp/gesf2.c (__gesf2): Likewise.
+ * soft-fp/getf2.c (__getf2): Likewise.
+ * soft-fp/ledf2.c (__ledf2): Likewise.
+ * soft-fp/lesf2.c (__lesf2): Likewise.
+ * soft-fp/letf2.c (__letf2): Likewise.
+
* soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
Undefine and redefine.
[FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
FP_DECL_D(A); FP_DECL_D(B);
CMPtype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_D(A, a);
FP_UNPACK_RAW_D(B, b);
FP_CMP_EQ_D(r, A, B);
FP_DECL_S(A); FP_DECL_S(B);
CMPtype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_S(A, a);
FP_UNPACK_RAW_S(B, b);
FP_CMP_EQ_S(r, A, B);
FP_DECL_Q(A); FP_DECL_Q(B);
CMPtype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_Q(A, a);
FP_UNPACK_RAW_Q(B, b);
FP_CMP_EQ_Q(r, A, B);
FP_DECL_D(A);
UDItype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_D(A, a);
FP_TO_INT_D(r, A, DI_BITS, 1);
FP_HANDLE_EXCEPTIONS;
FP_DECL_D(A);
USItype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_D(A, a);
FP_TO_INT_D(r, A, SI_BITS, 1);
FP_HANDLE_EXCEPTIONS;
FP_DECL_D(A);
UTItype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_D(A, a);
FP_TO_INT_D(r, A, TI_BITS, 1);
FP_HANDLE_EXCEPTIONS;
FP_DECL_S(A);
UDItype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_S(A, a);
FP_TO_INT_S(r, A, DI_BITS, 1);
FP_HANDLE_EXCEPTIONS;
FP_DECL_S(A);
USItype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_S(A, a);
FP_TO_INT_S(r, A, SI_BITS, 1);
FP_HANDLE_EXCEPTIONS;
FP_DECL_S(A);
UTItype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_S(A, a);
FP_TO_INT_S(r, A, TI_BITS, 1);
FP_HANDLE_EXCEPTIONS;
FP_DECL_Q(A);
UDItype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_Q(A, a);
FP_TO_INT_Q(r, A, DI_BITS, 1);
FP_HANDLE_EXCEPTIONS;
FP_DECL_Q(A);
USItype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_Q(A, a);
FP_TO_INT_Q(r, A, SI_BITS, 1);
FP_HANDLE_EXCEPTIONS;
FP_DECL_Q(A);
UTItype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_Q(A, a);
FP_TO_INT_Q(r, A, TI_BITS, 1);
FP_HANDLE_EXCEPTIONS;
FP_DECL_D(A);
UDItype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_D(A, a);
FP_TO_INT_D(r, A, DI_BITS, 0);
FP_HANDLE_EXCEPTIONS;
FP_DECL_D(A);
USItype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_D(A, a);
FP_TO_INT_D(r, A, SI_BITS, 0);
FP_HANDLE_EXCEPTIONS;
FP_DECL_D(A);
UTItype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_D(A, a);
FP_TO_INT_D(r, A, TI_BITS, 0);
FP_HANDLE_EXCEPTIONS;
FP_DECL_S(A);
UDItype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_S(A, a);
FP_TO_INT_S(r, A, DI_BITS, 0);
FP_HANDLE_EXCEPTIONS;
FP_DECL_S(A);
USItype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_S(A, a);
FP_TO_INT_S(r, A, SI_BITS, 0);
FP_HANDLE_EXCEPTIONS;
FP_DECL_S(A);
UTItype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_S(A, a);
FP_TO_INT_S(r, A, TI_BITS, 0);
FP_HANDLE_EXCEPTIONS;
FP_DECL_Q(A);
UDItype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_Q(A, a);
FP_TO_INT_Q(r, A, DI_BITS, 0);
FP_HANDLE_EXCEPTIONS;
FP_DECL_Q(A);
USItype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_Q(A, a);
FP_TO_INT_Q(r, A, SI_BITS, 0);
FP_HANDLE_EXCEPTIONS;
FP_DECL_Q(A);
UTItype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_Q(A, a);
FP_TO_INT_Q(r, A, TI_BITS, 0);
FP_HANDLE_EXCEPTIONS;
FP_DECL_D(A);
DFtype a;
+ FP_INIT_ROUNDMODE;
FP_FROM_INT_D(A, i, DI_BITS, UDItype);
FP_PACK_RAW_D(a, A);
FP_HANDLE_EXCEPTIONS;
FP_DECL_S(A);
SFtype a;
+ FP_INIT_ROUNDMODE;
FP_FROM_INT_S(A, i, DI_BITS, UDItype);
FP_PACK_RAW_S(a, A);
FP_HANDLE_EXCEPTIONS;
FP_DECL_S(A);
SFtype a;
+ FP_INIT_ROUNDMODE;
FP_FROM_INT_S(A, i, SI_BITS, USItype);
FP_PACK_RAW_S(a, A);
FP_HANDLE_EXCEPTIONS;
FP_DECL_D(A);
DFtype a;
+ FP_INIT_ROUNDMODE;
FP_FROM_INT_D(A, i, TI_BITS, UTItype);
FP_PACK_RAW_D(a, A);
FP_HANDLE_EXCEPTIONS;
FP_DECL_S(A);
SFtype a;
+ FP_INIT_ROUNDMODE;
FP_FROM_INT_S(A, i, TI_BITS, UTItype);
FP_PACK_RAW_S(a, A);
FP_HANDLE_EXCEPTIONS;
FP_DECL_Q(A);
TFtype a;
+ FP_INIT_ROUNDMODE;
FP_FROM_INT_Q(A, i, TI_BITS, UTItype);
FP_PACK_RAW_Q(a, A);
FP_HANDLE_EXCEPTIONS;
FP_DECL_D(A);
DFtype a;
+ FP_INIT_ROUNDMODE;
FP_FROM_INT_D(A, i, DI_BITS, UDItype);
FP_PACK_RAW_D(a, A);
FP_HANDLE_EXCEPTIONS;
FP_DECL_S(A);
SFtype a;
+ FP_INIT_ROUNDMODE;
FP_FROM_INT_S(A, i, DI_BITS, UDItype);
FP_PACK_RAW_S(a, A);
FP_HANDLE_EXCEPTIONS;
FP_DECL_S(A);
SFtype a;
+ FP_INIT_ROUNDMODE;
FP_FROM_INT_S(A, i, SI_BITS, USItype);
FP_PACK_RAW_S(a, A);
FP_HANDLE_EXCEPTIONS;
FP_DECL_D(A);
DFtype a;
+ FP_INIT_ROUNDMODE;
FP_FROM_INT_D(A, i, TI_BITS, UTItype);
FP_PACK_RAW_D(a, A);
FP_HANDLE_EXCEPTIONS;
FP_DECL_S(A);
SFtype a;
+ FP_INIT_ROUNDMODE;
FP_FROM_INT_S(A, i, TI_BITS, UTItype);
FP_PACK_RAW_S(a, A);
FP_HANDLE_EXCEPTIONS;
FP_DECL_Q(A);
TFtype a;
+ FP_INIT_ROUNDMODE;
FP_FROM_INT_Q(A, i, TI_BITS, UTItype);
FP_PACK_RAW_Q(a, A);
FP_HANDLE_EXCEPTIONS;
FP_DECL_D(A); FP_DECL_D(B);
CMPtype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_D(A, a);
FP_UNPACK_RAW_D(B, b);
FP_CMP_D(r, A, B, -2);
FP_DECL_S(A); FP_DECL_S(B);
CMPtype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_S(A, a);
FP_UNPACK_RAW_S(B, b);
FP_CMP_S(r, A, B, -2);
FP_DECL_Q(A); FP_DECL_Q(B);
CMPtype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_Q(A, a);
FP_UNPACK_RAW_Q(B, b);
FP_CMP_Q(r, A, B, -2);
FP_DECL_D(A); FP_DECL_D(B);
CMPtype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_D(A, a);
FP_UNPACK_RAW_D(B, b);
FP_CMP_D(r, A, B, 2);
FP_DECL_S(A); FP_DECL_S(B);
CMPtype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_S(A, a);
FP_UNPACK_RAW_S(B, b);
FP_CMP_S(r, A, B, 2);
FP_DECL_Q(A); FP_DECL_Q(B);
CMPtype r;
+ FP_INIT_EXCEPTIONS;
FP_UNPACK_RAW_Q(A, a);
FP_UNPACK_RAW_Q(B, b);
FP_CMP_Q(r, A, B, 2);