Home
last modified time | relevance | path

Searched refs:significand (Results 1 – 19 of 19) sorted by relevance

/Linux-v4.19/arch/arm/vfp/
Dvfpdouble.c45 .significand = VFP_DOUBLE_SIGNIFICAND_QNAN,
51 str, d->sign != 0, d->exponent, d->significand); in vfp_double_dump()
56 int bits = 31 - fls(vd->significand >> 32); in vfp_double_normalise_denormal()
58 bits = 63 - fls(vd->significand); in vfp_double_normalise_denormal()
64 vd->significand <<= bits; in vfp_double_normalise_denormal()
72 u64 significand, incr; in vfp_double_normaliseround() local
81 if (vd->exponent == 2047 && (vd->significand == 0 || exceptions)) in vfp_double_normaliseround()
87 if (vd->significand == 0) { in vfp_double_normaliseround()
93 significand = vd->significand; in vfp_double_normaliseround()
95 shift = 32 - fls(significand >> 32); in vfp_double_normaliseround()
[all …]
Dvfpsingle.c45 .significand = VFP_SINGLE_SIGNIFICAND_QNAN,
51 str, s->sign != 0, s->exponent, s->significand); in vfp_single_dump()
56 int bits = 31 - fls(vs->significand); in vfp_single_normalise_denormal()
62 vs->significand <<= bits; in vfp_single_normalise_denormal()
75 u32 significand, incr, rmode; in __vfp_single_normaliseround() local
83 if (vs->exponent == 255 && (vs->significand == 0 || exceptions)) in __vfp_single_normaliseround()
89 if (vs->significand == 0) { in __vfp_single_normaliseround()
95 significand = vs->significand; in __vfp_single_normaliseround()
102 shift = 32 - fls(significand); in __vfp_single_normaliseround()
105 significand <<= shift; in __vfp_single_normaliseround()
[all …]
Dvfp.h155 u32 significand; member
193 u32 significand; in vfp_single_unpack() local
198 significand = (u32) val; in vfp_single_unpack()
199 significand = (significand << (32 - VFP_SINGLE_MANTISSA_BITS)) >> 2; in vfp_single_unpack()
201 significand |= 0x40000000; in vfp_single_unpack()
202 s->significand = significand; in vfp_single_unpack()
214 (s->significand >> VFP_SINGLE_LOW_BITS); in vfp_single_pack()
232 if (s->significand == 0) in vfp_single_type()
234 else if (s->significand & VFP_SINGLE_SIGNIFICAND_QNAN) in vfp_single_type()
239 if (s->significand == 0) in vfp_single_type()
[all …]
/Linux-v4.19/arch/x86/math-emu/
Dpoly_sin.c79 mul64_Xsig(&argSqrd, &significand(st0_ptr)); in poly_sine()
97 mul64_Xsig(&accumulator, &significand(st0_ptr)); in poly_sine()
98 mul64_Xsig(&accumulator, &significand(st0_ptr)); in poly_sine()
99 mul64_Xsig(&accumulator, &significand(st0_ptr)); in poly_sine()
108 XSIG_LL(accumulator) += significand(st0_ptr); in poly_sine()
117 fixed_arg = significand(st0_ptr); in poly_sine()
185 significand(&result) = XSIG_LL(accumulator); in poly_sine()
191 && (significand(&result) > 0x8000000000000000LL)) { in poly_sine()
211 && (significand(st0_ptr) > 0xc90fdaa22168c234LL))) { in poly_cos()
229 mul64_Xsig(&argSqrd, &significand(st0_ptr)); in poly_cos()
[all …]
Dpoly_l2.c40 significand(&x) = -significand(st0_ptr); in poly_l2()
80 XSIG_LL(yaccum) = significand(st1_ptr); in poly_l2()
90 significand(st1_ptr) = XSIG_LL(accumulator); in poly_l2()
117 XSIG_LL(yaccum) = significand(st1_ptr); in poly_l2p1()
126 significand(dest) = XSIG_LL(accumulator); in poly_l2p1()
191 XSIG_LL(Numer) = XSIG_LL(Denom) = significand(arg); in log2_kernel()
Dfpu_trig.c56 q = significand(&tmp); in trig_arg()
58 rem_kernel(significand(st0_ptr), in trig_arg()
59 &significand(&tmp), in trig_arg()
60 significand(&CONST_PI2), in trig_arg()
82 significand(&tmp) = q + 1; in trig_arg()
115 significand(&tmp) = q; in trig_arg()
623 && (significand(st0_ptr) <= in f_cos()
823 q = significand(&tmp); in do_fprem()
825 rem_kernel(significand(&st0), in do_fprem()
826 &significand(&tmp), in do_fprem()
[all …]
Dpoly_atan.c84 XSIG_LL(Numer) = significand(st0_ptr); in poly_atan()
85 XSIG_LL(Denom) = significand(st1_ptr); in poly_atan()
90 XSIG_LL(Numer) = significand(st1_ptr); in poly_atan()
91 XSIG_LL(Denom) = significand(st0_ptr); in poly_atan()
200 significand(st1_ptr) = XSIG_LL(accumulator); in poly_atan()
Dpoly_tan.c74 XSIG_LL(accum) = significand(st0_ptr); in poly_tan()
86 significand(st0_ptr) = 0x8a51e04daabda360LL; in poly_tan()
98 XSIG_LL(accum) = XSIG_LL(argSignif) = significand(st0_ptr); in poly_tan()
210 significand(st0_ptr) = XSIG_LL(accum); in poly_tan()
Dpoly_2xm1.c71 XSIG_LL(argSignif) = Xll = significand(arg); in poly_2xm1()
136 significand(result) = XSIG_LL(accumulator); in poly_2xm1()
Derrors.c446 if (significand(b) > significand(a)) in real_2op_NaN()
448 else if (significand(b) == significand(a)) { in real_2op_NaN()
Dreg_ld_str.c234 significand(st0_ptr) = s; in FPU_load_int64()
329 significand(st0_ptr) = l; in FPU_load_bcd()
917 ll = significand(&t); in FPU_store_bcd()
977 significand(r) = 0; in FPU_round_to_int()
997 significand(r)++; in FPU_round_to_int()
1005 significand(r)++; in FPU_round_to_int()
1013 significand(r)++; in FPU_round_to_int()
Dfpu_emu.h186 #define significand(x) ( ((unsigned long long *)&((x)->sigl))[0] ) macro
/Linux-v4.19/drivers/media/dvb-core/
Ddvb_math.c67 unsigned int significand; in intlog2() local
92 significand = value << (31 - msb); in intlog2()
93 logentry = (significand >> 23) & 0xff; in intlog2()
110 interpolation = ((significand & 0x7fffff) * in intlog2()
/Linux-v4.19/arch/x86/kernel/fpu/
Dregset.c208 if (!st->significand[0] && in twd_fxsr_to_i387()
209 !st->significand[1] && in twd_fxsr_to_i387()
210 !st->significand[2] && in twd_fxsr_to_i387()
211 !st->significand[3]) in twd_fxsr_to_i387()
217 if (st->significand[3] & 0x8000) in twd_fxsr_to_i387()
/Linux-v4.19/drivers/iio/light/
Dsi1145.c362 u32 significand = 0; in si1145_compress() local
378 significand = x << (4 - exponent); in si1145_compress()
379 return (exponent << 4) | (significand & 0xF); in si1145_compress()
382 significand = x >> (exponent - 5); in si1145_compress()
383 if (significand & 1) { in si1145_compress()
384 significand += 2; in si1145_compress()
385 if (significand & 0x0040) { in si1145_compress()
387 significand >>= 1; in si1145_compress()
391 return (exponent << 4) | ((significand >> 1) & 0xF); in si1145_compress()
/Linux-v4.19/arch/x86/um/
Dsignal.c56 if ( !st->significand[0] && in twd_fxsr_to_i387()
57 !st->significand[1] && in twd_fxsr_to_i387()
58 !st->significand[2] && in twd_fxsr_to_i387()
59 !st->significand[3] ) { in twd_fxsr_to_i387()
66 if (st->significand[3] & 0x8000) { in twd_fxsr_to_i387()
/Linux-v4.19/arch/x86/include/uapi/asm/
Dsigcontext.h86 __u16 significand[4]; member
92 __u16 significand[4]; member
/Linux-v4.19/sound/soc/codecs/
Dnau8825.c359 u32 msb, logentry, significand, interpolation, log10val; in nau8825_intlog10_dec3() local
378 significand = value << (31 - msb); in nau8825_intlog10_dec3()
379 logentry = (significand >> 23) & 0xff; in nau8825_intlog10_dec3()
395 interpolation = ((significand & 0x7fffff) * in nau8825_intlog10_dec3()
/Linux-v4.19/arch/arm/nwfpe/
Dsoftfloat-macros594 Returns an approximation to the square root of the 32-bit significand given