/Linux-v4.19/arch/m68k/math-emu/ |
D | multi_arith.h | 28 reg->lowmant = reg->mant.m32[1] << (8 - cnt); in fp_denormalize() 29 reg->mant.m32[1] = (reg->mant.m32[1] >> cnt) | in fp_denormalize() 30 (reg->mant.m32[0] << (32 - cnt)); in fp_denormalize() 31 reg->mant.m32[0] = reg->mant.m32[0] >> cnt; in fp_denormalize() 34 reg->lowmant = reg->mant.m32[1] >> (cnt - 8); in fp_denormalize() 35 if (reg->mant.m32[1] << (40 - cnt)) in fp_denormalize() 37 reg->mant.m32[1] = (reg->mant.m32[1] >> cnt) | in fp_denormalize() 38 (reg->mant.m32[0] << (32 - cnt)); in fp_denormalize() 39 reg->mant.m32[0] = reg->mant.m32[0] >> cnt; in fp_denormalize() 43 : "m" (reg->mant.m32[0]), "d" (64 - cnt)); in fp_denormalize() [all …]
|
D | fp_arith.c | 23 .mant = { .m64 = ~0 } 107 if (dest->mant.m64 < src->mant.m64) { in fp_fadd() 184 dest->mant.m64 = 0; in fp_fmul() 195 if ((long)dest->mant.m32[0] >= 0) in fp_fmul() 197 if ((long)src->mant.m32[0] >= 0) in fp_fmul() 254 dest->mant.m64 = 0; in fp_fdiv() 272 dest->mant.m64 = 0; in fp_fdiv() 282 if ((long)dest->mant.m32[0] >= 0) in fp_fdiv() 284 if ((long)src->mant.m32[0] >= 0) in fp_fdiv() 342 dest->mant.m64 = 0; in fp_fsglmul() [all …]
|
D | fp_emu.h | 49 #define IS_ZERO(a) ((a)->mant.m64 == 0) 105 dest->mant.m64 = 0; \
|
D | fp_util.S | 141 move.l %d0,(%a0)+ | high lword of fp_ext.mant
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | vecemu.c | 41 unsigned int mant, frac; in eexp2() local 72 mant = exp2s[(pwr >> 20) & 7]; in eexp2() 77 asm("mulhwu %0,%1,%2" : "=r" (frac) : "r" (frac), "r" (mant)); in eexp2() 78 mant += frac; in eexp2() 81 return mant + (exp << 23); in eexp2() 85 mant += 1 << (exp - 1); in eexp2() 86 return mant >> exp; in eexp2() 95 int exp, mant, lz, frac; in elog2() local 98 mant = s & 0x7fffff; in elog2() 100 if (mant != 0) in elog2() [all …]
|
/Linux-v4.19/arch/m68k/fpsp040/ |
D | sgetem.S | 94 movel LOCAL_HI(%a0),%d0 |load ms mant in d0 95 movel LOCAL_LO(%a0),%d1 |load ls mant in d1 97 movel %d0,LOCAL_HI(%a0) |put ms mant back on stack 98 movel %d1,LOCAL_LO(%a0) |put ls mant back on stack 111 tstl %d0 |if any bits set in ms mant 113 | ;else no bits set in ms mant 114 tstl %d1 |test if any bits set in ls mant 119 exg %d0,%d1 |shift ls mant to ms mant 120 bfffo %d0{#0:#32},%d3 |find first 1 in ls mant to d0 121 lsll %d3,%d0 |shift first 1 to integer bit in ms mant [all …]
|
D | round.S | 216 roxrw LOCAL_HI(%a0) |mant is 0 so restore v-bit 217 roxrw LOCAL_HI+2(%a0) |mant is 0 so restore v-bit 235 roxrw LOCAL_HI(%a0) |mant is 0 so restore v-bit 236 roxrw LOCAL_HI+2(%a0) |mant is 0 so restore v-bit 325 movel %d2,%d6 |save ls mant in d6 326 lsll %d0,%d2 |shift ls mant by count 327 lsll %d0,%d1 |shift ms mant by count 332 orl %d6,%d1 |shift the ls mant bits into the ms mant 341 bfffo %d2{#0:#32},%d3 |check if any bits set in ls mant 365 movel LOCAL_HI(%a0),%d0 |d0 has ms mant [all …]
|
D | x_store.S | 118 | extended -> |s| exp | |1| ms mant | | ls mant | 126 | double -> |s|exp| mant | | mant |
|
D | x_operr.S | 163 bsr check_upper |check if exp and ms mant are special 190 bsr check_upper |check if exp and ms mant are special
|
D | decbin.S | 127 | 4. Subtract 16 to compensate for interpreting the mant as all integer digits. 485 fdivx %fp1,%fp0 |exp is negative, so divide mant by exp
|
/Linux-v4.19/arch/mips/math-emu/ |
D | ieee754dp.h | 41 #define DPMANT(dp) (dp.mant) 79 r.mant = m; in builddp()
|
D | ieee754sp.h | 41 #define SPMANT(sp) (sp.mant) 83 r.mant = m; in buildsp()
|
D | ieee754.c | 46 .mant = (m) \
|
D | ieee754.h | 38 __BITFIELD_FIELD(u64 mant:52, 48 __BITFIELD_FIELD(unsigned mant:23,
|
/Linux-v4.19/drivers/media/platform/ |
D | sh_veu.c | 660 u32 *mant, u32 *frac, u32 *rep) in sh_veu_calc_scale() argument 665 *rep = *mant = *frac = 0; in sh_veu_calc_scale() 669 *mant = 1; /* needed for cropping */ in sh_veu_calc_scale() 676 *mant = fixpoint / 4096; in sh_veu_calc_scale() 677 *frac = (fixpoint - (*mant * 4096)) & ~0x07; in sh_veu_calc_scale() 695 *mant = fixpoint / 4096; in sh_veu_calc_scale() 696 *frac = fixpoint - (*mant * 4096); in sh_veu_calc_scale() 714 u32 mant, frac, value, rep; in sh_veu_scale_v() local 716 sh_veu_calc_scale(veu, size_in, size_out, crop_out, &mant, &frac, &rep); in sh_veu_scale_v() 720 (((mant << 12) | frac) << 16); in sh_veu_scale_v() [all …]
|
/Linux-v4.19/arch/m68k/include/asm/ |
D | math-emu.h | 90 union fp_mant64 mant; member
|
/Linux-v4.19/drivers/media/dvb-frontends/ |
D | dib7000p.c | 2147 u32 tmp_val = 0, exp = 0, mant = 0; in dib7000p_get_adc_power() local 2161 mant = (pow_i * 1000 / (1 << exp)); in dib7000p_get_adc_power() 2162 dprintk(" mant = %d exp = %d\n", mant / 1000, exp); in dib7000p_get_adc_power() 2164 ix = (u8) ((mant - 1000) / 100); /* index of the LUT */ in dib7000p_get_adc_power()
|
D | dib8000.c | 1927 u32 ix = 0, tmp_val = 0, exp = 0, mant = 0; in dib8000_get_adc_power() local 1935 mant = (val * 1000 / (1<<exp)); in dib8000_get_adc_power() 1936 ix = (u8)((mant-1000)/100); /* index of the LUT */ in dib8000_get_adc_power()
|