/linux-6.3-rc2/arch/m68k/math-emu/ |
A D | multi_arith.h | 28 reg->mant.m32[1] = (reg->mant.m32[1] >> cnt) | in fp_denormalize() 30 reg->mant.m32[0] = reg->mant.m32[0] >> cnt; in fp_denormalize() 36 reg->mant.m32[1] = (reg->mant.m32[1] >> cnt) | in fp_denormalize() 38 reg->mant.m32[0] = reg->mant.m32[0] >> cnt; in fp_denormalize() 69 reg->mant.m32[0] = (reg->mant.m32[0] << shift) | (reg->mant.m32[1] >> (32 - shift)); in fp_overnormalize() 70 reg->mant.m32[1] = (reg->mant.m32[1] << shift); in fp_overnormalize() 73 reg->mant.m32[0] = (reg->mant.m32[1] << shift); in fp_overnormalize() 107 reg->mant.m32[1] = (reg->mant.m32[1] >> 1) | in fp_addcarry() 191 if (src->mant.m64 >= div->mant.m64) { in fp_dividemant() 192 fp_sub64(src->mant, div->mant); in fp_dividemant() [all …]
|
A D | fp_arith.c | 21 .mant = { .m64 = ~0 } 105 if (dest->mant.m64 < src->mant.m64) { in fp_fadd() 182 dest->mant.m64 = 0; in fp_fmul() 252 dest->mant.m64 = 0; in fp_fdiv() 270 dest->mant.m64 = 0; in fp_fdiv() 340 dest->mant.m64 = 0; in fp_fsglmul() 349 fp_mul64(dest->mant.m32[0], dest->mant.m32[1], in fp_fsglmul() 419 if (dest->mant.m32[0] >= src->mant.m32[0]) { in fp_fsgldiv() 420 fp_sub64(dest->mant, src->mant); in fp_fsgldiv() 421 fp_div64(quot, rem, dest->mant.m32[0], 0, src->mant.m32[0]); in fp_fsgldiv() [all …]
|
A D | fp_emu.h | 49 #define IS_ZERO(a) ((a)->mant.m64 == 0) 105 dest->mant.m64 = 0; \
|
A D | fp_util.S | 141 move.l %d0,(%a0)+ | high lword of fp_ext.mant
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | vecemu.c | 79 mant += frac; in eexp2() 101 if (mant != 0) in elog2() 111 mant <<= lz - 8; in elog2() 114 mant |= 0x800000; in elog2() 159 int exp, mant; in ctsxs() local 174 mant |= 0x800000; in ctsxs() 175 mant = (mant << 7) >> (30 - exp); in ctsxs() 176 return (x & 0x80000000)? -mant: mant; in ctsxs() 201 mant |= 0x800000; in ctuxs() 202 mant = (mant << 8) >> (31 - exp); in ctuxs() [all …]
|
/linux-6.3-rc2/arch/m68k/fpsp040/ |
A 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 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 129 movel %d1,%d6 |save ls mant in d6 130 lsll %d3,%d1 |shift ls mant by count 132 subl %d3,%d5 |sub 32 from shift for ls mant 134 | ;be shifted into ms mant [all …]
|
A D | round.S | 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 369 movel %d1,%d6 |copy ls mant into d6 370 lsll %d7,%d6 |shift ls mant by count 375 | ;be shifted into ms mant 376 orl %d1,%d0 |shift the ls mant bits into the ms mant 382 | We get here if ms mant was = 0, and we assume ls mant has bits 392 movew %d0,LOCAL_EX(%a0) |store ms mant [all …]
|
A D | x_store.S | 118 | extended -> |s| exp | |1| ms mant | | ls mant | 126 | double -> |s|exp| mant | | mant |
|
A 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
|
A 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-6.3-rc2/arch/mips/math-emu/ |
A D | ieee754dp.h | 29 #define DPMANT(dp) (dp.mant) 67 r.mant = m; in builddp()
|
A D | ieee754sp.h | 29 #define SPMANT(sp) (sp.mant) 71 r.mant = m; in buildsp()
|
A D | ieee754.c | 33 .mant = (m) \
|
A D | ieee754.h | 26 __BITFIELD_FIELD(u64 mant:52, 36 __BITFIELD_FIELD(unsigned mant:23,
|
/linux-6.3-rc2/drivers/hwmon/ |
A D | corsair-psu.c | 142 const int mant = (((s16)(val & 0x7ff)) << 5) >> 5; in corsairpsu_linear11_to_int() local 143 const int result = mant * scale; in corsairpsu_linear11_to_int()
|
/linux-6.3-rc2/arch/m68k/include/asm/ |
A D | math-emu.h | 90 union fp_mant64 mant; member
|
/linux-6.3-rc2/drivers/media/dvb-frontends/ |
A D | dib7000p.c | 2150 u32 tmp_val = 0, exp = 0, mant = 0; in dib7000p_get_adc_power() local 2164 mant = (pow_i * 1000 / (1 << exp)); in dib7000p_get_adc_power() 2165 dprintk(" mant = %d exp = %d\n", mant / 1000, exp); in dib7000p_get_adc_power() 2167 ix = (u8) ((mant - 1000) / 100); /* index of the LUT */ in dib7000p_get_adc_power()
|
A D | dib8000.c | 1924 u32 ix = 0, tmp_val = 0, exp = 0, mant = 0; in dib8000_get_adc_power() local 1932 mant = (val * 1000 / (1<<exp)); in dib8000_get_adc_power() 1933 ix = (u8)((mant-1000)/100); /* index of the LUT */ in dib8000_get_adc_power()
|