Lines Matching refs:st0_ptr
57 void poly_sine(FPU_REG *st0_ptr)
65 exponent = exponent(st0_ptr);
72 || ((exponent == -1) && (st0_ptr->sigh <= 0xe21240aa))) {
75 argSqrd.msw = st0_ptr->sigh;
76 argSqrd.midw = st0_ptr->sigl;
78 mul64_Xsig(&argSqrd, &significand(st0_ptr));
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);
107 XSIG_LL(accumulator) += significand(st0_ptr);
111 setexponentpos(&result, exponent(st0_ptr) + echange);
116 fixed_arg = significand(st0_ptr);
185 setsign(&result, getsign(st0_ptr));
200 void poly_cos(FPU_REG *st0_ptr)
208 if ((exponent(st0_ptr) > 0)
209 || ((exponent(st0_ptr) == 0)
210 && (significand(st0_ptr) > 0xc90fdaa22168c234LL))) {
217 exponent = exponent(st0_ptr);
222 || ((exponent == -1) && (st0_ptr->sigh <= 0xb00d6f54))) {
225 argSqrd.msw = st0_ptr->sigh;
226 argSqrd.midw = st0_ptr->sigl;
228 mul64_Xsig(&argSqrd, &significand(st0_ptr));
249 mul64_Xsig(&accumulator, &significand(st0_ptr));
250 mul64_Xsig(&accumulator, &significand(st0_ptr));
277 fixed_arg = significand(st0_ptr);