Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
Go to the source code of this file.
Defines | |
#define | LOOKUP_KEY_BITS 7 |
Functions | |
int | ar_cfdiv64 (AR_CRAY_64 *x, const AR_CRAY_64 *a, const AR_CRAY_64 *b, int roundmode) |
int | ar_cfdiv128 (AR_CRAY_128 *x, const AR_CRAY_128 *a, const AR_CRAY_128 *b, int roundmode) |
int | ar_c1frecip (AR_CRAY_64 *x, const AR_CRAY_64 *b) |
Variables | |
static unsigned long | recip_lookup [1<< LOOKUP_KEY_BITS][2] |
static char | USMID [] = "\n%Z%%M% %I% %G% %U%\n" |
static char | rcsid [] = "$Id: cray_fdiv.c,v 1.1.1.1 2002-05-22 20:06:18 dsystem Exp $" |
#define LOOKUP_KEY_BITS 7 |
Definition at line 144 of file cray_fdiv.c.
Referenced by ar_c1frecip().
int ar_c1frecip | ( | AR_CRAY_64 * | x, |
const AR_CRAY_64 * | b | ||
) |
Definition at line 279 of file cray_fdiv.c.
References a2, ADD64, AR_CRAY_C0_BITS, AR_CRAY_EXPO_BIAS, AR_CRAY_MAX_EXPO, AR_CRAY_MIN_EXPO, AR_STAT_INEXACT, AR_STAT_NEGATIVE, AR_STAT_OK, AR_STAT_OVERFLOW, AR_CRAY_64::coeff0, COPY64, AR_CRAY_64::expo, INC64, LOOKUP_KEY_BITS, MASKR, MULSTEP, NOT64, AR_INT_64::part1, AR_INT_64::part2, AR_INT_64::part3, AR_INT_64::part4, recip_lookup, SHLEFT64, SHLEFTCRAY64, SHRIGHT64, SHRIGHTCRAY64, AR_CRAY_64::sign, t1, ZERO64, and ZEROCRAY64.
Referenced by ar_cfdiv128(), ar_cfdiv64(), ar_sim(), and main().
int ar_cfdiv128 | ( | AR_CRAY_128 * | x, |
const AR_CRAY_128 * | a, | ||
const AR_CRAY_128 * | b, | ||
int | roundmode | ||
) |
Definition at line 69 of file cray_fdiv.c.
References ar_c1frecip(), ar_cfadd64(), ar_cfmul128(), ar_cfmul64(), ar_cfsub64(), AR_CRAY_C0_BITS, AR_CRAY_C3_BITS, AR_CRAY_EXPO_BIAS, AR_STAT_NEGATIVE, AR_STAT_OK, AR_STAT_ZERO, AR_CRAY_64::coeff0, AR_CRAY_128::coeff0, AR_CRAY_128::coeff1, AR_CRAY_128::coeff2, AR_CRAY_128::coeff3, AR_CRAY_128::coeff4, AR_CRAY_128::coeff5, CRAY128TO64, CRAY64TO128, AR_CRAY_64::expo, AR_CRAY_128::expo, INCCRAY128, INCCRAY64, SHLEFTCRAY128, SHRIGHTCRAY128, AR_CRAY_128::sign, t1, and AR_CRAY_128::zero.
Referenced by ar_divide_float(), and main().
int ar_cfdiv64 | ( | AR_CRAY_64 * | x, |
const AR_CRAY_64 * | a, | ||
const AR_CRAY_64 * | b, | ||
int | roundmode | ||
) |
Definition at line 47 of file cray_fdiv.c.
References ar_c1frecip(), ar_cfmul64(), ar_CRAY_64_trunc(), AR_RECIPROCAL_ITERATION, AR_STAT_NEGATIVE, AR_STAT_OK, AR_STAT_ZERO, ar_state_register, ar_state_info::ar_truncate_bits, and AR_UNROUNDED.
Referenced by ar_divide_float(), and main().
char rcsid[] = "$Id: cray_fdiv.c,v 1.1.1.1 2002-05-22 20:06:18 dsystem Exp $" [static] |
Definition at line 492 of file cray_fdiv.c.
unsigned long recip_lookup[1<< LOOKUP_KEY_BITS][2] [static] |
Definition at line 145 of file cray_fdiv.c.
Referenced by ar_c1frecip().
Definition at line 491 of file cray_fdiv.c.