Skip to content

Commit 77548e4

Browse files
mattkretztkoeppe
authored andcommitted
[simd] Use M instead of V for mask types
1 parent a145c49 commit 77548e4

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

source/numerics.tex

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16634,26 +16634,26 @@
1663416634
// \ref{simd.permute.dynamic}, Permute by dynamic index
1663516635
template<@\exposconcept{simd-type}@ V, @\exposconcept{simd-integral}@ I>
1663616636
constexpr resize_t<I::size(), V> permute(const V& v, const I& indices);
16637-
template<@\exposconcept{simd-mask-type}@ V, @\exposconcept{simd-integral}@ I>
16638-
constexpr resize_t<I::size(), V> permute(const V& v, const I& indices);
16637+
template<@\exposconcept{simd-mask-type}@ M, @\exposconcept{simd-integral}@ I>
16638+
constexpr resize_t<I::size(), M> permute(const M& v, const I& indices);
1663916639

1664016640
// \ref{simd.permute.mask}, Permute by active mask bits
1664116641
template<@\exposconcept{simd-type}@ V>
1664216642
constexpr V compress(const V& v, const typename V::mask_type& selector);
16643-
template<@\exposconcept{simd-mask-type}@ V>
16644-
constexpr V compress(const V& v, const type_identity_t<V>& selector);
16643+
template<@\exposconcept{simd-mask-type}@ M>
16644+
constexpr M compress(const M& v, const type_identity_t<M>& selector);
1664516645
template<@\exposconcept{simd-type}@ V>
1664616646
constexpr V compress(const V& v, const typename V::mask_type& selector,
1664716647
const typename V::value_type& fill_value);
16648-
template<@\exposconcept{simd-mask-type}@ V>
16649-
constexpr V compress(const V& v, const type_identity_t<V>& selector,
16648+
template<@\exposconcept{simd-mask-type}@ M>
16649+
constexpr M compress(const M& v, const type_identity_t<M>& selector,
1665016650
const typename V::value_type& fill_value);
1665116651

1665216652
template<@\exposconcept{simd-type}@ V>
1665316653
constexpr V expand(const V& v, const typename V::mask_type& selector,
1665416654
const V& original = {});
16655-
template<@\exposconcept{simd-mask-type}@ V>
16656-
constexpr V expand(const V& v, const type_identity_t<V>& selector, const V& original = {});
16655+
template<@\exposconcept{simd-mask-type}@ M>
16656+
constexpr M expand(const M& v, const type_identity_t<M>& selector, const M& original = {});
1665716657

1665816658
// \ref{simd.permute.memory}, Permute to and from memory
1665916659
template<class V = @\seebelow@,
@@ -18712,8 +18712,8 @@
1871218712
\begin{itemdecl}
1871318713
template<@\exposid{simd-size-type}@ N = @\seebelow@, @\exposconcept{simd-type}@ V, class IdxMap>
1871418714
constexpr resize_t<N, V> permute(const V& v, IdxMap&& idxmap);
18715-
template<@\exposid{simd-size-type}@ N = @\seebelow@, @\exposconcept{simd-mask-type}@ V, class IdxMap>
18716-
constexpr resize_t<N, V> permute(const V& v, IdxMap&& idxmap);
18715+
template<@\exposid{simd-size-type}@ N = @\seebelow@, @\exposconcept{simd-mask-type}@ M, class IdxMap>
18716+
constexpr resize_t<N, M> permute(const M& v, IdxMap&& idxmap);
1871718717
\end{itemdecl}
1871818718

1871918719
\begin{itemdescr}
@@ -18762,8 +18762,8 @@
1876218762
\begin{itemdecl}
1876318763
template<@\exposconcept{simd-type}@ V, @\exposconcept{simd-integral}@ I>
1876418764
constexpr resize_t<I::size(), V> permute(const V& v, const I& indices);
18765-
template<@\exposconcept{simd-mask-type}@ V, @\exposconcept{simd-integral}@ I>
18766-
constexpr resize_t<I::size(), V> permute(const V& v, const I& indices);
18765+
template<@\exposconcept{simd-mask-type}@ M, @\exposconcept{simd-integral}@ I>
18766+
constexpr resize_t<I::size(), M> permute(const M& v, const I& indices);
1876718767
\end{itemdecl}
1876818768

1876918769
\begin{itemdescr}
@@ -18783,8 +18783,8 @@
1878318783
\begin{itemdecl}
1878418784
template<@\exposconcept{simd-type}@ V>
1878518785
constexpr V compress(const V& v, const typename V::mask_type& selector);
18786-
template<@\exposconcept{simd-mask-type}@ V>
18787-
constexpr V compress(const V& v, const type_identity_t<V>& selector);
18786+
template<@\exposconcept{simd-mask-type}@ M>
18787+
constexpr M compress(const M& v, const type_identity_t<M>& selector);
1878818788
\end{itemdecl}
1878918789

1879018790
\begin{itemdescr}
@@ -18811,8 +18811,8 @@
1881118811
template<@\exposconcept{simd-type}@ V>
1881218812
constexpr V compress(const V& v, const typename V::mask_type& selector,
1881318813
const typename V::value_type& fill_value);
18814-
template<@\exposconcept{simd-mask-type}@ V>
18815-
constexpr V compress(const V& v, const type_identity_t<V>& selector,
18814+
template<@\exposconcept{simd-mask-type}@ M>
18815+
constexpr M compress(const M& v, const type_identity_t<M>& selector,
1881618816
const typename V::value_type& fill_value);
1881718817
\end{itemdecl}
1881818818

@@ -18837,8 +18837,8 @@
1883718837
\begin{itemdecl}
1883818838
template<@\exposconcept{simd-type}@ V>
1883918839
constexpr V expand(const V& v, const typename V::mask_type& selector, const V& original = {});
18840-
template<@\exposconcept{simd-mask-type}@ V>
18841-
constexpr V expand(const V& v, const type_identity_t<V>& selector, const V& original = {});
18840+
template<@\exposconcept{simd-mask-type}@ M>
18841+
constexpr M expand(const M& v, const type_identity_t<M>& selector, const M& original = {});
1884218842
\end{itemdecl}
1884318843

1884418844
\begin{itemdescr}

0 commit comments

Comments
 (0)