/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/experimental/bits/ |
H A D | simd_ppc.h | 49 template <typename _Tp, size_t _Np> 50 _GLIBCXX_SIMD_INTRINSIC static constexpr _SimdWrapper<_Tp, _Np> 51 _S_bit_shift_left(_SimdWrapper<_Tp, _Np> __x, _SimdWrapper<_Tp, _Np> __y) 60 template <typename _Tp, size_t _Np> 61 _GLIBCXX_SIMD_INTRINSIC static constexpr _SimdWrapper<_Tp, _Np> 62 _S_bit_shift_left(_SimdWrapper<_Tp, _Np> __x, int __y) 75 template <typename _Tp, size_t _Np> 76 _GLIBCXX_SIMD_INTRINSIC static constexpr _SimdWrapper<_Tp, _Np> 77 _S_bit_shift_right(_SimdWrapper<_Tp, _Np> __ [all...] |
H A D | simd_builtin.h | 87 size_t _Np = _ToN != 0 ? _ToN : sizeof(_Up) * _M / sizeof(_Tp)> 88 _GLIBCXX_SIMD_INTRINSIC constexpr _SimdWrapper<_Tp, _Np> 91 static_assert(_Np > 1); 92 return __intrin_bitcast<__vector_type_t<_Tp, _Np>>(__x._M_data); 203 // __extract_part(_SimdWrapper<_Tp, _Np>) {{{ 204 template <int _Index, int _Total, int _Combine, typename _Tp, size_t _Np> 206 _SimdWrapper<_Tp, _Np / _Total * _Combine> 207 __extract_part(const _SimdWrapper<_Tp, _Np> __x) 213 constexpr size_t __values_per_part = _Np / _Total; 224 // static_assert(__return_size * _Total == _Np, "_N [all...] |
H A D | simd_converter.h | 99 // _SimdConverter fixed_size<_Np> -> fixed_size<_Np> {{{1 100 template <typename _From, typename _To, int _Np> 101 struct _SimdConverter<_From, simd_abi::fixed_size<_Np>, _To, 102 simd_abi::fixed_size<_Np>, 105 using _Ret = __fixed_size_storage_t<_To, _Np>; 106 using _Arg = __fixed_size_storage_t<_From, _Np>; 123 __x, make_index_sequence<_Np>(), 141 constexpr size_t _NRemain = _Np - _Arg::_S_first_size; 157 constexpr auto __remaining = _Np [all...] |
H A D | simd_x86.h | 40 template <typename _Tp, size_t _Np> 41 _GLIBCXX_SIMD_INTRINSIC constexpr _SimdWrapper<__int_for_sizeof_t<_Tp>, _Np> 42 __to_masktype(_SimdWrapper<_Tp, _Np> __x) 44 return reinterpret_cast<__vector_type_t<__int_for_sizeof_t<_Tp>, _Np>>( 374 template <typename _Tp, size_t _Np> 380 float> && sizeof(__intrinsic_type_t<_Tp, _Np>) == 16; 383 template <typename _Tp, size_t _Np> 389 double> && sizeof(__intrinsic_type_t<_Tp, _Np>) == 16; 392 template <typename _Tp, size_t _Np> 398 float> && sizeof(__intrinsic_type_t<_Tp, _Np>) [all...] |
H A D | simd_neon.h | 59 template <typename _Tp, size_t _Np, typename _Up> 60 static inline _SimdWrapper<_Tp, _Np> 61 _S_masked_load(_SimdWrapper<_Tp, _Np> __merge, _MaskMember<_Tp> __k, 64 __execute_n_times<_Np>([&](auto __i) { 73 template <typename _Tp, size_t _Np> 75 _S_masked_store_nocvt(_SimdWrapper<_Tp, _Np> __v, _Tp* __mem, 78 __execute_n_times<_Np>([&](auto __i) { 90 constexpr size_t _Np = __x.size(); local 91 if constexpr (sizeof(__x) == 16 && _Np >= 4 99 else if constexpr (_Np [all...] |
H A D | simd_fixed_size.h | 28 * - memory layout of `simd<_Tp, _Np>` is equivalent to `array<_Tp, _Np>` 29 * - alignment of `simd<_Tp, _Np>` is `_Np * sizeof(_Tp)` if _Np is __a 30 * power-of-2 value, otherwise `std::__bit_ceil(_Np * sizeof(_Tp))` (Note: 33 * - simd_mask objects are passed like bitset<_Np> 34 * - memory layout of `simd_mask<_Tp, _Np>` is equivalent to `bitset<_Np>` 35 * - alignment of `simd_mask<_Tp, _Np>` i [all...] |
H A D | simd.h | 55 * _TV: __vector_type_t<_Tp, _Np> 56 * _TW: _SimdWrapper<_Tp, _Np> 57 * _TI: __intrinsic_type_t<_Tp, _Np> 66 * _Np: number of elements (not bytes) 91 template <int _Np> 111 template <typename _Tp, int _Np> 112 using _VecN = _VecBuiltin<sizeof(_Tp) * _Np>; 135 template <typename _Tp, size_t _Np, typename...> 138 template <int _Np> 139 using fixed_size = _Fixed<_Np>; 603 constexpr size_t _Np = _Bytes / sizeof(int); local [all...] |
H A D | simd_math.h | 573 template <typename _Tp, size_t _Np> 575 _SimdWrapper<_Tp, _Np> 576 __getexp(_SimdWrapper<_Tp, _Np> __x) 578 if constexpr (__have_avx512vl && __is_sse_ps<_Tp, _Np>()) 580 else if constexpr (__have_avx512f && __is_sse_ps<_Tp, _Np>()) 582 else if constexpr (__have_avx512vl && __is_sse_pd<_Tp, _Np>()) 584 else if constexpr (__have_avx512f && __is_sse_pd<_Tp, _Np>()) 586 else if constexpr (__have_avx512vl && __is_avx_ps<_Tp, _Np>()) 588 else if constexpr (__have_avx512f && __is_avx_ps<_Tp, _Np>()) 590 else if constexpr (__have_avx512vl && __is_avx_pd<_Tp, _Np>()) 660 constexpr size_t _Np = simd_size_v<_Tp, _Abi>; local [all...] |
H A D | simd_x86_conversions.h | 38 constexpr size_t _Np = _Traits::_S_full_size; 177 __extract_part<1, _Np / _M * 2>(__v))); 193 if constexpr (_Np >= _M) 198 else if constexpr (_Np < _M && sizeof(_To) > 16) //{{{2 202 _Up, (16 / sizeof(_Up) > _Np) ? 16 / sizeof(_Up) : _Np>>(__v)); 203 else if constexpr (_Np > _M && sizeof(__v) > 16) //{{{2 205 return __convert_x86<_To>(__extract_part<0, _Np / _M>(__v)); 599 return __convert_x86<_To>(__convert_x86<__vector_type_t<int, _Np>>(__v)); 657 __convert_x86<__vector_type_t<int, (_Np < [all...] |
H A D | simd_scalar.h | 118 template <size_t _Np, bool _Sanitized> 120 _S_store_bool_array(_BitMask<_Np, _Sanitized> __x, bool* __mem)
|
/netbsd-current/external/apache2/llvm/dist/libcxx/src/include/ |
H A D | sso_allocator.h | 24 template <class _Tp, size_t _Np> class _LIBCPP_HIDDEN __sso_allocator; 26 template <size_t _Np> 27 class _LIBCPP_HIDDEN __sso_allocator<void, _Np> 34 template <class _Tp, size_t _Np> 37 typename aligned_storage<sizeof(_Tp) * _Np>::type buf_; 46 template <class _Up> _LIBCPP_INLINE_VISIBILITY __sso_allocator(const __sso_allocator<_Up, _Np>&) throw() 51 _LIBCPP_INLINE_VISIBILITY pointer allocate(size_type __n, typename __sso_allocator<void, _Np>::const_pointer = nullptr) 53 if (!__allocated_ && __n <= _Np)
|
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/bits/ |
H A D | utility.h | 227 template<size_t _Np, typename... _Types> 243 template<size_t _Np, typename _Tp0, typename _Tp1, typename _Tp2, 246 requires (_Np >= 3) 248 struct _Nth_type<_Np, _Tp0, _Tp1, _Tp2, _Rest...> 249 : _Nth_type<_Np - 3, _Rest...>
|
/netbsd-current/external/apache2/llvm/dist/libcxx/include/__ranges/ |
H A D | access.h | 127 template <class _Tp, size_t _Np> 128 [[nodiscard]] constexpr auto operator()(_Tp (&__t)[_Np]) const noexcept { 131 return __t + _Np;
|
/netbsd-current/external/apache2/llvm/dist/libcxx/include/__memory/ |
H A D | unique_ptr.h | 714 template<class _Tp, size_t _Np> 715 struct __unique_if<_Tp[_Np]>
|