Home
last modified time | relevance | path

Searched refs:expA (Results 1 – 25 of 39) sorted by relevance

12

/optee_os/lib/libutils/isoc/arch/arm/softfloat/source/
A Ds_compareNonnormExtF80M.c51 int32_t expA, expB; in softfloat_compareNonnormExtF80M() local
68 expA = expExtF80UI64( uiA64 ); in softfloat_compareNonnormExtF80M()
70 if ( expA == 0x7FFF ) { in softfloat_compareNonnormExtF80M()
80 if ( ! expA ) expA = 1; in softfloat_compareNonnormExtF80M()
83 expA += softfloat_normExtF80SigM( &sigA ); in softfloat_compareNonnormExtF80M()
85 expA = -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()
103 if ( (expA < expB) || (sigA < sigB) ) return -1; in softfloat_compareNonnormExtF80M()
A Df32_sqrt.c50 int_fast16_t expA; in f32_sqrt() local
63 expA = expF32UI( uiA ); in f32_sqrt()
67 if ( expA == 0xFF ) { in f32_sqrt()
78 if ( ! (expA | sigA) ) return a; in f32_sqrt()
83 if ( ! expA ) { in f32_sqrt()
86 expA = normExpSig.exp; in f32_sqrt()
91 expZ = ((expA - 0x7F)>>1) + 0x7E; in f32_sqrt()
92 expA &= 1; in f32_sqrt()
95 ((uint_fast64_t) sigA * softfloat_approxRecipSqrt32_1( expA, sigA )) in f32_sqrt()
97 if ( expA ) sigZ >>= 1; in f32_sqrt()
A Df64_sqrt.c50 int_fast16_t expA; in f64_sqrt() local
65 expA = expF64UI( uiA ); in f64_sqrt()
69 if ( expA == 0x7FF ) { in f64_sqrt()
80 if ( ! (expA | sigA) ) return a; in f64_sqrt()
85 if ( ! expA ) { in f64_sqrt()
88 expA = normExpSig.exp; in f64_sqrt()
96 expZ = ((expA - 0x3FF)>>1) + 0x3FE; in f64_sqrt()
97 expA &= 1; in f64_sqrt()
100 recipSqrt32 = softfloat_approxRecipSqrt32_1( expA, sig32A ); in f64_sqrt()
102 if ( expA ) { in f64_sqrt()
A DextF80M_rem.c65 int32_t expA, expB; in extF80M_rem() local
81 expA = expExtF80UI64( uiA64 ); in extF80M_rem()
85 if ( (expA == 0x7FFF) || (expB == 0x7FFF) ) { in extF80M_rem()
87 if ( expA == 0x7FFF ) goto invalid; in extF80M_rem()
105 if ( ! expA ) expA = 1; in extF80M_rem()
109 expA = 0; in extF80M_rem()
112 expA += softfloat_normExtF80SigM( &sigA ); in extF80M_rem()
116 expDiff = expA - expB; in extF80M_rem()
195 if ( expA < 1 ) { in extF80M_rem()
196 sigA >>= 1 - expA; in extF80M_rem()
[all …]
A Ds_addExtF80M.c54 int32_t expA; in softfloat_addExtF80M() local
70 expA = expExtF80UI64( uiA64 ); in softfloat_addExtF80M()
75 if ( (expA == 0x7FFF) || (expB == 0x7FFF) ) { in softfloat_addExtF80M()
80 if ( (expA == 0x7FFF) && (uiZ64 != uiA64) ) { in softfloat_addExtF80M()
94 if ( expA < expB ) { in softfloat_addExtF80M()
96 expA = expB; in softfloat_addExtF80M()
104 if ( ! expA ) expA = 1; in softfloat_addExtF80M()
111 expDiff = expA - expB; in softfloat_addExtF80M()
131 --expA; in softfloat_addExtF80M()
167 ++expA; in softfloat_addExtF80M()
[all …]
A Ds_addMagsF32.c47 int_fast16_t expA; in softfloat_addMagsF32() local
57 expA = expF32UI( uiA ); in softfloat_addMagsF32()
61 expDiff = expA - expB; in softfloat_addMagsF32()
65 if ( expA == 0xFF ) { in softfloat_addMagsF32()
70 if ( ! expA ) { in softfloat_addMagsF32()
74 expZ = expA; in softfloat_addMagsF32()
84 sigA += expA ? 0x20000000 : sigA; in softfloat_addMagsF32()
87 if ( expA == 0xFF ) { in softfloat_addMagsF32()
92 expZ = expA; in softfloat_addMagsF32()
A Ds_addMagsF64.c47 int_fast16_t expA; in softfloat_addMagsF64() local
57 expA = expF64UI( uiA ); in softfloat_addMagsF64()
61 expDiff = expA - expB; in softfloat_addMagsF64()
65 if ( expA == 0x7FF ) { in softfloat_addMagsF64()
70 if ( ! expA ) { in softfloat_addMagsF64()
76 expZ = expA; in softfloat_addMagsF64()
86 sigA += expA ? UINT64_C( 0x2000000000000000 ) : sigA; in softfloat_addMagsF64()
89 if ( expA == 0x7FF ) { in softfloat_addMagsF64()
94 expZ = expA; in softfloat_addMagsF64()
A Ds_subMagsF32.c48 int_fast16_t expA; in softfloat_subMagsF32() local
58 expA = expF32UI( uiA ); in softfloat_subMagsF32()
62 expDiff = expA - expB; in softfloat_subMagsF32()
67 if ( expA == 0xFF ) { in softfloat_subMagsF32()
73 if ( ! expA ) { in softfloat_subMagsF32()
74 expA = 1; in softfloat_subMagsF32()
87 sigA += expA ? 0x40000000 : sigA; in softfloat_subMagsF32()
96 if ( expA == 0xFF ) { in softfloat_subMagsF32()
105 expZ = expA; in softfloat_subMagsF32()
A Ds_subMagsF64.c48 int_fast16_t expA; in softfloat_subMagsF64() local
58 expA = expF64UI( uiA ); in softfloat_subMagsF64()
62 expDiff = expA - expB; in softfloat_subMagsF64()
67 if ( expA == 0x7FF ) { in softfloat_subMagsF64()
73 if ( ! expA ) { in softfloat_subMagsF64()
74 expA = 1; in softfloat_subMagsF64()
87 sigA += expA ? UINT64_C( 0x4000000000000000 ) : sigA; in softfloat_subMagsF64()
96 if ( expA == 0x7FF ) { in softfloat_subMagsF64()
105 expZ = expA; in softfloat_subMagsF64()
A DextF80M_sqrt.c61 int32_t expA; in extF80M_sqrt() local
76 expA = expExtF80UI64( uiA64 ); in extF80M_sqrt()
80 if ( expA == 0x7FFF ) { in extF80M_sqrt()
91 if ( ! expA ) expA = 1; in extF80M_sqrt()
97 expA += softfloat_normExtF80SigM( &rem64 ); in extF80M_sqrt()
102 expZ = ((expA - 0x3FFF)>>1) + 0x3FFF; in extF80M_sqrt()
103 expA &= 1; in extF80M_sqrt()
105 rem64, 30 - expA, &rem[indexMultiwordHi( 4, 3 )] ); in extF80M_sqrt()
107 recipSqrt32 = softfloat_approxRecipSqrt32_1( expA, sig32A ); in extF80M_sqrt()
109 if ( expA ) sig32Z >>= 1; in extF80M_sqrt()
A Ds_addMagsExtF80.c54 int_fast32_t expA; in softfloat_addMagsExtF80() local
69 expA = expExtF80UI64( uiA64 ); in softfloat_addMagsExtF80()
75 expDiff = expA - expB; in softfloat_addMagsExtF80()
77 if ( expA == 0x7FFF ) { in softfloat_addMagsExtF80()
87 if ( ! expA ) { in softfloat_addMagsExtF80()
93 expZ = expA; in softfloat_addMagsExtF80()
106 if ( ! expA ) { in softfloat_addMagsExtF80()
115 if ( expA == 0x7FFF ) { in softfloat_addMagsExtF80()
121 expZ = expA; in softfloat_addMagsExtF80()
A DextF80M_mul.c65 int32_t expA; in extF80M_mul() local
82 expA = expExtF80UI64( uiA64 ); in extF80M_mul()
88 if ( (expA == 0x7FFF) || (expB == 0x7FFF) ) { in extF80M_mul()
91 (! aSPtr->signif && (expA != 0x7FFF)) in extF80M_mul()
103 if ( ! expA ) expA = 1; in extF80M_mul()
107 expA += softfloat_normExtF80SigM( &sigA ); in extF80M_mul()
117 expZ = expA + expB - 0x3FFE; in extF80M_mul()
A Ds_addF128M.c54 int32_t expA; in softfloat_addF128M() local
77 expA = expF128UI96( uiA96 ); in softfloat_addF128M()
82 if ( (expA == 0x7FFF) || (expB == 0x7FFF) ) { in softfloat_addF128M()
87 if ( (expA == 0x7FFF) && (uiZ96 != uiA96) ) { in softfloat_addF128M()
105 expA = expB; in softfloat_addF128M()
115 if ( expA ) { in softfloat_addF128M()
116 --expA; in softfloat_addF128M()
127 expDiff = expA - expB; in softfloat_addF128M()
204 ++expA; in softfloat_addF128M()
209 (*roundPackRoutinePtr)( signZ, expA, extSigZ, zWPtr ); in softfloat_addF128M()
A DextF80_sqrt.c51 int_fast32_t expA; in extF80_sqrt() local
71 expA = expExtF80UI64( uiA64 ); in extF80_sqrt()
75 if ( expA == 0x7FFF ) { in extF80_sqrt()
93 if ( ! expA ) expA = 1; in extF80_sqrt()
97 expA += normExpSig.exp; in extF80_sqrt()
105 expZ = ((expA - 0x3FFF)>>1) + 0x3FFF; in extF80_sqrt()
106 expA &= 1; in extF80_sqrt()
108 recipSqrt32 = softfloat_approxRecipSqrt32_1( expA, sig32A ); in extF80_sqrt()
110 if ( expA ) { in extF80_sqrt()
A DextF80_rem.c51 int_fast32_t expA; in extF80_rem() local
77 expA = expExtF80UI64( uiA64 ); in extF80_rem()
87 if ( expA == 0x7FFF ) { in extF80_rem()
114 if ( ! expA ) expA = 1; in extF80_rem()
117 expA = 0; in extF80_rem()
121 expA += normExpSig.exp; in extF80_rem()
126 expDiff = expA - expB; in extF80_rem()
216 if ( expA < 1 ) { in extF80_rem()
217 sigA >>= 1 - expA; in extF80_rem()
218 expA = 0; in extF80_rem()
[all …]
A Ds_addMagsF128.c53 int_fast32_t expA; in softfloat_addMagsF128() local
64 expA = expF128UI64( uiA64 ); in softfloat_addMagsF128()
70 expDiff = expA - expB; in softfloat_addMagsF128()
72 if ( expA == 0x7FFF ) { in softfloat_addMagsF128()
79 if ( ! expA ) { in softfloat_addMagsF128()
84 expZ = expA; in softfloat_addMagsF128()
97 if ( expA ) { in softfloat_addMagsF128()
109 if ( expA == 0x7FFF ) { in softfloat_addMagsF128()
115 expZ = expA; in softfloat_addMagsF128()
A Ds_subMagsExtF80.c54 int_fast32_t expA; in softfloat_subMagsExtF80() local
68 expA = expExtF80UI64( uiA64 ); in softfloat_subMagsExtF80()
74 expDiff = expA - expB; in softfloat_subMagsExtF80()
77 if ( expA == 0x7FFF ) { in softfloat_subMagsExtF80()
88 expZ = expA; in softfloat_subMagsExtF80()
106 if ( ! expA ) { in softfloat_subMagsExtF80()
123 if ( expA == 0x7FFF ) { in softfloat_subMagsExtF80()
138 expZ = expA; in softfloat_subMagsExtF80()
A Df128M_mul.c63 int32_t expA; in f128M_mul() local
82 expA = expF128UI96( uiA96 ); in f128M_mul()
88 if ( (expA == 0x7FFF) || (expB == 0x7FFF) ) { in f128M_mul()
91 if ( ! expA ) goto possiblyInvalid; in f128M_mul()
109 if ( expA ) { in f128M_mul()
115 expA = softfloat_shiftNormSigF128M( aWPtr, 0, sigA ); in f128M_mul()
116 if ( expA == -128 ) goto zero; in f128M_mul()
129 expZ = expA + expB - 0x4000; in f128M_mul()
A Df32_mul.c50 int_fast16_t expA; in f32_mul() local
67 expA = expF32UI( uiA ); in f32_mul()
75 if ( expA == 0xFF ) { in f32_mul()
82 magBits = expA | sigA; in f32_mul()
85 if ( ! expA ) { in f32_mul()
88 expA = normExpSig.exp; in f32_mul()
97 expZ = expA + expB - 0x7F; in f32_mul()
A Ds_subMagsF128.c54 int_fast32_t expA; in softfloat_subMagsF128() local
62 expA = expF128UI64( uiA64 ); in softfloat_subMagsF128()
70 expDiff = expA - expB; in softfloat_subMagsF128()
73 if ( expA == 0x7FFF ) { in softfloat_subMagsF128()
80 expZ = expA; in softfloat_subMagsF128()
98 if ( expA ) { in softfloat_subMagsF128()
113 if ( expA == 0x7FFF ) { in softfloat_subMagsF128()
127 expZ = expA; in softfloat_subMagsF128()
A DextF80_mul.c51 int_fast32_t expA; in extF80_mul() local
74 expA = expExtF80UI64( uiA64 ); in extF80_mul()
85 if ( expA == 0x7FFF ) { in extF80_mul()
97 magBits = expA | sigA; in extF80_mul()
102 if ( ! expA ) expA = 1; in extF80_mul()
106 expA += normExpSig.exp; in extF80_mul()
118 expZ = expA + expB - 0x3FFE; in extF80_mul()
A Df64_mul.c50 int_fast16_t expA; in f64_mul() local
74 expA = expF64UI( uiA ); in f64_mul()
84 if ( expA == 0x7FF ) { in f64_mul()
91 magBits = expA | sigA; in f64_mul()
96 if ( ! expA ) { in f64_mul()
99 expA = normExpSig.exp; in f64_mul()
110 expZ = expA + expB - 0x3FF; in f64_mul()
A DextF80M_div.c65 int32_t expA; in extF80M_div() local
86 expA = expExtF80UI64( uiA64 ); in extF80M_div()
92 if ( (expA == 0x7FFF) || (expB == 0x7FFF) ) { in extF80M_div()
94 if ( expA == 0x7FFF ) { in extF80M_div()
113 if ( ! expA ) expA = 1; in extF80M_div()
116 expA += softfloat_normExtF80SigM( &sigA ); in extF80M_div()
120 expZ = expA - expB + 0x3FFF; in extF80M_div()
A Df128M_rem.c62 int32_t expA, expB; in f128M_rem() local
78 expA = expF128UI96( uiA96 ); in f128M_rem()
82 if ( (expA == 0x7FFF) || (expB == 0x7FFF) ) { in f128M_rem()
84 if ( expA == 0x7FFF ) goto invalid; in f128M_rem()
89 if ( expA < expB - 1 ) goto copyA; in f128M_rem()
95 expA = softfloat_shiftNormSigF128M( aWPtr, 13, remPtr ); in f128M_rem()
96 if ( expA == -128 ) goto copyA; in f128M_rem()
100 expDiff = expA - expB; in f128M_rem()
A Df128_sqrt.c50 int_fast32_t expA; in f128_sqrt() local
70 expA = expF128UI64( uiA64 ); in f128_sqrt()
75 if ( expA == 0x7FFF ) { in f128_sqrt()
86 if ( ! (expA | sigA.v64 | sigA.v0) ) return a; in f128_sqrt()
91 if ( ! expA ) { in f128_sqrt()
94 expA = normExpSig.exp; in f128_sqrt()
102 expZ = ((expA - 0x3FFF)>>1) + 0x3FFE; in f128_sqrt()
103 expA &= 1; in f128_sqrt()
106 recipSqrt32 = softfloat_approxRecipSqrt32_1( expA, sig32A ); in f128_sqrt()
108 if ( expA ) { in f128_sqrt()

Completed in 20 milliseconds

12