/optee_os/lib/libutils/isoc/arch/arm/softfloat/source/ |
A D | extF80M_to_f128M.c | 59 uint32_t *zWPtr; in extF80M_to_f128M() local 70 zWPtr = (uint32_t *) zPtr; in extF80M_to_f128M() 79 zWPtr[indexWord( 4, 0 )] = 0; in extF80M_to_f128M() 101 zWPtr[indexWord( 4, 1 )] = (uint32_t) sig<<17; in extF80M_to_f128M() 103 zWPtr[indexWord( 4, 2 )] = sig; in extF80M_to_f128M() 105 zWPtr[indexWordHi( 4 )] = sig>>32; in extF80M_to_f128M() 107 &zWPtr[indexMultiwordHi( 4, 3 )], in extF80M_to_f128M() 109 &zWPtr[indexMultiwordHi( 4, 3 )] in extF80M_to_f128M() 119 zWPtr[indexWord( 4, 3 )] = uiZ96; in extF80M_to_f128M() 120 zWPtr[indexWord( 4, 2 )] = 0; in extF80M_to_f128M() [all …]
|
A D | s_roundPackMToF128M.c | 113 zWPtr[indexWordHi( 4 )] = ui; in softfloat_roundPackMToF128M() 114 zWPtr[indexWord( 4, 2 )] = uj; in softfloat_roundPackMToF128M() 115 zWPtr[indexWord( 4, 1 )] = uj; in softfloat_roundPackMToF128M() 116 zWPtr[indexWord( 4, 0 )] = uj; in softfloat_roundPackMToF128M() 128 zWPtr[indexWord( 4, 0 )] = uj; in softfloat_roundPackMToF128M() 131 zWPtr[indexWord( 4, 0 )] = uj; in softfloat_roundPackMToF128M() 133 zWPtr[indexWord( 4, 1 )] = ui; in softfloat_roundPackMToF128M() 136 zWPtr[indexWord( 4, 2 )] = uj; in softfloat_roundPackMToF128M() 146 zWPtr[indexWord( 4, 0 )] = uj; in softfloat_roundPackMToF128M() 148 zWPtr[indexWord( 4, 1 )] = ui; in softfloat_roundPackMToF128M() [all …]
|
A D | f128M_roundToInt.c | 71 uint32_t *zWPtr; in f128M_roundToInt() local 87 zWPtr = (uint32_t *) zPtr; in f128M_roundToInt() 95 zWPtr[indexWord( 4, 2 )] = 0; in f128M_roundToInt() 96 zWPtr[indexWord( 4, 1 )] = 0; in f128M_roundToInt() 97 zWPtr[indexWord( 4, 0 )] = 0; in f128M_roundToInt() 155 zWPtr[index] = 0; in f128M_roundToInt() 170 zWPtr[index] = wordZ; in f128M_roundToInt() 174 zWPtr[index] = wordZ & ~1; in f128M_roundToInt() 194 zWPtr[index] = wordZ; in f128M_roundToInt() 199 zWPtr[index] = wordZ; in f128M_roundToInt() [all …]
|
A D | f64_to_f128M.c | 58 uint32_t *zWPtr; in f64_to_f128M() local 70 zWPtr = (uint32_t *) zPtr; in f64_to_f128M() 80 zWPtr[indexWord( 4, 0 )] = 0; in f64_to_f128M() 84 softfloat_commonNaNToF128M( &commonNaN, zWPtr ); in f64_to_f128M() 103 zWPtr[indexWord( 4, 1 )] = (uint32_t) sig<<28; in f64_to_f128M() 105 zWPtr[indexWordHi( 4 )] = packToF128UI96( sign, exp + 0x3C00, sig>>32 ); in f64_to_f128M() 106 zWPtr[indexWord( 4, 2 )] = sig; in f64_to_f128M() 111 zWPtr[indexWord( 4, 3 )] = uiZ96; in f64_to_f128M() 112 zWPtr[indexWord( 4, 2 )] = 0; in f64_to_f128M() 113 zWPtr[indexWord( 4, 1 )] = 0; in f64_to_f128M()
|
A D | s_addF128M.c | 49 uint32_t *zWPtr, in softfloat_addF128M() argument 83 if ( softfloat_tryPropagateNaNF128M( aWPtr, bWPtr, zWPtr ) ) return; in softfloat_addF128M() 88 softfloat_invalidF128M( zWPtr ); in softfloat_addF128M() 92 zWPtr[indexWordHi( 4 )] = uiZ96; in softfloat_addF128M() 93 zWPtr[indexWord( 4, 2 )] = 0; in softfloat_addF128M() 94 zWPtr[indexWord( 4, 1 )] = 0; in softfloat_addF128M() 95 zWPtr[indexWord( 4, 0 )] = 0; in softfloat_addF128M() 188 zWPtr[indexWord( 4, 2 )] = 0; in softfloat_addF128M() 189 zWPtr[indexWord( 4, 1 )] = 0; in softfloat_addF128M() 190 zWPtr[indexWord( 4, 0 )] = 0; in softfloat_addF128M() [all …]
|
A D | ui64_to_f128M.c | 56 uint32_t *zWPtr, uiZ96, uiZ64; in ui64_to_f128M() local 60 zWPtr = (uint32_t *) zPtr; in ui64_to_f128M() 63 zWPtr[indexWord( 4, 1 )] = 0; in ui64_to_f128M() 64 zWPtr[indexWord( 4, 0 )] = 0; in ui64_to_f128M() 68 ptr = zWPtr + indexMultiwordHi( 4, 3 ); in ui64_to_f128M() 82 zWPtr[indexWord( 4, 3 )] = uiZ96; in ui64_to_f128M() 83 zWPtr[indexWord( 4, 2 )] = uiZ64; in ui64_to_f128M()
|
A D | i64_to_f128M.c | 56 uint32_t *zWPtr; in i64_to_f128M() local 63 zWPtr = (uint32_t *) zPtr; in i64_to_f128M() 66 zWPtr[indexWord( 4, 1 )] = 0; in i64_to_f128M() 67 zWPtr[indexWord( 4, 0 )] = 0; in i64_to_f128M() 73 ptr = zWPtr + indexMultiwordHi( 4, 3 ); in i64_to_f128M() 87 zWPtr[indexWord( 4, 3 )] = uiZ96; in i64_to_f128M() 88 zWPtr[indexWord( 4, 2 )] = uiZ64; in i64_to_f128M()
|
A D | s_normRoundPackMToF128M.c | 45 bool sign, int32_t exp, uint32_t *extSigPtr, uint32_t *zWPtr ) in softfloat_normRoundPackMToF128M() argument 58 zWPtr[indexWordHi( 4 )] = packToF128UI96( sign, 0, 0 ); in softfloat_normRoundPackMToF128M() 59 zWPtr[indexWord( 4, 2 )] = 0; in softfloat_normRoundPackMToF128M() 60 zWPtr[indexWord( 4, 1 )] = 0; in softfloat_normRoundPackMToF128M() 61 zWPtr[indexWord( 4, 0 )] = 0; in softfloat_normRoundPackMToF128M() 71 softfloat_roundPackMToF128M( sign, exp, extSigPtr, zWPtr ); in softfloat_normRoundPackMToF128M()
|
A D | ui32_to_f128M.c | 56 uint32_t *zWPtr, uiZ96, uiZ64; in ui32_to_f128M() local 60 zWPtr = (uint32_t *) zPtr; in ui32_to_f128M() 69 zWPtr[indexWord( 4, 3 )] = uiZ96; in ui32_to_f128M() 70 zWPtr[indexWord( 4, 2 )] = uiZ64; in ui32_to_f128M() 71 zWPtr[indexWord( 4, 1 )] = 0; in ui32_to_f128M() 72 zWPtr[indexWord( 4, 0 )] = 0; in ui32_to_f128M()
|
A D | f32_to_f128M.c | 58 uint32_t *zWPtr; in f32_to_f128M() local 69 zWPtr = (uint32_t *) zPtr; in f32_to_f128M() 79 softfloat_commonNaNToF128M( &commonNaN, zWPtr ); in f32_to_f128M() 98 zWPtr[indexWord( 4, 3 )] = uiZ96; in f32_to_f128M() 99 zWPtr[indexWord( 4, 2 )] = uiZ64; in f32_to_f128M() 100 zWPtr[indexWord( 4, 1 )] = 0; in f32_to_f128M() 101 zWPtr[indexWord( 4, 0 )] = 0; in f32_to_f128M()
|
A D | f128M_mul.c | 61 uint32_t *zWPtr; in f128M_mul() local 78 zWPtr = (uint32_t *) zPtr; in f128M_mul() 89 if ( softfloat_tryPropagateNaNF128M( aWPtr, bWPtr, zWPtr ) ) return; in f128M_mul() 100 softfloat_invalidF128M( zWPtr ); in f128M_mul() 144 softfloat_roundPackMToF128M( signZ, expZ, extSigZPtr, zWPtr ); in f128M_mul() 151 zWPtr[indexWordHi( 4 )] = uiZ96; in f128M_mul() 152 zWPtr[indexWord( 4, 2 )] = 0; in f128M_mul() 153 zWPtr[indexWord( 4, 1 )] = 0; in f128M_mul() 154 zWPtr[indexWord( 4, 0 )] = 0; in f128M_mul()
|
A D | s_invalidF128M.c | 44 void softfloat_invalidF128M( uint32_t *zWPtr ) in softfloat_invalidF128M() argument 48 zWPtr[indexWord( 4, 3 )] = defaultNaNF128UI96; in softfloat_invalidF128M() 49 zWPtr[indexWord( 4, 2 )] = defaultNaNF128UI64; in softfloat_invalidF128M() 50 zWPtr[indexWord( 4, 1 )] = defaultNaNF128UI32; in softfloat_invalidF128M() 51 zWPtr[indexWord( 4, 0 )] = defaultNaNF128UI0; in softfloat_invalidF128M()
|
A D | i32_to_f128M.c | 56 uint32_t *zWPtr; in i32_to_f128M() local 63 zWPtr = (uint32_t *) zPtr; in i32_to_f128M() 74 zWPtr[indexWord( 4, 3 )] = uiZ96; in i32_to_f128M() 75 zWPtr[indexWord( 4, 2 )] = uiZ64; in i32_to_f128M() 76 zWPtr[indexWord( 4, 1 )] = 0; in i32_to_f128M() 77 zWPtr[indexWord( 4, 0 )] = 0; in i32_to_f128M()
|
A D | s_mulAddF128M.c | 50 uint32_t *zWPtr, in softfloat_mulAddF128M() argument 122 zWPtr[indexWordHi( 4 )] = 0; in softfloat_mulAddF128M() 342 softfloat_invalidF128M( zWPtr ); in softfloat_mulAddF128M() 344 softfloat_propagateNaNF128M( zWPtr, cWPtr, zWPtr ); in softfloat_mulAddF128M() 357 zWPtr[indexWordHi( 4 )] = uiC96; in softfloat_mulAddF128M() 358 zWPtr[indexWord( 4, 2 )] = cWPtr[indexWord( 4, 2 )]; in softfloat_mulAddF128M() 359 zWPtr[indexWord( 4, 1 )] = cWPtr[indexWord( 4, 1 )]; in softfloat_mulAddF128M() 377 zWPtr[indexWordHi( 4 )] = uiZ96; in softfloat_mulAddF128M() 378 zWPtr[indexWord( 4, 2 )] = 0; in softfloat_mulAddF128M() 379 zWPtr[indexWord( 4, 1 )] = 0; in softfloat_mulAddF128M() [all …]
|
A D | f128M_div.c | 61 uint32_t *zWPtr, uiA96; in f128M_div() local 79 zWPtr = (uint32_t *) zPtr; in f128M_div() 92 if ( softfloat_tryPropagateNaNF128M( aWPtr, bWPtr, zWPtr ) ) return; in f128M_div() 165 softfloat_roundPackMToF128M( signZ, expZ, y, zWPtr ); in f128M_div() 170 softfloat_invalidF128M( zWPtr ); in f128M_div() 180 zWPtr[indexWordHi( 4 )] = uiZ96; in f128M_div() 181 zWPtr[indexWord( 4, 2 )] = 0; in f128M_div() 182 zWPtr[indexWord( 4, 1 )] = 0; in f128M_div() 183 zWPtr[indexWord( 4, 0 )] = 0; in f128M_div()
|
A D | f128M_rem.c | 61 uint32_t *zWPtr, uiA96; in f128M_rem() local 74 zWPtr = (uint32_t *) zPtr; in f128M_rem() 83 if ( softfloat_tryPropagateNaNF128M( aWPtr, bWPtr, zWPtr ) ) return; in f128M_rem() 165 softfloat_normRoundPackMToF128M( signRem, expB + 18, remPtr, zWPtr ); in f128M_rem() 170 softfloat_invalidF128M( zWPtr ); in f128M_rem() 175 zWPtr[indexWordHi( 4 )] = uiA96; in f128M_rem() 176 zWPtr[indexWord( 4, 2 )] = aWPtr[indexWord( 4, 2 )]; in f128M_rem() 177 zWPtr[indexWord( 4, 1 )] = aWPtr[indexWord( 4, 1 )]; in f128M_rem() 178 zWPtr[indexWord( 4, 0 )] = aWPtr[indexWord( 4, 0 )]; in f128M_rem()
|
A D | f128M_sqrt.c | 59 uint32_t *zWPtr; in f128M_sqrt() local 73 zWPtr = (uint32_t *) zPtr; in f128M_sqrt() 87 softfloat_propagateNaNF128M( aWPtr, 0, zWPtr ); in f128M_sqrt() 199 softfloat_roundPackMToF128M( 0, expZ, y, zWPtr ); in f128M_sqrt() 204 softfloat_invalidF128M( zWPtr ); in f128M_sqrt() 209 zWPtr[indexWordHi( 4 )] = uiA96; in f128M_sqrt() 210 zWPtr[indexWord( 4, 2 )] = aWPtr[indexWord( 4, 2 )]; in f128M_sqrt() 211 zWPtr[indexWord( 4, 1 )] = aWPtr[indexWord( 4, 1 )]; in f128M_sqrt() 212 zWPtr[indexWord( 4, 0 )] = aWPtr[indexWord( 4, 0 )]; in f128M_sqrt()
|
A D | s_tryPropagateNaNF128M.c | 46 const uint32_t *aWPtr, const uint32_t *bWPtr, uint32_t *zWPtr ) in softfloat_tryPropagateNaNF128M() argument 50 softfloat_propagateNaNF128M( aWPtr, bWPtr, zWPtr ); in softfloat_tryPropagateNaNF128M()
|
/optee_os/lib/libutils/isoc/arch/arm/softfloat/source/8086-SSE/ |
A D | s_propagateNaNF128M.c | 55 const uint32_t *aWPtr, const uint32_t *bWPtr, uint32_t *zWPtr ) in softfloat_propagateNaNF128M() argument 71 zWPtr[indexWordHi( 4 )] = ptr[indexWordHi( 4 )] | 0x00008000; in softfloat_propagateNaNF128M() 72 zWPtr[indexWord( 4, 2 )] = ptr[indexWord( 4, 2 )]; in softfloat_propagateNaNF128M() 73 zWPtr[indexWord( 4, 1 )] = ptr[indexWord( 4, 1 )]; in softfloat_propagateNaNF128M() 74 zWPtr[indexWord( 4, 0 )] = ptr[indexWord( 4, 0 )]; in softfloat_propagateNaNF128M()
|
A D | s_commonNaNToF128M.c | 50 softfloat_commonNaNToF128M( const struct commonNaN *aPtr, uint32_t *zWPtr ) in softfloat_commonNaNToF128M() argument 53 softfloat_shortShiftRight128M( (const uint32_t *) &aPtr->v0, 16, zWPtr ); in softfloat_commonNaNToF128M() 54 zWPtr[indexWordHi( 4 )] |= (uint32_t) aPtr->sign<<31 | 0x7FFF8000; in softfloat_commonNaNToF128M()
|
A D | specialize.h | 302 softfloat_commonNaNToF128M( const struct commonNaN *aPtr, uint32_t *zWPtr ); 314 const uint32_t *aWPtr, const uint32_t *bWPtr, uint32_t *zWPtr );
|
/optee_os/lib/libutils/isoc/arch/arm/softfloat/source/8086/ |
A D | s_propagateNaNF128M.c | 55 const uint32_t *aWPtr, const uint32_t *bWPtr, uint32_t *zWPtr ) in softfloat_propagateNaNF128M() argument 103 zWPtr[indexWordHi( 4 )] = ptr[indexWordHi( 4 )] | 0x00008000; in softfloat_propagateNaNF128M() 104 zWPtr[indexWord( 4, 2 )] = ptr[indexWord( 4, 2 )]; in softfloat_propagateNaNF128M() 105 zWPtr[indexWord( 4, 1 )] = ptr[indexWord( 4, 1 )]; in softfloat_propagateNaNF128M() 106 zWPtr[indexWord( 4, 0 )] = ptr[indexWord( 4, 0 )]; in softfloat_propagateNaNF128M()
|
A D | s_commonNaNToF128M.c | 50 softfloat_commonNaNToF128M( const struct commonNaN *aPtr, uint32_t *zWPtr ) in softfloat_commonNaNToF128M() argument 53 softfloat_shortShiftRight128M( (const uint32_t *) &aPtr->v0, 16, zWPtr ); in softfloat_commonNaNToF128M() 54 zWPtr[indexWordHi( 4 )] |= (uint32_t) aPtr->sign<<31 | 0x7FFF8000; in softfloat_commonNaNToF128M()
|
A D | specialize.h | 302 softfloat_commonNaNToF128M( const struct commonNaN *aPtr, uint32_t *zWPtr ); 314 const uint32_t *aWPtr, const uint32_t *bWPtr, uint32_t *zWPtr );
|