Lines Matching refs:exp
20 .exp = 0x7fff,
26 .exp = 0x7fff,
95 if ((diff = dest->exp - src->exp) > 0) in fp_fadd()
154 int exp; in fp_fmul() local
181 dest->exp = 0; in fp_fmul()
188 exp = dest->exp + src->exp - 0x3ffe; in fp_fmul()
194 exp -= fp_overnormalize(dest); in fp_fmul()
196 exp -= fp_overnormalize(src); in fp_fmul()
204 exp--; in fp_fmul()
209 if (exp >= 0x7fff) { in fp_fmul()
213 dest->exp = exp; in fp_fmul()
214 if (exp < 0) { in fp_fmul()
216 fp_denormalize(dest, -exp); in fp_fmul()
232 int exp; in fp_fdiv() local
251 dest->exp = 0; in fp_fdiv()
269 dest->exp = 0x7fff; in fp_fdiv()
275 exp = dest->exp - src->exp + 0x3fff; in fp_fdiv()
281 exp -= fp_overnormalize(dest); in fp_fdiv()
283 exp -= fp_overnormalize(src); in fp_fdiv()
291 exp--; in fp_fdiv()
296 if (exp >= 0x7fff) { in fp_fdiv()
300 dest->exp = exp; in fp_fdiv()
301 if (exp < 0) { in fp_fdiv()
303 fp_denormalize(dest, -exp); in fp_fdiv()
312 int exp; in fp_fsglmul() local
339 dest->exp = 0; in fp_fsglmul()
346 exp = dest->exp + src->exp - 0x3ffe; in fp_fsglmul()
353 if (exp >= 0x7fff) { in fp_fsglmul()
357 dest->exp = exp; in fp_fsglmul()
358 if (exp < 0) { in fp_fsglmul()
360 fp_denormalize(dest, -exp); in fp_fsglmul()
369 int exp; in fp_fsgldiv() local
389 dest->exp = 0; in fp_fsgldiv()
407 dest->exp = 0x7fff; in fp_fsgldiv()
413 exp = dest->exp - src->exp + 0x3fff; in fp_fsgldiv()
428 exp--; in fp_fsgldiv()
431 if (exp >= 0x7fff) { in fp_fsgldiv()
435 dest->exp = exp; in fp_fsgldiv()
436 if (exp < 0) { in fp_fsgldiv()
438 fp_denormalize(dest, -exp); in fp_fsgldiv()
464 switch (dest->exp) { in fp_roundint()
469 dest->mant.m32[0] &= 0xffffffffU << (0x401e - dest->exp); in fp_roundint()
475 dest->mant.m32[1] &= 0xffffffffU << (0x403e - dest->exp); in fp_roundint()
498 switch (dest->exp) { in fp_roundint()
510 mask = 1 << (0x401d - dest->exp); in fp_roundint()
515 if (!(oldmant.m32[0] << (dest->exp - 0x3ffd)) && in fp_roundint()
528 mask = 1 << (0x403d - dest->exp); in fp_roundint()
533 if (!(oldmant.m32[1] << (dest->exp - 0x401d))) in fp_roundint()
548 switch (dest->exp) { in fp_roundint()
550 dest->exp = 0x3fff; in fp_roundint()
554 mask = 1 << (0x401e - dest->exp); in fp_roundint()
558 dest->exp++; in fp_roundint()
561 mask = 1 << (0x403e - dest->exp); in fp_roundint()
567 dest->exp++; in fp_roundint()
675 if (src->exp >= 0x400c) { in fp_fscale()
687 scale += dest->exp; in fp_fscale()
695 dest->exp = scale; in fp_fscale()