Skip to content

Commit e4d7da5

Browse files
committed
[simd] Use M instead of V for mask types
1 parent c69f77f commit e4d7da5

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

source/numerics.tex

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16609,26 +16609,26 @@
1660916609
// \ref{simd.permute.dynamic}, Permute by dynamic index
1661016610
template<@\exposconcept{simd-type}@ V, @\exposconcept{simd-integral}@ I>
1661116611
constexpr resize_t<I::size(), V> permute(const V& v, const I& indices);
16612-
template<@\exposconcept{simd-mask-type}@ V, @\exposconcept{simd-integral}@ I>
16613-
constexpr resize_t<I::size(), V> permute(const V& v, const I& indices);
16612+
template<@\exposconcept{simd-mask-type}@ M, @\exposconcept{simd-integral}@ I>
16613+
constexpr resize_t<I::size(), M> permute(const M& v, const I& indices);
1661416614

1661516615
// \ref{simd.permute.mask}, Permute by active mask bits
1661616616
template<@\exposconcept{simd-type}@ V>
1661716617
constexpr V compress(const V& v, const typename V::mask_type& selector);
16618-
template<@\exposconcept{simd-mask-type}@ V>
16619-
constexpr V compress(const V& v, const type_identity_t<V>& selector);
16618+
template<@\exposconcept{simd-mask-type}@ M>
16619+
constexpr M compress(const M& v, const type_identity_t<M>& selector);
1662016620
template<@\exposconcept{simd-type}@ V>
1662116621
constexpr V compress(const V& v, const typename V::mask_type& selector,
1662216622
const typename V::value_type& fill_value);
16623-
template<@\exposconcept{simd-mask-type}@ V>
16624-
constexpr V compress(const V& v, const type_identity_t<V>& selector,
16623+
template<@\exposconcept{simd-mask-type}@ M>
16624+
constexpr M compress(const M& v, const type_identity_t<M>& selector,
1662516625
const typename V::value_type& fill_value);
1662616626

1662716627
template<@\exposconcept{simd-type}@ V>
1662816628
constexpr V expand(const V& v, const typename V::mask_type& selector,
1662916629
const V& original = {});
16630-
template<@\exposconcept{simd-mask-type}@ V>
16631-
constexpr V expand(const V& v, const type_identity_t<V>& selector, const V& original = {});
16630+
template<@\exposconcept{simd-mask-type}@ M>
16631+
constexpr M expand(const M& v, const type_identity_t<M>& selector, const M& original = {});
1663216632

1663316633
// \ref{simd.permute.memory}, Permute to and from memory
1663416634
template<class V = @\seebelow@,
@@ -18690,8 +18690,8 @@
1869018690
template<@\exposid{simd-size-type}@ N = @\seebelow@, @\exposconcept{simd-type}@ V, class IdxMap>
1869118691
constexpr resize_t<N, V> permute(const V& v, IdxMap&& idxmap);
1869218692

18693-
template<@\exposid{simd-size-type}@ N = @\seebelow@, @\exposconcept{simd-mask-type}@ V, class IdxMap>
18694-
constexpr resize_t<N, V> permute(const V& v, IdxMap&& idxmap);
18693+
template<@\exposid{simd-size-type}@ N = @\seebelow@, @\exposconcept{simd-mask-type}@ M, class IdxMap>
18694+
constexpr resize_t<N, M> permute(const M& v, IdxMap&& idxmap);
1869518695
\end{itemdecl}
1869618696

1869718697
\begin{itemdescr}
@@ -18741,8 +18741,8 @@
1874118741
template<@\exposconcept{simd-type}@ V, @\exposconcept{simd-integral}@ I>
1874218742
constexpr resize_t<I::size(), V> permute(const V& v, const I& indices);
1874318743

18744-
template<@\exposconcept{simd-mask-type}@ V, @\exposconcept{simd-integral}@ I>
18745-
constexpr resize_t<I::size(), V> permute(const V& v, const I& indices);
18744+
template<@\exposconcept{simd-mask-type}@ M, @\exposconcept{simd-integral}@ I>
18745+
constexpr resize_t<I::size(), M> permute(const M& v, const I& indices);
1874618746
\end{itemdecl}
1874718747

1874818748
\begin{itemdescr}
@@ -18763,8 +18763,8 @@
1876318763
template<@\exposconcept{simd-type}@ V>
1876418764
constexpr V compress(const V& v, const typename V::mask_type& selector);
1876518765

18766-
template<@\exposconcept{simd-mask-type}@ V>
18767-
constexpr V compress(const V& v, const type_identity_t<V>& selector);
18766+
template<@\exposconcept{simd-mask-type}@ M>
18767+
constexpr M compress(const M& v, const type_identity_t<M>& selector);
1876818768
\end{itemdecl}
1876918769

1877018770
\begin{itemdescr}
@@ -18792,9 +18792,9 @@
1879218792
constexpr V compress(const V& v, const typename V::mask_type& selector,
1879318793
const typename V::value_type& fill_value);
1879418794

18795-
template<@\exposconcept{simd-mask-type}@ V>
18796-
constexpr V compress(const V& v, const type_identity_t<V>& selector,
18797-
const typename V::value_type& fill_value);
18795+
template<@\exposconcept{simd-mask-type}@ M>
18796+
constexpr M compress(const M& v, const type_identity_t<M>& selector,
18797+
const typename M::value_type& fill_value);
1879818798
\end{itemdecl}
1879918799

1880018800
\begin{itemdescr}
@@ -18820,8 +18820,8 @@
1882018820
constexpr V expand(const V& v, const typename V::mask_type& selector,
1882118821
const V& original = {});
1882218822

18823-
template<@\exposconcept{simd-mask-type}@ V>
18824-
constexpr V expand(const V& v, const type_identity_t<V>& selector, const V& original = {});
18823+
template<@\exposconcept{simd-mask-type}@ M>
18824+
constexpr M expand(const M& v, const type_identity_t<M>& selector, const M& original = {});
1882518825
\end{itemdecl}
1882618826

1882718827
\begin{itemdescr}

0 commit comments

Comments
 (0)