mant 90 arch/m68k/include/asm/math-emu.h union fp_mant64 mant; mant 21 arch/m68k/math-emu/fp_arith.c .mant = { .m64 = ~0 } mant 105 arch/m68k/math-emu/fp_arith.c if (dest->mant.m64 < src->mant.m64) { mant 182 arch/m68k/math-emu/fp_arith.c dest->mant.m64 = 0; mant 193 arch/m68k/math-emu/fp_arith.c if ((long)dest->mant.m32[0] >= 0) mant 195 arch/m68k/math-emu/fp_arith.c if ((long)src->mant.m32[0] >= 0) mant 252 arch/m68k/math-emu/fp_arith.c dest->mant.m64 = 0; mant 270 arch/m68k/math-emu/fp_arith.c dest->mant.m64 = 0; mant 280 arch/m68k/math-emu/fp_arith.c if ((long)dest->mant.m32[0] >= 0) mant 282 arch/m68k/math-emu/fp_arith.c if ((long)src->mant.m32[0] >= 0) mant 340 arch/m68k/math-emu/fp_arith.c dest->mant.m64 = 0; mant 349 arch/m68k/math-emu/fp_arith.c fp_mul64(dest->mant.m32[0], dest->mant.m32[1], mant 350 arch/m68k/math-emu/fp_arith.c dest->mant.m32[0] & 0xffffff00, mant 351 arch/m68k/math-emu/fp_arith.c src->mant.m32[0] & 0xffffff00); mant 390 arch/m68k/math-emu/fp_arith.c dest->mant.m64 = 0; mant 408 arch/m68k/math-emu/fp_arith.c dest->mant.m64 = 0; mant 415 arch/m68k/math-emu/fp_arith.c dest->mant.m32[0] &= 0xffffff00; mant 416 arch/m68k/math-emu/fp_arith.c src->mant.m32[0] &= 0xffffff00; mant 419 arch/m68k/math-emu/fp_arith.c if (dest->mant.m32[0] >= src->mant.m32[0]) { mant 420 arch/m68k/math-emu/fp_arith.c fp_sub64(dest->mant, src->mant); mant 421 arch/m68k/math-emu/fp_arith.c fp_div64(quot, rem, dest->mant.m32[0], 0, src->mant.m32[0]); mant 422 arch/m68k/math-emu/fp_arith.c dest->mant.m32[0] = 0x80000000 | (quot >> 1); mant 423 arch/m68k/math-emu/fp_arith.c dest->mant.m32[1] = (quot & 1) | rem; /* only for rounding */ mant 425 arch/m68k/math-emu/fp_arith.c fp_div64(quot, rem, dest->mant.m32[0], 0, src->mant.m32[0]); mant 426 arch/m68k/math-emu/fp_arith.c dest->mant.m32[0] = quot; mant 427 arch/m68k/math-emu/fp_arith.c dest->mant.m32[1] = rem; /* only for rounding */ mant 463 arch/m68k/math-emu/fp_arith.c oldmant = dest->mant; mant 466 arch/m68k/math-emu/fp_arith.c dest->mant.m64 = 0; mant 469 arch/m68k/math-emu/fp_arith.c dest->mant.m32[0] &= 0xffffffffU << (0x401e - dest->exp); mant 470 arch/m68k/math-emu/fp_arith.c dest->mant.m32[1] = 0; mant 471 arch/m68k/math-emu/fp_arith.c if (oldmant.m64 == dest->mant.m64) mant 475 arch/m68k/math-emu/fp_arith.c dest->mant.m32[1] &= 0xffffffffU << (0x403e - dest->exp); mant 476 arch/m68k/math-emu/fp_arith.c if (oldmant.m32[1] == dest->mant.m32[1]) mant 551 arch/m68k/math-emu/fp_arith.c dest->mant.m64 = 1ULL << 63; mant 555 arch/m68k/math-emu/fp_arith.c if (dest->mant.m32[0] += mask) mant 557 arch/m68k/math-emu/fp_arith.c dest->mant.m32[0] = 0x80000000; mant 562 arch/m68k/math-emu/fp_arith.c if (dest->mant.m32[1] += mask) mant 564 arch/m68k/math-emu/fp_arith.c if (dest->mant.m32[0] += 1) mant 566 arch/m68k/math-emu/fp_arith.c dest->mant.m32[0] = 0x80000000; mant 599 arch/m68k/math-emu/fp_arith.c fp_set_quotient((dest->mant.m64 & 0x7f) | (dest->sign << 7)); mant 49 arch/m68k/math-emu/fp_emu.h #define IS_ZERO(a) ((a)->mant.m64 == 0) mant 105 arch/m68k/math-emu/fp_emu.h dest->mant.m64 = 0; \ mant 27 arch/m68k/math-emu/multi_arith.h reg->lowmant = reg->mant.m32[1] << (8 - cnt); mant 28 arch/m68k/math-emu/multi_arith.h reg->mant.m32[1] = (reg->mant.m32[1] >> cnt) | mant 29 arch/m68k/math-emu/multi_arith.h (reg->mant.m32[0] << (32 - cnt)); mant 30 arch/m68k/math-emu/multi_arith.h reg->mant.m32[0] = reg->mant.m32[0] >> cnt; mant 33 arch/m68k/math-emu/multi_arith.h reg->lowmant = reg->mant.m32[1] >> (cnt - 8); mant 34 arch/m68k/math-emu/multi_arith.h if (reg->mant.m32[1] << (40 - cnt)) mant 36 arch/m68k/math-emu/multi_arith.h reg->mant.m32[1] = (reg->mant.m32[1] >> cnt) | mant 37 arch/m68k/math-emu/multi_arith.h (reg->mant.m32[0] << (32 - cnt)); mant 38 arch/m68k/math-emu/multi_arith.h reg->mant.m32[0] = reg->mant.m32[0] >> cnt; mant 42 arch/m68k/math-emu/multi_arith.h : "m" (reg->mant.m32[0]), "d" (64 - cnt)); mant 43 arch/m68k/math-emu/multi_arith.h if (reg->mant.m32[1] << (40 - cnt)) mant 45 arch/m68k/math-emu/multi_arith.h reg->mant.m32[1] = reg->mant.m32[0] >> (cnt - 32); mant 46 arch/m68k/math-emu/multi_arith.h reg->mant.m32[0] = 0; mant 49 arch/m68k/math-emu/multi_arith.h reg->lowmant = reg->mant.m32[0] >> (cnt - 40); mant 50 arch/m68k/math-emu/multi_arith.h if ((reg->mant.m32[0] << (72 - cnt)) || reg->mant.m32[1]) mant 52 arch/m68k/math-emu/multi_arith.h reg->mant.m32[1] = reg->mant.m32[0] >> (cnt - 32); mant 53 arch/m68k/math-emu/multi_arith.h reg->mant.m32[0] = 0; mant 56 arch/m68k/math-emu/multi_arith.h reg->lowmant = reg->mant.m32[0] || reg->mant.m32[1]; mant 57 arch/m68k/math-emu/multi_arith.h reg->mant.m32[0] = 0; mant 58 arch/m68k/math-emu/multi_arith.h reg->mant.m32[1] = 0; mant 67 arch/m68k/math-emu/multi_arith.h if (reg->mant.m32[0]) { mant 68 arch/m68k/math-emu/multi_arith.h asm ("bfffo %1{#0,#32},%0" : "=d" (shift) : "dm" (reg->mant.m32[0])); mant 69 arch/m68k/math-emu/multi_arith.h reg->mant.m32[0] = (reg->mant.m32[0] << shift) | (reg->mant.m32[1] >> (32 - shift)); mant 70 arch/m68k/math-emu/multi_arith.h reg->mant.m32[1] = (reg->mant.m32[1] << shift); mant 72 arch/m68k/math-emu/multi_arith.h asm ("bfffo %1{#0,#32},%0" : "=d" (shift) : "dm" (reg->mant.m32[1])); mant 73 arch/m68k/math-emu/multi_arith.h reg->mant.m32[0] = (reg->mant.m32[1] << shift); mant 74 arch/m68k/math-emu/multi_arith.h reg->mant.m32[1] = 0; mant 88 arch/m68k/math-emu/multi_arith.h asm volatile ("addx.l %1,%0" : "=d" (dest->mant.m32[1]) mant 89 arch/m68k/math-emu/multi_arith.h : "d" (src->mant.m32[1]), "0" (dest->mant.m32[1])); mant 90 arch/m68k/math-emu/multi_arith.h asm volatile ("addx.l %1,%0" : "=d" (dest->mant.m32[0]) mant 91 arch/m68k/math-emu/multi_arith.h : "d" (src->mant.m32[0]), "0" (dest->mant.m32[0])); mant 100 arch/m68k/math-emu/multi_arith.h if (reg->mant.m64) mant 102 arch/m68k/math-emu/multi_arith.h reg->mant.m64 = 0; mant 106 arch/m68k/math-emu/multi_arith.h reg->lowmant = (reg->mant.m32[1] << 7) | (reg->lowmant ? 1 : 0); mant 107 arch/m68k/math-emu/multi_arith.h reg->mant.m32[1] = (reg->mant.m32[1] >> 1) | mant 108 arch/m68k/math-emu/multi_arith.h (reg->mant.m32[0] << 31); mant 109 arch/m68k/math-emu/multi_arith.h reg->mant.m32[0] = (reg->mant.m32[0] >> 1) | 0x80000000; mant 120 arch/m68k/math-emu/multi_arith.h asm volatile ("subx.l %1,%0" : "=d" (dest->mant.m32[1]) mant 121 arch/m68k/math-emu/multi_arith.h : "d" (src2->mant.m32[1]), "0" (src1->mant.m32[1])); mant 122 arch/m68k/math-emu/multi_arith.h asm volatile ("subx.l %1,%0" : "=d" (dest->mant.m32[0]) mant 123 arch/m68k/math-emu/multi_arith.h : "d" (src2->mant.m32[0]), "0" (src1->mant.m32[0])); mant 170 arch/m68k/math-emu/multi_arith.h fp_mul64(dest->m32[0], dest->m32[1], src1->mant.m32[0], src2->mant.m32[0]); mant 171 arch/m68k/math-emu/multi_arith.h fp_mul64(dest->m32[2], dest->m32[3], src1->mant.m32[1], src2->mant.m32[1]); mant 173 arch/m68k/math-emu/multi_arith.h fp_mul64(temp.m32[0], temp.m32[1], src1->mant.m32[0], src2->mant.m32[1]); mant 176 arch/m68k/math-emu/multi_arith.h fp_mul64(temp.m32[0], temp.m32[1], src1->mant.m32[1], src2->mant.m32[0]); mant 191 arch/m68k/math-emu/multi_arith.h if (src->mant.m64 >= div->mant.m64) { mant 192 arch/m68k/math-emu/multi_arith.h fp_sub64(src->mant, div->mant); mant 208 arch/m68k/math-emu/multi_arith.h dummy = div->mant.m32[1] / div->mant.m32[0] + 1; mant 214 arch/m68k/math-emu/multi_arith.h if (src->mant.m32[0] == div->mant.m32[0]) { mant 215 arch/m68k/math-emu/multi_arith.h fp_div64(first, rem, 0, src->mant.m32[1], div->mant.m32[0]); mant 220 arch/m68k/math-emu/multi_arith.h fp_div64(first, rem, src->mant.m32[0], src->mant.m32[1], div->mant.m32[0]); mant 225 arch/m68k/math-emu/multi_arith.h fp_mul64(tmp.m32[0], tmp.m32[1], div->mant.m32[0], first - *mantp); mant 229 arch/m68k/math-emu/multi_arith.h fp_mul64(tmp64.m32[0], tmp64.m32[1], *mantp, div->mant.m32[1]); mant 232 arch/m68k/math-emu/multi_arith.h src->mant.m32[0] = tmp.m32[1]; mant 233 arch/m68k/math-emu/multi_arith.h src->mant.m32[1] = tmp.m32[2]; mant 235 arch/m68k/math-emu/multi_arith.h while (!fp_sub96c(tmp, 0, div->mant.m32[0], div->mant.m32[1])) { mant 236 arch/m68k/math-emu/multi_arith.h src->mant.m32[0] = tmp.m32[1]; mant 237 arch/m68k/math-emu/multi_arith.h src->mant.m32[1] = tmp.m32[2]; mant 250 arch/m68k/math-emu/multi_arith.h dest->mant.m64 = src->m64[0]; mant 259 arch/m68k/math-emu/multi_arith.h : "=d" (dest->mant.m32[1]) : "0" (src->m32[1])); mant 261 arch/m68k/math-emu/multi_arith.h : "=d" (dest->mant.m32[0]) : "0" (src->m32[0])); mant 268 arch/m68k/math-emu/multi_arith.h : "=d" (dest->mant.m32[0]) mant 271 arch/m68k/math-emu/multi_arith.h : "=d" (dest->mant.m32[1]) : "0" (src->m32[2])); mant 279 arch/m68k/math-emu/multi_arith.h dest->mant.m32[0] = src->m32[1]; mant 280 arch/m68k/math-emu/multi_arith.h dest->mant.m32[1] = src->m32[2]; mant 33 arch/mips/math-emu/ieee754.c .mant = (m) \ mant 26 arch/mips/math-emu/ieee754.h __BITFIELD_FIELD(u64 mant:52, mant 36 arch/mips/math-emu/ieee754.h __BITFIELD_FIELD(unsigned mant:23, mant 29 arch/mips/math-emu/ieee754dp.h #define DPMANT(dp) (dp.mant) mant 67 arch/mips/math-emu/ieee754dp.h r.mant = m; mant 29 arch/mips/math-emu/ieee754sp.h #define SPMANT(sp) (sp.mant) mant 71 arch/mips/math-emu/ieee754sp.h r.mant = m; mant 41 arch/powerpc/kernel/vecemu.c unsigned int mant, frac; mant 72 arch/powerpc/kernel/vecemu.c mant = exp2s[(pwr >> 20) & 7]; mant 77 arch/powerpc/kernel/vecemu.c asm("mulhwu %0,%1,%2" : "=r" (frac) : "r" (frac), "r" (mant)); mant 78 arch/powerpc/kernel/vecemu.c mant += frac; mant 81 arch/powerpc/kernel/vecemu.c return mant + (exp << 23); mant 85 arch/powerpc/kernel/vecemu.c mant += 1 << (exp - 1); mant 86 arch/powerpc/kernel/vecemu.c return mant >> exp; mant 95 arch/powerpc/kernel/vecemu.c int exp, mant, lz, frac; mant 98 arch/powerpc/kernel/vecemu.c mant = s & 0x7fffff; mant 100 arch/powerpc/kernel/vecemu.c if (mant != 0) mant 104 arch/powerpc/kernel/vecemu.c if ((exp | mant) == 0) /* +0 or -0 */ mant 109 arch/powerpc/kernel/vecemu.c asm("cntlzw %0,%1" : "=r" (lz) : "r" (mant)); mant 110 arch/powerpc/kernel/vecemu.c mant <<= lz - 8; mant 113 arch/powerpc/kernel/vecemu.c mant |= 0x800000; mant 117 arch/powerpc/kernel/vecemu.c if (mant >= 0xb504f3) { /* 2^0.5 * 2^23 */ mant 119 arch/powerpc/kernel/vecemu.c asm("mulhwu %0,%1,%2" : "=r" (mant) mant 120 arch/powerpc/kernel/vecemu.c : "r" (mant), "r" (0xb504f334)); /* 2^-0.5 * 2^32 */ mant 122 arch/powerpc/kernel/vecemu.c if (mant >= 0x9837f0) { /* 2^0.25 * 2^23 */ mant 124 arch/powerpc/kernel/vecemu.c asm("mulhwu %0,%1,%2" : "=r" (mant) mant 125 arch/powerpc/kernel/vecemu.c : "r" (mant), "r" (0xd744fccb)); /* 2^-0.25 * 2^32 */ mant 127 arch/powerpc/kernel/vecemu.c if (mant >= 0x8b95c2) { /* 2^0.125 * 2^23 */ mant 129 arch/powerpc/kernel/vecemu.c asm("mulhwu %0,%1,%2" : "=r" (mant) mant 130 arch/powerpc/kernel/vecemu.c : "r" (mant), "r" (0xeac0c6e8)); /* 2^-0.125 * 2^32 */ mant 132 arch/powerpc/kernel/vecemu.c if (mant > 0x800000) { /* 1.0 * 2^23 */ mant 136 arch/powerpc/kernel/vecemu.c : "r" ((mant - 0x800000) << 1), "r" (0xb0c7cd3a)); mant 158 arch/powerpc/kernel/vecemu.c int exp, mant; mant 161 arch/powerpc/kernel/vecemu.c mant = x & 0x7fffff; mant 162 arch/powerpc/kernel/vecemu.c if (exp == 255 && mant != 0) mant 173 arch/powerpc/kernel/vecemu.c mant |= 0x800000; mant 174 arch/powerpc/kernel/vecemu.c mant = (mant << 7) >> (30 - exp); mant 175 arch/powerpc/kernel/vecemu.c return (x & 0x80000000)? -mant: mant; mant 181 arch/powerpc/kernel/vecemu.c unsigned int mant; mant 184 arch/powerpc/kernel/vecemu.c mant = x & 0x7fffff; mant 185 arch/powerpc/kernel/vecemu.c if (exp == 255 && mant != 0) mant 200 arch/powerpc/kernel/vecemu.c mant |= 0x800000; mant 201 arch/powerpc/kernel/vecemu.c mant = (mant << 8) >> (31 - exp); mant 202 arch/powerpc/kernel/vecemu.c return mant; mant 2150 drivers/media/dvb-frontends/dib7000p.c u32 tmp_val = 0, exp = 0, mant = 0; mant 2164 drivers/media/dvb-frontends/dib7000p.c mant = (pow_i * 1000 / (1 << exp)); mant 2165 drivers/media/dvb-frontends/dib7000p.c dprintk(" mant = %d exp = %d\n", mant / 1000, exp); mant 2167 drivers/media/dvb-frontends/dib7000p.c ix = (u8) ((mant - 1000) / 100); /* index of the LUT */ mant 1924 drivers/media/dvb-frontends/dib8000.c u32 ix = 0, tmp_val = 0, exp = 0, mant = 0; mant 1932 drivers/media/dvb-frontends/dib8000.c mant = (val * 1000 / (1<<exp)); mant 1933 drivers/media/dvb-frontends/dib8000.c ix = (u8)((mant-1000)/100); /* index of the LUT */ mant 650 drivers/media/platform/sh_veu.c u32 *mant, u32 *frac, u32 *rep) mant 655 drivers/media/platform/sh_veu.c *rep = *mant = *frac = 0; mant 659 drivers/media/platform/sh_veu.c *mant = 1; /* needed for cropping */ mant 666 drivers/media/platform/sh_veu.c *mant = fixpoint / 4096; mant 667 drivers/media/platform/sh_veu.c *frac = (fixpoint - (*mant * 4096)) & ~0x07; mant 685 drivers/media/platform/sh_veu.c *mant = fixpoint / 4096; mant 686 drivers/media/platform/sh_veu.c *frac = fixpoint - (*mant * 4096); mant 704 drivers/media/platform/sh_veu.c u32 mant, frac, value, rep; mant 706 drivers/media/platform/sh_veu.c sh_veu_calc_scale(veu, size_in, size_out, crop_out, &mant, &frac, &rep); mant 710 drivers/media/platform/sh_veu.c (((mant << 12) | frac) << 16); mant 726 drivers/media/platform/sh_veu.c u32 mant, frac, value, rep; mant 728 drivers/media/platform/sh_veu.c sh_veu_calc_scale(veu, size_in, size_out, crop_out, &mant, &frac, &rep); mant 732 drivers/media/platform/sh_veu.c (mant << 12) | frac;