Home
last modified time | relevance | path

Searched refs:roundMask (Results 1 – 2 of 2) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/builtins/
Dfp_trunc_impl.inc54 const src_rep_t roundMask = (SRC_REP_C(1) << (srcSigBits - dstSigBits)) - 1;
85 const src_rep_t roundBits = aAbs & roundMask;
119 const src_rep_t roundBits = denormalizedSignificand & roundMask;
/freebsd-12-stable/lib/libc/softfloat/bits64/
Dsoftfloat.c656 int64 roundIncrement, roundMask, roundBits; in roundAndPackFloatx80() local
663 roundMask = LIT64( 0x00000000000007FF ); in roundAndPackFloatx80()
667 roundMask = LIT64( 0x000000FFFFFFFFFF ); in roundAndPackFloatx80()
678 roundIncrement = roundMask; in roundAndPackFloatx80()
687 roundBits = zSig0 & roundMask; in roundAndPackFloatx80()
701 roundBits = zSig0 & roundMask; in roundAndPackFloatx80()
706 roundIncrement = roundMask + 1; in roundAndPackFloatx80()
708 roundMask |= roundIncrement; in roundAndPackFloatx80()
710 zSig0 &= ~ roundMask; in roundAndPackFloatx80()
720 roundIncrement = roundMask + 1; in roundAndPackFloatx80()
[all …]