/optee_os/lib/libutils/isoc/arch/arm/softfloat/source/ |
A D | f128M_roundToInt.c | 70 const uint32_t *aWPtr; in f128M_roundToInt() local 86 aWPtr = (const uint32_t *) aPtr; in f128M_roundToInt() 90 ui96 = aWPtr[indexWordHi( 4 )]; in f128M_roundToInt() 98 sigExtra = aWPtr[indexWord( 4, 2 )]; in f128M_roundToInt() 100 sigExtra = aWPtr[indexWord( 4, 1 )] | aWPtr[indexWord( 4, 0 )]; in f128M_roundToInt() 130 || (aWPtr[indexWord( 4, 2 )] | aWPtr[indexWord( 4, 1 )] in f128M_roundToInt() 131 | aWPtr[indexWord( 4, 0 )])) in f128M_roundToInt() 133 softfloat_propagateNaNF128M( aWPtr, 0, zWPtr ); in f128M_roundToInt() 152 wordA = aWPtr[index]; in f128M_roundToInt() 172 wordZ = aWPtr[index] + carry; in f128M_roundToInt() [all …]
|
A D | f128M_le.c | 57 const uint32_t *aWPtr, *bWPtr; in f128M_le() local 62 aWPtr = (const uint32_t *) aPtr; in f128M_le() 64 if ( softfloat_isNaNF128M( aWPtr ) || softfloat_isNaNF128M( bWPtr ) ) { in f128M_le() 68 uiA96 = aWPtr[indexWordHi( 4 )]; in f128M_le() 75 wordA = aWPtr[indexWord( 4, 2 )]; in f128M_le() 78 wordA = aWPtr[indexWord( 4, 1 )]; in f128M_le() 81 wordA = aWPtr[indexWord( 4, 0 )]; in f128M_le() 86 aWPtr = (const uint32_t *) bPtr; in f128M_le() 89 return (softfloat_compare128M( aWPtr, bWPtr ) <= 0); in f128M_le()
|
A D | f128M_to_f64.c | 58 const uint32_t *aWPtr; in f128M_to_f64() local 68 aWPtr = (const uint32_t *) aPtr; in f128M_to_f64() 69 uiA96 = aWPtr[indexWordHi( 4 )]; in f128M_to_f64() 72 sig64 = (uint64_t) fracF128UI96( uiA96 )<<32 | aWPtr[indexWord( 4, 2 )]; in f128M_to_f64() 74 if ( sig64 || aWPtr[indexWord( 4, 1 )] | aWPtr[indexWord( 4, 0 )] ) { in f128M_to_f64() 75 softfloat_f128MToCommonNaN( aWPtr, &commonNaN ); in f128M_to_f64() 82 sig32 = aWPtr[indexWord( 4, 1 )]; in f128M_to_f64() 84 if ( (sig32 & 0x0003FFFF) || aWPtr[indexWord( 4, 0 )] ) sig64 |= 1; in f128M_to_f64()
|
A D | f128M_to_i64.c | 59 const uint32_t *aWPtr; in f128M_to_i64() local 67 aWPtr = (const uint32_t *) aPtr; in f128M_to_i64() 68 uiA96 = aWPtr[indexWordHi( 4 )]; in f128M_to_i64() 79 || ( aWPtr[indexWord( 4, 2 )] in f128M_to_i64() 80 | aWPtr[indexWord( 4, 1 )] in f128M_to_i64() 81 | aWPtr[indexWord( 4, 0 )] in f128M_to_i64() 88 sig[indexWord( 4, 2 )] = aWPtr[indexWord( 4, 2 )]; in f128M_to_i64() 89 sig[indexWord( 4, 1 )] = aWPtr[indexWord( 4, 1 )]; in f128M_to_i64() 90 sig[indexWord( 4, 0 )] = aWPtr[indexWord( 4, 0 )]; in f128M_to_i64()
|
A D | f128M_le_quiet.c | 58 const uint32_t *aWPtr, *bWPtr; in f128M_le_quiet() local 63 aWPtr = (const uint32_t *) aPtr; in f128M_le_quiet() 65 if ( softfloat_isNaNF128M( aWPtr ) || softfloat_isNaNF128M( bWPtr ) ) { in f128M_le_quiet() 71 uiA96 = aWPtr[indexWordHi( 4 )]; in f128M_le_quiet() 78 wordA = aWPtr[indexWord( 4, 2 )]; in f128M_le_quiet() 81 wordA = aWPtr[indexWord( 4, 1 )]; in f128M_le_quiet() 84 wordA = aWPtr[indexWord( 4, 0 )]; in f128M_le_quiet() 89 aWPtr = (const uint32_t *) bPtr; in f128M_le_quiet() 92 return (softfloat_compare128M( aWPtr, bWPtr ) <= 0); in f128M_le_quiet()
|
A D | f128M_lt.c | 57 const uint32_t *aWPtr, *bWPtr; in f128M_lt() local 62 aWPtr = (const uint32_t *) aPtr; in f128M_lt() 64 if ( softfloat_isNaNF128M( aWPtr ) || softfloat_isNaNF128M( bWPtr ) ) { in f128M_lt() 68 uiA96 = aWPtr[indexWordHi( 4 )]; in f128M_lt() 75 wordA = aWPtr[indexWord( 4, 2 )]; in f128M_lt() 78 wordA = aWPtr[indexWord( 4, 1 )]; in f128M_lt() 81 wordA = aWPtr[indexWord( 4, 0 )]; in f128M_lt() 86 aWPtr = (const uint32_t *) bPtr; in f128M_lt() 89 return (softfloat_compare128M( aWPtr, bWPtr ) < 0); in f128M_lt()
|
A D | f128M_lt_quiet.c | 58 const uint32_t *aWPtr, *bWPtr; in f128M_lt_quiet() local 63 aWPtr = (const uint32_t *) aPtr; in f128M_lt_quiet() 65 if ( softfloat_isNaNF128M( aWPtr ) || softfloat_isNaNF128M( bWPtr ) ) { in f128M_lt_quiet() 71 uiA96 = aWPtr[indexWordHi( 4 )]; in f128M_lt_quiet() 78 wordA = aWPtr[indexWord( 4, 2 )]; in f128M_lt_quiet() 81 wordA = aWPtr[indexWord( 4, 1 )]; in f128M_lt_quiet() 84 wordA = aWPtr[indexWord( 4, 0 )]; in f128M_lt_quiet() 89 aWPtr = (const uint32_t *) bPtr; in f128M_lt_quiet() 92 return (softfloat_compare128M( aWPtr, bWPtr ) < 0); in f128M_lt_quiet()
|
A D | f128M_to_i64_r_minMag.c | 57 const uint32_t *aWPtr; in f128M_to_i64_r_minMag() local 65 aWPtr = (const uint32_t *) aPtr; in f128M_to_i64_r_minMag() 66 uiA96 = aWPtr[indexWordHi( 4 )]; in f128M_to_i64_r_minMag() 75 sig[indexWord( 4, 2 )] = aWPtr[indexWord( 4, 2 )]; in f128M_to_i64_r_minMag() 76 sig[indexWord( 4, 1 )] = aWPtr[indexWord( 4, 1 )]; in f128M_to_i64_r_minMag() 77 sig[indexWord( 4, 0 )] = aWPtr[indexWord( 4, 0 )]; in f128M_to_i64_r_minMag() 90 | (uint64_t) aWPtr[indexWord( 4, 2 )]<<15 in f128M_to_i64_r_minMag() 91 | aWPtr[indexWord( 4, 1 )]>>17; in f128M_to_i64_r_minMag() 106 sign && ! softfloat_isNaNF128M( aWPtr ) in f128M_to_i64_r_minMag()
|
A D | f128M_to_ui64_r_minMag.c | 57 const uint32_t *aWPtr; in f128M_to_ui64_r_minMag() local 63 aWPtr = (const uint32_t *) aPtr; in f128M_to_ui64_r_minMag() 64 uiA96 = aWPtr[indexWordHi( 4 )]; in f128M_to_ui64_r_minMag() 72 sig[indexWord( 4, 2 )] = aWPtr[indexWord( 4, 2 )]; in f128M_to_ui64_r_minMag() 73 sig[indexWord( 4, 1 )] = aWPtr[indexWord( 4, 1 )]; in f128M_to_ui64_r_minMag() 74 sig[indexWord( 4, 0 )] = aWPtr[indexWord( 4, 0 )]; in f128M_to_ui64_r_minMag() 86 | (uint64_t) aWPtr[indexWord( 4, 2 )]<<15 in f128M_to_ui64_r_minMag() 87 | aWPtr[indexWord( 4, 1 )]>>17; in f128M_to_ui64_r_minMag()
|
A D | f128M_eq.c | 58 const uint32_t *aWPtr, *bWPtr; in f128M_eq() local 63 aWPtr = (const uint32_t *) aPtr; in f128M_eq() 65 wordA = aWPtr[indexWord( 4, 2 )]; in f128M_eq() 68 uiA96 = aWPtr[indexWordHi( 4 )]; in f128M_eq() 76 wordA = aWPtr[indexWord( 4, 1 )]; in f128M_eq() 80 wordA = aWPtr[indexWord( 4, 0 )]; in f128M_eq() 86 if ( ! softfloat_isNaNF128M( aWPtr ) && ! softfloat_isNaNF128M( bWPtr ) ) { in f128M_eq() 91 f128M_isSignalingNaN( (const float128_t *) aWPtr ) in f128M_eq()
|
A D | f128M_to_f32.c | 58 const uint32_t *aWPtr; in f128M_to_f32() local 67 aWPtr = (const uint32_t *) aPtr; in f128M_to_f32() 68 uiA96 = aWPtr[indexWordHi( 4 )]; in f128M_to_f32() 72 (uint64_t) fracF128UI96( uiA96 )<<32 | aWPtr[indexWord( 4, 2 )] in f128M_to_f32() 73 | ((aWPtr[indexWord( 4, 1 )] | aWPtr[indexWord( 4, 0 )]) != 0); in f128M_to_f32() 76 softfloat_f128MToCommonNaN( aWPtr, &commonNaN ); in f128M_to_f32()
|
A D | f128M_eq_signaling.c | 58 const uint32_t *aWPtr, *bWPtr; in f128M_eq_signaling() local 63 aWPtr = (const uint32_t *) aPtr; in f128M_eq_signaling() 65 if ( softfloat_isNaNF128M( aWPtr ) || softfloat_isNaNF128M( bWPtr ) ) { in f128M_eq_signaling() 69 wordA = aWPtr[indexWord( 4, 2 )]; in f128M_eq_signaling() 72 uiA96 = aWPtr[indexWordHi( 4 )]; in f128M_eq_signaling() 80 wordA = aWPtr[indexWord( 4, 1 )]; in f128M_eq_signaling() 84 wordA = aWPtr[indexWord( 4, 0 )]; in f128M_eq_signaling()
|
A D | f128M_mul.c | 60 const uint32_t *aWPtr, *bWPtr; in f128M_mul() local 76 aWPtr = (const uint32_t *) aPtr; in f128M_mul() 81 uiA96 = aWPtr[indexWordHi( 4 )]; in f128M_mul() 89 if ( softfloat_tryPropagateNaNF128M( aWPtr, bWPtr, zWPtr ) ) return; in f128M_mul() 90 ptr = aWPtr; in f128M_mul() 111 sigA[indexWord( 4, 2 )] = aWPtr[indexWord( 4, 2 )]; in f128M_mul() 112 sigA[indexWord( 4, 1 )] = aWPtr[indexWord( 4, 1 )]; in f128M_mul() 113 sigA[indexWord( 4, 0 )] = aWPtr[indexWord( 4, 0 )]; in f128M_mul() 115 expA = softfloat_shiftNormSigF128M( aWPtr, 0, sigA ); in f128M_mul()
|
A D | s_isNaNF128M.c | 45 bool softfloat_isNaNF128M( const uint32_t *aWPtr ) in softfloat_isNaNF128M() argument 49 uiA96 = aWPtr[indexWordHi( 4 )]; in softfloat_isNaNF128M() 53 || ((aWPtr[indexWord( 4, 2 )] | aWPtr[indexWord( 4, 1 )] in softfloat_isNaNF128M() 54 | aWPtr[indexWord( 4, 0 )]) in softfloat_isNaNF128M()
|
A D | f128M_sqrt.c | 58 const uint32_t *aWPtr; in f128M_sqrt() local 72 aWPtr = (const uint32_t *) aPtr; in f128M_sqrt() 76 uiA96 = aWPtr[indexWordHi( 4 )]; in f128M_sqrt() 84 || (aWPtr[indexWord( 4, 2 )] | aWPtr[indexWord( 4, 1 )] in f128M_sqrt() 85 | aWPtr[indexWord( 4, 0 )]) in f128M_sqrt() 87 softfloat_propagateNaNF128M( aWPtr, 0, zWPtr ); in f128M_sqrt() 95 expA = softfloat_shiftNormSigF128M( aWPtr, 13 - (rawExpA & 1), rem ); in f128M_sqrt() 210 zWPtr[indexWord( 4, 2 )] = aWPtr[indexWord( 4, 2 )]; in f128M_sqrt() 211 zWPtr[indexWord( 4, 1 )] = aWPtr[indexWord( 4, 1 )]; in f128M_sqrt() 212 zWPtr[indexWord( 4, 0 )] = aWPtr[indexWord( 4, 0 )]; in f128M_sqrt()
|
A D | f128M_to_ui32.c | 59 const uint32_t *aWPtr; in f128M_to_ui32() local 65 aWPtr = (const uint32_t *) aPtr; in f128M_to_ui32() 66 uiA96 = aWPtr[indexWordHi( 4 )]; in f128M_to_ui32() 68 sig64 = (uint64_t) fracF128UI96( uiA96 )<<32 | aWPtr[indexWord( 4, 2 )]; in f128M_to_ui32() 70 if ( aWPtr[indexWord( 4, 1 )] | aWPtr[indexWord( 4, 0 )] ) sig64 |= 1; in f128M_to_ui32()
|
A D | f128M_to_ui32_r_minMag.c | 57 const uint32_t *aWPtr; in f128M_to_ui32_r_minMag() local 64 aWPtr = (const uint32_t *) aPtr; in f128M_to_ui32_r_minMag() 65 uiA96 = aWPtr[indexWordHi( 4 )]; in f128M_to_ui32_r_minMag() 67 sig64 = (uint64_t) fracF128UI96( uiA96 )<<32 | aWPtr[indexWord( 4, 2 )]; in f128M_to_ui32_r_minMag() 68 if ( aWPtr[indexWord( 4, 1 )] | aWPtr[indexWord( 4, 0 )] ) sig64 |= 1; in f128M_to_ui32_r_minMag()
|
A D | f128M_to_ui64.c | 59 const uint32_t *aWPtr; in f128M_to_ui64() local 64 aWPtr = (const uint32_t *) aPtr; in f128M_to_ui64() 65 uiA96 = aWPtr[indexWordHi( 4 )]; in f128M_to_ui64() 75 sig[indexWord( 4, 2 )] = aWPtr[indexWord( 4, 2 )]; in f128M_to_ui64() 76 sig[indexWord( 4, 1 )] = aWPtr[indexWord( 4, 1 )]; in f128M_to_ui64() 77 sig[indexWord( 4, 0 )] = aWPtr[indexWord( 4, 0 )]; in f128M_to_ui64()
|
A D | f128M_to_i32.c | 59 const uint32_t *aWPtr; in f128M_to_i32() local 67 aWPtr = (const uint32_t *) aPtr; in f128M_to_i32() 68 uiA96 = aWPtr[indexWordHi( 4 )]; in f128M_to_i32() 71 sig64 = (uint64_t) fracF128UI96( uiA96 )<<32 | aWPtr[indexWord( 4, 2 )]; in f128M_to_i32() 73 if ( aWPtr[indexWord( 4, 1 )] | aWPtr[indexWord( 4, 0 )] ) { in f128M_to_i32()
|
A D | f128M_to_extF80M.c | 58 const uint32_t *aWPtr; in f128M_to_extF80M() local 68 aWPtr = (const uint32_t *) aPtr; in f128M_to_extF80M() 72 uiA96 = aWPtr[indexWordHi( 4 )]; in f128M_to_extF80M() 78 if ( softfloat_isNaNF128M( aWPtr ) ) { in f128M_to_extF80M() 79 softfloat_f128MToCommonNaN( aWPtr, &commonNaN ); in f128M_to_extF80M() 89 exp = softfloat_shiftNormSigF128M( aWPtr, 15, sig ); in f128M_to_extF80M()
|
A D | f128M_to_i32_r_minMag.c | 57 const uint32_t *aWPtr; in f128M_to_i32_r_minMag() local 66 aWPtr = (const uint32_t *) aPtr; in f128M_to_i32_r_minMag() 67 uiA96 = aWPtr[indexWordHi( 4 )]; in f128M_to_i32_r_minMag() 70 sig64 = (uint64_t) fracF128UI96( uiA96 )<<32 | aWPtr[indexWord( 4, 2 )]; in f128M_to_i32_r_minMag() 71 if ( aWPtr[indexWord( 4, 1 )] | aWPtr[indexWord( 4, 0 )] ) sig64 |= 1; in f128M_to_i32_r_minMag()
|
A D | f128M_rem.c | 60 const uint32_t *aWPtr, *bWPtr; in f128M_rem() local 72 aWPtr = (const uint32_t *) aPtr; in f128M_rem() 77 uiA96 = aWPtr[indexWordHi( 4 )]; in f128M_rem() 83 if ( softfloat_tryPropagateNaNF128M( aWPtr, bWPtr, zWPtr ) ) return; in f128M_rem() 95 expA = softfloat_shiftNormSigF128M( aWPtr, 13, remPtr ); in f128M_rem() 176 zWPtr[indexWord( 4, 2 )] = aWPtr[indexWord( 4, 2 )]; in f128M_rem() 177 zWPtr[indexWord( 4, 1 )] = aWPtr[indexWord( 4, 1 )]; in f128M_rem() 178 zWPtr[indexWord( 4, 0 )] = aWPtr[indexWord( 4, 0 )]; in f128M_rem()
|
/optee_os/lib/libutils/isoc/arch/arm/softfloat/source/8086/ |
A D | f128M_isSignalingNaN.c | 48 const uint32_t *aWPtr; in f128M_isSignalingNaN() local 51 aWPtr = (const uint32_t *) aPtr; in f128M_isSignalingNaN() 52 uiA96 = aWPtr[indexWordHi( 4 )]; in f128M_isSignalingNaN() 56 || ((aWPtr[indexWord( 4, 2 )] | aWPtr[indexWord( 4, 1 )] in f128M_isSignalingNaN() 57 | aWPtr[indexWord( 4, 0 )]) in f128M_isSignalingNaN()
|
A D | s_propagateNaNF128M.c | 55 const uint32_t *aWPtr, const uint32_t *bWPtr, uint32_t *zWPtr ) in softfloat_propagateNaNF128M() argument 62 isSigNaNA = f128M_isSignalingNaN( (const float128_t *) aWPtr ); in softfloat_propagateNaNF128M() 63 ptr = aWPtr; in softfloat_propagateNaNF128M() 76 if ( softfloat_isNaNF128M( aWPtr ) ) goto copy; in softfloat_propagateNaNF128M() 81 uiA96 = aWPtr[indexWordHi( 4 )]; in softfloat_propagateNaNF128M() 87 wordMagA = aWPtr[indexWord( 4, 2 )]; in softfloat_propagateNaNF128M() 91 wordMagA = aWPtr[indexWord( 4, 1 )]; in softfloat_propagateNaNF128M() 95 wordMagA = aWPtr[indexWord( 4, 0 )]; in softfloat_propagateNaNF128M()
|
/optee_os/lib/libutils/isoc/arch/arm/softfloat/source/8086-SSE/ |
A D | f128M_isSignalingNaN.c | 48 const uint32_t *aWPtr; in f128M_isSignalingNaN() local 51 aWPtr = (const uint32_t *) aPtr; in f128M_isSignalingNaN() 52 uiA96 = aWPtr[indexWordHi( 4 )]; in f128M_isSignalingNaN() 56 || ((aWPtr[indexWord( 4, 2 )] | aWPtr[indexWord( 4, 1 )] in f128M_isSignalingNaN() 57 | aWPtr[indexWord( 4, 0 )]) in f128M_isSignalingNaN()
|