Home
last modified time | relevance | path

Searched refs:hibits (Results 1 – 9 of 9) sorted by relevance

/netbsd-src/lib/libm/src/
H A Ds_fma.c91 uint64_t hibits, lobits; in add_adjusted() local
95 EXTRACT_WORD64(hibits, sum.hi); in add_adjusted()
96 if ((hibits & 1) == 0) { in add_adjusted()
99 hibits += 1 - ((hibits ^ lobits) >> 62); in add_adjusted()
100 INSERT_WORD64(sum.hi, hibits); in add_adjusted()
115 uint64_t hibits, lobits; in add_and_denormalize() local
131 EXTRACT_WORD64(hibits, sum.hi); in add_and_denormalize()
132 bits_lost = -((int)(hibits >> 52) & 0x7ff) - scale + 1; in add_and_denormalize()
133 if ((bits_lost != 1) ^ (int)(hibits & 1)) { in add_and_denormalize()
136 hibits += 1 - (((hibits ^ lobits) >> 62) & 2); in add_and_denormalize()
[all …]
/netbsd-src/external/lgpl3/gmp/dist/tests/mpf/
H A Dt-eq.c106 int hibits, lshift1, lshift2; in check_random() local
121 hibits = mpz_get_ui (ds) + 1; in check_random()
122 mpz_urandomb (ds, rands, hibits); in check_random()
123 mpz_setbit (ds, hibits - 1); /* make sure msb is set */ in check_random()
145 if (mpf_eq (a, b, lshift1 + hibits) == 0 || in check_random()
146 mpf_eq (b, a, lshift1 + hibits) == 0) in check_random()
148 dump_abort (a, b, lshift1 + hibits, lshift1, lshift2, hibits, 1, test); in check_random()
151 if (mpf_eq (a, b, lshift1 + hibits + xtra) != 0 || in check_random()
152 mpf_eq (b, a, lshift1 + hibits + xtra) != 0) in check_random()
154 dump_abort (a, b, lshift1 + hibits + xtra, lshift1, lshift2, hibits, 0, test); in check_random()
[all …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/builtins/ppc/
H A Dfixtfdi.c15 const doublebits hibits = { .d = x.s.hi }; in __fixtfdi() local
17 const uint32_t absHighWord = (uint32_t)(hibits.x >> 32) & UINT32_C(0x7fffffff); in __fixtfdi()
26 int64_t result = hibits.x & INT64_C(0x000fffffffffffff); /* mantissa(hi) */ in __fixtfdi()
30 const int64_t hiNegationMask = ((int64_t)(hibits.x)) >> 63; in __fixtfdi()
H A Dfixunstfdi.c13 const doublebits hibits = { .d = x.s.hi }; in __fixunstfdi() local
15 const uint32_t highWordMinusOne = (uint32_t)(hibits.x >> 32) - UINT32_C(0x3ff00000); in __fixunstfdi()
22 uint64_t result = hibits.x & UINT64_C(0x000fffffffffffff); /* mantissa(hi) */ in __fixunstfdi()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/csky/
H A Dcsky.c3503 unsigned HOST_WIDE_INT bit, shf, rot, lobits, hibits; in try_csky_constant_tricks() local
3553 hibits = (unsigned HOST_WIDE_INT)(value & 0xfffff000) + (1 << 12); in try_csky_constant_tricks()
3554 if (exact_log2 (hibits) >= 1 in try_csky_constant_tricks()
3555 && exact_log2 (hibits) <= 30 in try_csky_constant_tricks()
3558 *x = hibits; in try_csky_constant_tricks()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/csky/
H A Dcsky.cc3666 unsigned HOST_WIDE_INT bit, shf, rot, lobits, hibits; in try_csky_constant_tricks() local
3716 hibits = (unsigned HOST_WIDE_INT)(value & 0xfffff000) + (1 << 12); in try_csky_constant_tricks()
3717 if (exact_log2 (hibits) >= 1 in try_csky_constant_tricks()
3718 && exact_log2 (hibits) <= 30 in try_csky_constant_tricks()
3721 *x = hibits; in try_csky_constant_tricks()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DAPInt.cpp846 uint64_t hibits = Tmp.U.pVal[hiWord] << (52 - n % APINT_BITS_PER_WORD); in roundToDouble() local
848 mantissa = hibits | lobits; in roundToDouble()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/i386/
H A Di386-expand.cc6469 rtx hibits; in ix86_expand_v1ti_rotate() local
6475 hibits = gen_reg_rtx (V4SImode); in ix86_expand_v1ti_rotate()
6476 emit_insn (gen_sse2_pshufd (hibits, op1_v4si, GEN_INT (0x93))); in ix86_expand_v1ti_rotate()
6481 hibits = gen_reg_rtx (V4SImode); in ix86_expand_v1ti_rotate()
6483 emit_insn (gen_sse2_pshufd (hibits, op1_v4si, GEN_INT (0x4e))); in ix86_expand_v1ti_rotate()
6488 hibits = gen_reg_rtx (V4SImode); in ix86_expand_v1ti_rotate()
6490 emit_insn (gen_sse2_pshufd (hibits, op1_v4si, GEN_INT (0x39))); in ix86_expand_v1ti_rotate()
6496 hibits = op1_v4si; in ix86_expand_v1ti_rotate()
6505 emit_insn (gen_lshrv4si3 (tmp2, hibits, GEN_INT (32 - (bits & 31)))); in ix86_expand_v1ti_rotate()
/netbsd-src/sys/arch/sparc64/sparc64/
H A Dlocore.s7348 ! flushw ! Make sure we don't have stack probs & lose hibits of %o