Lines Matching refs:exp

20 	.exp = 0x7fff,
26 .exp = 0x7fff,
92 if ((diff = dest->exp - src->exp) > 0) in fp_fadd()
147 int exp; in fp_fmul() local
174 dest->exp = 0; in fp_fmul()
181 exp = dest->exp + src->exp - 0x3ffe; in fp_fmul()
187 exp -= fp_overnormalize(dest); in fp_fmul()
189 exp -= fp_overnormalize(src); in fp_fmul()
197 exp--; in fp_fmul()
202 if (exp >= 0x7fff) { in fp_fmul()
206 dest->exp = exp; in fp_fmul()
207 if (exp < 0) { in fp_fmul()
209 fp_denormalize(dest, -exp); in fp_fmul()
224 int exp; in fp_fdiv() local
243 dest->exp = 0; in fp_fdiv()
261 dest->exp = 0x7fff; in fp_fdiv()
267 exp = dest->exp - src->exp + 0x3fff; in fp_fdiv()
273 exp -= fp_overnormalize(dest); in fp_fdiv()
275 exp -= fp_overnormalize(src); in fp_fdiv()
283 exp--; in fp_fdiv()
288 if (exp >= 0x7fff) { in fp_fdiv()
292 dest->exp = exp; in fp_fdiv()
293 if (exp < 0) { in fp_fdiv()
295 fp_denormalize(dest, -exp); in fp_fdiv()
303 int exp; in fp_fsglmul() local
330 dest->exp = 0; in fp_fsglmul()
337 exp = dest->exp + src->exp - 0x3ffe; in fp_fsglmul()
344 if (exp >= 0x7fff) { in fp_fsglmul()
348 dest->exp = exp; in fp_fsglmul()
349 if (exp < 0) { in fp_fsglmul()
351 fp_denormalize(dest, -exp); in fp_fsglmul()
359 int exp; in fp_fsgldiv() local
379 dest->exp = 0; in fp_fsgldiv()
397 dest->exp = 0x7fff; in fp_fsgldiv()
403 exp = dest->exp - src->exp + 0x3fff; in fp_fsgldiv()
418 exp--; in fp_fsgldiv()
421 if (exp >= 0x7fff) { in fp_fsgldiv()
425 dest->exp = exp; in fp_fsgldiv()
426 if (exp < 0) { in fp_fsgldiv()
428 fp_denormalize(dest, -exp); in fp_fsgldiv()
454 switch (dest->exp) { in fp_roundint()
459 dest->mant.m32[0] &= 0xffffffffU << (0x401e - dest->exp); in fp_roundint()
465 dest->mant.m32[1] &= 0xffffffffU << (0x403e - dest->exp); in fp_roundint()
488 switch (dest->exp) { in fp_roundint()
500 mask = 1 << (0x401d - dest->exp); in fp_roundint()
505 if (!(oldmant.m32[0] << (dest->exp - 0x3ffd)) && in fp_roundint()
518 mask = 1 << (0x403d - dest->exp); in fp_roundint()
523 if (!(oldmant.m32[1] << (dest->exp - 0x401d))) in fp_roundint()
538 switch (dest->exp) { in fp_roundint()
540 dest->exp = 0x3fff; in fp_roundint()
544 mask = 1 << (0x401e - dest->exp); in fp_roundint()
548 dest->exp++; in fp_roundint()
551 mask = 1 << (0x403e - dest->exp); in fp_roundint()
557 dest->exp++; in fp_roundint()
660 if (src->exp >= 0x400c) { in fp_fscale()
672 scale += dest->exp; in fp_fscale()
680 dest->exp = scale; in fp_fscale()