Lines Matching refs:exp
22 .exp = 0x7fff,
28 .exp = 0x7fff,
97 if ((diff = dest->exp - src->exp) > 0) in fp_fadd()
156 int exp; in fp_fmul() local
183 dest->exp = 0; in fp_fmul()
190 exp = dest->exp + src->exp - 0x3ffe; in fp_fmul()
196 exp -= fp_overnormalize(dest); in fp_fmul()
198 exp -= fp_overnormalize(src); in fp_fmul()
206 exp--; in fp_fmul()
211 if (exp >= 0x7fff) { in fp_fmul()
215 dest->exp = exp; in fp_fmul()
216 if (exp < 0) { in fp_fmul()
218 fp_denormalize(dest, -exp); in fp_fmul()
234 int exp; in fp_fdiv() local
253 dest->exp = 0; in fp_fdiv()
271 dest->exp = 0x7fff; in fp_fdiv()
277 exp = dest->exp - src->exp + 0x3fff; in fp_fdiv()
283 exp -= fp_overnormalize(dest); in fp_fdiv()
285 exp -= fp_overnormalize(src); in fp_fdiv()
293 exp--; in fp_fdiv()
298 if (exp >= 0x7fff) { in fp_fdiv()
302 dest->exp = exp; in fp_fdiv()
303 if (exp < 0) { in fp_fdiv()
305 fp_denormalize(dest, -exp); in fp_fdiv()
314 int exp; in fp_fsglmul() local
341 dest->exp = 0; in fp_fsglmul()
348 exp = dest->exp + src->exp - 0x3ffe; in fp_fsglmul()
355 if (exp >= 0x7fff) { in fp_fsglmul()
359 dest->exp = exp; in fp_fsglmul()
360 if (exp < 0) { in fp_fsglmul()
362 fp_denormalize(dest, -exp); in fp_fsglmul()
371 int exp; in fp_fsgldiv() local
391 dest->exp = 0; in fp_fsgldiv()
409 dest->exp = 0x7fff; in fp_fsgldiv()
415 exp = dest->exp - src->exp + 0x3fff; in fp_fsgldiv()
430 exp--; in fp_fsgldiv()
433 if (exp >= 0x7fff) { in fp_fsgldiv()
437 dest->exp = exp; in fp_fsgldiv()
438 if (exp < 0) { in fp_fsgldiv()
440 fp_denormalize(dest, -exp); in fp_fsgldiv()
466 switch (dest->exp) { in fp_roundint()
471 dest->mant.m32[0] &= 0xffffffffU << (0x401e - dest->exp); in fp_roundint()
477 dest->mant.m32[1] &= 0xffffffffU << (0x403e - dest->exp); in fp_roundint()
500 switch (dest->exp) { in fp_roundint()
512 mask = 1 << (0x401d - dest->exp); in fp_roundint()
517 if (!(oldmant.m32[0] << (dest->exp - 0x3ffd)) && in fp_roundint()
530 mask = 1 << (0x403d - dest->exp); in fp_roundint()
535 if (!(oldmant.m32[1] << (dest->exp - 0x401d))) in fp_roundint()
550 switch (dest->exp) { in fp_roundint()
552 dest->exp = 0x3fff; in fp_roundint()
556 mask = 1 << (0x401e - dest->exp); in fp_roundint()
560 dest->exp++; in fp_roundint()
563 mask = 1 << (0x403e - dest->exp); in fp_roundint()
569 dest->exp++; in fp_roundint()
677 if (src->exp >= 0x400c) { in fp_fscale()
689 scale += dest->exp; in fp_fscale()
697 dest->exp = scale; in fp_fscale()