Lines Matching refs:st0_ptr
58 void poly_sine(FPU_REG *st0_ptr)
66 exponent = exponent(st0_ptr);
73 || ((exponent == -1) && (st0_ptr->sigh <= 0xe21240aa))) {
76 argSqrd.msw = st0_ptr->sigh;
77 argSqrd.midw = st0_ptr->sigl;
79 mul64_Xsig(&argSqrd, &significand(st0_ptr));
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);
108 XSIG_LL(accumulator) += significand(st0_ptr);
112 setexponentpos(&result, exponent(st0_ptr) + echange);
117 fixed_arg = significand(st0_ptr);
186 setsign(&result, getsign(st0_ptr));
201 void poly_cos(FPU_REG *st0_ptr)
209 if ((exponent(st0_ptr) > 0)
210 || ((exponent(st0_ptr) == 0)
211 && (significand(st0_ptr) > 0xc90fdaa22168c234LL))) {
218 exponent = exponent(st0_ptr);
223 || ((exponent == -1) && (st0_ptr->sigh <= 0xb00d6f54))) {
226 argSqrd.msw = st0_ptr->sigh;
227 argSqrd.midw = st0_ptr->sigl;
229 mul64_Xsig(&argSqrd, &significand(st0_ptr));
250 mul64_Xsig(&accumulator, &significand(st0_ptr));
251 mul64_Xsig(&accumulator, &significand(st0_ptr));
278 fixed_arg = significand(st0_ptr);