/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/source/8086/ |
A D | specialize.h | 101 #define defaultNaNF64UI UINT64_C( 0xFFF8000000000000 ) 108 …_isSigNaNF64UI( uiA ) ((((uiA) & UINT64_C( 0x7FF8000000000000 )) == UINT64_C( 0x7FF0000000000000 )… 137 #define defaultNaNExtF80UI0 UINT64_C( 0xC000000000000000 ) 145 … ) ((((uiA64) & 0x7FFF) == 0x7FFF) && ! ((uiA0) & UINT64_C( 0x4000000000000000 )) && ((uiA0) & UIN… 192 #define defaultNaNF128UI64 UINT64_C( 0xFFFF800000000000 ) 193 #define defaultNaNF128UI0 UINT64_C( 0 ) 201 …iA64, uiA0 ) ((((uiA64) & UINT64_C( 0x7FFF800000000000 )) == UINT64_C( 0x7FFF000000000000 )) && ((…
|
A D | s_propagateNaNF64UI.c | 64 uiNonsigA = uiA | UINT64_C( 0x0008000000000000 ); in softfloat_propagateNaNF64UI() 65 uiNonsigB = uiB | UINT64_C( 0x0008000000000000 ); in softfloat_propagateNaNF64UI() 78 uiMagA = uiNonsigA & UINT64_C( 0x7FFFFFFFFFFFFFFF ); in softfloat_propagateNaNF64UI() 79 uiMagB = uiNonsigB & UINT64_C( 0x7FFFFFFFFFFFFFFF ); in softfloat_propagateNaNF64UI()
|
A D | s_propagateNaNF128UI.c | 73 uiNonsigA64 = uiA64 | UINT64_C( 0x0000800000000000 ); in softfloat_propagateNaNF128UI() 74 uiNonsigB64 = uiB64 | UINT64_C( 0x0000800000000000 ); in softfloat_propagateNaNF128UI() 89 uiMagA64 = uiNonsigA64 & UINT64_C( 0x7FFFFFFFFFFFFFFF ); in softfloat_propagateNaNF128UI() 90 uiMagB64 = uiNonsigB64 & UINT64_C( 0x7FFFFFFFFFFFFFFF ); in softfloat_propagateNaNF128UI()
|
A D | extF80M_isSignalingNaN.c | 54 ! (uiA0 & UINT64_C( 0x4000000000000000 )) in extF80M_isSignalingNaN() 55 && (uiA0 & UINT64_C( 0x3FFFFFFFFFFFFFFF)); in extF80M_isSignalingNaN()
|
/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/source/8086-SSE/ |
A D | specialize.h | 101 #define defaultNaNF64UI UINT64_C( 0xFFF8000000000000 ) 108 …_isSigNaNF64UI( uiA ) ((((uiA) & UINT64_C( 0x7FF8000000000000 )) == UINT64_C( 0x7FF0000000000000 )… 137 #define defaultNaNExtF80UI0 UINT64_C( 0xC000000000000000 ) 145 … ) ((((uiA64) & 0x7FFF) == 0x7FFF) && ! ((uiA0) & UINT64_C( 0x4000000000000000 )) && ((uiA0) & UIN… 192 #define defaultNaNF128UI64 UINT64_C( 0xFFFF800000000000 ) 193 #define defaultNaNF128UI0 UINT64_C( 0 ) 201 …iA64, uiA0 ) ((((uiA64) & UINT64_C( 0x7FFF800000000000 )) == UINT64_C( 0x7FFF000000000000 )) && ((…
|
A D | extF80M_isSignalingNaN.c | 54 ! (uiA0 & UINT64_C( 0x4000000000000000 )) in extF80M_isSignalingNaN() 55 && (uiA0 & UINT64_C( 0x3FFFFFFFFFFFFFFF)); in extF80M_isSignalingNaN()
|
/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/source/ |
A D | s_roundPackToExtF80.c | 64 roundIncrement = UINT64_C( 0x0000000000000400 ); in softfloat_roundPackToExtF80() 65 roundMask = UINT64_C( 0x00000000000007FF ); in softfloat_roundPackToExtF80() 67 roundIncrement = UINT64_C( 0x0000008000000000 ); in softfloat_roundPackToExtF80() 68 roundMask = UINT64_C( 0x000000FFFFFFFFFF ); in softfloat_roundPackToExtF80() 97 exp = ((sig & UINT64_C( 0x8000000000000000 )) != 0); in softfloat_roundPackToExtF80() 116 sig = UINT64_C( 0x8000000000000000 ); in softfloat_roundPackToExtF80() 126 doIncrement = (UINT64_C( 0x8000000000000000 ) <= sigExtra); in softfloat_roundPackToExtF80() 140 || (sig < UINT64_C( 0xFFFFFFFFFFFFFFFF )); in softfloat_roundPackToExtF80() 186 sig = UINT64_C( 0x8000000000000000 ); in softfloat_roundPackToExtF80() 199 sig = UINT64_C( 0x8000000000000000 ); in softfloat_roundPackToExtF80() [all …]
|
A D | s_roundPackToF128.c | 62 doIncrement = (UINT64_C( 0x8000000000000000 ) <= sigExtra); in softfloat_roundPackToF128() 79 UINT64_C( 0x0001FFFFFFFFFFFF ), in softfloat_roundPackToF128() 80 UINT64_C( 0xFFFFFFFFFFFFFFFF ) in softfloat_roundPackToF128() 91 doIncrement = (UINT64_C( 0x8000000000000000 ) <= sigExtra); in softfloat_roundPackToF128() 107 UINT64_C( 0x0001FFFFFFFFFFFF ), in softfloat_roundPackToF128() 108 UINT64_C( 0xFFFFFFFFFFFFFFFF ) in softfloat_roundPackToF128() 125 sign, 0x7FFE, UINT64_C( 0x0000FFFFFFFFFFFF ) ); in softfloat_roundPackToF128() 126 uiZ0 = UINT64_C( 0xFFFFFFFFFFFFFFFF ); in softfloat_roundPackToF128() 138 (! (sigExtra & UINT64_C( 0x7FFFFFFFFFFFFFFF )) in softfloat_roundPackToF128()
|
A D | s_roundPackMToExtF80M.c | 69 roundIncrement = UINT64_C( 0x0000000000000400 ); in softfloat_roundPackMToExtF80M() 70 roundMask = UINT64_C( 0x00000000000007FF ); in softfloat_roundPackMToExtF80M() 72 roundIncrement = UINT64_C( 0x0000008000000000 ); in softfloat_roundPackMToExtF80M() 73 roundMask = UINT64_C( 0x000000FFFFFFFFFF ); in softfloat_roundPackMToExtF80M() 104 exp = ((sig & UINT64_C( 0x8000000000000000 )) != 0); in softfloat_roundPackMToExtF80M() 125 sig = UINT64_C( 0x8000000000000000 ); in softfloat_roundPackMToExtF80M() 155 || (sig < UINT64_C( 0xFFFFFFFFFFFFFFFF )); in softfloat_roundPackMToExtF80M() 179 exp = ((sig & UINT64_C( 0x8000000000000000 )) != 0); in softfloat_roundPackMToExtF80M() 187 || ((exp == 0x7FFE) && (sig == UINT64_C( 0xFFFFFFFFFFFFFFFF )) in softfloat_roundPackMToExtF80M() 201 sig = UINT64_C( 0x8000000000000000 ); in softfloat_roundPackMToExtF80M() [all …]
|
A D | s_addMagsF64.c | 73 signZ, 0, (uiA + uiB) & UINT64_C( 0x7FFFFFFFFFFFFFFF ) ); in softfloat_addMagsF64() 77 sigZ = UINT64_C( 0x4000000000000000 ) + sigA + sigB; in softfloat_addMagsF64() 86 sigA += expA ? UINT64_C( 0x2000000000000000 ) : sigA; in softfloat_addMagsF64() 95 sigB += expB ? UINT64_C( 0x2000000000000000 ) : sigB; in softfloat_addMagsF64() 98 sigZ = UINT64_C( 0x2000000000000000 ) + sigA + sigB; in softfloat_addMagsF64() 99 if ( sigZ < UINT64_C( 0x4000000000000000 ) ) { in softfloat_addMagsF64()
|
A D | f128_to_i64_r_minMag.c | 66 (uiA64 == UINT64_C( 0xC03E000000000000 )) in f128_to_i64_r_minMag() 67 && (sig0 < UINT64_C( 0x0002000000000000 )) in f128_to_i64_r_minMag() 75 return UINT64_C( 0x7FFFFFFFFFFFFFFF ); in f128_to_i64_r_minMag() 80 sig64 |= UINT64_C( 0x0001000000000000 ); in f128_to_i64_r_minMag() 93 sig64 |= UINT64_C( 0x0001000000000000 ); in f128_to_i64_r_minMag()
|
A D | extF80M_to_i64_r_minMag.c | 95 if ( UINT64_C( 0x8000000000000000 ) < absZ ) goto invalid; in extF80M_to_i64_r_minMag() 99 if ( UINT64_C( 0x8000000000000000 ) <= absZ ) goto invalid; in extF80M_to_i64_r_minMag() 111 || ((exp == 0x7FFF) && (sig & UINT64_C( 0x7FFFFFFFFFFFFFFF ))) in extF80M_to_i64_r_minMag() 112 ? UINT64_C( 0x7FFFFFFFFFFFFFFF ) in extF80M_to_i64_r_minMag() 113 : -UINT64_C( 0x7FFFFFFFFFFFFFFF ) - 1; in extF80M_to_i64_r_minMag()
|
A D | extF80M_roundToInt.c | 90 if ( ! (sigA & UINT64_C( 0x8000000000000000 )) && (exp != 0x7FFF) ) { in extF80M_roundToInt() 104 if ( ! (sigA & UINT64_C( 0x7FFFFFFFFFFFFFFF )) ) break; in extF80M_roundToInt() 120 sigZ = UINT64_C( 0x8000000000000000 ); in extF80M_roundToInt() 127 if ( sigA & UINT64_C( 0x7FFFFFFFFFFFFFFF ) ) { in extF80M_roundToInt() 131 sigZ = UINT64_C( 0x8000000000000000 ); in extF80M_roundToInt() 157 sigZ = UINT64_C( 0x8000000000000000 ); in extF80M_roundToInt()
|
A D | f128M_to_i64_r_minMag.c | 80 if ( uiZ>>63 && (! sign || (uiZ != UINT64_C( 0x8000000000000000 ))) ) { in f128M_to_i64_r_minMag() 93 uiZ |= UINT64_C( 0x8000000000000000 ); in f128M_to_i64_r_minMag() 97 uiZ |= UINT64_C( 0x8000000000000000 ); in f128M_to_i64_r_minMag() 107 ? -UINT64_C( 0x7FFFFFFFFFFFFFFF ) - 1 in f128M_to_i64_r_minMag() 108 : UINT64_C( 0x7FFFFFFFFFFFFFFF ); in f128M_to_i64_r_minMag()
|
A D | extF80_roundToInt.c | 68 if ( ! (sigA & UINT64_C( 0x8000000000000000 )) && (exp != 0x7FFF) ) { in extF80_roundToInt() 82 if ( sigA & UINT64_C( 0x7FFFFFFFFFFFFFFF ) ) { in extF80_roundToInt() 88 sigZ = UINT64_C( 0x8000000000000000 ); in extF80_roundToInt() 99 if ( ! (sigA & UINT64_C( 0x7FFFFFFFFFFFFFFF )) ) break; in extF80_roundToInt() 115 sigZ = UINT64_C( 0x8000000000000000 ); in extF80_roundToInt() 137 sigZ = UINT64_C( 0x8000000000000000 ); in extF80_roundToInt()
|
A D | extF80_rem.c | 89 (sigA & UINT64_C( 0x7FFFFFFFFFFFFFFF )) in extF80_rem() 90 || ((expB == 0x7FFF) && (sigB & UINT64_C( 0x7FFFFFFFFFFFFFFF ))) in extF80_rem() 97 if ( sigB & UINT64_C( 0x7FFFFFFFFFFFFFFF ) ) goto propagateNaN; in extF80_rem() 108 if ( ! (sigB & UINT64_C( 0x8000000000000000 )) ) { in extF80_rem() 115 if ( ! (sigA & UINT64_C( 0x8000000000000000 )) ) { in extF80_rem() 153 if ( rem.v64 & UINT64_C( 0x8000000000000000 ) ) { in extF80_rem() 167 if ( rem.v64 & UINT64_C( 0x8000000000000000 ) ) { in extF80_rem() 182 } while ( ! (rem.v64 & UINT64_C( 0x8000000000000000 )) ); in extF80_rem() 186 (meanRem.v64 & UINT64_C( 0x8000000000000000 )) in extF80_rem() 192 if ( rem.v64 & UINT64_C( 0x8000000000000000 ) ) { in extF80_rem()
|
A D | f64_rem.c | 106 rem = sigA | UINT64_C( 0x0010000000000000 ); in f64_rem() 107 sigB |= UINT64_C( 0x0010000000000000 ); in f64_rem() 144 if ( rem & UINT64_C( 0x8000000000000000 ) ) rem += sigB; in f64_rem() 152 if ( rem & UINT64_C( 0x8000000000000000 ) ) { in f64_rem() 163 } while ( ! (rem & UINT64_C( 0x8000000000000000 )) ); in f64_rem() 167 (meanRem & UINT64_C( 0x8000000000000000 )) || (! meanRem && (q & 1)) in f64_rem() 172 if ( rem & UINT64_C( 0x8000000000000000 ) ) { in f64_rem()
|
A D | extF80_mul.c | 87 (sigA & UINT64_C( 0x7FFFFFFFFFFFFFFF )) in extF80_mul() 88 || ((expB == 0x7FFF) && (sigB & UINT64_C( 0x7FFFFFFFFFFFFFFF ))) in extF80_mul() 96 if ( sigB & UINT64_C( 0x7FFFFFFFFFFFFFFF ) ) goto propagateNaN; in extF80_mul() 103 if ( ! (sigA & UINT64_C( 0x8000000000000000 )) ) { in extF80_mul() 110 if ( ! (sigB & UINT64_C( 0x8000000000000000 )) ) { in extF80_mul() 120 if ( sig128Z.v64 < UINT64_C( 0x8000000000000000 ) ) { in extF80_mul() 145 uiZ0 = UINT64_C( 0x8000000000000000 ); in extF80_mul()
|
A D | s_roundPackToUI64.c | 56 doIncrement = (UINT64_C( 0x8000000000000000 ) <= sigExtra); in softfloat_roundPackToUI64() 68 (! (sigExtra & UINT64_C( 0x7FFFFFFFFFFFFFFF )) in softfloat_roundPackToUI64() 78 return UINT64_C( 0xFFFFFFFFFFFFFFFF ); in softfloat_roundPackToUI64()
|
A D | extF80_div.c | 93 if ( sigA & UINT64_C( 0x7FFFFFFFFFFFFFFF ) ) goto propagateNaN; in extF80_div() 95 if ( sigB & UINT64_C( 0x7FFFFFFFFFFFFFFF ) ) goto propagateNaN; in extF80_div() 101 if ( sigB & UINT64_C( 0x7FFFFFFFFFFFFFFF ) ) goto propagateNaN; in extF80_div() 107 if ( ! (sigB & UINT64_C( 0x8000000000000000 )) ) { in extF80_div() 118 if ( ! (sigA & UINT64_C( 0x8000000000000000 )) ) { in extF80_div() 144 if ( rem.v64 & UINT64_C( 0x8000000000000000 ) ) { in extF80_div() 157 if ( rem.v64 & UINT64_C( 0x8000000000000000 ) ) { in extF80_div() 191 uiZ0 = UINT64_C( 0x8000000000000000 ); in extF80_div()
|
A D | f64_to_ui64_r_minMag.c | 67 z = (sig | UINT64_C( 0x0010000000000000 ))<<-shiftCount; in f64_to_ui64_r_minMag() 69 sig |= UINT64_C( 0x0010000000000000 ); in f64_to_ui64_r_minMag() 78 return UINT64_C( 0xFFFFFFFFFFFFFFFF ); in f64_to_ui64_r_minMag()
|
A D | s_addExtF80M.c | 86 zSPtr->signif = UINT64_C( 0x8000000000000000 ); in softfloat_addExtF80M() 129 if ( ! (sigZ & UINT64_C( 0x8000000000000000 )) ) { in softfloat_addExtF80M() 130 if ( sigZ & UINT64_C( 0x4000000000000000 ) ) { in softfloat_addExtF80M() 140 if ( sigZ & UINT64_C( 0x8000000000000000 ) ) goto sigZ; in softfloat_addExtF80M() 168 sigZ = UINT64_C( 0x8000000000000000 ) | sigZ>>1; in softfloat_addExtF80M() 170 if ( ! (sigZ & UINT64_C( 0x8000000000000000 )) ) { in softfloat_addExtF80M()
|
A D | s_subMagsF64.c | 87 sigA += expA ? UINT64_C( 0x4000000000000000 ) : sigA; in softfloat_subMagsF64() 89 sigB |= UINT64_C( 0x4000000000000000 ); in softfloat_subMagsF64() 101 sigB += expB ? UINT64_C( 0x4000000000000000 ) : sigB; in softfloat_subMagsF64() 103 sigA |= UINT64_C( 0x4000000000000000 ); in softfloat_subMagsF64()
|
A D | s_addMagsExtF80.c | 78 if ( (sigA | sigB) & UINT64_C( 0x7FFFFFFFFFFFFFFF ) ) { in softfloat_addMagsExtF80() 100 if ( sigB & UINT64_C( 0x7FFFFFFFFFFFFFFF ) ) goto propagateNaN; in softfloat_addMagsExtF80() 116 if ( sigA & UINT64_C( 0x7FFFFFFFFFFFFFFF ) ) goto propagateNaN; in softfloat_addMagsExtF80() 133 if ( sigZ & UINT64_C( 0x8000000000000000 ) ) goto roundAndPack; in softfloat_addMagsExtF80() 138 sigZ = sig64Extra.v | UINT64_C( 0x8000000000000000 ); in softfloat_addMagsExtF80()
|
/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/source/include/ |
A D | internals.h | 109 #define fracF64UI( a ) ((a) & UINT64_C( 0x000FFFFFFFFFFFFF )) 112 #define isNaNF64UI( a ) ((((a) & UINT64_C( 0x7FF0000000000000 )) == UINT64_C( 0x7FF0000000000000 ))… 132 #define isNaNExtF80UI( a64, a0 ) ((((a64) & 0x7FFF) == 0x7FFF) && ((a0) & UINT64_C( 0x7FFFFFFFFFFFF… 160 #define fracF128UI64( a64 ) ((a64) & UINT64_C( 0x0000FFFFFFFFFFFF )) 163 …F128UI( a64, a0 ) ((((a64) & UINT64_C( 0x7FFF000000000000 )) == UINT64_C( 0x7FFF000000000000 )) &&…
|