/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/source/ |
A D | f128_sqrt.c | 59 struct uint128 term, y; in f128_sqrt() local 124 term = softfloat_mul64ByShifted32To128( x64, q ); in f128_sqrt() 125 rem = softfloat_sub128( rem.v64, rem.v0, term.v64, term.v0 ); in f128_sqrt() 136 term = softfloat_add128( term.v64, term.v0, 0, (uint_fast64_t) q<<6 ); in f128_sqrt() 137 term = softfloat_mul128By32( term.v64, term.v0, q ); in f128_sqrt() 138 rem = softfloat_sub128( y.v64, y.v0, term.v64, term.v0 ); in f128_sqrt() 151 term.v64, term.v0 in f128_sqrt() 162 term = softfloat_mul64ByShifted32To128( term.v64, q ); in f128_sqrt() 163 term = softfloat_add128( term.v64, term.v0, 0, y.v64 ); in f128_sqrt() 165 term = softfloat_sub128( term.v64, term.v0, rem.v64, rem.v0 ); in f128_sqrt() [all …]
|
A D | f128M_sqrt.c | 68 uint32_t term[5], y[5], rem32; in f128M_sqrt() local 128 term[indexWord( 4, 3 )] = 0; in f128M_sqrt() 129 term[indexWord( 4, 2 )] = x64>>32; in f128M_sqrt() 130 term[indexWord( 4, 1 )] = x64; in f128M_sqrt() 131 term[indexWord( 4, 0 )] = 0; in f128M_sqrt() 146 term[indexWord( 4, 3 )] = 0; in f128M_sqrt() 172 term[indexWord( 5, 4 )] = 0; in f128M_sqrt() 173 term[indexWord( 5, 3 )] = 0; in f128M_sqrt() 174 term[indexWord( 5, 2 )] = 0; in f128M_sqrt() 177 softfloat_sub160M( y, term, term ); in f128M_sqrt() [all …]
|
A D | extF80_div.c | 68 struct uint128 term; in extF80_div() local 142 term = softfloat_mul64ByShifted32To128( sigB, q ); in extF80_div() 143 rem = softfloat_sub128( rem.v64, rem.v0, term.v64, term.v0 ); in extF80_div() 154 term = softfloat_mul64ByShifted32To128( sigB, q ); in extF80_div() 155 rem = softfloat_sub128( rem.v64, rem.v0, term.v64, term.v0 ); in extF80_div() 156 term = softfloat_shortShiftLeft128( 0, sigB, 32 ); in extF80_div() 159 rem = softfloat_add128( rem.v64, rem.v0, term.v64, term.v0 ); in extF80_div() 160 } else if ( softfloat_le128( term.v64, term.v0, rem.v64, rem.v0 ) ) { in extF80_div() 162 rem = softfloat_sub128( rem.v64, rem.v0, term.v64, term.v0 ); in extF80_div()
|
A D | extF80M_sqrt.c | 66 uint32_t term[4], extSigZ[3]; in extF80M_sqrt() local 120 term[indexWord( 3, 2 )] = 0; in extF80M_sqrt() 121 term[indexWord( 3, 1 )] = x64>>32; in extF80M_sqrt() 122 term[indexWord( 3, 0 )] = x64; in extF80M_sqrt() 126 term, in extF80M_sqrt() 145 term[indexWord( 4, 3 )] = 0; in extF80M_sqrt() 146 term[indexWord( 4, 2 )] = x64>>32; in extF80M_sqrt() 147 term[indexWord( 4, 1 )] = x64; in extF80M_sqrt() 148 term[indexWord( 4, 0 )] = q<<5; in extF80M_sqrt() 150 softfloat_remStep128MBy32( rem, 28, term, q, rem ); in extF80M_sqrt()
|
A D | extF80_sqrt.c | 61 struct uint128 term; in extF80_sqrt() local 122 term = softfloat_mul64ByShifted32To128( x64, q ); in extF80_sqrt() 124 rem = softfloat_sub128( rem.v64, rem.v0, term.v64, term.v0 ); in extF80_sqrt() 136 term = softfloat_mul64ByShifted32To128( x64 + (q>>27), q ); in extF80_sqrt() 138 term = softfloat_add128( term.v64, term.v0, 0, x64 ); in extF80_sqrt() 140 rem = softfloat_sub128( rem.v64, rem.v0, term.v64, term.v0 ); in extF80_sqrt()
|
A D | f128_div.c | 65 struct uint128 term; in f128_div() local 138 term = softfloat_mul128By32( sigB.v64, sigB.v0, q ); in f128_div() 139 rem = softfloat_sub128( rem.v64, rem.v0, term.v64, term.v0 ); in f128_div() 150 term = softfloat_mul128By32( sigB.v64, sigB.v0, q ); in f128_div() 151 rem = softfloat_sub128( rem.v64, rem.v0, term.v64, term.v0 ); in f128_div() 164 term = softfloat_shortShiftLeft128( 0, qs[1], 54 ); in f128_div() 168 term.v64, term.v0 in f128_div()
|
A D | extF80_rem.c | 64 struct uint128 term, altRem, meanRem; in extF80_rem() local 151 term = softfloat_mul64ByShifted32To128( sigB, q ); in extF80_rem() 152 rem = softfloat_sub128( rem.v64, rem.v0, term.v64, term.v0 ); in extF80_rem() 165 term = softfloat_mul64ByShifted32To128( sigB, q ); in extF80_rem() 166 rem = softfloat_sub128( rem.v64, rem.v0, term.v64, term.v0 ); in extF80_rem()
|
A D | f128_rem.c | 62 struct uint128 term, altRem, meanRem; in f128_rem() local 137 term = softfloat_mul128By32( sigB.v64, sigB.v0, q ); in f128_rem() 138 rem = softfloat_sub128( rem.v64, rem.v0, term.v64, term.v0 ); in f128_rem() 149 term = softfloat_mul128By32( sigB.v64, sigB.v0, q ); in f128_rem() 150 rem = softfloat_sub128( rem.v64, rem.v0, term.v64, term.v0 ); in f128_rem()
|