Skip to content

Commit

Permalink
P3441R2 Rename simd_split to simd_chunk
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkretz committed Feb 18, 2025
1 parent ebe7507 commit ec47820
Showing 1 changed file with 31 additions and 4 deletions.
35 changes: 31 additions & 4 deletions source/numerics.tex
Original file line number Diff line number Diff line change
Expand Up @@ -16509,10 +16509,15 @@
// \ref{simd.creation}, \tcode{basic_simd} and \tcode{basic_simd_mask} creation
template<class T, class Abi>
constexpr auto
simd_split(const basic_simd<typename T::value_type, Abi>& x) noexcept;
simd_chunk(const basic_simd<typename T::value_type, Abi>& x) noexcept;
template<class T, class Abi>
constexpr auto
simd_split(const basic_simd_mask<@\exposid{mask-element-size}@<T>, Abi>& x) noexcept;
simd_chunk(const basic_simd_mask<@\exposid{mask-element-size}@<T>, Abi>& x) noexcept;

template<size_t N, class T, class Abi>
constexpr auto simd_chunk(const basic_simd<T, Abi>& x) noexcept;
template<size_t N, size_t Bytes, class Abi>
constexpr auto simd_chunk(const basic_simd_mask<Bytes, Abi>& x) noexcept;

template<class T, class... Abis>
constexpr basic_simd<T, @\exposid{deduce-abi-t}@<T, (basic_simd<T, Abis>::size() + ...)>>
Expand Down Expand Up @@ -18111,9 +18116,9 @@

\begin{itemdecl}
template<class T, class Abi>
constexpr auto simd_split(const basic_simd<typename T::value_type, Abi>& x) noexcept;
constexpr auto simd_chunk(const basic_simd<typename T::value_type, Abi>& x) noexcept;
template<class T, class Abi>
constexpr auto simd_split(const basic_simd_mask<@\exposid{mask-element-size}@<T>, Abi>& x) noexcept;
constexpr auto simd_chunk(const basic_simd_mask<@\exposid{mask-element-size}@<T>, Abi>& x) noexcept;
\end{itemdecl}

\begin{itemdescr}
Expand Down Expand Up @@ -18162,6 +18167,28 @@
\end{itemize}
\end{itemdescr}

\begin{itemdecl}
template<size_t N, class T, class Abi>
constexpr auto simd_chunk(const basic_simd<T, Abi>& x) noexcept;
\end{itemdecl}

\begin{itemdescr}
\pnum
\effects
Equivalent to: \tcode{return simd_chunk<resize_simd_t<N, basic_simd<T, Abi>>>(x);}
\end{itemdescr}

\begin{itemdecl}
template<size_t N, size_t Bytes, class Abi>
constexpr auto simd_chunk(const basic_simd_mask<Bytes, Abi>& x) noexcept;
\end{itemdecl}

\begin{itemdescr}
\pnum
\effects
Equivalent to: \tcode{return simd_chunk<resize_simd_t<N, basic_simd_mask<Bytes, Abi>>>(\brk{}x);}
\end{itemdescr}

\begin{itemdecl}
template<class T, class... Abis>
constexpr simd<T, (basic_simd<T, Abis>::size() + ...)>
Expand Down

0 comments on commit ec47820

Please sign in to comment.