| /openbsd-src/gnu/llvm/libcxx/include/ |
| H A D | cstddef | 120 operator<<=(byte& __lhs, _Integer __shift) noexcept 121 { return __lhs = __lhs << __shift; } 125 operator<< (byte __lhs, _Integer __shift) noexcept 126 …{ return static_cast<byte>(static_cast<unsigned char>(static_cast<unsigned int>(__lhs) << __shift)… 130 operator>>=(byte& __lhs, _Integer __shift) noexcept 131 { return __lhs = __lhs >> __shift; } 135 operator>> (byte __lhs, _Integer __shift) noexcept 136 …{ return static_cast<byte>(static_cast<unsigned char>(static_cast<unsigned int>(__lhs) >> __shift)…
|
| /openbsd-src/gnu/lib/libstdc++/libstdc++/include/std/ |
| H A D | std_bitset.h | 146 _M_do_left_shift(size_t __shift); 149 _M_do_right_shift(size_t __shift); 220 _Base_bitset<_Nw>::_M_do_left_shift(size_t __shift) in _M_do_left_shift() argument 222 if (__builtin_expect(__shift != 0, 1)) in _M_do_left_shift() 224 const size_t __wshift = __shift / _GLIBCPP_BITSET_BITS_PER_WORD; in _M_do_left_shift() 225 const size_t __offset = __shift % _GLIBCPP_BITSET_BITS_PER_WORD; in _M_do_left_shift() 245 _Base_bitset<_Nw>::_M_do_right_shift(size_t __shift) in _M_do_right_shift() argument 247 if (__builtin_expect(__shift != 0, 1)) in _M_do_right_shift() 249 const size_t __wshift = __shift / _GLIBCPP_BITSET_BITS_PER_WORD; in _M_do_right_shift() 250 const size_t __offset = __shift % _GLIBCPP_BITSET_BITS_PER_WORD; in _M_do_right_shift() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Headers/ppc_wrappers/ |
| H A D | tmmintrin.h | 98 const __v16qu __shift = vec_splats((unsigned char)((__count - 16) * 8)); in _mm_alignr_epi8() local 100 return (__m128i)vec_sro((__v16qu)__A, __shift); in _mm_alignr_epi8() 102 return (__m128i)vec_slo((__v16qu)__A, __shift); in _mm_alignr_epi8() 125 const __v4su __shift = {__count << 3, 0, 0, 0}; in _mm_alignr_pi8() local 126 __C = (__v2du)vec_sro((__v16qu)__C, (__v16qu)__shift); in _mm_alignr_pi8() 128 const __v4su __shift = {0, 0, 0, __count << 3}; in _mm_alignr_pi8() local 129 __C = (__v2du)vec_slo((__v16qu)__C, (__v16qu)__shift); in _mm_alignr_pi8() 420 const __v4su __shift = vec_splats((unsigned int)14); in _mm_mulhrs_epi16() local 421 __C = vec_sr(__C, __shift); in _mm_mulhrs_epi16() 422 __D = vec_sr(__D, __shift); in _mm_mulhrs_epi16() [all …]
|
| H A D | emmintrin.h | 1561 __v16qu __shift = vec_splats((unsigned char)(__N * 8)); in _mm_bsrli_si128() local 1563 __result = vec_sro((__v16qu)__A, __shift); in _mm_bsrli_si128() 1565 __result = vec_slo((__v16qu)__A, __shift); in _mm_bsrli_si128()
|
| /openbsd-src/gnu/gcc/libstdc++-v3/include/std/ |
| H A D | std_bitset.h | 148 _M_do_left_shift(size_t __shift); 151 _M_do_right_shift(size_t __shift); 217 _Base_bitset<_Nw>::_M_do_left_shift(size_t __shift) in _M_do_left_shift() argument 219 if (__builtin_expect(__shift != 0, 1)) in _M_do_left_shift() 221 const size_t __wshift = __shift / _GLIBCXX_BITSET_BITS_PER_WORD; in _M_do_left_shift() 222 const size_t __offset = __shift % _GLIBCXX_BITSET_BITS_PER_WORD; in _M_do_left_shift() 243 _Base_bitset<_Nw>::_M_do_right_shift(size_t __shift) in _M_do_right_shift() argument 245 if (__builtin_expect(__shift != 0, 1)) in _M_do_right_shift() 247 const size_t __wshift = __shift / _GLIBCXX_BITSET_BITS_PER_WORD; in _M_do_right_shift() 248 const size_t __offset = __shift % _GLIBCXX_BITSET_BITS_PER_WORD; in _M_do_right_shift() [all …]
|
| /openbsd-src/gnu/llvm/libcxx/include/__format/ |
| H A D | format_arg_store.h | 198 int __shift = 0; in __create_packed_storage() local 202 if (__shift != 0) in __create_packed_storage() 203 __types |= static_cast<uint64_t>(__arg.__type_) << __shift; in __create_packed_storage() 207 __shift += __packed_arg_t_bits; in __create_packed_storage()
|
| /openbsd-src/gnu/llvm/libcxx/include/__functional/ |
| H A D | hash.h | 108 static _Size __rotate(_Size __val, int __shift) { 109 return __shift == 0 ? __val : ((__val >> __shift) | (__val << (64 - __shift))); 112 static _Size __rotate_by_at_least_1(_Size __val, int __shift) { 113 return (__val >> __shift) | (__val << (64 - __shift));
|
| /openbsd-src/gnu/llvm/libcxx/benchmarks/ |
| H A D | unordered_set_operations.bench.cpp | 27 std::size_t rotate_by_at_least_1(std::size_t __val, int __shift) { in rotate_by_at_least_1() argument 28 return (__val >> __shift) | (__val << (64 - __shift)); in rotate_by_at_least_1()
|
| /openbsd-src/gnu/llvm/libcxx/src/ryu/ |
| H A D | f2s.cpp | 114 …BI inline uint32_t __mulShift(const uint32_t __m, const uint64_t __factor, const int32_t __shift) { in __mulShift() argument 115 _LIBCPP_ASSERT(__shift > 32, ""); in __mulShift() 132 const int32_t __s = __shift - 32; in __mulShift() 136 const uint64_t __shiftedSum = __sum >> (__shift - 32); in __mulShift()
|