Home
last modified time | relevance | path

Searched refs:roundBits (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dfp_trunc_impl.inc93 const src_rep_t roundBits = srcSigFrac & roundMask;
95 if (roundBits > halfway)
98 else if (roundBits == halfway)
138 const src_rep_t roundBits = denormalizedSignificand & roundMask;
140 if (roundBits > halfway)
143 else if (roundBits == halfway)
/freebsd-14.2/lib/libc/softfloat/bits64/
H A Dsoftfloat.c115 int8 roundIncrement, roundBits; in roundAndPackInt32() local
135 roundBits = absZ & 0x7F; in roundAndPackInt32()
305 int8 roundIncrement, roundBits; in roundAndPackFloat32() local
325 roundBits = zSig & 0x7F; in roundAndPackFloat32()
341 roundBits = zSig & 0x7F; in roundAndPackFloat32()
475 int16 roundIncrement, roundBits; in roundAndPackFloat64() local
495 roundBits = zSig & 0x3FF; in roundAndPackFloat64()
513 roundBits = zSig & 0x3FF; in roundAndPackFloat64()
653 int64 roundIncrement, roundMask, roundBits; in roundAndPackFloatx80() local
684 roundBits = zSig0 & roundMask; in roundAndPackFloatx80()
[all …]
/freebsd-14.2/lib/libc/softfloat/bits32/
H A Dsoftfloat.c202 int8 roundIncrement, roundBits; in roundAndPackFloat32() local
222 roundBits = zSig & 0x7F; in roundAndPackFloat32()
238 roundBits = zSig & 0x7F; in roundAndPackFloat32()
239 if ( isTiny && roundBits ) float_raise( float_flag_underflow ); in roundAndPackFloat32()
242 if ( roundBits ) float_exception_flags |= float_flag_inexact; in roundAndPackFloat32()
244 zSig &= ~ ( ( ( roundBits ^ 0x40 ) == 0 ) & roundNearestEven ); in roundAndPackFloat32()