Lines Matching refs:accumulator
29 Xsig accumulator, expon_accum, yaccum; in poly_l2() local
54 accumulator.msw = accumulator.midw = accumulator.lsw = 0; in poly_l2()
56 log2_kernel(&x, argsign, &accumulator, &expon); in poly_l2()
68 shr_Xsig(&accumulator, expon_expon - expon); in poly_l2()
71 negate_Xsig(&accumulator); in poly_l2()
72 add_Xsig_Xsig(&accumulator, &expon_accum); in poly_l2()
80 mul_Xsig_Xsig(&accumulator, &yaccum); in poly_l2()
82 expon_expon += round_Xsig(&accumulator); in poly_l2()
84 if (accumulator.msw == 0) { in poly_l2()
89 significand(st1_ptr) = XSIG_LL(accumulator); in poly_l2()
110 Xsig accumulator, yaccum; in poly_l2p1() local
113 log2_kernel(st0_ptr, sign0, &accumulator, &exponent); in poly_l2p1()
117 mul_Xsig_Xsig(&accumulator, &yaccum); in poly_l2p1()
119 exponent += round_Xsig(&accumulator); in poly_l2p1()
125 significand(dest) = XSIG_LL(accumulator); in poly_l2p1()
186 Xsig accumulator, Numer, Denom, argSignif, arg_signif; in log2_kernel() local
221 accumulator.lsw = argSignif.lsw; in log2_kernel()
222 XSIG_LL(accumulator) = XSIG_LL(argSignif); in log2_kernel()
223 mul_Xsig_Xsig(&accumulator, &accumulator); in log2_kernel()
224 shr_Xsig(&accumulator, 2 * (-1 - (1 + exponent + adj))); in log2_kernel()
225 Xsq = XSIG_LL(accumulator); in log2_kernel()
226 if (accumulator.lsw & 0x80000000) in log2_kernel()
229 accumulator.msw = accumulator.midw = accumulator.lsw = 0; in log2_kernel()
231 polynomial_Xsig(&accumulator, &Xsq, logterms, HIPOWER - 1); in log2_kernel()
233 mul_Xsig_Xsig(&accumulator, &argSignif); in log2_kernel()
234 shr_Xsig(&accumulator, 6 - adj); in log2_kernel()
237 add_two_Xsig(&accumulator, &arg_signif, &exponent); in log2_kernel()
240 accum_result->lsw = accumulator.lsw; in log2_kernel()
241 accum_result->midw = accumulator.midw; in log2_kernel()
242 accum_result->msw = accumulator.msw; in log2_kernel()