Home
last modified time | relevance | path

Searched refs:roundBitsMask (Results 1 – 5 of 5) sorted by relevance

/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/source/
A Df128_roundToInt.c52 uint_fast64_t lastBitMask, roundBitsMask; in f128_roundToInt() local
77 roundBitsMask = lastBitMask - 1; in f128_roundToInt()
94 if ( roundNearEven && ! (uiZ.v0 & roundBitsMask) ) { in f128_roundToInt()
102 uiZ = softfloat_add128( uiZ.v64, uiZ.v0, 0, roundBitsMask ); in f128_roundToInt()
105 uiZ.v0 &= ~roundBitsMask; in f128_roundToInt()
136 roundBitsMask = lastBitMask - 1; in f128_roundToInt()
141 if ( ! ((uiZ.v64 & roundBitsMask) | uiA0) ) { in f128_roundToInt()
148 uiZ.v64 = (uiZ.v64 | (uiA0 != 0)) + roundBitsMask; in f128_roundToInt()
151 uiZ.v64 &= ~roundBitsMask; in f128_roundToInt()
A Df32_roundToInt.c50 uint_fast32_t uiZ, lastBitMask, roundBitsMask; in f32_roundToInt() local
92 roundBitsMask = lastBitMask - 1; in f32_roundToInt()
97 if ( ! (uiZ & roundBitsMask) ) uiZ &= ~lastBitMask; in f32_roundToInt()
100 uiZ += roundBitsMask; in f32_roundToInt()
103 uiZ &= ~roundBitsMask; in f32_roundToInt()
A Df64_roundToInt.c50 uint_fast64_t uiZ, lastBitMask, roundBitsMask; in f64_roundToInt() local
92 roundBitsMask = lastBitMask - 1; in f64_roundToInt()
97 if ( ! (uiZ & roundBitsMask) ) uiZ &= ~lastBitMask; in f64_roundToInt()
100 uiZ += roundBitsMask; in f64_roundToInt()
103 uiZ &= ~roundBitsMask; in f64_roundToInt()
A DextF80M_roundToInt.c76 uint64_t sigZ, lastBitMask, roundBitsMask; in extF80M_roundToInt() local
142 roundBitsMask = lastBitMask - 1; in extF80M_roundToInt()
148 if ( ! (sigZ & roundBitsMask) ) sigZ &= ~lastBitMask; in extF80M_roundToInt()
151 sigZ += roundBitsMask; in extF80M_roundToInt()
154 sigZ &= ~roundBitsMask; in extF80M_roundToInt()
A DextF80_roundToInt.c56 uint_fast64_t lastBitMask, roundBitsMask; in extF80_roundToInt() local
122 roundBitsMask = lastBitMask - 1; in extF80_roundToInt()
128 if ( ! (sigZ & roundBitsMask) ) sigZ &= ~lastBitMask; in extF80_roundToInt()
131 sigZ += roundBitsMask; in extF80_roundToInt()
134 sigZ &= ~roundBitsMask; in extF80_roundToInt()

Completed in 5 milliseconds