• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/math-emu/

Lines Matching refs:accumulator

60 	Xsig accumulator, argSqrd, argTo4;
67 accumulator.lsw = accumulator.midw = accumulator.msw = 0;
85 polynomial_Xsig(&accumulator, &XSIG_LL(argTo4), neg_terms_l,
87 mul_Xsig_Xsig(&accumulator, &argSqrd);
88 negate_Xsig(&accumulator);
90 polynomial_Xsig(&accumulator, &XSIG_LL(argTo4), pos_terms_l,
93 shr_Xsig(&accumulator, 2); /* Divide by four */
94 accumulator.msw |= 0x80000000; /* Add 1.0 */
96 mul64_Xsig(&accumulator, &significand(st0_ptr));
97 mul64_Xsig(&accumulator, &significand(st0_ptr));
98 mul64_Xsig(&accumulator, &significand(st0_ptr));
104 shr_Xsig(&accumulator, exponent(st0_ptr) - exponent);
106 negate_Xsig(&accumulator);
107 XSIG_LL(accumulator) += significand(st0_ptr);
109 echange = round_Xsig(&accumulator);
138 polynomial_Xsig(&accumulator, &XSIG_LL(argTo4), neg_terms_h,
140 mul_Xsig_Xsig(&accumulator, &argSqrd);
141 negate_Xsig(&accumulator);
143 polynomial_Xsig(&accumulator, &XSIG_LL(argTo4), pos_terms_h,
145 negate_Xsig(&accumulator);
147 mul64_Xsig(&accumulator, &fixed_arg);
148 mul64_Xsig(&accumulator, &fixed_arg);
150 shr_Xsig(&accumulator, 3);
151 negate_Xsig(&accumulator);
153 add_Xsig_Xsig(&accumulator, &argSqrd);
155 shr_Xsig(&accumulator, 1);
157 accumulator.lsw |= 1; /* A zero accumulator here would cause problems */
158 negate_Xsig(&accumulator);
174 adj = accumulator.lsw; /* temp save */
175 accumulator.lsw -= fix_up;
176 if (accumulator.lsw > adj)
177 XSIG_LL(accumulator)--;
179 echange = round_Xsig(&accumulator);
184 significand(&result) = XSIG_LL(accumulator);
204 Xsig accumulator, argSqrd, fix_up, argTo4;
219 accumulator.lsw = accumulator.midw = accumulator.msw = 0;
240 polynomial_Xsig(&accumulator, &XSIG_LL(argTo4), neg_terms_h,
242 mul_Xsig_Xsig(&accumulator, &argSqrd);
243 negate_Xsig(&accumulator);
245 polynomial_Xsig(&accumulator, &XSIG_LL(argTo4), pos_terms_h,
247 negate_Xsig(&accumulator);
249 mul64_Xsig(&accumulator, &significand(st0_ptr));
250 mul64_Xsig(&accumulator, &significand(st0_ptr));
251 shr_Xsig(&accumulator, -2 * (1 + exponent));
253 shr_Xsig(&accumulator, 3);
254 negate_Xsig(&accumulator);
256 add_Xsig_Xsig(&accumulator, &argSqrd);
258 shr_Xsig(&accumulator, 1);
260 /* It doesn't matter if accumulator is all zero here, the
262 negate_Xsig(&accumulator);
264 if (accumulator.lsw & 0x80000000)
265 XSIG_LL(accumulator)++;
266 if (accumulator.msw == 0) {
271 significand(&result) = XSIG_LL(accumulator);
316 polynomial_Xsig(&accumulator, &XSIG_LL(argTo4), neg_terms_l,
318 mul_Xsig_Xsig(&accumulator, &argSqrd);
319 negate_Xsig(&accumulator);
321 polynomial_Xsig(&accumulator, &XSIG_LL(argTo4), pos_terms_l,
324 shr_Xsig(&accumulator, 2); /* Divide by four */
325 accumulator.msw |= 0x80000000; /* Add 1.0 */
327 mul64_Xsig(&accumulator, &fixed_arg);
328 mul64_Xsig(&accumulator, &fixed_arg);
329 mul64_Xsig(&accumulator, &fixed_arg);
335 shr_Xsig(&accumulator, exp2 - exponent);
337 negate_Xsig(&accumulator);
338 XSIG_LL(accumulator) += fixed_arg;
356 exp2 += norm_Xsig(&accumulator);
357 shr_Xsig(&accumulator, 1); /* Prevent overflow */
361 add_Xsig_Xsig(&accumulator, &fix_up);
363 echange = round_Xsig(&accumulator);
366 significand(&result) = XSIG_LL(accumulator);