Home
last modified time | relevance | path

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

/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/builtins/
H A Dfp_trunc_impl.inc55 const src_rep_t roundMask = (SRC_REP_C(1) << (srcSigBits - dstSigBits)) - 1;
86 const src_rep_t roundBits = aAbs & roundMask;
122 const src_rep_t roundBits = denormalizedSignificand & roundMask;
/netbsd-src/lib/libc/softfloat/bits64/
H A Dsoftfloat.c664 uint64 roundIncrement, roundMask, roundBits; in roundAndPackFloatx80() local
671 roundMask = LIT64( 0x00000000000007FF ); in roundAndPackFloatx80()
675 roundMask = LIT64( 0x000000FFFFFFFFFF ); in roundAndPackFloatx80()
686 roundIncrement = roundMask; in roundAndPackFloatx80()
695 roundBits = zSig0 & roundMask; in roundAndPackFloatx80()
709 roundBits = zSig0 & roundMask; in roundAndPackFloatx80()
714 roundIncrement = roundMask + 1; in roundAndPackFloatx80()
716 roundMask |= roundIncrement; in roundAndPackFloatx80()
718 zSig0 &= ~ roundMask; in roundAndPackFloatx80()
728 roundIncrement = roundMask + 1; in roundAndPackFloatx80()
[all …]
/netbsd-src/sys/lib/libkern/
H A Dsoftfloat.c654 int64 roundIncrement, roundMask, roundBits; in roundAndPackFloatx80() local
661 roundMask = LIT64( 0x00000000000007FF ); in roundAndPackFloatx80()
665 roundMask = LIT64( 0x000000FFFFFFFFFF ); in roundAndPackFloatx80()
676 roundIncrement = roundMask; in roundAndPackFloatx80()
685 roundBits = zSig0 & roundMask; in roundAndPackFloatx80()
699 roundBits = zSig0 & roundMask; in roundAndPackFloatx80()
704 roundIncrement = roundMask + 1; in roundAndPackFloatx80()
706 roundMask |= roundIncrement; in roundAndPackFloatx80()
708 zSig0 &= ~ roundMask; in roundAndPackFloatx80()
718 roundIncrement = roundMask + 1; in roundAndPackFloatx80()
[all …]