Home
last modified time | relevance | path

Searched refs:fix_up (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/x86/math-emu/
H A Dpoly_tan.c56 argSignif, fix_up; in poly_tan() local
174 XSIG_LL(fix_up) = 0x898cc51701b839a2LL; in poly_tan()
175 fix_up.lsw = 0; in poly_tan()
187 fix_up.msw += adj; in poly_tan()
188 if (!(fix_up.msw & 0x80000000)) { /* did fix_up overflow ? */ in poly_tan()
190 shr_Xsig(&fix_up, 1); in poly_tan()
191 fix_up.msw |= 0x80000000; in poly_tan()
192 shr_Xsig(&fix_up, 64 + exponent); in poly_tan()
194 shr_Xsig(&fix_up, 65 + exponent); in poly_tan()
196 add_two_Xsig(&accum, &fix_up, &exponent); in poly_tan()
H A Dpoly_sin.c62 unsigned long fix_up, adj; in poly_sine() local
167 fix_up = 0x898cc517; in poly_sine()
171 fix_up -= mul_32_32(0x898cc517, argSqrd.msw) / 6; in poly_sine()
173 fix_up = mul_32_32(fix_up, LL_MSW(fixed_arg)); in poly_sine()
176 accumulator.lsw -= fix_up; in poly_sine()
205 Xsig accumulator, argSqrd, fix_up, argTo4; in poly_cos() local
347 XSIG_LL(fix_up) = 0x898cc51701b839a2ll; in poly_cos()
348 fix_up.lsw = 0; in poly_cos()
353 fix_up.msw -= mul_32_32(0x898cc517, argSqrd.msw) / 2; in poly_cos()
360 shr_Xsig(&fix_up, 65 + exp2); in poly_cos()
[all …]