/optee_os/lib/libutils/isoc/arch/arm/softfloat/source/ |
A D | f128_roundToInt.c | 51 struct uint128 uiZ; in f128_roundToInt() local 93 uiZ = softfloat_add128( uiZ.v64, uiZ.v0, 0, lastBitMask>>1 ); in f128_roundToInt() 102 uiZ = softfloat_add128( uiZ.v64, uiZ.v0, 0, roundBitsMask ); in f128_roundToInt() 123 if ( uiZ.v64 ) uiZ.v64 = packToF128UI64( 1, 0x3FFF, 0 ); in f128_roundToInt() 126 if ( ! uiZ.v64 ) uiZ.v64 = packToF128UI64( 0, 0x3FFF, 0 ); in f128_roundToInt() 129 goto uiZ; in f128_roundToInt() 134 uiZ.v0 = 0; in f128_roundToInt() 148 uiZ.v64 = (uiZ.v64 | (uiA0 != 0)) + roundBitsMask; in f128_roundToInt() 153 if ( exact && ((uiZ.v64 != uiA64) || (uiZ.v0 != uiA0)) ) { in f128_roundToInt() 156 uiZ: in f128_roundToInt() [all …]
|
A D | f32_roundToInt.c | 71 if ( uiZ ) uiZ = packToF32UI( 1, 0x7F, 0 ); in f32_roundToInt() 74 if ( ! uiZ ) uiZ = packToF32UI( 0, 0x7F, 0 ); in f32_roundToInt() 77 goto uiZ; in f32_roundToInt() 84 goto uiZ; in f32_roundToInt() 90 uiZ = uiA; in f32_roundToInt() 94 uiZ += lastBitMask>>1; in f32_roundToInt() 96 uiZ += lastBitMask>>1; in f32_roundToInt() 97 if ( ! (uiZ & roundBitsMask) ) uiZ &= ~lastBitMask; in f32_roundToInt() 103 uiZ &= ~roundBitsMask; in f32_roundToInt() 107 uiZ: in f32_roundToInt() [all …]
|
A D | f64_roundToInt.c | 71 if ( uiZ ) uiZ = packToF64UI( 1, 0x3FF, 0 ); in f64_roundToInt() 74 if ( ! uiZ ) uiZ = packToF64UI( 0, 0x3FF, 0 ); in f64_roundToInt() 77 goto uiZ; in f64_roundToInt() 84 goto uiZ; in f64_roundToInt() 90 uiZ = uiA; in f64_roundToInt() 94 uiZ += lastBitMask>>1; in f64_roundToInt() 96 uiZ += lastBitMask>>1; in f64_roundToInt() 97 if ( ! (uiZ & roundBitsMask) ) uiZ &= ~lastBitMask; in f64_roundToInt() 103 uiZ &= ~roundBitsMask; in f64_roundToInt() 107 uiZ: in f64_roundToInt() [all …]
|
A D | f32_to_f128.c | 53 struct uint128 uiZ; in f32_to_f128() local 65 uiZ = softfloat_commonNaNToF128UI( &commonNaN ); in f32_to_f128() 67 uiZ.v64 = packToF128UI64( sign, 0x7FFF, 0 ); in f32_to_f128() 68 uiZ.v0 = 0; in f32_to_f128() 70 goto uiZ; in f32_to_f128() 74 uiZ.v64 = packToF128UI64( sign, 0, 0 ); in f32_to_f128() 75 uiZ.v0 = 0; in f32_to_f128() 76 goto uiZ; in f32_to_f128() 83 uiZ.v0 = 0; in f32_to_f128() 84 uiZ: in f32_to_f128() [all …]
|
A D | f64_to_f128.c | 53 struct uint128 uiZ; in f64_to_f128() local 66 uiZ = softfloat_commonNaNToF128UI( &commonNaN ); in f64_to_f128() 68 uiZ.v64 = packToF128UI64( sign, 0x7FFF, 0 ); in f64_to_f128() 69 uiZ.v0 = 0; in f64_to_f128() 71 goto uiZ; in f64_to_f128() 75 uiZ.v64 = packToF128UI64( sign, 0, 0 ); in f64_to_f128() 76 uiZ.v0 = 0; in f64_to_f128() 77 goto uiZ; in f64_to_f128() 85 uiZ.v0 = sig128.v0; in f64_to_f128() 86 uiZ: in f64_to_f128() [all …]
|
A D | s_addMagsF128.c | 58 struct uint128 uiZ, sigZ; in softfloat_addMagsF128() local 74 uiZ.v64 = uiA64; in softfloat_addMagsF128() 75 uiZ.v0 = uiA0; in softfloat_addMagsF128() 76 goto uiZ; in softfloat_addMagsF128() 82 goto uiZ; in softfloat_addMagsF128() 93 uiZ.v0 = 0; in softfloat_addMagsF128() 94 goto uiZ; in softfloat_addMagsF128() 112 uiZ.v0 = uiA0; in softfloat_addMagsF128() 113 goto uiZ; in softfloat_addMagsF128() 150 uiZ: in softfloat_addMagsF128() [all …]
|
A D | s_subMagsF128.c | 59 struct uint128 uiZ; in softfloat_subMagsF128() local 78 goto uiZ; in softfloat_subMagsF128() 86 uiZ.v64 = in softfloat_subMagsF128() 89 uiZ.v0 = 0; in softfloat_subMagsF128() 90 goto uiZ; in softfloat_subMagsF128() 95 uiZ.v0 = 0; in softfloat_subMagsF128() 96 goto uiZ; in softfloat_subMagsF128() 116 uiZ.v0 = uiA0; in softfloat_subMagsF128() 117 goto uiZ; in softfloat_subMagsF128() 135 uiZ: in softfloat_subMagsF128() [all …]
|
A D | s_addMagsF32.c | 52 uint_fast32_t uiZ; in softfloat_addMagsF32() local 67 uiZ = uiA; in softfloat_addMagsF32() 68 goto uiZ; in softfloat_addMagsF32() 72 goto uiZ; in softfloat_addMagsF32() 80 uiZ = packToF32UI( signZ, 0xFF, 0 ); in softfloat_addMagsF32() 81 goto uiZ; in softfloat_addMagsF32() 89 uiZ = uiA; in softfloat_addMagsF32() 90 goto uiZ; in softfloat_addMagsF32() 104 uiZ = softfloat_propagateNaNF32UI( uiA, uiB ); in softfloat_addMagsF32() 105 uiZ: in softfloat_addMagsF32() [all …]
|
A D | s_addMagsF64.c | 52 uint_fast64_t uiZ; in softfloat_addMagsF64() local 67 uiZ = uiA; in softfloat_addMagsF64() 68 goto uiZ; in softfloat_addMagsF64() 71 uiZ = in softfloat_addMagsF64() 74 goto uiZ; in softfloat_addMagsF64() 83 goto uiZ; in softfloat_addMagsF64() 91 uiZ = uiA; in softfloat_addMagsF64() 92 goto uiZ; in softfloat_addMagsF64() 106 uiZ = softfloat_propagateNaNF64UI( uiA, uiB ); in softfloat_addMagsF64() 107 uiZ: in softfloat_addMagsF64() [all …]
|
A D | f128M_to_i64_r_minMag.c | 62 uint64_t uiZ; in f128M_to_i64_r_minMag() local 79 uiZ = (uint64_t) sig[indexWord( 4, 2 )]<<32 | sig[indexWord( 4, 1 )]; in f128M_to_i64_r_minMag() 80 if ( uiZ>>63 && (! sign || (uiZ != UINT64_C( 0x8000000000000000 ))) ) { in f128M_to_i64_r_minMag() 88 uiZ = in f128M_to_i64_r_minMag() 93 uiZ |= UINT64_C( 0x8000000000000000 ); in f128M_to_i64_r_minMag() 94 uiZ >>= shiftCount; in f128M_to_i64_r_minMag() 96 if ( uiZ || ! sign ) goto invalid; in f128M_to_i64_r_minMag() 97 uiZ |= UINT64_C( 0x8000000000000000 ); in f128M_to_i64_r_minMag() 100 if ( sign ) uiZ = -uiZ; in f128M_to_i64_r_minMag() 101 uZ.ui = uiZ; in f128M_to_i64_r_minMag()
|
A D | s_subMagsF32.c | 53 uint_fast32_t uiZ; in softfloat_subMagsF32() local 70 uiZ = defaultNaNF32UI; in softfloat_subMagsF32() 71 goto uiZ; in softfloat_subMagsF32() 80 goto uiZ; in softfloat_subMagsF32() 84 uiZ = packToF32UI( signZ ^ 1, 0xFF, 0 ); in softfloat_subMagsF32() 85 goto uiZ; in softfloat_subMagsF32() 98 uiZ = uiA; in softfloat_subMagsF32() 99 goto uiZ; in softfloat_subMagsF32() 110 uiZ = softfloat_propagateNaNF32UI( uiA, uiB ); in softfloat_subMagsF32() 111 uiZ: in softfloat_subMagsF32() [all …]
|
A D | s_subMagsF64.c | 53 uint_fast64_t uiZ; in softfloat_subMagsF64() local 70 uiZ = defaultNaNF64UI; in softfloat_subMagsF64() 71 goto uiZ; in softfloat_subMagsF64() 80 goto uiZ; in softfloat_subMagsF64() 84 uiZ = packToF64UI( signZ ^ 1, 0x7FF, 0 ); in softfloat_subMagsF64() 85 goto uiZ; in softfloat_subMagsF64() 98 uiZ = uiA; in softfloat_subMagsF64() 99 goto uiZ; in softfloat_subMagsF64() 110 uiZ = softfloat_propagateNaNF64UI( uiA, uiB ); in softfloat_subMagsF64() 111 uiZ: in softfloat_subMagsF64() [all …]
|
A D | s_mulAddF64.c | 101 goto uiZ; in softfloat_mulAddF64() 228 uiZ = softfloat_propagateNaNF64UI( uiZ, uiC ); in softfloat_mulAddF64() 229 goto uiZ; in softfloat_mulAddF64() 233 uiZ = uiC; in softfloat_mulAddF64() 236 uiZ = in softfloat_mulAddF64() 239 uiZ: in softfloat_mulAddF64() 479 uiZ = softfloat_propagateNaNF64UI( uiZ, uiC ); in softfloat_mulAddF64() 480 goto uiZ; in softfloat_mulAddF64() 484 uiZ = uiC; in softfloat_mulAddF64() 487 uiZ = in softfloat_mulAddF64() [all …]
|
A D | s_mulAddF32.c | 59 uint_fast32_t magBits, uiZ; in softfloat_mulAddF32() local 93 uiZ = 0; in softfloat_mulAddF32() 96 uiZ = uiC; in softfloat_mulAddF32() 97 goto uiZ; in softfloat_mulAddF32() 189 uiZ = defaultNaNF32UI; in softfloat_mulAddF32() 191 uiZ = softfloat_propagateNaNF32UI( uiZ, uiC ); in softfloat_mulAddF32() 192 goto uiZ; in softfloat_mulAddF32() 194 uiZ = uiC; in softfloat_mulAddF32() 197 uiZ = in softfloat_mulAddF32() 200 uiZ: in softfloat_mulAddF32() [all …]
|
A D | f32_to_f64.c | 53 uint_fast64_t uiZ; in f32_to_f64() local 65 uiZ = softfloat_commonNaNToF64UI( &commonNaN ); in f32_to_f64() 67 uiZ = packToF64UI( sign, 0x7FF, 0 ); in f32_to_f64() 69 goto uiZ; in f32_to_f64() 73 uiZ = packToF64UI( sign, 0, 0 ); in f32_to_f64() 74 goto uiZ; in f32_to_f64() 80 uiZ = packToF64UI( sign, exp + 0x380, (uint_fast64_t) sig<<29 ); in f32_to_f64() 81 uiZ: in f32_to_f64() 82 uZ.ui = uiZ; in f32_to_f64()
|
A D | f64_to_f32.c | 53 uint_fast32_t uiZ, sig32; in f64_to_f32() local 64 uiZ = softfloat_commonNaNToF32UI( &commonNaN ); in f64_to_f32() 66 uiZ = packToF32UI( sign, 0xFF, 0 ); in f64_to_f32() 68 goto uiZ; in f64_to_f32() 72 uiZ = packToF32UI( sign, 0, 0 ); in f64_to_f32() 73 goto uiZ; in f64_to_f32() 76 uiZ: in f64_to_f32() 77 uZ.ui = uiZ; in f64_to_f32()
|
A D | s_mulAddF128.c | 67 struct uint128 uiZ; in softfloat_mulAddF128() local 118 goto uiZ; in softfloat_mulAddF128() 325 uiZ.v0 = 0; in softfloat_mulAddF128() 335 uiZ = softfloat_propagateNaNF128UI( uiZ.v64, uiZ.v0, uiC64, uiC0 ); in softfloat_mulAddF128() 336 goto uiZ; in softfloat_mulAddF128() 340 uiZ.v64 = uiC64; in softfloat_mulAddF128() 341 uiZ.v0 = uiC0; in softfloat_mulAddF128() 344 uiZ.v64 = in softfloat_mulAddF128() 347 uiZ.v0 = 0; in softfloat_mulAddF128() 349 uiZ: in softfloat_mulAddF128() [all …]
|
A D | f128_to_f32.c | 53 uint_fast32_t uiZ, sig32; in f128_to_f32() local 65 uiZ = softfloat_commonNaNToF32UI( &commonNaN ); in f128_to_f32() 67 uiZ = packToF32UI( sign, 0xFF, 0 ); in f128_to_f32() 69 goto uiZ; in f128_to_f32() 73 uiZ = packToF32UI( sign, 0, 0 ); in f128_to_f32() 74 goto uiZ; in f128_to_f32() 81 uiZ: in f128_to_f32() 82 uZ.ui = uiZ; in f128_to_f32()
|
A D | extF80M_to_f32.c | 64 uint32_t uiZ, sig32; in extF80M_to_f32() local 79 uiZ = softfloat_commonNaNToF32UI( &commonNaN ); in extF80M_to_f32() 81 uiZ = packToF32UI( sign, 0xFF, 0 ); in extF80M_to_f32() 83 goto uiZ; in extF80M_to_f32() 89 uiZ = packToF32UI( sign, 0, 0 ); in extF80M_to_f32() 90 goto uiZ; in extF80M_to_f32() 104 uiZ: in extF80M_to_f32() 105 uZ.ui = uiZ; in extF80M_to_f32()
|
A D | extF80M_to_f64.c | 64 uint64_t uiZ; in extF80M_to_f64() local 79 uiZ = softfloat_commonNaNToF64UI( &commonNaN ); in extF80M_to_f64() 81 uiZ = packToF64UI( sign, 0x7FF, 0 ); in extF80M_to_f64() 83 goto uiZ; in extF80M_to_f64() 89 uiZ = packToF64UI( sign, 0, 0 ); in extF80M_to_f64() 90 goto uiZ; in extF80M_to_f64() 106 uiZ: in extF80M_to_f64() 107 uZ.ui = uiZ; in extF80M_to_f64()
|
A D | extF80_to_f32.c | 54 uint_fast32_t uiZ, sig32; in extF80_to_f32() local 66 uiZ = softfloat_commonNaNToF32UI( &commonNaN ); in extF80_to_f32() 68 uiZ = packToF32UI( sign, 0xFF, 0 ); in extF80_to_f32() 70 goto uiZ; in extF80_to_f32() 74 uiZ = packToF32UI( sign, 0, 0 ); in extF80_to_f32() 75 goto uiZ; in extF80_to_f32() 82 uiZ: in extF80_to_f32() 83 uZ.ui = uiZ; in extF80_to_f32()
|
A D | extF80_to_f64.c | 54 uint_fast64_t uiZ; in extF80_to_f64() local 64 uiZ = packToF64UI( sign, 0, 0 ); in extF80_to_f64() 65 goto uiZ; in extF80_to_f64() 70 uiZ = softfloat_commonNaNToF64UI( &commonNaN ); in extF80_to_f64() 72 uiZ = packToF64UI( sign, 0x7FF, 0 ); in extF80_to_f64() 74 goto uiZ; in extF80_to_f64() 82 uiZ: in extF80_to_f64() 83 uZ.ui = uiZ; in extF80_to_f64()
|
A D | f128M_to_f32.c | 64 uint32_t uiZ, sig32; in f128M_to_f32() local 77 uiZ = softfloat_commonNaNToF32UI( &commonNaN ); in f128M_to_f32() 79 uiZ = packToF32UI( sign, 0xFF, 0 ); in f128M_to_f32() 81 goto uiZ; in f128M_to_f32() 85 uiZ = packToF32UI( sign, 0, 0 ); in f128M_to_f32() 86 goto uiZ; in f128M_to_f32() 93 uiZ: in f128M_to_f32() 94 uZ.ui = uiZ; in f128M_to_f32()
|
A D | f128M_to_f64.c | 64 uint64_t uiZ; in f128M_to_f64() local 76 uiZ = softfloat_commonNaNToF64UI( &commonNaN ); in f128M_to_f64() 78 uiZ = packToF64UI( sign, 0x7FF, 0 ); in f128M_to_f64() 80 goto uiZ; in f128M_to_f64() 86 uiZ = packToF64UI( sign, 0, 0 ); in f128M_to_f64() 87 goto uiZ; in f128M_to_f64() 96 uiZ: in f128M_to_f64() 97 uZ.ui = uiZ; in f128M_to_f64()
|
/optee_os/lib/libutils/isoc/arch/arm/softfloat/source/8086-SSE/ |
A D | s_propagateNaNF128UI.c | 63 struct uint128 uiZ; in softfloat_propagateNaNF128UI() local 72 uiZ.v64 = uiA64; in softfloat_propagateNaNF128UI() 73 uiZ.v0 = uiA0; in softfloat_propagateNaNF128UI() 75 uiZ.v64 = uiB64; in softfloat_propagateNaNF128UI() 76 uiZ.v0 = uiB0; in softfloat_propagateNaNF128UI() 78 uiZ.v64 |= UINT64_C( 0x0000800000000000 ); in softfloat_propagateNaNF128UI() 79 return uiZ; in softfloat_propagateNaNF128UI()
|