Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include "arith.internal.h"
Go to the source code of this file.
Functions | |
int | ar_ifadd32 (AR_IEEE_32 *x, const AR_IEEE_32 *a, const AR_IEEE_32 *b, int roundmode) |
int | ar_ifsub32 (AR_IEEE_32 *x, const AR_IEEE_32 *a, const AR_IEEE_32 *b, int roundmode) |
int | ar_ifadd64 (AR_IEEE_64 *x, const AR_IEEE_64 *a, const AR_IEEE_64 *b, int roundmode) |
int | ar_ifsub64 (AR_IEEE_64 *x, const AR_IEEE_64 *a, const AR_IEEE_64 *b, int roundmode) |
int | ar_ifadd128 (AR_IEEE_128 *x, const AR_IEEE_128 *a, const AR_IEEE_128 *b, int roundmode) |
int | ar_ifsub128 (AR_IEEE_128 *x, const AR_IEEE_128 *a, const AR_IEEE_128 *b, int roundmode) |
Variables | |
static char | USMID [] = "\n%Z%%M% %I% %G% %U%\n" |
static char | rcsid [] = "$Id: ieee_fadd.c,v 1.1.1.1 2002-05-22 20:06:18 dsystem Exp $" |
int ar_ifadd128 | ( | AR_IEEE_128 * | x, |
const AR_IEEE_128 * | a, | ||
const AR_IEEE_128 * | b, | ||
int | roundmode | ||
) |
Definition at line 418 of file ieee_fadd.c.
References ADDIEEE128, ar_state_info::ar_denorms_trap, AR_Float_IEEE_NR_128, ar_i128norm(), AR_IEEE128_C0_BITS, AR_IEEE128_COEFF_BITS, AR_IEEE128_MAX_EXPO, AR_IEEE128_ROUND_BITS, AR_STAT_NEGATIVE, AR_STAT_OK, AR_STAT_OVERFLOW, AR_STAT_UNDEFINED, AR_STAT_ZERO, ar_state_register, AR_status(), AR_IEEE_128::coeff0, AR_IEEE_128::coeff1, AR_IEEE_128::coeff2, AR_IEEE_128::coeff3, AR_IEEE_128::coeff4, AR_IEEE_128::coeff5, AR_IEEE_128::coeff6, AR_IEEE_128::expo, HOST_IS_MIPS, INCIEEE128, IS_IEEE128_NaN, IS_IEEE128_NZ_COEFF, MASKR, NOTIEEE128, QNaNIEEE128, SHRIGHTIEEE128, and AR_IEEE_128::sign.
Referenced by AR_add(), ar_ifsub128(), and main().
int ar_ifadd32 | ( | AR_IEEE_32 * | x, |
const AR_IEEE_32 * | a, | ||
const AR_IEEE_32 * | b, | ||
int | roundmode | ||
) |
Definition at line 45 of file ieee_fadd.c.
References ADDIEEE32, ar_state_info::ar_denorms_trap, ar_i32norm(), AR_IEEE32_C0_BITS, AR_IEEE32_COEFF_BITS, AR_IEEE32_MAX_EXPO, AR_IEEE32_ROUND_BITS, AR_STAT_NEGATIVE, AR_STAT_OK, AR_STAT_OVERFLOW, AR_STAT_UNDEFINED, AR_STAT_ZERO, ar_state_register, AR_IEEE_32::coeff0, AR_IEEE_32::coeff1, AR_IEEE_32::expo, INCIEEE32, IS_IEEE32_NaN, IS_IEEE32_NZ_COEFF, MASKR, NOTIEEE32, QNaNIEEE32, SHRIGHTIEEE32, and AR_IEEE_32::sign.
Referenced by AR_add(), ar_ifsub32(), and main().
int ar_ifadd64 | ( | AR_IEEE_64 * | x, |
const AR_IEEE_64 * | a, | ||
const AR_IEEE_64 * | b, | ||
int | roundmode | ||
) |
Definition at line 219 of file ieee_fadd.c.
References ADDIEEE64, ar_state_info::ar_denorms_trap, ar_i64norm(), AR_IEEE64_C0_BITS, AR_IEEE64_COEFF_BITS, AR_IEEE64_MAX_EXPO, AR_IEEE64_ROUND_BITS, AR_STAT_NEGATIVE, AR_STAT_OK, AR_STAT_OVERFLOW, AR_STAT_UNDEFINED, AR_STAT_ZERO, ar_state_register, AR_IEEE_64::coeff0, AR_IEEE_64::coeff1, AR_IEEE_64::coeff2, AR_IEEE_64::coeff3, AR_IEEE_64::expo, INCIEEE64, IS_IEEE64_NaN, IS_IEEE64_NZ_COEFF, MASKR, NOTIEEE64, QNaNIEEE64, SHRIGHTIEEE64, and AR_IEEE_64::sign.
Referenced by AR_add(), ar_ifsub64(), ar_isqrt64(), ar_sim(), and main().
int ar_ifsub128 | ( | AR_IEEE_128 * | x, |
const AR_IEEE_128 * | a, | ||
const AR_IEEE_128 * | b, | ||
int | roundmode | ||
) |
Definition at line 580 of file ieee_fadd.c.
References ar_ifadd128(), AR_STAT_UNDEFINED, IS_IEEE128_NaN, and AR_IEEE_128::sign.
Referenced by AR_subtract(), and main().
int ar_ifsub32 | ( | AR_IEEE_32 * | x, |
const AR_IEEE_32 * | a, | ||
const AR_IEEE_32 * | b, | ||
int | roundmode | ||
) |
Definition at line 194 of file ieee_fadd.c.
References ar_ifadd32(), AR_STAT_UNDEFINED, IS_IEEE32_NaN, and AR_IEEE_32::sign.
Referenced by AR_subtract(), and main().
int ar_ifsub64 | ( | AR_IEEE_64 * | x, |
const AR_IEEE_64 * | a, | ||
const AR_IEEE_64 * | b, | ||
int | roundmode | ||
) |
Definition at line 368 of file ieee_fadd.c.
References ar_ifadd64(), AR_STAT_UNDEFINED, IS_IEEE64_NaN, and AR_IEEE_64::sign.
Referenced by ar_isqrt64(), ar_sim(), AR_subtract(), and main().
char rcsid[] = "$Id: ieee_fadd.c,v 1.1.1.1 2002-05-22 20:06:18 dsystem Exp $" [static] |
Definition at line 606 of file ieee_fadd.c.
Definition at line 605 of file ieee_fadd.c.