/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/source/ |
A D | s_roundPackToF128.c | 53 uint_fast8_t roundingMode; in softfloat_roundPackToF128() local 60 roundingMode = softfloat_roundingMode; in softfloat_roundPackToF128() 61 roundNearEven = (roundingMode == softfloat_round_near_even); in softfloat_roundPackToF128() 63 if ( ! roundNearEven && (roundingMode != softfloat_round_near_maxMag) ) { in softfloat_roundPackToF128() 65 (roundingMode in softfloat_roundPackToF128() 94 && (roundingMode != softfloat_round_near_maxMag) in softfloat_roundPackToF128() 97 (roundingMode in softfloat_roundPackToF128() 116 || (roundingMode == softfloat_round_near_maxMag) in softfloat_roundPackToF128() 117 || (roundingMode in softfloat_roundPackToF128()
|
A D | f128_roundToInt.c | 46 f128_roundToInt( float128_t a, uint_fast8_t roundingMode, bool exact ) in f128_roundToInt() argument 80 roundNearEven = (roundingMode == softfloat_round_near_even); in f128_roundToInt() 81 if ( roundNearEven || (roundingMode == softfloat_round_near_maxMag) ) { in f128_roundToInt() 98 } else if ( roundingMode != softfloat_round_minMag ) { in f128_roundToInt() 100 signF128UI64( uiZ.v64 ) ^ (roundingMode == softfloat_round_max) in f128_roundToInt() 116 switch ( roundingMode ) { in f128_roundToInt() 137 if ( roundingMode == softfloat_round_near_maxMag ) { in f128_roundToInt() 139 } else if ( roundingMode == softfloat_round_near_even ) { in f128_roundToInt() 144 } else if ( roundingMode != softfloat_round_minMag ) { in f128_roundToInt() 146 signF128UI64( uiZ.v64 ) ^ (roundingMode == softfloat_round_max) in f128_roundToInt()
|
A D | s_roundPackMToExtF80M.c | 53 uint_fast8_t roundingMode; in softfloat_roundPackMToExtF80M() local 62 roundingMode = softfloat_roundingMode; in softfloat_roundPackMToExtF80M() 63 roundNearEven = (roundingMode == softfloat_round_near_even); in softfloat_roundPackMToExtF80M() 80 if ( ! roundNearEven && (roundingMode != softfloat_round_near_maxMag) ) { in softfloat_roundPackMToExtF80M() 82 (roundingMode in softfloat_roundPackMToExtF80M() 138 if ( ! roundNearEven && (roundingMode != softfloat_round_near_maxMag) ) { in softfloat_roundPackMToExtF80M() 140 (roundingMode in softfloat_roundPackMToExtF80M() 165 && (roundingMode != softfloat_round_near_maxMag) in softfloat_roundPackMToExtF80M() 168 (roundingMode in softfloat_roundPackMToExtF80M() 196 || (roundingMode == softfloat_round_near_maxMag) in softfloat_roundPackMToExtF80M() [all …]
|
A D | extF80M_roundToInt.c | 50 uint_fast8_t roundingMode, in extF80M_roundToInt() argument 56 *zPtr = extF80_roundToInt( *aPtr, roundingMode, exact ); in extF80M_roundToInt() 65 uint_fast8_t roundingMode, in extF80M_roundToInt() argument 102 switch ( roundingMode ) { in extF80M_roundToInt() 144 if ( roundingMode == softfloat_round_near_maxMag ) { in extF80M_roundToInt() 146 } else if ( roundingMode == softfloat_round_near_even ) { in extF80M_roundToInt() 149 } else if ( roundingMode != softfloat_round_minMag ) { in extF80M_roundToInt() 150 if ( (signUI64 != 0) ^ (roundingMode == softfloat_round_max) ) { in extF80M_roundToInt()
|
A D | s_roundPackMToF128M.c | 48 uint_fast8_t roundingMode; in softfloat_roundPackMToF128M() local 56 roundingMode = softfloat_roundingMode; in softfloat_roundPackMToF128M() 57 roundNearEven = (roundingMode == softfloat_round_near_even); in softfloat_roundPackMToF128M() 60 if ( ! roundNearEven && (roundingMode != softfloat_round_near_maxMag) ) { in softfloat_roundPackMToF128M() 62 (roundingMode in softfloat_roundPackMToF128M() 85 && (roundingMode != softfloat_round_near_maxMag) in softfloat_roundPackMToF128M() 88 (roundingMode in softfloat_roundPackMToF128M() 103 || (roundingMode == softfloat_round_near_maxMag) in softfloat_roundPackMToF128M() 104 || (roundingMode in softfloat_roundPackMToF128M()
|
A D | s_roundPackToExtF80.c | 53 uint_fast8_t roundingMode; in softfloat_roundPackToExtF80() local 60 roundingMode = softfloat_roundingMode; in softfloat_roundPackToExtF80() 61 roundNearEven = (roundingMode == softfloat_round_near_even); in softfloat_roundPackToExtF80() 73 if ( ! roundNearEven && (roundingMode != softfloat_round_near_maxMag) ) { in softfloat_roundPackToExtF80() 75 (roundingMode in softfloat_roundPackToExtF80() 127 if ( ! roundNearEven && (roundingMode != softfloat_round_near_maxMag) ) { in softfloat_roundPackToExtF80() 129 (roundingMode in softfloat_roundPackToExtF80() 152 && (roundingMode != softfloat_round_near_maxMag) in softfloat_roundPackToExtF80() 155 (roundingMode in softfloat_roundPackToExtF80() 181 || (roundingMode == softfloat_round_near_maxMag) in softfloat_roundPackToExtF80() [all …]
|
A D | f32_roundToInt.c | 45 float32_t f32_roundToInt( float32_t a, uint_fast8_t roundingMode, bool exact ) in f32_roundToInt() argument 64 switch ( roundingMode ) { in f32_roundToInt() 93 if ( roundingMode == softfloat_round_near_maxMag ) { in f32_roundToInt() 95 } else if ( roundingMode == softfloat_round_near_even ) { in f32_roundToInt() 98 } else if ( roundingMode != softfloat_round_minMag ) { in f32_roundToInt() 99 if ( signF32UI( uiZ ) ^ (roundingMode == softfloat_round_max) ) { in f32_roundToInt()
|
A D | f64_roundToInt.c | 45 float64_t f64_roundToInt( float64_t a, uint_fast8_t roundingMode, bool exact ) in f64_roundToInt() argument 64 switch ( roundingMode ) { in f64_roundToInt() 93 if ( roundingMode == softfloat_round_near_maxMag ) { in f64_roundToInt() 95 } else if ( roundingMode == softfloat_round_near_even ) { in f64_roundToInt() 98 } else if ( roundingMode != softfloat_round_minMag ) { in f64_roundToInt() 99 if ( signF64UI( uiZ ) ^ (roundingMode == softfloat_round_max) ) { in f64_roundToInt()
|
A D | s_roundPackToUI64.c | 49 uint_fast8_t roundingMode, in softfloat_roundPackToUI64() argument 55 roundNearEven = (roundingMode == softfloat_round_near_even); in softfloat_roundPackToUI64() 57 if ( ! roundNearEven && (roundingMode != softfloat_round_near_maxMag) ) { in softfloat_roundPackToUI64() 59 (roundingMode in softfloat_roundPackToUI64()
|
A D | s_roundPackToF32.c | 47 uint_fast8_t roundingMode; in softfloat_roundPackToF32() local 54 roundingMode = softfloat_roundingMode; in softfloat_roundPackToF32() 55 roundNearEven = (roundingMode == softfloat_round_near_even); in softfloat_roundPackToF32() 57 if ( ! roundNearEven && (roundingMode != softfloat_round_near_maxMag) ) { in softfloat_roundPackToF32() 59 (roundingMode in softfloat_roundPackToF32()
|
A D | s_roundPackToUI32.c | 46 bool sign, uint_fast64_t sig, uint_fast8_t roundingMode, bool exact ) in softfloat_roundPackToUI32() argument 52 roundNearEven = (roundingMode == softfloat_round_near_even); in softfloat_roundPackToUI32() 54 if ( ! roundNearEven && (roundingMode != softfloat_round_near_maxMag) ) { in softfloat_roundPackToUI32() 56 (roundingMode in softfloat_roundPackToUI32()
|
A D | f128M_roundToInt.c | 50 uint_fast8_t roundingMode, in f128M_roundToInt() argument 56 *zPtr = f128_roundToInt( *aPtr, roundingMode, exact ); in f128M_roundToInt() 65 uint_fast8_t roundingMode, in f128M_roundToInt() argument 105 switch ( roundingMode ) { in f128M_roundToInt() 145 (roundingMode == softfloat_round_near_maxMag) in f128M_roundToInt() 146 || (roundingMode == softfloat_round_near_even); in f128M_roundToInt() 166 (roundingMode == softfloat_round_near_even) in f128M_roundToInt() 184 (roundingMode != softfloat_round_minMag) in f128M_roundToInt() 185 && (signF128UI96( ui96 ) ^ (roundingMode == softfloat_round_max)) in f128M_roundToInt()
|
A D | s_roundPackToF64.c | 47 uint_fast8_t roundingMode; in softfloat_roundPackToF64() local 54 roundingMode = softfloat_roundingMode; in softfloat_roundPackToF64() 55 roundNearEven = (roundingMode == softfloat_round_near_even); in softfloat_roundPackToF64() 57 if ( ! roundNearEven && (roundingMode != softfloat_round_near_maxMag) ) { in softfloat_roundPackToF64() 59 (roundingMode in softfloat_roundPackToF64()
|
A D | s_roundPackMToUI64.c | 46 bool sign, uint32_t *extSigPtr, uint_fast8_t roundingMode, bool exact ) in softfloat_roundPackMToUI64() argument 53 roundNearEven = (roundingMode == softfloat_round_near_even); in softfloat_roundPackMToUI64() 56 if ( ! roundNearEven && (roundingMode != softfloat_round_near_maxMag) ) { in softfloat_roundPackMToUI64() 58 (roundingMode in softfloat_roundPackMToUI64()
|
A D | s_roundPackToI32.c | 46 bool sign, uint_fast64_t sig, uint_fast8_t roundingMode, bool exact ) in softfloat_roundPackToI32() argument 54 roundNearEven = (roundingMode == softfloat_round_near_even); in softfloat_roundPackToI32() 56 if ( ! roundNearEven && (roundingMode != softfloat_round_near_maxMag) ) { in softfloat_roundPackToI32() 58 (roundingMode in softfloat_roundPackToI32()
|
A D | s_roundPackToI64.c | 49 uint_fast8_t roundingMode, in softfloat_roundPackToI64() argument 57 roundNearEven = (roundingMode == softfloat_round_near_even); in softfloat_roundPackToI64() 59 if ( ! roundNearEven && (roundingMode != softfloat_round_near_maxMag) ) { in softfloat_roundPackToI64() 61 (roundingMode in softfloat_roundPackToI64()
|
A D | f128M_to_ui32.c | 47 f128M_to_ui32( const float128_t *aPtr, uint_fast8_t roundingMode, bool exact ) in f128M_to_ui32() argument 50 return f128_to_ui32( *aPtr, roundingMode, exact ); in f128M_to_ui32() 57 f128M_to_ui32( const float128_t *aPtr, uint_fast8_t roundingMode, bool exact ) in f128M_to_ui32() argument 77 signF128UI96( uiA96 ), sig64, roundingMode, exact ); in f128M_to_ui32()
|
A D | extF80M_to_ui32.c | 48 const extFloat80_t *aPtr, uint_fast8_t roundingMode, bool exact ) in extF80M_to_ui32() argument 51 return extF80_to_ui32( *aPtr, roundingMode, exact ); in extF80M_to_ui32() 59 const extFloat80_t *aPtr, uint_fast8_t roundingMode, bool exact ) in extF80M_to_ui32() argument 88 return softfloat_roundPackToUI32( sign, sig, roundingMode, exact ); in extF80M_to_ui32()
|
A D | extF80M_to_ui64.c | 48 const extFloat80_t *aPtr, uint_fast8_t roundingMode, bool exact ) in extF80M_to_ui64() argument 51 return extF80_to_ui64( *aPtr, roundingMode, exact ); in extF80M_to_ui64() 59 const extFloat80_t *aPtr, uint_fast8_t roundingMode, bool exact ) in extF80M_to_ui64() argument 86 return softfloat_roundPackMToUI64( sign, extSig, roundingMode, exact ); in extF80M_to_ui64()
|
A D | s_roundPackMToI64.c | 46 bool sign, uint32_t *extSigPtr, uint_fast8_t roundingMode, bool exact ) in softfloat_roundPackMToI64() argument 55 roundNearEven = (roundingMode == softfloat_round_near_even); in softfloat_roundPackMToI64() 58 if ( ! roundNearEven && (roundingMode != softfloat_round_near_maxMag) ) { in softfloat_roundPackMToI64() 60 (roundingMode in softfloat_roundPackMToI64()
|
A D | extF80M_to_i32.c | 48 const extFloat80_t *aPtr, uint_fast8_t roundingMode, bool exact ) in extF80M_to_i32() argument 51 return extF80_to_i32( *aPtr, roundingMode, exact ); in extF80M_to_i32() 59 const extFloat80_t *aPtr, uint_fast8_t roundingMode, bool exact ) in extF80M_to_i32() argument 89 return softfloat_roundPackToI32( sign, sig, roundingMode, exact ); in extF80M_to_i32()
|
A D | f128M_to_i32.c | 47 f128M_to_i32( const float128_t *aPtr, uint_fast8_t roundingMode, bool exact ) in f128M_to_i32() argument 50 return f128_to_i32( *aPtr, roundingMode, exact ); in f128M_to_i32() 57 f128M_to_i32( const float128_t *aPtr, uint_fast8_t roundingMode, bool exact ) in f128M_to_i32() argument 83 return softfloat_roundPackToI32( sign, sig64, roundingMode, exact ); in f128M_to_i32()
|
A D | f128M_to_ui64.c | 47 f128M_to_ui64( const float128_t *aPtr, uint_fast8_t roundingMode, bool exact ) in f128M_to_ui64() argument 50 return f128_to_ui64( *aPtr, roundingMode, exact ); in f128M_to_ui64() 57 f128M_to_ui64( const float128_t *aPtr, uint_fast8_t roundingMode, bool exact ) in f128M_to_ui64() argument 83 roundingMode, in f128M_to_ui64()
|
A D | extF80M_to_i64.c | 48 const extFloat80_t *aPtr, uint_fast8_t roundingMode, bool exact ) in extF80M_to_i64() argument 51 return extF80_to_i64( *aPtr, roundingMode, exact ); in extF80M_to_i64() 59 const extFloat80_t *aPtr, uint_fast8_t roundingMode, bool exact ) in extF80M_to_i64() argument 91 return softfloat_roundPackMToI64( sign, extSig, roundingMode, exact ); in extF80M_to_i64()
|
A D | extF80_roundToInt.c | 46 extF80_roundToInt( extFloat80_t a, uint_fast8_t roundingMode, bool exact ) in extF80_roundToInt() argument 97 switch ( roundingMode ) { in extF80_roundToInt() 124 if ( roundingMode == softfloat_round_near_maxMag ) { in extF80_roundToInt() 126 } else if ( roundingMode == softfloat_round_near_even ) { in extF80_roundToInt() 129 } else if ( roundingMode != softfloat_round_minMag ) { in extF80_roundToInt() 130 if ( (signUI64 != 0) ^ (roundingMode == softfloat_round_max) ) { in extF80_roundToInt()
|