/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/source/ |
A D | s_compareNonnormExtF80M.c | 51 int32_t expA, expB; in softfloat_compareNonnormExtF80M() local 69 expB = expExtF80UI64( uiB64 ); in softfloat_compareNonnormExtF80M() 71 if (expB == 0x7FFF) return 0; in softfloat_compareNonnormExtF80M() 75 if ( expB == 0x7FFF ) { in softfloat_compareNonnormExtF80M() 88 if ( ! expB ) expB = 1; in softfloat_compareNonnormExtF80M() 91 expB += softfloat_normExtF80SigM( &sigB ); in softfloat_compareNonnormExtF80M() 93 expB = -128; in softfloat_compareNonnormExtF80M() 99 if ( expA < expB ) return 1; in softfloat_compareNonnormExtF80M() 100 if ( (expB < expA) || (sigB < sigA) ) return -1; in softfloat_compareNonnormExtF80M() 102 if ( expB < expA ) return 1; in softfloat_compareNonnormExtF80M() [all …]
|
A D | f32_mul.c | 55 int_fast16_t expB; in f32_mul() local 72 expB = expF32UI( uiB ); in f32_mul() 76 if ( sigA || ((expB == 0xFF) && sigB) ) goto propagateNaN; in f32_mul() 77 magBits = expB | sigB; in f32_mul() 80 if ( expB == 0xFF ) { in f32_mul() 91 if ( ! expB ) { in f32_mul() 94 expB = normExpSig.exp; in f32_mul() 97 expZ = expA + expB - 0x7F; in f32_mul()
|
A D | extF80M_mul.c | 67 int32_t expB; in extF80M_mul() local 84 expB = expExtF80UI64( uiB64 ); in extF80M_mul() 88 if ( (expA == 0x7FFF) || (expB == 0x7FFF) ) { in extF80M_mul() 92 || (! bSPtr->signif && (expB != 0x7FFF)) in extF80M_mul() 109 if ( ! expB ) expB = 1; in extF80M_mul() 113 expB += softfloat_normExtF80SigM( &sigB ); in extF80M_mul() 117 expZ = expA + expB - 0x3FFE; in extF80M_mul()
|
A D | s_addExtF80M.c | 56 int32_t expB; in softfloat_addExtF80M() local 72 expB = expExtF80UI64( uiB64 ); in softfloat_addExtF80M() 75 if ( (expA == 0x7FFF) || (expB == 0x7FFF) ) { in softfloat_addExtF80M() 78 if ( expB == 0x7FFF ) { in softfloat_addExtF80M() 94 if ( expA < expB ) { in softfloat_addExtF80M() 96 expA = expB; in softfloat_addExtF80M() 97 expB = expExtF80UI64( uiA64 ); in softfloat_addExtF80M() 102 if ( ! expB ) { in softfloat_addExtF80M() 103 expB = 1; in softfloat_addExtF80M() 111 expDiff = expA - expB; in softfloat_addExtF80M()
|
A D | extF80M_rem.c | 65 int32_t expA, expB; in extF80M_rem() local 82 expB = expExtF80UI64( bSPtr->signExp ); in extF80M_rem() 85 if ( (expA == 0x7FFF) || (expB == 0x7FFF) ) { in extF80M_rem() 94 expB += expB; in extF80M_rem() 98 if ( ! expB ) expB = 1; in extF80M_rem() 102 expB += softfloat_normExtF80SigM( &x64 ); in extF80M_rem() 116 expDiff = expA - expB; in extF80M_rem() 128 --expB; in extF80M_rem() 185 softfloat_normRoundPackMToExtF80M( signRem, expB + 2, remPtr, 80, zSPtr ); in extF80M_rem()
|
A D | s_subMagsF32.c | 50 int_fast16_t expB; in softfloat_subMagsF32() local 60 expB = expF32UI( uiB ); in softfloat_subMagsF32() 62 expDiff = expA - expB; in softfloat_subMagsF32() 75 expB = 1; in softfloat_subMagsF32() 82 if ( expB == 0xFF ) { in softfloat_subMagsF32() 92 expZ = expB; in softfloat_subMagsF32() 101 sigB += expB ? 0x40000000 : sigB; in softfloat_subMagsF32()
|
A D | s_subMagsF64.c | 50 int_fast16_t expB; in softfloat_subMagsF64() local 60 expB = expF64UI( uiB ); in softfloat_subMagsF64() 62 expDiff = expA - expB; in softfloat_subMagsF64() 75 expB = 1; in softfloat_subMagsF64() 82 if ( expB == 0x7FF ) { in softfloat_subMagsF64() 92 expZ = expB; in softfloat_subMagsF64() 101 sigB += expB ? UINT64_C( 0x4000000000000000 ) : sigB; in softfloat_subMagsF64()
|
A D | f64_mul.c | 55 int_fast16_t expB; in f64_mul() local 79 expB = expF64UI( uiB ); in f64_mul() 85 if ( sigA || ((expB == 0x7FF) && sigB) ) goto propagateNaN; in f64_mul() 86 magBits = expB | sigB; in f64_mul() 89 if ( expB == 0x7FF ) { in f64_mul() 102 if ( ! expB ) { in f64_mul() 105 expB = normExpSig.exp; in f64_mul() 110 expZ = expA + expB - 0x3FF; in f64_mul()
|
A D | s_addMagsF32.c | 49 int_fast16_t expB; in softfloat_addMagsF32() local 59 expB = expF32UI( uiB ); in softfloat_addMagsF32() 61 expDiff = expA - expB; in softfloat_addMagsF32() 78 if ( expB == 0xFF ) { in softfloat_addMagsF32() 83 expZ = expB; in softfloat_addMagsF32() 93 sigB += expB ? 0x20000000 : sigB; in softfloat_addMagsF32()
|
A D | f64_rem.c | 54 int_fast16_t expB; in f64_rem() local 75 expB = expF64UI( uiB ); in f64_rem() 80 if ( sigA || ((expB == 0x7FF) && sigB) ) goto propagateNaN; in f64_rem() 83 if ( expB == 0x7FF ) { in f64_rem() 89 if ( expA < expB - 1 ) return a; in f64_rem() 92 if ( ! expB ) { in f64_rem() 95 expB = normExpSig.exp; in f64_rem() 108 expDiff = expA - expB; in f64_rem() 176 return softfloat_normRoundPackToF64( signRem, expB, rem ); in f64_rem()
|
A D | extF80_mul.c | 57 int_fast32_t expB; in extF80_mul() local 80 expB = expExtF80UI64( uiB64 ); in extF80_mul() 88 || ((expB == 0x7FFF) && (sigB & UINT64_C( 0x7FFFFFFFFFFFFFFF ))) in extF80_mul() 92 magBits = expB | sigB; in extF80_mul() 95 if ( expB == 0x7FFF ) { in extF80_mul() 109 if ( ! expB ) expB = 1; in extF80_mul() 113 expB += normExpSig.exp; in extF80_mul() 118 expZ = expA + expB - 0x3FFE; in extF80_mul()
|
A D | f32_rem.c | 54 int_fast16_t expB; in f32_rem() local 73 expB = expF32UI( uiB ); in f32_rem() 78 if ( sigA || ((expB == 0xFF) && sigB) ) goto propagateNaN; in f32_rem() 81 if ( expB == 0xFF ) { in f32_rem() 87 if ( ! expB ) { in f32_rem() 90 expB = normExpSig.exp; in f32_rem() 103 expDiff = expA - expB; in f32_rem() 155 return softfloat_normRoundPackToF32( signRem, expB, rem ); in f32_rem()
|
A D | f128M_mul.c | 65 int32_t expB; in f128M_mul() local 84 expB = expF128UI96( uiB96 ); in f128M_mul() 88 if ( (expA == 0x7FFF) || (expB == 0x7FFF) ) { in f128M_mul() 92 if ( ! expB ) { in f128M_mul() 118 if ( expB ) { in f128M_mul() 124 expB = softfloat_shiftNormSigF128M( bWPtr, 0, sigB ); in f128M_mul() 125 if ( expB == -128 ) goto zero; in f128M_mul() 129 expZ = expA + expB - 0x4000; in f128M_mul()
|
A D | s_addMagsF64.c | 49 int_fast16_t expB; in softfloat_addMagsF64() local 59 expB = expF64UI( uiB ); in softfloat_addMagsF64() 61 expDiff = expA - expB; in softfloat_addMagsF64() 80 if ( expB == 0x7FF ) { in softfloat_addMagsF64() 85 expZ = expB; in softfloat_addMagsF64() 95 sigB += expB ? UINT64_C( 0x2000000000000000 ) : sigB; in softfloat_addMagsF64()
|
A D | f128M_rem.c | 62 int32_t expA, expB; in f128M_rem() local 79 expB = expF128UI96( bWPtr[indexWordHi( 4 )] ); in f128M_rem() 82 if ( (expA == 0x7FFF) || (expB == 0x7FFF) ) { in f128M_rem() 89 if ( expA < expB - 1 ) goto copyA; in f128M_rem() 92 expB = softfloat_shiftNormSigF128M( bWPtr, 13, x ); in f128M_rem() 93 if ( expB == -128 ) goto invalid; in f128M_rem() 100 expDiff = expA - expB; in f128M_rem() 104 --expB; in f128M_rem() 165 softfloat_normRoundPackMToF128M( signRem, expB + 18, remPtr, zWPtr ); in f128M_rem()
|
A D | extF80_rem.c | 57 int_fast32_t expB; in extF80_rem() local 83 expB = expExtF80UI64( uiB64 ); in extF80_rem() 90 || ((expB == 0x7FFF) && (sigB & UINT64_C( 0x7FFFFFFFFFFFFFFF ))) in extF80_rem() 96 if ( expB == 0x7FFF ) { in extF80_rem() 103 expB += expB; in extF80_rem() 107 if ( ! expB ) expB = 1; in extF80_rem() 111 expB += normExpSig.exp; in extF80_rem() 126 expDiff = expA - expB; in extF80_rem() 132 --expB; in extF80_rem() 198 signRem, expB + 32, rem.v64, rem.v0, 80 ); in extF80_rem()
|
A D | s_addF128M.c | 56 int32_t expB; in softfloat_addF128M() local 79 expB = expF128UI96( uiB96 ); in softfloat_addF128M() 82 if ( (expA == 0x7FFF) || (expB == 0x7FFF) ) { in softfloat_addF128M() 85 if ( expB == 0x7FFF ) { in softfloat_addF128M() 105 expA = expB; in softfloat_addF128M() 106 expB = expF128UI96( uiA96 ); in softfloat_addF128M() 118 if ( expB ) { in softfloat_addF128M() 119 --expB; in softfloat_addF128M() 127 expDiff = expA - expB; in softfloat_addF128M()
|
A D | extF80M_div.c | 67 int32_t expB; in extF80M_div() local 88 expB = expExtF80UI64( uiB64 ); in extF80M_div() 92 if ( (expA == 0x7FFF) || (expB == 0x7FFF) ) { in extF80M_div() 95 if ( expB == 0x7FFF ) goto invalid; in extF80M_div() 104 if ( ! expB ) expB = 1; in extF80M_div() 111 expB += softfloat_normExtF80SigM( &x64 ); in extF80M_div() 120 expZ = expA - expB + 0x3FFF; in extF80M_div()
|
A D | f128M_div.c | 66 int32_t expB; in f128M_div() local 87 expB = expF128UI96( uiB96 ); in f128M_div() 91 if ( (expA == 0x7FFF) || (expB == 0x7FFF) ) { in f128M_div() 94 if ( expB == 0x7FFF ) goto invalid; in f128M_div() 102 expB = softfloat_shiftNormSigF128M( bWPtr, 13, sigB ); in f128M_div() 104 if ( expB == -128 ) goto invalid; in f128M_div() 107 if ( expB == -128 ) { in f128M_div() 113 expZ = expA - expB + 0x3FFE; in f128M_div()
|
A D | f64_div.c | 55 int_fast16_t expB; in f64_div() local 77 expB = expF64UI( uiB ); in f64_div() 84 if ( expB == 0x7FF ) { in f64_div() 90 if ( expB == 0x7FF ) { in f64_div() 96 if ( ! expB ) { in f64_div() 103 expB = normExpSig.exp; in f64_div() 114 expZ = expA - expB + 0x3FE; in f64_div()
|
A D | f32_div.c | 55 int_fast16_t expB; in f32_div() local 80 expB = expF32UI( uiB ); in f32_div() 87 if ( expB == 0xFF ) { in f32_div() 93 if ( expB == 0xFF ) { in f32_div() 99 if ( ! expB ) { in f32_div() 106 expB = normExpSig.exp; in f32_div() 117 expZ = expA - expB + 0x7E; in f32_div()
|
A D | f128_mul.c | 55 int_fast32_t expB; in f128_mul() local 81 expB = expF128UI64( uiB64 ); in f128_mul() 89 (sigA.v64 | sigA.v0) || ((expB == 0x7FFF) && (sigB.v64 | sigB.v0)) in f128_mul() 93 magBits = expB | sigB.v64 | sigB.v0; in f128_mul() 96 if ( expB == 0x7FFF ) { in f128_mul() 109 if ( ! expB ) { in f128_mul() 112 expB = normExpSig.exp; in f128_mul() 117 expZ = expA + expB - 0x4000; in f128_mul()
|
A D | s_addMagsExtF80.c | 56 int_fast32_t expB; in softfloat_addMagsExtF80() local 71 expB = expExtF80UI64( uiB64 ); in softfloat_addMagsExtF80() 75 expDiff = expA - expB; in softfloat_addMagsExtF80() 99 if ( expB == 0x7FFF ) { in softfloat_addMagsExtF80() 105 expZ = expB; in softfloat_addMagsExtF80() 122 if ( ! expB ) { in softfloat_addMagsExtF80()
|
A D | s_subMagsExtF80.c | 56 int_fast32_t expB; in softfloat_subMagsExtF80() local 70 expB = expExtF80UI64( uiB64 ); in softfloat_subMagsExtF80() 74 expDiff = expA - expB; in softfloat_subMagsExtF80() 100 if ( expB == 0x7FFF ) { in softfloat_subMagsExtF80() 115 expZ = expB; in softfloat_subMagsExtF80() 129 if ( ! expB ) { in softfloat_subMagsExtF80()
|
A D | s_mulAddF32.c | 53 int_fast16_t expB; in softfloat_mulAddF32() local 75 expB = expF32UI( uiB ); in softfloat_mulAddF32() 82 if ( sigA || ((expB == 0xFF) && sigB) ) goto propagateNaN_ABC; in softfloat_mulAddF32() 83 magBits = expB | sigB; in softfloat_mulAddF32() 86 if ( expB == 0xFF ) { in softfloat_mulAddF32() 105 if ( ! expB ) { in softfloat_mulAddF32() 108 expB = normExpSig.exp; in softfloat_mulAddF32() 111 expProd = expA + expB - 0x7E; in softfloat_mulAddF32()
|