Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/src/include/ryu/
H A Dd2s_intrinsics.h58 …ine uint64_t __ryu_shiftright128(const uint64_t __lo, const uint64_t __hi, const uint32_t __dist) { in __ryu_shiftright128() argument
66 _LIBCPP_ASSERT(__dist < 64, ""); in __ryu_shiftright128()
67 return __shiftright128(__lo, __hi, static_cast<unsigned char>(__dist)); in __ryu_shiftright128()
82 …ine uint64_t __ryu_shiftright128(const uint64_t __lo, const uint64_t __hi, const uint32_t __dist) {
88 _LIBCPP_ASSERT(__dist < 64, "");
92 return static_cast<uint64_t>(__temp >> (__dist & 63));
129 _LIBCPP_ASSERT(__dist < 64, "");
131 _LIBCPP_ASSERT(__dist > 0, "");
132 return (__hi << (64 - __dist)) | (__lo >> __dist);
135 _LIBCPP_ASSERT(__dist >= 32, "");
[all …]
/llvm-project-15.0.7/libcxx/src/ryu/
H A Dd2fixed.cpp109 const uint32_t __dist = static_cast<uint32_t>(__j - 128); // __dist: [0, 52] in __mulShift_mod1e9() local
110 const uint64_t __shiftedhigh = __s1high >> __dist; in __mulShift_mod1e9()
111 const uint64_t __shiftedlow = __ryu_shiftright128(__s1low, __s1high, __dist); in __mulShift_mod1e9()