Home
last modified time | relevance | path

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

/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.h152 u32 significand; member
190 u32 significand; in vfp_single_unpack() local
195 significand = (u32) val; in vfp_single_unpack()
196 significand = (significand << (32 - VFP_SINGLE_MANTISSA_BITS)) >> 2; in vfp_single_unpack()
198 significand |= 0x40000000; in vfp_single_unpack()
199 s->significand = significand; in vfp_single_unpack()
211 (s->significand >> VFP_SINGLE_LOW_BITS); in vfp_single_pack()
229 if (s->significand == 0) in vfp_single_type()
231 else if (s->significand & VFP_SINGLE_SIGNIFICAND_QNAN) in vfp_single_type()
236 if (s->significand == 0) in vfp_single_type()
[all …]
/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()
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()
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_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.c447 if (significand(b) > significand(a)) in real_2op_NaN()
449 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
/arch/x86/kernel/fpu/
Dregset.c197 if (!st->significand[0] && in twd_fxsr_to_i387()
198 !st->significand[1] && in twd_fxsr_to_i387()
199 !st->significand[2] && in twd_fxsr_to_i387()
200 !st->significand[3]) in twd_fxsr_to_i387()
206 if (st->significand[3] & 0x8000) in twd_fxsr_to_i387()
/arch/x86/include/uapi/asm/
Dsigcontext.h86 __u16 significand[4]; member
92 __u16 significand[4]; member
/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()
/arch/arm/nwfpe/
Dsoftfloat-macros594 Returns an approximation to the square root of the 32-bit significand given