Home
last modified time | relevance | path

Searched refs:uiA (Results 1 – 25 of 70) sorted by relevance

123

/optee_os/lib/libutils/isoc/arch/arm/softfloat/source/
A Df32_roundToInt.c48 uint_fast32_t uiA; in f32_roundToInt() local
56 uiA = uA.ui; in f32_roundToInt()
57 exp = expF32UI( uiA ); in f32_roundToInt()
61 if ( ! (uint32_t) (uiA<<1) ) return a; in f32_roundToInt()
63 uiZ = uiA & packToF32UI( 1, 0, 0 ); in f32_roundToInt()
66 if ( ! fracF32UI( uiA ) ) break; in f32_roundToInt()
82 if ( (exp == 0xFF) && fracF32UI( uiA ) ) { in f32_roundToInt()
83 uiZ = softfloat_propagateNaNF32UI( uiA, 0 ); in f32_roundToInt()
90 uiZ = uiA; in f32_roundToInt()
104 if ( exact && (uiZ != uiA) ) { in f32_roundToInt()
A Df64_roundToInt.c48 uint_fast64_t uiA; in f64_roundToInt() local
56 uiA = uA.ui; in f64_roundToInt()
57 exp = expF64UI( uiA ); in f64_roundToInt()
61 if ( ! (uiA & UINT64_C( 0x7FFFFFFFFFFFFFFF )) ) return a; in f64_roundToInt()
63 uiZ = uiA & packToF64UI( 1, 0, 0 ); in f64_roundToInt()
66 if ( ! fracF64UI( uiA ) ) break; in f64_roundToInt()
82 if ( (exp == 0x7FF) && fracF64UI( uiA ) ) { in f64_roundToInt()
83 uiZ = softfloat_propagateNaNF64UI( uiA, 0 ); in f64_roundToInt()
90 uiZ = uiA; in f64_roundToInt()
104 if ( exact && (uiZ != uiA) ) { in f64_roundToInt()
A Df32_le_quiet.c48 uint_fast32_t uiA; in f32_le_quiet() local
54 uiA = uA.ui; in f32_le_quiet()
57 if ( isNaNF32UI( uiA ) || isNaNF32UI( uiB ) ) { in f32_le_quiet()
59 softfloat_isSigNaNF32UI( uiA ) || softfloat_isSigNaNF32UI( uiB ) in f32_le_quiet()
65 signA = signF32UI( uiA ); in f32_le_quiet()
68 (signA != signB) ? signA || ! (uint32_t) ((uiA | uiB)<<1) in f32_le_quiet()
69 : (uiA == uiB) || (signA ^ (uiA < uiB)); in f32_le_quiet()
A Df32_lt_quiet.c48 uint_fast32_t uiA; in f32_lt_quiet() local
54 uiA = uA.ui; in f32_lt_quiet()
57 if ( isNaNF32UI( uiA ) || isNaNF32UI( uiB ) ) { in f32_lt_quiet()
59 softfloat_isSigNaNF32UI( uiA ) || softfloat_isSigNaNF32UI( uiB ) in f32_lt_quiet()
65 signA = signF32UI( uiA ); in f32_lt_quiet()
68 (signA != signB) ? signA && ((uint32_t) ((uiA | uiB)<<1) != 0) in f32_lt_quiet()
69 : (uiA != uiB) && (signA ^ (uiA < uiB)); in f32_lt_quiet()
A Df64_le_quiet.c48 uint_fast64_t uiA; in f64_le_quiet() local
54 uiA = uA.ui; in f64_le_quiet()
57 if ( isNaNF64UI( uiA ) || isNaNF64UI( uiB ) ) { in f64_le_quiet()
59 softfloat_isSigNaNF64UI( uiA ) || softfloat_isSigNaNF64UI( uiB ) in f64_le_quiet()
65 signA = signF64UI( uiA ); in f64_le_quiet()
69 ? signA || ! ((uiA | uiB) & UINT64_C( 0x7FFFFFFFFFFFFFFF )) in f64_le_quiet()
70 : (uiA == uiB) || (signA ^ (uiA < uiB)); in f64_le_quiet()
A Df64_lt_quiet.c48 uint_fast64_t uiA; in f64_lt_quiet() local
54 uiA = uA.ui; in f64_lt_quiet()
57 if ( isNaNF64UI( uiA ) || isNaNF64UI( uiB ) ) { in f64_lt_quiet()
59 softfloat_isSigNaNF64UI( uiA ) || softfloat_isSigNaNF64UI( uiB ) in f64_lt_quiet()
65 signA = signF64UI( uiA ); in f64_lt_quiet()
69 ? signA && ((uiA | uiB) & UINT64_C( 0x7FFFFFFFFFFFFFFF )) in f64_lt_quiet()
70 : (uiA != uiB) && (signA ^ (uiA < uiB)); in f64_lt_quiet()
A Df32_to_ui64.c49 uint_fast32_t uiA; in f32_to_ui64() local
58 uiA = uA.ui; in f32_to_ui64()
59 sign = signF32UI( uiA ); in f32_to_ui64()
60 exp = expF32UI( uiA ); in f32_to_ui64()
61 sig = fracF32UI( uiA ); in f32_to_ui64()
85 uint32_t uiA; in f32_to_ui64() local
93 uiA = uA.ui; in f32_to_ui64()
94 sign = signF32UI( uiA ); in f32_to_ui64()
95 exp = expF32UI( uiA ); in f32_to_ui64()
96 sig = fracF32UI( uiA ); in f32_to_ui64()
A Df32_le.c47 uint_fast32_t uiA; in f32_le() local
53 uiA = uA.ui; in f32_le()
56 if ( isNaNF32UI( uiA ) || isNaNF32UI( uiB ) ) { in f32_le()
60 signA = signF32UI( uiA ); in f32_le()
63 (signA != signB) ? signA || ! (uint32_t) ((uiA | uiB)<<1) in f32_le()
64 : (uiA == uiB) || (signA ^ (uiA < uiB)); in f32_le()
A Df32_lt.c47 uint_fast32_t uiA; in f32_lt() local
53 uiA = uA.ui; in f32_lt()
56 if ( isNaNF32UI( uiA ) || isNaNF32UI( uiB ) ) { in f32_lt()
60 signA = signF32UI( uiA ); in f32_lt()
63 (signA != signB) ? signA && ((uint32_t) ((uiA | uiB)<<1) != 0) in f32_lt()
64 : (uiA != uiB) && (signA ^ (uiA < uiB)); in f32_lt()
A Df64_le.c47 uint_fast64_t uiA; in f64_le() local
53 uiA = uA.ui; in f64_le()
56 if ( isNaNF64UI( uiA ) || isNaNF64UI( uiB ) ) { in f64_le()
60 signA = signF64UI( uiA ); in f64_le()
64 ? signA || ! ((uiA | uiB) & UINT64_C( 0x7FFFFFFFFFFFFFFF )) in f64_le()
65 : (uiA == uiB) || (signA ^ (uiA < uiB)); in f64_le()
A Df64_lt.c47 uint_fast64_t uiA; in f64_lt() local
53 uiA = uA.ui; in f64_lt()
56 if ( isNaNF64UI( uiA ) || isNaNF64UI( uiB ) ) { in f64_lt()
60 signA = signF64UI( uiA ); in f64_lt()
64 ? signA && ((uiA | uiB) & UINT64_C( 0x7FFFFFFFFFFFFFFF )) in f64_lt()
65 : (uiA != uiB) && (signA ^ (uiA < uiB)); in f64_lt()
A Df32_eq.c48 uint_fast32_t uiA; in f32_eq() local
53 uiA = uA.ui; in f32_eq()
56 if ( isNaNF32UI( uiA ) || isNaNF32UI( uiB ) ) { in f32_eq()
58 softfloat_isSigNaNF32UI( uiA ) || softfloat_isSigNaNF32UI( uiB ) in f32_eq()
64 return (uiA == uiB) || ! (uint32_t) ((uiA | uiB)<<1); in f32_eq()
A Df64_eq.c48 uint_fast64_t uiA; in f64_eq() local
53 uiA = uA.ui; in f64_eq()
56 if ( isNaNF64UI( uiA ) || isNaNF64UI( uiB ) ) { in f64_eq()
58 softfloat_isSigNaNF64UI( uiA ) || softfloat_isSigNaNF64UI( uiB ) in f64_eq()
64 return (uiA == uiB) || ! ((uiA | uiB) & UINT64_C( 0x7FFFFFFFFFFFFFFF )); in f64_eq()
A Df64_add.c47 uint_fast64_t uiA; in f64_add() local
57 uiA = uA.ui; in f64_add()
58 signA = signF64UI( uiA ); in f64_add()
64 return softfloat_addMagsF64( uiA, uiB, signA ); in f64_add()
66 return softfloat_subMagsF64( uiA, uiB, signA ); in f64_add()
71 return (*magsFuncPtr)( uiA, uiB, signA ); in f64_add()
A Df64_sub.c47 uint_fast64_t uiA; in f64_sub() local
57 uiA = uA.ui; in f64_sub()
58 signA = signF64UI( uiA ); in f64_sub()
64 return softfloat_subMagsF64( uiA, uiB, signA ); in f64_sub()
66 return softfloat_addMagsF64( uiA, uiB, signA ); in f64_sub()
71 return (*magsFuncPtr)( uiA, uiB, signA ); in f64_sub()
A Df32_add.c47 uint_fast32_t uiA; in f32_add() local
57 uiA = uA.ui; in f32_add()
58 signA = signF32UI( uiA ); in f32_add()
64 return softfloat_addMagsF32( uiA, uiB, signA ); in f32_add()
66 return softfloat_subMagsF32( uiA, uiB, signA ); in f32_add()
71 return (*magsFuncPtr)( uiA, uiB, signA ); in f32_add()
A Df32_sub.c47 uint_fast32_t uiA; in f32_sub() local
57 uiA = uA.ui; in f32_sub()
58 signA = signF32UI( uiA ); in f32_sub()
64 return softfloat_subMagsF32( uiA, uiB, signA ); in f32_sub()
66 return softfloat_addMagsF32( uiA, uiB, signA ); in f32_sub()
71 return (*magsFuncPtr)( uiA, uiB, signA ); in f32_sub()
A Df64_to_f32.c48 uint_fast64_t uiA; in f64_to_f32() local
57 uiA = uA.ui; in f64_to_f32()
58 sign = signF64UI( uiA ); in f64_to_f32()
59 exp = expF64UI( uiA ); in f64_to_f32()
60 sig = fracF64UI( uiA ); in f64_to_f32()
63 softfloat_f64UIToCommonNaN( uiA, &commonNaN ); in f64_to_f32()
A Df32_to_i32_r_minMag.c47 uint_fast32_t uiA; in f32_to_i32_r_minMag() local
55 uiA = uA.ui; in f32_to_i32_r_minMag()
56 exp = expF32UI( uiA ); in f32_to_i32_r_minMag()
57 sig = fracF32UI( uiA ); in f32_to_i32_r_minMag()
65 sign = signF32UI( uiA ); in f32_to_i32_r_minMag()
67 if ( uiA != packToF32UI( 1, 0x9E, 0 ) ) { in f32_to_i32_r_minMag()
A Ds_addMagsF32.c45 softfloat_addMagsF32( uint_fast32_t uiA, uint_fast32_t uiB, bool signZ ) in softfloat_addMagsF32() argument
57 expA = expF32UI( uiA ); in softfloat_addMagsF32()
58 sigA = fracF32UI( uiA ); in softfloat_addMagsF32()
67 uiZ = uiA; in softfloat_addMagsF32()
71 uiZ = packToF32UI( signZ, 0, (uiA + uiB) & 0x7FFFFFFF ); in softfloat_addMagsF32()
89 uiZ = uiA; in softfloat_addMagsF32()
104 uiZ = softfloat_propagateNaNF32UI( uiA, uiB ); in softfloat_addMagsF32()
A Df64_to_i64_r_minMag.c47 uint_fast64_t uiA; in f64_to_i64_r_minMag() local
55 uiA = uA.ui; in f64_to_i64_r_minMag()
56 sign = signF64UI( uiA ); in f64_to_i64_r_minMag()
57 exp = expF64UI( uiA ); in f64_to_i64_r_minMag()
58 sig = fracF64UI( uiA ); in f64_to_i64_r_minMag()
62 if ( uiA != packToF64UI( 1, 0x43E, 0 ) ) { in f64_to_i64_r_minMag()
/optee_os/lib/libutils/isoc/arch/arm/softfloat/source/8086/
A Dspecialize.h73 #define softfloat_isSigNaNF32UI( uiA ) ((((uiA) & 0x7FC00000) == 0x7F800000) && ((uiA) & 0x003FFFFF… argument
81 void softfloat_f32UIToCommonNaN( uint_fast32_t uiA, struct commonNaN *zPtr );
96 softfloat_propagateNaNF32UI( uint_fast32_t uiA, uint_fast32_t uiB );
108 …fine softfloat_isSigNaNF64UI( uiA ) ((((uiA) & UINT64_C( 0x7FF8000000000000 )) == UINT64_C( 0x7FF0… argument
116 void softfloat_f64UIToCommonNaN( uint_fast64_t uiA, struct commonNaN *zPtr );
131 softfloat_propagateNaNF64UI( uint_fast64_t uiA, uint_fast64_t uiB );
/optee_os/lib/libutils/isoc/arch/arm/softfloat/source/8086-SSE/
A Dspecialize.h73 #define softfloat_isSigNaNF32UI( uiA ) ((((uiA) & 0x7FC00000) == 0x7F800000) && ((uiA) & 0x003FFFFF… argument
81 void softfloat_f32UIToCommonNaN( uint_fast32_t uiA, struct commonNaN *zPtr );
96 softfloat_propagateNaNF32UI( uint_fast32_t uiA, uint_fast32_t uiB );
108 …fine softfloat_isSigNaNF64UI( uiA ) ((((uiA) & UINT64_C( 0x7FF8000000000000 )) == UINT64_C( 0x7FF0… argument
116 void softfloat_f64UIToCommonNaN( uint_fast64_t uiA, struct commonNaN *zPtr );
131 softfloat_propagateNaNF64UI( uint_fast64_t uiA, uint_fast64_t uiB );
A Ds_propagateNaNF32UI.c52 softfloat_propagateNaNF32UI( uint_fast32_t uiA, uint_fast32_t uiB ) in softfloat_propagateNaNF32UI() argument
56 isSigNaNA = softfloat_isSigNaNF32UI( uiA ); in softfloat_propagateNaNF32UI()
59 if ( isSigNaNA ) return uiA | 0x00400000; in softfloat_propagateNaNF32UI()
61 return (isNaNF32UI( uiA ) ? uiA : uiB) | 0x00400000; in softfloat_propagateNaNF32UI()
A Ds_propagateNaNF64UI.c52 softfloat_propagateNaNF64UI( uint_fast64_t uiA, uint_fast64_t uiB ) in softfloat_propagateNaNF64UI() argument
56 isSigNaNA = softfloat_isSigNaNF64UI( uiA ); in softfloat_propagateNaNF64UI()
59 if ( isSigNaNA ) return uiA | UINT64_C( 0x0008000000000000 ); in softfloat_propagateNaNF64UI()
61 return (isNaNF64UI( uiA ) ? uiA : uiB) | UINT64_C( 0x0008000000000000 ); in softfloat_propagateNaNF64UI()

Completed in 16 milliseconds

123