Home
last modified time | relevance | path

Searched refs:roundIncrement (Results 1 – 6 of 6) sorted by relevance

/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/source/
A Ds_roundPackMToExtF80M.c55 uint64_t sig, roundIncrement, roundMask, roundBits; in softfloat_roundPackMToExtF80M() local
69 roundIncrement = UINT64_C( 0x0000000000000400 ); in softfloat_roundPackMToExtF80M()
72 roundIncrement = UINT64_C( 0x0000008000000000 ); in softfloat_roundPackMToExtF80M()
81 roundIncrement = in softfloat_roundPackMToExtF80M()
103 sig += roundIncrement; in softfloat_roundPackMToExtF80M()
105 roundIncrement = roundMask + 1; in softfloat_roundPackMToExtF80M()
107 roundMask |= roundIncrement; in softfloat_roundPackMToExtF80M()
122 sig += roundIncrement; in softfloat_roundPackMToExtF80M()
123 if ( sig < roundIncrement ) { in softfloat_roundPackMToExtF80M()
127 roundIncrement = roundMask + 1; in softfloat_roundPackMToExtF80M()
[all …]
A Ds_roundPackToExtF80.c55 uint_fast64_t roundIncrement, roundMask, roundBits; in softfloat_roundPackToExtF80() local
64 roundIncrement = UINT64_C( 0x0000000000000400 ); in softfloat_roundPackToExtF80()
67 roundIncrement = UINT64_C( 0x0000008000000000 ); in softfloat_roundPackToExtF80()
74 roundIncrement = in softfloat_roundPackToExtF80()
96 sig += roundIncrement; in softfloat_roundPackToExtF80()
98 roundIncrement = roundMask + 1; in softfloat_roundPackToExtF80()
100 roundMask |= roundIncrement; in softfloat_roundPackToExtF80()
113 sig = (uint64_t) (sig + roundIncrement); in softfloat_roundPackToExtF80()
114 if ( sig < roundIncrement ) { in softfloat_roundPackToExtF80()
118 roundIncrement = roundMask + 1; in softfloat_roundPackToExtF80()
[all …]
A Ds_roundPackToF32.c49 uint_fast8_t roundIncrement, roundBits; in softfloat_roundPackToF32() local
56 roundIncrement = 0x40; in softfloat_roundPackToF32()
58 roundIncrement = in softfloat_roundPackToF32()
71 || (sig + roundIncrement < 0x80000000); in softfloat_roundPackToF32()
78 } else if ( (0xFD < exp) || (0x80000000 <= sig + roundIncrement) ) { in softfloat_roundPackToF32()
81 uiZ = packToF32UI( sign, 0xFF, 0 ) - ! roundIncrement; in softfloat_roundPackToF32()
86 sig = (sig + roundIncrement)>>7; in softfloat_roundPackToF32()
A Ds_roundPackToF64.c49 uint_fast16_t roundIncrement, roundBits; in softfloat_roundPackToF64() local
56 roundIncrement = 0x200; in softfloat_roundPackToF64()
58 roundIncrement = in softfloat_roundPackToF64()
71 || (sig + roundIncrement < UINT64_C( 0x8000000000000000 )); in softfloat_roundPackToF64()
80 || (UINT64_C( 0x8000000000000000 ) <= sig + roundIncrement) in softfloat_roundPackToF64()
84 uiZ = packToF64UI( sign, 0x7FF, 0 ) - ! roundIncrement; in softfloat_roundPackToF64()
89 sig = (sig + roundIncrement)>>10; in softfloat_roundPackToF64()
A Ds_roundPackToUI32.c49 uint_fast8_t roundIncrement, roundBits; in softfloat_roundPackToUI32() local
53 roundIncrement = 0x40; in softfloat_roundPackToUI32()
55 roundIncrement = in softfloat_roundPackToUI32()
62 sig += roundIncrement; in softfloat_roundPackToUI32()
A Ds_roundPackToI32.c49 uint_fast8_t roundIncrement, roundBits; in softfloat_roundPackToI32() local
55 roundIncrement = 0x40; in softfloat_roundPackToI32()
57 roundIncrement = in softfloat_roundPackToI32()
64 sig += roundIncrement; in softfloat_roundPackToI32()

Completed in 5 milliseconds