tag | line | file | source code |
accum | 125 | drivers/FPU-emu/fpu_emu.h | asmlinkage void polynomial(unsigned accum[], unsigned const x[], |
accum | 45 | drivers/FPU-emu/poly_2xm1.c | FPU_REG accum; |
accum | 70 | drivers/FPU-emu/poly_2xm1.c | *(short *)&(accum.sign) = 0; /* Will be a valid positive nr with expon = 0 */ |
accum | 71 | drivers/FPU-emu/poly_2xm1.c | accum.exp = 0; |
accum | 74 | drivers/FPU-emu/poly_2xm1.c | polynomial((unsigned *)&accum.sigl, (unsigned *)&Xll, lterms, HIPOWER-1); |
accum | 77 | drivers/FPU-emu/poly_2xm1.c | accum.exp += EXP_BIAS - 1; |
accum | 79 | drivers/FPU-emu/poly_2xm1.c | reg_move(&accum, result); |
accum | 49 | drivers/FPU-emu/poly_l2.c | FPU_REG accum, denom, num, Xx; |
accum | 54 | drivers/FPU-emu/poly_l2.c | accum.tag = TW_Valid; /* set the tags to Valid */ |
accum | 63 | drivers/FPU-emu/poly_l2.c | accum.sign = 1; /* sign to negative */ |
accum | 69 | drivers/FPU-emu/poly_l2.c | accum.sign = 0; /* set the sign to positive */ |
accum | 92 | drivers/FPU-emu/poly_l2.c | accum.exp = -1; /* exponent of accum */ |
accum | 95 | drivers/FPU-emu/poly_l2.c | polynomial((unsigned *)&accum.sigl, (unsigned *)&Xsq, lterms, HIPOWER-1); |
accum | 105 | drivers/FPU-emu/poly_l2.c | sign = accum.sign; |
accum | 106 | drivers/FPU-emu/poly_l2.c | accum.sign = 0; |
accum | 109 | drivers/FPU-emu/poly_l2.c | accum.exp = EXP_BIAS + accum.exp; |
accum | 110 | drivers/FPU-emu/poly_l2.c | normalize(&accum); |
accum | 141 | drivers/FPU-emu/poly_l2.c | reg_u_mul(&lXx, &accum, &accum, FULL_PRECISION); |
accum | 143 | drivers/FPU-emu/poly_l2.c | reg_u_add(&lXx, &accum, result, FULL_PRECISION); |
accum | 152 | drivers/FPU-emu/poly_l2.c | mul64(&significand(&accum), |
accum | 153 | drivers/FPU-emu/poly_l2.c | &significand(&Xx), &significand(&accum)); |
accum | 155 | drivers/FPU-emu/poly_l2.c | significand(&accum) += significand(&Xx); |
accum | 157 | drivers/FPU-emu/poly_l2.c | if ( Xx.sigh > accum.sigh ) |
accum | 161 | drivers/FPU-emu/poly_l2.c | poly_div2(&significand(&accum)); |
accum | 162 | drivers/FPU-emu/poly_l2.c | accum.sigh |= 0x80000000; |
accum | 163 | drivers/FPU-emu/poly_l2.c | accum.exp++; |
accum | 169 | drivers/FPU-emu/poly_l2.c | if ( exponent && ((exponent < 0) ^ (accum.sign)) ) |
accum | 173 | drivers/FPU-emu/poly_l2.c | accum.sign = !accum.sign; |
accum | 176 | drivers/FPU-emu/poly_l2.c | if ( accum.sigl | accum.sigh ) |
accum | 180 | drivers/FPU-emu/poly_l2.c | if ( accum.exp < 0 ) |
accum | 182 | drivers/FPU-emu/poly_l2.c | poly_div2(&significand(&accum)); |
accum | 183 | drivers/FPU-emu/poly_l2.c | accum.exp++; |
accum | 186 | drivers/FPU-emu/poly_l2.c | significand(&accum) = - significand(&accum); |
accum | 198 | drivers/FPU-emu/poly_l2.c | if ( accum.exp ) |
accum | 200 | drivers/FPU-emu/poly_l2.c | accum.exp++; |
accum | 201 | drivers/FPU-emu/poly_l2.c | poly_div2(&significand(&accum)); |
accum | 205 | drivers/FPU-emu/poly_l2.c | poly_div2(&significand(&accum)); |
accum | 207 | drivers/FPU-emu/poly_l2.c | accum.sigh |= 0x80000000; |
accum | 214 | drivers/FPU-emu/poly_l2.c | accum.exp += bits + EXP_BIAS - 1; |
accum | 216 | drivers/FPU-emu/poly_l2.c | reg_move(&accum, result); |
accum | 231 | drivers/FPU-emu/poly_l2.c | FPU_REG arg_pl1, denom, accum, local_arg, poly_arg; |
accum | 270 | drivers/FPU-emu/poly_l2.c | polynomial(&(accum.sigl), (unsigned *)&Xsq, lterms, HIPOWER-1); |
accum | 272 | drivers/FPU-emu/poly_l2.c | accum.tag = TW_Valid; /* set the tags to Valid */ |
accum | 273 | drivers/FPU-emu/poly_l2.c | accum.sign = SIGN_POS; /* and make accum positive */ |
accum | 276 | drivers/FPU-emu/poly_l2.c | accum.exp = EXP_BIAS - 1; |
accum | 277 | drivers/FPU-emu/poly_l2.c | normalize(&accum); |
accum | 279 | drivers/FPU-emu/poly_l2.c | reg_u_mul(&local_arg, &accum, &accum, FULL_PRECISION); |
accum | 281 | drivers/FPU-emu/poly_l2.c | reg_u_add(&local_arg, &accum, result, FULL_PRECISION); |
accum | 46 | drivers/FPU-emu/poly_sin.c | FPU_REG fixed_arg, arg_sqrd, arg_to_4, accum, negaccum; |
accum | 94 | drivers/FPU-emu/poly_sin.c | *(short *)&(accum.sign) = 0; |
accum | 95 | drivers/FPU-emu/poly_sin.c | accum.exp = 0; |
accum | 98 | drivers/FPU-emu/poly_sin.c | polynomial(&(accum.sigl), &(arg_to_4.sigl), lterms, HIPOWER-1); |
accum | 110 | drivers/FPU-emu/poly_sin.c | significand(&accum) -= significand(&negaccum); |
accum | 113 | drivers/FPU-emu/poly_sin.c | accum.exp = EXP_BIAS - 1 + accum.exp; |
accum | 115 | drivers/FPU-emu/poly_sin.c | reg_move(&accum, result); |