Skip to content

Commit b6e5010

Browse files
mattkretztkoeppe
authored andcommitted
[simd] Use M instead of V for mask types
1 parent 03c5524 commit b6e5010

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
@@ -16634,27 +16634,27 @@
1663416634
// \ref{simd.permute.dynamic}, Permute by dynamic index
1663516635
template<@\exposconcept{simd-vec-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-vec-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-vec-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-vec-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,
16657-
const V& original = {});
16655+
template<@\exposconcept{simd-mask-type}@ M>
16656+
constexpr M expand(const M& v, const type_identity_t<M>& selector,
16657+
const M& original = {});
1665816658

1665916659
// \ref{simd.permute.memory}, Permute to and from memory
1666016660
template<class V = @\seebelow@,
@@ -18709,8 +18709,8 @@
1870918709
\begin{itemdecl}
1871018710
template<@\exposid{simd-size-type}@ N = @\seebelow@, @\exposconcept{simd-vec-type}@ V, class IdxMap>
1871118711
constexpr resize_t<N, V> permute(const V& v, IdxMap&& idxmap);
18712-
template<@\exposid{simd-size-type}@ N = @\seebelow@, @\exposconcept{simd-mask-type}@ V, class IdxMap>
18713-
constexpr resize_t<N, V> permute(const V& v, IdxMap&& idxmap);
18712+
template<@\exposid{simd-size-type}@ N = @\seebelow@, @\exposconcept{simd-mask-type}@ M, class IdxMap>
18713+
constexpr resize_t<N, M> permute(const M& v, IdxMap&& idxmap);
1871418714
\end{itemdecl}
1871518715

1871618716
\begin{itemdescr}
@@ -18765,8 +18765,8 @@
1876518765
\begin{itemdecl}
1876618766
template<@\exposconcept{simd-vec-type}@ V, @\exposconcept{simd-integral}@ I>
1876718767
constexpr resize_t<I::size(), V> permute(const V& v, const I& indices);
18768-
template<@\exposconcept{simd-mask-type}@ V, @\exposconcept{simd-integral}@ I>
18769-
constexpr resize_t<I::size(), V> permute(const V& v, const I& indices);
18768+
template<@\exposconcept{simd-mask-type}@ M, @\exposconcept{simd-integral}@ I>
18769+
constexpr resize_t<I::size(), M> permute(const M& v, const I& indices);
1877018770
\end{itemdecl}
1877118771

1877218772
\begin{itemdescr}
@@ -18786,8 +18786,8 @@
1878618786
\begin{itemdecl}
1878718787
template<@\exposconcept{simd-vec-type}@ V>
1878818788
constexpr V compress(const V& v, const typename V::mask_type& selector);
18789-
template<@\exposconcept{simd-mask-type}@ V>
18790-
constexpr V compress(const V& v, const type_identity_t<V>& selector);
18789+
template<@\exposconcept{simd-mask-type}@ M>
18790+
constexpr M compress(const M& v, const type_identity_t<M>& selector);
1879118791
\end{itemdecl}
1879218792

1879318793
\begin{itemdescr}
@@ -18818,8 +18818,8 @@
1881818818
template<@\exposconcept{simd-vec-type}@ V>
1881918819
constexpr V compress(const V& v, const typename V::mask_type& selector,
1882018820
const typename V::value_type& fill_value);
18821-
template<@\exposconcept{simd-mask-type}@ V>
18822-
constexpr V compress(const V& v, const type_identity_t<V>& selector,
18821+
template<@\exposconcept{simd-mask-type}@ M>
18822+
constexpr M compress(const M& v, const type_identity_t<M>& selector,
1882318823
const typename V::value_type& fill_value);
1882418824
\end{itemdecl}
1882518825

@@ -18846,8 +18846,8 @@
1884618846
\begin{itemdecl}
1884718847
template<@\exposconcept{simd-vec-type}@ V>
1884818848
constexpr V expand(const V& v, const typename V::mask_type& selector, const V& original = {});
18849-
template<@\exposconcept{simd-mask-type}@ V>
18850-
constexpr V expand(const V& v, const type_identity_t<V>& selector, const V& original = {});
18849+
template<@\exposconcept{simd-mask-type}@ M>
18850+
constexpr M expand(const M& v, const type_identity_t<M>& selector, const M& original = {});
1885118851
\end{itemdecl}
1885218852

1885318853
\begin{itemdescr}

0 commit comments

Comments
 (0)