tag | line | file | source code |
accum | 91 | kernel/FPU-emu/fpu_emu.h | extern void polynomial(unsigned accum[], unsigned x[], |
accum | 44 | kernel/FPU-emu/poly_2xm1.c | FPU_REG accum; |
accum | 83 | kernel/FPU-emu/poly_2xm1.c | *(short *)&(accum.sign) = 0; /* will be a valid positive nr with expon = 0 */ |
accum | 84 | kernel/FPU-emu/poly_2xm1.c | accum.exp = 0; |
accum | 87 | kernel/FPU-emu/poly_2xm1.c | polynomial((unsigned *)&accum.sigl, (unsigned *)&Xll, lterms, HIPOWER-1); |
accum | 90 | kernel/FPU-emu/poly_2xm1.c | accum.exp += EXP_BIAS - 1; |
accum | 92 | kernel/FPU-emu/poly_2xm1.c | reg_move(&accum, result); |
accum | 47 | kernel/FPU-emu/poly_l2.c | FPU_REG accum, denom, num, Xx; |
accum | 52 | kernel/FPU-emu/poly_l2.c | accum.tag = TW_Valid; /* set the tags to Valid */ |
accum | 61 | kernel/FPU-emu/poly_l2.c | accum.sign = 1; /* sign to negative */ |
accum | 67 | kernel/FPU-emu/poly_l2.c | accum.sign = 0; /* set the sign to positive */ |
accum | 89 | kernel/FPU-emu/poly_l2.c | accum.exp = -1; /* exponent of accum */ |
accum | 92 | kernel/FPU-emu/poly_l2.c | polynomial((unsigned *)&accum.sigl, (unsigned *)&Xsq, lterms, HIPOWER-1); |
accum | 102 | kernel/FPU-emu/poly_l2.c | sign = accum.sign; |
accum | 103 | kernel/FPU-emu/poly_l2.c | accum.sign = 0; |
accum | 106 | kernel/FPU-emu/poly_l2.c | accum.exp = EXP_BIAS + accum.exp; |
accum | 107 | kernel/FPU-emu/poly_l2.c | normalize(&accum); |
accum | 138 | kernel/FPU-emu/poly_l2.c | reg_u_mul(&lXx, &accum, &accum); |
accum | 139 | kernel/FPU-emu/poly_l2.c | accum.exp += - EXP_BIAS + 1; |
accum | 141 | kernel/FPU-emu/poly_l2.c | reg_u_add(&lXx, &accum, result); |
accum | 149 | kernel/FPU-emu/poly_l2.c | mul64((long long *)&accum.sigl, |
accum | 150 | kernel/FPU-emu/poly_l2.c | (long long *)&Xx.sigl, (long long *)&accum.sigl); |
accum | 152 | kernel/FPU-emu/poly_l2.c | *((long long *)(&accum.sigl)) += *((long long *)(&Xx.sigl)); |
accum | 154 | kernel/FPU-emu/poly_l2.c | if ( Xx.sigh > accum.sigh ) |
accum | 158 | kernel/FPU-emu/poly_l2.c | poly_div2((long long *)&accum.sigl); |
accum | 159 | kernel/FPU-emu/poly_l2.c | accum.sigh |= 0x80000000; |
accum | 160 | kernel/FPU-emu/poly_l2.c | accum.exp++; |
accum | 166 | kernel/FPU-emu/poly_l2.c | if ( exponent && ((exponent < 0) ^ (accum.sign)) ) |
accum | 170 | kernel/FPU-emu/poly_l2.c | accum.sign = !accum.sign; |
accum | 173 | kernel/FPU-emu/poly_l2.c | if ( accum.sigl | accum.sigh ) |
accum | 177 | kernel/FPU-emu/poly_l2.c | if ( accum.exp < 0 ) |
accum | 179 | kernel/FPU-emu/poly_l2.c | poly_div2((long long *)&accum.sigl); |
accum | 180 | kernel/FPU-emu/poly_l2.c | accum.exp++; |
accum | 183 | kernel/FPU-emu/poly_l2.c | *((long long *)&(accum.sigl)) = - *((long long *)&(accum.sigl)); |
accum | 195 | kernel/FPU-emu/poly_l2.c | if ( accum.exp ) |
accum | 197 | kernel/FPU-emu/poly_l2.c | accum.exp++; |
accum | 198 | kernel/FPU-emu/poly_l2.c | poly_div2((long long *)&accum.sigl); |
accum | 202 | kernel/FPU-emu/poly_l2.c | poly_div2((long long *)&accum.sigl); |
accum | 204 | kernel/FPU-emu/poly_l2.c | accum.sigh |= 0x80000000; |
accum | 211 | kernel/FPU-emu/poly_l2.c | accum.exp += bits + EXP_BIAS - 1; |
accum | 213 | kernel/FPU-emu/poly_l2.c | reg_move(&accum, result); |
accum | 228 | kernel/FPU-emu/poly_l2.c | FPU_REG arg_pl1, denom, accum, local_arg, poly_arg; |
accum | 267 | kernel/FPU-emu/poly_l2.c | polynomial(&(accum.sigl), (unsigned *)&Xsq, lterms, HIPOWER-1); |
accum | 269 | kernel/FPU-emu/poly_l2.c | accum.tag = TW_Valid; /* set the tags to Valid */ |
accum | 270 | kernel/FPU-emu/poly_l2.c | accum.sign = SIGN_POS; /* and make accum positive */ |
accum | 273 | kernel/FPU-emu/poly_l2.c | accum.exp = EXP_BIAS - 1; |
accum | 274 | kernel/FPU-emu/poly_l2.c | normalize(&accum); |
accum | 276 | kernel/FPU-emu/poly_l2.c | reg_u_mul(&local_arg, &accum, &accum); |
accum | 277 | kernel/FPU-emu/poly_l2.c | accum.exp -= EXP_BIAS - 1; |
accum | 279 | kernel/FPU-emu/poly_l2.c | reg_u_add(&local_arg, &accum, result); |
accum | 44 | kernel/FPU-emu/poly_sin.c | FPU_REG Xx, Xx2, Xx4, accum, negaccum; |
accum | 92 | kernel/FPU-emu/poly_sin.c | *(short *)&(accum.sign) = 0; |
accum | 93 | kernel/FPU-emu/poly_sin.c | accum.exp = 0; |
accum | 96 | kernel/FPU-emu/poly_sin.c | polynomial(&(accum.sigl), &(Xx4.sigl), lterms, HIPOWER-1); |
accum | 108 | kernel/FPU-emu/poly_sin.c | *((long long *)(&(accum.sigl))) -= *((long long *)(&(negaccum.sigl))); |
accum | 111 | kernel/FPU-emu/poly_sin.c | accum.exp = EXP_BIAS - 1 + accum.exp; |
accum | 113 | kernel/FPU-emu/poly_sin.c | *(short *)&(result->sign) = *(short *)&(accum.sign); |
accum | 114 | kernel/FPU-emu/poly_sin.c | result->exp = accum.exp; |
accum | 115 | kernel/FPU-emu/poly_sin.c | result->sigl = accum.sigl; |
accum | 116 | kernel/FPU-emu/poly_sin.c | result->sigh = accum.sigh; |