Home
last modified time | relevance | path

Searched refs:sig0 (Results 1 – 11 of 11) sorted by relevance

/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/source/
A Ds_normRoundPackToF128.c45 bool sign, int_fast32_t exp, uint_fast64_t sig64, uint_fast64_t sig0 ) in softfloat_normRoundPackToF128() argument
55 sig64 = sig0; in softfloat_normRoundPackToF128()
56 sig0 = 0; in softfloat_normRoundPackToF128()
62 sig128 = softfloat_shortShiftLeft128( sig64, sig0, shiftCount ); in softfloat_normRoundPackToF128()
64 sig0 = sig128.v0; in softfloat_normRoundPackToF128()
67 uZ.ui.v64 = packToF128UI64( sign, sig64 | sig0 ? exp : 0, sig64 ); in softfloat_normRoundPackToF128()
68 uZ.ui.v0 = sig0; in softfloat_normRoundPackToF128()
75 sig64, sig0, 0, -shiftCount ); in softfloat_normRoundPackToF128()
77 sig0 = sig128Extra.v.v0; in softfloat_normRoundPackToF128()
80 return softfloat_roundPackToF128( sign, exp, sig64, sig0, sigExtra ); in softfloat_normRoundPackToF128()
A Df128_to_i64_r_minMag.c50 uint_fast64_t sig64, sig0; in f128_to_i64_r_minMag() local
61 sig0 = uiA0; in f128_to_i64_r_minMag()
67 && (sig0 < UINT64_C( 0x0002000000000000 )) in f128_to_i64_r_minMag()
69 if ( exact && sig0 ) { in f128_to_i64_r_minMag()
74 if ( ! sign || ((exp == 0x7FFF) && (sig64 | sig0)) ) { in f128_to_i64_r_minMag()
82 absZ = sig64<<negShiftCount | sig0>>(shiftCount & 63); in f128_to_i64_r_minMag()
83 if ( exact && (uint64_t) (sig0<<negShiftCount) ) { in f128_to_i64_r_minMag()
88 if ( exact && (exp | sig64 | sig0) ) { in f128_to_i64_r_minMag()
95 if ( exact && (sig0 || (absZ<<shiftCount != sig64)) ) { in f128_to_i64_r_minMag()
A Df128_to_i64.c50 uint_fast64_t sig64, sig0; in f128_to_i64() local
61 sig0 = uiA0; in f128_to_i64()
67 ! sign || ((exp == 0x7FFF) && (sig64 | sig0)) in f128_to_i64()
73 sig128 = softfloat_shortShiftLeft128( sig64, sig0, -shiftCount ); in f128_to_i64()
75 sig0 = sig128.v0; in f128_to_i64()
79 sigExtra = softfloat_shiftRightJam64Extra( sig64, sig0, shiftCount ); in f128_to_i64()
81 sig0 = sigExtra.extra; in f128_to_i64()
83 return softfloat_roundPackToI64( sign, sig64, sig0, roundingMode, exact ); in f128_to_i64()
A Df128_to_ui64.c51 uint_fast64_t sig64, sig0; in f128_to_ui64() local
67 sig0 = uiA0; in f128_to_ui64()
69 sig128 = softfloat_shortShiftLeft128( sig64, sig0, -shiftCount ); in f128_to_ui64()
71 sig0 = sig128.v0; in f128_to_ui64()
75 sig0 = uiA0; in f128_to_ui64()
77 sigExtra = softfloat_shiftRightJam64Extra( sig64, sig0, shiftCount ); in f128_to_ui64()
79 sig0 = sigExtra.extra; in f128_to_ui64()
81 return softfloat_roundPackToUI64( sign, sig64, sig0, roundingMode, exact ); in f128_to_ui64()
A Ds_normSubnormalF128Sig.c43 softfloat_normSubnormalF128Sig( uint_fast64_t sig64, uint_fast64_t sig0 ) in softfloat_normSubnormalF128Sig() argument
49 shiftCount = softfloat_countLeadingZeros64( sig0 ) - 15; in softfloat_normSubnormalF128Sig()
52 z.sig.v64 = sig0>>-shiftCount; in softfloat_normSubnormalF128Sig()
53 z.sig.v0 = sig0<<(shiftCount & 63); in softfloat_normSubnormalF128Sig()
55 z.sig.v64 = sig0<<shiftCount; in softfloat_normSubnormalF128Sig()
61 z.sig = softfloat_shortShiftLeft128( sig64, sig0, shiftCount ); in softfloat_normSubnormalF128Sig()
A Df128_to_ui64_r_minMag.c49 uint_fast64_t sig64, sig0; in f128_to_ui64_r_minMag() local
61 sig0 = uiA0; in f128_to_ui64_r_minMag()
63 z = sig64<<negShiftCount | sig0>>(shiftCount & 63); in f128_to_ui64_r_minMag()
64 if ( exact && (uint64_t) (sig0<<negShiftCount) ) { in f128_to_ui64_r_minMag()
69 sig0 = uiA0; in f128_to_ui64_r_minMag()
71 if ( exact && (exp | sig64 | sig0) ) { in f128_to_ui64_r_minMag()
79 if ( exact && (sig0 || (z<<shiftCount != sig64)) ) { in f128_to_ui64_r_minMag()
A Ds_roundPackToF128.c49 uint_fast64_t sig0, in softfloat_roundPackToF128() argument
78 sig0, in softfloat_roundPackToF128()
83 softfloat_shiftRightJam128Extra( sig64, sig0, sigExtra, -exp ); in softfloat_roundPackToF128()
85 sig0 = sig128Extra.v.v0; in softfloat_roundPackToF128()
106 sig0, in softfloat_roundPackToF128()
133 sig128 = softfloat_add128( sig64, sig0, 0, 1 ); in softfloat_roundPackToF128()
135 sig0 = in softfloat_roundPackToF128()
141 if ( ! (sig64 | sig0) ) exp = 0; in softfloat_roundPackToF128()
144 uiZ0 = sig0; in softfloat_roundPackToF128()
A Df128_to_extF80.c51 uint_fast64_t sig64, sig0; in f128_to_extF80() local
66 sig0 = uiA0; in f128_to_extF80()
68 if ( sig64 | sig0 ) { in f128_to_extF80()
80 if ( ! (sig64 | sig0) ) { in f128_to_extF80()
85 normExpSig = softfloat_normSubnormalF128Sig( sig64, sig0 ); in f128_to_extF80()
88 sig0 = normExpSig.sig.v0; in f128_to_extF80()
92 sig128 = softfloat_shortShiftLeft128( sig64, sig0, 15 ); in f128_to_extF80()
A Df128_to_i32.c50 uint_fast64_t sig64, sig0; in f128_to_i32() local
59 sig0 = uiA0; in f128_to_i32()
60 if ( (exp == 0x7FFF) && (sig64 | sig0) ) sign = 0; in f128_to_i32()
62 sig64 |= (sig0 != 0); in f128_to_i32()
A Df128_to_f64.c51 uint_fast64_t sig64, sig0; in f128_to_f64() local
63 sig0 = uiA0; in f128_to_f64()
65 if ( sig64 | sig0 ) { in f128_to_f64()
73 sig128 = softfloat_shortShiftLeft128( sig64, sig0, 14 ); in f128_to_f64()
A Df128_to_ui32.c51 uint_fast64_t sig64, sig0; in f128_to_ui32() local
60 sig0 = uiA0; in f128_to_ui32()
62 sig64 |= (sig0 != 0); in f128_to_ui32()

Completed in 10 milliseconds