/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/source/ |
A D | s_normRoundPackToExtF80.c | 48 uint_fast64_t sigExtra, in softfloat_normRoundPackToExtF80() argument 57 sig = sigExtra; in softfloat_normRoundPackToExtF80() 58 sigExtra = 0; in softfloat_normRoundPackToExtF80() 63 sig128 = softfloat_shortShiftLeft128( sig, sigExtra, shiftCount ); in softfloat_normRoundPackToExtF80() 65 sigExtra = sig128.v0; in softfloat_normRoundPackToExtF80() 69 sign, exp, sig, sigExtra, roundingPrecision ); in softfloat_normRoundPackToExtF80()
|
A D | s_roundPackToF128.c | 50 uint_fast64_t sigExtra in softfloat_roundPackToF128() argument 62 doIncrement = (UINT64_C( 0x8000000000000000 ) <= sigExtra); in softfloat_roundPackToF128() 67 && sigExtra; in softfloat_roundPackToF128() 83 softfloat_shiftRightJam128Extra( sig64, sig0, sigExtra, -exp ); in softfloat_roundPackToF128() 86 sigExtra = sig128Extra.extra; in softfloat_roundPackToF128() 88 if ( isTiny && sigExtra ) { in softfloat_roundPackToF128() 91 doIncrement = (UINT64_C( 0x8000000000000000 ) <= sigExtra); in softfloat_roundPackToF128() 99 && sigExtra; in softfloat_roundPackToF128() 131 if ( sigExtra ) softfloat_exceptionFlags |= softfloat_flag_inexact; in softfloat_roundPackToF128() 138 (! (sigExtra & UINT64_C( 0x7FFFFFFFFFFFFFFF )) in softfloat_roundPackToF128()
|
A D | s_roundPackMToUI64.c | 49 uint32_t sigExtra; in softfloat_roundPackMToUI64() local 54 sigExtra = extSigPtr[indexWordLo( 3 )]; in softfloat_roundPackMToUI64() 55 doIncrement = (0x80000000 <= sigExtra); in softfloat_roundPackMToUI64() 60 && sigExtra; in softfloat_roundPackMToUI64() 68 if ( ! (sigExtra & 0x7FFFFFFF) && roundNearEven ) sig &= ~1; in softfloat_roundPackMToUI64() 71 if ( exact && sigExtra ) { in softfloat_roundPackMToUI64()
|
A D | s_roundPackToExtF80.c | 49 uint_fast64_t sigExtra, in softfloat_roundPackToExtF80() argument 72 sig |= (sigExtra != 0); in softfloat_roundPackToExtF80() 126 doIncrement = (UINT64_C( 0x8000000000000000 ) <= sigExtra); in softfloat_roundPackToExtF80() 131 && sigExtra; in softfloat_roundPackToExtF80() 144 sigExtra = sig64Extra.extra; in softfloat_roundPackToExtF80() 145 if ( isTiny && sigExtra ) { in softfloat_roundPackToExtF80() 149 doIncrement = (UINT64_C( 0x8000000000000000 ) <= sigExtra); in softfloat_roundPackToExtF80() 157 && sigExtra; in softfloat_roundPackToExtF80() 164 (! (sigExtra & UINT64_C( 0x7FFFFFFFFFFFFFFF )) in softfloat_roundPackToExtF80() 194 if ( sigExtra ) softfloat_exceptionFlags |= softfloat_flag_inexact; in softfloat_roundPackToExtF80() [all …]
|
A D | s_roundPackMToI64.c | 49 uint32_t sigExtra; in softfloat_roundPackMToI64() local 56 sigExtra = extSigPtr[indexWordLo( 3 )]; in softfloat_roundPackMToI64() 57 doIncrement = (0x80000000 <= sigExtra); in softfloat_roundPackMToI64() 62 && sigExtra; in softfloat_roundPackMToI64() 70 if ( ! (sigExtra & 0x7FFFFFFF) && roundNearEven ) sig &= ~1; in softfloat_roundPackMToI64() 75 if ( exact && sigExtra ) { in softfloat_roundPackMToI64()
|
A D | s_roundPackMToF128M.c | 50 uint32_t sigExtra; in softfloat_roundPackMToF128M() local 58 sigExtra = extSigPtr[indexWordLo( 5 )]; in softfloat_roundPackMToF128M() 59 doIncrement = (0x80000000 <= sigExtra); in softfloat_roundPackMToF128M() 64 && sigExtra; in softfloat_roundPackMToF128M() 78 sigExtra = extSigPtr[indexWordLo( 5 )]; in softfloat_roundPackMToF128M() 79 if ( isTiny && sigExtra ) { in softfloat_roundPackMToF128M() 82 doIncrement = (0x80000000 <= sigExtra); in softfloat_roundPackMToF128M() 90 && sigExtra; in softfloat_roundPackMToF128M() 120 if ( sigExtra ) softfloat_exceptionFlags |= softfloat_flag_inexact; in softfloat_roundPackMToF128M() 125 if ( ! (sigExtra & 0x7FFFFFFF) && roundNearEven ) uj &= ~1; in softfloat_roundPackMToF128M()
|
A D | s_roundPackToUI64.c | 48 uint_fast64_t sigExtra, in softfloat_roundPackToUI64() argument 56 doIncrement = (UINT64_C( 0x8000000000000000 ) <= sigExtra); in softfloat_roundPackToUI64() 61 && sigExtra; in softfloat_roundPackToUI64() 68 (! (sigExtra & UINT64_C( 0x7FFFFFFFFFFFFFFF )) in softfloat_roundPackToUI64() 72 if ( exact && sigExtra ) { in softfloat_roundPackToUI64()
|
A D | s_roundPackMToExtF80M.c | 57 uint32_t sigExtra; in softfloat_roundPackMToExtF80M() local 136 sigExtra = extSigPtr[indexWordLo( 3 )]; in softfloat_roundPackMToExtF80M() 137 doIncrement = (0x80000000 <= sigExtra); in softfloat_roundPackMToExtF80M() 142 && sigExtra; in softfloat_roundPackMToExtF80M() 157 sigExtra = extSigPtr[indexWordLo( 3 )]; in softfloat_roundPackMToExtF80M() 158 if ( sigExtra ) { in softfloat_roundPackMToExtF80M() 162 doIncrement = (0x80000000 <= sigExtra); in softfloat_roundPackMToExtF80M() 170 && sigExtra; in softfloat_roundPackMToExtF80M() 178 sig &= ~(uint64_t) (! (sigExtra & 0x7FFFFFFF) & roundNearEven); in softfloat_roundPackMToExtF80M() 211 if ( sigExtra ) softfloat_exceptionFlags |= softfloat_flag_inexact; in softfloat_roundPackMToExtF80M() [all …]
|
A D | s_roundPackToI64.c | 48 uint_fast64_t sigExtra, in softfloat_roundPackToI64() argument 58 doIncrement = (UINT64_C( 0x8000000000000000 ) <= sigExtra); in softfloat_roundPackToI64() 63 && sigExtra; in softfloat_roundPackToI64() 70 (! (sigExtra & UINT64_C( 0x7FFFFFFFFFFFFFFF )) in softfloat_roundPackToI64() 76 if ( exact && sigExtra ) { in softfloat_roundPackToI64()
|
A D | f64_to_ui64.c | 53 struct uint64_extra sigExtra; in f64_to_ui64() local 71 sigExtra.v = sig<<-shiftCount; in f64_to_ui64() 72 sigExtra.extra = 0; in f64_to_ui64() 74 sigExtra = softfloat_shiftRightJam64Extra( sig, 0, shiftCount ); in f64_to_ui64() 78 sign, sigExtra.v, sigExtra.extra, roundingMode, exact ); in f64_to_ui64()
|
A D | f64_to_i64.c | 53 struct uint64_extra sigExtra; in f64_to_i64() local 76 sigExtra.v = sig<<-shiftCount; in f64_to_i64() 77 sigExtra.extra = 0; in f64_to_i64() 79 sigExtra = softfloat_shiftRightJam64Extra( sig, 0, shiftCount ); in f64_to_i64() 83 sign, sigExtra.v, sigExtra.extra, roundingMode, exact ); in f64_to_i64()
|
A D | s_subMagsExtF80.c | 62 uint_fast64_t sigExtra; in softfloat_subMagsExtF80() local 90 sigExtra = 0; in softfloat_subMagsExtF80() 108 sigExtra = 0; in softfloat_subMagsExtF80() 113 sigExtra = sig128.v0; in softfloat_subMagsExtF80() 118 sig128 = softfloat_sub128( sigB, 0, sigA, sigExtra ); in softfloat_subMagsExtF80() 131 sigExtra = 0; in softfloat_subMagsExtF80() 136 sigExtra = sig128.v0; in softfloat_subMagsExtF80() 140 sig128 = softfloat_sub128( sigA, 0, sigB, sigExtra ); in softfloat_subMagsExtF80()
|
A D | extF80_to_ui64.c | 51 uint_fast64_t sig, sigExtra; in extF80_to_ui64() local 64 sigExtra = 0; in extF80_to_ui64() 68 sigExtra = sig64Extra.extra; in extF80_to_ui64() 71 softfloat_roundPackToUI64( sign, sig, sigExtra, roundingMode, exact ); in extF80_to_ui64()
|
A D | extF80_to_i64.c | 53 uint_fast64_t sigExtra; in extF80_to_i64() local 71 sigExtra = 0; in extF80_to_i64() 75 sigExtra = sig64Extra.extra; in extF80_to_i64() 78 softfloat_roundPackToI64( sign, sig, sigExtra, roundingMode, exact ); in extF80_to_i64()
|
A D | s_normRoundPackToF128.c | 50 uint_fast64_t sigExtra; in softfloat_normRoundPackToF128() local 71 sigExtra = 0; in softfloat_normRoundPackToF128() 78 sigExtra = sig128Extra.extra; in softfloat_normRoundPackToF128() 80 return softfloat_roundPackToF128( sign, exp, sig64, sig0, sigExtra ); in softfloat_normRoundPackToF128()
|
A D | f128_to_i64.c | 53 struct uint64_extra sigExtra; in f128_to_i64() local 79 sigExtra = softfloat_shiftRightJam64Extra( sig64, sig0, shiftCount ); in f128_to_i64() 80 sig64 = sigExtra.v; in f128_to_i64() 81 sig0 = sigExtra.extra; in f128_to_i64()
|
A D | f128_to_ui64.c | 53 struct uint64_extra sigExtra; in f128_to_ui64() local 77 sigExtra = softfloat_shiftRightJam64Extra( sig64, sig0, shiftCount ); in f128_to_ui64() 78 sig64 = sigExtra.v; in f128_to_ui64() 79 sig0 = sigExtra.extra; in f128_to_ui64()
|
A D | f128M_roundToInt.c | 74 uint32_t sigExtra; in f128M_roundToInt() local 98 sigExtra = aWPtr[indexWord( 4, 2 )]; in f128M_roundToInt() 99 if ( ! sigExtra ) { in f128M_roundToInt() 100 sigExtra = aWPtr[indexWord( 4, 1 )] | aWPtr[indexWord( 4, 0 )]; in f128M_roundToInt() 102 if ( ! sigExtra && ! (ui96 & 0x7FFFFFFF) ) goto ui96; in f128M_roundToInt() 107 if ( ! fracF128UI96( ui96 ) && ! sigExtra ) break; in f128M_roundToInt()
|