Lines Matching defs:accumulator

61 	Xsig accumulator, argSqrd, argTo4;
68 accumulator.lsw = accumulator.midw = accumulator.msw = 0;
86 polynomial_Xsig(&accumulator, &XSIG_LL(argTo4), neg_terms_l,
88 mul_Xsig_Xsig(&accumulator, &argSqrd);
89 negate_Xsig(&accumulator);
91 polynomial_Xsig(&accumulator, &XSIG_LL(argTo4), pos_terms_l,
94 shr_Xsig(&accumulator, 2); /* Divide by four */
95 accumulator.msw |= 0x80000000; /* Add 1.0 */
97 mul64_Xsig(&accumulator, &significand(st0_ptr));
98 mul64_Xsig(&accumulator, &significand(st0_ptr));
99 mul64_Xsig(&accumulator, &significand(st0_ptr));
105 shr_Xsig(&accumulator, exponent(st0_ptr) - exponent);
107 negate_Xsig(&accumulator);
108 XSIG_LL(accumulator) += significand(st0_ptr);
110 echange = round_Xsig(&accumulator);
139 polynomial_Xsig(&accumulator, &XSIG_LL(argTo4), neg_terms_h,
141 mul_Xsig_Xsig(&accumulator, &argSqrd);
142 negate_Xsig(&accumulator);
144 polynomial_Xsig(&accumulator, &XSIG_LL(argTo4), pos_terms_h,
146 negate_Xsig(&accumulator);
148 mul64_Xsig(&accumulator, &fixed_arg);
149 mul64_Xsig(&accumulator, &fixed_arg);
151 shr_Xsig(&accumulator, 3);
152 negate_Xsig(&accumulator);
154 add_Xsig_Xsig(&accumulator, &argSqrd);
156 shr_Xsig(&accumulator, 1);
158 accumulator.lsw |= 1; /* A zero accumulator here would cause problems */
159 negate_Xsig(&accumulator);
175 adj = accumulator.lsw; /* temp save */
176 accumulator.lsw -= fix_up;
177 if (accumulator.lsw > adj)
178 XSIG_LL(accumulator)--;
180 echange = round_Xsig(&accumulator);
185 significand(&result) = XSIG_LL(accumulator);
205 Xsig accumulator, argSqrd, fix_up, argTo4;
220 accumulator.lsw = accumulator.midw = accumulator.msw = 0;
241 polynomial_Xsig(&accumulator, &XSIG_LL(argTo4), neg_terms_h,
243 mul_Xsig_Xsig(&accumulator, &argSqrd);
244 negate_Xsig(&accumulator);
246 polynomial_Xsig(&accumulator, &XSIG_LL(argTo4), pos_terms_h,
248 negate_Xsig(&accumulator);
250 mul64_Xsig(&accumulator, &significand(st0_ptr));
251 mul64_Xsig(&accumulator, &significand(st0_ptr));
252 shr_Xsig(&accumulator, -2 * (1 + exponent));
254 shr_Xsig(&accumulator, 3);
255 negate_Xsig(&accumulator);
257 add_Xsig_Xsig(&accumulator, &argSqrd);
259 shr_Xsig(&accumulator, 1);
261 /* It doesn't matter if accumulator is all zero here, the
263 negate_Xsig(&accumulator);
265 if (accumulator.lsw & 0x80000000)
266 XSIG_LL(accumulator)++;
267 if (accumulator.msw == 0) {
272 significand(&result) = XSIG_LL(accumulator);
317 polynomial_Xsig(&accumulator, &XSIG_LL(argTo4), neg_terms_l,
319 mul_Xsig_Xsig(&accumulator, &argSqrd);
320 negate_Xsig(&accumulator);
322 polynomial_Xsig(&accumulator, &XSIG_LL(argTo4), pos_terms_l,
325 shr_Xsig(&accumulator, 2); /* Divide by four */
326 accumulator.msw |= 0x80000000; /* Add 1.0 */
328 mul64_Xsig(&accumulator, &fixed_arg);
329 mul64_Xsig(&accumulator, &fixed_arg);
330 mul64_Xsig(&accumulator, &fixed_arg);
336 shr_Xsig(&accumulator, exp2 - exponent);
338 negate_Xsig(&accumulator);
339 XSIG_LL(accumulator) += fixed_arg;
357 exp2 += norm_Xsig(&accumulator);
358 shr_Xsig(&accumulator, 1); /* Prevent overflow */
362 add_Xsig_Xsig(&accumulator, &fix_up);
364 echange = round_Xsig(&accumulator);
367 significand(&result) = XSIG_LL(accumulator);